From fe015a2e0c1cf2db484d90119f92a803367cefa6 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Mon, 22 Jul 2024 20:22:18 +0200 Subject: [PATCH] preparing portuguese --- application/config/gettext.php | 10 ++++++++++ application/locale/pt_PT/LC_MESSAGES/index.html | 11 +++++++++++ application/views/debug/index.php | 1 + install/includes/gettext/gettext_conf.php | 10 ++++++++++ .../gettext/locale/pt_PT/LC_MESSAGES/index.html | 11 +++++++++++ install/index.php | 1 + 6 files changed, 44 insertions(+) create mode 100644 application/locale/pt_PT/LC_MESSAGES/index.html create mode 100644 install/includes/gettext/locale/pt_PT/LC_MESSAGES/index.html diff --git a/application/config/gettext.php b/application/config/gettext.php index 95d1c93e3..120742dec 100644 --- a/application/config/gettext.php +++ b/application/config/gettext.php @@ -171,6 +171,16 @@ $config['languages'] = array( 'code' => 'pl', 'flag' => 'pl', ), + 'portuguese' => array( + 'name' => 'Português', + 'name_en' => 'Portuguese', + 'folder' => 'portuguese', + 'locale' => 'pt-PT', + 'gettext' => 'pt_PT', + 'direction' => 'ltr', + 'code' => 'pt', + 'flag' => 'pt', + ), 'russian' => array( 'name' => 'Русский', 'name_en' => 'Russian', diff --git a/application/locale/pt_PT/LC_MESSAGES/index.html b/application/locale/pt_PT/LC_MESSAGES/index.html new file mode 100644 index 000000000..67f2d8864 --- /dev/null +++ b/application/locale/pt_PT/LC_MESSAGES/index.html @@ -0,0 +1,11 @@ + + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + diff --git a/application/views/debug/index.php b/application/views/debug/index.php index cd76380f7..ebb91eabb 100644 --- a/application/views/debug/index.php +++ b/application/views/debug/index.php @@ -626,6 +626,7 @@ + diff --git a/install/includes/gettext/gettext_conf.php b/install/includes/gettext/gettext_conf.php index 88e5302bd..06da946a0 100644 --- a/install/includes/gettext/gettext_conf.php +++ b/install/includes/gettext/gettext_conf.php @@ -128,6 +128,16 @@ $gt_conf['languages'] = array( 'code' => 'pl', 'flag' => 'pl', ), + 'portuguese' => array( + 'name' => 'Português', + 'name_en' => 'Portuguese', + 'folder' => 'portuguese', + 'locale' => 'pt-PT', + 'gettext' => 'pt_PT', + 'direction' => 'ltr', + 'code' => 'pt', + 'flag' => 'pt', + ), 'russian' => array( 'name' => 'Русский', 'name_en' => 'Russian', diff --git a/install/includes/gettext/locale/pt_PT/LC_MESSAGES/index.html b/install/includes/gettext/locale/pt_PT/LC_MESSAGES/index.html new file mode 100644 index 000000000..67f2d8864 --- /dev/null +++ b/install/includes/gettext/locale/pt_PT/LC_MESSAGES/index.html @@ -0,0 +1,11 @@ + + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + diff --git a/install/index.php b/install/index.php index efd641b30..82fdf0e7d 100644 --- a/install/index.php +++ b/install/index.php @@ -1572,6 +1572,7 @@ global $wavelog_url; +