devise-i18n 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
File without changes
File without changes
data/locales/zh-CN.yml ADDED
@@ -0,0 +1,55 @@
1
+ zh-CN:
2
+ devise:
3
+ confirmations:
4
+ confirmed: 您的帐号已经确认,您现在已登录.
5
+ send_instructions: 几分钟后,您将收到确认帐号的电子邮件.
6
+ send_paranoid_instructions: 如果您的邮箱存在于我们的数据库中,您将收到一封确认账号的邮件.
7
+ failure:
8
+ already_authenticated: 您已经登录.
9
+ inactive: 您还没有激活帐户.
10
+ invalid: 邮箱或密码错误
11
+ invalid_token: 认证码无效.
12
+ locked: 您的帐号已被锁定.
13
+ timeout: 您已登录超时,请重新登录.
14
+ unauthenticated: 继续操作前请注册或者登录.
15
+ unconfirmed: 继续操作前请先确认您的帐号.
16
+ mailer:
17
+ confirmation_instructions:
18
+ subject: 确认信息
19
+ reset_password_instructions:
20
+ subject: 重置密码信息
21
+ unlock_instructions:
22
+ subject: 解锁信息
23
+ omniauth_callbacks:
24
+ failure: 因为%{reason},所以您无法从%{kind}获得授权.
25
+ success: 成功地从%{kind}获得授权.
26
+ passwords:
27
+ send_instructions: 几分钟后,您将收到重置密码的电子邮件.
28
+ send_paranoid_instructions: 如果您的邮箱存在于我们的数据库中,您将收到一封找回密码的邮件.
29
+ updated: 您的密码已修改成功,您现在已登录.
30
+ updated_not_active: 您的密码已修改成功.
31
+ registrations:
32
+ destroyed: 再见!您的帐户已成功注销。我们希望很快可以再见到您.
33
+ inactive_signed_up: 虽然您已经注册成功,但因为%{reason},所以您依然无法登录.
34
+ reasons:
35
+ inactive: 未激活
36
+ locked: 已锁定
37
+ unconfirmed: 未确认
38
+ signed_up: 欢迎您!您已注册成功.
39
+ updated: 帐号资料更新成功.
40
+ sessions:
41
+ signed_in: 登录成功.
42
+ signed_out: 退出成功.
43
+ unlocks:
44
+ send_instructions: 几分钟后,您将收到一封解锁帐号的邮件.
45
+ send_paranoid_instructions: 如果您的邮箱存在于我们的数据库中,您将收到一封解锁账号的邮件.
46
+ unlocked: 您的帐号已成功解锁,您现在已登录.
47
+ errors:
48
+ messages:
49
+ already_confirmed: 已经确认,请重新登录.
50
+ expired: 您已过期,请重新申请
51
+ not_found: 没有找到
52
+ not_locked: 未锁定
53
+ not_saved:
54
+ one: ! '因为1个错误导致此%{resource}保存失败:'
55
+ other: ! '因为%{count}个错误导致此%{resource}保存失败:'
data/locales/zh-TW.yml ADDED
@@ -0,0 +1,43 @@
1
+ zh-TW:
2
+ devise:
3
+ confirmations:
4
+ confirmed: 您的帳號已經過確認,現在您已成功登入。
5
+ send_instructions: 您將在幾分鐘後收到一封電子郵件,內有確認帳號的步驟說明。
6
+ failure:
7
+ already_authenticated: 你已經登入。
8
+ inactive: 您的帳號尚未被啟用。
9
+ invalid: Email 或密碼是無效的。
10
+ invalid_token: 無效的認證代碼。
11
+ locked: 您的帳號已被鎖定。
12
+ timeout: 您的登入時效過期,請重新登入,才能繼續。
13
+ unauthenticated: 您需要先註冊,登入後才能繼續。
14
+ unconfirmed: 您的帳號需需要經過確認後,才能繼續。
15
+ mailer:
16
+ confirmation_instructions:
17
+ subject: 確認步驟
18
+ reset_password_instructions:
19
+ subject: 重設密碼步驟
20
+ unlock_instructions:
21
+ subject: 解鎖步驟
22
+ passwords:
23
+ send_instructions: 您將在幾分鐘後收到一封電子郵件,內有重新設定密碼的步驟說明。
24
+ updated: 您的密碼已被修改,而您現在已重新登入。
25
+ registrations:
26
+ destroyed: 再會!您的帳號已被取消。有緣再會。
27
+ inactive_signed_up: 您已經成功註冊,但暫時你不能登入,因為%{reason}。
28
+ signed_up: 您已經成功註冊,確認信件已送至您的 Email 信箱。
29
+ updated: 您已經成功的更新帳號資訊。
30
+ sessions:
31
+ signed_in: 成功登入了。
32
+ signed_out: 成功登出了。
33
+ unlocks:
34
+ send_instructions: 您將在幾分鐘後收到一封電子郵件,內有將帳號解除鎖定的步驟說明。
35
+ unlocked: 您的帳號已被解鎖,現在您已成功登入。
36
+ errors:
37
+ messages:
38
+ already_confirmed: 已被確認過了
39
+ not_found: 沒有找到
40
+ not_locked: 被鎖定了
41
+ not_saved:
42
+ one: 有一個錯誤導致%{resource}不能被儲存:
43
+ other: 有 %{count} 個錯誤導致%{resource}不能被儲存:
@@ -1,8 +1,8 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
2
 
