Skip to content

Commit

Permalink
Add Catalan language
Browse files Browse the repository at this point in the history
  • Loading branch information
SKPG-Tech committed Jul 1, 2024
1 parent 342eaab commit e50732a
Show file tree
Hide file tree
Showing 4 changed files with 1,834 additions and 2 deletions.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
[//]: # "This file is automatically generated by generate_readme.py"

# ppl-i18n

This repository contains the translated strings for the game [PewPew Live](https://pewpew.live).

## Contributing

Any contribution helps, even if it's only a few words or phrases.
(but please only contribute to languages you can speak; no Google Translate)

Expand All @@ -10,18 +14,24 @@ For information on how to submit changes on GitHub, take a look at this [guide](
If you contribute a significant amount, I'll put you in the credits!

A few tips for contributing:

* Keep the `%s` as they later get replaced by some other text.
* The text fragments that look like `#ffffffff` encode colors. Keep them!
* Try to have the translations be approximately the same length as the English text.
* Don't hesitate the reword the text to better fit the language.
* In order to reduce merge conflicts, avoid working on a single pull request for multiple days. It's better if you create one pull request per day.

## Adding new languages

If you want to add support for a new language, create a GitHub Issue so that we can discuss
the feasibility.

## Status

* 🇰🇷 [Korean](/translations/kor.po) (0% complete; 387 remaining)
* 🇲🇾 [Malay](/translations/msa.po) (0% complete; 387 remaining)
* 🇹🇭 [Thai](/translations/tha.po) (0% complete; 387 remaining)
* 🏴󠁥󠁳󠁣󠁴󠁿 [Catalan](/translations/cat.po) (0% complete; 387 remaining)
* 🇨🇳 [Traditional Chinese](/translations/cht.po) (9% complete; 352 remaining)
* 🇿🇦 [Afrikaans](/translations/afr.po) (11% complete; 236 remaining)
* 🇳🇱 [Dutch](/translations/nld.po) (47% complete; 205 remaining)
Expand Down Expand Up @@ -50,4 +60,5 @@ the feasibility.
* 🇬🇪 [Georgian](/translations/kat.po) (100% complete! 🎉)
* 💻 [Code](/translations/code.po) (100% complete! 🎉)
* 🥰 [UwU](/translations/uwu.po) (100% complete! 🎉)
> Report generated on Jun 03 2024 01:19:34 UTC

> Report generated on Jul 01 2024 15:39:01 UTC
11 changes: 10 additions & 1 deletion generate_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
import sys

header = f"""[//]: # "This file is automatically generated by {os.path.basename(__file__)}"
# ppl-i18n
This repository contains the translated strings for the game [PewPew Live](https://pewpew.live).
## Contributing
Any contribution helps, even if it's only a few words or phrases.
(but please only contribute to languages you can speak; no Google Translate)
Expand All @@ -18,15 +22,20 @@
If you contribute a significant amount, I'll put you in the credits!
A few tips for contributing:
* Keep the `%s` as they later get replaced by some other text.
* The text fragments that look like `#ffffffff` encode colors. Keep them!
* Try to have the translations be approximately the same length as the English text.
* Don't hesitate the reword the text to better fit the language.
* In order to reduce merge conflicts, avoid working on a single pull request for multiple days. It's better if you create one pull request per day.
## Adding new languages
If you want to add support for a new language, create a GitHub Issue so that we can discuss
the feasibility.
## Status
"""

# Change CWD to the script's own director.
Expand Down Expand Up @@ -101,4 +110,4 @@

date = datetime.datetime.now(datetime.UTC)
date_str = date.strftime("%b %d %Y %H:%M:%S")
f.write("> Report generated on " + date_str + " UTC")
f.write("\n> Report generated on " + date_str + " UTC\n")
11 changes: 11 additions & 0 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@
}
]
},
{
"english_name": "Catalan",
"code": "cat",
"emoji_flag": "🇦🇩",
"localized_name": "Català",
"translators": [
{
"name": "#00ff00ffJ0anJosep"
}
]
},
{
"english_name": "Dutch",
"code": "nld",
Expand Down
Loading

0 comments on commit e50732a

Please sign in to comment.