i18n-processes 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: 87d81ef2177dadee1bbbdca639f62978b76ae95d
4
- data.tar.gz: 4bb93d9332d8cddf13be5fd0d1ab19286426a920
3
+ metadata.gz: b8e041c7560a1cba5ab1d081f70e8d02f6e59219
4
+ data.tar.gz: e42edce588f26017cd8d82cf1d0687e1304708d3
5
5
  SHA512:
6
- metadata.gz: 693fe773012aa012c988218305ebb2d60c06af2b8bbc34dd1e01c2ece2fa3c2dab5fe5a1d45c1e8cfbc36c77b4cede0a6b5d7fefa97f2a100fa72c6f8b2900ad
7
- data.tar.gz: a1441e38fabb441ee634ae75455bbdda78a9b5d07aacdbaf4fe56929524acbdb73fcb192085eb69ad643bd720b2bd4695656c7abd9f66a637e06a49e2c03ceb9
6
+ metadata.gz: e101298c0de870861bf915907ce5b124888de1b6d8a5b642b0e90c0b4dc38d7f1c3a26c28a2421aca3113111a436e9f614f767f5346d02d5394e31380bc89a35
7
+ data.tar.gz: c368d78eeef4ccb6e36bb988460c12abf7f0f9e21aa04270e195e28d39b0823ebb6cd08031c7fc64be14e95502ca049aa63f90543a1efac169951b8a9876a5ed
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- i18n-processes (0.1.1)
4
+ i18n-processes (0.1.2)
5
5
  activesupport (>= 4.0.2)
6
6
  ast (>= 2.1.0)
7
7
  easy_translate (>= 0.5.1)
@@ -15,9 +15,9 @@ PATH
15
15
  GEM
16
16
  remote: https://rubygems.org/
17
17
  specs:
18
- activesupport (5.1.5)
18
+ activesupport (5.1.6)
19
19
  concurrent-ruby (~> 1.0, >= 1.0.2)
20
- i18n (~> 0.7)
20
+ i18n (>= 0.7, < 2)
21
21
  minitest (~> 5.1)
22
22
  tzinfo (~> 1.1)
23
23
  ast (2.4.0)
@@ -34,7 +34,7 @@ GEM
34
34
  erubi (1.7.1)
35
35
  highline (1.7.10)
36
36
  htmlentities (4.3.4)
37
- i18n (0.9.5)
37
+ i18n (1.0.0)
38
38
  concurrent-ruby (~> 1.0)
39
39
  json (2.1.0)
40
40
  mini_portile2 (2.3.0)
data/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  Add this line to your application's Gemfile:
8
8
 
9
9
  ```ruby
10
- gem 'i18n-processes'
10
+ gem 'i18n-processes', '~> 0.1.2'
11
11
  ```
12
12
 
13
13
  And then execute:
@@ -20,11 +20,14 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
- - config/i18n-processes.yml中,设置三个路径:
23
+ - 复制默认的config文件i18n-processes.yml,添加到你自己的config目录下,设置三个路径:
24
+ ```
25
+ $ cp $(i18n-processes gem-path)/config/i18n-processes.yml config/
26
+ ```
24
27
  - source: base_locale zh-CN原始文件存放路径
25
28
  - translation: 翻译文件存放路径
26
29
  - translated:翻译后的文件存放路径
27
-
30
+
28
31
  - 将需要翻译的中文文件夹放入设置好的目录下,比如source/
29
32
  - 运行:`i18n-processes preprocessing`, 会提取出所有的keys
30
33
  - 运行:`i18n-processes missing`
@@ -2,6 +2,6 @@
2
2
 
3
3
  module I18n
4
4
  module Processes
5
- VERSION = '0.1.1'
5
+ VERSION = '0.1.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n-processes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lucia