L10N
- Added mechanism that displays the target language and tranlator's name for non-standard localizations.
This commit is contained in:
@@ -97,6 +97,11 @@ int CmdVersion::execute (std::string& output)
|
||||
<< "-lua"
|
||||
#endif
|
||||
|
||||
#if PACKAGE_LANGUAGE != LANGUAGE_EN_US
|
||||
<< " "
|
||||
<< STRING_LOCALIZATION_DESC
|
||||
#endif
|
||||
|
||||
<< "\n"
|
||||
<< STRING_CMD_VERSION_COPY
|
||||
<< "\n"
|
||||
@@ -110,6 +115,12 @@ int CmdVersion::execute (std::string& output)
|
||||
<< link.render ()
|
||||
<< "\n";
|
||||
|
||||
#if PACKAGE_LANGUAGE != LANGUAGE_EN_US
|
||||
out << STRING_LOCALIZATION_AUTHOR
|
||||
<< "\n"
|
||||
<< "\n";
|
||||
#endif
|
||||
|
||||
output = out.str ();
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user