r98860 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98859‎ | r98860 | r98861 >
Date:15:34, 4 October 2011
Author:raymond
Status:resolved (Comments)
Tags:
Comment:
Rename file tp make it consistent and make translatewiki.net happy
Modified paths:
  • /trunk/tools/ToolserverI18N/language/messages/ToolserverStatus.i18n.php (deleted) (history)
  • /trunk/tools/ToolserverI18N/language/messages/Toolserverstatus.i18n.php (added) (history)

Diff [purge]

Index: trunk/tools/ToolserverI18N/language/messages/ToolserverStatus.i18n.php
@@ -1,57 +0,0 @@
2 -<?php
3 -/**
4 - * Interface messages for the ToolserverStatus class.
5 - *
6 - * @toolowner platonides
7 - */
8 -
9 -/* This is a library, there is no public url */
10 -$url = null;
11 -
12 -$messages = array();
13 -
14 -/**
15 - * English
16 - *
17 - * @author Platonides
18 - */
19 -$messages['en'] = array(
20 - 'toolserver-status-ok' => 'There are no problems in database cluster $1 $2',
21 - 'toolserver-status-info' => 'Notice for users of cluster $1: $2',
22 - 'toolserver-status-warn' => 'Warning for users of cluster $1: $2',
23 - 'toolserver-status-down' => 'The database cluster $1 has been temporarily shutdown. $2',
24 - 'toolserver-status-erro' => 'The database cluster $1 is down. $2',
25 - 'toolserver-status-unknown' => 'Unknown status of cluster $1',
26 - 'toolserver-status-missing' => 'Cluster $1 does not exist',
27 -
28 - 'toolserver-status-short-ok' => '$1: Ok',
29 - 'toolserver-status-short-info' => '$1: Info',
30 - 'toolserver-status-short-warn' => '$1: Warn',
31 - 'toolserver-status-short-down' => '$1: Down',
32 - 'toolserver-status-short-erro' => '$1: Error',
33 - 'toolserver-status-short-unknown' => '$1: Unknown',
34 - 'toolserver-status-short-missing' => '$1: Missing',
35 -);
36 -
37 -/**
38 - * Message documentation (Message documentation)
39 - * @author Platonides
40 - */
41 -$messages['qqq'] = array(
42 - 'toolserver-status-ok' => 'Message formatting for when the cluster status is \'ok\'. Params: cluster ($1) and informative text ($2), which should be empty',
43 - 'toolserver-status-info' => 'Message formatting for when the cluster status is \'info\'. Params: cluster ($1) and informative text ($2)',
44 - 'toolserver-status-warn' => 'Message formatting for when the cluster status is \'warn\'. Params: cluster ($1) and informative text ($2)',
45 - 'toolserver-status-down' => 'Message formatting for when the cluster status is \'down\' (eg. a planned maintenance). Params: cluster ($1) and informative text ($2)',
46 - 'toolserver-status-erro' => 'Message formatting for when the cluster status is \'erro\' (eg. a unplanned maintenance). Params: cluster ($1) and informative text ($2)',
47 - 'toolserver-status-unknown' => 'Message formatting for when the status file doesn\'t deliver any information about the status (a toolserver admin wrote it wrong). Params: cluster ($1) and empty informative text ($2)',
48 - 'toolserver-status-missing' => 'Message formatting for when the cluster name doesn\'t exist (invalid name passed by the calling program)',
49 -
50 - 'toolserver-status-short-ok' => 'A short status text for when the status is \'ok\'. Params: cluster name ($1)',
51 - 'toolserver-status-short-info' => 'A short status text for when the status is \'info\'. Params: cluster name ($1)',
52 - 'toolserver-status-short-warn' => 'A short status text for when the status is \'warn\'. Params: cluster name ($1)',
53 - 'toolserver-status-short-down' => 'A short status text for when the status is \'down\'. Params: cluster name ($1)',
54 - 'toolserver-status-short-erro' => 'A short status text for when the status is \'erro\'. Params: cluster name ($1)',
55 - 'toolserver-status-short-unknown' => 'A short status text for when the status file doesn\'t deliver any information about the status (a toolserver admin wrote it wrong). Params: cluster name ($1)',
56 - 'toolserver-status-short-missing' => 'A short status text for when the cluster name doesn\'t exist (invalid name passed by the calling program)',
57 -);
58 -
Index: trunk/tools/ToolserverI18N/language/messages/Toolserverstatus.i18n.php
@@ -0,0 +1,57 @@
 2+<?php
 3+/**
 4+ * Interface messages for the ToolserverStatus class.
 5+ *
 6+ * @toolowner platonides
 7+ */
 8+
 9+/* This is a library, there is no public url */
 10+$url = null;
 11+
 12+$messages = array();
 13+
 14+/**
 15+ * English
 16+ *
 17+ * @author Platonides
 18+ */
 19+$messages['en'] = array(
 20+ 'toolserver-status-ok' => 'There are no problems in database cluster $1 $2',
 21+ 'toolserver-status-info' => 'Notice for users of cluster $1: $2',
 22+ 'toolserver-status-warn' => 'Warning for users of cluster $1: $2',
 23+ 'toolserver-status-down' => 'The database cluster $1 has been temporarily shutdown. $2',
 24+ 'toolserver-status-erro' => 'The database cluster $1 is down. $2',
 25+ 'toolserver-status-unknown' => 'Unknown status of cluster $1',
 26+ 'toolserver-status-missing' => 'Cluster $1 does not exist',
 27+
 28+ 'toolserver-status-short-ok' => '$1: Ok',
 29+ 'toolserver-status-short-info' => '$1: Info',
 30+ 'toolserver-status-short-warn' => '$1: Warn',
 31+ 'toolserver-status-short-down' => '$1: Down',
 32+ 'toolserver-status-short-erro' => '$1: Error',
 33+ 'toolserver-status-short-unknown' => '$1: Unknown',
 34+ 'toolserver-status-short-missing' => '$1: Missing',
 35+);
 36+
 37+/**
 38+ * Message documentation (Message documentation)
 39+ * @author Platonides
 40+ */
 41+$messages['qqq'] = array(
 42+ 'toolserver-status-ok' => 'Message formatting for when the cluster status is \'ok\'. Params: cluster ($1) and informative text ($2), which should be empty',
 43+ 'toolserver-status-info' => 'Message formatting for when the cluster status is \'info\'. Params: cluster ($1) and informative text ($2)',
 44+ 'toolserver-status-warn' => 'Message formatting for when the cluster status is \'warn\'. Params: cluster ($1) and informative text ($2)',
 45+ 'toolserver-status-down' => 'Message formatting for when the cluster status is \'down\' (eg. a planned maintenance). Params: cluster ($1) and informative text ($2)',
 46+ 'toolserver-status-erro' => 'Message formatting for when the cluster status is \'erro\' (eg. a unplanned maintenance). Params: cluster ($1) and informative text ($2)',
 47+ 'toolserver-status-unknown' => 'Message formatting for when the status file doesn\'t deliver any information about the status (a toolserver admin wrote it wrong). Params: cluster ($1) and empty informative text ($2)',
 48+ 'toolserver-status-missing' => 'Message formatting for when the cluster name doesn\'t exist (invalid name passed by the calling program)',
 49+
 50+ 'toolserver-status-short-ok' => 'A short status text for when the status is \'ok\'. Params: cluster name ($1)',
 51+ 'toolserver-status-short-info' => 'A short status text for when the status is \'info\'. Params: cluster name ($1)',
 52+ 'toolserver-status-short-warn' => 'A short status text for when the status is \'warn\'. Params: cluster name ($1)',
 53+ 'toolserver-status-short-down' => 'A short status text for when the status is \'down\'. Params: cluster name ($1)',
 54+ 'toolserver-status-short-erro' => 'A short status text for when the status is \'erro\'. Params: cluster name ($1)',
 55+ 'toolserver-status-short-unknown' => 'A short status text for when the status file doesn\'t deliver any information about the status (a toolserver admin wrote it wrong). Params: cluster name ($1)',
 56+ 'toolserver-status-short-missing' => 'A short status text for when the cluster name doesn\'t exist (invalid name passed by the calling program)',
 57+);
 58+
Property changes on: trunk/tools/ToolserverI18N/language/messages/Toolserverstatus.i18n.php
___________________________________________________________________
Added: svn:eol-style
159 + native

Follow-up revisions

RevisionCommit summaryAuthorDate
r98861followup for r98860raymond15:35, 4 October 2011
r98862followup for r98860raymond15:36, 4 October 2011

Comments

#Comment by Nikerabbit (talk | contribs)   19:27, 4 October 2011

Why lower case?

#Comment by Nikerabbit (talk | contribs)   19:28, 4 October 2011

Ah I see.

Status & tagging log