translation_center 1.7.2 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +38 -2
  3. data/Rakefile +8 -13
  4. data/app/assets/javascripts/translation_center/application.js +1 -1
  5. data/app/assets/stylesheets/translation_center/application.css +1 -1
  6. data/app/assets/stylesheets/translation_center/translation_keys.css +3 -1
  7. data/app/controllers/translation_center/application_controller.rb +2 -2
  8. data/app/controllers/translation_center/translation_keys_controller.rb +4 -4
  9. data/app/models/translation_center/activity_query.rb +2 -3
  10. data/app/models/translation_center/category.rb +7 -2
  11. data/app/models/translation_center/translation.rb +54 -32
  12. data/app/models/translation_center/translation_key.rb +29 -18
  13. data/app/views/layouts/translation_center/application.html.haml +0 -2
  14. data/app/views/translation_center/translation_keys/_translation_keys.html.haml +3 -1
  15. data/app/views/translation_center/translations/_show.html.haml +3 -3
  16. data/config/routes.rb +3 -3
  17. data/db/development.sqlite3 +0 -0
  18. data/{test/dummy/db/migrate/20130410082611_devise_create_users.rb → db/migrate/20130410082600_devise_create_users.rb} +0 -0
  19. data/{test/dummy/db/migrate/20130410082701_create_articles.rb → db/migrate/20130410082601_create_articles.rb} +0 -0
  20. data/{test/dummy/db/migrate/20130410084711234392_create_translation_center_categories.rb → db/migrate/20130410084602_create_translation_center_categories.rb} +0 -0
  21. data/{test/dummy/db/migrate/20130410084711235054_create_translation_center_translation_keys.rb → db/migrate/20130410084603_create_translation_center_translation_keys.rb} +0 -0
  22. data/{test/dummy/db/migrate/20130410084711235601_create_translation_center_translations.rb → db/migrate/20130410084604_create_translation_center_translations.rb} +0 -0
  23. data/{test/dummy/db/migrate/20130410084711_acts_as_votable_migration.rb → db/migrate/20130410084605_acts_as_votable_migration.rb} +1 -0
  24. data/{test/dummy/db/migrate/20130410084711235602_install_audited.rb → db/migrate/20130410084606_install_audited.rb} +0 -0
  25. data/{test/dummy/db/migrate/20130410113111070575_add_de_status_translation_center_translation_keys.rb → db/migrate/20130410113607_add_de_status_translation_center_translation_keys.rb} +0 -0
  26. data/{test/dummy/db/migrate/20130417134539377014_add_ar_status_translation_center_translation_keys.rb → db/migrate/20130417134608_add_ar_status_translation_center_translation_keys.rb} +0 -0
  27. data/{test/dummy/db/migrate/20130506103956_fix_translation_user_relation.rb → db/migrate/20130506103609_fix_translation_user_relation.rb} +0 -0
  28. data/{test/dummy/db/migrate/20130801102022_add_indicies.rb → db/migrate/20130801102610_add_indicies.rb} +0 -0
  29. data/{test/dummy/db → db}/schema.rb +13 -13
  30. data/{test/dummy/public/favicon.ico → db/test.sqlite3} +0 -0
  31. data/lib/generators/translation_center/add_lang/add_lang_generator.rb +5 -2
  32. data/lib/generators/translation_center/install/install_generator.rb +4 -4
  33. data/lib/translation_center/acts_as_translator.rb +1 -1
  34. data/lib/translation_center/engine.rb +7 -0
  35. data/lib/translation_center/translation_helpers.rb +1 -1
  36. data/lib/translation_center/translations_transfer.rb +6 -5
  37. data/lib/translation_center/version.rb +1 -1
  38. data/spec/controllers/categories_controller_spec.rb +47 -0
  39. data/spec/controllers/center_controller_spec.rb +77 -0
  40. data/spec/controllers/translation_keys_controller_spec.rb +87 -0
  41. data/spec/controllers/translations_controller_spec.rb +70 -0
  42. data/{test → spec}/dummy/README.rdoc +0 -0
  43. data/{test → spec}/dummy/Rakefile +0 -0
  44. data/{test → spec}/dummy/app/assets/javascripts/application.js +0 -1
  45. data/{test → spec}/dummy/app/assets/stylesheets/application.css +0 -1
  46. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  47. data/{test → spec}/dummy/app/helpers/application_helper.rb +0 -0
  48. data/{test → spec}/dummy/app/models/user.rb +2 -5
  49. data/{test → spec}/dummy/app/views/layouts/application.html.erb +0 -1
  50. data/{test → spec}/dummy/config.ru +0 -0
  51. data/{test → spec}/dummy/config/application.rb +10 -5
  52. data/{test → spec}/dummy/config/boot.rb +0 -0
  53. data/spec/dummy/config/database.yml +25 -0
  54. data/{test → spec}/dummy/config/environment.rb +2 -0
  55. data/{test → spec}/dummy/config/environments/development.rb +0 -0
  56. data/{test → spec}/dummy/config/environments/production.rb +0 -0
  57. data/{test → spec}/dummy/config/environments/test.rb +2 -2
  58. data/{test → spec}/dummy/config/initializers/backtrace_silencers.rb +0 -0
  59. data/{test → spec}/dummy/config/initializers/devise.rb +3 -1
  60. data/{test → spec}/dummy/config/initializers/inflections.rb +0 -0
  61. data/{test → spec}/dummy/config/initializers/mime_types.rb +0 -0
  62. data/{test → spec}/dummy/config/initializers/secret_token.rb +1 -1
  63. data/{test → spec}/dummy/config/initializers/session_store.rb +1 -1
  64. data/{test → spec}/dummy/config/initializers/wrap_parameters.rb +1 -1
  65. data/{test → spec}/dummy/config/locales/devise.en.yml +0 -0
  66. data/spec/dummy/config/locales/en.yml +5 -0
  67. data/spec/dummy/config/routes.rb +7 -0
  68. data/{test → spec}/dummy/config/translation_center.yml +23 -6
  69. data/spec/dummy/db/migrate/20130410082611_devise_create_users.translation_center.rb +46 -0
  70. data/spec/dummy/db/migrate/20130410082701_create_articles.translation_center.rb +10 -0
  71. data/spec/dummy/db/migrate/20130410084702_create_translation_center_categories.translation_center.rb +9 -0
  72. data/spec/dummy/db/migrate/20130410084703_create_translation_center_translation_keys.translation_center.rb +14 -0
  73. data/spec/dummy/db/migrate/20130410084704_create_translation_center_translations.translation_center.rb +13 -0
  74. data/spec/dummy/db/migrate/20130410084711_acts_as_votable_migration.translation_center.rb +24 -0
  75. data/spec/dummy/db/migrate/20130410084712_install_audited.translation_center.rb +28 -0
  76. data/spec/dummy/db/migrate/20130410113113_add_de_status_translation_center_translation_keys.translation_center.rb +5 -0
  77. data/spec/dummy/db/migrate/20130417134534_add_ar_status_translation_center_translation_keys.rb +5 -0
  78. data/spec/dummy/db/migrate/20130506103956_fix_translation_user_relation.translation_center.rb +12 -0
  79. data/spec/dummy/db/migrate/20130801102021_add_indicies.translation_center.rb +8 -0
  80. data/spec/dummy/db/schema.rb +111 -0
  81. data/{test → spec}/dummy/public/404.html +0 -0
  82. data/{test → spec}/dummy/public/422.html +0 -0
  83. data/{test → spec}/dummy/public/500.html +0 -0
  84. data/spec/dummy/public/favicon.ico +0 -0
  85. data/{test → spec}/dummy/script/rails +0 -0
  86. data/spec/factories/category_factory.rb +5 -0
  87. data/spec/factories/translation_factory.rb +8 -0
  88. data/spec/factories/translation_key_factory.rb +5 -0
  89. data/spec/factories/user_factory.rb +6 -0
  90. data/spec/factories/vote_factory.rb +13 -0
  91. data/spec/lib/generators/translation_center/add_lang/add_lang_generator_spec.rb +26 -0
  92. data/spec/models/translation_center/category_spec.rb +39 -0
  93. data/spec/models/translation_center/translation_key_spec.rb +145 -0
  94. data/spec/models/translation_center/translation_spec.rb +117 -0
  95. data/spec/schema.rb +112 -0
  96. data/spec/spec_helper.rb +52 -0
  97. data/spec/support/devise.rb +3 -0
  98. metadata +360 -208
  99. data/test/dummy/app/assets/images/translation_center_logo.png +0 -0
  100. data/test/dummy/app/assets/javascripts/articles.js +0 -2
  101. data/test/dummy/app/assets/stylesheets/articles.css +0 -4
  102. data/test/dummy/app/assets/stylesheets/scaffold.css +0 -56
  103. data/test/dummy/app/controllers/application_controller.rb +0 -6
  104. data/test/dummy/app/controllers/articles_controller.rb +0 -85
  105. data/test/dummy/app/helpers/articles_helper.rb +0 -2
  106. data/test/dummy/app/models/article.rb +0 -7
  107. data/test/dummy/app/views/articles/_form.html.haml +0 -16
  108. data/test/dummy/app/views/articles/edit.html.haml +0 -7
  109. data/test/dummy/app/views/articles/index.html.haml +0 -32
  110. data/test/dummy/app/views/articles/new.html.haml +0 -5
  111. data/test/dummy/app/views/articles/show.html.haml +0 -14
  112. data/test/dummy/config/database.yml +0 -42
  113. data/test/dummy/config/locales/ar.yml +0 -6
  114. data/test/dummy/config/locales/de.yml +0 -2
  115. data/test/dummy/config/locales/en.yml +0 -361
  116. data/test/dummy/config/routes.rb +0 -10
  117. data/test/dummy/spec/spec_helper.rb +0 -38
  118. data/test/dummy/test/fixtures/articles.yml +0 -9
  119. data/test/dummy/test/fixtures/posts.yml +0 -9
  120. data/test/dummy/test/fixtures/users.yml +0 -11
  121. data/test/dummy/test/functional/articles_controller_test.rb +0 -49
  122. data/test/dummy/test/functional/posts_controller_test.rb +0 -49
  123. data/test/dummy/test/unit/article_test.rb +0 -7
  124. data/test/dummy/test/unit/helpers/articles_helper_test.rb +0 -4
  125. data/test/dummy/test/unit/helpers/posts_helper_test.rb +0 -4
  126. data/test/dummy/test/unit/post_test.rb +0 -7
  127. data/test/dummy/test/unit/user_test.rb +0 -7
  128. data/test/fixtures/translation_center/categories.yml +0 -7
  129. data/test/fixtures/translation_center/translation_keys.yml +0 -11
  130. data/test/fixtures/translation_center/translations.yml +0 -15
  131. data/test/functional/translation_center/categories_controller_test.rb +0 -51
  132. data/test/functional/translation_center/center_controller_test.rb +0 -9
  133. data/test/functional/translation_center/translation_keys_controller_test.rb +0 -51
  134. data/test/functional/translation_center/translations_controller_test.rb +0 -51
  135. data/test/integration/navigation_test.rb +0 -10
  136. data/test/test_helper.rb +0 -15
  137. data/test/translation_center_test.rb +0 -7
  138. data/test/unit/helpers/translation_center/categories_helper_test.rb +0 -6
  139. data/test/unit/helpers/translation_center/center_helper_test.rb +0 -6
  140. data/test/unit/helpers/translation_center/translation_keys_helper_test.rb +0 -6
  141. data/test/unit/helpers/translation_center/translations_helper_test.rb +0 -6
  142. data/test/unit/translation_center/category_test.rb +0 -9
  143. data/test/unit/translation_center/translation_key_test.rb +0 -9
  144. data/test/unit/translation_center/translation_test.rb +0 -9
