From 419ac8138816d9a882d8d266b8ca3ea64ecd760a Mon Sep 17 00:00:00 2001 From: okx-code Date: Wed, 26 Dec 2018 11:17:36 +0000 Subject: [PATCH 1/4] Update Crowdin configuration file --- crowdin.yml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 crowdin.yml diff --git a/crowdin.yml b/crowdin.yml new file mode 100644 index 0000000..dbe1bd8 --- /dev/null +++ b/crowdin.yml @@ -0,0 +1,3 @@ +files: + - source: src/main/resources/locale/en.yml + translation: src/main/resources/locale/%two_letters_code%.yml From 758679d762788b78310ec86c71ca4894b77d045e Mon Sep 17 00:00:00 2001 From: okx-code Date: Wed, 26 Dec 2018 11:21:34 +0000 Subject: [PATCH 2/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9b748e0..b037069 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ This is the branch for new locale changes to Rankup. Locale names are in ISO-639-1 and are in the folder [`src/main/resources/locale`](https://github.com/okx-code/Rankup3/tree/locale/src/main/resources/locale) -When a locale is added, it should be saved [here](https://github.com/okx-code/Rankup3/blob/locale/src/main/java/sh/okx/rankup/Rankup.java#L193), ie through adding a line such as `saveLocale("es");` +When a locale is added, it should be saved [here](https://github.com/okx-code/Rankup3/blob/locale/src/main/java/sh/okx/rankup/Rankup.java#L193), ie through adding a line such as `saveLocale("es");`. Most of the time I will do this fo royu. You can use the [English](https://github.com/okx-code/Rankup3/blob/locale/src/main/resources/locale/en.yml) locale to help translate. From 6a0982a187ed574080a00d41ff3dbe4097588f34 Mon Sep 17 00:00:00 2001 From: okx-code Date: Tue, 15 Jan 2019 19:05:18 +0000 Subject: [PATCH 3/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b037069..023af03 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ This is the branch for new locale changes to Rankup. Locale names are in ISO-639-1 and are in the folder [`src/main/resources/locale`](https://github.com/okx-code/Rankup3/tree/locale/src/main/resources/locale) -When a locale is added, it should be saved [here](https://github.com/okx-code/Rankup3/blob/locale/src/main/java/sh/okx/rankup/Rankup.java#L193), ie through adding a line such as `saveLocale("es");`. Most of the time I will do this fo royu. +When a locale is added, it should be saved [here](https://github.com/okx-code/Rankup3/blob/locale/src/main/java/sh/okx/rankup/Rankup.java#L193), ie through adding a line such as `saveLocale("es");`. However, I can do it if you forget. You can use the [English](https://github.com/okx-code/Rankup3/blob/locale/src/main/resources/locale/en.yml) locale to help translate. From b804fac05484e594aac3c3952daa79d417e2aa37 Mon Sep 17 00:00:00 2001 From: okx-code Date: Tue, 15 Jan 2019 19:05:41 +0000 Subject: [PATCH 4/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 023af03..a687b20 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ This is the branch for new locale changes to Rankup. Locale names are in ISO-639-1 and are in the folder [`src/main/resources/locale`](https://github.com/okx-code/Rankup3/tree/locale/src/main/resources/locale) -When a locale is added, it should be saved [here](https://github.com/okx-code/Rankup3/blob/locale/src/main/java/sh/okx/rankup/Rankup.java#L193), ie through adding a line such as `saveLocale("es");`. However, I can do it if you forget. +When a locale is added, it should be saved [here](https://github.com/okx-code/Rankup3/blob/locale/src/main/java/sh/okx/rankup/Rankup.java#L201), ie through adding a line such as `saveLocale("es");`. However, I can do it if you forget. You can use the [English](https://github.com/okx-code/Rankup3/blob/locale/src/main/resources/locale/en.yml) locale to help translate.