From 69dee799e9721b92acbbcc7e838914df28362d89 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Thu, 24 Apr 2014 10:11:23 -0400 Subject: [PATCH] Add plugins/poll and discourse_imgur translation files to transifex --- .tx/config | 30 +++++++++ script/pull_translations.rb | 64 ++++++++++++------- .../lib/discourse_imgur/locale/server.de.yml | 2 +- .../lib/discourse_imgur/locale/server.en.yml | 8 +-- .../lib/discourse_imgur/locale/server.es.yml | 2 +- .../lib/discourse_imgur/locale/server.fr.yml | 2 +- .../lib/discourse_imgur/locale/server.it.yml | 2 +- .../lib/discourse_imgur/locale/server.nl.yml | 2 +- .../lib/discourse_imgur/locale/server.pt.yml | 2 +- .../lib/discourse_imgur/locale/server.sv.yml | 2 +- .../discourse_imgur/locale/server.zh_CN.yml | 2 +- .../discourse_imgur/locale/server.zh_TW.yml | 2 +- 12 files changed, 83 insertions(+), 37 deletions(-) diff --git a/.tx/config b/.tx/config index aefdb0bbc69..e47483f0176 100644 --- a/.tx/config +++ b/.tx/config @@ -21,6 +21,36 @@ trans.ko_KR = config/locales/server.ko.yml trans.pt_PT = config/locales/server.pt.yml type = YML +[discourse-org.pollclientenyml] +file_filter = plugins/poll/config/locales/client..yml +source_file = plugins/poll/config/locales/client.en.yml +source_lang = en +trans.es_ES = plugins/poll/config/locales/client.es.yml +trans.fr_FR = plugins/poll/config/locales/client.fr.yml +#trans.ko_KR = plugins/poll/config/locales/client.ko.yml +#trans.pt_PT = plugins/poll/config/locales/client.pt.yml +type = YML + +[discourse-org.pollserverenyml] +file_filter = plugins/poll/config/locales/server..yml +source_file = plugins/poll/config/locales/server.en.yml +source_lang = en +trans.es_ES = plugins/poll/config/locales/server.es.yml +trans.fr_FR = plugins/poll/config/locales/server.fr.yml +#trans.ko_KR = plugins/poll/config/locales/server.ko.yml +#trans.pt_PT = plugins/poll/config/locales/server.pt.yml +type = YML + +[discourse-org.imgurserverenyml] +file_filter = vendor/gems/discourse_imgur/lib/discourse_imgur/locale/server..yml +source_file = vendor/gems/discourse_imgur/lib/discourse_imgur/locale/server.en.yml +source_lang = en +trans.es_ES = vendor/gems/discourse_imgur/lib/discourse_imgur/locale/server.es.yml +trans.fr_FR = vendor/gems/discourse_imgur/lib/discourse_imgur/locale/server.fr.yml +#trans.ko_KR = vendor/gems/discourse_imgur/lib/discourse_imgur/locale/server.ko.yml +trans.pt_PT = vendor/gems/discourse_imgur/lib/discourse_imgur/locale/server.pt.yml +type = YML + [discourse-org.403html] file_filter = public/403..html source_file = public/403.html diff --git a/script/pull_translations.rb b/script/pull_translations.rb index 5b6cc933d4c..6d9bb1305cf 100644 --- a/script/pull_translations.rb +++ b/script/pull_translations.rb @@ -33,7 +33,7 @@ unless $?.success? exit $?.exitstatus end -yml_file_comments = <