- Added mechanism that displays the target language and tranlator's name
  for non-standard localizations.
This commit is contained in:
Paul Beckingham 2011-11-20 19:52:54 -05:00
parent 3a4871e975
commit e7428663d2
3 changed files with 24 additions and 1 deletions

View file

@ -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;
}