2017-11-20 18:08:48 -05:00
|
|
|
#!/usr/bin/env ruby
|
2019-05-12 23:04:27 -04:00
|
|
|
# frozen_string_literal: true
|
2017-11-20 18:08:48 -05:00
|
|
|
|
|
|
|
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
|