From 1c1069baaf0ec735136a8a7d861c9b172adf5a41 Mon Sep 17 00:00:00 2001 From: Sander Land Date: Fri, 10 Jul 2020 17:58:44 +0200 Subject: [PATCH] ja->jp and credit --- CONTRIBUTIONS.md | 1 + README.md | 2 +- katrain/core/lang.py | 2 +- katrain/gui.kv | 2 +- .../i18n/locales/{ja => jp}/LC_MESSAGES/katrain.mo | Bin .../i18n/locales/{ja => jp}/LC_MESSAGES/katrain.po | 0 6 files changed, 4 insertions(+), 3 deletions(-) rename katrain/i18n/locales/{ja => jp}/LC_MESSAGES/katrain.mo (100%) rename katrain/i18n/locales/{ja => jp}/LC_MESSAGES/katrain.po (100%) diff --git a/CONTRIBUTIONS.md b/CONTRIBUTIONS.md index a53af0d..c785740 100644 --- a/CONTRIBUTIONS.md +++ b/CONTRIBUTIONS.md @@ -60,6 +60,7 @@ Many thanks to the following contributors for translations. * Spanish: Sergio Villegas ("serpiente") with contributions from the Spanish OGS community * Russian: Dmitry Ivankov and Alexander Kiselev * Simplified Chinese: Qing Mu with contributions from "Medwin" +* Japanese: "kaorahi" ## Additional thanks to diff --git a/README.md b/README.md index a06e549..56401a8 100644 --- a/README.md +++ b/README.md @@ -191,7 +191,7 @@ In addition to shortcuts mentioned above and those shown in the main menu: ## Support / Contribute [![GitHub issues](https://img.shields.io/github/issues/sanderland/katrain)](https://github.com/sanderland/katrain/issues) -[![Contributors](https://img.shields.io/static/v1?label=contributors&message=16&color=dcb424)](CONTRIBUTIONS.md) +[![Contributors](https://img.shields.io/static/v1?label=contributors&message=17&color=dcb424)](CONTRIBUTIONS.md) [![Liberapay patrons](https://img.shields.io/liberapay/patrons/sanderbaduk)](https://liberapay.com/sanderbaduk/) [![Github sponsors](https://img.shields.io/static/v1?label=sponsor&message=4&logo=GitHub&color=dcb424&link=https://github.com/sponsors/sanderland/)](https://github.com/sponsors/sanderland) diff --git a/katrain/core/lang.py b/katrain/core/lang.py index ec5f31a..d82f920 100644 --- a/katrain/core/lang.py +++ b/katrain/core/lang.py @@ -14,7 +14,7 @@ class Lang(Observable): FONTS = { "ko": "fonts/NotoSansKR-Regular.otf", "cn": "fonts/NotoSansCJKsc-Regular.otf", - "ja": "fonts/NotoSansJP-Regular.otf", + "jp": "fonts/NotoSansJP-Regular.otf", } def __init__(self, lang): diff --git a/katrain/gui.kv b/katrain/gui.kv index 3b7558c..c3d10d7 100644 --- a/katrain/gui.kv +++ b/katrain/gui.kv @@ -984,7 +984,7 @@ on_press: app.language = 'ko' LangButton: icon: 'img/flaticon/flag-jp.png' - on_press: app.language = 'ja' + on_press: app.language = 'jp' BoxLayout: size_hint: 1,None height: root.item_height diff --git a/katrain/i18n/locales/ja/LC_MESSAGES/katrain.mo b/katrain/i18n/locales/jp/LC_MESSAGES/katrain.mo similarity index 100% rename from katrain/i18n/locales/ja/LC_MESSAGES/katrain.mo rename to katrain/i18n/locales/jp/LC_MESSAGES/katrain.mo diff --git a/katrain/i18n/locales/ja/LC_MESSAGES/katrain.po b/katrain/i18n/locales/jp/LC_MESSAGES/katrain.po similarity index 100% rename from katrain/i18n/locales/ja/LC_MESSAGES/katrain.po rename to katrain/i18n/locales/jp/LC_MESSAGES/katrain.po