mirror of https://github.com/BOINC/boinc.git
Translation: update templates, and fix tools for generating templates
This commit is contained in:
parent
fb2762238c
commit
0c8e30d0e9
|
@ -1,5 +1,5 @@
|
|||
--android BOINC/res
|
||||
--gettext ../locale
|
||||
--gettext .
|
||||
--groups strings
|
||||
--domain BOINC-Android
|
||||
--template ./%(domain)s.pot
|
||||
|
|
|
@ -12,7 +12,7 @@ $tdir = "locale/templates";
|
|||
system("cd doc; build_po.php");
|
||||
system("tools/compare_pot doc/BOINC-Web.pot $tdir/BOINC-Web.pot $emails");
|
||||
|
||||
system("cd html/user; build_po_boinc.php");
|
||||
system("cd html/ops; build_po_boinc.php");
|
||||
system("tools/compare_pot html/ops/BOINC-Project-Generic.pot $tdir/BOINC-Project-Generic.pot $emails");
|
||||
|
||||
system("cd client; build_po");
|
||||
|
@ -27,4 +27,6 @@ system("tools/compare_pot mac_installer/BOINC-Setup.pot $tdir/BOINC-Setup.pot $e
|
|||
system("cd android; a2po export -v");
|
||||
system("tools/compare_pot android/BOINC-Android.pot $tdir/BOINC-Android.pot $emails");
|
||||
|
||||
// as long as we're at it, generate translations for BOINC web site
|
||||
system("cd doc; update_translations.php");
|
||||
?>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#! /bin/sh
|
||||
|
||||
xgettext --keyword=_ -C -o ../locale/templates/BOINC-Client.pot *.cpp ../sched/*.cpp
|
||||
xgettext --keyword=_ -C -o BOINC-Client.pot *.cpp ../sched/*.cpp
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#! /bin/sh
|
||||
|
||||
xgettext --from-code=UTF-8 --keyword=_ -C -o BOINC-Manager.pot *.cpp msw/*.cpp mac/*.cpp gtk/*.cpp
|
||||
|
||||
../tools/compare_pot BOINC-Manager.pot ../locale/templates/BOINC-Manager.pot davea@ssl.berkeley.edu
|
||||
|
|
|
@ -8,77 +8,76 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2013-06-05 10:24-0700\n"
|
||||
"POT-Creation-Date: 2013-10-15 22:25-0700\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: acct_mgr.cpp:448 acct_mgr.cpp:457
|
||||
#: acct_mgr.cpp:450 acct_mgr.cpp:459
|
||||
msgid "Message from account manager"
|
||||
msgstr ""
|
||||
|
||||
#: client_msgs.cpp:85
|
||||
#: client_msgs.cpp:81
|
||||
msgid "Message from server"
|
||||
msgstr ""
|
||||
|
||||
#: client_state.cpp:246
|
||||
#: client_state.cpp:258
|
||||
msgid ""
|
||||
"Some tasks need more memory than allowed by your preferences. Please check "
|
||||
"the preferences."
|
||||
msgstr ""
|
||||
|
||||
#: client_state.cpp:501
|
||||
#: client_state.cpp:520
|
||||
msgid "Couldn't write state file; check directory permissions"
|
||||
msgstr ""
|
||||
|
||||
#: cs_cmdline.cpp:299
|
||||
#: cs_cmdline.cpp:303
|
||||
msgid "The HTTP_PROXY environment variable must specify an HTTP proxy"
|
||||
msgstr ""
|
||||
|
||||
#: cs_scheduler.cpp:575
|
||||
#: cs_scheduler.cpp:613
|
||||
#, c-format
|
||||
msgid ""
|
||||
"You used the wrong URL for this project. When convenient, remove this "
|
||||
"project, then add %s"
|
||||
msgstr ""
|
||||
|
||||
#: cs_statefile.cpp:829 ../sched/sched_types.cpp:259
|
||||
#: cs_statefile.cpp:828 ../sched/sched_types.cpp:259
|
||||
msgid "Syntax error in app_info.xml"
|
||||
msgstr ""
|
||||
|
||||
#: cs_statefile.cpp:869
|
||||
#: cs_statefile.cpp:868
|
||||
msgid "File referenced in app_info.xml does not exist: "
|
||||
msgstr ""
|
||||
|
||||
#: current_version.cpp:90
|
||||
#: current_version.cpp:91
|
||||
msgid "A new version of BOINC is available."
|
||||
msgstr ""
|
||||
|
||||
#: current_version.cpp:94
|
||||
#: current_version.cpp:94 current_version.cpp:102
|
||||
msgid "Download"
|
||||
msgstr ""
|
||||
|
||||
#: log_flags.cpp:259 log_flags.cpp:436
|
||||
#: log_flags.cpp:269 log_flags.cpp:449
|
||||
msgid "Unexpected text in cc_config.xml"
|
||||
msgstr ""
|
||||
|
||||
#: log_flags.cpp:410 log_flags.cpp:462
|
||||
#: log_flags.cpp:423 log_flags.cpp:475
|
||||
msgid "Unrecognized tag in cc_config.xml"
|
||||
msgstr ""
|
||||
|
||||
#: log_flags.cpp:427
|
||||
#: log_flags.cpp:440
|
||||
msgid "Missing start tag in cc_config.xml"
|
||||
msgstr ""
|
||||
|
||||
#: log_flags.cpp:452
|
||||
#: log_flags.cpp:465
|
||||
msgid "Error in cc_config.xml options"
|
||||
msgstr ""
|
||||
|
||||
#: log_flags.cpp:470
|
||||
#: log_flags.cpp:483
|
||||
msgid "Missing end tag in cc_config.xml"
|
||||
msgstr ""
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -3,41 +3,37 @@
|
|||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: 1.1\n"
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2013-08-06 16:50-0800\n"
|
||||
"PO-Revision-Date: 2013-08-06 16:51-0800\n"
|
||||
"POT-Creation-Date: 2013-10-15 22:27-0700\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
"X-Generator: Poedit 1.5.5\n"
|
||||
"X-Poedit-KeywordsList: _\n"
|
||||
"X-Poedit-Basepath: /Volumes/Cheer/BOINC_GIT/boinc_trunk\n"
|
||||
"X-Poedit-SearchPath-0: mac_installer\n"
|
||||
|
||||
#: mac_installer/Installer.cpp:132
|
||||
#: Installer.cpp:132
|
||||
#, c-format
|
||||
msgid "Sorry, this version of %s requires system 10.4 or higher."
|
||||
msgstr ""
|
||||
|
||||
#: mac_installer/PostInstall.cpp:131 mac_installer/PostInstall.cpp:1211
|
||||
#: PostInstall.cpp:131 PostInstall.cpp:1211
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: mac_installer/PostInstall.cpp:132 mac_installer/PostInstall.cpp:1212
|
||||
#: PostInstall.cpp:132 PostInstall.cpp:1212
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: mac_installer/PostInstall.cpp:134
|
||||
#: PostInstall.cpp:134
|
||||
msgid "Should BOINC run even when no user is logged in?"
|
||||
msgstr ""
|
||||
|
||||
#: mac_installer/PostInstall.cpp:1491
|
||||
#: PostInstall.cpp:1491
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Users who are permitted to administer this computer will automatically be "
|
||||
|
@ -47,26 +43,26 @@ msgid ""
|
|||
"on this Mac?"
|
||||
msgstr ""
|
||||
|
||||
#: mac_installer/PostInstall.cpp:1519
|
||||
#: PostInstall.cpp:1519
|
||||
#, c-format
|
||||
msgid "Do you want to set %s as the screensaver for all %s users on this Mac?"
|
||||
msgstr ""
|
||||
|
||||
#: mac_installer/uninstall.cpp:80
|
||||
#: uninstall.cpp:80
|
||||
msgid "OK"
|
||||
msgstr ""
|
||||
|
||||
#: mac_installer/uninstall.cpp:130
|
||||
#: uninstall.cpp:130
|
||||
msgid "Permission error after relaunch"
|
||||
msgstr ""
|
||||
|
||||
#: mac_installer/uninstall.cpp:135
|
||||
#: uninstall.cpp:135
|
||||
msgid ""
|
||||
"Removal may take several minutes.\n"
|
||||
"Please be patient."
|
||||
msgstr ""
|
||||
|
||||
#: mac_installer/uninstall.cpp:150
|
||||
#: uninstall.cpp:150
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Are you sure you want to completely remove %s from your computer?\n"
|
||||
|
@ -74,21 +70,21 @@ msgid ""
|
|||
"This will remove the executables but will not touch %s data files."
|
||||
msgstr ""
|
||||
|
||||
#: mac_installer/uninstall.cpp:157
|
||||
#: uninstall.cpp:157
|
||||
#, c-format
|
||||
msgid "Canceled: %s has not been touched."
|
||||
msgstr ""
|
||||
|
||||
#: mac_installer/uninstall.cpp:168
|
||||
#: uninstall.cpp:168
|
||||
#, c-format
|
||||
msgid "An error occurred: error code %d"
|
||||
msgstr ""
|
||||
|
||||
#: mac_installer/uninstall.cpp:224
|
||||
#: uninstall.cpp:224
|
||||
msgid "name of user"
|
||||
msgstr ""
|
||||
|
||||
#: mac_installer/uninstall.cpp:261
|
||||
#: uninstall.cpp:261
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Removal completed.\n"
|
||||
|
@ -100,7 +96,7 @@ msgid ""
|
|||
"\"%s\"."
|
||||
msgstr ""
|
||||
|
||||
#: mac_installer/uninstall.cpp:796
|
||||
#: uninstall.cpp:796
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Enter your administrator password to completely remove %s from you "
|
||||
|
@ -108,10 +104,10 @@ msgid ""
|
|||
"\n"
|
||||
msgstr ""
|
||||
|
||||
#: mac_installer/uninstall.cpp:1543
|
||||
#: uninstall.cpp:1555
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#: mac_installer/uninstall.cpp:1544
|
||||
#: uninstall.cpp:1556
|
||||
msgid "Continue..."
|
||||
msgstr ""
|
||||
|
|
|
@ -9,7 +9,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: BOINC $Id$\n"
|
||||
"Report-Msgid-Bugs-To: BOINC translation team <boinc_loc@ssl.berkeley.edu>\n"
|
||||
"POT-Creation-Date: 2013-08-22 16:22 PDT\n"
|
||||
"POT-Creation-Date: 2013-10-15 22:21 PDT\n"
|
||||
"Last-Translator: Generated automatically from source files\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
|
@ -594,16 +594,20 @@ msgstr ""
|
|||
msgid "This page is %stranslatable%s."
|
||||
msgstr ""
|
||||
|
||||
#: download.php:38
|
||||
msgid "Download BOINC"
|
||||
#: download.php:44
|
||||
msgid "Download BOINC + Virtualbox"
|
||||
msgstr ""
|
||||
|
||||
#: download.php:40
|
||||
#: download.php:46 download.php:56
|
||||
#, php-format
|
||||
msgid "%s for %s (%s MB)"
|
||||
msgstr ""
|
||||
|
||||
#: download.php:87
|
||||
#: download.php:54
|
||||
msgid "Download BOINC"
|
||||
msgstr ""
|
||||
|
||||
#: download.php:107
|
||||
msgid ""
|
||||
"BOINC is a program that lets you donate your idle computer time to science "
|
||||
"projects like SETI@home, Climateprediction.net, Rosetta@home, World "
|
||||
|
@ -611,37 +615,37 @@ msgid ""
|
|||
"computer, you can connect it to as many of these projects as you like."
|
||||
msgstr ""
|
||||
|
||||
#: download.php:89
|
||||
#: download.php:109
|
||||
msgid ""
|
||||
"You may run this software on a computer only if you own the computer or have "
|
||||
"the permission of its owner."
|
||||
msgstr ""
|
||||
|
||||
#: download.php:131
|
||||
#: download.php:151
|
||||
msgid "System requirements"
|
||||
msgstr ""
|
||||
|
||||
#: download.php:132
|
||||
#: download.php:152
|
||||
msgid "Release notes"
|
||||
msgstr ""
|
||||
|
||||
#: download.php:133 index.php:85
|
||||
#: download.php:153 index.php:85 index2.php:85
|
||||
msgid "Help"
|
||||
msgstr ""
|
||||
|
||||
#: download.php:134
|
||||
#: download.php:154
|
||||
msgid "All versions"
|
||||
msgstr ""
|
||||
|
||||
#: download.php:135
|
||||
#: download.php:155
|
||||
msgid "Version history"
|
||||
msgstr ""
|
||||
|
||||
#: download.php:136
|
||||
#: download.php:156
|
||||
msgid "GPU computing"
|
||||
msgstr ""
|
||||
|
||||
#: download.php:154
|
||||
#: download.php:174
|
||||
msgid "BOINC: compute for science"
|
||||
msgstr ""
|
||||
|
||||
|
@ -705,178 +709,179 @@ msgstr ""
|
|||
msgid "%1Never%2 give email address or password information to BOINC helpers."
|
||||
msgstr ""
|
||||
|
||||
#: index.php:23
|
||||
#: index.php:23 index2.php:23
|
||||
msgid "Computing power"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:25
|
||||
#: index.php:25 index2.php:25
|
||||
msgid "Top 100 volunteers"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:26
|
||||
#: index.php:26 index2.php:26
|
||||
msgid "Statistics"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:54
|
||||
#: index.php:54 index2.php:54
|
||||
msgid "Active:"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:54
|
||||
#: index.php:54 index2.php:54
|
||||
msgid "volunteers,"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:54
|
||||
#: index.php:54 index2.php:54
|
||||
msgid "computers.\n"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:55
|
||||
#: index.php:55 index2.php:55
|
||||
msgid "24-hour average:"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:55
|
||||
#: index.php:55 index2.php:55
|
||||
msgid "PetaFLOPS."
|
||||
msgstr ""
|
||||
|
||||
#: index.php:67
|
||||
#: index.php:67 index2.php:67
|
||||
msgid "News"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:82
|
||||
#: index.php:82 index2.php:82
|
||||
msgid "Volunteer"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:84
|
||||
#: index.php:84 index2.php:84
|
||||
msgid "Download"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:86 index.php:123 index.php:174
|
||||
#: index.php:86 index.php:123 index.php:174 index2.php:86 index2.php:123
|
||||
#: index2.php:174
|
||||
msgid "Documentation"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:87
|
||||
#: index.php:87 index2.php:87
|
||||
msgid "Add-ons"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:88
|
||||
#: index.php:88 index2.php:88
|
||||
msgid "Links"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:94
|
||||
#: index.php:94 index2.php:94
|
||||
#, php-format
|
||||
msgid ""
|
||||
" Use the idle time on your computer (Windows, Mac, or Linux) to cure "
|
||||
"diseases, study global warming, discover pulsars, and do many other types of "
|
||||
"scientific research. It's safe, secure, and easy: %sChoose%s projects "
|
||||
"%sDownload%s and run BOINC software %sEnter%s an email address and "
|
||||
"password. "
|
||||
" Use the idle time on your computer (Windows, Mac, Linux, or Android) to "
|
||||
"cure diseases, study global warming, discover pulsars, and do many other "
|
||||
"types of scientific research. It's safe, secure, and easy: %sChoose%s "
|
||||
"projects %sDownload%s and run BOINC software %sEnter%s an email address "
|
||||
"and password. "
|
||||
msgstr ""
|
||||
|
||||
#: index.php:105
|
||||
#: index.php:105 index2.php:105
|
||||
#, php-format
|
||||
msgid ""
|
||||
"Or, if you run several projects, try an %saccount manager%s such as "
|
||||
"%sGridRepublic%s or %sBAM!%s. "
|
||||
"Or, if you run several projects, try an %saccount manager%s such as %"
|
||||
"sGridRepublic%s or %sBAM!%s. "
|
||||
msgstr ""
|
||||
|
||||
#: index.php:121
|
||||
#: index.php:121 index2.php:121
|
||||
msgid "Compute with BOINC"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:124
|
||||
#: index.php:124 index2.php:124
|
||||
msgid "Software updates"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:131
|
||||
#: index.php:131 index2.php:131
|
||||
msgid ""
|
||||
"%1Scientists%2: use BOINC to create a %3volunteer computing project%4 giving "
|
||||
"you the computing power of thousands of CPUs."
|
||||
msgstr ""
|
||||
|
||||
#: index.php:135
|
||||
#: index.php:135 index2.php:135
|
||||
msgid ""
|
||||
"%1Universities%2: use BOINC to create a %3Virtual Campus Supercomputing "
|
||||
"Center%4."
|
||||
msgstr ""
|
||||
|
||||
#: index.php:140
|
||||
#: index.php:140 index2.php:140
|
||||
msgid "%1Companies%2: use BOINC for %3desktop Grid computing%4."
|
||||
msgstr ""
|
||||
|
||||
#: index.php:152
|
||||
#: index.php:152 index2.php:152
|
||||
msgid "The BOINC project"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:158
|
||||
#: index.php:158 index2.php:158
|
||||
msgid "Message boards"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:159
|
||||
#: index.php:159 index2.php:159
|
||||
msgid "Email lists"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:160
|
||||
#: index.php:160 index2.php:160
|
||||
msgid "Personnel and contributors"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:161
|
||||
#: index.php:161 index2.php:161
|
||||
msgid "Events"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:162
|
||||
#: index.php:162 index2.php:162
|
||||
msgid "Papers and talks"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:163
|
||||
#: index.php:163 index2.php:163
|
||||
msgid "Research projects"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:164
|
||||
#: index.php:164 index2.php:164
|
||||
msgid "Logos and graphics"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:165
|
||||
#: index.php:165 index2.php:165
|
||||
msgid "and"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:169
|
||||
#: index.php:169 index2.php:169
|
||||
msgid "Help wanted"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:171
|
||||
#: index.php:171 index2.php:171
|
||||
msgid "Programming"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:172
|
||||
#: index.php:172 index2.php:172
|
||||
msgid "Translation"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:173
|
||||
#: index.php:173 index2.php:173
|
||||
msgid "Testing"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:175
|
||||
#: index.php:175 index2.php:175
|
||||
msgid "Publicity"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:177
|
||||
#: index.php:177 index2.php:177
|
||||
msgid "Software development"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:178
|
||||
#: index.php:178 index2.php:178
|
||||
msgid "APIs for add-on software"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:212
|
||||
#: index.php:212 index2.php:212
|
||||
msgid "Browser default"
|
||||
msgstr ""
|
||||
|
||||
#: index.php:265
|
||||
#: index.php:265 index2.php:266
|
||||
#, php-format
|
||||
msgid ""
|
||||
"Open-source software for %svolunteer computing%s and %sgrid computing%s."
|
||||
msgstr ""
|
||||
|
||||
#: index.php:278
|
||||
#: index.php:278 index2.php:279
|
||||
msgid "BOINC is based at The University of California, Berkeley"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#! /bin/sh
|
||||
|
||||
xgettext --keyword=_ -C -o ../locale/templates/BOINC-Setup.pot *.cpp
|
||||
xgettext --keyword=_ -C -o BOINC-Setup.pot *.cpp
|
||||
|
|
|
@ -3,13 +3,15 @@
|
|||
|
||||
// compare_pot file1 file2 [--email email_addr ...]
|
||||
//
|
||||
// compare two .pot files, ignoring comments.
|
||||
// compare two .pot files, ignoring comments and creation time.
|
||||
// If they differ, send email to the given addresses
|
||||
|
||||
function strip_comments($x) {
|
||||
$y = "";
|
||||
foreach ($x as $l) {
|
||||
if (substr($l, 0, 1) != '#') $y .= $l;
|
||||
if (substr($l, 0, 1) == '#') continue;
|
||||
if (strstr($l, "POT-Creation-Date")) continue;
|
||||
$y .= $l;
|
||||
}
|
||||
return $y;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue