MDL-12789 - dont unnecessarily iterate over all groups
[moodle.git] / iplookup / ipatlas / languages / messages.blank.inc
CommitLineData
f4fb66d7 1<?php
2
3/*
4
5Blank Language File
6
7copy this language file from messages.blank.inc to
8messages.<country code>.inc.
9
10please email new language files to ivan@xpenguin.com
11copy a language file to messages.<cc>.inc and \
12edit what $p is on encountering an english phrase.
13
14please notice the punctuation and capitilization.
15
16change the $language variable in plotconf.inc after
17creating a language file.
18
19*/
20
21function lookup($phrase) {
22 switch($phrase) {
23
24 # start translating the $p here
25
26 case "Plotting" :
27 $p = ""; break;
28
29 case "preferences" :
30 $p = ""; break;
31
32 case "locate me" :
33 $p = ""; break;
34
35 case "IP/Hostname:" :
36 $p = ""; break;
37
38 case "You at" :
39 $p = ""; break;
40
41 case "Submit" :
42 $p = ""; break;
43
44 case "main" :
45 $p = ""; break;
46
47# Used in context "(host) is located in"
48 case "is" :
49 $p = ""; break;
50
51# Used in context "You at (host) are located in"
52 case "are" :
53 $p = ""; break;
54
55 case "located in" :
56 $p = ""; break;
57
58 case "cannot be located." :
59 $p = ""; break;
60
61 case "cannot be resolved." :
62 $p = ""; break;
63
64 case "is a host in the private IP address range." :
65 $p = ""; break;
66
67 case "does not resolve." :
68 $p = ""; break;
69
70 case "is not a valid IP address." :
71 $p = ""; break;
72
73 case "Temporary lookup failure." :
74 $p = ""; break;
75
76 case "IP-Atlas Preferences" :
77 $p = ""; break;
78
79# make the 'p' lowercase if possible in your language
80
81 case "IP-Atlas preferences" :
82 $p = ""; break;
83
84 case "(cookie based)" :
85 $p = ""; break;
86
87 case "Draw mode (defaults guessed for your browser):" :
88 $p = ""; break;
89
90 // next two phrases are combined
91 case "Your settings have been saved. You can now try" :
92 $p = ""; break;
93
94 case "plotting something." :
95 $p = ""; break;
96
97 case "Pointer Preferences (the dot that marks lat/lon):" :
98 $p = ""; break;
99
100 case "Shape:" :
101 $p = ""; break;
102
103 case "Size:" :
104 $p = ""; break;
105
106 case "Color:" :
107 $p = ""; break;
108
109 case "Pointer:" :
110 $p = ""; break;
111
112 case "Other Preferences:" :
113 $p = ""; break;
114
115 case "Earth Image:" :
116 $p = ""; break;
117
118 case "Color" :
119 $p = ""; break;
120
121 case "Grayscale" :
122 $p = ""; break;
123
124 case "Save" :
125 $p = ""; break;
126
127# shape names:
128 case "Diamond" :
129 $p = ""; break;
130
131 case "Diamond Outline" :
132 $p = ""; break;
133
134 case "Square" :
135 $p = ""; break;
136
137 case "Square Outline" :
138 $p = ""; break;
139
140 case "Cross" :
141 $p = ""; break;
142
143# colors:
144
145 case "red" :
146 $p = ""; break;
147
148 case "white" :
149 $p = ""; break;
150
151 case "yellow" :
152 $p = ""; break;
153
154 case "magenta" :
155 $p = ""; break;
156
157 case "cyan" :
158 $p = ""; break;
159
160 case "green" :
161 $p = ""; break;
162
163 case "violet" :
164 $p = ""; break;
165
166 # stop here
167
168 // return in english if the phrase couldn't be found
169 default:
170 $p = $phrase; break;
171
172
173 }
174
175 // return english if match was blank
176 if($p == "") { $p = $phrase; }
177
178 return $p;
179
180}
181
182?>