discourse-solved/bin/pull_translations.rb

9 lines
243 B
Ruby
Raw Normal View History

2017-11-20 18:08:48 -05:00
#!/usr/bin/env ruby
require 'translations_manager'
YML_DIRS = ['config/locales'].map { |d| File.expand_path(d) }
YML_FILE_PREFIXES = ['client', 'server']
TranslationsManager::TransifexUpdater.new(YML_DIRS, YML_FILE_PREFIXES, *ARGV).perform