summaryrefslogtreecommitdiff
path: root/app/GedcomCode
diff options
context:
space:
mode:
authorScrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>2017-12-03 11:59:31 +0100
committerGreg Roach <fisharebest@gmail.com>2017-12-03 10:59:31 +0000
commitcc7d0e557be1f8c38b2e807b039fdf77756ccac5 (patch)
tree164d922d4f1c5fb41cd075e66d000904d705ecf4 /app/GedcomCode
parent4a3c5b10f904e15aa9db69a2ef0746578d828deb (diff)
downloadwebtrees-cc7d0e557be1f8c38b2e807b039fdf77756ccac5.tar.gz
webtrees-cc7d0e557be1f8c38b2e807b039fdf77756ccac5.tar.bz2
webtrees-cc7d0e557be1f8c38b2e807b039fdf77756ccac5.zip
Scrutinizer Auto-Fixes (#1525)
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
Diffstat (limited to 'app/GedcomCode')
-rw-r--r--app/GedcomCode/GedcomCodeAdop.php56
-rw-r--r--app/GedcomCode/GedcomCodeName.php204
-rw-r--r--app/GedcomCode/GedcomCodePedi.php152
-rw-r--r--app/GedcomCode/GedcomCodeQuay.php36
-rw-r--r--app/GedcomCode/GedcomCodeStat.php140
-rw-r--r--app/GedcomCode/GedcomCodeTemp.php624
6 files changed, 606 insertions, 606 deletions
diff --git a/app/GedcomCode/GedcomCodeAdop.php b/app/GedcomCode/GedcomCodeAdop.php
index e839e3beeb..3dfad11357 100644
--- a/app/GedcomCode/GedcomCodeAdop.php
+++ b/app/GedcomCode/GedcomCodeAdop.php
@@ -42,35 +42,35 @@ class GedcomCodeAdop {
}
switch ($type) {
- case 'BOTH':
- switch ($sex) {
- case 'M':
- return I18N::translateContext('MALE', 'Adopted by both parents');
- case 'F':
- return I18N::translateContext('FEMALE', 'Adopted by both parents');
+ case 'BOTH':
+ switch ($sex) {
+ case 'M':
+ return I18N::translateContext('MALE', 'Adopted by both parents');
+ case 'F':
+ return I18N::translateContext('FEMALE', 'Adopted by both parents');
+ default:
+ return I18N::translate('Adopted by both parents');
+ }
+ case 'HUSB':
+ switch ($sex) {
+ case 'M':
+ return I18N::translateContext('MALE', 'Adopted by father');
+ case 'F':
+ return I18N::translateContext('FEMALE', 'Adopted by father');
+ default:
+ return I18N::translate('Adopted by father');
+ }
+ case 'WIFE':
+ switch ($sex) {
+ case 'M':
+ return I18N::translateContext('MALE', 'Adopted by mother');
+ case 'F':
+ return I18N::translateContext('FEMALE', 'Adopted by mother');
+ default:
+ return I18N::translate('Adopted by mother');
+ }
default:
- return I18N::translate('Adopted by both parents');
- }
- case 'HUSB':
- switch ($sex) {
- case 'M':
- return I18N::translateContext('MALE', 'Adopted by father');
- case 'F':
- return I18N::translateContext('FEMALE', 'Adopted by father');
- default:
- return I18N::translate('Adopted by father');
- }
- case 'WIFE':
- switch ($sex) {
- case 'M':
- return I18N::translateContext('MALE', 'Adopted by mother');
- case 'F':
- return I18N::translateContext('FEMALE', 'Adopted by mother');
- default:
- return I18N::translate('Adopted by mother');
- }
- default:
- return $type;
+ return $type;
}
}
diff --git a/app/GedcomCode/GedcomCodeName.php b/app/GedcomCode/GedcomCodeName.php
index a11a3c72c6..3055ddc543 100644
--- a/app/GedcomCode/GedcomCodeName.php
+++ b/app/GedcomCode/GedcomCodeName.php
@@ -42,109 +42,109 @@ class GedcomCodeName {
}
switch ($type) {
- case 'adopted':
- switch ($sex) {
- case 'M':
- /* I18N: The name given to a child by its adoptive parents */
- return I18N::translateContext('MALE', 'adopted name');
- case 'F':
- /* I18N: The name given to a child by its adoptive parents */
- return I18N::translateContext('FEMALE', 'adopted name');
+ case 'adopted':
+ switch ($sex) {
+ case 'M':
+ /* I18N: The name given to a child by its adoptive parents */
+ return I18N::translateContext('MALE', 'adopted name');
+ case 'F':
+ /* I18N: The name given to a child by its adoptive parents */
+ return I18N::translateContext('FEMALE', 'adopted name');
+ default:
+ /* I18N: The name given to a child by its adoptive parents */
+ return I18N::translate('adopted name');
+ }
+ case 'aka':
+ switch ($sex) {
+ case 'M':
+ /* I18N: The name by which an individual is also known. e.g. a professional name or a stage name */
+ return I18N::translateContext('MALE', 'also known as');
+ case 'F':
+ /* I18N: The name by which an individual is also known. e.g. a professional name or a stage name */
+ return I18N::translateContext('FEMALE', 'also known as');
+ default:
+ /* I18N: The name by which an individual is also known. e.g. a professional name or a stage name */
+ return I18N::translate('also known as');
+ }
+ case 'birth':
+ switch ($sex) {
+ case 'M':
+ /* I18N: The name given to an individual at their birth */
+ return I18N::translateContext('MALE', 'birth name');
+ case 'F':
+ /* I18N: The name given to an individual at their birth */
+ return I18N::translateContext('FEMALE', 'birth name');
+ default:
+ /* I18N: The name given to an individual at their birth */
+ return I18N::translate('birth name');
+ }
+ case 'change':
+ switch ($sex) {
+ case 'M':
+ /* I18N: A name chosen by an individual, to replace their existing name (whether legal or otherwise) */
+ return I18N::translateContext('MALE', 'change of name');
+ case 'F':
+ /* I18N: A name chosen by an individual, to replace their existing name (whether legal or otherwise) */
+ return I18N::translateContext('FEMALE', 'change of name');
+ default:
+ /* I18N: A name chosen by an individual, to replace their existing name (whether legal or otherwise) */
+ return I18N::translate('change of name');
+ }
+ case 'estate':
+ switch ($sex) {
+ case 'M':
+ /* I18N: A name given to an individual, from the farm or estate on which they lived or worked */
+ return I18N::translateContext('MALE', 'estate name');
+ case 'F':
+ /* I18N: A name given to an individual, from the farm or estate on which they lived or worked */
+ return I18N::translateContext('FEMALE', 'estate name');
+ default:
+ /* I18N: A name given to an individual, from the farm or estate on which they lived or worked */
+ return I18N::translate('estate name');
+ }
+ case 'immigrant':
+ switch ($sex) {
+ case 'M':
+ /* I18N: A name taken on immigration - e.g. migrants to the USA frequently anglicized their names */
+ return I18N::translateContext('MALE', 'immigration name');
+ case 'F':
+ /* I18N: A name taken on immigration - e.g. migrants to the USA frequently anglicized their names */
+ return I18N::translateContext('FEMALE', 'immigration name');
+ default:
+ /* I18N: A name taken on immigration - e.g. migrants to the USA frequently anglicized their names */
+ return I18N::translate('immigration name');
+ }
+ case 'maiden':
+ // Only women have “maiden” names!
+ return
+ /* I18N: A woman’s name, before she marries (in cultures where women take their new husband’s name on marriage) */
+ I18N::translate('maiden name');
+ case 'married':
+ switch ($sex) {
+ case 'M':
+ /* I18N: A name taken on marriage - usually the wife takes the husband’s surname */
+ return I18N::translateContext('MALE', 'married name');
+ case 'F':
+ /* I18N: A name taken on marriage - usually the wife takes the husband’s surname */
+ return I18N::translateContext('FEMALE', 'married name');
+ default:
+ /* I18N: A name taken on marriage - usually the wife takes the husband’s surname */
+ return I18N::translate('married name');
+ }
+ case 'religious':
+ switch ($sex) {
+ case 'M':
+ /* I18N: A name taken when entering a religion or a religious order */
+ return I18N::translateContext('MALE', 'religious name');
+ case 'F':
+ /* I18N: A name taken when entering a religion or a religious order */
+ return I18N::translateContext('FEMALE', 'religious name');
+ default:
+ /* I18N: A name taken when entering a religion or a religious order */
+ return I18N::translate('religious name');
+ }
default:
- /* I18N: The name given to a child by its adoptive parents */
- return I18N::translate('adopted name');
- }
- case 'aka':
- switch ($sex) {
- case 'M':
- /* I18N: The name by which an individual is also known. e.g. a professional name or a stage name */
- return I18N::translateContext('MALE', 'also known as');
- case 'F':
- /* I18N: The name by which an individual is also known. e.g. a professional name or a stage name */
- return I18N::translateContext('FEMALE', 'also known as');
- default:
- /* I18N: The name by which an individual is also known. e.g. a professional name or a stage name */
- return I18N::translate('also known as');
- }
- case 'birth':
- switch ($sex) {
- case 'M':
- /* I18N: The name given to an individual at their birth */
- return I18N::translateContext('MALE', 'birth name');
- case 'F':
- /* I18N: The name given to an individual at their birth */
- return I18N::translateContext('FEMALE', 'birth name');
- default:
- /* I18N: The name given to an individual at their birth */
- return I18N::translate('birth name');
- }
- case 'change':
- switch ($sex) {
- case 'M':
- /* I18N: A name chosen by an individual, to replace their existing name (whether legal or otherwise) */
- return I18N::translateContext('MALE', 'change of name');
- case 'F':
- /* I18N: A name chosen by an individual, to replace their existing name (whether legal or otherwise) */
- return I18N::translateContext('FEMALE', 'change of name');
- default:
- /* I18N: A name chosen by an individual, to replace their existing name (whether legal or otherwise) */
- return I18N::translate('change of name');
- }
- case 'estate':
- switch ($sex) {
- case 'M':
- /* I18N: A name given to an individual, from the farm or estate on which they lived or worked */
- return I18N::translateContext('MALE', 'estate name');
- case 'F':
- /* I18N: A name given to an individual, from the farm or estate on which they lived or worked */
- return I18N::translateContext('FEMALE', 'estate name');
- default:
- /* I18N: A name given to an individual, from the farm or estate on which they lived or worked */
- return I18N::translate('estate name');
- }
- case 'immigrant':
- switch ($sex) {
- case 'M':
- /* I18N: A name taken on immigration - e.g. migrants to the USA frequently anglicized their names */
- return I18N::translateContext('MALE', 'immigration name');
- case 'F':
- /* I18N: A name taken on immigration - e.g. migrants to the USA frequently anglicized their names */
- return I18N::translateContext('FEMALE', 'immigration name');
- default:
- /* I18N: A name taken on immigration - e.g. migrants to the USA frequently anglicized their names */
- return I18N::translate('immigration name');
- }
- case 'maiden':
- // Only women have “maiden” names!
- return
- /* I18N: A woman’s name, before she marries (in cultures where women take their new husband’s name on marriage) */
- I18N::translate('maiden name');
- case 'married':
- switch ($sex) {
- case 'M':
- /* I18N: A name taken on marriage - usually the wife takes the husband’s surname */
- return I18N::translateContext('MALE', 'married name');
- case 'F':
- /* I18N: A name taken on marriage - usually the wife takes the husband’s surname */
- return I18N::translateContext('FEMALE', 'married name');
- default:
- /* I18N: A name taken on marriage - usually the wife takes the husband’s surname */
- return I18N::translate('married name');
- }
- case 'religious':
- switch ($sex) {
- case 'M':
- /* I18N: A name taken when entering a religion or a religious order */
- return I18N::translateContext('MALE', 'religious name');
- case 'F':
- /* I18N: A name taken when entering a religion or a religious order */
- return I18N::translateContext('FEMALE', 'religious name');
- default:
- /* I18N: A name taken when entering a religion or a religious order */
- return I18N::translate('religious name');
- }
- default:
- return $type;
+ return $type;
}
}
diff --git a/app/GedcomCode/GedcomCodePedi.php b/app/GedcomCode/GedcomCodePedi.php
index 8f28e5d03b..0b2e10ec2e 100644
--- a/app/GedcomCode/GedcomCodePedi.php
+++ b/app/GedcomCode/GedcomCodePedi.php
@@ -42,57 +42,57 @@ class GedcomCodePedi {
}
switch ($type) {
- case 'birth':
- switch ($sex) {
- case 'M':
- return I18N::translateContext('Male pedigree', 'Birth');
- case 'F':
- return I18N::translateContext('Female pedigree', 'Birth');
- default:
- return I18N::translateContext('Pedigree', 'Birth');
- }
- case 'adopted':
- switch ($sex) {
- case 'M':
- return I18N::translateContext('Male pedigree', 'Adopted');
- case 'F':
- return I18N::translateContext('Female pedigree', 'Adopted');
- default:
- return I18N::translateContext('Pedigree', 'Adopted');
- }
- case 'foster':
- switch ($sex) {
- case 'M':
- return I18N::translateContext('Male pedigree', 'Foster');
- case 'F':
- return I18N::translateContext('Female pedigree', 'Foster');
- default:
- return I18N::translateContext('Pedigree', 'Foster');
- }
- case 'sealing':
- switch ($sex) {
- case 'M':
+ case 'birth':
+ switch ($sex) {
+ case 'M':
+ return I18N::translateContext('Male pedigree', 'Birth');
+ case 'F':
+ return I18N::translateContext('Female pedigree', 'Birth');
+ default:
+ return I18N::translateContext('Pedigree', 'Birth');
+ }
+ case 'adopted':
+ switch ($sex) {
+ case 'M':
+ return I18N::translateContext('Male pedigree', 'Adopted');
+ case 'F':
+ return I18N::translateContext('Female pedigree', 'Adopted');
+ default:
+ return I18N::translateContext('Pedigree', 'Adopted');
+ }
+ case 'foster':
+ switch ($sex) {
+ case 'M':
+ return I18N::translateContext('Male pedigree', 'Foster');
+ case 'F':
+ return I18N::translateContext('Female pedigree', 'Foster');
+ default:
+ return I18N::translateContext('Pedigree', 'Foster');
+ }
+ case 'sealing':
+ switch ($sex) {
+ case 'M':
+ return
+ /* I18N: “sealing” is a ceremony in the Mormon church. */
+ I18N::translateContext('Male pedigree', 'Sealing');
+ case 'F':
+ return
+ /* I18N: “sealing” is a ceremony in the Mormon church. */
+ I18N::translateContext('Female pedigree', 'Sealing');
+ default:
+ return
+ /* I18N: “sealing” is a ceremony in the Mormon church. */
+ I18N::translateContext('Pedigree', 'Sealing');
+ }
+ case 'rada':
+ // Not standard GEDCOM - a webtrees extension
+ // This is an arabic word which does not exist in other languages.
+ // So, it will not have any inflected forms.
return
- /* I18N: “sealing” is a ceremony in the Mormon church. */
- I18N::translateContext('Male pedigree', 'Sealing');
- case 'F':
- return
- /* I18N: “sealing” is a ceremony in the Mormon church. */
- I18N::translateContext('Female pedigree', 'Sealing');
+ /* I18N: This is an Arabic word, pronounced “ra DAH”. It is child-to-parent pedigree, established by wet-nursing. */
+ I18N::translate('Rada');
default:
- return
- /* I18N: “sealing” is a ceremony in the Mormon church. */
- I18N::translateContext('Pedigree', 'Sealing');
- }
- case 'rada':
- // Not standard GEDCOM - a webtrees extension
- // This is an arabic word which does not exist in other languages.
- // So, it will not have any inflected forms.
- return
- /* I18N: This is an Arabic word, pronounced “ra DAH”. It is child-to-parent pedigree, established by wet-nursing. */
- I18N::translate('Rada');
- default:
- return $type;
+ return $type;
}
}
@@ -122,23 +122,23 @@ class GedcomCodePedi {
*/
public static function getChildFamilyLabel($pedi) {
switch ($pedi) {
- case '':
- case 'birth':
- return I18N::translate('Family with parents');
- case 'adopted':
- return I18N::translate('Family with adoptive parents');
- case 'foster':
- return I18N::translate('Family with foster parents');
- case 'sealing':
- return
- /* I18N: “sealing” is a Mormon ceremony. */
- I18N::translate('Family with sealing parents');
- case 'rada':
- return
- /* I18N: “rada” is an Arabic word, pronounced “ra DAH”. It is child-to-parent pedigree, established by wet-nursing. */
- I18N::translate('Family with rada parents');
- default:
- return I18N::translate('Family with parents') . ' - ' . $pedi;
+ case '':
+ case 'birth':
+ return I18N::translate('Family with parents');
+ case 'adopted':
+ return I18N::translate('Family with adoptive parents');
+ case 'foster':
+ return I18N::translate('Family with foster parents');
+ case 'sealing':
+ return
+ /* I18N: “sealing” is a Mormon ceremony. */
+ I18N::translate('Family with sealing parents');
+ case 'rada':
+ return
+ /* I18N: “rada” is an Arabic word, pronounced “ra DAH”. It is child-to-parent pedigree, established by wet-nursing. */
+ I18N::translate('Family with rada parents');
+ default:
+ return I18N::translate('Family with parents') . ' - ' . $pedi;
}
}
@@ -152,16 +152,16 @@ class GedcomCodePedi {
*/
public static function createNewFamcPedi($pedi, $xref) {
switch ($pedi) {
- case '':
- return "1 FAMC @$xref@";
- case 'adopted':
- return "1 FAMC @$xref@\n2 PEDI $pedi\n1 ADOP\n2 FAMC @$xref@\n3 ADOP BOTH";
- case 'sealing':
- return "1 FAMC @$xref@\n2 PEDI $pedi\n1 SLGC\n2 FAMC @$xref@";
- case 'foster':
- return "1 FAMC @$xref@\n2 PEDI $pedi\n1 EVEN\n2 TYPE $pedi";
- default:
- return "1 FAMC @$xref@\n2 PEDI $pedi";
+ case '':
+ return "1 FAMC @$xref@";
+ case 'adopted':
+ return "1 FAMC @$xref@\n2 PEDI $pedi\n1 ADOP\n2 FAMC @$xref@\n3 ADOP BOTH";
+ case 'sealing':
+ return "1 FAMC @$xref@\n2 PEDI $pedi\n1 SLGC\n2 FAMC @$xref@";
+ case 'foster':
+ return "1 FAMC @$xref@\n2 PEDI $pedi\n1 EVEN\n2 TYPE $pedi";
+ default:
+ return "1 FAMC @$xref@\n2 PEDI $pedi";
}
}
}
diff --git a/app/GedcomCode/GedcomCodeQuay.php b/app/GedcomCode/GedcomCodeQuay.php
index c1439a78ca..f62382a4cc 100644
--- a/app/GedcomCode/GedcomCodeQuay.php
+++ b/app/GedcomCode/GedcomCodeQuay.php
@@ -33,24 +33,24 @@ class GedcomCodeQuay {
*/
public static function getValue($type) {
switch ($type) {
- case '3':
- return
- /* I18N: Quality of source information - GEDCOM tag “QUAY 3” */
- I18N::translate('primary evidence');
- case '2':
- return
- /* I18N: Quality of source information - GEDCOM tag “QUAY 2” */
- I18N::translate('secondary evidence');
- case '1':
- return
- /* I18N: Quality of source information - GEDCOM tag “QUAY 1” */
- I18N::translate('questionable evidence');
- case '0':
- return
- /* I18N: Quality of source information - GEDCOM tag “QUAY 0” */
- I18N::translate('unreliable evidence');
- default:
- return $type;
+ case '3':
+ return
+ /* I18N: Quality of source information - GEDCOM tag “QUAY 3” */
+ I18N::translate('primary evidence');
+ case '2':
+ return
+ /* I18N: Quality of source information - GEDCOM tag “QUAY 2” */
+ I18N::translate('secondary evidence');
+ case '1':
+ return
+ /* I18N: Quality of source information - GEDCOM tag “QUAY 1” */
+ I18N::translate('questionable evidence');
+ case '0':
+ return
+ /* I18N: Quality of source information - GEDCOM tag “QUAY 0” */
+ I18N::translate('unreliable evidence');
+ default:
+ return $type;
}
}
diff --git a/app/GedcomCode/GedcomCodeStat.php b/app/GedcomCode/GedcomCodeStat.php
index d4e6cbdddb..8608907624 100644
--- a/app/GedcomCode/GedcomCodeStat.php
+++ b/app/GedcomCode/GedcomCodeStat.php
@@ -30,21 +30,21 @@ class GedcomCodeStat {
*/
public static function statusCodes($tag) {
switch ($tag) {
- case 'BAPL':
- case 'CONL':
- // LDS_BAPTISM_DATE_STATUS
- return ['CHILD', 'COMPLETED', 'EXCLUDED', 'INFANT', 'PRE-1970', 'STILLBORN', 'SUBMITTED', 'UNCLEARED'];
- case 'ENDL':
- // LDS_ENDOWMENT_DATE_STATUS
- return ['CHILD', 'COMPLETED', 'EXCLUDED', 'INFANT', 'PRE-1970', 'STILLBORN', 'SUBMITTED', 'UNCLEARED'];
- case 'SLGC':
- // LDS_CHILD_SEALING_DATE_STATUS
- return ['BIC', 'COMPLETED', 'EXCLUDED', 'PRE-1970', 'STILLBORN', 'SUBMITTED', 'UNCLEARED'];
- case 'SLGS':
- // LDS_SPOUSE_SEALING_DATE_STATUS
- return ['CANCELED', 'COMPLETED', 'DNS', 'DNS/CAN', 'EXCLUDED', 'PRE-1970', 'SUBMITTED', 'UNCLEARED'];
- default:
- throw new \InvalidArgumentException('Internal error - bad argument to GedcomCodeStat::statusCodes("' . $tag . '")');
+ case 'BAPL':
+ case 'CONL':
+ // LDS_BAPTISM_DATE_STATUS
+ return ['CHILD', 'COMPLETED', 'EXCLUDED', 'INFANT', 'PRE-1970', 'STILLBORN', 'SUBMITTED', 'UNCLEARED'];
+ case 'ENDL':
+ // LDS_ENDOWMENT_DATE_STATUS
+ return ['CHILD', 'COMPLETED', 'EXCLUDED', 'INFANT', 'PRE-1970', 'STILLBORN', 'SUBMITTED', 'UNCLEARED'];
+ case 'SLGC':
+ // LDS_CHILD_SEALING_DATE_STATUS
+ return ['BIC', 'COMPLETED', 'EXCLUDED', 'PRE-1970', 'STILLBORN', 'SUBMITTED', 'UNCLEARED'];
+ case 'SLGS':
+ // LDS_SPOUSE_SEALING_DATE_STATUS
+ return ['CANCELED', 'COMPLETED', 'DNS', 'DNS/CAN', 'EXCLUDED', 'PRE-1970', 'SUBMITTED', 'UNCLEARED'];
+ default:
+ throw new \InvalidArgumentException('Internal error - bad argument to GedcomCodeStat::statusCodes("' . $tag . '")');
}
}
@@ -57,61 +57,61 @@ class GedcomCodeStat {
*/
public static function statusName($status_code) {
switch ($status_code) {
- case 'BIC':
- return
- /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
- I18N::translate('Born in the covenant');
- case 'CANCELED':
- return
- /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
- I18N::translate('Sealing canceled (divorce)');
- case 'CHILD':
- return
- /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
- I18N::translate('Died as a child: exempt');
- case 'CLEARED':
- // This status appears in PhpGedView, but not in the GEDCOM 5.5.1 specification.
- return
- /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
- I18N::translate('Cleared but not yet completed');
- case 'COMPLETED':
- return
- /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
- I18N::translate('Completed; date unknown');
- case 'DNS':
- return
- /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
- I18N::translate('Do not seal: unauthorized');
- case 'DNS/CAN':
- return
- /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
- I18N::translate('Do not seal, previous sealing canceled');
- case 'EXCLUDED':
- return
- /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
- I18N::translate('Excluded from this submission');
- case 'INFANT':
- return
- /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
- I18N::translate('Died as an infant: exempt');
- case 'PRE-1970':
- return
- /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
- I18N::translate('Completed before 1970; date not available');
- case 'STILLBORN':
- return
- /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
- I18N::translate('Stillborn: exempt');
- case 'SUBMITTED':
- return
- /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
- I18N::translate('Submitted but not yet cleared');
- case 'UNCLEARED':
- return
- /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
- I18N::translate('Uncleared: insufficient data');
- default:
- return $status_code;
+ case 'BIC':
+ return
+ /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
+ I18N::translate('Born in the covenant');
+ case 'CANCELED':
+ return
+ /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
+ I18N::translate('Sealing canceled (divorce)');
+ case 'CHILD':
+ return
+ /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
+ I18N::translate('Died as a child: exempt');
+ case 'CLEARED':
+ // This status appears in PhpGedView, but not in the GEDCOM 5.5.1 specification.
+ return
+ /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
+ I18N::translate('Cleared but not yet completed');
+ case 'COMPLETED':
+ return
+ /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
+ I18N::translate('Completed; date unknown');
+ case 'DNS':
+ return
+ /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
+ I18N::translate('Do not seal: unauthorized');
+ case 'DNS/CAN':
+ return
+ /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
+ I18N::translate('Do not seal, previous sealing canceled');
+ case 'EXCLUDED':
+ return
+ /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
+ I18N::translate('Excluded from this submission');
+ case 'INFANT':
+ return
+ /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
+ I18N::translate('Died as an infant: exempt');
+ case 'PRE-1970':
+ return
+ /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
+ I18N::translate('Completed before 1970; date not available');
+ case 'STILLBORN':
+ return
+ /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
+ I18N::translate('Stillborn: exempt');
+ case 'SUBMITTED':
+ return
+ /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
+ I18N::translate('Submitted but not yet cleared');
+ case 'UNCLEARED':
+ return
+ /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
+ I18N::translate('Uncleared: insufficient data');
+ default:
+ return $status_code;
}
}
diff --git a/app/GedcomCode/GedcomCodeTemp.php b/app/GedcomCode/GedcomCodeTemp.php
index abb051722e..75aaa00598 100644
--- a/app/GedcomCode/GedcomCodeTemp.php
+++ b/app/GedcomCode/GedcomCodeTemp.php
@@ -77,318 +77,318 @@ class GedcomCodeTemp {
*/
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;
+ 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;
}
}