gettext 3.2.5 → 3.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +12 -0
- data/lib/gettext/tools/parser/ruby.rb +10 -1
- data/lib/gettext/version.rb +1 -1
- data/po/bg/gettext.edit.po +1 -1
- data/po/bg/gettext.po +1 -1
- data/po/bs/gettext.edit.po +1 -1
- data/po/bs/gettext.po +1 -1
- data/po/ca/gettext.edit.po +1 -1
- data/po/ca/gettext.po +1 -1
- data/po/cs/gettext.edit.po +1 -1
- data/po/cs/gettext.po +1 -1
- data/po/de/gettext.edit.po +1 -1
- data/po/de/gettext.po +1 -1
- data/po/el/gettext.edit.po +1 -1
- data/po/el/gettext.po +1 -1
- data/po/eo/gettext.edit.po +1 -1
- data/po/eo/gettext.po +1 -1
- data/po/es/gettext.edit.po +1 -1
- data/po/es/gettext.po +1 -1
- data/po/et/gettext.edit.po +1 -1
- data/po/et/gettext.po +1 -1
- data/po/fr/gettext.edit.po +1 -1
- data/po/fr/gettext.po +1 -1
- data/po/gettext.pot +4 -4
- data/po/hr/gettext.edit.po +1 -1
- data/po/hr/gettext.po +1 -1
- data/po/hu/gettext.edit.po +1 -1
- data/po/hu/gettext.po +1 -1
- data/po/it/gettext.edit.po +1 -1
- data/po/it/gettext.po +1 -1
- data/po/ja/gettext.edit.po +1 -1
- data/po/ja/gettext.po +1 -1
- data/po/ko/gettext.edit.po +1 -1
- data/po/ko/gettext.po +1 -1
- data/po/lv/gettext.edit.po +1 -1
- data/po/lv/gettext.po +1 -1
- data/po/nb/gettext.edit.po +1 -1
- data/po/nb/gettext.po +1 -1
- data/po/nl/gettext.edit.po +1 -1
- data/po/nl/gettext.po +1 -1
- data/po/pt_BR/gettext.edit.po +1 -1
- data/po/pt_BR/gettext.po +1 -1
- data/po/ru/gettext.edit.po +1 -1
- data/po/ru/gettext.po +1 -1
- data/po/sr/gettext.edit.po +1 -1
- data/po/sr/gettext.po +1 -1
- data/po/sv/gettext.edit.po +1 -1
- data/po/sv/gettext.po +1 -1
- data/po/uk/gettext.edit.po +1 -1
- data/po/uk/gettext.po +1 -1
- data/po/vi/gettext.edit.po +1 -1
- data/po/vi/gettext.po +1 -1
- data/po/zh/gettext.edit.po +1 -1
- data/po/zh/gettext.po +1 -1
- data/po/zh_TW/gettext.edit.po +1 -1
- data/po/zh_TW/gettext.po +1 -1
- data/test/fixtures/_.rb +1 -1
- data/test/test_parser.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3007c4ad8454d06bcbcc0fea67c4d68c5a509e90
|
4
|
+
data.tar.gz: 92770ce98a872b9a051c6831b5b62af16cea7aae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d552d3157f9f01e66ffd719ee825eb01a1b0915374b7841520a741d03fa34c7ad5501545b1938da69866c8e1cac3e88db34b9e6829d7aedc5471a0a85922e09
|
7
|
+
data.tar.gz: f544653dd71ffea9fcc3c0bc2c7058587e6c132ab19176a9a95814cd6d5248786dd2ffaa8fbbf8cf946f38c56a735456725283a984a74b0cf6405062af1d3ead
|
data/doc/text/news.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# News
|
2
2
|
|
3
|
+
## 3.2.6: 2017-12-17 {#version-3-2-6}
|
4
|
+
|
5
|
+
### Fixes
|
6
|
+
|
7
|
+
* Fixed a regression bug that `\'` and `\\` aren't processed in
|
8
|
+
`'...'`.
|
9
|
+
[GitHub#56][Reported by Michaël Hoste]
|
10
|
+
|
11
|
+
### Thanks
|
12
|
+
|
13
|
+
* Michaël Hoste
|
14
|
+
|
3
15
|
## 3.2.5: 2017-12-14 {#version-3-2-5}
|
4
16
|
|
5
17
|
### Improvements
|
@@ -47,7 +47,16 @@ module GetText
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
else
|
50
|
-
output << token
|
50
|
+
output << token.gsub(/\\./) do |data|
|
51
|
+
case data
|
52
|
+
when "\\\\"
|
53
|
+
"\\"
|
54
|
+
when "\\'"
|
55
|
+
"'"
|
56
|
+
else
|
57
|
+
data
|
58
|
+
end
|
59
|
+
end
|
51
60
|
end
|
52
61
|
when :on_tstring_beg
|
53
62
|
unless @string_mark_stack.empty?
|
data/lib/gettext/version.rb
CHANGED
data/po/bg/gettext.edit.po
CHANGED
data/po/bg/gettext.po
CHANGED
data/po/bs/gettext.edit.po
CHANGED
data/po/bs/gettext.po
CHANGED
data/po/ca/gettext.edit.po
CHANGED
data/po/ca/gettext.po
CHANGED
data/po/cs/gettext.edit.po
CHANGED
data/po/cs/gettext.po
CHANGED
data/po/de/gettext.edit.po
CHANGED
data/po/de/gettext.po
CHANGED
data/po/el/gettext.edit.po
CHANGED
data/po/el/gettext.po
CHANGED
data/po/eo/gettext.edit.po
CHANGED
data/po/eo/gettext.po
CHANGED
data/po/es/gettext.edit.po
CHANGED
data/po/es/gettext.po
CHANGED
data/po/et/gettext.edit.po
CHANGED
data/po/et/gettext.po
CHANGED
data/po/fr/gettext.edit.po
CHANGED
data/po/fr/gettext.po
CHANGED
data/po/gettext.pot
CHANGED
@@ -6,10 +6,10 @@
|
|
6
6
|
#, fuzzy
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: gettext 3.2.
|
9
|
+
"Project-Id-Version: gettext 3.2.6\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date: 2017-12-
|
12
|
-
"PO-Revision-Date: 2017-12-
|
11
|
+
"POT-Creation-Date: 2017-12-17 00:23+0900\n"
|
12
|
+
"PO-Revision-Date: 2017-12-17 00:23+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
@@ -489,7 +489,7 @@ msgid "#"
|
|
489
489
|
msgstr ""
|
490
490
|
|
491
491
|
#: ../test/fixtures/_.rb:96
|
492
|
-
msgid "\\taaa"
|
492
|
+
msgid "\\taaa'bbb\\ccc"
|
493
493
|
msgstr ""
|
494
494
|
|
495
495
|
#: ../test/fixtures/_.rb:100
|
data/po/hr/gettext.edit.po
CHANGED
data/po/hr/gettext.po
CHANGED
data/po/hu/gettext.edit.po
CHANGED
data/po/hu/gettext.po
CHANGED
data/po/it/gettext.edit.po
CHANGED
data/po/it/gettext.po
CHANGED
data/po/ja/gettext.edit.po
CHANGED
data/po/ja/gettext.po
CHANGED
data/po/ko/gettext.edit.po
CHANGED
data/po/ko/gettext.po
CHANGED
data/po/lv/gettext.edit.po
CHANGED
data/po/lv/gettext.po
CHANGED
data/po/nb/gettext.edit.po
CHANGED
data/po/nb/gettext.po
CHANGED
data/po/nl/gettext.edit.po
CHANGED
data/po/nl/gettext.po
CHANGED
data/po/pt_BR/gettext.edit.po
CHANGED
data/po/pt_BR/gettext.po
CHANGED
data/po/ru/gettext.edit.po
CHANGED
data/po/ru/gettext.po
CHANGED
data/po/sr/gettext.edit.po
CHANGED
data/po/sr/gettext.po
CHANGED
data/po/sv/gettext.edit.po
CHANGED
data/po/sv/gettext.po
CHANGED
data/po/uk/gettext.edit.po
CHANGED
data/po/uk/gettext.po
CHANGED
data/po/vi/gettext.edit.po
CHANGED
data/po/vi/gettext.po
CHANGED
data/po/zh/gettext.edit.po
CHANGED
data/po/zh/gettext.po
CHANGED
data/po/zh_TW/gettext.edit.po
CHANGED
data/po/zh_TW/gettext.po
CHANGED
data/test/fixtures/_.rb
CHANGED
data/test/test_parser.rb
CHANGED
@@ -43,7 +43,7 @@ class TestGetTextParser < Test::Unit::TestCase
|
|
43
43
|
assert_target 'lllmmm', ['fixtures/_.rb:76']
|
44
44
|
assert_target "nnn\nooo", ['fixtures/_.rb:84']
|
45
45
|
assert_target "\#", ['fixtures/_.rb:88', 'fixtures/_.rb:92']
|
46
|
-
assert_target "\\taaa", ['fixtures/_.rb:96']
|
46
|
+
assert_target "\\taaa'bbb\\ccc", ['fixtures/_.rb:96']
|
47
47
|
assert_target "Here document1\nHere document2\n", ['fixtures/_.rb:100']
|
48
48
|
assert_target "Francois Pinard", ['fixtures/_.rb:120'] do |t|
|
49
49
|
assert_match(/proper name/, t.extracted_comment)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gettext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-12-
|
12
|
+
date: 2017-12-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: locale
|