mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
* GuiAbout.cpp:
- fall back to lyx_release_date, if everything else fails. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28173 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6bb9cf4918
commit
a8516f57ee
@ -97,8 +97,12 @@ static QString version()
|
||||
QLocale loc;
|
||||
QString loc_release_date =
|
||||
loc.toString(release_date(), QLocale::LongFormat);
|
||||
if (lyx_release_date == "not released yet")
|
||||
loc_release_date = qt_("not released yet");
|
||||
if (loc_release_date.isEmpty()) {
|
||||
if (lyx_release_date == "not released yet")
|
||||
loc_release_date = qt_("not released yet");
|
||||
else
|
||||
loc_release_date = toqstr(lyx_release_date);
|
||||
}
|
||||
docstring version_date =
|
||||
bformat(_("LyX Version %1$s\n(%2$s)\n\n"),
|
||||
from_ascii(lyx_version),
|
||||
|
Loading…
Reference in New Issue
Block a user