phrase 0.4.32 → 0.4.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -1
- data/lib/phrase/formats.rb +2 -0
- data/lib/phrase/formats/stringsdict.rb +15 -0
- data/lib/phrase/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bce5f6cd606ca0bdfc071785dc74e4a834e4859c
|
4
|
+
data.tar.gz: 3f7d9c9887126414462f3c85c94b4103d93a6af9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f47766faf09cff7f68f90da527ac5ee5bce49c164b29ebff050c581702c9d2f6fd4ab357b8e6c6561700397556dcb73e9ef21e04211aa5491c502838e6b4873
|
7
|
+
data.tar.gz: bdf82438c3d4bacc08da1fb50183695c08f6ebd6bb2821fbc5b3002eeef87ed765cf2d47bde1f14d7053018ad407a385ff362376b0c8e24ea0d63269ae19c651
|
data/.travis.yml
CHANGED
data/lib/phrase/formats.rb
CHANGED
@@ -20,6 +20,7 @@ module Phrase
|
|
20
20
|
autoload :NestedJson, 'phrase/formats/nested_json'
|
21
21
|
autoload :NodeJson, 'phrase/formats/node_json'
|
22
22
|
autoload :Strings, 'phrase/formats/strings'
|
23
|
+
autoload :Stringsdict, 'phrase/formats/stringsdict'
|
23
24
|
autoload :Xml, 'phrase/formats/xml'
|
24
25
|
autoload :Tmx, 'phrase/formats/tmx'
|
25
26
|
autoload :Xliff, 'phrase/formats/xliff'
|
@@ -95,6 +96,7 @@ module Phrase
|
|
95
96
|
nested_json: Phrase::Formats::NestedJson,
|
96
97
|
node_json: Phrase::Formats::NodeJson,
|
97
98
|
strings: Phrase::Formats::Strings,
|
99
|
+
stringsdict: Phrase::Formats::Stringsdict,
|
98
100
|
xml: Phrase::Formats::Xml,
|
99
101
|
tmx: Phrase::Formats::Tmx,
|
100
102
|
xlf: Phrase::Formats::Xliff,
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# -*- encoding : utf-8 -*-
|
2
|
+
|
3
|
+
module Phrase
|
4
|
+
module Formats
|
5
|
+
class Stringsdict < Phrase::Formats::Strings
|
6
|
+
def self.filename_for_locale(locale)
|
7
|
+
"Localizable.stringsdict"
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.extensions
|
11
|
+
[:stringsdict]
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
data/lib/phrase/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phrase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.33
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dynport GmbH
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rainbow
|
@@ -218,6 +218,7 @@ files:
|
|
218
218
|
- lib/phrase/formats/resx_windowsphone.rb
|
219
219
|
- lib/phrase/formats/simple_json.rb
|
220
220
|
- lib/phrase/formats/strings.rb
|
221
|
+
- lib/phrase/formats/stringsdict.rb
|
221
222
|
- lib/phrase/formats/tmx.rb
|
222
223
|
- lib/phrase/formats/windows8_resource.rb
|
223
224
|
- lib/phrase/formats/xliff.rb
|
@@ -263,7 +264,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
263
264
|
version: 1.3.6
|
264
265
|
requirements: []
|
265
266
|
rubyforge_project: phrase
|
266
|
-
rubygems_version: 2.
|
267
|
+
rubygems_version: 2.4.3
|
267
268
|
signing_key:
|
268
269
|
specification_version: 4
|
269
270
|
summary: The best way to manage i18n.
|