mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-12 01:26:31 +01:00
indicate debug builds in About > Config and shorten the message to fit
This commit is contained in:
parent
4561788777
commit
93cfcd5abf
1 changed files with 8 additions and 2 deletions
|
|
@ -613,16 +613,22 @@ About::About ()
|
||||||
codename = "";
|
codename = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef NDEBUG
|
||||||
|
const std::string suffix = _(" - debug");
|
||||||
|
#else
|
||||||
|
const std::string suffix = "";
|
||||||
|
#endif
|
||||||
|
|
||||||
set_translator_credits (t);
|
set_translator_credits (t);
|
||||||
set_copyright (_("Copyright (C) 1999-2015 Paul Davis\n"));
|
set_copyright (_("Copyright (C) 1999-2015 Paul Davis\n"));
|
||||||
set_license (gpl);
|
set_license (gpl);
|
||||||
set_name (X_("Ardour"));
|
set_name (X_("Ardour"));
|
||||||
set_website (X_("http://ardour.org/"));
|
set_website (X_("http://ardour.org/"));
|
||||||
set_website_label (_("http://ardour.org/"));
|
set_website_label (_("http://ardour.org/"));
|
||||||
set_version ((string_compose(_("%1%2\n(built from revision %3)\n%4"),
|
set_version ((string_compose(_("%1%2\n(rev %3)\n%4%5"),
|
||||||
VERSIONSTRING,
|
VERSIONSTRING,
|
||||||
codename,
|
codename,
|
||||||
revision, cpu_arch)));
|
revision, cpu_arch, suffix)));
|
||||||
|
|
||||||
Gtk::Button* config_button = manage (new Button (_("Config")));
|
Gtk::Button* config_button = manage (new Button (_("Config")));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue