translation_handler 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/app/views/translation_handler/translations/new.html.erb +2 -2
- data/config/routes.rb +1 -1
- data/lib/translation_handler/version.rb +1 -1
- data/test/dummy/app/views/translation_handler/translations/index.html.erb +1 -4
- data/test/dummy/app/views/translation_handler/translations/new.html.erb +2 -2
- data/test/dummy/config/environments/development.rb +1 -1
- data/test/dummy/config/locales/abdul.barek.yml +3 -0
- data/test/dummy/config/locales/asas.yml +7 -0
- data/test/dummy/config/locales/barek2k2.yml +7 -0
- data/test/dummy/config/locales/devise.en.yml +72 -0
- data/test/dummy/config/locales/en.yml +6 -6
- data/test/dummy/config/locales/simple_form.en.yml +26 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +1772 -0
- data/test/dummy/log/test.log +80 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- metadata +58 -2
data/config/routes.rb
CHANGED
@@ -1,10 +1,7 @@
|
|
1
|
-
<%= kolas_url %>
|
2
1
|
<ul>
|
3
2
|
<% @available_locales.each do |locale| %>
|
4
3
|
<li><%= link_to locale, edit_translation_handler_translation_path(:id => locale) %></li>
|
5
4
|
<% end %>
|
6
5
|
</ul>
|
7
6
|
|
8
|
-
<%= link_to 'Create New Language', new_translation_handler_translation_path %>
|
9
|
-
|
10
|
-
asfjbskjfbsdf
|
7
|
+
<%= link_to 'Create New Language', new_translation_handler_translation_path %>
|
@@ -14,7 +14,7 @@ Dummy::Application.configure do
|
|
14
14
|
config.action_controller.perform_caching = false
|
15
15
|
|
16
16
|
# Don't care if the mailer can't send.
|
17
|
-
config.action_mailer.raise_delivery_errors = false
|
17
|
+
#config.action_mailer.raise_delivery_errors = false
|
18
18
|
|
19
19
|
# Print deprecation notices to the Rails logger.
|
20
20
|
config.active_support.deprecation = :log
|
@@ -0,0 +1,72 @@
|
|
1
|
+
---
|
2
|
+
en:
|
3
|
+
devise:
|
4
|
+
confirmations:
|
5
|
+
confirmed: Your account was successfully confirmed. You are now signed in.
|
6
|
+
send_instructions: You will receive an email with instructions about how to
|
7
|
+
confirm your account in a few minutes.
|
8
|
+
send_paranoid_instructions: If your email address exists in our database, you
|
9
|
+
will receive an email with instructions about how to confirm your account
|
10
|
+
in a few minutes.
|
11
|
+
failure:
|
12
|
+
already_authenticated: You are already signed in.
|
13
|
+
inactive: Your account was not activated yet.
|
14
|
+
invalid: Invalid email or password.
|
15
|
+
invalid_token: Invalid authentication token.
|
16
|
+
locked: Your account is locked.
|
17
|
+
not_found_in_database: Invalid email or password.
|
18
|
+
timeout: Your session expired, please sign in again to continue.
|
19
|
+
unauthenticated: You need to sign in or sign up before continuing.
|
20
|
+
unconfirmed: You have to confirm your account before continuing.
|
21
|
+
mailer:
|
22
|
+
confirmation_instructions:
|
23
|
+
subject: Confirmation instructions
|
24
|
+
reset_password_instructions:
|
25
|
+
subject: Reset password instructions
|
26
|
+
unlock_instructions:
|
27
|
+
subject: Unlock Instructions
|
28
|
+
omniauth_callbacks:
|
29
|
+
failure: Could not authenticate you from %{kind} because "%{reason}".
|
30
|
+
success: Successfully authenticated from %{kind} account.
|
31
|
+
passwords:
|
32
|
+
no_token: You can
|
33
|
+
send_instructions: You will receive an email with instructions about how to
|
34
|
+
reset your password in a few minutes.
|
35
|
+
send_paranoid_instructions: If your email address exists in our database, you
|
36
|
+
will receive a password recovery link at your email address in a few minutes.
|
37
|
+
updated: Your password was changed successfully. You are now signed in.
|
38
|
+
updated_not_active: Your password was changed successfully.
|
39
|
+
registrations:
|
40
|
+
destroyed: Bye! Your account was successfully cancelled. We hope to see you
|
41
|
+
again soon.
|
42
|
+
signed_up: Welcome! You have signed up successfully.
|
43
|
+
signed_up_but_inactive: You have signed up successfully. However, we could not
|
44
|
+
sign you in because your account is not yet activated.
|
45
|
+
signed_up_but_locked: You have signed up successfully. However, we could not
|
46
|
+
sign you in because your account is locked.
|
47
|
+
signed_up_but_unconfirmed: A message with a confirmation link has been sent
|
48
|
+
to your email address. Please open the link to activate your account.
|
49
|
+
update_needs_confirmation: You updated your account successfully, but we need
|
50
|
+
to verify your new email address. Please check your email and click on the
|
51
|
+
confirm link to finalize confirming your new email address.
|
52
|
+
updated: You updated your account successfully.
|
53
|
+
sessions:
|
54
|
+
signed_in: Signed in successfully.
|
55
|
+
signed_out: Signed out successfully.
|
56
|
+
unlocks:
|
57
|
+
send_instructions: You will receive an email with instructions about how to
|
58
|
+
unlock your account in a few minutes.
|
59
|
+
send_paranoid_instructions: If your account exists, you will receive an email
|
60
|
+
with instructions about how to unlock it in a few minutes.
|
61
|
+
unlocked: Your account has been unlocked successfully. Please sign in to continue.
|
62
|
+
errors:
|
63
|
+
messages:
|
64
|
+
already_confirmed: was already confirmed, please try signing in
|
65
|
+
confirmation_period_expired: needs to be confirmed within %{period}, please
|
66
|
+
request a new one
|
67
|
+
expired: has expired, please request a new one
|
68
|
+
not_found: not found
|
69
|
+
not_locked: was not locked
|
70
|
+
not_saved:
|
71
|
+
one: '1 error prohibited this %{resource} from being saved:'
|
72
|
+
other: '%{count} errors prohibited this %{resource} from being saved:'
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
2
|
+
en:
|
3
|
+
hello: hello test
|
4
|
+
user:
|
5
|
+
attributes:
|
6
|
+
email: def@yahoo.com
|
7
|
+
name: last first
|
@@ -0,0 +1,26 @@
|
|
1
|
+
en:
|
2
|
+
simple_form:
|
3
|
+
"yes": 'Yes'
|
4
|
+
"no": 'No'
|
5
|
+
required:
|
6
|
+
text: 'required'
|
7
|
+
mark: '*'
|
8
|
+
# You can uncomment the line below if you need to overwrite the whole required html.
|
9
|
+
# When using html, text and mark won't be used.
|
10
|
+
# html: '<abbr title="required">*</abbr>'
|
11
|
+
error_notification:
|
12
|
+
default_message: "Please review the problems below:"
|
13
|
+
# Labels and hints examples
|
14
|
+
# labels:
|
15
|
+
# defaults:
|
16
|
+
# password: 'Password'
|
17
|
+
# user:
|
18
|
+
# new:
|
19
|
+
# email: 'E-mail to sign in.'
|
20
|
+
# edit:
|
21
|
+
# email: 'E-mail.'
|
22
|
+
# hints:
|
23
|
+
# defaults:
|
24
|
+
# username: 'User name to sign in.'
|
25
|
+
# password: 'No special characters, please.'
|
26
|
+
|
File without changes
|