Skip to content

Commit

Permalink
Implemented issue #171
Browse files Browse the repository at this point in the history
  • Loading branch information
jobtalle committed Mar 12, 2021
1 parent 2a7db7a commit 0f65c28
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 269 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "squish.py"]
path = squish.py
url = https://github.com/jobtalle/squish.py
[submodule "KoiTranslations"]
path = KoiTranslations
url = https://github.com/jobtalle/KoiTranslations
1 change: 1 addition & 0 deletions KoiTranslations
Submodule KoiTranslations added at 4e5612
14 changes: 7 additions & 7 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,31 +29,31 @@ const makeLanguage = locale => {
case "en":
chosenLocale = "en";

return new Language("language/english.json");
return new Language("KoiTranslations/english.json");
case "nl":
chosenLocale = "nl";

return new Language("language/dutch.json");
return new Language("KoiTranslations/dutch.json");
case "pl":
chosenLocale = "pl";

return new Language("language/polish.json");
return new Language("KoiTranslations/polish.json");
case "tr":
chosenLocale = "tr";

return new Language("language/turkish.json");
return new Language("KoiTranslations/turkish.json");
case "de":
chosenLocale = "de";

return new Language("language/german.json");
return new Language("KoiTranslations/german.json");
case "fr":
chosenLocale = "fr";

return new Language("language/french.json");
return new Language("KoiTranslations/french.json");
case "ja":
chosenLocale = "ja";

return new Language("language/japanese.json");
return new Language("KoiTranslations/japanese.json");
}
};

Expand Down
36 changes: 0 additions & 36 deletions language/dutch.json

This file was deleted.

36 changes: 0 additions & 36 deletions language/english.json

This file was deleted.

36 changes: 0 additions & 36 deletions language/french.json

This file was deleted.

36 changes: 0 additions & 36 deletions language/german.json

This file was deleted.

36 changes: 0 additions & 36 deletions language/japanese.json

This file was deleted.

36 changes: 0 additions & 36 deletions language/polish.json

This file was deleted.

36 changes: 0 additions & 36 deletions language/turkish.json

This file was deleted.

5 changes: 0 additions & 5 deletions language/units/imperial.json

This file was deleted.

5 changes: 0 additions & 5 deletions language/units/metric.json

This file was deleted.

0 comments on commit 0f65c28

Please sign in to comment.