jekyll-task-i18n 1.0.9 → 1.1.0
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/jekyll/task/i18n/version.rb +1 -1
- data/lib/jekyll/task/i18n.rb +10 -5
- 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
|
@@ -193,6 +197,7 @@ module Jekyll
|
|
193
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",
|