diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-08-27 15:00:33 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-08-27 15:00:48 +0200 |
commit | ebc027ec0a385c6a529cae6df649a4bbe51852d2 (patch) | |
tree | fb97e00f172fb454578fa51e357c994d4967653b | |
parent | bea062149ebcb4663861edb1cc0a32faf85b273f (diff) | |
download | Shaarli-ebc027ec0a385c6a529cae6df649a4bbe51852d2.tar.gz Shaarli-ebc027ec0a385c6a529cae6df649a4bbe51852d2.tar.zst Shaarli-ebc027ec0a385c6a529cae6df649a4bbe51852d2.zip |
Japanese translation: add language to admin configuration page
Also use ISO country code (JP) instead of JA.
-rw-r--r-- | application/Languages.php | 3 | ||||
-rw-r--r-- | inc/languages/jp/LC_MESSAGES/shaarli.po (renamed from inc/languages/ja/LC_MESSAGES/shaarli.po) | 0 |
2 files changed, 2 insertions, 1 deletions
diff --git a/application/Languages.php b/application/Languages.php index 5cda802e..d83e0765 100644 --- a/application/Languages.php +++ b/application/Languages.php | |||
@@ -179,9 +179,10 @@ class Languages | |||
179 | { | 179 | { |
180 | return [ | 180 | return [ |
181 | 'auto' => t('Automatic'), | 181 | 'auto' => t('Automatic'), |
182 | 'de' => t('German'), | ||
182 | 'en' => t('English'), | 183 | 'en' => t('English'), |
183 | 'fr' => t('French'), | 184 | 'fr' => t('French'), |
184 | 'de' => t('German'), | 185 | 'jp' => t('Japanese'), |
185 | ]; | 186 | ]; |
186 | } | 187 | } |
187 | } | 188 | } |
diff --git a/inc/languages/ja/LC_MESSAGES/shaarli.po b/inc/languages/jp/LC_MESSAGES/shaarli.po index b420bb51..b420bb51 100644 --- a/inc/languages/ja/LC_MESSAGES/shaarli.po +++ b/inc/languages/jp/LC_MESSAGES/shaarli.po | |||