From 755bd67a12671026b58a09d50e2b81fb4f4cf5c2 Mon Sep 17 00:00:00 2001 From: HF Date: Sun, 31 Jan 2021 22:22:40 +0100 Subject: [PATCH] make int channel accessable for everyone again --- i18n/template-ssr.pot | 56 +-- i18n/template.pot | 1016 ++++++++++++++++++++++++++++++++++++++ src/core/ChatProvider.js | 32 +- 3 files changed, 1053 insertions(+), 51 deletions(-) diff --git a/i18n/template-ssr.pot b/i18n/template-ssr.pot index 931e52d..8070955 100644 --- a/i18n/template-ssr.pot +++ b/i18n/template-ssr.pot @@ -3,57 +3,57 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Plural-Forms: nplurals=2; plural=(n!=1);\n" -#: src/core/ChatProvider.js:243 +#: src/core/ChatProvider.js:301 msgid "You can not send chat messages with proxy" msgstr "" -#: src/core/ChatProvider.js:248 +#: src/core/ChatProvider.js:306 msgid "Couldn't send your message, pls log out and back in again." msgstr "" -#: src/core/ChatProvider.js:262 +#: src/core/ChatProvider.js:320 #, javascript-format msgid "You are sending messages too fast, you have to wait ${ waitTime }s :(" msgstr "" -#: src/core/ChatProvider.js:266 +#: src/core/ChatProvider.js:324 msgid "You don't have access to this channel" msgstr "" -#: src/core/ChatProvider.js:282 +#: src/core/ChatProvider.js:340 msgid "Your mail has to be verified in order to chat" msgstr "" -#: src/core/ChatProvider.js:287 +#: src/core/ChatProvider.js:345 msgid "You are permanently muted, join our guilded to apppeal the mute" msgstr "" -#: src/core/ChatProvider.js:292 +#: src/core/ChatProvider.js:350 #, javascript-format msgid "You are muted for another ${ timeMin } minutes" msgstr "" -#: src/core/ChatProvider.js:294 +#: src/core/ChatProvider.js:352 msgid "You are muted for another ${ muted } seconds" msgstr "" -#: src/core/ChatProvider.js:302 +#: src/core/ChatProvider.js:360 msgid "Ow no! Spam protection decided to mute you" msgstr "" -#: src/core/ChatProvider.js:313 +#: src/core/ChatProvider.js:371 msgid "You can't send a message this long :(" msgstr "" -#: src/core/ChatProvider.js:317 +#: src/core/ChatProvider.js:375 msgid "Please use int channel" msgstr "" -#: src/core/ChatProvider.js:321 +#: src/core/ChatProvider.js:379 msgid "Your country is temporary muted from chat" msgstr "" -#: src/core/ChatProvider.js:329 +#: src/core/ChatProvider.js:387 msgid "Stop flooding." msgstr "" @@ -294,6 +294,21 @@ msgstr "" msgid "You are not even logged in." msgstr "" +#: src/routes/api/auth/verify.js:25 +#: src/routes/api/auth/verify.js:32 +msgid "Mail verification" +msgstr "" + +#: src/routes/api/auth/verify.js:26 +msgid "You are now verified :)" +msgstr "" + +#: src/routes/api/auth/verify.js:32 +msgid "" +"Your mail verification code is invalid or already expired :(, please " +"request a new one." +msgstr "" + #: src/routes/api/auth/register.js:31 msgid "E-Mail already in use." msgstr "" @@ -310,21 +325,6 @@ msgstr "" msgid "Failed to establish session after register :(" msgstr "" -#: src/routes/api/auth/verify.js:25 -#: src/routes/api/auth/verify.js:32 -msgid "Mail verification" -msgstr "" - -#: src/routes/api/auth/verify.js:26 -msgid "You are now verified :)" -msgstr "" - -#: src/routes/api/auth/verify.js:32 -msgid "" -"Your mail verification code is invalid or already expired :(, please " -"request a new one." -msgstr "" - #: src/ssr-components/RedirectionPage.jsx:20 msgid "You will be automatically redirected after 15s" msgstr "" diff --git a/i18n/template.pot b/i18n/template.pot index 9630c59..8fb6174 100644 --- a/i18n/template.pot +++ b/i18n/template.pot @@ -91,6 +91,1022 @@ msgstr "" msgid "Error ${ retCode }" msgstr "" +#: src/components/CoordinatesBox.jsx:37 #: src/controls/keypress.js:59 msgid "Copied!" +msgstr "" + +#: src/components/Admintools.jsx:219 +#: src/components/ChannelContextMenu.jsx:85 +#: src/components/ModalRoot.jsx:60 +msgid "Close" +msgstr "" + +#: src/components/ExpandMenuButton.jsx:19 +msgid "Close Menu" +msgstr "" + +#: src/components/ExpandMenuButton.jsx:19 +msgid "Open Menu" +msgstr "" + +#: src/components/ChatButton.jsx:61 +msgid "Close Chat" +msgstr "" + +#: src/components/ChatButton.jsx:61 +msgid "Open Chat" +msgstr "" + +#: src/components/CanvasSelectModal.jsx:67 +#: src/components/CanvasSwitchButton.jsx:20 +msgid "Canvas Selection" +msgstr "" + +#: src/components/OnlineBox.jsx:22 +msgid "User online" +msgstr "" + +#: src/components/OnlineBox.jsx:25 +msgid "Pixels placed" +msgstr "" + +#: src/components/Converter.jsx:609 +#: src/components/CoordinatesBox.jsx:26 +msgid "Copy to Clipboard" +msgstr "" + +#: src/components/ForgotPasswordModal.jsx:16 +msgid "Enter your mail adress and we will send you a new password:" +msgstr "" + +#: src/components/ForgotPasswordModal.jsx:20 +#: src/components/RegisterModal.jsx:21 +#: src/components/UserAreaModal.jsx:130 +msgid "Consider joining us on Guilded:" +msgstr "" + +#: src/components/ForgotPasswordModal.jsx:37 +msgid "Restore my Password" +msgstr "" + +#: src/components/ChatModal.jsx:35 +msgid "Chat" +msgstr "" + +#: src/components/ArchiveModal.jsx:20 +msgid "" +"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, we decide to remove them." +msgstr "" + +#: src/components/ArchiveModal.jsx:22 +msgid "" +"Here we collect those canvases to archive them in a proper way (which is " +"currently just one)." +msgstr "" + +#: src/components/ArchiveModal.jsx:24 +msgid "Political Compass Canvas" +msgstr "" + +#: src/components/ArchiveModal.jsx:31 +msgid "" +"This canvas got requested during a time of political conflicts on the main " +"Earth canvas. It was a 1024x1024 representation of the political compass " +"with a 5s coolodwn and 60s stacking. It got launched on May 11th and " +"remained active for months till it got shut down on November 30th." +msgstr "" + +#: src/components/ArchiveModal.jsx:32 +msgid "" +"We decided to archive it as a timelapse with lossless encoded webm. Taking " +"a screenshot from the timelapse results in a perfect 1:1 representation of " +"how the canvas was at that time." +msgstr "" + +#: src/components/ArchiveModal.jsx:50 +msgid "Canvas Archive" +msgstr "" + +#: src/components/CanvasSelectModal.jsx:29 +msgid "" +"Select the canvas you want to use. Every canvas is unique and has different " +"palettes, cooldown and requirements. Archive of closed canvases can be " +"accessed here:" +msgstr "" + +#: src/components/CanvasSelectModal.jsx:37 +msgid "Archive" +msgstr "" + +#: src/components/RegisterModal.jsx:18 +msgid "Register new account here" +msgstr "" + +#: src/components/RegisterModal.jsx:38 +msgid "Register New Account" +msgstr "" + +#: src/components/UserAreaModal.jsx:33 +msgid "Login to access more features and stats." +msgstr "" + +#: src/components/UserAreaModal.jsx:35 +msgid "Login with Name or Mail:" +msgstr "" + +#: src/components/UserAreaModal.jsx:42 +msgid "I forgot my Password." +msgstr "" + +#: src/components/UserAreaModal.jsx:43 +msgid "or login with:" +msgstr "" + +#: src/components/UserAreaModal.jsx:84 +msgid "or register here:" +msgstr "" + +#: src/components/UserAreaModal.jsx:85 +msgid "Register" +msgstr "" + +#: src/components/UserAreaModal.jsx:107 +msgid "Profile" +msgstr "" + +#: src/components/UserAreaModal.jsx:113 +msgid "Ranking" +msgstr "" + +#: src/components/UserAreaModal.jsx:116 +msgid "Converter" +msgstr "" + +#: src/components/UserAreaModal.jsx:122 +msgid "Admintools" +msgstr "" + +#: src/components/UserAreaModal.jsx:122 +msgid "Modtools" +msgstr "" + +#: src/components/UserAreaModal.jsx:123 +msgid "Loading..." +msgstr "" + +#: src/components/LogInButton.jsx:20 +#: src/components/UserAreaModal.jsx:160 +msgid "User Area" +msgstr "" + +#: src/components/SettingsModal.jsx:123 +msgid "Show Grid" +msgstr "" + +#: src/components/SettingsModal.jsx:124 +msgid "Turn on grid to highlight pixel borders." +msgstr "" + +#: src/components/SettingsModal.jsx:130 +msgid "Show Pixel Activity" +msgstr "" + +#: src/components/SettingsModal.jsx:131 +msgid "Show circles where pixels are placed." +msgstr "" + +#: src/components/SettingsModal.jsx:137 +msgid "Disable Game Sounds" +msgstr "" + +#: src/components/SettingsModal.jsx:139 +msgid "All sound effects will be disabled." +msgstr "" + +#: src/components/SettingsModal.jsx:145 +msgid "Enable chat notifications" +msgstr "" + +#: src/components/SettingsModal.jsx:146 +msgid "Play a sound when new chat messages arrive" +msgstr "" + +#: src/components/SettingsModal.jsx:151 +msgid "Auto Zoom In" +msgstr "" + +#: src/components/SettingsModal.jsx:153 +msgid "" +"Zoom in instead of placing a pixel when you tap the canvas and your zoom is " +"small." +msgstr "" + +#: src/components/SettingsModal.jsx:158 +msgid "Compact Palette" +msgstr "" + +#: src/components/SettingsModal.jsx:160 +msgid "Display Palette in a compact form that takes less screen space." +msgstr "" + +#: src/components/SettingsModal.jsx:165 +msgid "Potato Mode" +msgstr "" + +#: src/components/SettingsModal.jsx:166 +msgid "For when you are playing on a potato." +msgstr "" + +#: src/components/Converter.jsx:423 +#: src/components/SettingsModal.jsx:171 +msgid "Light Grid" +msgstr "" + +#: src/components/SettingsModal.jsx:172 +msgid "Show Grid in white instead of black." +msgstr "" + +#: src/components/SettingsModal.jsx:179 +msgid "Historical View" +msgstr "" + +#: src/components/SettingsModal.jsx:180 +msgid "Check out past versions of the canvas." +msgstr "" + +#: src/components/SettingsModal.jsx:188 +msgid "Themes" +msgstr "" + +#: src/components/SettingsModal.jsx:189 +msgid "How pixelplanet should look like." +msgstr "" + +#: src/components/SettingsButton.jsx:20 +#: src/components/SettingsModal.jsx:267 +msgid "Settings" +msgstr "" + +#: src/components/HelpModal.jsx:34 +#: src/components/HelpModal.jsx:35 +msgid "Privacy Policy" +msgstr "" + +#: src/components/HelpModal.jsx:36 +#: src/components/HelpModal.jsx:37 +msgid "Terms of Service" +msgstr "" + +#: src/components/HelpModal.jsx:40 +msgid "your IP" +msgstr "" + +#: src/components/HelpModal.jsx:46 +msgid "Place color pixels on a large canvas with other players online!" +msgstr "" + +#: src/components/HelpModal.jsx:47 +msgid "" +"Our main canvas is a huge worldmap, you can place wherever you like, but " +"you will have to wait a specific Cooldown between pixels. You can check out " +"the cooldown and requiremnts on the Canvas Selection menu (globe button on " +"top). Some canvases have a different cooldown for replacing a user-set " +"pixels than placing on a unset pixel. i.e. 4s/7s means 4s on fresh pixels " +"and 7s on already set pixels." +msgstr "" + +#: src/components/HelpModal.jsx:51 +msgid "" +"Higher zoomlevels take some time to update, the 3D globe gets updated at " +"least once per day." +msgstr "" + +#: src/components/HelpModal.jsx:52 +msgid "Have fun!" +msgstr "" + +#: src/components/HelpModal.jsx:54 +msgid "recommended" +msgstr "" + +#: src/components/HelpModal.jsx:55 +msgid "Source on " +msgstr "" + +#: src/components/HelpModal.jsx:56 +msgid "Map Data" +msgstr "" + +#: src/components/HelpModal.jsx:57 +msgid "" +"The bare map data that we use, together with converted OpenStreetMap tiles " +"for orientation, can be downloaded from mega.nz here: " +msgstr "" + +#: src/components/HelpModal.jsx:59 +msgid "Detected as Proxy?" +msgstr "" + +#: src/components/HelpModal.jsx:61 +#, javascript-format +msgid "" +"If you got detected as proxy, but you are none, please go to our ${ " +"guildedLink } or send us an e-mail with ${ getIPLink } to ${ mailLink }. Do " +"not post your IP anywhere else. We are sorry for the inconvenience." +msgstr "" + +#: src/components/HelpModal.jsx:63 +#: src/components/HelpModal.jsx:80 +msgid "Controls" +msgstr "" + +#: src/components/HelpModal.jsx:65 +msgid "Click a color in palette to select it" +msgstr "" + +#: src/components/HelpModal.jsx:66 +#, javascript-format +msgid "Press ${ bindG } to toggle grid" +msgstr "" + +#: src/components/HelpModal.jsx:67 +msgid "Press ${ bindX } to toggle showing of pixel activity" +msgstr "" + +#: src/components/HelpModal.jsx:68 +#, javascript-format +msgid "Press ${ bindH } to toggle historical view" +msgstr "" + +#: src/components/HelpModal.jsx:69 +msgid "Press ${ bindR } to copy coordinates" +msgstr "" + +#: src/components/HelpModal.jsx:70 +#, javascript-format +msgid "Press ${ bindQ } or ${ bindE } to zoom" +msgstr "" + +#: src/components/HelpModal.jsx:71 +#: src/components/HelpModal.jsx:82 +#, javascript-format +msgid "Press ${ bindW }, ${ bindA }, ${ bindS }, ${ bindD } to move" +msgstr "" + +#: src/components/HelpModal.jsx:72 +#: src/components/HelpModal.jsx:83 +#, javascript-format +msgid "Press ${ bindAUp }, ${ bindALeft }, ${ bindADown }, ${ bindARight } to move" +msgstr "" + +#: src/components/HelpModal.jsx:73 +msgid "Drag ${ mouseSymbol } mouse or ${ touchSymbol } pan to move" +msgstr "" + +#: src/components/HelpModal.jsx:74 +#, javascript-format +msgid "Scroll ${ mouseSymbol } mouse wheel or ${ touchSymbol } pinch to zoom" +msgstr "" + +#: src/components/HelpModal.jsx:75 +msgid "Hold left ${ bindShift } for placing while moving mouse" +msgstr "" + +#: src/components/HelpModal.jsx:76 +#, javascript-format +msgid "" +"Hold right ${ bindShift } for placing while moving mouse according to " +"historical view" +msgstr "" + +#: src/components/HelpModal.jsx:77 +#: src/components/HelpModal.jsx:88 +#, javascript-format +msgid "${ mouseSymbol } Left click or ${ touchSymbol } tap to place a pixel" +msgstr "" + +#: src/components/HelpModal.jsx:78 +#: src/components/HelpModal.jsx:90 +msgid "" +"Click ${ mouseSymbol } middle mouse button or ${ touchSymbol } long-tap to " +"select current hovering color" +msgstr "" + +#: src/components/HelpModal.jsx:84 +msgid "Press ${ bindE } and ${ bindC } to fly up and down" +msgstr "" + +#: src/components/HelpModal.jsx:85 +#, javascript-format +msgid "${ mouseSymbol } Hold left mouse button and drag mouse to rotate" +msgstr "" + +#: src/components/HelpModal.jsx:86 +#, javascript-format +msgid "" +"${ mouseSymbol } Scroll mouse wheel or hold ${ mouseSymbol } middle mouse " +"button and drag to zoom" +msgstr "" + +#: src/components/HelpModal.jsx:87 +msgid "${ mouseSymbol } Right click and drag mouse to pan" +msgstr "" + +#: src/components/HelpModal.jsx:89 +#, javascript-format +msgid "" +"${ mouseSymbol } Right click or ${ touchSymbol } double-tap to remove a " +"pixel" +msgstr "" + +#: src/components/HelpModal.jsx:92 +msgid "Partners:" +msgstr "" + +#: src/components/HelpModal.jsx:97 +#, javascript-format +msgid "" +"This site is protected by reCAPTCHA and the Google ${ reCaptchaPP } and ${ " +"reCaptchaTOS } apply." +msgstr "" + +#: src/components/HelpModal.jsx:103 +msgid "" +"This site is protected by hCAPTCHA and its ${ hCaptchaPP } and ${ " +"hCaptchaTOS } apply." +msgstr "" + +#: src/components/HelpModal.jsx:113 +msgid "Welcome to PixelPlanet.fun" +msgstr "" + +#: src/components/ChannelContextMenu.jsx:73 +msgid "Mute" +msgstr "" + +#: src/components/UserContextMenu.jsx:72 +msgid "Ping" +msgstr "" + +#: src/components/UserContextMenu.jsx:97 +msgid "DM" +msgstr "" + +#: src/components/UserContextMenu.jsx:107 +msgid "Block" +msgstr "" + +#: src/components/PalselButton.jsx:25 +msgid "Close Palette" +msgstr "" + +#: src/components/PalselButton.jsx:25 +msgid "Open Palette" +msgstr "" + +#: src/components/GlobeButton.jsx:31 +msgid "Globe View" +msgstr "" + +#: src/components/DownloadButton.jsx:37 +msgid "Make Screenshot" +msgstr "" + +#: src/components/HelpButton.jsx:20 +msgid "Help" +msgstr "" + +#: src/components/Chat.jsx:143 +msgid "Channel settings" +msgstr "" + +#: src/components/Chat.jsx:152 +msgid "maximize" +msgstr "" + +#: src/components/Chat.jsx:168 +msgid "Start chatting here" +msgstr "" + +#: src/components/Chat.jsx:200 +msgid "Chat here" +msgstr "" + +#: src/components/Chat.jsx:220 +msgid "You must be logged in to chat" +msgstr "" + +#: src/components/UserArea.jsx:57 +msgid "Todays Placed Pixels" +msgstr "" + +#: src/components/UserArea.jsx:61 +msgid "Daily Rank" +msgstr "" + +#: src/components/UserArea.jsx:66 +msgid "Placed Pixels" +msgstr "" + +#: src/components/UserArea.jsx:70 +msgid "Total Rank" +msgstr "" + +#: src/components/UserArea.jsx:75 +#, javascript-format +msgid "Your name is: ${ name }" +msgstr "" + +#: src/components/UserArea.jsx:81 +msgid "Log out" +msgstr "" + +#: src/components/UserArea.jsx:93 +msgid "Change Username" +msgstr "" + +#: src/components/UserArea.jsx:108 +msgid "Change Mail" +msgstr "" + +#: src/components/UserArea.jsx:122 +msgid "Change Password" +msgstr "" + +#: src/components/UserArea.jsx:134 +msgid "Delete Account" +msgstr "" + +#: src/components/UserArea.jsx:147 +msgid "Social Settings" +msgstr "" + +#: src/components/Rankings.jsx:37 +msgid "Total" +msgstr "" + +#: src/components/Rankings.jsx:45 +msgid "Daily" +msgstr "" + +#: src/components/Rankings.jsx:49 +msgid "Ranking updates every 5 min. Daily rankings get reset at midnight UTC." +msgstr "" + +#: src/components/ChangeMail.jsx:104 +#: src/components/ChangeName.jsx:82 +#: src/components/ChangePassword.jsx:120 +#: src/components/DeleteAccount.jsx:82 +#: src/components/LogInForm.jsx:97 +#: src/components/NewPasswordForm.jsx:93 +#: src/components/SignUpForm.jsx:118 +msgid "Error" +msgstr "" + +#: src/components/LogInForm.jsx:104 +msgid "Name or Email" +msgstr "" + +#: src/components/ChangeMail.jsx:112 +#: src/components/DeleteAccount.jsx:89 +#: src/components/LogInForm.jsx:111 +#: src/components/SignUpForm.jsx:140 +msgid "Password" +msgstr "" + +#: src/components/LogInForm.jsx:115 +msgid "LogIn" +msgstr "" + +#: src/components/Admintools.jsx:179 +msgid "Build image on canvas." +msgstr "" + +#: src/components/Admintools.jsx:182 +msgid "Build image and set it to protected." +msgstr "" + +#: src/components/Admintools.jsx:185 +msgid "Build image, but reset cooldown to unset-pixel cd." +msgstr "" + +#: src/components/Admintools.jsx:248 +msgid "Image Upload" +msgstr "" + +#: src/components/Admintools.jsx:249 +msgid "Upload images to canvas" +msgstr "" + +#: src/components/Admintools.jsx:251 +msgid "File" +msgstr "" + +#: src/components/Admintools.jsx:271 +msgid "Coordinates in X_Y format:" +msgstr "" + +#: src/components/Admintools.jsx:306 +#: src/components/Admintools.jsx:387 +#: src/components/Admintools.jsx:461 +#: src/components/Admintools.jsx:505 +#: src/components/Admintools.jsx:589 +#: src/components/NewPasswordForm.jsx:104 +#: src/components/SignUpForm.jsx:152 +msgid "Submit" +msgstr "" + +#: src/components/Admintools.jsx:311 +msgid "Pixel Protection" +msgstr "" + +#: src/components/Admintools.jsx:313 +msgid "" +"Set protection of areas (if you need finer grained control, " +"use protect with image upload and alpha layers)" +msgstr "" + +#: src/components/Admintools.jsx:392 +msgid "Rollback to Date" +msgstr "" + +#: src/components/Admintools.jsx:394 +msgid "Rollback an area of the canvas to a set date (00:00 UTC)" +msgstr "" + +#: src/components/Admintools.jsx:468 +msgid "IP Actions" +msgstr "" + +#: src/components/Admintools.jsx:470 +msgid "Do stuff with IPs (one IP per line)" +msgstr "" + +#: src/components/Admintools.jsx:510 +msgid "Manage Moderators" +msgstr "" + +#: src/components/Admintools.jsx:512 +msgid "Remove Moderator" +msgstr "" + +#: src/components/Admintools.jsx:544 +msgid "There are no mods" +msgstr "" + +#: src/components/Admintools.jsx:549 +msgid "Assign new Mod" +msgstr "" + +#: src/components/Admintools.jsx:552 +msgid "Enter UserName of new Mod" +msgstr "" + +#: src/components/Admintools.jsx:561 +msgid "User Name" +msgstr "" + +#: src/components/CanvasItem.jsx:46 +msgid "Cooldown" +msgstr "" + +#: src/components/CanvasItem.jsx:52 +msgid "Stacking till" +msgstr "" + +#: src/components/CanvasItem.jsx:54 +msgid "Ranked" +msgstr "" + +#: src/components/CanvasItem.jsx:56 +msgid "Requirements" +msgstr "" + +#: src/components/CanvasItem.jsx:58 +msgid "User Account" +msgstr "" + +#: src/components/CanvasItem.jsx:60 +#, javascript-format +msgid "and ${ canvas.req } Pixels set" +msgstr "" + +#: src/components/CanvasItem.jsx:64 +msgid "Dimensions" +msgstr "" + +#: src/components/SignUpForm.jsx:126 +msgid "Name" +msgstr "" + +#: src/components/NewPasswordForm.jsx:100 +#: src/components/SignUpForm.jsx:133 +msgid "Email" +msgstr "" + +#: src/components/SignUpForm.jsx:149 +msgid "Confirm Password" +msgstr "" + +#: src/components/ChangeMail.jsx:125 +#: src/components/ChangeName.jsx:94 +#: src/components/ChangePassword.jsx:152 +#: src/components/DeleteAccount.jsx:95 +#: src/components/NewPasswordForm.jsx:106 +#: src/components/SignUpForm.jsx:158 +msgid "Cancel" +msgstr "" + +#: src/components/Converter.jsx:274 +msgid "Choose Canvas" +msgstr "" + +#: src/components/Converter.jsx:300 +msgid "Palette Download" +msgstr "" + +#: src/components/Converter.jsx:302 +#, javascript-format +msgid "Palette for ${ gimpLink }" +msgstr "" + +#: src/components/Converter.jsx:320 +#, javascript-format +msgid "Credit for the Palette of the Moon goes to ${ starhouseLink }." +msgstr "" + +#: src/components/Converter.jsx:323 +msgid "Image Converter" +msgstr "" + +#: src/components/Converter.jsx:324 +msgid "Convert an image to canvas colors" +msgstr "" + +#: src/components/Converter.jsx:335 +msgid "Choose Strategy" +msgstr "" + +#: src/components/Converter.jsx:362 +msgid "Choose Color Mode" +msgstr "" + +#: src/components/Converter.jsx:400 +msgid "Add Grid (uncheck if you need a 1:1 template)" +msgstr "" + +#: src/components/Converter.jsx:425 +#: src/components/Converter.jsx:441 +msgid "Offset" +msgstr "" + +#: src/components/Converter.jsx:471 +msgid "Scale Image" +msgstr "" + +#: src/components/Converter.jsx:483 +msgid "Width" +msgstr "" + +#: src/components/Converter.jsx:513 +msgid "Height" +msgstr "" + +#: src/components/Converter.jsx:551 +msgid "Keep Ratio" +msgstr "" + +#: src/components/Converter.jsx:564 +msgid "Anti Aliasing" +msgstr "" + +#: src/components/Converter.jsx:578 +msgid "Reset" +msgstr "" + +#: src/components/Converter.jsx:597 +msgid "Download Template" +msgstr "" + +#: src/components/NewPasswordForm.jsx:83 +msgid "Sent you a mail with instructions to reset your password." +msgstr "" + +#: src/utils/validation.js:18 +msgid "Email can't be empty." +msgstr "" + +#: src/utils/validation.js:19 +msgid "Email should be at least 5 characters long." +msgstr "" + +#: src/utils/validation.js:20 +msgid "Email can't be longer than 40 characters." +msgstr "" + +#: src/utils/validation.js:21 +msgid "Email should at least contain a dot" +msgstr "" + +#: src/utils/validation.js:23 +msgid "Email should contain a @" +msgstr "" + +#: src/utils/validation.js:30 +msgid "Name can't be empty." +msgstr "" + +#: src/utils/validation.js:31 +msgid "Name must be at least 4 characters long" +msgstr "" + +#: src/utils/validation.js:32 +msgid "Name must be shorter than 26 characters" +msgstr "" + +#: src/utils/validation.js:39 +msgid "Name contains invalid character like @, /, \\ or #" +msgstr "" + +#: src/utils/validation.js:54 +msgid "No password given." +msgstr "" + +#: src/utils/validation.js:57 +msgid "Password must be at least 6 characters long." +msgstr "" + +#: src/utils/validation.js:60 +msgid "Password must be shorter than 60 characters." +msgstr "" + +#: src/utils/validation.js:74 +msgid "Could not connect to server, please try again later :(" +msgstr "" + +#: src/utils/validation.js:80 +msgid "I think we experienced some error :(" +msgstr "" + +#: src/components/DeleteAccount.jsx:93 +msgid "Yes, Delete My Account!" +msgstr "" + +#: src/components/SocialSettings.jsx:39 +msgid "Block all Private Messages" +msgstr "" + +#: src/components/SocialSettings.jsx:57 +msgid "Unblock Users" +msgstr "" + +#: src/components/SocialSettings.jsx:81 +msgid "You have no users blocked" +msgstr "" + +#: src/components/ChangeMail.jsx:89 +msgid "" +"Changed Mail successfully. We sent you a verification mail, " +"please verify your new mail adress." +msgstr "" + +#: src/components/ChangeMail.jsx:119 +msgid "New Mail" +msgstr "" + +#: src/components/ChangeMail.jsx:123 +#: src/components/ChangeName.jsx:92 +#: src/components/ChangePassword.jsx:150 +msgid "Save" +msgstr "" + +#: src/components/ChangeName.jsx:88 +msgid "New Username" +msgstr "" + +#: src/components/ChangePassword.jsx:18 +msgid "Passwords do not match." +msgstr "" + +#: src/components/ChangePassword.jsx:103 +msgid "Changed Password successfully." +msgstr "" + +#: src/components/ChangePassword.jsx:129 +msgid "Old Password" +msgstr "" + +#: src/components/ChangePassword.jsx:137 +msgid "New Password" +msgstr "" + +#: src/components/ChangePassword.jsx:146 +msgid "Confirm New Password" +msgstr "" + +#: src/components/UserMessages.jsx:41 +msgid "A new verification mail is getting sent to you." +msgstr "" + +#: src/components/UserMessages.jsx:75 +msgid "You successfully linked your mc account." +msgstr "" + +#: src/components/UserMessages.jsx:76 +msgid "You denied." +msgstr "" + +#: src/components/UserMessages.jsx:94 +msgid "" +"Please verify your mail address \n" +"or your account could get deleted after a few days." +msgstr "" + +#: src/components/UserMessages.jsx:111 +msgid "Click here to request a new verification mail." +msgstr "" + +#: src/components/UserMessages.jsx:120 +#, javascript-format +msgid "You requested to link your mc account ${ minecraftname }." +msgstr "" + +#: src/components/UserMessages.jsx:140 +msgid "Accept" +msgstr "" + +#: src/components/UserMessages.jsx:150 +msgid "Deny" +msgstr "" + +#: src/components/HelpModal.jsx:15 +#: src/components/SettingsModal.jsx:125 +msgctxt "keybinds" +msgid "G" +msgstr "" + +#: src/components/HelpModal.jsx:16 +#: src/components/SettingsModal.jsx:132 +msgctxt "keybinds" +msgid "X" +msgstr "" + +#: src/components/SettingsModal.jsx:140 +msgctxt "keybinds" +msgid "M" +msgstr "" + +#: src/components/HelpModal.jsx:17 +#: src/components/SettingsModal.jsx:182 +msgctxt "keybinds" +msgid "H" +msgstr "" + +#: src/components/HelpModal.jsx:18 +msgctxt "keybinds" +msgid "R" +msgstr "" + +#: src/components/HelpModal.jsx:19 +msgctxt "keybinds" +msgid "Q" +msgstr "" + +#: src/components/HelpModal.jsx:20 +msgctxt "keybinds" +msgid "E" +msgstr "" + +#: src/components/HelpModal.jsx:21 +msgctxt "keybinds" +msgid "W" +msgstr "" + +#: src/components/HelpModal.jsx:22 +msgctxt "keybinds" +msgid "A" +msgstr "" + +#: src/components/HelpModal.jsx:23 +msgctxt "keybinds" +msgid "S" +msgstr "" + +#: src/components/HelpModal.jsx:24 +msgctxt "keybinds" +msgid "D" +msgstr "" + +#: src/components/HelpModal.jsx:31 +msgctxt "keybinds" +msgid "Shift" +msgstr "" + +#: src/components/HelpModal.jsx:32 +msgctxt "keybinds" +msgid "C" msgstr "" \ No newline at end of file diff --git a/src/core/ChatProvider.js b/src/core/ChatProvider.js index 12b6b95..90b354b 100644 --- a/src/core/ChatProvider.js +++ b/src/core/ChatProvider.js @@ -16,7 +16,6 @@ export class ChatProvider { this.defaultChannels = {}; this.langChannels = {}; this.enChannelId = 0; - this.intChannel = {}; this.infoUserId = 1; this.eventUserId = 1; this.caseCheck = /^[A-Z !.]*$/; @@ -64,17 +63,11 @@ export class ChatProvider { if (name === 'en') { this.enChannelId = id; } - if (name === 'int') { - this.intChannel = { - [id]: [name, type, lastTs], - }; - } else { - this.defaultChannels[id] = [ - name, - type, - lastTs, - ]; - } + this.defaultChannels[id] = [ + name, + type, + lastTs, + ]; } // find or create non-english lang channels const langs = Object.keys(ttags); @@ -129,7 +122,7 @@ export class ChatProvider { } getDefaultChannels(lang) { - let langChannel = {}; + const langChannel = {}; if (lang && lang !== 'default') { const { langChannels } = this; if (langChannels[lang]) { @@ -137,8 +130,6 @@ export class ChatProvider { id, type, lastTs, } = langChannels[lang]; langChannel[id] = [lang, type, lastTs]; - } else { - langChannel = this.intChannel; } } return { @@ -177,19 +168,14 @@ export class ChatProvider { if (this.defaultChannels[cid]) { return true; } + if (user.channels[cid]) { + return true; + } const { lang } = user; if (this.langChannels[lang] && this.langChannels[lang].id === cid) { return true; } - if (this.intChannel[cid] - && user.lang !== 'default' - && !this.langChannels[user.lang]) { - return true; - } - if (user.channels[cid]) { - return true; - } return false; }