add translations

This commit is contained in:
Mario Pesch 2022-03-01 15:31:44 +01:00
parent a06b52a3ee
commit 4e8819172b
4 changed files with 19 additions and 10 deletions

View File

@ -229,6 +229,11 @@ export const UI = {
builder_requirements_order:
"Beachte, dass die Reihenfolge des Anhakens maßgebend ist.",
builder_difficulty: "Schwierigkeitsgrad",
builder_public_head: "Tutorial veröffentlichen",
builder_public_label: "Tutorial für alle Nutzer:innen veröffentlichen",
builder_review_head: "Tutorial veröffentlichen",
builder_review_text:
"Du kannst dein Tutorial direkt über den Link mit anderen Personen teilen. Wenn du dein Tutorial für alle Nutzer:innen in der Überischt veröffenltichen wollen kannst du es hier aktivieren. Ein Administrator wird dein Tutorial ansehen und anschließend freischalten.",
/**
* Login

View File

@ -222,6 +222,12 @@ export const UI = {
builder_requirements_head: "Requirements.",
builder_requirements_order:
"Note that the order of ticking is authoritative.",
builder_difficulty: "Difficulty level",
builder_public_head: "Publish tutorial",
builder_public_label: "Publish tutorial for all users",
builder_review_head: "Publish tutorial",
builder_review_text:
"You can share your tutorial with other people directly from the link. If you want to publish your tutorial for all users in the overview you can activate it here. An administrator will view your tutorial and then activate it.",
/**
* Login

View File

@ -54,7 +54,9 @@ class Public extends Component {
render() {
return (
<FormControl component="fieldset">
<FormLabel component="legend">Tutorial veröffentlichen</FormLabel>
<FormLabel component="legend">
{Blockly.Msg.builder_public_head}
</FormLabel>
<FormGroup aria-label="position" row>
<FormControlLabel
value="Tutorial veröffentlichen"
@ -67,7 +69,7 @@ class Public extends Component {
inputProps={{ "aria-label": "secondary checkbox" }}
/>
}
label="Tutorial veröffentlichen"
label={Blockly.Msg.builder_public_label}
labelPlacement="start"
/>
</FormGroup>

View File

@ -53,14 +53,10 @@ class Review extends Component {
render() {
return (
<FormControl component="fieldset">
<FormLabel component="legend">Tutorial veröffentlichen</FormLabel>
<p>
{" "}
Du kannst dein Tutorial direkt über den Link mit anderen Personen
teilen. Wenn du dein Tutorial für alle Nutzer:innen in der Überischt
veröffenltichen wollen kannst du es hier aktivieren. Ein Administrator
wird dein Tutorial ansehen und anschließend freischalten.
</p>
<FormLabel component="legend">
{Blockly.Msg.builder_review_head}
</FormLabel>
{Blockly.Msg.builder_review_text}
<FormGroup aria-label="position" row>
<FormControlLabel
value="Tutorial veröffentlichen"