forked from mia/Aegisub
dialog_about: only include build date with credit (#45)
The build date is largely irrelevant and prevents reproducible builds. Make it optional.
This commit is contained in:
parent
dd67db47cb
commit
8d3ad9ff68
2 changed files with 6 additions and 4 deletions
|
@ -120,7 +120,10 @@ void ShowAboutDialog(wxWindow *parent) {
|
|||
" FFTW - Copyright (c) Matteo Frigo, Massachusetts Institute of Technology;\n"
|
||||
#endif
|
||||
+ _("\nSee the help file for full credits.\n")
|
||||
+ fmt_tl("Built by %s on %s.", GetAegisubBuildCredit(), GetAegisubBuildTime());
|
||||
#ifdef BUILD_CREDIT
|
||||
+ fmt_tl("Built by %s on %s.", GetAegisubBuildCredit(), GetAegisubBuildTime())
|
||||
#endif
|
||||
;
|
||||
|
||||
// Replace copyright symbol
|
||||
wxChar copySymbol = 0xA9;
|
||||
|
|
|
@ -55,17 +55,16 @@ const char *GetAegisubShortVersionString() {
|
|||
return BUILD_GIT_VERSION_STRING DEBUG_SUFFIX;
|
||||
}
|
||||
|
||||
#ifdef BUILD_CREDIT
|
||||
const char *GetAegisubBuildTime() {
|
||||
return __DATE__ " " __TIME__;
|
||||
}
|
||||
|
||||
const char *GetAegisubBuildCredit() {
|
||||
#ifdef BUILD_CREDIT
|
||||
return BUILD_CREDIT;
|
||||
#else
|
||||
return "";
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
bool GetIsOfficialRelease() {
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue