ソースを参照

Add a link to more language packs to the language settings UI.

Kailash Nadh 3 年 前
コミット
c1c2b67503
16 ファイル変更19 行追加1 行削除
  1. 4 1
      frontend/src/views/settings/general.vue
  2. 1 0
      i18n/cs-cz.json
  3. 1 0
      i18n/de.json
  4. 1 0
      i18n/en.json
  5. 1 0
      i18n/es.json
  6. 1 0
      i18n/fr.json
  7. 1 0
      i18n/hu.json
  8. 1 0
      i18n/it.json
  9. 1 0
      i18n/ml.json
  10. 1 0
      i18n/nl.json
  11. 1 0
      i18n/pl.json
  12. 1 0
      i18n/pt-BR.json
  13. 1 0
      i18n/pt.json
  14. 1 0
      i18n/ro.json
  15. 1 0
      i18n/ru.json
  16. 1 0
      i18n/tr.json

+ 4 - 1
frontend/src/views/settings/general.vue

@@ -63,12 +63,15 @@
     </b-field>
 
     <hr />
-    <b-field :label="$t('settings.general.language')" label-position="on-border">
+    <b-field :label="$t('settings.general.language')" label-position="on-border" :addons="false">
       <b-select v-model="data['app.lang']" name="app.lang">
           <option v-for="l in serverConfig.langs" :key="l.code" :value="l.code">
             {{ l.name }}
           </option>
       </b-select>
+      <p class="mt-2">
+        <a href="https://listmonk.app/docs/i18n/#additional-language-packs" target="_blank">{{ $t('globals.buttons.more') }} &rarr;</a>
+      </p>
     </b-field>
   </div>
 </template>

+ 1 - 0
i18n/cs-cz.json

@@ -121,6 +121,7 @@
     "globals.buttons.edit": "Upravit",
     "globals.buttons.enabled": "Povoleno",
     "globals.buttons.learnMore": "Další informace",
+    "globals.buttons.more": "More",
     "globals.buttons.new": "Nový",
     "globals.buttons.ok": "Ok",
     "globals.buttons.remove": "Odebrat",

+ 1 - 0
i18n/de.json

@@ -121,6 +121,7 @@
     "globals.buttons.edit": "Bearbeiten",
     "globals.buttons.enabled": "Aktiviert",
     "globals.buttons.learnMore": "Erfahre mehr",
+    "globals.buttons.more": "More",
     "globals.buttons.new": "Neu",
     "globals.buttons.ok": "Ok",
     "globals.buttons.remove": "Entfernen",

+ 1 - 0
i18n/en.json

@@ -121,6 +121,7 @@
     "globals.buttons.edit": "Edit",
     "globals.buttons.enabled": "Enabled",
     "globals.buttons.learnMore": "Learn more",
+    "globals.buttons.more": "More",
     "globals.buttons.new": "New",
     "globals.buttons.ok": "Ok",
     "globals.buttons.remove": "Remove",

+ 1 - 0
i18n/es.json

@@ -121,6 +121,7 @@
     "globals.buttons.edit": "Editar",
     "globals.buttons.enabled": "Habilitar",
     "globals.buttons.learnMore": "Conocer más",
+    "globals.buttons.more": "More",
     "globals.buttons.new": "Nuevo",
     "globals.buttons.ok": "Aceptar",
     "globals.buttons.remove": "Eliminar",

+ 1 - 0
i18n/fr.json

@@ -121,6 +121,7 @@
     "globals.buttons.edit": "Éditer",
     "globals.buttons.enabled": "Activé·e",
     "globals.buttons.learnMore": "En savoir plus",
+    "globals.buttons.more": "More",
     "globals.buttons.new": "Ajouter",
     "globals.buttons.ok": "Valider",
     "globals.buttons.remove": "Supprimer",

+ 1 - 0
i18n/hu.json

@@ -121,6 +121,7 @@
     "globals.buttons.edit": "Szerkesztés",
     "globals.buttons.enabled": "Egedélyezés",
     "globals.buttons.learnMore": "Tudj meg többet",
