1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
|
<?php
/**
* webtrees: online genealogy
* Copyright (C) 2017 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
namespace Fisharebest\Webtrees\GedcomCode;
use Fisharebest\Webtrees\I18N;
/**
* Class GedcomCodeTemp - Functions and logic for GEDCOM "TEMP" codes
*/
class GedcomCodeTemp {
/**
* A list of GEDCOM tags that require a TEMP subtag
*
* @param string $tag
*
* @return bool
*/
public static function isTagLDS($tag) {
return $tag === 'BAPL' || $tag === 'CONL' || $tag === 'ENDL' || $tag === 'SLGC' || $tag === 'SLGS';
}
/**
* A list of all temple codes, from the GEDCOM 5.5.1 specification
*
* Note that this list is out-of-date. We could add recently built
* temples, but what codes would we use?
*
* @link http://en.wikipedia.org/wiki/List_of_temples_of_The_Church_of_Jesus_Christ_of_Latter-day_Saints
* @link http://www.ldschurchtemples.com/codes/
*
* @return string[]
*/
public static function templeCodes() {
return [
'ABA', 'ACCRA', 'ADELA', 'ALBER', 'ALBUQ', 'ANCHO', 'ARIZO', 'ASUNC',
'ATLAN', 'BAIRE', 'BILLI', 'BIRMI', 'BISMA', 'BOGOT', 'BOISE', 'BOSTO',
'BOUNT', 'BRIGH', 'BRISB', 'BROUG', 'CALGA', 'CAMPI', 'CARAC', 'CEBUP',
'CHICA', 'CIUJU', 'COCHA', 'COLJU', 'COLSC', 'COLUM', 'COPEN', 'CORDO',
'CRIVE', 'CURIT', 'DALLA', 'DENVE', 'DETRO', 'DRAPE', 'EDMON', 'EHOUS',
'FORTL', 'FRANK', 'FREIB', 'FRESN', 'FUKUO', 'GILAV', 'GILBE', 'GUADA',
'GUATE', 'GUAYA', 'HAGUE', 'HALIF', 'HARTF', 'HAWAI', 'HELSI', 'HERMO',
'HKONG', 'HOUST', 'IFALL', 'INDIA', 'JOHAN', 'JRIVE', 'KANSA', 'KONA',
'KYIV', 'LANGE', 'LIMA', 'LOGAN', 'LONDO', 'LOUIS', 'LUBBO', 'LVEGA',
'MADRI', 'MANAU', 'MANHA', 'MANIL', 'MANTI', 'MEDFO', 'MELBO', 'MEMPH',
'MERID', 'MEXIC', 'MNTVD', 'MONTE', 'MONTI', 'MONTR', 'MTIMP', 'NASHV',
'NAUV2', 'NAUVO', 'NBEAC', 'NUKUA', 'NYORK', 'NZEAL', 'OAKLA', 'OAXAC',
'OGDEN', 'OKLAH', 'OQUIR', 'ORLAN', 'PALEG', 'PALMY', 'PANAM', 'PAPEE',
'PAYSO', 'PERTH', 'PHOEN', 'POFFI', 'PORTL', 'PREST', 'PROCC', 'PROVO',
'QUETZ', 'RALEI', 'RECIF', 'REDLA', 'REGIN', 'RENO', 'REXBU', 'SACRA',
'SAMOA', 'SANTI', 'SANSA', 'SANTO', 'SDIEG', 'SDOMI', 'SEATT', 'SEOUL',
'SGEOR', 'SJOSE', 'SLAKE', 'SLOUI', 'SNOWF', 'SPAUL', 'SPMIN', 'SPOKA',
'STOCK', 'SUVA', 'SWISS', 'SYDNE', 'TAIPE', 'TAMPI', 'TEGUC', 'TGUTI',
'TIHUA', 'TOKYO', 'TORNO', 'TRUJI', 'TWINF', 'VANCO', 'VERAC', 'VERNA',
'VILLA', 'WASHI', 'WINTE',
];
}
/**
* Get the localized name for a temple code
*
* @param string $temple_code
*
* @return string
*/
public static function templeName($temple_code) {
switch ($temple_code) {
case 'ABA':
return /* I18N: Location of an LDS church temple */ I18N::translate('Aba, Nigeria');
case 'ACCRA':
return /* I18N: Location of an LDS church temple */ I18N::translate('Accra, Ghana');
case 'ADELA':
return /* I18N: Location of an LDS church temple */ I18N::translate('Adelaide, Australia');
case 'ALBER':
return /* I18N: Location of an LDS church temple */ I18N::translate('Cardston, Alberta, Canada');
case 'ALBUQ':
return /* I18N: Location of an LDS church temple */ I18N::translate('Albuquerque, New Mexico, United States');
case 'ANCHO':
return /* I18N: Location of an LDS church temple */ I18N::translate('Anchorage, Alaska, United States');
case 'APIA':
return /* I18N: Location of an LDS church temple */ I18N::translate('Apia, Samoa');
case 'ARIZO':
return /* I18N: Location of an LDS church temple */ I18N::translate('Mesa, Arizona, United States');
case 'ASUNC':
return /* I18N: Location of an LDS church temple */ I18N::translate('Asuncion, Paraguay');
case 'ATLAN':
return /* I18N: Location of an LDS church temple */ I18N::translate('Atlanta, Georgia, United States');
case 'BAIRE':
return /* I18N: Location of an LDS church temple */ I18N::translate('Buenos Aires, Argentina');
case 'BILLI':
return /* I18N: Location of an LDS church temple */ I18N::translate('Billings, Montana, United States');
case 'BIRMI':
return /* I18N: Location of an LDS church temple */ I18N::translate('Birmingham, Alabama, United States');
case 'BISMA':
return /* I18N: Location of an LDS church temple */ I18N::translate('Bismarck, North Dakota, United States');
case 'BOGOT':
return /* I18N: Location of an LDS church temple */ I18N::translate('Bogota, Colombia');
case 'BOISE':
return /* I18N: Location of an LDS church temple */ I18N::translate('Boise, Idaho, United States');
case 'BOSTO':
return /* I18N: Location of an LDS church temple */ I18N::translate('Boston, Massachusetts, United States');
case 'BOUNT':
return /* I18N: Location of an LDS church temple */ I18N::translate('Bountiful, Utah, United States');
case 'BRIGH':
return /* I18N: Location of an LDS church temple */ I18N::translate('Brigham City, Utah, United States');
case 'BRISB':
return /* I18N: Location of an LDS church temple */ I18N::translate('Brisbane, Australia');
case 'BROUG':
return /* I18N: Location of an LDS church temple */ I18N::translate('Baton Rouge, Louisiana, United States');
case 'CALGA':
return /* I18N: Location of an LDS church temple */ I18N::translate('Calgary, Alberta, Canada');
case 'CAMPI':
return /* I18N: Location of an LDS church temple */ I18N::translate('Campinas, Brazil');
case 'CARAC':
return /* I18N: Location of an LDS church temple */ I18N::translate('Caracas, Venezuela');
case 'CEBUP':
return /* I18N: Location of an LDS church temple */ I18N::translate('Cebu City, Philippines');
case 'CHICA':
return /* I18N: Location of an LDS church temple */ I18N::translate('Chicago, Illinois, United States');
case 'CIUJU':
return /* I18N: Location of an LDS church temple */ I18N::translate('Ciudad Juarez, Mexico');
case 'COCHA':
return /* I18N: Location of an LDS church temple */ I18N::translate('Cochabamba, Bolivia');
case 'COLJU':
return /* I18N: Location of an LDS church temple */ I18N::translate('Colonia Juarez, Mexico');
case 'COLSC':
return /* I18N: Location of an LDS church temple */ I18N::translate('Columbia, South Carolina, United States');
case 'COLUM':
return /* I18N: Location of an LDS church temple */ I18N::translate('Columbus, Ohio, United States');
case 'COPEN':
return /* I18N: Location of an LDS church temple */ I18N::translate('Copenhagen, Denmark');
case 'CORDO':
return /* I18N: Location of an LDS church temple */ I18N::translate('Cordoba, Argentina');
case 'CRIVE':
return /* I18N: Location of an LDS church temple */ I18N::translate('Columbia River, Washington, United States');
case 'CURIT':
return /* I18N: Location of an LDS church temple */ I18N::translate('Curitiba, Brazil');
case 'DALLA':
return /* I18N: Location of an LDS church temple */ I18N::translate('Dallas, Texas, United States');
case 'DENVE':
return /* I18N: Location of an LDS church temple */ I18N::translate('Denver, Colorado, United States');
case 'DETRO':
return /* I18N: Location of an LDS church temple */ I18N::translate('Detroit, Michigan, United States');
case 'DRAPE':
return /* I18N: Location of an LDS church temple */ I18N::translate('Draper, Utah, United States');
case 'EDMON':
return /* I18N: Location of an LDS church temple */ I18N::translate('Edmonton, Alberta, Canada');
case 'EHOUS':
return /* I18N: Location of an historic LDS church temple - http://en.wikipedia.org/wiki/Endowment_house */ I18N::translate('Endowment House');
case 'FORTL':
return /* I18N: Location of an LDS church temple */ I18N::translate('Fort Lauderdale, Florida, United States');
case 'FRANK':
return /* I18N: Location of an LDS church temple */ I18N::translate('Frankfurt am Main, Germany');
case 'FREIB':
return /* I18N: Location of an LDS church temple */ I18N::translate('Freiburg, Germany');
case 'FRESN':
return /* I18N: Location of an LDS church temple */ I18N::translate('Fresno, California, United States');
case 'FUKUO':
return /* I18N: Location of an LDS church temple */ I18N::translate('Fukuoka, Japan');
case 'GILAV':
return /* I18N: Location of an LDS church temple */ I18N::translate('Gila Valley, Arizona, United States');
case 'GILBE':
return /* I18N: Location of an LDS church temple */ I18N::translate('Gilbert, Arizona, United States');
case 'GUADA':
return /* I18N: Location of an LDS church temple */ I18N::translate('Guadalajara, Mexico');
case 'GUATE':
return /* I18N: Location of an LDS church temple */ I18N::translate('Guatemala City, Guatemala');
case 'GUAYA':
return /* I18N: Location of an LDS church temple */ I18N::translate('Guayaquil, Ecuador');
case 'HAGUE':
return /* I18N: Location of an LDS church temple */ I18N::translate('The Hague, Netherlands');
case 'HALIF':
return /* I18N: Location of an LDS church temple */ I18N::translate('Halifax, Nova Scotia, Canada');
case 'HARTF':
return /* I18N: Location of an LDS church temple */ I18N::translate('Hartford, Connecticut, United States');
case 'HAWAI':
return /* I18N: Location of an LDS church temple */ I18N::translate('Laie, Hawaii, United States');
case 'HELSI':
return /* I18N: Location of an LDS church temple */ I18N::translate('Helsinki, Finland');
case 'HERMO':
return /* I18N: Location of an LDS church temple */ I18N::translate('Hermosillo, Mexico');
case 'HKONG':
return /* I18N: Location of an LDS church temple */ I18N::translate('Hong Kong');
case 'HOUST':
return /* I18N: Location of an LDS church temple */ I18N::translate('Houston, Texas, United States');
case 'IFALL':
return /* I18N: Location of an LDS church temple */ I18N::translate('Idaho Falls, Idaho, United States');
case 'INDIA':
return /* I18N: Location of an LDS church temple */ I18N::translate('Indianapolis, Indiana, United States');
case 'JOHAN':
return /* I18N: Location of an LDS church temple */ I18N::translate('Johannesburg, South Africa');
case 'JRIVE':
return /* I18N: Location of an LDS church temple */ I18N::translate('Jordan River, Utah, United States');
case 'KANSA':
return /* I18N: Location of an LDS church temple */ I18N::translate('Kansas City, Missouri, United States');
case 'KONA':
return /* I18N: Location of an LDS church temple */ I18N::translate('Kona, Hawaii, United States');
case 'KYIV':
return /* I18N: Location of an LDS church temple */ I18N::translate('Kiev, Ukraine');
case 'LANGE':
return /* I18N: Location of an LDS church temple */ I18N::translate('Los Angeles, California, United States');
case 'LIMA':
return /* I18N: Location of an LDS church temple */ I18N::translate('Lima, Peru');
case 'LOGAN':
return /* I18N: Location of an LDS church temple */ I18N::translate('Logan, Utah, United States');
case 'LONDO':
return /* I18N: Location of an LDS church temple */ I18N::translate('London, England');
case 'LOUIS':
return /* I18N: Location of an LDS church temple */ I18N::translate('Louisville, Kentucky, United States');
case 'LUBBO':
return /* I18N: Location of an LDS church temple */ I18N::translate('Lubbock, Texas, United States');
case 'LVEGA':
return /* I18N: Location of an LDS church temple */ I18N::translate('Las Vegas, Nevada, United States');
case 'MADRI':
return /* I18N: Location of an LDS church temple */ I18N::translate('Madrid, Spain');
case 'MANAU':
return /* I18N: Location of an LDS church temple */ I18N::translate('Manaus, Brazil');
case 'MANHA':
return /* I18N: Location of an LDS church temple */ I18N::translate('Manhattan, New York, United States');
case 'MANIL':
return /* I18N: Location of an LDS church temple */ I18N::translate('Manila, Philippines');
case 'MANTI':
return /* I18N: Location of an LDS church temple */ I18N::translate('Manti, Utah, United States');
case 'MEDFO':
return /* I18N: Location of an LDS church temple */ I18N::translate('Medford, Oregon, United States');
case 'MELBO':
return /* I18N: Location of an LDS church temple */ I18N::translate('Melbourne, Australia');
case 'MEMPH':
return /* I18N: Location of an LDS church temple */ I18N::translate('Memphis, Tennessee, United States');
case 'MERID':
return /* I18N: Location of an LDS church temple */ I18N::translate('Merida, Mexico');
case 'MEXIC':
return /* I18N: Location of an LDS church temple */ I18N::translate('Mexico City, Mexico');
case 'MNTVD':
return /* I18N: Location of an LDS church temple */ I18N::translate('Montevideo, Uruguay');
case 'MONTE':
return /* I18N: Location of an LDS church temple */ I18N::translate('Monterrey, Mexico');
case 'MONTI':
return /* I18N: Location of an LDS church temple */ I18N::translate('Monticello, Utah, United States');
case 'MONTR':
return /* I18N: Location of an LDS church temple */ I18N::translate('Montreal, Quebec, Canada');
case 'MTIMP':
return /* I18N: Location of an LDS church temple */ I18N::translate('Mount Timpanogos, Utah, United States');
case 'NASHV':
return /* I18N: Location of an LDS church temple */ I18N::translate('Nashville, Tennessee, United States');
case 'NAUV2':
return /* I18N: Location of an LDS church temple */ I18N::translate('Nauvoo (new), Illinois, United States');
case 'NAUVO':
return /* I18N: Location of an historic LDS church temple */ I18N::translate('Nauvoo (original), Illinois, United States');
case 'NBEAC':
return /* I18N: Location of an LDS church temple */ I18N::translate('Newport Beach, California, United States');
case 'NUKUA':
return /* I18N: Location of an LDS church temple */ I18N::translate('Nuku’Alofa, Tonga');
case 'NYORK':
return /* I18N: Location of an historic LDS church temple */ I18N::translate('New York, New York, United States');
case 'NZEAL':
return /* I18N: Location of an LDS church temple */ I18N::translate('Hamilton, New Zealand');
case 'OAKLA':
return /* I18N: Location of an LDS church temple */ I18N::translate('Oakland, California, United States');
case 'OAXAC':
return /* I18N: Location of an LDS church temple */ I18N::translate('Oaxaca, Mexico');
case 'OGDEN':
return /* I18N: Location of an LDS church temple */ I18N::translate('Ogden, Utah, United States');
case 'OKLAH':
return /* I18N: Location of an LDS church temple */ I18N::translate('Oklahoma City, Oklahoma, United States');
case 'OQUIR':
return /* I18N: Location of an LDS church temple */ I18N::translate('Oquirrh Mountain, Utah, United States');
case 'ORLAN':
return /* I18N: Location of an LDS church temple */ I18N::translate('Orlando, Florida, United States');
case 'PALEG':
return /* I18N: Location of an LDS church temple */ I18N::translate('Porto Alegre, Brazil');
case 'PALMY':
return /* I18N: Location of an LDS church temple */ I18N::translate('Palmyra, New York, United States');
case 'PANAM':
return /* I18N: Location of an LDS church temple */ I18N::translate('Panama City, Panama');
case 'PAPEE':
return /* I18N: Location of an LDS church temple */ I18N::translate('Papeete, Tahiti');
case 'PAYSO':
return /* I18N: Location of an LDS church temple */ I18N::translate('Payson, Utah, United States');
case 'PERTH':
return /* I18N: Location of an LDS church temple */ I18N::translate('Perth, Australia');
case 'PHOEN':
return /* I18N: Location of an LDS church temple */ I18N::translate('Phoenix, Arizona, United States');
case 'POFFI':
return /* I18N: I18N: Location of an historic LDS church temple - http://en.wikipedia.org/wiki/President_of_the_Church */ I18N::translate('President’s Office');
case 'PORTL':
return /* I18N: Location of an LDS church temple */ I18N::translate('Portland, Oregon, United States');
case 'PREST':
return /* I18N: Location of an LDS church temple */ I18N::translate('Preston, England');
case 'PROCC':
return /* I18N: Location of an LDS church temple */ I18N::translate('Provo City Center, Utah, United States');
case 'PROVO':
return /* I18N: Location of an LDS church temple */ I18N::translate('Provo, Utah, United States');
case 'QUETZ':
return /* I18N: Location of an LDS church temple */ I18N::translate('Quetzaltenango, Guatemala');
case 'RALEI':
return /* I18N: Location of an LDS church temple */ I18N::translate('Raleigh, North Carolina, United States');
case 'RECIF':
return /* I18N: Location of an LDS church temple */ I18N::translate('Recife, Brazil');
case 'REDLA':
return /* I18N: Location of an LDS church temple */ I18N::translate('Redlands, California, United States');
case 'REGIN':
return /* I18N: Location of an LDS church temple */ I18N::translate('Regina, Saskatchewan, Canada');
case 'RENO':
return /* I18N: Location of an LDS church temple */ I18N::translate('Reno, Nevada, United States');
case 'REXBU':
return /* I18N: Location of an LDS church temple */ I18N::translate('Rexburg, Idaho, United States');
case 'SACRA':
return /* I18N: Location of an LDS church temple */ I18N::translate('Sacramento, California, United States');
case 'SANSA':
return /* I18N: Location of an LDS church temple */ I18N::translate('San Salvador, El Salvador');
case 'SANTI':
return /* I18N: Location of an LDS church temple */ I18N::translate('Santiago, Chile');
case 'SANTO':
return /* I18N: Location of an LDS church temple */ I18N::translate('San Antonio, Texas, United States');
case 'SDIEG':
return /* I18N: Location of an LDS church temple */ I18N::translate('San Diego, California, United States');
case 'SDOMI':
return /* I18N: Location of an LDS church temple */ I18N::translate('Santo Domingo, Dominican Republic');
case 'SEATT':
return /* I18N: Location of an LDS church temple */ I18N::translate('Seattle, Washington, United States');
case 'SEOUL':
return /* I18N: Location of an LDS church temple */ I18N::translate('Seoul, Korea');
case 'SGEOR':
return /* I18N: Location of an LDS church temple */ I18N::translate('St. George, Utah, United States');
case 'SJOSE':
return /* I18N: Location of an LDS church temple */ I18N::translate('San Jose, Costa Rica');
case 'SLAKE':
return /* I18N: Location of an LDS church temple */ I18N::translate('Salt Lake City, Utah, United States');
case 'SLOUI':
return /* I18N: Location of an LDS church temple */ I18N::translate('St. Louis, Missouri, United States');
case 'SNOWF':
return /* I18N: Location of an LDS church temple */ I18N::translate('Snowflake, Arizona, United States');
case 'SPAUL':
return /* I18N: Location of an LDS church temple */ I18N::translate('Sao Paulo, Brazil');
case 'SPMIN':
return /* I18N: Location of an LDS church temple */ I18N::translate('St. Paul, Minnesota, United States');
case 'SPOKA':
return /* I18N: Location of an LDS church temple */ I18N::translate('Spokane, Washington, United States');
case 'STOCK':
return /* I18N: Location of an LDS church temple */ I18N::translate('Stockholm, Sweden');
case 'SUVA':
return /* I18N: Location of an LDS church temple */ I18N::translate('Suva, Fiji');
case 'SWISS':
return /* I18N: Location of an LDS church temple */ I18N::translate('Bern, Switzerland');
case 'SYDNE':
return /* I18N: Location of an LDS church temple */ I18N::translate('Sydney, Australia');
case 'TAIPE':
return /* I18N: Location of an LDS church temple */ I18N::translate('Taipei, Taiwan');
case 'TAMPI':
return /* I18N: Location of an LDS church temple */ I18N::translate('Tampico, Mexico');
case 'TEGUC':
return /* I18N: Location of an LDS church temple */ I18N::translate('Tegucigalpa, Honduras');
case 'TGUTI':
return /* I18N: Location of an LDS church temple */ I18N::translate('Tuxtla Gutierrez, Mexico');
case 'TIJUA':
return /* I18N: Location of an LDS church temple */ I18N::translate('Tijuana, Mexico');
case 'TOKYO':
return /* I18N: Location of an LDS church temple */ I18N::translate('Tokyo, Japan');
case 'TORNO':
return /* I18N: Location of an LDS church temple */ I18N::translate('Toronto, Ontario, Canada');
case 'TRUJI':
return /* I18N: Location of an LDS church temple */ I18N::translate('Trujillo, Peru');
case 'TWINF':
return /* I18N: Location of an LDS church temple */ I18N::translate('Twin Falls, Idaho, United States');
case 'VANCO':
return /* I18N: Location of an LDS church temple */ I18N::translate('Vancouver, British Columbia, Canada');
case 'VERAC':
return /* I18N: Location of an LDS church temple */ I18N::translate('Veracruz, Mexico');
case 'VERNA':
return /* I18N: Location of an LDS church temple */ I18N::translate('Vernal, Utah, United States');
case 'VILLA':
return /* I18N: Location of an LDS church temple */ I18N::translate('Villa Hermosa, Mexico');
case 'WASHI':
return /* I18N: Location of an LDS church temple */ I18N::translate('Washington, District of Columbia, United States');
case 'WINTE':
return /* I18N: Location of an LDS church temple */ I18N::translate('Winter Quarters, Nebraska, United States');
default:
return $temple_code;
}
}
/**
* A sorted list of all temple names
*
* @return string[]
*/
public static function templeNames() {
$temple_names = [];
foreach (self::templeCodes() as $temple_code) {
$temple_names[$temple_code] = self::templeName($temple_code);
}
uasort($temple_names, '\Fisharebest\Webtrees\I18N::strcasecmp');
return $temple_names;
}
}
|