update translation tamplate and readme

This commit is contained in:
HF 2024-03-09 12:55:02 +01:00
parent 5d6cfb0486
commit c776de28d6
3 changed files with 121 additions and 121 deletions

View File

@ -2,6 +2,8 @@
The easiets way to help translate the game is with weblate. Simply use [hosted.weblate.org/projects/pixelplanet](https://hosted.weblate.org/projects/pixelplanet/). Feel free to ask in the Translation section in [our Discord](https://pixelplanet.fun/guilded) if you need help.
If a language code differs from the country code of a wanted flag, it can be defined in the `i18n/lccc.json` file. In example `{ "en": "gb" }` maps the english language to the flag of Great Britain.
[![Translation status](https://hosted.weblate.org/widget/pixelplanet/open-graph.png)](https://hosted.weblate.org/engage/pixelplanet/)
# Translating Offline
@ -12,8 +14,6 @@ Translation files can be created out of the templates [template.pot](https://git
All translated languages get an own chat channel that just people who use this language can access.
If a language code differs from the country code of a wanted flag, it can be defined in the ssr filename, like `ssr-en-gb.po` would be the english language, with the flag of Great Britain.
## With poedit
### Create new translation

View File

@ -3,7 +3,7 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Plural-Forms: nplurals=2; plural=(n!=1);\n"
#: src/core/ChatProvider.js:435
#: src/core/ChatProvider.js:434
msgid "You can not send chat messages with proxy"
msgstr ""
@ -82,6 +82,14 @@ msgstr ""
msgid "Invalid url :( Please check your mail again."
msgstr ""
#: src/ssr/PopUp.jsx:47
msgid "ppfun"
msgstr ""
#: src/ssr/PopUp.jsx:48
msgid "PixelPlanet.Fun PopUp"
msgstr ""
#: src/ssr/Globe.jsx:37
msgid "PixelPlanet.Fun 3DGlobe"
msgstr ""
@ -98,19 +106,11 @@ msgstr ""
msgid "Loading..."
msgstr ""
#: src/ssr/PopUp.jsx:47
msgid "ppfun"
msgstr ""
#: src/ssr/PopUp.jsx:48
msgid "PixelPlanet.Fun PopUp"
msgstr ""
#: src/ssr/Main.jsx:62
#: src/ssr/Main.jsx:65
msgid "PixelPlanet.Fun"
msgstr ""
#: src/ssr/Main.jsx:63
#: src/ssr/Main.jsx:66
msgid "Place color pixels on an map styled canvas with other players online"
msgstr ""

View File

@ -3,7 +3,7 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Plural-Forms: nplurals=2; plural=(n!=1);\n"
#: src/controls/keypress.js:100
#: src/controls/keypress.js:99
#, javascript-format
msgid "Switched to ${ canvasName }"
msgstr ""
@ -404,24 +404,12 @@ msgstr ""
msgid "Canvas Archive"
msgstr ""
#: src/components/GlobalCaptcha.jsx:47
msgid "You took too long, try again."
#: src/components/BanInfo.jsx:66
msgid "You are banned. You think it is unjustified? Check out the "
msgstr ""
#: src/components/GlobalCaptcha.jsx:50
msgid "You failed your captcha"
msgstr ""
#: src/components/GlobalCaptcha.jsx:53
msgid "No or invalid captcha text"
msgstr ""
#: src/components/GlobalCaptcha.jsx:56
msgid "No captcha id given"
msgstr ""
#: src/components/GlobalCaptcha.jsx:59
msgid "Unknown Captcha Error"
#: src/components/BanInfo.jsx:76
msgid " on how to appeal."
msgstr ""
#: src/components/BanInfo.jsx:80
@ -437,29 +425,6 @@ msgstr ""
msgid "Error"
msgstr ""
#: src/components/ChangeMail.jsx:93
#: src/components/ChangeName.jsx:70
#: src/components/ChangePassword.jsx:115
#: src/components/DeleteAccount.jsx:68
#: src/components/GlobalCaptcha.jsx:80
#: src/components/TemplateItemEdit.jsx:181
#: src/components/windows/ForgotPassword.jsx:89
#: src/components/windows/Register.jsx:133
msgid "Cancel"
msgstr ""
#: src/components/GlobalCaptcha.jsx:86
msgid "Send"
msgstr ""
#: src/components/BanInfo.jsx:66
msgid "You are banned. You think it is unjustified? Check out the "
msgstr ""
#: src/components/BanInfo.jsx:76
msgid " on how to appeal."
msgstr ""
#: src/components/BanInfo.jsx:85
#: src/components/ModIIDtools.jsx:73
msgid "Reason"
@ -494,6 +459,41 @@ msgstr ""
msgid "Why?"
msgstr ""
#: src/components/GlobalCaptcha.jsx:47
msgid "You took too long, try again."
msgstr ""
#: src/components/GlobalCaptcha.jsx:50
msgid "You failed your captcha"
msgstr ""
#: src/components/GlobalCaptcha.jsx:53
msgid "No or invalid captcha text"
msgstr ""
#: src/components/GlobalCaptcha.jsx:56
msgid "No captcha id given"
msgstr ""
#: src/components/GlobalCaptcha.jsx:59
msgid "Unknown Captcha Error"
msgstr ""
#: src/components/ChangeMail.jsx:93
#: src/components/ChangeName.jsx:70
#: src/components/ChangePassword.jsx:115
#: src/components/DeleteAccount.jsx:68
#: src/components/GlobalCaptcha.jsx:80
#: src/components/TemplateItemEdit.jsx:181
#: src/components/windows/ForgotPassword.jsx:89
#: src/components/windows/Register.jsx:133
msgid "Cancel"
msgstr ""
#: src/components/GlobalCaptcha.jsx:86
msgid "Send"
msgstr ""
#: src/components/windows/Help.jsx:65
msgid "Place color pixels on a large canvas with other players online!"
msgstr ""
@ -956,54 +956,6 @@ msgstr ""
msgid "Enter Characters"
msgstr ""
#: src/utils/validation.js:17
msgid "Email can't be empty."
msgstr ""
#: src/utils/validation.js:18
msgid "Email should be at least 5 characters long."
msgstr ""
#: src/utils/validation.js:19
msgid "Email can't be longer than 40 characters."
msgstr ""
#: src/utils/validation.js:20
msgid "Email should at least contain a dot"
msgstr ""
#: src/utils/validation.js:22
msgid "Email should contain a @"
msgstr ""
#: src/utils/validation.js:29
msgid "Name can't be empty."
msgstr ""
#: src/utils/validation.js:30
msgid "Name must be at least 2 characters long"
msgstr ""
#: src/utils/validation.js:31
msgid "Name must be shorter than 26 characters"
msgstr ""
#: src/utils/validation.js:38
msgid "Name contains invalid character like @, /, \\ or #"
msgstr ""
#: src/utils/validation.js:53
msgid "No password given."
msgstr ""
#: src/utils/validation.js:56
msgid "Password must be at least 6 characters long."
msgstr ""
#: src/utils/validation.js:59
msgid "Password must be shorter than 60 characters."
msgstr ""
#: src/components/GetIID.jsx:44
msgid "Get IID"
msgstr ""
@ -1262,6 +1214,54 @@ msgstr ""
msgid "Ranking updates every 5 min. Daily rankings get reset at midnight UTC."
msgstr ""
#: src/utils/validation.js:17
msgid "Email can't be empty."
msgstr ""
#: src/utils/validation.js:18
msgid "Email should be at least 5 characters long."
msgstr ""
#: src/utils/validation.js:19
msgid "Email can't be longer than 40 characters."
msgstr ""
#: src/utils/validation.js:20
msgid "Email should at least contain a dot"
msgstr ""
#: src/utils/validation.js:22
msgid "Email should contain a @"
msgstr ""
#: src/utils/validation.js:29
msgid "Name can't be empty."
msgstr ""
#: src/utils/validation.js:30
msgid "Name must be at least 2 characters long"
msgstr ""
#: src/utils/validation.js:31
msgid "Name must be shorter than 26 characters"
msgstr ""
#: src/utils/validation.js:38
msgid "Name contains invalid character like @, /, \\ or #"
msgstr ""
#: src/utils/validation.js:53
msgid "No password given."
msgstr ""
#: src/utils/validation.js:56
msgid "Password must be at least 6 characters long."
msgstr ""
#: src/utils/validation.js:59
msgid "Password must be shorter than 60 characters."
msgstr ""
#: src/components/CanvasItem.jsx:29
msgid "Online Users"
msgstr ""
@ -1309,6 +1309,26 @@ msgstr ""
msgid "Dimensions"
msgstr ""
#: src/core/chartSettings.js:30
msgid "Top 10 Countries [pxls / day]"
msgstr ""
#: src/core/chartSettings.js:127
msgid "Players and Pixels per hour"
msgstr ""
#: src/core/chartSettings.js:221
msgid "Top 10 Players [pxls / day]"
msgstr ""
#: src/core/chartSettings.js:294
msgid "Countries by Pixels Today"
msgstr ""
#: src/core/chartSettings.js:351
msgid "Total Pixels placed per day"
msgstr ""
#: src/components/ModWatchtools.jsx:125
#: src/components/TemplateItem.jsx:54
#: src/components/TemplateItemEdit.jsx:122
@ -1599,26 +1619,6 @@ msgstr ""
msgid "(0 = infinite)"
msgstr ""
#: src/core/chartSettings.js:30
msgid "Top 10 Countries [pxls / day]"
msgstr ""
#: src/core/chartSettings.js:127
msgid "Players and Pixels per hour"
msgstr ""
#: src/core/chartSettings.js:221
msgid "Top 10 Players [pxls / day]"
msgstr ""
#: src/core/chartSettings.js:294
msgid "Countries by Pixels Today"
msgstr ""
#: src/core/chartSettings.js:351
msgid "Total Pixels placed per day"
msgstr ""
#: src/components/contextmenus/UserContextMenu.jsx:49
msgid "Ping"
msgstr ""