mirror of
https://github.com/chris2511/xca.git
synced 2026-09-14 11:06:19 +05:00
Translation: Also translate validity dates to the configured language
This commit is contained in:
parent
f53ccb001c
commit
8ebaa683ff
@ -143,7 +143,7 @@ QString a1time::toPretty() const
|
||||
if (!isValid())
|
||||
return QObject::tr("Broken / Invalid");
|
||||
|
||||
return toLocalTime().toString(Qt::SystemLocaleLongDate);
|
||||
return toLocalTime().toString(Qt::DefaultLocaleLongDate);
|
||||
}
|
||||
|
||||
QString a1time::toPrettyGMT() const
|
||||
|
||||
@ -118,7 +118,7 @@ void XCA_application::setupLanguage(QLocale l)
|
||||
}
|
||||
}
|
||||
xcaTr->load(lang, "xca", getPrefix());
|
||||
|
||||
QLocale::setDefault(l);
|
||||
installTranslator(qtTr);
|
||||
installTranslator(xcaTr);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user