mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
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
@ -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…
x
Reference in New Issue
Block a user