add pull_translations.rb
This commit is contained in:
parent
4bfb0fc70b
commit
b2f819fb7f
|
@ -0,0 +1,15 @@
|
||||||
|
[main]
|
||||||
|
host = https://www.transifex.com
|
||||||
|
lang_map = el_GR: el, es_ES: es, fr_FR: fr, ko_KR: ko, pt_PT: pt, sk_SK: sk, vi_VN: vi
|
||||||
|
|
||||||
|
[discourse-org.discourse-solvedclientenyml]
|
||||||
|
file_filter = config/locales/client.<lang>.yml
|
||||||
|
source_file = config/locales/client.en.yml
|
||||||
|
source_lang = en
|
||||||
|
type = YML
|
||||||
|
|
||||||
|
[discourse-org.discourse-solvedserverenyml]
|
||||||
|
file_filter = config/locales/server.<lang>.yml
|
||||||
|
source_file = config/locales/server.en.yml
|
||||||
|
source_lang = en
|
||||||
|
type = YML
|
|
@ -0,0 +1,3 @@
|
||||||
|
group :development do
|
||||||
|
gem 'translations-manager', git: 'https://github.com/discourse/translations-manager.git'
|
||||||
|
end
|
|
@ -0,0 +1,17 @@
|
||||||
|
GIT
|
||||||
|
remote: https://github.com/discourse/translations-manager.git
|
||||||
|
revision: 91404d4206b3bbe9670aed25ecb31516f91659de
|
||||||
|
specs:
|
||||||
|
translations-manager (0.1.0)
|
||||||
|
|
||||||
|
GEM
|
||||||
|
specs:
|
||||||
|
|
||||||
|
PLATFORMS
|
||||||
|
ruby
|
||||||
|
|
||||||
|
DEPENDENCIES
|
||||||
|
translations-manager!
|
||||||
|
|
||||||
|
BUNDLED WITH
|
||||||
|
1.13.6
|
|
@ -0,0 +1,8 @@
|
||||||
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
|
require 'translations_manager'
|
||||||
|
|
||||||
|
YML_DIRS = ['config/locales'].map { |d| File.expand_path(d) }
|
||||||
|
YML_FILE_PREFIXES = ['client', 'server']
|
||||||
|
|
||||||
|
TranslationsManager::TransifexUpdater.new(YML_DIRS, YML_FILE_PREFIXES, *ARGV).perform
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
ar:
|
ar:
|
||||||
js:
|
js:
|
||||||
solved:
|
solved:
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
da:
|
da:
|
||||||
js:
|
js:
|
||||||
solved:
|
solved:
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
de:
|
de:
|
||||||
js:
|
js:
|
||||||
solved:
|
solved:
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
es:
|
es:
|
||||||
js:
|
js:
|
||||||
solved:
|
solved:
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
fa_IR:
|
fa_IR:
|
||||||
js:
|
js:
|
||||||
solved:
|
solved:
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
fi:
|
fi:
|
||||||
js:
|
js:
|
||||||
solved:
|
solved:
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
fr:
|
fr:
|
||||||
js:
|
js:
|
||||||
solved:
|
solved:
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
he:
|
he:
|
||||||
js:
|
js:
|
||||||
solved:
|
solved:
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
it:
|
it:
|
||||||
js:
|
js:
|
||||||
solved:
|
solved:
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
pl_PL:
|
pl_PL:
|
||||||
js:
|
js:
|
||||||
solved:
|
solved:
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
pt:
|
pt:
|
||||||
js:
|
js:
|
||||||
solved:
|
solved:
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
pt_BR:
|
pt_BR:
|
||||||
js:
|
js:
|
||||||
solved:
|
solved:
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
ru:
|
ru:
|
||||||
js:
|
js:
|
||||||
solved:
|
solved:
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
tr_TR:
|
tr_TR:
|
||||||
js:
|
js:
|
||||||
solved:
|
solved:
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
zh_CN:
|
zh_CN:
|
||||||
js:
|
js:
|
||||||
solved:
|
solved:
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
ar:
|
ar:
|
||||||
site_settings:
|
site_settings:
|
||||||
allow_solved_on_all_topics: "اسمح للمستخدمين باختيار الحلول في كل المواضيع (إذ أنك تتحكم في هذا افتراضيا بتحرير الفئات)"
|
allow_solved_on_all_topics: "اسمح للمستخدمين باختيار الحلول في كل المواضيع (إذ أنك تتحكم في هذا افتراضيا بتحرير الفئات)"
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
|
da: {}
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
de:
|
de:
|
||||||
site_settings:
|
site_settings:
|
||||||
allow_solved_on_all_topics: "Erlaube Nutzern für Themen in allen Kategorien Lösungen als Antworten zu markieren (normalerweise wird dies für jede Kategorie individuell eingestellt)"
|
allow_solved_on_all_topics: "Erlaube Nutzern für Themen in allen Kategorien Lösungen als Antworten zu markieren (normalerweise wird dies für jede Kategorie individuell eingestellt)"
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
es:
|
es:
|
||||||
site_settings:
|
site_settings:
|
||||||
solved_enabled: "Activar plugin de temas solucionados, permitir a los usuarios seleccionar soluciones a temas"
|
solved_enabled: "Activar plugin de temas solucionados, permitir a los usuarios seleccionar soluciones a temas"
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
fa_IR:
|
fa_IR:
|
||||||
site_settings:
|
site_settings:
|
||||||
allow_solved_on_all_topics: "به کاربر اجازه انتخاب راه حل را بده."
|
allow_solved_on_all_topics: "به کاربر اجازه انتخاب راه حل را بده."
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
fi:
|
fi:
|
||||||
site_settings:
|
site_settings:
|
||||||
solved_enabled: "Ota käyttöön Solved-lisäosa, salii käyttäjän merkitä ratkaisuja ketjuille"
|
solved_enabled: "Ota käyttöön Solved-lisäosa, salii käyttäjän merkitä ratkaisuja ketjuille"
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
fr:
|
fr:
|
||||||
site_settings:
|
site_settings:
|
||||||
solved_enabled: "Activer le plugin Solutions, autoriser les utilisateurs à sélectionner des solutions aux sujets"
|
solved_enabled: "Activer le plugin Solutions, autoriser les utilisateurs à sélectionner des solutions aux sujets"
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
he:
|
he:
|
||||||
site_settings:
|
site_settings:
|
||||||
allow_solved_on_all_topics: "אפשר למשתמשים לקבל תשובות לכל הנושאים(כברירת מחדל שולט בזה על ידי עריכת הקטגוריה"
|
allow_solved_on_all_topics: "אפשר למשתמשים לקבל תשובות לכל הנושאים(כברירת מחדל שולט בזה על ידי עריכת הקטגוריה"
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
it:
|
it:
|
||||||
site_settings:
|
site_settings:
|
||||||
allow_solved_on_all_topics: "Consentire agli utenti di selezionare le soluzioni su tutti gli argomenti (per difetto puoi controllare il settaggio modificando le categorie)"
|
allow_solved_on_all_topics: "Consentire agli utenti di selezionare le soluzioni su tutti gli argomenti (per difetto puoi controllare il settaggio modificando le categorie)"
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
pl_PL:
|
pl_PL:
|
||||||
site_settings:
|
site_settings:
|
||||||
allow_solved_on_all_topics: "Pozwól oznaczać użytkownikom wszystkie tematy jako rozwiązane (domyślnie tylko dla wybranych kategorii w ich ustawieniach)"
|
allow_solved_on_all_topics: "Pozwól oznaczać użytkownikom wszystkie tematy jako rozwiązane (domyślnie tylko dla wybranych kategorii w ich ustawieniach)"
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
pt:
|
pt:
|
||||||
site_settings:
|
site_settings:
|
||||||
allow_solved_on_all_topics: "Permitir que os utilizadores escolham soluções em todos os tópicos (por omissão essa gestão é feita pela edição de categorias)"
|
allow_solved_on_all_topics: "Permitir que os utilizadores escolham soluções em todos os tópicos (por omissão essa gestão é feita pela edição de categorias)"
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
pt_BR:
|
pt_BR:
|
||||||
site_settings:
|
site_settings:
|
||||||
allow_solved_on_all_topics: "Permitir usuários selecionarem soluções em todos tópicos (por padrão você controla isso editando categorias)"
|
allow_solved_on_all_topics: "Permitir usuários selecionarem soluções em todos tópicos (por padrão você controla isso editando categorias)"
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
ru:
|
ru:
|
||||||
site_settings:
|
site_settings:
|
||||||
allow_solved_on_all_topics: "Разрешить пользователям отмечать ответы в темах (управляется в свойствах раздела)"
|
allow_solved_on_all_topics: "Разрешить пользователям отмечать ответы в темах (управляется в свойствах раздела)"
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
tr_TR:
|
tr_TR:
|
||||||
site_settings:
|
site_settings:
|
||||||
allow_solved_on_all_topics: "Kullanıcılar yanıtları çözüldü olarak seçebilsinler mi? (Varsayılan olarak kategori düzenleme kısmından ayarlayabilirsiniz.)"
|
allow_solved_on_all_topics: "Kullanıcılar yanıtları çözüldü olarak seçebilsinler mi? (Varsayılan olarak kategori düzenleme kısmından ayarlayabilirsiniz.)"
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
|
# Never edit this file. It will be overwritten when translations are pulled from Transifex.
|
||||||
|
#
|
||||||
|
# To work with us on translations, join this project:
|
||||||
|
# https://www.transifex.com/projects/p/discourse-org/
|
||||||
|
|
||||||
zh_CN:
|
zh_CN:
|
||||||
site_settings:
|
site_settings:
|
||||||
allow_solved_on_all_topics: "允许用户在所有主题选择解决方案(默认情况下在各个分类设置中更设置)"
|
allow_solved_on_all_topics: "允许用户在所有主题选择解决方案(默认情况下在各个分类设置中更设置)"
|
||||||
|
|
Loading…
Reference in New Issue