From fb9777c700862b70ea0beedca6467e74f2d92882 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Thu, 31 Jul 2025 18:22:39 +0200 Subject: [PATCH] Added japanese --- application/config/gettext.php | 10 ++++++++++ application/locale/ja/LC_MESSAGES/index.html | 11 +++++++++++ application/views/debug/index.php | 1 + install/includes/gettext/gettext_conf.php | 10 ++++++++++ .../includes/gettext/locale/ja/LC_MESSAGES/index.html | 11 +++++++++++ install/includes/interface_assets/footer.php | 1 + 6 files changed, 44 insertions(+) create mode 100644 application/locale/ja/LC_MESSAGES/index.html create mode 100644 install/includes/gettext/locale/ja/LC_MESSAGES/index.html diff --git a/application/config/gettext.php b/application/config/gettext.php index 279906a37..2d2b37c04 100644 --- a/application/config/gettext.php +++ b/application/config/gettext.php @@ -221,6 +221,16 @@ $config['languages'] = array( 'code' => 'it', 'flag' => 'it', ), + 'japanese' => array( + 'name' => '日本語', + 'name_en' => 'Japanese', + 'folder' => 'japanese', + 'locale' => 'ja', + 'gettext' => 'ja', + 'direction' => 'ltr', + 'code' => 'ja', + 'flag' => 'jp', + ), 'latvian' => array( 'name' => 'Latviešu', 'name_en' => 'Latvian', diff --git a/application/locale/ja/LC_MESSAGES/index.html b/application/locale/ja/LC_MESSAGES/index.html new file mode 100644 index 000000000..67f2d8864 --- /dev/null +++ b/application/locale/ja/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 7160e9761..a2b3ba36b 100644 --- a/application/views/debug/index.php +++ b/application/views/debug/index.php @@ -681,6 +681,7 @@ + diff --git a/install/includes/gettext/gettext_conf.php b/install/includes/gettext/gettext_conf.php index ce565a1b9..58fad7188 100644 --- a/install/includes/gettext/gettext_conf.php +++ b/install/includes/gettext/gettext_conf.php @@ -166,6 +166,16 @@ $gt_conf['languages'] = array( 'code' => 'hu', 'flag' => 'hu', ), + 'japanese' => array( + 'name' => '日本語', + 'name_en' => 'Japanese', + 'folder' => 'japanese', + 'locale' => 'ja', + 'gettext' => 'ja', + 'direction' => 'ltr', + 'code' => 'ja', + 'flag' => 'jp', + ), 'italian' => array( 'name' => 'Italiano', 'name_en' => 'Italian', diff --git a/install/includes/gettext/locale/ja/LC_MESSAGES/index.html b/install/includes/gettext/locale/ja/LC_MESSAGES/index.html new file mode 100644 index 000000000..67f2d8864 --- /dev/null +++ b/install/includes/gettext/locale/ja/LC_MESSAGES/index.html @@ -0,0 +1,11 @@ + + + + 403 Forbidden + + + +

Directory access is forbidden.

+ + + diff --git a/install/includes/interface_assets/footer.php b/install/includes/interface_assets/footer.php index 1e0bf7f7e..b3c323b03 100644 --- a/install/includes/interface_assets/footer.php +++ b/install/includes/interface_assets/footer.php @@ -70,6 +70,7 @@ +