r55651 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55650‎ | r55651 | r55652 >
Date:15:47, 28 August 2009
Author:siebrand
Status:deferred
Tags:
Comment:
* update messages in JavaScript and PHP
* add FIXME: need messages file for JS message
Modified paths:
  • /trunk/extensions/WikiAtHome/WikiAtHome.i18n.php (modified) (history)
  • /trunk/extensions/WikiAtHome/WikiAtHome.js (modified) (history)

Diff [purge]

Index: trunk/extensions/WikiAtHome/WikiAtHome.i18n.php
@@ -15,7 +15,7 @@
1616 */
1717 $messages['en'] = array(
1818 'specialwikiathome' => 'Wiki@Home',
19 - 'wah-desc' => 'Enables distributing transcoding video jobs to clients using firefogg',
 19+ 'wah-desc' => 'Enables distributing transcoding video jobs to clients using Firefogg',
2020 'wah-user-desc' => 'Wiki@Home enables community members to donate spare cpu cycles to help with resource intensive operations',
2121 'wah-short-audio' => '$1 sound file, $2',
2222 'wah-short-video' => '$1 video file, $2',
Index: trunk/extensions/WikiAtHome/WikiAtHome.js
@@ -1,5 +1,6 @@
22 //the core javascript file of the wiki@home extension
33
 4+// FIXME: needs localisation support.
45 //load msgs:
56 loadGM({
67 "wah-menu-jobs" : "Jobs",
@@ -12,22 +13,22 @@
1314 "wah-start-on-visit": "Start up Wiki@Home anytime I visit this site",
1415 "wah-jobs-while-away": "Only run jobs when I have been away from my browser for 20 minnutes",
1516
16 - "wah-nojobfound" : "No Job Found, Will retry in $1",
 17+ "wah-nojobfound" : "No job found. Will retry in $1",
1718
1819 "wah-notoken-login" : "Could not get a token. Are you logged in?",
19 - "wah-apioff" : "The api appears to be off. Please Contact your Wiki Admin",
 20+ "wah-apioff" : "The api appears to be off. Please contact your wiki administrator",
2021
2122 "wah-doing-job" : "Job: <i>$1</i> on: <i>$2</i>",
22 - "wah-downloading" : "Downloading File <i>$1%</i> done",
23 - "wah-encoding" : "Encoding File <i>$1%</i> done",
 23+ "wah-downloading" : "Downloading file <i>$1%</i> complete",
 24+ "wah-encoding" : "Encoding file <i>$1%</i> complete",
2425
25 - "wah-encoding-fail" : "Encoding Failed. Please reload this page or try back latter.",
 26+ "wah-encoding-fail" : "Encoding failed. Please reload this page or try back latter.",
2627
27 - "wah-uploading" : "Uploading File <i>$i</i> done",
28 - "wah-uploadfail" : "Uploading Failed",
29 - "wah-doneuploading" : "Done Uploading. Thanks for your Contribution.",
 28+ "wah-uploading" : "Uploading file <i>$i</i> done",
 29+ "wah-uploadfail" : "Uploading failed",
 30+ "wah-doneuploading" : "Upload complete. Thank you for your contribution.",
3031
31 - "wah-needs-firefogg": "To particate in wiki@home you need to install firefogg."
 32+ "wah-needs-firefogg": "To particate in Wiki@Home you need to install Firefogg."
3233
3334 });
3435

Status & tagging log