mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Added theme engine translations for 'never' and 'unknown' date values
This commit is contained in:
parent
56c8c11783
commit
e34fbb9115
|
@ -74,7 +74,7 @@ std::string DateTimeComponent::getDisplayString() const
|
|||
// Workaround to handle Unix epoch for different time zones.
|
||||
if (mTime.getTime() < 82800) {
|
||||
if (mDefaultValue == "")
|
||||
return "never";
|
||||
return _p("theme", "never");
|
||||
else
|
||||
return mDefaultValue;
|
||||
}
|
||||
|
@ -108,7 +108,7 @@ std::string DateTimeComponent::getDisplayString() const
|
|||
|
||||
if (mTime.getTime() == 0) {
|
||||
if (mDefaultValue == "")
|
||||
return "unknown";
|
||||
return _p("theme", "unknown");
|
||||
else
|
||||
return mDefaultValue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue