r18n-desktop 3.2.0 → 4.0.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/README.md +4 -4
- data/lib/r18n-desktop.rb +2 -2
- data/lib/r18n-desktop/posix.rb +1 -0
- data/r18n-desktop.gemspec +1 -1
- data/spec/spec_helper.rb +0 -4
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 584e74e2df59ef1a561667dd9536eb311c55083e88d96947ac1261c0933b4e48
|
4
|
+
data.tar.gz: f88726c4f1fc8f1caed4439bd909d241fc295a4bbf3b01f402140ffc782019fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9aa47b0e1c352c9ea3eb9ad92dae6102cf6113886c8965c12abb60d268f270229512db315ff41d38c15a178c5dae6f5cf670d73a8bf86d12f50dafd5949daf61
|
7
|
+
data.tar.gz: fdea48d1e3dedfdf4cb288f005e9135a133d0b0f01bc5c29d7e13b862f66a83438bfb473d1beee236d1fd00d9f01ccd649be626844424ce8345656328f0e6964
|
data/README.md
CHANGED
@@ -10,11 +10,11 @@ information.
|
|
10
10
|
* Nice Ruby-style syntax.
|
11
11
|
* Filters.
|
12
12
|
* Model Translation (or any Ruby object).
|
13
|
-
*
|
13
|
+
* Auto-detect user locales.
|
14
14
|
* Flexible locales.
|
15
15
|
* Total flexibility.
|
16
16
|
|
17
|
-
See full features in [main README](https://github.com/
|
17
|
+
See full features in [main README](https://github.com/r18n/r18n/blob/master/README.md).
|
18
18
|
|
19
19
|
## How To
|
20
20
|
|
@@ -85,8 +85,8 @@ See full features in [main README](https://github.com/ai/r18n/blob/master/README
|
|
85
85
|
## License
|
86
86
|
|
87
87
|
R18n is licensed under the GNU Lesser General Public License version 3.
|
88
|
-
You can read it in LICENSE file or in
|
88
|
+
You can read it in LICENSE file or in [www.gnu.org/licenses/lgpl-3.0.html](https://www.gnu.org/licenses/lgpl-3.0.html).
|
89
89
|
|
90
90
|
## Author
|
91
91
|
|
92
|
-
Andrey “A.I.” Sitnik
|
92
|
+
Andrey “A.I.” Sitnik [andrey@sitnik.ru](mailto:andrey@sitnik.ru)
|
data/lib/r18n-desktop.rb
CHANGED
@@ -32,8 +32,8 @@ end
|
|
32
32
|
module R18n
|
33
33
|
class << self
|
34
34
|
# Get user locale from system environment and load I18n object with locale
|
35
|
-
# information and translations from
|
36
|
-
# locale
|
35
|
+
# information and translations from `translations_places`. If user set
|
36
|
+
# locale `manual` put it as last argument.
|
37
37
|
def from_env(translations_places = nil, manual = nil)
|
38
38
|
::R18n.default_places { translations_places }
|
39
39
|
locales = Array(R18n::I18n.system_locale)
|
data/lib/r18n-desktop/posix.rb
CHANGED
data/r18n-desktop.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
|
|
25
25
|
|
26
26
|
s.author = 'Andrey Sitnik'
|
27
27
|
s.email = 'andrey@sitnik.ru'
|
28
|
-
s.homepage = 'https://github.com/
|
28
|
+
s.homepage = 'https://github.com/r18n/r18n/tree/master/r18n-desktop'
|
29
29
|
s.license = 'LGPL-3.0'
|
30
30
|
|
31
31
|
s.add_dependency 'r18n-core', "= #{R18n::VERSION}"
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: r18n-desktop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrey Sitnik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: r18n-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 4.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 4.0.0
|
27
27
|
description: |2
|
28
28
|
A i18n tool to translate your desktop application in several languages.
|
29
29
|
It is just a wrapper for R18n core library.
|
@@ -51,7 +51,7 @@ files:
|
|
51
51
|
- spec/i18n/en.yml
|
52
52
|
- spec/r18n-desktop_spec.rb
|
53
53
|
- spec/spec_helper.rb
|
54
|
-
homepage: https://github.com/
|
54
|
+
homepage: https://github.com/r18n/r18n/tree/master/r18n-desktop
|
55
55
|
licenses:
|
56
56
|
- LGPL-3.0
|
57
57
|
metadata: {}
|
@@ -70,8 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
70
|
- !ruby/object:Gem::Version
|
71
71
|
version: '0'
|
72
72
|
requirements: []
|
73
|
-
|
74
|
-
rubygems_version: 2.7.6
|
73
|
+
rubygems_version: 3.1.2
|
75
74
|
signing_key:
|
76
75
|
specification_version: 4
|
77
76
|
summary: A i18n tool to translate your Ruby desktop application.
|