From 8a4c7b498f7c31faf58025ff5ba0c4c28bccecc2 Mon Sep 17 00:00:00 2001 From: Hanne Moa <hanne.moa@uninett.no> Date: Wed, 9 Mar 2016 10:53:44 +0100 Subject: [PATCH] Corrected langcode for Southern Sami --- lib/SimpleSAML/Locale/Language.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/SimpleSAML/Locale/Language.php b/lib/SimpleSAML/Locale/Language.php index b0ea40120..ded7eeb7c 100644 --- a/lib/SimpleSAML/Locale/Language.php +++ b/lib/SimpleSAML/Locale/Language.php @@ -70,7 +70,10 @@ class Language private $customFunction; /** - * A list of languages supported with their names localized, indexed by ISO 639-2 code. + * A list of languages supported with their names localized. + * Indexed by something that mostly resembles ISO 639-1 code, + * with some charming SimpleSAML-specific variants... + * that must remain before 2.0 due to backwards compatibility * * @var array */ @@ -78,7 +81,7 @@ class Language 'no' => 'Bokmål', // Norwegian Bokmål 'nn' => 'Nynorsk', // Norwegian Nynorsk 'se' => 'Sámegiella', // Northern Sami - 'sam' => 'Åarjelh-saemien giele', // Southern Sami + 'sma' => 'Åarjelh-saemien giele', // Southern Sami 'da' => 'Dansk', // Danish 'en' => 'English', 'de' => 'Deutsch', // German -- GitLab