Skip to content

Commit

Permalink
refactor: re-structure repository
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmercerind committed Sep 6, 2024
2 parents 0a934f3 + ae8fbd8 commit 25859ab
Show file tree
Hide file tree
Showing 30 changed files with 223 additions and 7,250 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ jobs:
- name: Validate JSON syntax
run: for file in `ls | grep '.json' `; do python -mjson.tool "$file" > /dev/null ; done
- name: Validate index entries & translation values
run: python3 ci.py
run: python3 .github/ci.py
53 changes: 12 additions & 41 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,54 +1,25 @@
# Translations
# Localizations

**🌐 Translations in various languages are maintained here.**
**🌐 Localizations for Harmonoid**

## Languages

|Language|Country|Contributors|Source|
|--------|-------|------------|------|
|Arabic|Saudi Arabia| [@MSOB7YY](https://github.com/MSOB7YY) |[`ar_SA.json`](./translations/ar_SA.json)|
|Azerbaijani|Azerbaijan| [@Lucifer25x](https://github.com/Lucifer25x) |[`az_AZ.json`](./translations/az_AZ.json)|
|Catalan|Spain| [@aniol](https://github.com/aniol) |[`ca_ES.json`](./translations/ca_ES.json)|
|Czech|Czech Republic| [@IHtDzenda](https://github.com/IHtDzenda), [@PogLop](https://github.com/PogLop), [@Tutislav](https://github.com/Tutislav) |[`cs_CZ.json`](./translations/cs_CZ.json)|
|German|Germany| [@MickLesk](https://github.com/MickLesk), [@ken-der-guru](https://github.com/ken-der-guru) |[`de_DE.json`](./translations/de_DE.json)|
|Spanish|Spain| [@enrique-mp](https://github.com/enrique-mp) |[`es_ES.json`](./translations/es_ES.json)|
|Spanish|Latin America| [@who-is-thiss](https://github.com/who-is-thiss) |[`es_LA.json`](./translations/es_LA.json)|
|Persian|Iran| [@0xj0hn](https://github.com/0xj0hn) |[`fa_IR.json`](./translations/fa_IR.json)|
|French|France| [@gaetan1903](https://github.com/gaetan1903) |[`fr_FR.json`](./translations/fr_FR.json)|
|Hungarian|Hungary| - |[`hu_HU.json`](./translations/hu_HU.json)|
|Indonesian|Indonesia| [@KesiTakeshi](https://github.com/KesiTakeshi) |[`id_ID.json`](./translations/id_ID.json)|
|Italian|Italy| [@Trainax](https://github.com/Trainax) | [`it_IT.json`](./translations/it_IT.json) |
|Japanese|Japan| [@HiSubway](https://github.com/HiSubway), [@mi875](https://github.com/mi875), [@yulog](https://github.com/yulog), [@maboroshin](https://github.com/maboroshin/) |[`ja_JP.json`](./translations/ja_JP.json)|
|Kurdish|Kurdistan| [@horhorist](https://github.com/horhorist) |[`ku_KU.json`](./translations/ku_KU.json)|
|Korean|Korea| [@dart-bird](https://github.com/dart-bird) |[`ko_KR.json`](./translations/ko_KR.json)|
|Malagasy|Madagascar| [@c3k4ah](https://github.com/c3k4ah), [@rivo2302](https://github.com/rivo2302), [@tbgracy](https://github.com/tbgracy) |[`mg_MG.json`](./translations/mg_MG.json)|
|Malay|Malaysia| [@Thaza-Kun](https://github.com/Thaza-Kun) |[`ms_MY.json`](./translations/ms_MY.json)|
|Dutch|Netherlands| - | [`nl_NL.json`](./translations/nl_NL.json)|
|Portuguese|Brazil| [@maisondasilva](https://github.com/maisondasilva) | [`pt_BR.json`](./translations/pt_BR.json) |
|Russian|Russia| [@Feelogil](https://github.com/Feelogil), [@raitonoberu](https://github.com/raitonoberu) | [`ru_RU.json`](./translations/ru_RU.json) |
|Slovenian|Slovenia| [@mytja](https://github.com/mytja) | [`sl_SI.json`](./translations/sl_SI.json) |
|Swedish|Sweden| - | [`sv_SE.json`](./translations/sv_SE.json) |
|Turkish|Turkey| [@CilgaIscan](https://github.com/CilgaIscan), [@ernince](https://github.com/ernince), [@TuranBerlin](https://github.com/TuranBerlin) | [`tr_TR.json`](./translations/tr_TR.json) |
|Ukrainian|Ukraine| [@unreadablename](https://github.com/unreadablename)| [`uk_UA.json`](./translations/uk_UA.json) |
|Simplified Chinese|China| [@ALILEX-1](https://github.com/ALILEX-1), [@litbear](https://github.com/litbear), [@stonega](https://github.com/stonega), [@wcxu21](https://github.com/wcxu21), [@zzs20020430](https://github.com/zzs20020430), [@zdxiaoda](https://github.com/zdxiaoda)| [`zh_CN.json`](./translations/zh_CN.json) |
|Greek|Greece| [@dimostheenis](https://github.com/dimostheenis)| [`el_GR.json`](./translations/el_GR.json) |

| Language | Country | Contributors | Source |
| -------- | ------- | ------------ | ------ |
| | | | |

## Contribute

First of all, big thanks for taking your time to maintain / contribute to translations for [Harmonoid](https://github.com/harmonoid).

- Please use existing [English • United States](./translations/en_US.json) translations as a reference.
- Edit existing or add new file for your language e.g. `fr_FR.json`.
- If you are adding a new language, please add entry in the [`index.json`](./index.json).
- Raise a new [pull request](https://github.com/harmonoid/translations/pulls).
- Add yourself in the above table as a contributor (if not already).
- Want to become a permanent maintainer & need write access to this repository? Please [open a new issue](https://github.com/harmonoid/translations/issues/new).
- Use existing [English • United States](./localizations/en_US.json) values as a reference.
- Edit or add the file for your localization e.g. `fr_FR.json`.
- Add an entry in [`index.json`](./index.json).
- Raise a new [pull request](https://github.com/harmonoid/localizations/pulls).
- Want to become a permanent maintainer & need write access to this repository? Please [open a new issue](https://github.com/harmonoid/localizations/issues/new).
- 🎉🎉🎉

#### NOTE:

It will be a really great idea to follow [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/#summary) specification in your commit messages.
Please follow [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/#summary) specification in your commit messages.

## License

Expand All @@ -57,4 +28,4 @@ This repository & work here is under [The Unlicense](https://unlicense.org/) lic
## Notes

- Usernames of various contributors are sorted lexicographically.
- Hyphen (-) indicates unknown or anonymous translators.
- Hyphen (-) indicates unknown or anonymous contributors.
136 changes: 3 additions & 133 deletions index.json
Original file line number Diff line number Diff line change
@@ -1,137 +1,7 @@
[
{
"code":"ar_SA",
"name":"Arabic",
"country":"Saudi Arabia"
},
{
"code":"az_AZ",
"name":"Azerbaijani",
"country":"Azerbaijan"
},
{
"code":"ca_ES",
"name":"Catalan",
"country":"Spain"
},
{
"code":"cs_CZ",
"name":"Čeština",
"country":"Česká republika"
},
{
"code":"de_DE",
"name":"Deutsch",
"country":"Deutschland"
},
{
"code":"el_GR",
"name":"Ελληνικά",
"country":"Ελλάδα"
},
{
"code":"en_US",
"name":"English",
"country":"United States"
},
{
"code":"es_ES",
"name":"Español",
"country":"España"
},
{
"code":"es_LA",
"name":"Español",
"country":"Latin America"
},
{
"code":"fa_IR",
"name":"فارسی",
"country":"ایران"
},
{
"code":"fr_FR",
"name":"Français",
"country":"France"
},
{
"code":"hu_HU",
"name":"Magyar",
"country":"Magyarország"
},
{
"code":"id_ID",
"name":"Indonesian",
"country":"Indonesia"
},
{
"code":"it_IT",
"name":"Italian",
"country":"Italy"
},
{
"code":"ja_JP",
"name":"日本語",
"country":"日本"
},
{
"code":"ku_KU",
"name":"Kurmancî",
"country":"Kurdistan"
},
{
"code": "ko_KR",
"name": "한국어",
"country": "한국"
},
{
"code":"mg_MG",
"name":"Malagasy",
"country":"Madagascar"
},
{
"code":"ms_MY",
"name":"Bahasa Melayu",
"country":"Malaysia"
},
{
"code":"nl_NL",
"name":"Nederlands",
"country":"Nederland"
},
{
"code":"pt_BR",
"name":"Português",
"country":"Brasil"
},
{
"code":"ru_RU",
"name":"Русский",
"country":"Россия"
},
{
"code":"sl_SI",
"name":"Slovenščina",
"country":"Slovenija"
},
{
"code":"sv_SE",
"name":"Svenska",
"country":"Sverige"
},
{
"code":"tr_TR",
"name":"Türkçe",
"country":"Türkiye"
},
{
"code": "uk_UA",
"name": "Українська",
"country": "Україна"
},
{
"code":"zh_CN",
"name":"中文",
"country":"中国"
"code": "en_US",
"name": "English",
"country": "United States"
}
]
Loading

0 comments on commit 25859ab

Please sign in to comment.