Browse Source

add translations

pull/104/head
Simon Vieille 4 weeks ago
parent
commit
7b2f64c5cd
Signed by: deblan
GPG Key ID: 579388D585F70417
  1. 8
      src/l10n/fixtures/cs.yaml
  2. 8
      src/l10n/fixtures/de.yaml
  3. 8
      src/l10n/fixtures/fr.yaml
  4. 8
      src/l10n/fixtures/zh_CN.yaml
  5. 4
      templates/settings/admin-form.php

8
src/l10n/fixtures/cs.yaml

@ -83,3 +83,11 @@
"Apps only visible in the top menu": "Aplikace jsou viditelné pouze v horní nabídce "
"Apps visible in the top and side menus": "Aplikace viditelné v horní a boční nabídce"
"Reset to default": "Vrátit zpět na výchozí hodnoty"
"Hidden icon": "Skrytá ikona"
"Small icon": "Malá ikona"
"Normal icon": "Normální ikona"
"Big icon": "Velká ikona"
"Hidden text": "Skrytý text"
"Small text": "Malý text"
"Normal text": "Normální text"
"Big text": "Velký text"

8
src/l10n/fixtures/de.yaml

@ -82,3 +82,11 @@
"Apps only visible in the top menu": "Apps nur im oberen Menü sichtbar "
"Apps visible in the top and side menus": "Apps im oberen und seitlichen Menü sichtbar"
"Reset to default": "Auf Standard zurücksetzen"
"Hidden icon": "Verstecktes Symbol"
"Small icon": "Kleines Symbol"
"Normal icon": "Normales Symbol"
"Big icon": "Große Ikone"
"Hidden text": "Versteckter Text"
"Small text": "Kleiner Text"
"Normal text": "Normaler Text"
"Big text": "Großer Text"

8
src/l10n/fixtures/fr.yaml

@ -15,6 +15,14 @@
"Small": "Petit"
"Normal": "Normal"
"Big": "Gros"
"Hidden icon": "Icône masqué"
"Small icon": "Petit icône"
"Normal icon": "Icône normal"
"Big icon": "Gros icône"
"Hidden text": "Text masqué"
"Small text": "Texte petit"
"Normal text": "Texte normal"
"Big text": "Gros texte"
"Colors": "Couleurs"
"Background color": "Couleur de fond"
"Background color of current app": "Couleur de fond de l'application en cours"

8
src/l10n/fixtures/zh_CN.yaml

@ -82,3 +82,11 @@
"Apps only visible in the top menu": "应用程序仅在顶部菜单中可见"
"Apps visible in the top and side menus": "顶部和侧边菜单中可见的应用程序"
"Reset to default": "重置为默认设置"
"Hidden icon": "隐藏图标"
"Small icon": "小图标"
"Normal icon": "正常图标"
"Big icon": "大图标"
"Hidden text": "隐藏文字"
"Small text": "小文本"
"Normal text": "普通文本"
"Big text": "大文本"

4
templates/settings/admin-form.php

@ -697,7 +697,7 @@ $choicesSizes = [
<select id="side-menu-size-icon" name="size-icon" class="side-menu-setting">
<?php foreach ($choicesSizes as $label => $value): ?>
<option value="<?php echo $value ?>" <?php if ($value === $_['size-icon']): ?>selected<?php endif; ?>>
<?php echo $l->t($label); ?> icon
<?php echo $l->t($label.' icon'); ?>
</option>
<?php endforeach; ?>
</select>
@ -705,7 +705,7 @@ $choicesSizes = [
<select id="side-menu-size-text" name="size-text" class="side-menu-setting">
<?php foreach ($choicesSizes as $label => $value): ?>
<option value="<?php echo $value ?>" <?php if ($value === $_['size-text']): ?>selected<?php endif; ?>>
<?php echo $l->t($label); ?> text
<?php echo $l->t($label.' text'); ?>
</option>
<?php endforeach; ?>
</select>

Loading…
Cancel
Save