bin/crowdin-cli in crowdin-cli-0.0.19 vs bin/crowdin-cli in crowdin-cli-0.0.20
- old
+ new
@@ -218,11 +218,11 @@
end # if
end # @config['files']
if dest_files.empty?
- exit_now!("Warning: nothing to upload. See http://crowdin.net/page/cli-client#configuration-file for more details.")
+ exit_now!("nothing to upload. See http://crowdin.net/page/cli-client#configuration-file for more details.")
end
common_dir = find_common_directory_path(dest_files)
local_project_tree = get_local_files_hierarchy(local_files.collect{ |h| h[:dest].sub(common_dir, '') })
@@ -510,10 +510,10 @@
if @config['base_path']
@base_path = @config['base_path']
else
@base_path = Dir.pwd
puts <<EOS
-Warning: Configuration misses parameter `base_path` that defines your project root directory. Using `#{@base_path}` as a root directory.
+Warning: Configuration file misses parameter `base_path` that defines your project root directory. Using `#{@base_path}` as a root directory.
EOS
end
Crowdin::API.log = Logger.new($stderr) if global[:v]
@crowdin = Crowdin::API.new(api_key: @config['api_key'], project_id: @config['project_identifier'], base_url: @config['base_url'] || 'http://api.crowdin.net')