From 4653627a4062ac5b69dd2f5a2ed3729d99547153 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Mon, 10 Sep 2018 14:22:45 -0400 Subject: [PATCH] update plugin-translations.rb script to update .tx/config file in plugins when languages are added or removed --- script/plugin-translations.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/script/plugin-translations.rb b/script/plugin-translations.rb index e43a72afd95..f4ed4165c96 100644 --- a/script/plugin-translations.rb +++ b/script/plugin-translations.rb @@ -49,6 +49,7 @@ class PluginTxUpdater system_cmd('bundle exec bin/pull_translations.rb') system_cmd('git add config/locales/*') system_cmd('git add Gemfile.lock') rescue true # might be gitignored + system_cmd('git add .tx/config') rescue true system_cmd('git commit -m "Update translations"') system_cmd('git push origin master') if @push rescue => e