improve some strings in original english

This commit is contained in:
HF 2024-03-11 17:04:43 +01:00
parent b7eaafd4f6
commit e778472620
15 changed files with 265 additions and 273 deletions

View File

@ -4,7 +4,7 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n!=1);\n" "Plural-Forms: nplurals=2; plural=(n!=1);\n"
#: src/core/ChatProvider.js:434 #: src/core/ChatProvider.js:434
msgid "You can not send chat messages with proxy" msgid "You can not send chat messages while using a proxy"
msgstr "" msgstr ""
#: src/core/ChatProvider.js:436 #: src/core/ChatProvider.js:436
@ -82,14 +82,6 @@ msgstr ""
msgid "Invalid url :( Please check your mail again." msgid "Invalid url :( Please check your mail again."
msgstr "" msgstr ""
#: src/ssr/PopUp.jsx:47
msgid "ppfun"
msgstr ""
#: src/ssr/PopUp.jsx:48
msgid "PixelPlanet.Fun PopUp"
msgstr ""
#: src/ssr/Globe.jsx:37 #: src/ssr/Globe.jsx:37
msgid "PixelPlanet.Fun 3DGlobe" msgid "PixelPlanet.Fun 3DGlobe"
msgstr "" msgstr ""
@ -106,11 +98,19 @@ msgstr ""
msgid "Loading..." msgid "Loading..."
msgstr "" msgstr ""
#: src/ssr/Main.jsx:65 #: src/ssr/PopUp.jsx:47
msgid "ppfun"
msgstr ""
#: src/ssr/PopUp.jsx:48
msgid "PixelPlanet.Fun PopUp"
msgstr ""
#: src/ssr/Main.jsx:62
msgid "PixelPlanet.Fun" msgid "PixelPlanet.Fun"
msgstr "" msgstr ""
#: src/ssr/Main.jsx:66 #: src/ssr/Main.jsx:63
msgid "Place color pixels on an map styled canvas with other players online" msgid "Place color pixels on an map styled canvas with other players online"
msgstr "" msgstr ""
@ -294,11 +294,11 @@ msgid "Incorrect password!"
msgstr "" msgstr ""
#: src/routes/api/auth/delete_account.js:46 #: src/routes/api/auth/delete_account.js:46
msgid "Muted users can not delete their account." msgid "Muted Users can not delete their account."
msgstr "" msgstr ""
#: src/routes/api/auth/change_mail.js:62 #: src/routes/api/auth/change_mail.js:62
msgid "Muted users can not do this." msgid "Muted Users can not do this."
msgstr "" msgstr ""
#: src/ssr/RedirectionPage.jsx:19 #: src/ssr/RedirectionPage.jsx:19
@ -355,7 +355,7 @@ msgid "Minimap"
msgstr "" msgstr ""
#: src/canvasesDesc.js:32 #: src/canvasesDesc.js:32
msgid "Our main canvas, a huge map of the world. Place everywhere you like" msgid "Our main canvas, a huge map of the world. Place anywhere you like!"
msgstr "" msgstr ""
#: src/canvasesDesc.js:33 #: src/canvasesDesc.js:33
@ -365,11 +365,11 @@ msgid ""
msgstr "" msgstr ""
#: src/canvasesDesc.js:34 #: src/canvasesDesc.js:34
msgid "Place Voxels on a 3D canvas with others" msgid "Place Voxels on a 3D canvas with others."
msgstr "" msgstr ""
#: src/canvasesDesc.js:35 #: src/canvasesDesc.js:35
msgid "Special canvas to spread awareness of SARS-CoV2" msgid "Special canvas to spread awareness of SARS-CoV2 (take the vax)."
msgstr "" msgstr ""
#: src/canvasesDesc.js:36 #: src/canvasesDesc.js:36
@ -391,13 +391,13 @@ msgid ""
msgstr "" msgstr ""
#: src/canvasesDesc.js:40 #: src/canvasesDesc.js:40
msgid "Only four colors. Same rules as moon." msgid "Only four colors. Same rules as moon!"
msgstr "" msgstr ""
#: src/canvasesDesc.js:41 #: src/canvasesDesc.js:41
msgid "" msgid ""
"Conquer land on a smaller earth with protected ocean. Shares cooldown with " "Conquer land on a smaller earth with protected ocean. Shares cooldown with "
"earth canvas." "earth canvas!"
msgstr "" msgstr ""
#: src/core/MailProvider.js:66 #: src/core/MailProvider.js:66

View File

@ -35,7 +35,7 @@ msgstr ""
#: src/components/CoordinatesBox.jsx:39 #: src/components/CoordinatesBox.jsx:39
#: src/components/GetIID.jsx:51 #: src/components/GetIID.jsx:51
#: src/controls/keypress.js:211 #: src/controls/keypress.js:211
msgid "Copied!" msgid "Copied"
msgstr "" msgstr ""
#: src/controls/keypress.js:217 #: src/controls/keypress.js:217
@ -57,128 +57,114 @@ msgid "Easter Egg OFF"
msgstr "" msgstr ""
#: src/ui/PixelTransferController.js:70 #: src/ui/PixelTransferController.js:70
#: src/ui/templateLoader.js:230 #: src/ui/PixelTransferController.js:165
#: src/ui/templateLoader.js:256
msgid "Error :("
msgstr ""
#: src/ui/PixelTransferController.js:71
msgid "Didn't get an answer from pixelplanet. Maybe try to refresh?"
msgstr ""
#: src/ui/PixelTransferController.js:103
msgid "Invalid Canvas"
msgstr ""
#: src/ui/PixelTransferController.js:104
msgid "This canvas doesn't exist"
msgstr ""
#: src/ui/PixelTransferController.js:107
#: src/ui/PixelTransferController.js:111
#: src/ui/PixelTransferController.js:115
msgid "Invalid Coordinates"
msgstr ""
#: src/ui/PixelTransferController.js:108
msgid "x out of bounds"
msgstr ""
#: src/ui/PixelTransferController.js:112
msgid "y out of bounds"
msgstr ""
#: src/ui/PixelTransferController.js:116
msgid "z out of bounds"
msgstr ""
#: src/ui/PixelTransferController.js:119
msgid "Wrong Color"
msgstr ""
#: src/ui/PixelTransferController.js:120
msgid "Invalid color selected"
msgstr ""
#: src/ui/PixelTransferController.js:123
msgid "Just for registered Users"
msgstr ""
#: src/ui/PixelTransferController.js:124
msgid "You have to be logged in to place on this canvas"
msgstr ""
#: src/ui/PixelTransferController.js:127
msgid "Place more :)"
msgstr ""
#: src/ui/PixelTransferController.js:129
msgid "You can not access this canvas yet. You need to place more pixels"
msgstr ""
#: src/ui/PixelTransferController.js:132
msgid "Pixel protected!"
msgstr ""
#: src/ui/PixelTransferController.js:139
msgid "Please prove that you are human"
msgstr ""
#: src/ui/PixelTransferController.js:143
msgid "No Proxies Allowed :("
msgstr ""
#: src/ui/PixelTransferController.js:144
msgid "You are using a Proxy."
msgstr ""
#: src/ui/PixelTransferController.js:147
msgid "Not allowed"
msgstr ""
#: src/ui/PixelTransferController.js:148
msgid "Just the Top10 of yesterday can place here"
msgstr ""
#: src/ui/PixelTransferController.js:151
msgid "You are weird"
msgstr ""
#: src/ui/PixelTransferController.js:153
msgid "Server got confused by your pixels. Are you playing on multiple devices?"
msgstr ""
#: src/ui/PixelTransferController.js:156
msgid "Banned"
msgstr ""
#: src/ui/PixelTransferController.js:160
msgid "Range Banned"
msgstr ""
#: src/ui/PixelTransferController.js:161
msgid "Your Internet Provider is banned from playing this game"
msgstr ""
#: src/ui/PixelTransferController.js:164
msgid "Timeout" msgid "Timeout"
msgstr "" msgstr ""
#: src/ui/PixelTransferController.js:166 #: src/ui/PixelTransferController.js:72
#: src/ui/PixelTransferController.js:167
msgid "" msgid ""
"Didn't get an answer from pixelplanet. Maybe try to refresh if problem " "Didn't get an answer from pixelplanet. Try to refresh if this problem "
"persists?" "persists."
msgstr "" msgstr ""
#: src/ui/PixelTransferController.js:169 #: src/ui/PixelTransferController.js:104
msgid "Weird" msgid "Invalid Canvas"
msgstr ""
#: src/ui/PixelTransferController.js:105
msgid "This canvas doesn't exist"
msgstr ""
#: src/ui/PixelTransferController.js:108
#: src/ui/PixelTransferController.js:112
#: src/ui/PixelTransferController.js:116
msgid "Invalid Coordinates"
msgstr ""
#: src/ui/PixelTransferController.js:109
msgid "x out of bounds"
msgstr ""
#: src/ui/PixelTransferController.js:113
msgid "y out of bounds"
msgstr ""
#: src/ui/PixelTransferController.js:117
msgid "z out of bounds"
msgstr ""
#: src/ui/PixelTransferController.js:120
msgid "Wrong Color"
msgstr ""
#: src/ui/PixelTransferController.js:121
msgid "Invalid color selected"
msgstr ""
#: src/ui/PixelTransferController.js:124
msgid "Just for registered Users"
msgstr ""
#: src/ui/PixelTransferController.js:125
msgid "You have to be logged in to place on this canvas"
msgstr ""
#: src/ui/PixelTransferController.js:128
#: src/ui/PixelTransferController.js:144
#: src/ui/PixelTransferController.js:148
msgid "Not allowed"
msgstr ""
#: src/ui/PixelTransferController.js:130
msgid "You can not access this canvas yet, because your pixel score is too low"
msgstr ""
#: src/ui/PixelTransferController.js:133
msgid "Pixel protected"
msgstr ""
#: src/ui/PixelTransferController.js:140
msgid "Please prove that you are human"
msgstr ""
#: src/ui/PixelTransferController.js:145
msgid "You are using a Proxy."
msgstr ""
#: src/ui/PixelTransferController.js:149
msgid "Just the Top10 of yesterday can place here"
msgstr ""
#: src/ui/PixelTransferController.js:152
msgid "You are weird"
msgstr ""
#: src/ui/PixelTransferController.js:154
msgid "Server got confused by your pixels. Are you playing on multiple devices?"
msgstr ""
#: src/ui/PixelTransferController.js:157
msgid "Banned"
msgstr ""
#: src/ui/PixelTransferController.js:161
msgid "Range Banned"
msgstr ""
#: src/ui/PixelTransferController.js:162
msgid "Your Internet Provider is banned from this game"
msgstr "" msgstr ""
#: src/ui/PixelTransferController.js:170 #: src/ui/PixelTransferController.js:170
msgid "Weird"
msgstr ""
#: src/ui/PixelTransferController.js:171
msgid "Couldn't set Pixel" msgid "Couldn't set Pixel"
msgstr "" msgstr ""
#: src/ui/PixelTransferController.js:175 #: src/ui/PixelTransferController.js:176
#, javascript-format #, javascript-format
msgid "Error ${ retCode }" msgid "Error ${ retCode }"
msgstr "" msgstr ""
@ -191,6 +177,11 @@ msgstr ""
msgid "Can't render 3D canvas, do you have WebGL2 disabled?" msgid "Can't render 3D canvas, do you have WebGL2 disabled?"
msgstr "" msgstr ""
#: src/ui/templateLoader.js:230
#: src/ui/templateLoader.js:256
msgid "Error :("
msgstr ""
#: src/ui/templateLoader.js:231 #: src/ui/templateLoader.js:231
msgid "Can not export more than 20 or no template!" msgid "Can not export more than 20 or no template!"
msgstr "" msgstr ""
@ -348,14 +339,14 @@ msgstr ""
msgid "User Area" msgid "User Area"
msgstr "" msgstr ""
#: src/components/buttons/DownloadButton.jsx:36
msgid "Make Screenshot"
msgstr ""
#: src/components/buttons/GlobeButton.jsx:34 #: src/components/buttons/GlobeButton.jsx:34
msgid "Globe View" msgid "Globe View"
msgstr "" msgstr ""
#: src/components/buttons/DownloadButton.jsx:36
msgid "Make Screenshot"
msgstr ""
#: src/components/buttons/PalselButton.jsx:30 #: src/components/buttons/PalselButton.jsx:30
msgid "Close Palette" msgid "Close Palette"
msgstr "" msgstr ""
@ -404,12 +395,24 @@ msgstr ""
msgid "Canvas Archive" msgid "Canvas Archive"
msgstr "" msgstr ""
#: src/components/BanInfo.jsx:66 #: src/components/GlobalCaptcha.jsx:47
msgid "You are banned. You think it is unjustified? Check out the " msgid "You took too long, try again."
msgstr "" msgstr ""
#: src/components/BanInfo.jsx:76 #: src/components/GlobalCaptcha.jsx:50
msgid " on how to appeal." 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 "" msgstr ""
#: src/components/BanInfo.jsx:80 #: src/components/BanInfo.jsx:80
@ -425,6 +428,29 @@ msgstr ""
msgid "Error" msgid "Error"
msgstr "" 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/BanInfo.jsx:85
#: src/components/ModIIDtools.jsx:73 #: src/components/ModIIDtools.jsx:73
msgid "Reason" msgid "Reason"
@ -459,41 +485,6 @@ msgstr ""
msgid "Why?" msgid "Why?"
msgstr "" 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 #: src/components/windows/Help.jsx:65
msgid "Place color pixels on a large canvas with other players online!" msgid "Place color pixels on a large canvas with other players online!"
msgstr "" msgstr ""
@ -661,7 +652,7 @@ msgstr ""
#: src/components/windows/Help.jsx:110 #: src/components/windows/Help.jsx:110
msgid "" msgid ""
"We thanks those artists very much, they offered their palettes to the " "We thank the following artists, who made their palettes available to the "
"public on" "public on"
msgstr "" msgstr ""
@ -855,7 +846,7 @@ msgid ""
"Select the canvas you want to use.\n" "Select the canvas you want to use.\n"
"Every canvas is unique and has different palettes, cooldown and " "Every canvas is unique and has different palettes, cooldown and "
"requirements.\n" "requirements.\n"
"Archive of removed canvases can be accessed here:" "Achieved canvases can be accessed here:"
msgstr "" msgstr ""
#: src/components/windows/CanvasSelect.jsx:37 #: src/components/windows/CanvasSelect.jsx:37
@ -869,14 +860,14 @@ msgstr ""
#: src/components/windows/Archive.jsx:9 #: src/components/windows/Archive.jsx:9
msgid "" msgid ""
"While we tend to not delete canvases, some canvases are started for fun or " "While we tend to not delete canvases, some canvases are started for fun or "
"as a request by users who currently like a meme. Those canvases can get " "as a request by users who like a currently popular meme. Those canvases can "
"boring after a while and after weeks of no major change and if they really " "become dull and inactive after a while, at which point there is no reason "
"aren't worth being kept active." "to keep them and we may decide to remove them."
msgstr "" msgstr ""
#: src/components/windows/Archive.jsx:10 #: src/components/windows/Archive.jsx:10
msgid "" msgid ""
"Here we collect removed canvases to archive them in a proper way. Which is " "Here we collect removed canvases to archive them properly. Which is "
"currently only one." "currently only one."
msgstr "" msgstr ""
@ -956,6 +947,54 @@ msgstr ""
msgid "Enter Characters" msgid "Enter Characters"
msgstr "" 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 #: src/components/GetIID.jsx:44
msgid "Get IID" msgid "Get IID"
msgstr "" msgstr ""
@ -993,7 +1032,7 @@ msgid "Show templates as overlays ingame."
msgstr "" msgstr ""
#: src/components/TemplateSettings.jsx:73 #: src/components/TemplateSettings.jsx:73
msgid "Small Pixels Zoom" msgid "Small Pixels When Zoomed"
msgstr "" msgstr ""
#: src/components/TemplateSettings.jsx:78 #: src/components/TemplateSettings.jsx:78
@ -1214,54 +1253,6 @@ msgstr ""
msgid "Ranking updates every 5 min. Daily rankings get reset at midnight UTC." msgid "Ranking updates every 5 min. Daily rankings get reset at midnight UTC."
msgstr "" 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 #: src/components/CanvasItem.jsx:29
msgid "Online Users" msgid "Online Users"
msgstr "" msgstr ""
@ -1309,26 +1300,6 @@ msgstr ""
msgid "Dimensions" msgid "Dimensions"
msgstr "" 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/ModWatchtools.jsx:125
#: src/components/TemplateItem.jsx:54 #: src/components/TemplateItem.jsx:54
#: src/components/TemplateItemEdit.jsx:122 #: src/components/TemplateItemEdit.jsx:122
@ -1387,7 +1358,7 @@ msgid "Passwords do not match."
msgstr "" msgstr ""
#: src/components/ChangePassword.jsx:44 #: src/components/ChangePassword.jsx:44
msgid "Changed Password successfully." msgid "Password successfully changed."
msgstr "" msgstr ""
#: src/components/ChangePassword.jsx:88 #: src/components/ChangePassword.jsx:88
@ -1619,6 +1590,26 @@ msgstr ""
msgid "(0 = infinite)" msgid "(0 = infinite)"
msgstr "" 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 #: src/components/contextmenus/UserContextMenu.jsx:49
msgid "Ping" msgid "Ping"
msgstr "" msgstr ""

