gettext 3.0.4 → 3.0.5
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 +35 -0
- data/lib/gettext/tools.rb +7 -6
- data/lib/gettext/version.rb +2 -2
- data/po/gettext.pot +3 -3
- 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: ea025535dd03f709a5e262af7dd2e247a0364f7e
|
4
|
+
data.tar.gz: ff34d6fff8e667f81bbd597d114fbf5e7a1c915c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfb317f505c8158073d7d3d4de69d4d3f15c6e4bd1f5e69166cf526c69f41e2c972ba0c968da82591c76cf3d57eceedba9f4b6dccaad0208d9de163ffc6782b8
|
7
|
+
data.tar.gz: 4962eac7c541cbdbbb289851d0b31ae9a9102c7c386269600297ae9a9407c4dcd4dd465f90cc1991e97a44cce133f77dcb09246d10724425f868cd2bbbb07066
|
data/doc/text/news.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# News
|
2
2
|
|
3
|
+
## <a id="3-0-5">3.0.5</a>: 2014-02-02
|
4
|
+
|
5
|
+
### Fixes
|
6
|
+
|
7
|
+
* Added missing `require` for {GetText::Tools::MsgCat}.
|
8
|
+
|
3
9
|
## <a id="3-0-4">3.0.4</a>: 2014-02-02
|
4
10
|
|
5
11
|
### Improvements
|
@@ -8,6 +14,35 @@
|
|
8
14
|
* Added {GetText::POEntry#fuzzy?}.
|
9
15
|
* Added {GetText::Tools::MsgCat}.
|
10
16
|
* Added `rmsgcat` command. [GitHub#23] [Requested by Andreas Loupasakis]
|
17
|
+
* Changed `:references` {GetText::PO#order} value to `:reference`.
|
18
|
+
`:references` is still usable but it is deprecated. It will be
|
19
|
+
remove at 4.0.0. Don't use it for newly written code.
|
20
|
+
* Removed `--no-sort-by-msgid` of `rmsgmerge` feature. It is not
|
21
|
+
straightforward behavior.
|
22
|
+
* Removed `--no-sort-by-file` of `rmsgmerge` feature. It is not
|
23
|
+
straightforward behavior.
|
24
|
+
* Added `--sort-by-location` to `rmsgmerge`.
|
25
|
+
* Added `:include_translator_comment` option to
|
26
|
+
{GetText::POEntry#to_s} options.
|
27
|
+
* Added `:include_extracted_comment` option to
|
28
|
+
{GetText::POEntry#to_s} options.
|
29
|
+
* Added `:include_flag_comment` option to {GetText::POEntry#to_s}
|
30
|
+
options.
|
31
|
+
* Added `:include_previous_comment` option to
|
32
|
+
{GetText::POEntry#to_s} options.
|
33
|
+
* Added `:include_all_comments` option to {GetText::POEntry#to_s}
|
34
|
+
options.
|
35
|
+
* Added {GetText::POEntry#flags} and
|
36
|
+
{GetText::POEntry#flags=}. {GetText::POEntry#flag} and
|
37
|
+
{GetText::POEntry#flag=} are deprecated. Don't use them for newly
|
38
|
+
written code.
|
39
|
+
|
40
|
+
### Fixes
|
41
|
+
|
42
|
+
* Fixed `--sort-output` of `rmsgmerge` behavior. It used location for
|
43
|
+
sort key but it was not GNU gettext compatible behavior. GNU
|
44
|
+
gettext uses msgid for sort key. Now, `--sort-output` uses
|
45
|
+
msgid like GNU gettext.
|
11
46
|
|
12
47
|
### Thanks
|
13
48
|
|
data/lib/gettext/tools.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
#
|
3
|
-
# Copyright (C) 2012 Kouhei Sutou <kou@clear-code.com>
|
3
|
+
# Copyright (C) 2012-2014 Kouhei Sutou <kou@clear-code.com>
|
4
4
|
# Copyright (C) 2005-2008 Masao Mutoh
|
5
5
|
#
|
6
6
|
# License: Ruby's or LGPL
|
@@ -18,8 +18,9 @@
|
|
18
18
|
# You should have received a copy of the GNU Lesser General Public License
|
19
19
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
20
20
|
|
21
|
-
require
|
22
|
-
require
|
23
|
-
require
|
24
|
-
require
|
25
|
-
require
|
21
|
+
require "gettext/tools/xgettext"
|
22
|
+
require "gettext/tools/msgfmt"
|
23
|
+
require "gettext/tools/msginit"
|
24
|
+
require "gettext/tools/msgmerge"
|
25
|
+
require "gettext/tools/msgcat"
|
26
|
+
require "gettext/mo"
|
data/lib/gettext/version.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
version - version information of gettext
|
3
3
|
|
4
|
-
Copyright (C) 2012-
|
4
|
+
Copyright (C) 2012-2014 Kouhei Sutou <kou@clear-code.com>
|
5
5
|
Copyright (C) 2005-2009 Masao Mutoh
|
6
6
|
|
7
7
|
You may redistribute it and/or modify it under the same
|
@@ -9,5 +9,5 @@
|
|
9
9
|
=end
|
10
10
|
|
11
11
|
module GetText
|
12
|
-
VERSION = "3.0.
|
12
|
+
VERSION = "3.0.5"
|
13
13
|
end
|
data/po/gettext.pot
CHANGED
@@ -6,10 +6,10 @@
|
|
6
6
|
#, fuzzy
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: gettext 3.0.
|
9
|
+
"Project-Id-Version: gettext 3.0.5\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date: 2014-02-02
|
12
|
-
"PO-Revision-Date: 2014-02-02
|
11
|
+
"POT-Creation-Date: 2014-02-02 23:08+0900\n"
|
12
|
+
"PO-Revision-Date: 2014-02-02 23:08+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|