Index: trunk/extensions/ArticleFeedback/populateAFStatistics.php |
— | — | @@ -4,7 +4,7 @@ |
5 | 5 | if ( $IP === false ) { |
6 | 6 | $IP = dirname( __FILE__ ) . '/../..'; |
7 | 7 | } |
8 | | -require( "$IP/maintenance/Maintenance.php" ); |
| 8 | +require( "../../phase3/maintenance/Maintenance.php" ); |
9 | 9 | |
10 | 10 | class PopulateAFStatistics extends Maintenance { |
11 | 11 | /** |
Index: trunk/extensions/Translate/groups/Toolserver/toolserver-textdomains.txt |
— | — | @@ -3,7 +3,7 @@ |
4 | 4 | ignored = title, tusc, standard_language, standard_project |
5 | 5 | |
6 | 6 | General |
7 | | -optional = colon-separator, dateformat |
| 7 | +optional = colon-separator, dateformat, parentheses |
8 | 8 | |
9 | 9 | GetWikiAPI |
10 | 10 | ignored = title |
Index: trunk/tools/ToolserverI18N/TsIntuition.php |
— | — | @@ -1084,6 +1084,21 @@ |
1085 | 1085 | /* Other functions |
1086 | 1086 | * ------------------------------------------------- */ |
1087 | 1087 | |
| 1088 | + public static function parentheses( /* $this->msg( [arguments] ) */ ) { |
| 1089 | + $msg = call_user_func_array( |
| 1090 | + array( $this, 'msg' ), |
| 1091 | + func_get_args() |
| 1092 | + ); |
| 1093 | + return $this->msg( |
| 1094 | + 'parentheses', |
| 1095 | + array( |
| 1096 | + 'domain' => 'general', |
| 1097 | + 'variables' => array( $msg ), |
| 1098 | + 'raw-variables' => true, |
| 1099 | + ) |
| 1100 | + ); |
| 1101 | + } |
| 1102 | + |
1088 | 1103 | /** |
1089 | 1104 | * Get a localized date. Pass a format, time or both. |
1090 | 1105 | * Defaults to the current timestamp in the language's default date format. |
Index: trunk/tools/ToolserverI18N/language/messages/Commonshelper2.i18n.php |
— | — | @@ -36,7 +36,7 @@ |
37 | 37 | 'checkusage' => 'CheckUsage', |
38 | 38 | 'use_checkusage' => 'Use $1CommonSense$2 to suggest new categories', |
39 | 39 | 'tusc' => 'TUSC', // Ignore |
40 | | - 'use_tusc' => 'Use authenticate $1TUSC$2 to transfer the file directly', |
| 40 | + 'use_tusc' => 'Use $1TUSC$2 to authenticate and transfer the file directly', |
41 | 41 | 'tusc_user' => 'TUSC username', |
42 | 42 | 'tusc_pass' => 'TUSC password', |
43 | 43 | 'do_it' => 'Do it', |
Index: trunk/tools/ToolserverI18N/language/messages/General.i18n.php |
— | — | @@ -26,6 +26,7 @@ |
27 | 27 | 'hours' => 'hours', |
28 | 28 | 'last-modified-date' => 'Last modified: $1', |
29 | 29 | 'view-source' => 'View source', |
| 30 | + 'parenthesis' => '($1)', // optional |
30 | 31 | ); |
31 | 32 | |
32 | 33 | /** Message documentation (Message documentation) |
Index: trunk/tools/ToolserverI18N/TsIntuitionUtil.php |
— | — | @@ -72,6 +72,7 @@ |
73 | 73 | return true; |
74 | 74 | } |
75 | 75 | |
| 76 | + |
76 | 77 | /** |
77 | 78 | * A return version of var_dump(). |
78 | 79 | * Optionally html-escaped and wrapped in a <pre>-tag. |