+    "globals.buttons.more": "More",
     "globals.buttons.new": "Új",
     "globals.buttons.ok": "Ok",
     "globals.buttons.remove": "Eltávolítás",

+ 1 - 0
i18n/it.json

@@ -121,6 +121,7 @@
     "globals.buttons.edit": "Modifica",
     "globals.buttons.enabled": "Attivata",
     "globals.buttons.learnMore": "Per saperne di più",
+    "globals.buttons.more": "More",
     "globals.buttons.new": "Nuovo",
     "globals.buttons.ok": "Ok",
     "globals.buttons.remove": "Cancellare",

+ 1 - 0
i18n/ml.json

@@ -121,6 +121,7 @@
     "globals.buttons.edit": "തിരുത്തുക",
     "globals.buttons.enabled": "പ്രവർത്തനക്ഷമാക്കി",
     "globals.buttons.learnMore": "കൂടുതൽ അറിയുക",
+    "globals.buttons.more": "More",
     "globals.buttons.new": "പുതിയത്",
     "globals.buttons.ok": "ശരി",
     "globals.buttons.remove": "നീക്കം ചെയ്യുക",

+ 1 - 0
i18n/nl.json

@@ -121,6 +121,7 @@
     "globals.buttons.edit": "Bewerken",
     "globals.buttons.enabled": "Ingeschakeld",
     "globals.buttons.learnMore": "Meer leren",
+    "globals.buttons.more": "More",
     "globals.buttons.new": "Nieuw",
     "globals.buttons.ok": "Ok",
     "globals.buttons.remove": "Verwijder",

+ 1 - 0
i18n/pl.json

@@ -121,6 +121,7 @@
     "globals.buttons.edit": "Edytuj",
     "globals.buttons.enabled": "Włączone",
     "globals.buttons.learnMore": "Dowiedz się więcej",
+    "globals.buttons.more": "More",
     "globals.buttons.new": "Nowa",
     "globals.buttons.ok": "Ok",
     "globals.buttons.remove": "Usuń",

+ 1 - 0
i18n/pt-BR.json

@@ -121,6 +121,7 @@
     "globals.buttons.edit": "Editar",
     "globals.buttons.enabled": "Habilitado",
     "globals.buttons.learnMore": "Saiba mais",
+    "globals.buttons.more": "More",
     "globals.buttons.new": "Novo",
     "globals.buttons.ok": "Ok",
     "globals.buttons.remove": "Excluir",

+ 1 - 0
i18n/pt.json

@@ -121,6 +121,7 @@
     "globals.buttons.edit": "Editar",
     "globals.buttons.enabled": "Ativo",
     "globals.buttons.learnMore": "Saber mais",
+    "globals.buttons.more": "More",
     "globals.buttons.new": "Novo",
     "globals.buttons.ok": "Ok",
     "globals.buttons.remove": "Remover",

+ 1 - 0
i18n/ro.json

@@ -121,6 +121,7 @@
     "globals.buttons.edit": "Ieși",
     "globals.buttons.enabled": "Activat",
     "globals.buttons.learnMore": "Află mai multe",
+    "globals.buttons.more": "More",
     "globals.buttons.new": "Nou",
     "globals.buttons.ok": "Ok",
     "globals.buttons.remove": "Elimină",

+ 1 - 0
i18n/ru.json

@@ -121,6 +121,7 @@
     "globals.buttons.edit": "Изменить",
     "globals.buttons.enabled": "Включено",
     "globals.buttons.learnMore": "Подпробней",
+    "globals.buttons.more": "More",
     "globals.buttons.new": "Новое",
     "globals.buttons.ok": "Ok",
     "globals.buttons.remove": "Удалить",

+ 1 - 0
i18n/tr.json

@@ -121,6 +121,7 @@
     "globals.buttons.edit": "Değiştir",
     "globals.buttons.enabled": "Etkinleştirildi",
     "globals.buttons.learnMore": "Daha fazla öğren",
+    "globals.buttons.more": "More",
     "globals.buttons.new": "Yeni",
     "globals.buttons.ok": "Ok",
     "globals.buttons.remove": "Çıkart",