From 476b12f5038de8bddc0568b66980e6d5bb0f81e4 Mon Sep 17 00:00:00 2001 From: TAKAHASHI Shuuji Date: Mon, 16 Sep 2019 21:53:02 +0900 Subject: [PATCH] Add the `ja-jp` locale code for Japanese translation. Signed-off-by: TAKAHASHI Shuuji --- scripts/trans-copy | 1 + static/_redirects | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/trans-copy b/scripts/trans-copy index 125ab91..961f4f2 100755 --- a/scripts/trans-copy +++ b/scripts/trans-copy @@ -12,6 +12,7 @@ set -e # declare -a LOCALES=( + "ja-jp" "nl-nl" "pt-br" "zh-cn" diff --git a/static/_redirects b/static/_redirects index 26c86cf..08fb7b8 100644 --- a/static/_redirects +++ b/static/_redirects @@ -1,6 +1,7 @@ https://gitea-website.netlify.com/* https://gitea.io/:splat 302! https://www.gitea.io/* https://gitea.io/:splat 302! +/ /ja-jp/ 302! Language=ja / /nl-nl/ 302! Language=nl / /pt-br/ 302! Language=pt-br / /zh-cn/ 302! Language=zh-cn