diff --git a/src/components/Admintools.jsx b/src/components/Admintools.jsx index a2b1542..e630503 100644 --- a/src/components/Admintools.jsx +++ b/src/components/Admintools.jsx @@ -88,7 +88,7 @@ function Admintools() { {resp && (
+
{line}
))} @@ -105,7 +105,7 @@ function Admintools() {+
{t`Do stuff with IPs (one IP per line)`}
+
{t`Remove Moderator`}
{(modlist.length) ? ( @@ -188,14 +188,14 @@ function Admintools() { ) : ( -{t`There are no mods`}
+{t`There are no mods`}
)}+
{t`Assign new Mod`}
-+
{t`Enter UserName of new Mod`}: { >
+
{message}
)} diff --git a/src/components/BanInfo.jsx b/src/components/BanInfo.jsx index a7a6e2b..fe6ba93 100644 --- a/src/components/BanInfo.jsx +++ b/src/components/BanInfo.jsx @@ -63,7 +63,7 @@ const BanInfo = ({ close }) => { return (+
{t`You are banned. You think it is unjustifed? Check out the `}
{
{(reason) && (
{reason} {reason} {mod} {mod}
+
{t`Your ban expires at `}
{expire}
{t` which is in `}
@@ -111,7 +111,7 @@ const BanInfo = ({ close }) => {
{(expireTs < 0) && (
{t`Now that you have seen this message, you are no longer banned.`} {t`Now that you have seen this message, you are no longer banned.`}
diff --git a/src/components/Captcha.jsx b/src/components/Captcha.jsx
index 1b085df..460044f 100644
--- a/src/components/Captcha.jsx
+++ b/src/components/Captcha.jsx
@@ -64,7 +64,7 @@ const Captcha = ({ autoload, width }) => {
return (
<>
-
+
{t`Type the characters from the following image:`}
@@ -120,7 +120,7 @@ const Captcha = ({ autoload, width }) => {
)}
{t`Reason`}:
- {t`By Mod`}:
- {t`Duration`}:
- {t`Unbanned`}:
-
+
{t`Can't read? Reload:`}
- {t`Convert an image to canvas colors`} {t`Convert an image to canvas colors`} {t`Choose Strategy`}:
+ {t`Choose Strategy`}:
{t`Choose Color Mode`}:
+ {t`Choose Color Mode`}:
+
-
+
{t`Light Grid`}
+
- {t`Width`}:
+ {t`Width`}:
- {t`Height`}:
+ {t`Height`}:
-
+
{t`Keep Ratio`}
+
{
return (
+
{t`Login to access more features and stats.`}
+
{line}
{t`Choose Canvas`}:
+ {t`Choose Canvas`}:
{t`Upload images to canvas`}
+ {t`Upload images to canvas`}
{t`File`}:
{descAction}
+ {descAction}
{t`Coordinates in X_Y format:`}
+
{t`Set protection of areas \
(if you need finer grained control, \
use protect with image upload and alpha layers)`}
@@ -338,7 +338,7 @@ function ModCanvastools() {
))}
-
+
{t`Top-left corner`} (X_Y):
+
{t`Bottom-right corner`} (X_Y):
+
{t`Rollback an area of the canvas to a set date (00:00 UTC)`}
+
{t`Top-left corner`} (X_Y):
+
{t`Bottom-right corner`} (X_Y):
+
{t`Apply a filter to clean trash in large canvas areas.`}
{descCleanAction}
+ {descCleanAction}
{cleanerStatusString}
+
{t`Top-left corner`} (X_Y):
+
{t`Bottom-right corner`} (X_Y):
)}
-
+
{' IID: '}
{resp.split('\n').map((line) => (
-
+
{line}
{t`Check who placed in an area`} {t`Canvas`}:
+ {t`Check who placed in an area`} {t`Canvas`}:
+
{t`Top-left corner`} (X_Y):
+
{t`Bottom-right corner`} (X_Y):
{
))}
-
+
{t`Ranking updates every 5 min. Daily rankings get reset at midnight UTC.`}
{t`You have no users blocked`} {t`You have no users blocked`} {t`Your name is: ${name}`}
+
{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, we decide to remove them.`}
+
{t`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 cooldown and 60s stacking. It got launched on May 11th and remained active for months till it got shut down on November 30th.`}
+ {t`Palette Download`}
- {t`Image Converter`}
-
{t`Login with Name or Mail:`}
diff --git a/src/components/MdToggleButton.jsx b/src/components/MdToggleButton.jsx
deleted file mode 100644
index f5eb650..0000000
--- a/src/components/MdToggleButton.jsx
+++ /dev/null
@@ -1,15 +0,0 @@
-/**
- */
-
-import React from 'react';
-import ToggleButton from 'react-toggle';
-
-const MdToggleButton = ({ value, onToggle, deactivated }) => (
- {t`Image Upload`}
- {t`Pixel Protection`}
- {t`Rollback to Date`}
- {t`Canvas Cleaner`}
-
+ {title} {keyBind && {keyBind}}
+
+
- {t`Block all Private Messages`}
-
- {
)
: (
-
{t`Here we collect those canvases to archive them in a proper way (which is currently just one).`}
@@ -23,11 +23,11 @@ Those canvases can get boring after a while and after weeks of no major change a
alt="political-compass"
src="https://storage.pixelplanet.fun/compass-preview.png"
/>
-
{t`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.`}