aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install/db/127-database.php48
-rw-r--r--install/upgrade_2.3.0.php2
-rw-r--r--language/nb_NO/about.html (renamed from language/no_NO/about.html)0
-rw-r--r--language/nb_NO/admin.lang.php (renamed from language/no_NO/admin.lang.php)0
-rw-r--r--language/nb_NO/common.lang.php (renamed from language/no_NO/common.lang.php)0
-rw-r--r--language/nb_NO/help/cat_modify.html (renamed from language/no_NO/help/cat_modify.html)0
-rw-r--r--language/nb_NO/help/cat_move.html (renamed from language/no_NO/help/cat_move.html)0
-rw-r--r--language/nb_NO/help/cat_options.html (renamed from language/no_NO/help/cat_options.html)0
-rw-r--r--language/nb_NO/help/cat_perm.html (renamed from language/no_NO/help/cat_perm.html)0
-rw-r--r--language/nb_NO/help/configuration.html (renamed from language/no_NO/help/configuration.html)0
-rw-r--r--language/nb_NO/help/extend_for_templates.html (renamed from language/no_NO/help/extend_for_templates.html)0
-rw-r--r--language/nb_NO/help/group_list.html (renamed from language/no_NO/help/group_list.html)0
-rw-r--r--language/nb_NO/help/help_add_photos.html (renamed from language/no_NO/help/help_add_photos.html)0
-rw-r--r--language/nb_NO/help/help_groups.html (renamed from language/no_NO/help/help_groups.html)0
-rw-r--r--language/nb_NO/help/help_misc.html (renamed from language/no_NO/help/help_misc.html)0
-rw-r--r--language/nb_NO/help/help_permissions.html (renamed from language/no_NO/help/help_permissions.html)0
-rw-r--r--language/nb_NO/help/help_virtual_links.html (renamed from language/no_NO/help/help_virtual_links.html)0
-rw-r--r--language/nb_NO/help/history.html (renamed from language/no_NO/help/history.html)0
-rw-r--r--language/nb_NO/help/maintenance.html (renamed from language/no_NO/help/maintenance.html)0
-rw-r--r--language/nb_NO/help/notification_by_mail.html (renamed from language/no_NO/help/notification_by_mail.html)0
-rw-r--r--language/nb_NO/help/permalinks.html (renamed from language/no_NO/help/permalinks.html)0
-rw-r--r--language/nb_NO/help/photos_add_ftp.html (renamed from language/no_NO/help/photos_add_ftp.html)0
-rw-r--r--language/nb_NO/help/search.html (renamed from language/no_NO/help/search.html)0
-rw-r--r--language/nb_NO/help/synchronize.html (renamed from language/no_NO/help/synchronize.html)0
-rw-r--r--language/nb_NO/help/user_list.html (renamed from language/no_NO/help/user_list.html)0
-rw-r--r--language/nb_NO/index.php (renamed from language/no_NO/index.php)0
-rw-r--r--language/nb_NO/install.lang.php (renamed from language/no_NO/install.lang.php)0
-rw-r--r--language/nb_NO/iso.txt1
-rw-r--r--language/nb_NO/nb_NO.jpg (renamed from language/no_NO/no_NO.jpg)bin1276 -> 1276 bytes
-rw-r--r--language/nb_NO/upgrade.lang.php (renamed from language/no_NO/upgrade.lang.php)0
-rw-r--r--language/no_NO/iso.txt1
31 files changed, 50 insertions, 2 deletions
diff --git a/install/db/127-database.php b/install/db/127-database.php
new file mode 100644
index 000000000..0d0988f8e
--- /dev/null
+++ b/install/db/127-database.php
@@ -0,0 +1,48 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2012 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | 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 |
+// | |
+// | 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, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+
+if (!defined('PHPWG_ROOT_PATH'))
+{
+ die('Hacking attempt!');
+}
+
+$upgrade_description = 'rename language no_NO into nb_NO';
+
+include_once(PHPWG_ROOT_PATH.'include/constants.php');
+
+$query = '
+UPDATE '.USER_INFOS_TABLE.'
+ SET language = \'nb_NO\'
+ WHERE language = \'no_NO\'
+;';
+pwg_query($query);
+
+$query = '
+UPDATE '.LANGUAGES_TABLE.'
+ SET id = \'nb_NO\'
+ WHERE id = \'no_NO\'
+;';
+pwg_query($query);
+
+echo "\n".$upgrade_description."\n";
+?> \ No newline at end of file
diff --git a/install/upgrade_2.3.0.php b/install/upgrade_2.3.0.php
index b33d0fb6a..c1aa07df7 100644
--- a/install/upgrade_2.3.0.php
+++ b/install/upgrade_2.3.0.php
@@ -83,7 +83,7 @@ if (!empty($inserts))
ob_start();
echo '<pre>';
-for ($upgrade_id = 112; $upgrade_id <= 126; $upgrade_id++)
+for ($upgrade_id = 112; $upgrade_id <= 127; $upgrade_id++)
{
if (!file_exists(UPGRADES_PATH.'/'.$upgrade_id.'-database.php'))
{
diff --git a/language/no_NO/about.html b/language/nb_NO/about.html
index 48318ede3..48318ede3 100644
--- a/language/no_NO/about.html
+++ b/language/nb_NO/about.html
diff --git a/language/no_NO/admin.lang.php b/language/nb_NO/admin.lang.php
index f60c72c26..f60c72c26 100644
--- a/language/no_NO/admin.lang.php
+++ b/language/nb_NO/admin.lang.php
diff --git a/language/no_NO/common.lang.php b/language/nb_NO/common.lang.php
index d44334c34..d44334c34 100644
--- a/language/no_NO/common.lang.php
+++ b/language/nb_NO/common.lang.php
diff --git a/language/no_NO/help/cat_modify.html b/language/nb_NO/help/cat_modify.html
index 9872ab448..9872ab448 100644
--- a/language/no_NO/help/cat_modify.html
+++ b/language/nb_NO/help/cat_modify.html
diff --git a/language/no_NO/help/cat_move.html b/language/nb_NO/help/cat_move.html
index 7f559848f..7f559848f 100644
--- a/language/no_NO/help/cat_move.html
+++ b/language/nb_NO/help/cat_move.html
diff --git a/language/no_NO/help/cat_options.html b/language/nb_NO/help/cat_options.html
index ae7d77e0e..ae7d77e0e 100644
--- a/language/no_NO/help/cat_options.html
+++ b/language/nb_NO/help/cat_options.html
diff --git a/language/no_NO/help/cat_perm.html b/language/nb_NO/help/cat_perm.html
index 4c15d6418..4c15d6418 100644
--- a/language/no_NO/help/cat_perm.html
+++ b/language/nb_NO/help/cat_perm.html
diff --git a/language/no_NO/help/configuration.html b/language/nb_NO/help/configuration.html
index 9c9b2a9fd..9c9b2a9fd 100644
--- a/language/no_NO/help/configuration.html
+++ b/language/nb_NO/help/configuration.html
diff --git a/language/no_NO/help/extend_for_templates.html b/language/nb_NO/help/extend_for_templates.html
index f9bd67dd0..f9bd67dd0 100644
--- a/language/no_NO/help/extend_for_templates.html
+++ b/language/nb_NO/help/extend_for_templates.html
diff --git a/language/no_NO/help/group_list.html b/language/nb_NO/help/group_list.html
index d858e4dbd..d858e4dbd 100644
--- a/language/no_NO/help/group_list.html
+++ b/language/nb_NO/help/group_list.html
diff --git a/language/no_NO/help/help_add_photos.html b/language/nb_NO/help/help_add_photos.html
index e07d7d13c..e07d7d13c 100644
--- a/language/no_NO/help/help_add_photos.html
+++ b/language/nb_NO/help/help_add_photos.html
diff --git a/language/no_NO/help/help_groups.html b/language/nb_NO/help/help_groups.html
index f56ade813..f56ade813 100644
--- a/language/no_NO/help/help_groups.html
+++ b/language/nb_NO/help/help_groups.html
diff --git a/language/no_NO/help/help_misc.html b/language/nb_NO/help/help_misc.html
index 254f1b969..254f1b969 100644
--- a/language/no_NO/help/help_misc.html
+++ b/language/nb_NO/help/help_misc.html
diff --git a/language/no_NO/help/help_permissions.html b/language/nb_NO/help/help_permissions.html
index 990464146..990464146 100644
--- a/language/no_NO/help/help_permissions.html
+++ b/language/nb_NO/help/help_permissions.html
diff --git a/language/no_NO/help/help_virtual_links.html b/language/nb_NO/help/help_virtual_links.html
index 8540d68f5..8540d68f5 100644
--- a/language/no_NO/help/help_virtual_links.html
+++ b/language/nb_NO/help/help_virtual_links.html
diff --git a/language/no_NO/help/history.html b/language/nb_NO/help/history.html
index 986d0640e..986d0640e 100644
--- a/language/no_NO/help/history.html
+++ b/language/nb_NO/help/history.html
diff --git a/language/no_NO/help/maintenance.html b/language/nb_NO/help/maintenance.html
index 79aca6844..79aca6844 100644
--- a/language/no_NO/help/maintenance.html
+++ b/language/nb_NO/help/maintenance.html
diff --git a/language/no_NO/help/notification_by_mail.html b/language/nb_NO/help/notification_by_mail.html
index dbf396399..dbf396399 100644
--- a/language/no_NO/help/notification_by_mail.html
+++ b/language/nb_NO/help/notification_by_mail.html
diff --git a/language/no_NO/help/permalinks.html b/language/nb_NO/help/permalinks.html
index 15448373f..15448373f 100644
--- a/language/no_NO/help/permalinks.html
+++ b/language/nb_NO/help/permalinks.html
diff --git a/language/no_NO/help/photos_add_ftp.html b/language/nb_NO/help/photos_add_ftp.html
index 50028f072..50028f072 100644
--- a/language/no_NO/help/photos_add_ftp.html
+++ b/language/nb_NO/help/photos_add_ftp.html
diff --git a/language/no_NO/help/search.html b/language/nb_NO/help/search.html
index e5da82e19..e5da82e19 100644
--- a/language/no_NO/help/search.html
+++ b/language/nb_NO/help/search.html
diff --git a/language/no_NO/help/synchronize.html b/language/nb_NO/help/synchronize.html
index 780d09e03..780d09e03 100644
--- a/language/no_NO/help/synchronize.html
+++ b/language/nb_NO/help/synchronize.html
diff --git a/language/no_NO/help/user_list.html b/language/nb_NO/help/user_list.html
index c38587f2b..c38587f2b 100644
--- a/language/no_NO/help/user_list.html
+++ b/language/nb_NO/help/user_list.html
diff --git a/language/no_NO/index.php b/language/nb_NO/index.php
index 0e75275a1..0e75275a1 100644
--- a/language/no_NO/index.php
+++ b/language/nb_NO/index.php
diff --git a/language/no_NO/install.lang.php b/language/nb_NO/install.lang.php
index f2644f96e..f2644f96e 100644
--- a/language/no_NO/install.lang.php
+++ b/language/nb_NO/install.lang.php
diff --git a/language/nb_NO/iso.txt b/language/nb_NO/iso.txt
new file mode 100644
index 000000000..42ebfd000
--- /dev/null
+++ b/language/nb_NO/iso.txt
@@ -0,0 +1 @@
+Norwegian [NB]
diff --git a/language/no_NO/no_NO.jpg b/language/nb_NO/nb_NO.jpg
index 68a8c096e..68a8c096e 100644
--- a/language/no_NO/no_NO.jpg
+++ b/language/nb_NO/nb_NO.jpg
Binary files differ
diff --git a/language/no_NO/upgrade.lang.php b/language/nb_NO/upgrade.lang.php
index b393667d8..b393667d8 100644
--- a/language/no_NO/upgrade.lang.php
+++ b/language/nb_NO/upgrade.lang.php
diff --git a/language/no_NO/iso.txt b/language/no_NO/iso.txt
deleted file mode 100644
index bfb46e31e..000000000
--- a/language/no_NO/iso.txt
+++ /dev/null
@@ -1 +0,0 @@
-Norwegian [NO] \ No newline at end of file