View File

@ -29,16 +29,16 @@ function getCanvases(t) {
11: t`Minimap`, 11: t`Minimap`,
}; };
const canvasDesc = { const canvasDesc = {
0: t`Our main canvas, a huge map of the world. Place everywhere you like`, 0: t`Our main canvas, a huge map of the world. Place anywhere you like!`,
1: t`Moon canvas. Safe space for art. No flags or large text (unless part of art) or art larger than 1.5k x 1.5k pixels.`, 1: t`Moon canvas. Safe space for art. No flags or large text (unless part of art) or art larger than 1.5k x 1.5k pixels.`,
2: t`Place Voxels on a 3D canvas with others`, 2: t`Place Voxels on a 3D canvas with others.`,
3: t`Special canvas to spread awareness of SARS-CoV2`, 3: t`Special canvas to spread awareness of SARS-CoV2 (take the vax).`,
5: t`Mirror of PixelZone`, 5: t`Mirror of PixelZone`,
6: t`Mirror of PixelCanvas`, 6: t`Mirror of PixelCanvas`,
7: t`Black and White canvas`, 7: t`Black and White canvas`,
8: t`A canvas for the most active players from the the previous day. Daily ranking updates at 00:00 UTC.`, 8: t`A canvas for the most active players from the the previous day. Daily ranking updates at 00:00 UTC.`,
10: t`Only four colors. Same rules as moon.`, 10: t`Only four colors. Same rules as moon!`,
11: t`Conquer land on a smaller earth with protected ocean. Shares cooldown with earth canvas.`, 11: t`Conquer land on a smaller earth with protected ocean. Shares cooldown with earth canvas!`,
}; };
/* /*
* no edit below here needed when adding/removing canvas * no edit below here needed when adding/removing canvas

View File

@ -41,7 +41,7 @@ const ChangePassword = ({ done }) => {
if (success) { if (success) {
return ( return (
<div className="inarea"> <div className="inarea">
<p className="modalmessage">{t`Changed Password successfully.`}</p> <p className="modalmessage">{t`Password successfully changed.`}</p>
<button type="button" onClick={done}>Close</button> <button type="button" onClick={done}>Close</button>
</div> </div>
); );

View File

@ -36,7 +36,7 @@ const CoordinatesBox = () => {
className="coorbox" className="coorbox"
onClick={() => { onClick={() => {
copy(window.location.hash); copy(window.location.hash);
dispatch(notify(t`Copied!`)); dispatch(notify(t`Copied`));
}} }}
role="button" role="button"
title={t`Copy to Clipboard`} title={t`Copy to Clipboard`}

View File

@ -48,7 +48,7 @@ const GetIID = () => {
type="button" type="button"
onClick={() => { onClick={() => {
copyTextToClipboard(iid); copyTextToClipboard(iid);
dispatch(notify(t`Copied!`)); dispatch(notify(t`Copied`));
}} }}
>{t`Copy`}</button> >{t`Copy`}</button>
)} )}

View File

@ -70,7 +70,7 @@ const TemplateSettings = () => {
{t`Show templates as overlays ingame.`} {t`Show templates as overlays ingame.`}
</SettingsItem> </SettingsItem>
<SettingsItem <SettingsItem
title={t`Small Pixels Zoom`} title={t`Small Pixels When Zoomed`}
value={oSmallPxls} value={oSmallPxls}
onToggle={() => dispatch(toggleSmallPxls())} onToggle={() => dispatch(toggleSmallPxls())}
> >

View File

@ -6,8 +6,8 @@ import { t } from 'ttag';
const Archive = () => ( const Archive = () => (
<div className="content"> <div className="content">
<p> <p>
{t`While we tend to not delete canvases, some canvases are started for fun or as a request by users who currently like a meme. Those canvases can get boring after a while and after weeks of no major change and if they really aren't worth being kept active.`}<br /> {t`While we tend to not delete canvases, some canvases are started for fun or as a request by users who like a currently popular meme. Those canvases can become dull and inactive after a while, at which point there is no reason to keep them and we may decide to remove them.`}<br />
{t`Here we collect removed canvases to archive them in a proper way. Which is currently only one.`} {t`Here we collect removed canvases to archive them properly. Which is currently only one.`}
</p> </p>
<h3>{t`Political Compass Canvas`}</h3> <h3>{t`Political Compass Canvas`}</h3>
<img <img

View File

@ -28,7 +28,7 @@ const CanvasSelect = () => {
<p> <p>
{t`Select the canvas you want to use. {t`Select the canvas you want to use.
Every canvas is unique and has different palettes, cooldown and requirements. Every canvas is unique and has different palettes, cooldown and requirements.
Archive of removed canvases can be accessed here:`}&nbsp; Achieved canvases can be accessed here:`}&nbsp;
<span <span
role="button" role="button"
tabIndex={0} tabIndex={0}

View File

@ -107,7 +107,7 @@ const Help = () => {
</div> </div>
<h3>Palette Credits</h3> <h3>Palette Credits</h3>
<div> <div>
{jt`We thanks those artists very much, they offered their palettes to the public on`}&nbsp; {jt`We thank the following artists, who made their palettes available to the public on`}&nbsp;
<a href="https://lospec.com/">lospec.com</a> <a href="https://lospec.com/">lospec.com</a>
<p> <p>
{jt`Credit for the Palette of the Moon goes to ${starhouseLink}.`} {jt`Credit for the Palette of the Moon goes to ${starhouseLink}.`}

View File

@ -208,7 +208,7 @@ export function createKeyDownHandler(store) {
const { hover } = store.getState().canvas; const { hover } = store.getState().canvas;
const text = hover.join('_'); const text = hover.join('_');
copy(text); copy(text);
store.dispatch(notify(t`Copied!`)); store.dispatch(notify(t`Copied`));
return; return;
} }
case 't': { case 't': {

View File

@ -431,7 +431,7 @@ export class ChatProvider {
`${name} / ${user.ip} tried to send chat message but is not allowed`, `${name} / ${user.ip} tried to send chat message but is not allowed`,
); );
if (allowed === 1) { if (allowed === 1) {
return t`You can not send chat messages with proxy`; return t`You can not send chat messages while using a proxy`;
} if (allowed === 100 && user.userlvl === 0) { } if (allowed === 100 && user.userlvl === 0) {
return t`Your country is temporary muted from this chat channel`; return t`Your country is temporary muted from this chat channel`;
} if (allowed === 101) { } if (allowed === 101) {

View File

@ -59,7 +59,7 @@ export default async (req, res) => {
if (mutedTtl !== -2) { if (mutedTtl !== -2) {
res.status(403); res.status(403);
res.json({ res.json({
errors: [t`Muted users can not do this.`], errors: [t`Muted Users can not do this.`],
}); });
return; return;
} }

View File

@ -43,7 +43,7 @@ export default async (req, res) => {
if (mutedTtl !== -2) { if (mutedTtl !== -2) {
res.status(403); res.status(403);
res.json({ res.json({
errors: [t`Muted users can not delete their account.`], errors: [t`Muted Users can not delete their account.`],
}); });
return; return;
} }

View File

@ -67,8 +67,9 @@ class PixelTransferController {
pxlCnt: 0, pxlCnt: 0,
}; };
store.dispatch(pAlert( store.dispatch(pAlert(
t`Error :(`, t`Timeout`,
t`Didn't get an answer from pixelplanet. Maybe try to refresh?`, // eslint-disable-next-line max-len
t`Didn't get an answer from pixelplanet. Try to refresh if this problem persists.`,
'error', 'error',
)); ));
} }
@ -124,12 +125,12 @@ class PixelTransferController {
msg = t`You have to be logged in to place on this canvas`; msg = t`You have to be logged in to place on this canvas`;
break; break;
case 7: case 7:
errorTitle = t`Place more :)`; errorTitle = t`Not allowed`;
// eslint-disable-next-line max-len // eslint-disable-next-line max-len
msg = t`You can not access this canvas yet. You need to place more pixels`; msg = t`You can not access this canvas yet, because your pixel score is too low`;
break; break;
case 8: case 8:
store.dispatch(notify(t`Pixel protected!`)); store.dispatch(notify(t`Pixel protected`));
break; break;
case 9: case 9:
// pixelstack used up // pixelstack used up
@ -140,7 +141,7 @@ class PixelTransferController {
type = 'captcha'; type = 'captcha';
break; break;
case 11: case 11:
errorTitle = t`No Proxies Allowed :(`; errorTitle = t`Not allowed`;
msg = t`You are using a Proxy.`; msg = t`You are using a Proxy.`;
break; break;
case 12: case 12:
@ -158,12 +159,12 @@ class PixelTransferController {
break; break;
case 15: case 15:
errorTitle = t`Range Banned`; errorTitle = t`Range Banned`;
msg = t`Your Internet Provider is banned from playing this game`; msg = t`Your Internet Provider is banned from this game`;
break; break;
case 16: case 16:
errorTitle = t`Timeout`; errorTitle = t`Timeout`;
// eslint-disable-next-line max-len // eslint-disable-next-line max-len
msg = t`Didn't get an answer from pixelplanet. Maybe try to refresh if problem persists?`; msg = t`Didn't get an answer from pixelplanet. Try to refresh if this problem persists.`;
break; break;
default: default:
errorTitle = t`Weird`; errorTitle = t`Weird`;