Skip to content

Commit

Permalink
German translation fixes (#406)
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinejaussoin authored May 11, 2022
1 parent 3cfa9de commit 606cd33
Show file tree
Hide file tree
Showing 17 changed files with 61 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 'Alpha Build'

on:
push:
branches: [v4160/i18n]
branches: [v4160/german]

jobs:
build:
Expand Down
6 changes: 5 additions & 1 deletion frontend/src/components/HowDoesItWorkButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { colors } from '@mui/material';
import { Info } from '@mui/icons-material';
import { useNavigate } from 'react-router';
import styled from '@emotion/styled';
import { useTranslation } from 'react-i18next';

interface HowDoesItWorkButtonProps {
children: React.ReactElement;
Expand All @@ -13,13 +14,16 @@ export default function HowDoesItWorkButton({
url,
}: HowDoesItWorkButtonProps) {
const navigate = useNavigate();
const { t } = useTranslation();
return (
<Container>
{children}

<LinkContainer>
<Info />
<GoLink onClick={() => navigate(url)}>How does that work?</GoLink>
<GoLink onClick={() => navigate(url)}>
{t('Home.howDoesThatWork')}
</GoLink>
</LinkContainer>
</Container>
);
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/translations/locales/ar-SA.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
}
},
"Home": {
"welcome": "مرحبا، {{name}}"
"welcome": "مرحبا، {{name}}",
"howDoesThatWork": "كيف يعمل ذلك؟"
},
"PreviousGame": {
"createdBy": "تم إنشاؤها بواسطة",
Expand Down
39 changes: 20 additions & 19 deletions frontend/src/translations/locales/de-DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,19 @@
}
},
"Home": {
"welcome": "Willkommen, {{name}}"
"welcome": "Willkommen, {{name}}",
"howDoesThatWork": "Wie funktioniert das?"
},
"PreviousGame": {
"createdBy": "Erstellt von",
"posts_one": "eintragen",
"posts_other": "posten",
"participants_one": "teilnehmer",
"participants_other": "teilnehmer",
"votes_one": "abstimmen",
"votes_other": "stimmen",
"actions_one": "aktion",
"actions_other": "aktionen"
"posts_one": "Beitrag",
"posts_other": "Beiträge",
"participants_one": "Teilnehmer",
"participants_other": "Teilnehmer",
"votes_one": "Abstimmen",
"votes_other": "Stimmen",
"actions_one": "Aktion",
"actions_other": "Aktionen"
},
"Column": {
"createGroupTooltip": "Erstelle eine Gruppe um Beiträge zusammen zu gruppieren"
Expand Down Expand Up @@ -61,7 +62,7 @@
"votingCategory": "Abstimmung",
"votingCategorySub": "Setze die Abstimmregeln",
"postCategory": "Beitragseinstellungen",
"postCategorySub": "Stelle ein, wie Nutzer mit Beitragen interagieren können",
"postCategorySub": "Stelle ein, wie Nutzer mit Beiträgen interagieren können",
"customTemplateCategory": "Spaltenkonfiguration",
"customTemplateCategorySub": "Setze die Anzahl an Spalten und deren Eigenschaften",
"startButton": "Spiel starten!",
Expand All @@ -78,18 +79,18 @@
"allowMultipleVotesHelp": "Soll es Nutzern möglich sein mehrfach zu bewerten?",
"allowActions": "Erlaube Maßnahmen",
"allowActionsHelp": "Bestimmt ob Maßnahmen hinzugefügt werden können",
"allowAuthorVisible": "Zeige Author",
"allowAuthorVisibleHelp": "Zeigt den Author eines Posts an.",
"allowAuthorVisible": "Zeige Autor",
"allowAuthorVisibleHelp": "Zeigt den Autor eines Posts an.",
"newPostsFirst": "Neue Beiträge zuerst hinzufügen",
"newPostsFirstHelp": "Neue Beiträge werden oben in der Spalte hinzugefügt",
"allowGiphy": "Giphy erlauben",
"allowGiphyHelp": "Benutzern erlauben, ein Giphy-Bild gegen einen Beitrag zu setzen",
"allowGiphyHelp": "Benutzern erlauben, ein Giphy-Bild statt einen Beitrag zu setzen",
"allowGrouping": "Gruppieren erlauben",
"allowGroupingHelp": "Erstelle Gruppen, um Beiträge zusammenzufassen",
"allowReordering": "Nachbestellung erlauben",
"allowReorderingHelp": "Erlaubt die Nachbestellung von Posts per Drag-and-Drop",
"blurCards": "Unschärfe Karten",
"blurCardsHelp": "Karteninhalte werden verschwommen, bis der Moderator den Inhalt aufdeckt",
"allowReordering": "Neu sortieren erlauben",
"allowReorderingHelp": "Erlaubt die Beiträge per Drag-and-Drop neu zu sortieren",
"blurCards": "Unscharfe Karten",
"blurCardsHelp": "Karteninhalte werden verschwommen dargestellt, bis der Moderator den Inhalt aufdeckt",
"template": "Vorlage",
"templateHelp": "Nutze ein vordefiniertes Spaltenset",
"numberOfColumns": "Anzahl an Spalten",
Expand Down Expand Up @@ -134,8 +135,8 @@
"userIsReady": "{{user}} ist bereit!"
},
"GameMenu": {
"board": "Brett",
"summary": "Summary"
"board": "Board",
"summary": "Zusammenfassung"
},
"Template": {
"default": "Standard",
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/translations/locales/en-GB.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
}
},
"Home": {
"welcome": "Welcome, {{name}}"
"welcome": "Welcome, {{name}}",
"howDoesThatWork": "How does that work?"
},
"PreviousGame": {
"createdBy": "Created by",
Expand Down
5 changes: 3 additions & 2 deletions frontend/src/translations/locales/es-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
}
},
"Home": {
"welcome": "Bienvenido, {{name}}"
"welcome": "Bienvenido, {{name}}",
"howDoesThatWork": "¿Cómo funciona esto?"
},
"PreviousGame": {
"createdBy": "Creado por",
Expand Down Expand Up @@ -266,7 +267,7 @@
"cancelButton": "No gracias"
},
"AccountPage": {
"noEmptyNameError": "You cannot choose an empty display name. Please try again.",
"noEmptyNameError": "No puedes elegir un nombre vacío. Por favor, inténtalo de nuevo.",
"anonymousError": "Las cuentas anónimas no pueden tener acceso a su perfil (porque no tienen una).",
"details": {
"header": "Tus detalles",
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/translations/locales/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
}
},
"Home": {
"welcome": "Bienvenue, {{name}}"
"welcome": "Bienvenue, {{name}}",
"howDoesThatWork": "Comment cela fonctionne-t-il?"
},
"PreviousGame": {
"createdBy": "Créé par",
Expand Down
5 changes: 3 additions & 2 deletions frontend/src/translations/locales/hu-HU.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
}
},
"Home": {
"welcome": "Isten hozott, {{name}}"
"welcome": "Isten hozott, {{name}}",
"howDoesThatWork": "Hogyan működik?"
},
"PreviousGame": {
"createdBy": "Készítette",
Expand Down Expand Up @@ -266,7 +267,7 @@
"cancelButton": "Nem köszönöm"
},
"AccountPage": {
"noEmptyNameError": "You cannot choose an empty display name. Please try again.",
"noEmptyNameError": "Nem választhat üres megjelenített nevet. Kérlek próbáld újra.",
"anonymousError": "Az anonim fiókok nem férhetnek hozzá a profiljukhoz (mert nincs ilyenük).",
"details": {
"header": "Az adataid",
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/translations/locales/it-IT.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
}
},
"Home": {
"welcome": "Benvenuto, {{name}}"
"welcome": "Benvenuto, {{name}}",
"howDoesThatWork": "Come funziona quello?"
},
"PreviousGame": {
"createdBy": "Creato da",
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/translations/locales/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
}
},
"Home": {
"welcome": "ようこそ、 {{name}}"
"welcome": "ようこそ、 {{name}}",
"howDoesThatWork": "それはどのように機能しますか?"
},
"PreviousGame": {
"createdBy": "作成者:",
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/translations/locales/nl-NL.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
}
},
"Home": {
"welcome": "Welkom, {{name}}"
"welcome": "Welkom, {{name}}",
"howDoesThatWork": "Hoe werkt dat?"
},
"PreviousGame": {
"createdBy": "Aangemaakt door",
Expand Down
5 changes: 3 additions & 2 deletions frontend/src/translations/locales/pl-PL.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
}
},
"Home": {
"welcome": "Witaj, {{name}}"
"welcome": "Witaj, {{name}}",
"howDoesThatWork": "Jak to działa?"
},
"PreviousGame": {
"createdBy": "Utworzony przez",
Expand Down Expand Up @@ -266,7 +267,7 @@
"cancelButton": "Nie, dziękuję"
},
"AccountPage": {
"noEmptyNameError": "You cannot choose an empty display name. Please try again.",
"noEmptyNameError": "Nie można wybrać pustej nazwy wyświetlacza. Spróbuj ponownie.",
"anonymousError": "Anonimowe konta nie mogą mieć dostępu do swojego profilu (ponieważ nie mają nich).",
"details": {
"header": "Twoje dane",
Expand Down
5 changes: 3 additions & 2 deletions frontend/src/translations/locales/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
}
},
"Home": {
"welcome": "Bem-vindo, {{name}}"
"welcome": "Bem-vindo, {{name}}",
"howDoesThatWork": "Como funciona isso?"
},
"PreviousGame": {
"createdBy": "Criado Por",
Expand Down Expand Up @@ -266,7 +267,7 @@
"cancelButton": "Não, obrigado."
},
"AccountPage": {
"noEmptyNameError": "You cannot choose an empty display name. Please try again.",
"noEmptyNameError": "Você não pode escolher um nome de exibição vazio. Por favor, tente novamente.",
"anonymousError": "Contas anônimas não podem ter acesso ao seu perfil (porque não têm uma).",
"details": {
"header": "Suas informações",
Expand Down
5 changes: 3 additions & 2 deletions frontend/src/translations/locales/pt-PT.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
}
},
"Home": {
"welcome": "Bem-vindo, {{name}}"
"welcome": "Bem-vindo, {{name}}",
"howDoesThatWork": "Como funciona isso?"
},
"PreviousGame": {
"createdBy": "Criado Por",
Expand Down Expand Up @@ -266,7 +267,7 @@
"cancelButton": "Não, obrigado."
},
"AccountPage": {
"noEmptyNameError": "You cannot choose an empty display name. Please try again.",
"noEmptyNameError": "Você não pode escolher um nome de exibição vazio. Por favor, tente novamente.",
"anonymousError": "Contas anônimas não podem ter acesso ao seu perfil (porque não têm uma).",
"details": {
"header": "Suas informações",
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/translations/locales/uk-UA.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
}
},
"Home": {
"welcome": "Ласкаво просимо, {{name}}"
"welcome": "Ласкаво просимо, {{name}}",
"howDoesThatWork": "Як це працює?"
},
"PreviousGame": {
"createdBy": "Створено",
Expand Down
5 changes: 3 additions & 2 deletions frontend/src/translations/locales/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
}
},
"Home": {
"welcome": "欢迎, {{name}}"
"welcome": "欢迎, {{name}}",
"howDoesThatWork": "这是如何运作的?"
},
"PreviousGame": {
"createdBy": "创建者",
Expand Down Expand Up @@ -266,7 +267,7 @@
"cancelButton": "不要谢谢。"
},
"AccountPage": {
"noEmptyNameError": "You cannot choose an empty display name. Please try again.",
"noEmptyNameError": "您不能选择一个空的显示名称。请重试。",
"anonymousError": "匿名帐户不能访问他们的个人资料 (因为他们没有一个)。",
"details": {
"header": "您的详细信息",
Expand Down
5 changes: 3 additions & 2 deletions frontend/src/translations/locales/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
}
},
"Home": {
"welcome": "歡迎, {{name}}"
"welcome": "歡迎, {{name}}",
"howDoesThatWork": "這是如何運作的?"
},
"PreviousGame": {
"createdBy": "由...製作",
Expand Down Expand Up @@ -266,7 +267,7 @@
"cancelButton": "不,謝謝"
},
"AccountPage": {
"noEmptyNameError": "You cannot choose an empty display name. Please try again.",
"noEmptyNameError": "您不能選擇空的顯示名稱。請再試一次。",
"anonymousError": "匿名帳戶無法訪問他們的個人資料(因為他們沒有個人資料)。",
"details": {
"header": "你的資料",
Expand Down

0 comments on commit 606cd33

Please sign in to comment.