From 380e0af8c041b1b1919f4b7fb2d8b6a03ff35c75 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 15 Oct 2010 03:26:11 +0000 Subject: [PATCH] MINOR Changed "no_NO" locale for Norwegian into the more commonly used "nb_NO" in i18n class, meaning translations from translate.silverstripe.com can actually be selected now (fixes #5746) (from r107394) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112574 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/i18n.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/i18n.php b/core/i18n.php index 9b9824807..a0e00537b 100755 --- a/core/i18n.php +++ b/core/i18n.php @@ -469,7 +469,7 @@ class i18n extends Object { 'nl_NL' => 'Dutch (Netherlands)', 'nl_SR' => 'Dutch (Suriname)', 'nn_NO' => 'Norwegian Nynorsk (Norway)', - 'no_NO' => 'Norwegian', + 'nb_NO' => 'Norwegian', 'nod_TH' => 'Thai, Northern (Thailand)', 'noe_IN' => 'Nimadi (India)', 'nso_ZA' => 'Northern Sotho (South Africa)', @@ -772,7 +772,7 @@ class i18n extends Object { 'mt_MT' => array('Maltese', 'Malti'), 'mr_IN' => array('Marathi', 'मराठी'), 'ne_NP' => array('Nepali', 'नेपाली'), - 'no_NO' => array('Norwegian', 'Norsk'), + 'nb_NO' => array('Norwegian', 'Norsk'), 'om_ET' => array('Oromo', 'Afaan Oromo'), 'fa_IR' => array('Persian', 'فارسى'), 'pl_PL' => array('Polish', 'polski'),