From b3e4b5056b2f4eae1ae1037d8875f769f1fada90 Mon Sep 17 00:00:00 2001
From: "Kalle (Sendou)" <38327916+Sendouc@users.noreply.github.com>
Date: Fri, 2 Apr 2021 19:23:36 +0300
Subject: [PATCH] translations for calendar
---
app/calendar/components/EventModal.tsx | 1 +
locale/de/messages.json | 3 ++-
locale/el/messages.json | 3 ++-
locale/en/messages.json | 3 ++-
locale/es/messages.json | 3 ++-
locale/fr/messages.json | 3 ++-
locale/he/messages.json | 3 ++-
locale/it/messages.json | 3 ++-
locale/ja/messages.json | 3 ++-
locale/ko/messages.json | 3 ++-
locale/nl/messages.json | 3 ++-
locale/pt/messages.json | 3 ++-
locale/ru/messages.json | 3 ++-
locale/sv/messages.json | 3 ++-
package.json | 2 +-
pages/maps.tsx | 26 ++++++++++++++------------
16 files changed, 42 insertions(+), 26 deletions(-)
diff --git a/app/calendar/components/EventModal.tsx b/app/calendar/components/EventModal.tsx
index acb3be9c4..d21df387d 100644
--- a/app/calendar/components/EventModal.tsx
+++ b/app/calendar/components/EventModal.tsx
@@ -132,6 +132,7 @@ export function EventModal({
Add upcoming Splatoon events you are hosting to the calendar.
+ For now please use Chrome browser when submitting an event.
diff --git a/locale/de/messages.json b/locale/de/messages.json
index 9226f46a1..c30f4782a 100644
--- a/locale/de/messages.json
+++ b/locale/de/messages.json
@@ -55,6 +55,7 @@
"Guide (Advanced)": "",
"Builds": "Ausrüstungen",
"Build Analyzer": "Ausrüstungsinspektor",
+ "Calendar": "",
"User Search": "Nutzersuche",
"Free Agents": "Teamsuchende",
"Teams": "",
@@ -213,7 +214,6 @@
"Get into Overfishing and climb up the leaderboards. Guides included to get you started.": "",
"View builds by some of the best players in the world and submit your own.": "",
"What exactly is the effect of your builds? Guess no more.": "",
- "Calendar": "",
"View all the upcoming events in the community.": "",
"You can make your own page. Use this tool to find other users' pages.": "",
"Find your next teammates.": "",
@@ -233,6 +233,7 @@
"Change map pool": "",
"All modes equally": "",
"SZ every other": "",
+ "Custom order": "",
"Amount of maps to generate": "",
"Clear drawings": "Alles löschen",
"Download as .png": "Als .png herunterladen",
diff --git a/locale/el/messages.json b/locale/el/messages.json
index 86fea388a..1255013ea 100644
--- a/locale/el/messages.json
+++ b/locale/el/messages.json
@@ -55,6 +55,7 @@
"Guide (Advanced)": "",
"Builds": "Builds",
"Build Analyzer": "Αναλυτής των Build",
+ "Calendar": "",
"User Search": "Αναζήτηση Χρήστη",
"Free Agents": "Παίκτες που αναζητούν Ομάδα",
"Teams": "",
@@ -213,7 +214,6 @@
"Get into Overfishing and climb up the leaderboards. Guides included to get you started.": "",
"View builds by some of the best players in the world and submit your own.": "",
"What exactly is the effect of your builds? Guess no more.": "",
- "Calendar": "",
"View all the upcoming events in the community.": "",
"You can make your own page. Use this tool to find other users' pages.": "",
"Find your next teammates.": "",
@@ -233,6 +233,7 @@
"Change map pool": "",
"All modes equally": "",
"SZ every other": "",
+ "Custom order": "",
"Amount of maps to generate": "",
"Clear drawings": "Διαγραφή Σχεδίων",
"Download as .png": "Λήψη ως .png",
diff --git a/locale/en/messages.json b/locale/en/messages.json
index f5e2ced41..aaf0a00cf 100644
--- a/locale/en/messages.json
+++ b/locale/en/messages.json
@@ -55,6 +55,7 @@
"Guide (Advanced)": "Guide (Advanced)",
"Builds": "Builds",
"Build Analyzer": "Build Analyzer",
+ "Calendar": "Calendar",
"User Search": "User Search",
"Free Agents": "Free Agents",
"Teams": "Teams",
@@ -213,7 +214,6 @@
"Get into Overfishing and climb up the leaderboards. Guides included to get you started.": "Get into Overfishing and climb up the leaderboards. Guides included to get you started.",
"View builds by some of the best players in the world and submit your own.": "View builds by some of the best players in the world and submit your own.",
"What exactly is the effect of your builds? Guess no more.": "What exactly is the effect of your builds? Guess no more.",
- "Calendar": "Calendar",
"View all the upcoming events in the community.": "View all the upcoming events in the community.",
"You can make your own page. Use this tool to find other users' pages.": "You can make your own page. Use this tool to find other users' pages.",
"Find your next teammates.": "Find your next teammates.",
@@ -233,6 +233,7 @@
"Change map pool": "Change map pool",
"All modes equally": "All modes equally",
"SZ every other": "SZ every other",
+ "Custom order": "Custom order",
"Amount of maps to generate": "Amount of maps to generate",
"Clear drawings": "Clear drawings",
"Download as .png": "Download as .png",
diff --git a/locale/es/messages.json b/locale/es/messages.json
index c0f8e0473..11eff9aaa 100644
--- a/locale/es/messages.json
+++ b/locale/es/messages.json
@@ -55,6 +55,7 @@
"Guide (Advanced)": "",
"Builds": "Builds",
"Build Analyzer": "Análisis de Builds",
+ "Calendar": "",
"User Search": "Buscar usuarios",
"Free Agents": "Free Agents",
"Teams": "",
@@ -213,7 +214,6 @@
"Get into Overfishing and climb up the leaderboards. Guides included to get you started.": "",
"View builds by some of the best players in the world and submit your own.": "Ver builds de los mejores jugadores en el mundo y publicar la tuya propia.",
"What exactly is the effect of your builds? Guess no more.": "¿Qué es exactamente lo que hace tu build? No supongas más.",
- "Calendar": "",
"View all the upcoming events in the community.": "",
"You can make your own page. Use this tool to find other users' pages.": "Puedes hacer tu propia página. Usa esto para encontrar las páginas de otros usuarios.",
"Find your next teammates.": "Encuentra tus próximos compañeros.",
@@ -233,6 +233,7 @@
"Change map pool": "",
"All modes equally": "",
"SZ every other": "",
+ "Custom order": "",
"Amount of maps to generate": "",
"Clear drawings": "Borrar dibujos",
"Download as .png": "Descargar como .png",
diff --git a/locale/fr/messages.json b/locale/fr/messages.json
index 787eda680..acbb2842c 100644
--- a/locale/fr/messages.json
+++ b/locale/fr/messages.json
@@ -55,6 +55,7 @@
"Guide (Advanced)": "",
"Builds": "Builds",
"Build Analyzer": "Analyseur de build",
+ "Calendar": "",
"User Search": "Recherche d'utilisateurs",
"Free Agents": "Joueurs sans équipes",
"Teams": "",
@@ -213,7 +214,6 @@
"Get into Overfishing and climb up the leaderboards. Guides included to get you started.": "",
"View builds by some of the best players in the world and submit your own.": "",
"What exactly is the effect of your builds? Guess no more.": "",
- "Calendar": "",
"View all the upcoming events in the community.": "",
"You can make your own page. Use this tool to find other users' pages.": "",
"Find your next teammates.": "",
@@ -233,6 +233,7 @@
"Change map pool": "",
"All modes equally": "",
"SZ every other": "",
+ "Custom order": "",
"Amount of maps to generate": "",
"Clear drawings": "Effacer les dessins",
"Download as .png": "Télécharger en tant que .png",
diff --git a/locale/he/messages.json b/locale/he/messages.json
index e3445e842..bc2888e74 100644
--- a/locale/he/messages.json
+++ b/locale/he/messages.json
@@ -55,6 +55,7 @@
"Guide (Advanced)": "מדריך (מתקדם)",
"Builds": "ערכות",
"Build Analyzer": "מנתח ערכה",
+ "Calendar": "",
"User Search": "חיפוש משתמש",
"Free Agents": "סוכנים חופשיים",
"Teams": "קבוצות",
@@ -213,7 +214,6 @@
"Get into Overfishing and climb up the leaderboards. Guides included to get you started.": ".כנס לתוך משמרות הדייג וטפס בלוח התוצאות. כלולים מדריכים שיסייעו לך",
"View builds by some of the best players in the world and submit your own.": ".צפה בערכות של כמה מהשחקנים הטובים בעולם והגש את שלך",
"What exactly is the effect of your builds? Guess no more.": ".מה בדיוק ההשפעות של הערכות שלך? לא צריך יותר לנחש",
- "Calendar": "",
"View all the upcoming events in the community.": "",
"You can make your own page. Use this tool to find other users' pages.": ".ניתן ליצור עמוד משלך. בכלי זה ניתן למצוא עמודים של משתמשים אחרים",
"Find your next teammates.": ".מצא את חברי הקבוצה הבאים שלך",
@@ -233,6 +233,7 @@
"Change map pool": "שנה מאגר מפות",
"All modes equally": "כל המודים באופן שווה",
"SZ every other": "לסירוגין SZ",
+ "Custom order": "",
"Amount of maps to generate": "כמות המפות שלייצר",
"Clear drawings": "נקה שרטוט",
"Download as .png": ".png שמור בתור",
diff --git a/locale/it/messages.json b/locale/it/messages.json
index deddbd1d1..5a89fdc47 100644
--- a/locale/it/messages.json
+++ b/locale/it/messages.json
@@ -55,6 +55,7 @@
"Guide (Advanced)": "",
"Builds": "Build",
"Build Analyzer": "Analizza Build",
+ "Calendar": "",
"User Search": "Cerca Utenti",
"Free Agents": "Free Agent",
"Teams": "",
@@ -213,7 +214,6 @@
"Get into Overfishing and climb up the leaderboards. Guides included to get you started.": "",
"View builds by some of the best players in the world and submit your own.": "",
"What exactly is the effect of your builds? Guess no more.": "",
- "Calendar": "",
"View all the upcoming events in the community.": "",
"You can make your own page. Use this tool to find other users' pages.": "",
"Find your next teammates.": "",
@@ -233,6 +233,7 @@
"Change map pool": "",
"All modes equally": "",
"SZ every other": "",
+ "Custom order": "",
"Amount of maps to generate": "",
"Clear drawings": "Cancella tutto",
"Download as .png": "Scarica come .png",
diff --git a/locale/ja/messages.json b/locale/ja/messages.json
index 8d06a570c..707a3aef5 100644
--- a/locale/ja/messages.json
+++ b/locale/ja/messages.json
@@ -55,6 +55,7 @@
"Guide (Advanced)": "",
"Builds": "",
"Build Analyzer": "",
+ "Calendar": "",
"User Search": "",
"Free Agents": "",
"Teams": "",
@@ -213,7 +214,6 @@
"Get into Overfishing and climb up the leaderboards. Guides included to get you started.": "",
"View builds by some of the best players in the world and submit your own.": "",
"What exactly is the effect of your builds? Guess no more.": "",
- "Calendar": "",
"View all the upcoming events in the community.": "",
"You can make your own page. Use this tool to find other users' pages.": "",
"Find your next teammates.": "",
@@ -233,6 +233,7 @@
"Change map pool": "",
"All modes equally": "",
"SZ every other": "",
+ "Custom order": "",
"Amount of maps to generate": "",
"Clear drawings": "",
"Download as .png": "",
diff --git a/locale/ko/messages.json b/locale/ko/messages.json
index 94a101c7b..3dbebe3af 100644
--- a/locale/ko/messages.json
+++ b/locale/ko/messages.json
@@ -55,6 +55,7 @@
"Guide (Advanced)": "",
"Builds": "빌드",
"Build Analyzer": "빌드 분석기",
+ "Calendar": "",
"User Search": "유저 검색",
"Free Agents": "팀 찾는 유저들",
"Teams": "",
@@ -213,7 +214,6 @@
"Get into Overfishing and climb up the leaderboards. Guides included to get you started.": "",
"View builds by some of the best players in the world and submit your own.": "",
"What exactly is the effect of your builds? Guess no more.": "",
- "Calendar": "",
"View all the upcoming events in the community.": "",
"You can make your own page. Use this tool to find other users' pages.": "",
"Find your next teammates.": "",
@@ -233,6 +233,7 @@
"Change map pool": "",
"All modes equally": "",
"SZ every other": "",
+ "Custom order": "",
"Amount of maps to generate": "",
"Clear drawings": "그림을 모두 지우기",
"Download as .png": ".png 으로 다운로드",
diff --git a/locale/nl/messages.json b/locale/nl/messages.json
index 8d06a570c..707a3aef5 100644
--- a/locale/nl/messages.json
+++ b/locale/nl/messages.json
@@ -55,6 +55,7 @@
"Guide (Advanced)": "",
"Builds": "",
"Build Analyzer": "",
+ "Calendar": "",
"User Search": "",
"Free Agents": "",
"Teams": "",
@@ -213,7 +214,6 @@
"Get into Overfishing and climb up the leaderboards. Guides included to get you started.": "",
"View builds by some of the best players in the world and submit your own.": "",
"What exactly is the effect of your builds? Guess no more.": "",
- "Calendar": "",
"View all the upcoming events in the community.": "",
"You can make your own page. Use this tool to find other users' pages.": "",
"Find your next teammates.": "",
@@ -233,6 +233,7 @@
"Change map pool": "",
"All modes equally": "",
"SZ every other": "",
+ "Custom order": "",
"Amount of maps to generate": "",
"Clear drawings": "",
"Download as .png": "",
diff --git a/locale/pt/messages.json b/locale/pt/messages.json
index 7577351ed..fd5d04afb 100644
--- a/locale/pt/messages.json
+++ b/locale/pt/messages.json
@@ -55,6 +55,7 @@
"Guide (Advanced)": "Guia (Avançado)",
"Builds": "Builds",
"Build Analyzer": "Analisar Builds",
+ "Calendar": "",
"User Search": "Busca de Usuário",
"Free Agents": "Formação de Times",
"Teams": "",
@@ -213,7 +214,6 @@
"Get into Overfishing and climb up the leaderboards. Guides included to get you started.": "Entro no Overfishing e suba nos rankings. Guia incluso para os iniciantes.",
"View builds by some of the best players in the world and submit your own.": "Veja builds de alguns dos melhores jogadores do mundo e mostre a sua própria build.",
"What exactly is the effect of your builds? Guess no more.": "Exatamente qual é o efeito da sua Build? Não tenha mais dúvidas.",
- "Calendar": "",
"View all the upcoming events in the community.": "",
"You can make your own page. Use this tool to find other users' pages.": "Você pode fazer a sua própria página. Use essa ferramenta para encontrar as páginas de outros usuários.",
"Find your next teammates.": "Encontro seus próximos companheiros(as) de time.",
@@ -233,6 +233,7 @@
"Change map pool": "Mudar lista de mapas",
"All modes equally": "Todos os modos igualmente",
"SZ every other": "Splat Zones mapa sim, mapa não",
+ "Custom order": "",
"Amount of maps to generate": "Quantidade de mapas para gerar",
"Clear drawings": "Limpar desenhos",
"Download as .png": "Baixar como .png",
diff --git a/locale/ru/messages.json b/locale/ru/messages.json
index 8d06a570c..707a3aef5 100644
--- a/locale/ru/messages.json
+++ b/locale/ru/messages.json
@@ -55,6 +55,7 @@
"Guide (Advanced)": "",
"Builds": "",
"Build Analyzer": "",
+ "Calendar": "",
"User Search": "",
"Free Agents": "",
"Teams": "",
@@ -213,7 +214,6 @@
"Get into Overfishing and climb up the leaderboards. Guides included to get you started.": "",
"View builds by some of the best players in the world and submit your own.": "",
"What exactly is the effect of your builds? Guess no more.": "",
- "Calendar": "",
"View all the upcoming events in the community.": "",
"You can make your own page. Use this tool to find other users' pages.": "",
"Find your next teammates.": "",
@@ -233,6 +233,7 @@
"Change map pool": "",
"All modes equally": "",
"SZ every other": "",
+ "Custom order": "",
"Amount of maps to generate": "",
"Clear drawings": "",
"Download as .png": "",
diff --git a/locale/sv/messages.json b/locale/sv/messages.json
index 172127211..522286319 100644
--- a/locale/sv/messages.json
+++ b/locale/sv/messages.json
@@ -55,6 +55,7 @@
"Guide (Advanced)": "",
"Builds": "Utrustningar",
"Build Analyzer": "Utrustningsanalyserare",
+ "Calendar": "",
"User Search": "Användarsökning",
"Free Agents": "Fria Agenter",
"Teams": "",
@@ -213,7 +214,6 @@
"Get into Overfishing and climb up the leaderboards. Guides included to get you started.": "",
"View builds by some of the best players in the world and submit your own.": "Se några av världens bästa spelarnas utrustningar och lägg upp din egen.",
"What exactly is the effect of your builds? Guess no more.": "Vad exakt gör effekterna på dina utrustningar? Längre behöver du inte undra.",
- "Calendar": "",
"View all the upcoming events in the community.": "",
"You can make your own page. Use this tool to find other users' pages.": "Du kan göra din egen profilsida. Med denna verktyg hittar du andra användares profilsidor.",
"Find your next teammates.": "Hitta dina kommande lagkamrater.",
@@ -233,6 +233,7 @@
"Change map pool": "",
"All modes equally": "",
"SZ every other": "",
+ "Custom order": "",
"Amount of maps to generate": "",
"Clear drawings": "Rensa ritningar",
"Download as .png": "Ladda ner som .png",
diff --git a/package.json b/package.json
index a8c59d335..62fce8d1d 100644
--- a/package.json
+++ b/package.json
@@ -15,7 +15,7 @@
"mongo": "ts-node prisma/scripts/dataFromMongo.ts",
"top500": "ts-node prisma/scripts/top500jsons.ts",
"league": "cross-env NODE_OPTIONS=--max-old-space-size=8192 ts-node prisma/scripts/leagueJsons.ts",
- "ex:clean": "cross-env NODE_ENV=development lingui extract --clean",
+ "ex:clean": "cross-env NODE_ENV=development lingui extract --clean && npm run prettier:format",
"compile": "lingui compile",
"restore": "pg_restore -d 'postgresql://sendou@localhost:5432/dev' --jobs 4 dumped.sql --clean",
"seed": "prisma db seed --preview-feature",
diff --git a/pages/maps.tsx b/pages/maps.tsx
index 34db770ab..4952c5292 100644
--- a/pages/maps.tsx
+++ b/pages/maps.tsx
@@ -365,17 +365,19 @@ const MapsGeneratorPage = () => {
- {generationMode === "CUSTOM_ORDER" && }
+ {generationMode === "CUSTOM_ORDER" && (
+
+ )}
Amount of maps to generate
@@ -425,7 +427,7 @@ const MapsGeneratorPage = () => {
}
function transformModesToStringArray() {
- return modes.map(mode => {
+ return modes.map((mode) => {
if (mode.data) return mode.data;
else return "";
});