mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
L10N
- Added mechanism that displays the target language and tranlator's name for non-standard localizations.
This commit is contained in:
parent
3a4871e975
commit
e7428663d2
3 changed files with 24 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue