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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ccde0bcf94a7d7df2a51a4e3905a5cc1905caad5d79583c52943a3685fd0d4f6
4
- data.tar.gz: 846f6647e66517d5e199501871026c723ec0f845f620735bb129fa38da8cf510
3
+ metadata.gz: 1b3f56e5eb01ea56294f8c26092d3e50a4ea3df69be89755e51b95d681dd05d0
4
+ data.tar.gz: d3b5cbcbcea5037a3b27a85e21437b3c9658af961ddaed9a85b9bd643e0ed053
5
5
  SHA512:
6
- metadata.gz: da1755d26acbd973acacca0969f79e33be335fc8847322ce05599f2ac65429bedd281421f941217eac54f0c04a5d5302a166b51c8d401ed28bd6debfb7dc6042
7
- data.tar.gz: bdd1dad6dc4e16dcbf676756ac480964dd55efc16c5f8ae978761b5a15bf987109174046958847beac51cac668418f94cf3828e2cbae5e6a571dfa254672480e
6
+ metadata.gz: dd2cd2121b56c5f7185032ba8446b14dece1089bfda1de2d3458f97e0403b416eaba10bf0449e3df15c2b4d903aa18198980e1eb56529cc30b51cf63dc27b837
7
+ data.tar.gz: d018e82e47cd8093439d8ed1037762cf491aa411f9e7fff9b20db4a378a624d7e7f05524fe19ef4fee101245fb7f26e936d03664ab7c7e1d47f97070912ada55
@@ -17,7 +17,7 @@
17
17
  module Jekyll
18
18
  module Task
19
19
  class I18n
20
- VERSION = "1.0.8"
20
+ VERSION = "1.1.0"
21
21
  end
22
22
  end
23
23
  end
@@ -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("--output", path.pot_file.to_s,
103
- "--no-all-comments",
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-wrap",
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-wrap",
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-wrap",
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-all-comments",
193
- "--no-fuzzy",
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",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-task-i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou