Skip to content

Commit

Permalink
Update translations
Browse files Browse the repository at this point in the history
veloce committed Jun 6, 2020

Verified

This commit was signed with the committer’s verified signature.
joonas Joonas Bergius
1 parent f625ea4 commit 9723218
Showing 83 changed files with 1,003 additions and 117 deletions.
2 changes: 1 addition & 1 deletion scripts/i18n-update.ts
Original file line number Diff line number Diff line change
@@ -98,7 +98,7 @@ async function main(args: string[]) {

// load and flatten translations in one object
const everything = {}
for (const section of ['site', 'study', 'arena', 'preferences', 'settings']) {
for (const section of ['site', 'study', 'arena', 'preferences', 'settings', 'search']) {
const xml = await loadXml(locales, section)
for (const locale in xml) {
try {
6 changes: 3 additions & 3 deletions src/ui/menu/menuView.tsx
Original file line number Diff line number Diff line change
@@ -160,17 +160,17 @@ function renderLinks(user?: Session) {
<li className="sep_link">{i18n('learnMenu')}</li>
{online ?
<li className="side_link" data-route="/training">
<span data-icon="-"/>{i18n('training')}
<span data-icon="-"/>{i18n('puzzles')}
</li> : null
}
{!online && user ?
<li className="side_link" data-route="/training">
<span data-icon="-" />{i18n('training')}
<span data-icon="-" />{i18n('puzzles')}
</li> : null
}
{online ?
<li className="side_link" data-route="/study">
<span data-icon="4" />Study
<span data-icon="4" />{i18n('studyMenu')}
</li> : null
}
{online ?
3 changes: 2 additions & 1 deletion src/ui/study/studyList.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as Mithril from 'mithril'
import socket from '../../socket'
import { PagerCategory, PagerOrder } from '../../lichess/interfaces/study'
import i18n from '../../i18n'
import * as helper from '../helper'
import { header } from '../shared/common'
import layout from '../layout'
@@ -30,7 +31,7 @@ export default {
view() {
const ctrl = this.ctrl

return layout.free(header('Studies'), studyListView(ctrl))
return layout.free(header(i18n('studyMenu')), studyListView(ctrl))
}

} as Mithril.Component<Attrs, State>
23 changes: 21 additions & 2 deletions www/i18n/af-ZA.js
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ export default {
"requestAComputerAnalysis": "Versoek 'n rekenaar analise",
"computerAnalysis": "Rekenaar analise",
"computerAnalysisAvailable": "Rekenaar analise beskikbaar",
"analysis": "Ontledingsbord",
"analysis": "Analise",
"depthX": "Diepte %s",
"usingServerAnalysis": "Die gebruik van bediener analise",
"loadingEngine": "Enjin is besig om the laai ...",
@@ -957,5 +957,24 @@ export default {
"cantOpenSimilarAccount": "Jy sal nie toegelaat word om 'n nuwe rekening met dieselfde naam te open nie, selfs al is die hoof- en kleinletters verskillend.",
"changedMindDoNotCloseAccount": "Ek het van gedagte verander, moenie my rekening sluit nie",
"closeAccountExplanation": "Is jy seker jy wil die rekening toemaak? Om die rekening toe te maak is 'n permanente besluit. Jy sal NOOIT WEER kan aanmeld nie.",
"thisAccountIsClosed": "Hierdie rekening is gesluit."
"thisAccountIsClosed": "Hierdie rekening is gesluit.",
"search": "Soek",
"advancedSearch": "Gevorderde soek",
"opponentName": "Opponent se naam",
"loser": "Verloorder",
"from": "Vanaf",
"to": "Tot",
"humanOrComputer": "Of die speler se opponent 'n mens of 'n rekenaar was",
"aiLevel": "A.I. vlak",
"source": "Bron",
"nbTurns": "Hoeveelheid beurte",
"result": "Uitslag",
"winnerColor": "Wenner se kleur",
"date": "Datum",
"sortBy": "Sorteer volgens",
"onlyAnalysed": "Slegs wedstryde waarvan daar rekenaar analise beskikbaar is",
"searchInXGames:one": "Soek in %s skaakspel",
"searchInXGames:other": "Soek in %s skaakspelle",
"xGamesFound:one": "Een wedstryd gevind",
"xGamesFound:other": "%s wedstryde gevind"
}
19 changes: 17 additions & 2 deletions www/i18n/ar-SA.js
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ export default {
"requestAComputerAnalysis": "اطلب تحليل حاسب",
"computerAnalysis": "تحليل الحاسوب",
"computerAnalysisAvailable": "تحليل الحاسوب متاح",
"analysis": "لوحة التحليل",
"analysis": "تحليل",
"depthX": "عمق التحليل %s",
"usingServerAnalysis": "استخدام تحليل السيرفر",
"loadingEngine": "تحميل المحرك...",
@@ -1072,5 +1072,20 @@ export default {
"cantOpenSimilarAccount": "لن يسمح لك بفتح حساب جديد بنفس الإسم، حتى لو كان حجم الأحرف مختلف.",
"changedMindDoNotCloseAccount": "غيرت رأيي ، لا تغلق حسابي",
"closeAccountExplanation": "هل أنت متأكد من أنك تريد اغلاق حسابك؟\nاغلاق حسابك هو قرار دائم ونهائي.\nولا يمكنك التراجع عن هذا القرار على الإطلاق.",
"thisAccountIsClosed": "تم إغلاق هذا الحساب."
"thisAccountIsClosed": "تم إغلاق هذا الحساب.",
"search": "بحث",
"advancedSearch": "بحث متقدم",
"opponentName": "اسم الخصم",
"loser": "الخاسر",
"from": "من",
"to": "الى",
"humanOrComputer": "سواء كان اللاعب الخصم بشرياً او جهاز كمبيوتر",
"aiLevel": "مستوى الذكاء الاصطناعي",
"source": "المصدر",
"nbTurns": "عدد الادوار",
"result": "نتيجة",
"winnerColor": "لون الفائز",
"date": "تاريخ",
"sortBy": "ترتيب حسب",
"onlyAnalysed": "فقط الادوار حيث يتوفر تحليل الكمبيوتر"
}
4 changes: 3 additions & 1 deletion www/i18n/az-AZ.js
Original file line number Diff line number Diff line change
@@ -708,5 +708,7 @@ export default {
"cantOpenSimilarAccount": "Böyük kiçik hərf dəyişiklikləri etsəniz belə eyni istifadəçi adı ilə yeni hesab açmağınıza icazə verilməyəcək.",
"changedMindDoNotCloseAccount": "Fikrimi dəyişdirdim, hesabımı bağlamaq istəmirəm",
"closeAccountExplanation": "Hesabınızı bağlamaq istədiyinizə əminsiniz? Bu birdəfəlik əməliyyatdır. BİR DƏ HEÇ VAXT giriş edə bilməyəcəksiniz.",
"thisAccountIsClosed": "Hesab bağlanıldı."
"thisAccountIsClosed": "Hesab bağlanıldı.",
"search": "Axtar",
"advancedSearch": "Mütərəqqi axtarış"
}
25 changes: 24 additions & 1 deletion www/i18n/be-BY.js
Original file line number Diff line number Diff line change
@@ -926,5 +926,28 @@ export default {
"cantOpenSimilarAccount": "Вам не будзе дазволена стварыць новы ўліковы запіс з тым жа імем, нават калі рэгістр сімвалаў адрозніваецца.",
"changedMindDoNotCloseAccount": "Я перадумаў, не выдаляйце мой уліковы запіс",
"closeAccountExplanation": "Вы сапраўды хочаце выдаліць свой уліковы запіс? Гэта неадваротнае дзеянне: увайсці ў яго будзе немагчыма.",
"thisAccountIsClosed": "Гэты ўліковы запіс выдалены."
"thisAccountIsClosed": "Гэты ўліковы запіс выдалены.",
"search": "Пошук",
"advancedSearch": "Пашыраны пошук",
"opponentName": "Імя суперніка",
"loser": "Пацярпелы",
"from": "Ад",
"to": "Да",
"humanOrComputer": "З'яўляецца лі супернік чалавекам або камп'ютарам",
"aiLevel": "Узровень Ш.І.",
"source": "Крыніца",
"nbTurns": "Колькасць хадоў",
"result": "Вынік",
"winnerColor": "Колер пераможца",
"date": "Дата",
"sortBy": "Сартаваць па",
"onlyAnalysed": "Толькі гульні, для якіх даступны камп'ютарны аналіз",
"searchInXGames:one": "Шукаць у %s гульне",
"searchInXGames:few": "Шукаць у %s гульнях",
"searchInXGames:many": "Шукаць у %s гульнях",
"searchInXGames:other": "Шукаць у %s гульнях",
"xGamesFound:one": "Знойдзена %s гульня",
"xGamesFound:few": "Знойдзена %s гульні",
"xGamesFound:many": "Знойдзена %s гульняў",
"xGamesFound:other": "Знойдзена %s гульняў"
}
4 changes: 3 additions & 1 deletion www/i18n/bg-BG.js
Original file line number Diff line number Diff line change
@@ -783,5 +783,7 @@ export default {
"settings": "Настройки",
"closeAccount": "Закриване на регистрацията",
"changedMindDoNotCloseAccount": "Промених намерението си, не закривайте моята регистрация",
"thisAccountIsClosed": "Тази регистрация е закрита."
"thisAccountIsClosed": "Тази регистрация е закрита.",
"search": "Търсене",
"advancedSearch": "Разширено търсене"
}
4 changes: 3 additions & 1 deletion www/i18n/bn-BD.js
Original file line number Diff line number Diff line change
@@ -767,5 +767,7 @@ export default {
"settings": "বিন্যাস",
"closeAccount": "একাউন্ট বন্ধ করুন",
"changedMindDoNotCloseAccount": "আমি নিজের মত পরিবর্তন করেছি এবং আমার একাউন্ট বন্ধ করতে চাই না",
"thisAccountIsClosed": "এই একাউন্টটি বন্ধ করা হয়েছে"
"thisAccountIsClosed": "এই একাউন্টটি বন্ধ করা হয়েছে",
"search": "অনুসন্ধান",
"advancedSearch": "উন্নত অনুসন্ধান"
}
5 changes: 4 additions & 1 deletion www/i18n/br-FR.js
Original file line number Diff line number Diff line change
@@ -688,5 +688,8 @@ export default {
"closeAccount": "Serriñ ar gont",
"changedMindDoNotCloseAccount": "Cheñchet em eus ma soñj, na serrit ket ma c'hont",
"closeAccountExplanation": "Serret e vo ho kont, sur oc'h? Un diviz-pad an hini eo. NE c'halloc'h KET adkavout anezhi ken, BIKEN.",
"thisAccountIsClosed": "Serr eo ar gont-mañ."
"thisAccountIsClosed": "Serr eo ar gont-mañ.",
"search": "Klask",
"advancedSearch": "Enklask araokaet",
"date": "Deiziad"
}
25 changes: 23 additions & 2 deletions www/i18n/bs-BA.js
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ export default {
"requestAComputerAnalysis": "Zatražite računarsku analizu",
"computerAnalysis": "Računarska analiza",
"computerAnalysisAvailable": "Računarska analiza je dostupna",
"analysis": "Ploča za analizu",
"analysis": "Analiza",
"depthX": "Dubina %s",
"usingServerAnalysis": "Koristi se serverska analiza",
"loadingEngine": "Učitavanje računara ...",
@@ -985,5 +985,26 @@ export default {
"cantOpenSimilarAccount": "Neće vam biti dopušteno kreiranje novog računa sa istim imenom, čak i ako je veličina slova drugačija.",
"changedMindDoNotCloseAccount": "Predomislio/la sam se, ne zatvarajte moj korisnički račun",
"closeAccountExplanation": "Jeste li sigurni da želite zatvoriti Vaš korisnički račun? Zatvaranje vašeg računa je trajna odluka. Više se NIKADA nećete moći prijaviti na svoj račun.",
"thisAccountIsClosed": "Ovaj račun je zatvoren."
"thisAccountIsClosed": "Ovaj račun je zatvoren.",
"search": "Traži",
"advancedSearch": "Napredna pretraga",
"opponentName": "Ime protivnika",
"loser": "Gubitnik",
"from": "Od",
"to": "Do",
"humanOrComputer": "Bilo da je protivnik bio čovjek ili računar",
"aiLevel": "Nivo V.I.",
"source": "Izvor",
"nbTurns": "Broj poteza",
"result": "Rezultat",
"winnerColor": "Boja pobjednika",
"date": "Datum",
"sortBy": "Sortiraj po",
"onlyAnalysed": "Samo partije u kojima je dostupna računarska analiza",
"searchInXGames:one": "Pretraga %s šahovske partije",
"searchInXGames:few": "Pretraga %s šahovske partije",
"searchInXGames:other": "Pretraga %s šahovskih partija",
"xGamesFound:one": "Jenda partija pronađena",
"xGamesFound:few": "%s partije pronađene",
"xGamesFound:other": "%s partija pronađeno"
}
23 changes: 21 additions & 2 deletions www/i18n/ca-ES.js
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ export default {
"requestAComputerAnalysis": "Demana una anàlisi computeritzada",
"computerAnalysis": "Anàlisi computeritzada",
"computerAnalysisAvailable": "Anàlisi de l'ordinador disponible",
"analysis": "Tauler d'anàlisi",
"analysis": "Anàlisi",
"depthX": "Profunditat %s",
"usingServerAnalysis": "Utilitzant l'anàlisi del servidor",
"loadingEngine": "Carregant motor...",
@@ -968,5 +968,24 @@ export default {
"cantOpenSimilarAccount": "No està permès crear un nou comte amb el mateix nom, ni tan sols si hi ha diferents majúscules i minúscules.",
"changedMindDoNotCloseAccount": "He canviat d'opinió, no tanqueu el meu compte",
"closeAccountExplanation": "Esteu segur de que voleu eliminar el compte? Eliminar-lo és una decisió permanent. No us podreu tornar a connectar MAI.",
"thisAccountIsClosed": "Aquest compte està tancat."
"thisAccountIsClosed": "Aquest compte està tancat.",
"search": "Cerca",
"advancedSearch": "Cerca avançada",
"opponentName": "Nom de l'adversari",
"loser": "Perdedor",
"from": "Des de",
"to": "a",
"humanOrComputer": "Si l'oponent era humà o un ordinador",
"aiLevel": "Nivell I.A.",
"source": "Origen",
"nbTurns": "Nombre de torns",
"result": "Resultat",
"winnerColor": "Color guanyador",
"date": "Data",
"sortBy": "Ordena per",
"onlyAnalysed": "Només partides on hi ha disponible l'anàlisi computeritzat",
"searchInXGames:one": "Cerca en %s partida",
"searchInXGames:other": "Cerca en %s partides",
"xGamesFound:one": "S'ha trobat una partida",
"xGamesFound:other": "S'han trobat %s partides"
}
25 changes: 24 additions & 1 deletion www/i18n/cs-CZ.js
Original file line number Diff line number Diff line change
@@ -1051,5 +1051,28 @@ export default {
"cantOpenSimilarAccount": "Nebudete moci založit nový účet se stejným jménem a to ani když se bude lišit velikost písmen.",
"changedMindDoNotCloseAccount": "Změnil jsem názor, nechci zrušit svůj účet",
"closeAccountExplanation": "Jste si jisti, že chcete uzavřít svůj účet? Uzavření účtu je trvalé rozhodnutí. Již NIKDY SE ZNOVU nebudete moci přihlásit.",
"thisAccountIsClosed": "Tento účet je zrušen."
"thisAccountIsClosed": "Tento účet je zrušen.",
"search": "Hledat",
"advancedSearch": "Pokročilé vyhledávání",
"opponentName": "Jméno soupeře",
"loser": "Poražený",
"from": "Od",
"to": "Pro",
"humanOrComputer": "Zda je soupeř lidský hráč nebo počítač",
"aiLevel": "A.I. úroveň",
"source": "Zdroj",
"nbTurns": "Počet tahů",
"result": "Výsledek",
"winnerColor": "Barva vítěze",
"date": "Datum",
"sortBy": "Seřadit podle",
"onlyAnalysed": "Pouze hry, kde je k dispozici počítačová analýza",
"searchInXGames:one": "Hledat v šachové hře %s",
"searchInXGames:few": "Hledat ve %s šachových hrách",
"searchInXGames:many": "Hledat v %s šachových hrách",
"searchInXGames:other": "Hledat v %s šachových hrách",
"xGamesFound:one": "Nalezena jedna hra",
"xGamesFound:few": "Nalezeny %s hry",
"xGamesFound:many": "Nalezeno %s her",
"xGamesFound:other": "Nalezeno %s her"
}
4 changes: 3 additions & 1 deletion www/i18n/cv-CU.js
Original file line number Diff line number Diff line change
@@ -499,5 +499,7 @@ export default {
"settings": "Ӗнерлев",
"closeAccount": "Аккаунта хуп",
"changedMindDoNotCloseAccount": "Шухӑшӑма улӑштартӑм, аккаунтӑма хупас ҫук",
"thisAccountIsClosed": "Ку аккаунт хупӑ."
"thisAccountIsClosed": "Ку аккаунт хупӑ.",
"search": "Шыра",
"advancedSearch": "Анлӑ шырасси"
}
4 changes: 3 additions & 1 deletion www/i18n/cy-GB.js
Original file line number Diff line number Diff line change
@@ -699,5 +699,7 @@ export default {
"settings": "Dewisiadau",
"closeAccount": "Cau cyfrif",
"changedMindDoNotCloseAccount": "Dw i wedi ailystyried, paid â chau fy nghyfrif",
"thisAccountIsClosed": "Mae'r cyfrif ma wedi'i gau."
"thisAccountIsClosed": "Mae'r cyfrif ma wedi'i gau.",
"search": "Chwilio",
"advancedSearch": "Chwilio uwch"
}
23 changes: 21 additions & 2 deletions www/i18n/da-DK.js
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ export default {
"requestAComputerAnalysis": "Anmod om en computeranalyse",
"computerAnalysis": "Computeranalyse",
"computerAnalysisAvailable": "Computeranalyse klar",
"analysis": "Analysebræt",
"analysis": "Analyse",
"depthX": "Dybde %s",
"usingServerAnalysis": "Ved brug af serveranalyse",
"loadingEngine": "Indlæser engine ...",
@@ -968,5 +968,24 @@ export default {
"cantOpenSimilarAccount": "Du vil ikke få lov til at åbne en ny konto med det samme navn, selv hvis skriftstørrelsen er anderledes.",
"changedMindDoNotCloseAccount": "Jeg har skiftet mening, lad være med at lukke min konto",
"closeAccountExplanation": "Er du sikker på, at du vil lukke din konto? Lukning af din konto er en permanent beslutning. Du vil ALDRIG NOGENSINDE kunne logge ind i igen.",
"thisAccountIsClosed": "Denne konto er lukket."
"thisAccountIsClosed": "Denne konto er lukket.",
"search": "Søg",
"advancedSearch": "Avanceret søgning",
"opponentName": "Modstanders navn",
"loser": "Taber",
"from": "Fra",
"to": "Til",
"humanOrComputer": "Om spillerens modstander var et menneske eller en computer",
"aiLevel": "A.I. niveau",
"source": "Kilde",
"nbTurns": "Antal ture",
"result": "Resultat",
"winnerColor": "Vinderfarve",
"date": "Dato",
"sortBy": "Sorter efter",
"onlyAnalysed": "Kun partier med en tilgængelig computeranalyse",
"searchInXGames:one": "Søg i %s skakparti",
"searchInXGames:other": "Søg i %s skakpartier",
"xGamesFound:one": "Ét parti fundet",
"xGamesFound:other": "%s partier fundet"
}
23 changes: 21 additions & 2 deletions www/i18n/de-DE.js
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ export default {
"requestAComputerAnalysis": "Computer-Analyse anfordern",
"computerAnalysis": "Computer-Analyse",
"computerAnalysisAvailable": "Computeranalyse verfügbar",
"analysis": "Analysebrett",
"analysis": "Analyse",
"depthX": "Tiefe: %s",
"usingServerAnalysis": "Serveranalyse wird verwendet",
"loadingEngine": "Engine wird geladen ...",
@@ -968,5 +968,24 @@ export default {
"cantOpenSimilarAccount": "Du darfst kein neues Benutzerkonto mit dem gleichen Namen eröffnen, selbst wenn die Groß-/Kleinschreibung unterschiedlich ist.",
"changedMindDoNotCloseAccount": "Ich habe meine Meinung geändert, mein Benutzerkonto doch nicht schließen",
"closeAccountExplanation": "Bist du dir sicher, dass du dein Benutzerkonto schließen möchtest? Das ist eine endgültige Entscheidung. Du wirst NIE mehr in der Lage sein dich JEMALS wieder einzuloggen.",
"thisAccountIsClosed": "Dieses Benutzerkonto ist geschlossen."
"thisAccountIsClosed": "Dieses Benutzerkonto ist geschlossen.",
"search": "Suche",
"advancedSearch": "Erweiterte Suche",
"opponentName": "Name des Gegners",
"loser": "Verlierer",
"from": "Von",
"to": "Bis",
"humanOrComputer": "Ob der Gegenspieler menschlich oder ein Computer war",
"aiLevel": "KI-Stärke",
"source": "Quelle",
"nbTurns": "Zuganzahl",
"result": "Ergebnis",
"winnerColor": "Siegerfarbe",
"date": "Datum",
"sortBy": "Sortieren nach",
"onlyAnalysed": "Nur Partien, für die eine Computeranalyse verfügbar ist",
"searchInXGames:one": "Suche in %s Partie",
"searchInXGames:other": "Suche in %s Partien",
"xGamesFound:one": "Eine Partie gefunden",
"xGamesFound:other": "%s Partien gefunden"
}
Loading

0 comments on commit 9723218

Please sign in to comment.