lost_in_translation 0.2.14 → 0.2.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b91a6d29a7b1734da24ccf6ae306fb6e71a4524
4
- data.tar.gz: 19156e5db5d18c41ec7eb16eb3836962801b93f6
3
+ metadata.gz: 8400bb4007bbe3b64842be7db2b060671ff5785b
4
+ data.tar.gz: df902891617cad5ce52a0b54676177a83bd914e2
5
5
  SHA512:
6
- metadata.gz: '087064e28450bd93cd219c7061617cb1860074c1c72bafaf0e6221f4b60dd204480e0f5391397424f99898b4b84ad5a3147d499e96f0cd92f37ece9e52637186'
7
- data.tar.gz: bd5fc6b3af8f8b94e65398caa0cc61fffc0b5074b29e03570705ffb6ad52b00a4256cd6cc8d34274fc1fce73c57c66100abf77fe1d466bdb7bcd39bb2f322d94
6
+ metadata.gz: 76d057594c8963e6396a805e13fdfb3ba33de48aca14ad7008749cc2bae1ef235fcf68d5b8c18aa209604adb62ce301741f41f22f1f3bce439d71379ff14a638
7
+ data.tar.gz: 245a56d1c664e247f448bfd5ebcc8a76afce1fd2065de1008e1e8484b241bbce19b7d5b5412b9d3f917b3e6f306bb37ee0f156adc51d044dc4872fc17a6e4513
@@ -30,8 +30,11 @@ module LostInTranslation
30
30
 
31
31
  def self.value_missing(slave_file, structure)
32
32
  return true if slave_file.blank?
33
- puts structure
34
- false
33
+ # puts structure
34
+ # en
35
+ # storage_backlog
36
+ # backlog_qstl
37
+ true
35
38
  end
36
39
 
37
40
  def self.get_locale(path)
@@ -6,7 +6,6 @@ module LostInTranslation
6
6
  paths = tmp_paths
7
7
  FileUtils.cp(options[:master], paths[:master]) if options[:master]
8
8
  FileUtils.cp(options[:slave], paths[:slave]) if options[:slave]
9
- FileUtils.cp(options[:copy], paths[:copy]) if options[:copy]
10
9
  end
11
10
 
12
11
  def self.prepare_paths(paths = [])
@@ -2,5 +2,5 @@
2
2
 
3
3
  #
4
4
  module LostInTranslation
5
- VERSION = '0.2.14'
5
+ VERSION = '0.2.15'
6
6
  end
@@ -28,8 +28,8 @@ module LostInTranslation
28
28
 
29
29
  abort('Well, in that case, forget it!') unless ask_for_permission(@master[:lang], @slave[:lang], @master[:app_name], count)
30
30
 
31
- new_strings_array = diff(master_copy_file[@master[:lang]], master_file[@master[:lang]], @master[:lang], @slave[:lang], [@slave[:lang]], [],
32
- diff_counter: 0, diff_count: count, mode: 'replace', slave_file: slave_file)
31
+ new_strings_array = diff(master_copy_file[@master[:lang]], master_file[@master[:lang]], @master[:lang],
32
+ @slave[:lang], [@slave[:lang]], [], mode: 'replace', diff_counter: 0, diff_count: count, slave_file: slave_file)
33
33
 
34
34
  new_strings_array.each do |string|
35
35
  result = string_to_hash(string)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lost_in_translation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.14
4
+ version: 0.2.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Datyv