3
- Dir.glob('locale/*.yml').each do |locale_file|
3
+ Dir.glob('locales/*.yml').each do |locale_file|
4
4
  describe 'a locale file' do
5
5
  it_behaves_like 'a valid locale file', locale_file
6
- it { locale_file.should be_a_subset_of 'locale/en-US.yml' }
6
+ it { locale_file.should be_a_subset_of 'locales/en-US.yml' }
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise-i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-16 00:00:00.000000000Z
12
+ date: 2012-01-14 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &70289980788580 !ruby/object:Gem::Requirement
16
+ requirement: &70231286991920 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 2.3.0
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70289980788580
24
+ version_requirements: *70231286991920
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bundler
27
- requirement: &70289980787780 !ruby/object:Gem::Requirement
27
+ requirement: &70231286991440 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.0.10
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70289980787780
35
+ version_requirements: *70231286991440
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: jeweler
38
- requirement: &70289980787080 !ruby/object:Gem::Requirement
38
+ requirement: &70231286990620 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.6.4
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70289980787080
46
+ version_requirements: *70231286990620
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rcov
49
- requirement: &70289980786080 !ruby/object:Gem::Requirement
49
+ requirement: &70231286990140 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70289980786080
57
+ version_requirements: *70231286990140
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: i18n-spec
60
- requirement: &70289980785260 !ruby/object:Gem::Requirement
60
+ requirement: &70231286989640 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70289980785260
68
+ version_requirements: *70231286989640
69
69
  description: Translations for the devise gem
70
70
  email: chris@tigrish.com
71
71
  executables: []
@@ -74,7 +74,6 @@ extra_rdoc_files:
74
74
  - LICENSE.txt
75
75
  - README.md
76
76
  files:
77
- - .DS_Store
78
77
  - .document
79
78
  - .rspec
80
79
  - .rvmrc
@@ -87,28 +86,36 @@ files:
87
86
  - VERSION
88
87
  - devise-i18n.gemspec
89
88
  - lib/devise-i18n.rb
