Hello,
I checked these files and made them translateable. Attached the diff.
yoyo
--
Rechenkraft.net e.V. <http://www.rechenkraft.net> - Verein zur Förderung
von Bildung, Forschung und Wissenschaft durch Einsatz vernetzter Computer
weitere interessante Projekte
<http://www.rechenkraft.net/wiki/index.php?title=Projekt%C3%BCbersicht>und
Hilfe <http://www.rechenkraft.net/phpBB/viewforum.php?f=19>auf unserer
Webseite www.Rechenkraft.net <http://www.rechenkraft.net> und im Chat
<irc://irc.euirc.net/rechenkraft>
------------------------------------------------------------------------
Rechenkraft.net e.V. <http://www.rechenkraft.net/> - Non-profit
association for the promotion of education, research and science through
the use of networked computers
other interesting projects
<http://www.rechenkraft.net/wiki/index.php?title=Projekt%C3%BCbersicht>and
help <http://www.rechenkraft.net/phpBB/viewforum.php?f=19> on our
website www.Rechenkraft.net <http://www.rechenkraft.net> and on IRC
<irc://irc.euirc.net/rechenkraft>
Index: html/user/pending.php
===================================================================
--- html/user/pending.php (revision 24875)
+++ html/user/pending.php (working copy)
@@ -61,9 +61,9 @@
$user = get_logged_in_user();
$sum = 0;
- page_head("Pending credit");
+ page_head(tra("Pending credit"));
start_table();
- echo "<tr><th>Result ID</th><th>Workunit ID</th><th>Host
ID</th><th>Claimed credit</th></tr>\n";
+ echo "<tr><th>".tra("Result ID")."</th><th>".tra("Workunit
ID")."</th><th>".tra("Host ID")."</th><th>".tra("Claimed
credit")."</th></tr>\n";
$results = BoincResult::enum("userid=$user->id AND (validate_state=0 OR
validate_state=4) AND claimed_credit > 0");
foreach($results as $result) {
echo "<tr>\n";
@@ -76,7 +76,7 @@
}
end_table();
- echo "Pending credit: ".format_credit($sum);
+ echo tra("Pending credit: %1", format_credit($sum));
page_tail();
}
Index: html/user/merge_by_name.php
===================================================================
--- html/user/merge_by_name.php (revision 24875)
+++ html/user/merge_by_name.php (working copy)
@@ -30,7 +30,7 @@
// find the newest one
//
$newest_host = $list[0];
- echo "<br><br>Processing $newest_host->domain_name\n";
+ echo "<br><br>".tra("Processing %1", $newest_host->domain_name)."\n";
foreach ($list as $host) {
if ($host->create_time > $newest_host->create_time) {
$newest_host = $host;
@@ -42,7 +42,7 @@
}
$error = merge_hosts($host, $newest_host);
if (!$error) {
- echo "<br>Merged $host->id into $newest_host->id\n";
+ echo "<br>".tra("Merged %1 into
%2",$host->id,$newest_host->id)."\n";
} else {
echo "<br>$error\n";
}
@@ -64,26 +64,25 @@
$user = get_logged_in_user();
-page_head("Merge computers by name");
+page_head(tra("Merge computers by name"));
if ($confirmed) {
check_tokens($user->authenticator);
merge_by_name($user->id);
echo "
<p><a href=hosts_user.php>
- Return to the list of your computers</a>.
+ ".tra("Return to the list of your computers")."</a>.
";
} else {
$tokens = url_tokens($user->authenticator);
- echo "
- This operation merges computers based on their domain name.
+ echo tra("This operation merges computers based on their domain name.
<p>
For each domain name, it will merge all older computers
having that name with the newest computer having that name.
Incompatible computers will not be merged.
- <p>
- <a href=merge_by_name.php?confirmed=1&$tokens>Go ahead and do this</a>.
- <p><a href=hosts_user.php>Return to the list of computers</a>.
+ <p>")."
+ <a href=merge_by_name.php?confirmed=1&$tokens>".tra("Go ahead and do
this")."</a>.
+ <p><a href=hosts_user.php>".tra("Return to the list of
computers")."</a>.
";
}
page_tail();
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.