jekyll-task-i18n 1.0.8 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll/task/i18n/version.rb +1 -1
- data/lib/jekyll/task/i18n.rb +12 -7
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b3f56e5eb01ea56294f8c26092d3e50a4ea3df69be89755e51b95d681dd05d0
|
4
|
+
data.tar.gz: d3b5cbcbcea5037a3b27a85e21437b3c9658af961ddaed9a85b9bd643e0ed053
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd2cd2121b56c5f7185032ba8446b14dece1089bfda1de2d3458f97e0403b416eaba10bf0449e3df15c2b4d903aa18198980e1eb56529cc30b51cf63dc27b837
|
7
|
+
data.tar.gz: d018e82e47cd8093439d8ed1037762cf491aa411f9e7fff9b20db4a378a624d7e7f05524fe19ef4fee101245fb7f26e936d03664ab7c7e1d47f97070912ada55
|
data/lib/jekyll/task/i18n.rb
CHANGED
@@ -99,9 +99,10 @@ module Jekyll
|
|
99
99
|
path.source_pot_file.open("w") do |output|
|
100
100
|
output.puts(generator.generate)
|
101
101
|
end
|
102
|
-
msgcat("--
|
103
|
-
"--no-
|
102
|
+
msgcat("--no-all-comments",
|
103
|
+
"--no-update-po-revision-date",
|
104
104
|
"--no-wrap",
|
105
|
+
"--output", path.pot_file.to_s,
|
105
106
|
"--remove-header-field=Language-Team",
|
106
107
|
"--remove-header-field=Last-Translator",
|
107
108
|
"--remove-header-field=POT-Creation-Date",
|
@@ -114,7 +115,8 @@ module Jekyll
|
|
114
115
|
end
|
115
116
|
unless path.edit_po_file.exist?
|
116
117
|
if path.po_file.exist?
|
117
|
-
msgcat("--no-
|
118
|
+
msgcat("--no-update-po-revision-date",
|
119
|
+
"--no-wrap",
|
118
120
|
"--output", path.edit_po_file.to_s,
|
119
121
|
path.po_file.to_s)
|
120
122
|
else
|
@@ -137,7 +139,8 @@ module Jekyll
|
|
137
139
|
"--sort-by-file",
|
138
140
|
path.po_file.to_s,
|
139
141
|
path.edit_po_file.to_s)
|
140
|
-
msgcat("--no-
|
142
|
+
msgcat("--no-update-po-revision-date",
|
143
|
+
"--no-wrap",
|
141
144
|
"--output", path.edit_po_file.to_s,
|
142
145
|
path.edit_po_file.to_s)
|
143
146
|
end
|
@@ -149,7 +152,8 @@ module Jekyll
|
|
149
152
|
"--sort-by-file",
|
150
153
|
path.all_po_file.to_s,
|
151
154
|
path.edit_po_file.to_s)
|
152
|
-
msgcat("--no-
|
155
|
+
msgcat("--no-update-po-revision-date",
|
156
|
+
"--no-wrap",
|
153
157
|
"--output", path.edit_po_file.to_s,
|
154
158
|
path.edit_po_file.to_s)
|
155
159
|
end
|
@@ -189,10 +193,11 @@ module Jekyll
|
|
189
193
|
|
190
194
|
CLEAN << path.time_stamp_file.to_s if path.time_stamp_file.exist?
|
191
195
|
file po_file => [path.edit_po_file.to_s] do
|
192
|
-
msgcat("--no-
|
193
|
-
"--no-
|
196
|
+
msgcat("--no-fuzzy",
|
197
|
+
"--no-location",
|
194
198
|
"--no-obsolete-entries",
|
195
199
|
"--no-report-warning",
|
200
|
+
"--no-update-po-revision-date",
|
196
201
|
"--no-wrap",
|
197
202
|
"--output", po_file,
|
198
203
|
"--remove-header-field=POT-Creation-Date",
|