90
- - locale/.DS_Store
91
- - locale/ca.yml
92
- - locale/cs.yml
93
- - locale/da.yml
94
- - locale/en-US.yml
95
- - locale/fa.yml
96
- - locale/fi.yml
97
- - locale/fr.yml
98
- - locale/he.yml
99
- - locale/hr.yml
100
- - locale/hu.yml
101
- - locale/id.yml
102
- - locale/is.yml
103
- - locale/it.yml
104
- - locale/ja.yml
105
- - locale/lt.yml
106
- - locale/lv.yml
107
- - locale/my.yml
108
- - locale/nb.yml
109
- - locale/nl.yml
110
- - locale/sk.yml
111
- - locale/sv.yml
89
+ - locales/ca.yml
90
+ - locales/cs.yml
91
+ - locales/da.yml
92
+ - locales/de.yml
93
+ - locales/en-GB.yml
94
+ - locales/en-US.yml
95
+ - locales/es.yml
96
+ - locales/fa.yml
97
+ - locales/fi.yml
98
+ - locales/fr.yml
99
+ - locales/he.yml
100
+ - locales/hr.yml
101
+ - locales/hu.yml
102
+ - locales/id.yml
103
+ - locales/is.yml
104
+ - locales/it.yml
105
+ - locales/ja.yml
106
+ - locales/lt.yml
107
+ - locales/lv.yml
108
+ - locales/my.yml
109
+ - locales/nb.yml
110
+ - locales/nl.yml
111
+ - locales/pl.yml
112
+ - locales/pt-BR.yml
113
+ - locales/pt-PT.yml
114
+ - locales/ru.yml
115
+ - locales/sk.yml
116
+ - locales/sv.yml
117
+ - locales/zh-CN.yml
118
+ - locales/zh-TW.yml
112
119
  - spec/devise-i18n_spec.rb
113
120
  - spec/spec_helper.rb
114
121
  homepage: http://github.com/tigrish/devise-i18n
@@ -126,7 +133,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
126
133
  version: '0'
127
134
  segments:
128
135
  - 0
129
- hash: 2667207703751808272
136
+ hash: 3302086351811997730
130
137
  required_rubygems_version: !ruby/object:Gem::Requirement
131
138
  none: false
132
139
  requirements:
data/.DS_Store DELETED
Binary file
data/locale/.DS_Store DELETED
Binary file
data/locale/my.yml DELETED
@@ -1,41 +0,0 @@
1
- # Additional translations at http://github.com/plataformatec/devise/wiki/I18n
2
-
3
- my:
4
- errors:
5
- messages:
6
- not_found: "tidak dijumpai"
7
- already_confirmed: "sudah disahkan"
8
- not_locked: "tidak dikunci"
9
-
10
- devise:
11
- failure:
12
- unauthenticated: 'Anda harus mendaftar atau sign in sebelum meneruskan .'
13
- unconfirmed: 'Anda harus melakukan proses pengesahan sebalum meneruskan.'
14
- locked: 'Akun anda terkunci.'
15
- invalid: 'email atau password yang anda masukkan salah.'
16
- invalid_token: 'Kesalahan pada authentication token.'
17
- timeout: 'Sesi anda telah tamat, silahkan sign in bagi meneruskan sesi yang baru.'
18
- inactive: 'Akun anda belum diaktifkan.'
19
- sessions:
20
- signed_in: 'Proses sign in berjaya.'
21
- signed_out: 'Proses sign out berjaya.'
22
- passwords:
23
- send_instructions: 'Anda akan menerima e-mail mengenai langkah mengubah password sebentar lagi.'
24
- updated: 'Password anda telah berjaya diubah. Anda telah sign in.'
25
- confirmations:
26
- send_instructions: 'Anda akan menerima e-mail mengenai langkah proses pengesahan akaun sebentar lagi.'
27
- confirmed: 'Akaun anda telah berjaya disahkan. Anda telah sign in.'
28
- registrations:
29
- signed_up: 'Proses pendaftaran berjaya. Link untuk mengaktifkan akaun telah dihantar di e-mail.'
30
- updated: 'Akaun anda telah dikemaskini'
31
- destroyed: 'Selamat Tinggal, akaun anda telah di tutup'
32
- unlocks:
33
- send_instructions: 'Anda akan menerima e-mail mengenai langkah membuka akaun kembali sebentar lagi.'
34
- unlocked: 'Akun anda telah berjaya dibuka. Anda telah sign in.'
35
- mailer:
36
- confirmation_instructions:
37
- subject: 'Arahan proses pengesahan'
38
- reset_password_instructions:
39
- subject: 'Arahan mengubah password'
40
- unlock_instructions:
41
- subject: 'Arahan membuka akaun kembali'