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 @@ + + +
+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 @@ = __("Greek"); ?> = __("Italian"); ?> = __("Polish"); ?> + = __("Portuguese"); ?> = __("Russian"); ?> = __("Spanish"); ?> = __("Swedish"); ?> 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 @@ + + + +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; = __("Greek"); ?> = __("Italian"); ?> = __("Polish"); ?> + = __("Portuguese"); ?> = __("Russian"); ?> = __("Spanish"); ?> = __("Swedish"); ?>