@@ -1,2 +0,0 @@
1
- // Place all the behaviors and hooks related to the matching controller here.
2
- // All this logic will automatically be available in application.js.
@@ -1,4 +0,0 @@
1
- /*
2
- Place all the styles related to the matching controller here.
3
- They will automatically be included in application.css.
4
- */
@@ -1,56 +0,0 @@
1
- body { background-color: #fff; color: #333; }
2
-
3
- body, p, ol, ul, td {
4
- font-family: verdana, arial, helvetica, sans-serif;
5
- font-size: 13px;
6
- line-height: 18px;
7
- }
8
-
9
- pre {
10
- background-color: #eee;
11
- padding: 10px;
12
- font-size: 11px;
13
- }
14
-
15
- a { color: #000; }
16
- a:visited { color: #666; }
17
- a:hover { color: #fff; background-color:#000; }
18
-
19
- div.field, div.actions {
20
- margin-bottom: 10px;
21
- }
22
-
23
- #notice {
24
- color: green;
25
- }
26
-
27
- .field_with_errors {
28
- padding: 2px;
29
- background-color: red;
30
- display: table;
31
- }
32
-
33
- #error_explanation {
34
- width: 450px;
35
- border: 2px solid red;
36
- padding: 7px;
37
- padding-bottom: 0;
38
- margin-bottom: 20px;
39
- background-color: #f0f0f0;
40
- }
41
-
42
- #error_explanation h2 {
43
- text-align: left;
44
- font-weight: bold;
45
- padding: 5px 5px 5px 15px;
46
- font-size: 12px;
47
- margin: -7px;
48
- margin-bottom: 0px;
49
- background-color: #c00;
50
- color: #fff;
51
- }
52
-
53
- #error_explanation ul li {
54
- font-size: 12px;
55
- list-style: square;
56
- }
@@ -1,6 +0,0 @@
1
- class ApplicationController < ActionController::Base
2
- protect_from_forgery
3
- # def add_category
4
- # TranslationCenter::Category.create(name: controller_name)
5
- # end
6
- end
@@ -1,85 +0,0 @@
1
- class ArticlesController < ApplicationController
2
- before_filter :authenticate_user!
3
-
4
- # GET /articles
5
- # GET /articles.json
6
- def index
7
- @articles = Article.all
8
-
9
- respond_to do |format|
10
- format.html # index.html.erb
11
- format.json { render json: @articles }
12
- end
13
- end
14
-
15
- # GET /articles/1
16
- # GET /articles/1.json
17
- def show
18
- @article = Article.find(params[:id])
19
-
20
- respond_to do |format|
21
- format.html # show.html.erb
22
- format.json { render json: @article }
23
- end
24
- end
25
-
26
- # GET /articles/new
27
- # GET /articles/new.json
28
- def new
29
- @article = Article.new
30
-
31
- respond_to do |format|
32
- format.html # new.html.erb
33
- format.json { render json: @article }
34
- end
35
- end
36
-
37
- # GET /articles/1/edit
38
- def edit
39
- @article = Article.find(params[:id])
40
- end
41
-
42
- # POST /articles
43
- # POST /articles.json
44
- def create
45
- @article = Article.new(params[:article])
46
-
47
- respond_to do |format|
48
- if @article.save
49
- format.html { redirect_to @article, notice: 'Article was successfully created.' }
50
- format.json { render json: @article, status: :created, location: @article }
51
- else
52
- format.html { render action: "new" }
53
- format.json { render json: @article.errors, status: :unprocessable_entity }
54
- end
55
- end
56
- end
57
-
58
- # PUT /articles/1
59
- # PUT /articles/1.json
60
- def update
61
- @article = Article.find(params[:id])
62
-
63
- respond_to do |format|
64
- if @article.update_attributes(params[:article])
65
- format.html { redirect_to @article, notice: 'Article was successfully updated.' }
66
- format.json { head :ok }
67
- else
68
- format.html { render action: "edit" }
69
- format.json { render json: @article.errors, status: :unprocessable_entity }
70
- end
71
- end
72
- end
73
-
74
- # DELETE /articles/1
75
- # DELETE /articles/1.json
76
- def destroy
77
- @article = Article.find(params[:id])
78
- @article.destroy
79
-
80
- respond_to do |format|
81
- format.html { redirect_to articles_url }
82
- format.json { head :ok }
83
- end
84
- end
85
- end
@@ -1,2 +0,0 @@
1
- module ArticlesHelper
2
- end
@@ -1,7 +0,0 @@
1
- class Article < ActiveRecord::Base
2
-
3
- attr_accessible :title, :content
4
-
5
- validates :title, presence: true
6
-
7
- end
@@ -1,16 +0,0 @@
1
- = form_for @article do |f|
2
- - if @article.errors.any?
3
- #error_explanation
4
- %h2= "#{pluralize(@article.errors.count, "error")} prohibited this article from being saved:"
5
- %ul
6
- - @article.errors.full_messages.each do |msg|
7
- %li= msg
8
-
9
- .field
10
- = f.label :title
11
- = f.text_field :title
12
- .field
13
- = f.label :content
14
- = f.text_area :content
15
- .actions
16
- = f.submit 'Save'
@@ -1,7 +0,0 @@
1
- %h1 Editing article
2
-
3
- = render 'form'
4
-
5
- = link_to 'Show', @article
6
- \|
7
- = link_to 'Back', articles_path
@@ -1,32 +0,0 @@
1
- %h1 Listing articles
2
-
3
- = number_to_currency(10)
4
-
5
- %table
6
- %tr
7
- %th= t('.title')
8
- %th= t('.content')
9
- %th
10
- %th
11
- %th
12
-
13
- - @articles.each do |article|
14
- %tr
15
- %td= article.title
16
- %td= article.content
17
- %td= link_to 'Show', article
18
- %td= link_to 'Edit', edit_article_path(article)
19
- %td= link_to 'Destroy', article, :method => :delete, :data => { :confirm => 'Are you sure?' }
20
-
21
- %br
22
-
23
- = link_to 'New Article', new_article_path
24
-
25
- #test_content
26
- test ajax content
27
- = link_to 'test ajax', '#', id: :test_ajax
28
-
29
- :javascript
30
- $('#test_ajax').click(function(){
31
- $('#test_content').load('/')
32
- })
@@ -1,5 +0,0 @@
1
- %h1 New article
2
-
3
- = render 'form'
4
-
5
- = link_to 'Back', articles_path
@@ -1,14 +0,0 @@
1
- %p#notice= notice
2
-
3
- %p
4
- %b Title:
5
- = @article.title
6
- %p
7
- %b Content:
8
- = @article.content
9
-
10
- = time_ago_in_words @article.created_at
11
-
12
- = link_to 'Edit', edit_article_path(@article)
13
- \|
14
- = link_to 'Back', articles_path
@@ -1,42 +0,0 @@
1
- # MySQL. Versions 4.1 and 5.0 are recommended.
2
- #
3
- # Install the MYSQL driver
4
- # gem install mysql2
5
- #
6
- # Ensure the MySQL gem is defined in your Gemfile
7
- # gem 'mysql2'
8
- #
9
- # And be sure to use new-style password hashing:
10
- # http://dev.mysql.com/doc/refman/5.0/en/old-client.html
11
- development:
12
- adapter: mysql2
13
- encoding: utf8
14
- reconnect: false
15
- database: translation_center_dev
16
- pool: 5
17
- username: root
18
- password: "1234"
19
- socket: /var/run/mysqld/mysqld.sock
20
-
21
- # Warning: The database defined as "test" will be erased and
22
- # re-generated from your development database when you run "rake".
23
- # Do not set this db to the same as development or production.
24
- test:
25
- adapter: mysql2
26
- encoding: utf8
27
- reconnect: false
28
- database: translation_center_test
29
- pool: 5
30
- username: root
31
- password: "1234"
32
- socket: /var/run/mysqld/mysqld.sock
33
-
34
- production:
35
- adapter: mysql2
36
- encoding: utf8
37
- reconnect: false
38
- database: translation_center_pro
39
- pool: 5
40
- username: root
41
- password:
42
- socket: /var/run/mysqld/mysqld.sock
@@ -1,6 +0,0 @@
1
- ---
2
- ar:
3
- activerecord:
4
- errors:
5
- messages:
6
- taken: محجوز
@@ -1,2 +0,0 @@
1
- ---
2
- de: {}
@@ -1,361 +0,0 @@
1
- ---
2
- en:
3
- activerecord:
4
- errors:
5
- messages:
6
- record_invalid: "Validation failed: %{errors}"
7
- taken: "has already been taken"
8
- articles:
9
- index:
10
- content: Content
11
- name: Name
12
- title: Title
13
- date:
14
- abbr_day_names:
15
- - Sun
16
- - Mon
17
- - Tue
18
- - Wed
19
- - Thu
20
- - Fri
21
- - Sat
22
- abbr_month_names:
23
- - ~
24
- - Jan
25
- - Feb
26
- - Mar
27
- - Apr
28
- - May
29
- - Jun
30
- - Jul
31
- - Aug
32
- - Sep
33
- - Oct
34
- - Nov
35
- - Dec
36
- day_names:
37
- - Sunday
38
- - Monday
39
- - Tuesday
40
- - Wednesday
41
- - Thursday
42
- - Friday
43
- - Saturday
44
- formats:
45
- default: "%Y-%m-%d"
46
- long: "%B %d, %Y"
47
- short: "%b %d"
48
- month_names:
49
- - ~
50
- - January
51
- - February
52
- - March
53
- - April
54
- - May
55
- - June
56
- - July
57
- - August
58
- - September
59
- - October
60
- - November
61
- - December
62
- order:
63
- - !ruby/symbol year
64
- - !ruby/symbol month
65
- - !ruby/symbol day
66
- datetime:
67
- distance_in_words:
68
- about_x_hours:
69
- one: "about 1 hour"
70
- other: "about %{count} hours"
71
- about_x_months:
72
- one: "about 1 month"
73
- other: "about %{count} months"
74
- about_x_years:
75
- one: "about 1 year"
76
- other: "about %{count} years"
77
- almost_x_years:
78
- one: "almost 1 year"
79
- other: "almost %{count} years"
80
- half_a_minute: "half a minute"
81
- less_than_x_minutes:
82
- one: "less than a minute"
83
- other: "less than %{count} minutes"
84
- less_than_x_seconds:
85
- one: "less than 1 second"
86
- other: "less than %{count} seconds"
87
- over_x_years:
88
- one: "over 1 year"
89
- other: "over %{count} years"
90
- x_days:
91
- one: "1 day"
92
- other: "%{count} days"
93
- x_minutes:
94
- one: "1 minute"
95
- other: "%{count} minutes"
96
- x_months:
97
- one: "1 month"
98
- other: "%{count} months"
99
- x_seconds:
100
- one: "1 second"
101
- other: "%{count} seconds"
102
- prompts:
103
- day: Day
104
- hour: Hour
105
- minute: Minute
106
- month: Month
107
- second: Seconds
108
- year: Year
109
- devise:
110
- confirmations:
111
- confirmed: "Your account was successfully confirmed. You are now signed in."
112
- send_instructions: "You will receive an email with instructions about how to confirm your account in a few minutes."
113
- send_paranoid_instructions: "If your email address exists in our database, you will receive an email with instructions about how to confirm your account in a few minutes."
114
- failure:
115
- already_authenticated: "You are already signed in."
116
- inactive: "Your account was not activated yet."
117
- invalid: "Invalid email or password."
118
- invalid_token: "Invalid authentication token."
119
- locked: "Your account is locked."
120
- not_found_in_database: "Invalid email or password."
121
- timeout: "Your session expired, please sign in again to continue."
122
- unauthenticated: "You need to sign in or sign up before continuing."
123
- unconfirmed: "You have to confirm your account before continuing."
124
- mailer:
125
- confirmation_instructions:
126
- subject: "Confirmation instructions"
127
- reset_password_instructions:
128
- subject: "Reset password instructions"
129
- unlock_instructions:
130
- subject: "Unlock Instructions"
131
- omniauth_callbacks:
132
- failure: "Could not authenticate you from %{kind} because \"%{reason}\"."
133
- success: "Successfully authenticated from %{kind} account."
134
- passwords:
135
- no_token: "You can't access this page without coming from a password reset email. If you do come from a password reset email, please make sure you used the full URL provided."
136
- send_instructions: "You will receive an email with instructions about how to reset your password in a few minutes."
137
- send_paranoid_instructions: "If your email address exists in our database, you will receive a password recovery link at your email address in a few minutes."
138
- updated: "Your password was changed successfully. You are now signed in."
139
- updated_not_active: "Your password was changed successfully."
140
- registrations:
141
- destroyed: "Bye! Your account was successfully cancelled. We hope to see you again soon."
142
- signed_up: "Welcome! You have signed up successfully."
143
- signed_up_but_inactive: "You have signed up successfully. However, we could not sign you in because your account is not yet activated."
144
- signed_up_but_locked: "You have signed up successfully. However, we could not sign you in because your account is locked."
145
- signed_up_but_unconfirmed: "A message with a confirmation link has been sent to your email address. Please open the link to activate your account."
146
- update_needs_confirmation: "You updated your account successfully, but we need to verify your new email address. Please check your email and click on the confirm link to finalize confirming your new email address."
147
- updated: "You updated your account successfully."
148
- sessions:
149
- signed_in: "Signed in successfully."
150
- signed_out: "Signed out successfully."
151
- unlocks:
152
- send_instructions: "You will receive an email with instructions about how to unlock your account in a few minutes."
153
- send_paranoid_instructions: "If your account exists, you will receive an email with instructions about how to unlock it in a few minutes."
154
- unlocked: "Your account has been unlocked successfully. Please sign in to continue."
155
- errors:
156
- format: "%{attribute} %{message}"
157
- messages:
158
- accepted: "must be accepted"
159
- already_confirmed: "was already confirmed, please try signing in"
160
- blank: "can't be blank"
161
- confirmation: "doesn't match confirmation"
162
- confirmation_period_expired: "needs to be confirmed within %{period}, please request a new one"
163
- empty: "can't be empty"
164
- equal_to: "must be equal to %{count}"
165
- even: "must be even"
166
- exclusion: "is reserved"
167
- expired: "has expired, please request a new one"
168
- greater_than: "must be greater than %{count}"
169
- greater_than_or_equal_to: "must be greater than or equal to %{count}"
170
- inclusion: "is not included in the list"
171
- invalid: "is invalid"
172
- less_than: "must be less than %{count}"
173
- less_than_or_equal_to: "must be less than or equal to %{count}"
174
- not_a_number: "is not a number"
175
- not_an_integer: "must be an integer"
176
- not_found: "not found"
177
- not_locked: "was not locked"
178
- not_saved:
179
- one: "1 error prohibited this %{resource} from being saved:"
180
- other: "%{count} errors prohibited this %{resource} from being saved:"
181
- odd: "must be odd"
182
- too_long: "is too long (maximum is %{count} characters)"
183
- too_short: "is too short (minimum is %{count} characters)"
184
- wrong_length: "is the wrong length (should be %{count} characters)"
185
- helpers:
186
- button:
187
- create: "Create %{model}"
188
- submit: "Save %{model}"
189
- update: "Update %{model}"
190
- select:
191
- prompt: "Please select"
192
- submit:
193
- create: "Create %{model}"
194
- submit: "Save %{model}"
195
- update: "Update %{model}"
196
- meta_search:
197
- or: or
198
- predicates:
199
- contains: "%{attribute} contains"
200
- does_not_contain: "%{attribute} doesn't contain"
201
- does_not_end_with: "%{attribute} doesn't end with"
202
- does_not_equal: "%{attribute} doesn't equal"
203
- does_not_start_with: "%{attribute} doesn't start with"
204
- ends_with: "%{attribute} ends with"
205
- equals: "%{attribute} equals"
206
- greater_than: "%{attribute} greater than"
207
- greater_than_or_equal_to: "%{attribute} greater than or equal to"
208
- in: "%{attribute} is one of"
209
- is_blank: "%{attribute} is blank"
210
- is_false: "%{attribute} is false"
211
- is_not_null: "%{attribute} isn't null"
212
- is_null: "%{attribute} is null"
213
- is_present: "%{attribute} is present"
214
- is_true: "%{attribute} is true"
215
- less_than: "%{attribute} less than"
216
- less_than_or_equal_to: "%{attribute} less than or equal to"
217
- not_in: "%{attribute} isn't one of"
218
- starts_with: "%{attribute} starts with"
219
- number:
220
- currency:
221
- format:
222
- delimiter: ","
223
- format: "%u%n"
224
- negative_format: "-%u%n"
225
- precision: 2
226
- separator: "."
227
- unit: $
228
- format:
229
- delimiter: ","
230
- precision: 3
231
- separator: "."
232
- human:
233
- decimal_units:
234
- format: "%n %u"
235
- units:
236
- billion: Billion
237
- million: Million
238
- quadrillion: Quadrillion
239
- thousand: Thousand
240
- trillion: Trillion
241
- format:
242
- precision: 3
243
- significant: true
244
- strip_insignificant_zeros: true
245
- storage_units:
246
- format: "%n %u"
247
- units:
248
- byte:
249
- one: Byte
250
- other: Bytes
251
- gb: GB
252
- kb: KB
253
- mb: MB
254
- tb: TB
255
- pagination:
256
- first: First
257
- last: Last
258
- next: Next
259
- prev: Prev
260
- support:
261
- array:
262
- last_word_connector: ", and "
263
- two_words_connector: " and "
264
- words_connector: ", "
265
- time:
266
- am: am
267
- formats:
268
- default: "%a, %d %b %Y %H:%M:%S %z"
269
- long: "%B %d, %Y %H:%M"
270
- short: "%d %b %H:%M"
271
- pm: pm
272
- translation_center:
273
- actions:
274
- are_you_sure: "Are you sure ?"
275
- back_to_app: "Back To App"
276
- categories:
277
- category:
278
- complete: Complete
279
- keys: Keys
280
- index:
281
- categories: Categories
282
- show:
283
- all: All
284
- pending: Pending
285
- translated: Translated
286
- untranslated: Untranslated
287
- center:
288
- activity:
289
- ago: ago
290
- changes: Changes
291
- key: Key
292
- locale: Locale
293
- of: Of
294
- time: Time
295
- user: User
296
- dashboard:
297
- activity: Activity
298
- all: All
299
- controls: Controls
300
- dashboard: Dashboard
301
- language: Language
302
- pending: Pending
303
- progress: Progress
304
- reset: Reset
305
- search: Search
306
- select_locale: "Select Locale"
307
- these_actions_will_affect_existing_data: "These actions will affect existing data"
308
- translated: Translated
309
- untranslated: Untranslated
310
- pagination_links:
311
- of: Of
312
- search:
313
- title: "Keys with translations that contain '%{value}'"
314
- dashboard: Dashboard
315
- pagination:
316
- first: First
317
- last: Last
318
- next: Next
319
- prev: Prev.
320
- search_keys: Keys
321
- search_translations: Translations
322
- translate_to: "Translate To"
323
- translation_center: "Translation Center"
324
- translation_keys:
325
- destroyed_successfully: "Destroyed Successfully"
326
- show:
327
- add_edit_translation: "Add/Edit Translation"
328
- back_to_category: "Back to"
329
- destroy: Destroy
330
- translations: Translations
331
- show_keys:
332
- created_on: "created on"
333
- translated: Translated
334
- translation_keys:
335
- no_translation_keys: "No Translation Keys"
336
- translations:
337
- accept_translation:
338
- unaccept: Unaccept
339
- index:
340
- date: Date
341
- sort_by: "Sort by"
342
- votes: Votes
343
- votings: Votes
344
- search:
345
- first: First
346
- last: Last
347
- next: Next
348
- of: Of
349
- prev: Prev
350
- search_results:
351
- first: First
352
- last: Last
353
- next: Next
354
- of: Of
355
- prev: Prev
356
- show:
357
- by: by
358
- on_date: "on"
359
- vote: Vote
360
- votings: Votes
361
- you: You