From 09c4491f7371b52484511fda6f35c41bae0e985d Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Fri, 6 Apr 2018 14:01:10 +0200 Subject: [PATCH] Add remaining core plugins to Transifex --- .tx/config | 18 ++++++++++++++++++ script/pull_translations.rb | 2 ++ 2 files changed, 20 insertions(+) diff --git a/.tx/config b/.tx/config index 26ec9541c48..83873e2d8c3 100644 --- a/.tx/config +++ b/.tx/config @@ -50,6 +50,24 @@ source_file = plugins/discourse-presence/config/locales/server.en.yml source_lang = en type = YML +[discourse-org.coreplugindetailsclientyml] +file_filter = plugins/discourse-details/config/locales/client..yml +source_file = plugins/discourse-details/config/locales/client.en.yml +source_lang = en +type = YML + +[discourse-org.coreplugindetailsserveryml] +file_filter = plugins/discourse-details/config/locales/server..yml +source_file = plugins/discourse-details/config/locales/server.en.yml +source_lang = en +type = YML + +[discourse-org.corepluginnginx-performance-reportserveryml] +file_filter = plugins/discourse-nginx-performance-report/config/locales/server..yml +source_file = plugins/discourse-nginx-performance-report/config/locales/server.en.yml +source_lang = en +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 003287b1bcf..a82abce68e0 100644 --- a/script/pull_translations.rb +++ b/script/pull_translations.rb @@ -13,7 +13,9 @@ require_relative '../lib/i18n/locale_file_walker' YML_DIRS = ['config/locales', 'plugins/poll/config/locales', + 'plugins/discourse-details/config/locales', 'plugins/discourse-narrative-bot/config/locales', + 'plugins/discourse-nginx-performance-report/config/locales', 'plugins/discourse-presence/config/locales'] YML_FILE_PREFIXES = ['server', 'client']