summaryrefslogtreecommitdiff
path: root/src/version_usage.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-10-02 16:14:03 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-10-02 16:14:03 +0900
commit8938cef9b3591da8a1f10d6f4915da11e077c973 (patch)
treef72c974319df3d13b2aa4fdabc71454cd5430150 /src/version_usage.cc
parent6c49dfc3791ca5ecd63b515dd49aa7a9174388c4 (diff)
Made several messages translatable
Diffstat (limited to 'src/version_usage.cc')
-rw-r--r--src/version_usage.cc27
1 files changed, 13 insertions, 14 deletions
diff --git a/src/version_usage.cc b/src/version_usage.cc
index 9bc09818..ed5d7e7f 100644
--- a/src/version_usage.cc
+++ b/src/version_usage.cc
@@ -58,27 +58,26 @@ void showVersion() {
<< "Copyright (C) 2006, 2011 Tatsuhiro Tsujikawa" << "\n"
<< "\n"
<<
- "This program is free software; you can redistribute it and/or modify\n"
- "it under the terms of the GNU General Public License as published by\n"
- "the Free Software Foundation; either version 2 of the License, or\n"
- "(at your option) any later version.\n"
+ _("This program is free software; you can redistribute it and/or modify\n"
+ "it under the terms of the GNU General Public License as published by\n"
+ "the Free Software Foundation; either version 2 of the License, or\n"
+ "(at your option) any later version.\n"
+ "\n"
+ "This program is distributed in the hope that it will be useful,\n"
+ "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
+ "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
+ "GNU General Public License for more details.\n")
<< "\n"
- <<
- "This program is distributed in the hope that it will be useful,\n"
- "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
- "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
- "GNU General Public License for more details.\n"
- << "\n"
- << "** Configuration **" << "\n"
- << "Enabled Features: "
+ << _("** Configuration **") << "\n"
+ << _("Enabled Features") << ": "
<< FeatureConfig::getInstance()->featureSummary() << "\n"
#ifdef ENABLE_MESSAGE_DIGEST
- << "Hash Algorithms: "
+ << _("Hash Algorithms") << ": "
<< MessageDigest::getSupportedHashTypeString() << "\n"
#endif // ENABLE_MESSAGE_DIGEST
<< "\n"
<< fmt(_("Report bugs to %s"), PACKAGE_BUGREPORT) << "\n"
- << "Visit " << PACKAGE_URL << std::endl;
+ << _("Visit") << " " << PACKAGE_URL << std::endl;
}
void showUsage(const std::string& keyword, const OptionParser& oparser) {