mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 13:53:45 +08:00
update plugin-translations.rb script to update .tx/config file in plugins when languages are added or removed
This commit is contained in:
parent
6afc86398c
commit
4653627a40
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user