r18n-desktop 3.2.0 → 4.0.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: f609d8e2402b7ca2c03e3a61a6200909138c846a0651bc5770104340624eb18d
4
- data.tar.gz: d82a6591cd134b8d58cbd007b16b8c29cda7b001a4132d6d2dca78e1a06ae318
3
+ metadata.gz: 584e74e2df59ef1a561667dd9536eb311c55083e88d96947ac1261c0933b4e48
4
+ data.tar.gz: f88726c4f1fc8f1caed4439bd909d241fc295a4bbf3b01f402140ffc782019fb
5
5
  SHA512:
6
- metadata.gz: a8ba522707934ee711f4da1fbd0d33b5aecbbb6d64a2719f95b1c9f5d4524c0dd8af91e3e0e21b6f8d62bdbc9d16c210d395f220d6c12d1baeeed41d6a2fc86b
7
- data.tar.gz: cd4bcd5e4395bcb294d42fe5e8a99457156723ee231c534d450f99aa44fb9992c107abaecf79b154bf3ca9e8df72af28ded11cd3dd1f473260ace2d53b491295
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
- * Autodetect user locales.
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/ai/r18n/blob/master/README.md).
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 http://www.gnu.org/licenses/lgpl.html.
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 <andrey@sitnik.ru>
92
+ Andrey “A.I.” Sitnik [andrey@sitnik.ru](mailto:andrey@sitnik.ru)
@@ -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 +translations_places+. If user set
36
- # locale +manual+ put it as last argument.
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)
@@ -21,6 +21,7 @@ module R18n
21
21
  class I18n
22
22
  def self.system_locale
23
23
  return unless ENV['LANG']
24
+
24
25
  ENV['LANG'].split('.').first
25
26
  end
26
27
  end
@@ -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/ai/r18n/tree/master/r18n-desktop'
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}"
@@ -1,9 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- ## https://github.com/stevekinney/pizza/issues/103#issuecomment-136052789
4
- ## https://github.com/docker-library/ruby/issues/45
5
- Encoding.default_external = 'UTF-8'
6
-
7
3
  require 'pp'
8
4
 
9
5
  require_relative '../lib/r18n-desktop'
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: 3.2.0
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: 2018-11-08 00:00:00.000000000 Z
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: 3.2.0
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: 3.2.0
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/ai/r18n/tree/master/r18n-desktop
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
- rubyforge_project:
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.