41
42
43
44
45
46
47
48
49
50
51
52
|
# File 'lib/transync/runner.rb', line 41
def self.update
TransyncConfig::CONFIG['FILES'].each do |file|
xliff_files = XliffTransReader.new(PATH, file, TransyncConfig::CONFIG['LANGUAGES'])
clean = xliff_files.fill_with_missing_keys
if clean
puts "\u{2713} '#{file}' already have all the keys in all the XLIFF files".colorize(:green)
else
puts "\u{2717} '#{file}' already DID NOT have all the keys in all the XLIFF files. But they were added automatically for you.".colorize(:red)
end
end
end
|