Sha256: 79126a7877f4316eac7c596ab25ed4124abe05188ede8b681b044a927d6b6ed2
Contents?: true
Size: 528 Bytes
Versions: 3
Compression:
Stored size: 528 Bytes
Contents
require 'bisu/logger' require 'bisu/config' require 'bisu/knowledge_base' require 'bisu/translator' module Bisu def self.run if config = Bisu::Config.parse("translatable.yml") kbase = Bisu::GoogleDriveKB.new(config[:sheet_id], config[:keys_column]) trans = Bisu::Translator.new(kbase, config[:type]) config[:in].each do |in_path| config[:out].each do |out| trans.translate(out[:language], in_path, out[:folder]) end end end Bisu::Logger.print_summary end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bisu-1.0.2 | lib/bisu.rb |
bisu-1.0.0 | lib/bisu.rb |
bisu-1.0.1 | lib/bisu.rb |