locgen 0.0.3 → 0.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/LocGen.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f9ad4e85a652ea644e530bcad9e0dc4ef013edc
|
4
|
+
data.tar.gz: 76786e59796b2b4771cb800ab818f294b2b4287d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9da5032a11cfc15a5a5b86a09b308dd699d29abadd1719ae8fc3e1ae09ed3f3cc97fbb960e6eb983f92cbe2344622b44d5bc0ce62924acd739cf811dd0146bae
|
7
|
+
data.tar.gz: 2bdddcb3c6d4a8ae50d4af3e85a4ee53c604649d883fba7d3468c96d3c1d97d36ac548c15ccc2a3024a880436356dcb5d5d069f4492c38763de78200f16b26bf
|
data/lib/LocGen.rb
CHANGED
@@ -87,6 +87,7 @@ class LocGen
|
|
87
87
|
if row
|
88
88
|
# localized key
|
89
89
|
if row.cells[@keyIndex]
|
90
|
+
next if !row.cells[@keyIndex].value || row.cells[@keyIndex].value == ""
|
90
91
|
key = row.cells[@keyIndex].value
|
91
92
|
end
|
92
93
|
# localized comment
|
@@ -135,5 +136,4 @@ class LocGen
|
|
135
136
|
Dir.mkdir(dirPath) unless File.exists?(dirPath)
|
136
137
|
File.write("#{dirPath}/#{fileName}", @localizations[localIndex].join("\n\n"))
|
137
138
|
end
|
138
|
-
|
139
139
|
end
|