Transifex integration
This commit is contained in:
parent
0329745f84
commit
89e1ae75f1
|
@ -0,0 +1 @@
|
||||||
|
.DS_Store
|
|
@ -0,0 +1,9 @@
|
||||||
|
[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.pluginmathserverenyml]
|
||||||
|
file_filter = config/locales/server.<lang>.yml
|
||||||
|
source_file = config/locales/server.en.yml
|
||||||
|
source_lang = en
|
||||||
|
type = YML
|
|
@ -0,0 +1,5 @@
|
||||||
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
|
group :development do
|
||||||
|
gem 'translations-manager', git: 'https://github.com/discourse/translations-manager.git'
|
||||||
|
end
|
|
@ -0,0 +1,18 @@
|
||||||
|
GIT
|
||||||
|
remote: https://github.com/discourse/translations-manager.git
|
||||||
|
revision: 7c265df4e60c75f7bea6aa978f79e7364c2c4ac7
|
||||||
|
specs:
|
||||||
|
translations-manager (0.1.1)
|
||||||
|
|
||||||
|
GEM
|
||||||
|
remote: https://rubygems.org/
|
||||||
|
specs:
|
||||||
|
|
||||||
|
PLATFORMS
|
||||||
|
ruby
|
||||||
|
|
||||||
|
DEPENDENCIES
|
||||||
|
translations-manager!
|
||||||
|
|
||||||
|
BUNDLED WITH
|
||||||
|
1.13.6
|
|
@ -0,0 +1,15 @@
|
||||||
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
|
# Usage:
|
||||||
|
# bundle install
|
||||||
|
# bundle exec bin/pull_translations.rb
|
||||||
|
#
|
||||||
|
# To choose which languages to update, list them as arguments:
|
||||||
|
# bundle exec bin/pull_translations.rb he uk
|
||||||
|
|
||||||
|
require 'translations_manager'
|
||||||
|
|
||||||
|
YML_DIRS = ['config/locales'].map { |d| File.expand_path(d) }
|
||||||
|
YML_FILE_PREFIXES = ['server']
|
||||||
|
|
||||||
|
TranslationsManager::TransifexUpdater.new(YML_DIRS, YML_FILE_PREFIXES, *ARGV).perform
|
|
@ -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/
|
||||||
|
|
||||||
|
ar: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
bs_BA: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
cs: {}
|
|
@ -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: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
de: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
el: {}
|
|
@ -1,5 +1,9 @@
|
||||||
# encoding: utf-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/
|
||||||
|
|
||||||
es:
|
es:
|
||||||
site_settings:
|
site_settings:
|
||||||
|
|
|
@ -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/
|
||||||
|
|
||||||
|
et: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
fa_IR: {}
|
|
@ -1,8 +1,11 @@
|
||||||
# encoding: utf-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/
|
||||||
|
|
||||||
fi:
|
fi:
|
||||||
site_settings:
|
site_settings:
|
||||||
discourse_math_enabled: 'Ota käyttöön Discoursen matematiikkalisäosa ($ ja $$ blokit käsitellään erityisellä tavalla)'
|
discourse_math_enabled: 'Ota käyttöön Discoursen matematiikkalisäosa ($ ja $$ blokit käsitellään erityisellä tavalla)'
|
||||||
discourse_math_zoom_on_click: 'Zoomaa 200% hoverissa'
|
|
||||||
discourse_math_enable_accessibility: 'Ota käyttöön esteettömyysominaisuudet'
|
discourse_math_enable_accessibility: 'Ota käyttöön esteettömyysominaisuudet'
|
||||||
|
|
|
@ -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/
|
||||||
|
|
||||||
|
fr: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
gl: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
he: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
id: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
it: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
ja: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
ko: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
lv: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
nb_NO: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
nl: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
pl_PL: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
pt: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
pt_BR: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
ro: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
ru: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
sk: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
sq: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
sv: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
te: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
th: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
tr_TR: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
uk: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
ur: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
vi: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
zh_CN: {}
|
|
@ -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/
|
||||||
|
|
||||||
|
zh_TW: {}
|
Loading…
Reference in New Issue