active_scaffold 4.2.3 → 4.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.rdoc +19 -1
  3. data/README.md +115 -12
  4. data/app/assets/javascripts/{jquery → active_scaffold}/active_scaffold.js +759 -762
  5. data/app/assets/javascripts/{jquery/date_picker_bridge.js.erb → active_scaffold/date_picker_bridge.js} +0 -3
  6. data/app/assets/javascripts/active_scaffold/load.js +102 -0
  7. data/app/assets/javascripts/active_scaffold.js.erb +3 -27
  8. data/app/assets/stylesheets/active_scaffold/_colours.scss +330 -0
  9. data/app/assets/stylesheets/active_scaffold/_images.scss +65 -0
  10. data/app/assets/stylesheets/{active_scaffold_layout.scss → active_scaffold/_layout.scss} +14 -0
  11. data/app/assets/stylesheets/active_scaffold/_variables.scss +194 -0
  12. data/app/assets/stylesheets/active_scaffold/core.scss +15 -0
  13. data/app/assets/stylesheets/active_scaffold.scss.erb +16 -0
  14. data/app/views/active_scaffold_overrides/_field_search_columns.html.erb +8 -0
  15. data/app/views/active_scaffold_overrides/_form.html.erb +8 -0
  16. data/app/views/active_scaffold_overrides/_form_association.html.erb +3 -1
  17. data/app/views/active_scaffold_overrides/_form_association_record.html.erb +4 -2
  18. data/app/views/active_scaffold_overrides/_new_record.js.erb +2 -2
  19. data/app/views/active_scaffold_overrides/_refresh_list.js.erb +1 -1
  20. data/app/views/active_scaffold_overrides/_show_association.html.erb +2 -1
  21. data/app/views/active_scaffold_overrides/_show_association_horizontal.html.erb +2 -2
  22. data/app/views/active_scaffold_overrides/_show_association_vertical.html.erb +1 -1
  23. data/app/views/active_scaffold_overrides/destroy.js.erb +2 -2
  24. data/app/views/active_scaffold_overrides/edit_associated.js.erb +10 -8
  25. data/app/views/active_scaffold_overrides/on_update.js.erb +1 -1
  26. data/config/locales/de.yml +19 -15
  27. data/config/locales/en.yml +5 -4
  28. data/config/locales/es.yml +16 -8
  29. data/config/locales/fr.yml +27 -20
  30. data/config/locales/hu.yml +35 -31
  31. data/config/locales/ja.yml +39 -38
  32. data/config/locales/ru.yml +37 -36
  33. data/config/locales/ta.yml +165 -0
  34. data/config/locales/zh_Hans.yml +163 -0
  35. data/lib/active_scaffold/actions/core.rb +34 -3
  36. data/lib/active_scaffold/assets/css_deps_generator.rb +42 -0
  37. data/lib/active_scaffold/assets/jquery_ui_manifest.rb +77 -0
  38. data/lib/active_scaffold/assets/jquery_ui_theme_generator.rb +102 -0
  39. data/lib/active_scaffold/assets.rb +109 -0
  40. data/lib/active_scaffold/attribute_params.rb +11 -2
  41. data/lib/active_scaffold/bridges/active_storage/form_ui.rb +1 -1
  42. data/lib/active_scaffold/bridges/carrierwave/form_ui.rb +1 -1
  43. data/lib/active_scaffold/bridges/chosen.rb +1 -1
  44. data/lib/active_scaffold/bridges/date_picker/helper.rb +12 -1
  45. data/lib/active_scaffold/bridges/dragonfly/form_ui.rb +1 -1
  46. data/lib/active_scaffold/bridges/file_column/form_ui.rb +1 -1
  47. data/lib/active_scaffold/bridges/paperclip/form_ui.rb +1 -1
  48. data/lib/active_scaffold/bridges/record_select/helpers.rb +1 -1
  49. data/lib/active_scaffold/bridges/tiny_mce/helpers.rb +1 -0
  50. data/lib/active_scaffold/bridges/tiny_mce.rb +6 -1
  51. data/lib/active_scaffold/bridges.rb +7 -0
  52. data/lib/active_scaffold/config/core.rb +7 -3
  53. data/lib/active_scaffold/constraints.rb +1 -1
  54. data/lib/active_scaffold/data_structures/action_columns.rb +66 -0
  55. data/lib/active_scaffold/data_structures/bridge.rb +2 -0
  56. data/lib/active_scaffold/data_structures/column.rb +3 -0
  57. data/lib/active_scaffold/engine.rb +40 -0
  58. data/lib/active_scaffold/finder.rb +1 -1
  59. data/lib/active_scaffold/helpers/assets_helpers.rb +39 -0
  60. data/lib/active_scaffold/helpers/controller_helpers.rb +1 -1
  61. data/lib/active_scaffold/helpers/form_column_helpers.rb +57 -532
  62. data/lib/active_scaffold/helpers/form_ui_helpers.rb +530 -0
  63. data/lib/active_scaffold/helpers/human_condition_helpers.rb +1 -0
  64. data/lib/active_scaffold/helpers/list_column_helpers.rb +31 -11
  65. data/lib/active_scaffold/helpers/search_column_helpers.rb +5 -12
  66. data/lib/active_scaffold/helpers/show_column_helpers.rb +4 -2
  67. data/lib/active_scaffold/helpers/view_helpers.rb +12 -0
  68. data/lib/active_scaffold/railties/tasks.rake +10 -0
  69. data/lib/active_scaffold/tableless.rb +1 -1
  70. data/lib/active_scaffold/testing/assert_embedded_load.rb +33 -0
  71. data/lib/active_scaffold/version.rb +2 -2
  72. data/lib/active_scaffold.rb +7 -2
  73. data/lib/tasks/active_scaffold/assets.rake +42 -0
  74. data/lib/tasks/bundle.rake +25 -0
  75. data/vendor/assets/stylesheets/{jquery-ui-theme.css.erb → jquery-ui-theme.css} +17 -17
  76. metadata +28 -28
  77. data/app/assets/stylesheets/active_scaffold.scss +0 -424
  78. data/app/assets/stylesheets/active_scaffold_extensions.css.erb +0 -2
  79. data/app/assets/stylesheets/active_scaffold_images.scss +0 -65
  80. data/app/assets/stylesheets/active_scaffold_jquery_ui.css.erb +0 -13
  81. /data/app/assets/javascripts/{jquery → active_scaffold}/active_scaffold_chosen.js +0 -0
  82. /data/app/assets/javascripts/{jquery → active_scaffold}/draggable_lists.js +0 -0
  83. /data/app/assets/javascripts/{jquery → active_scaffold}/jquery.editinplace.js +0 -0
  84. /data/app/assets/javascripts/{jquery → active_scaffold}/tiny_mce_bridge.js +0 -0
@@ -12,8 +12,8 @@ fr:
12
12
  add_existing: Ajouter un(e) existant(e)
13
13
  add_existing_model: Ajouter un(e) %{model} existant(e)
14
14
  add_model: Ajouter un(e) %{model}
15
- all_tokens:
16
- any_token:
15
+ all_tokens: All keywords
16
+ any_token: Any keyword
17
17
  apply: Appliquer
18
18
  are_you_sure_to_delete: Êtes vous sûr de vouloir supprimer %{label} ?
19
19
  average: Moyenne
@@ -22,7 +22,7 @@ fr:
22
22
  cancel: Annuler
23
23
  cant_destroy_record: "%{record} ne peut être supprimé"
24
24
  changes: Changement
25
- check_all:
25
+ check_all: Check all
26
26
  click_to_edit: Cliquer pour éditer
27
27
  click_to_reset: Cliquer pour ré-initialiser
28
28
  close: Fermer
@@ -37,9 +37,9 @@ fr:
37
37
  created_model: "%{model} créé"
38
38
  customize: Personnaliser
39
39
  date_picker_options:
40
- firstDay: 1
41
- isRTL: false
42
- showMonthAfterYear: false
40
+ firstDay: '1'
41
+ isRTL: 'false'
42
+ showMonthAfterYear: 'false'
43
43
  weekHeader: Sm
44
44
  datetime_picker_options:
45
45
  closeText: Fermer
@@ -51,9 +51,9 @@ fr:
51
51
  deleted_model: Suppression de %{model}
52
52
  deleted_records: Lister les enregistrements supprimés
53
53
  delimiter: Délimiteur
54
- doesnt_begin_with:
55
- doesnt_contain:
56
- doesnt_end_with:
54
+ doesnt_begin_with: Doesn't begin with
55
+ doesnt_contain: Doesn't contain
56
+ doesnt_end_with: Doesn't end with
57
57
  download: Télécharger
58
58
  edit: Éditer
59
59
  ends_with: Se terminant par
@@ -63,6 +63,7 @@ fr:
63
63
  body: 'Il y avait des problèmes avec les champs suivants :'
64
64
  header:
65
65
  one: 1 erreur interdit ce(tte) %{model} d'être sauvegardé.
66
+ many: "%{count} erreurs interdisent ce(tte) %{model} d'être sauvegardé"
66
67
  other: "%{count} erreurs interdisent ce(tte) %{model} d'être sauvegardé"
67
68
  export: Exporter
68
69
  'false': Faux
@@ -70,7 +71,7 @@ fr:
70
71
  found: Trouvé
71
72
  future: Futur
72
73
  group_by: Grouper par
73
- grouped_by:
74
+ grouped_by: Grouped by %{column}
74
75
  hide: "(Cacher)"
75
76
  hours: Heures
76
77
  human_conditions:
@@ -80,7 +81,7 @@ fr:
80
81
  internal_error: Erreur de la requête
81
82
  live_search: Recherche en temps réel
82
83
  loading: Chargement…
83
- logical_search:
84
+ logical_search: Logical Search
84
85
  mark_all_records: Marquer tous
85
86
  maximum: Maximum
86
87
  minimum: Minimum
@@ -110,10 +111,12 @@ fr:
110
111
  previous: Précédent
111
112
  print: Imprimer
112
113
  range: Intervale
113
- record_not_saved: Impossible d'enregistrer l'enregistrement à cause d'une erreur inconnue
114
+ record_not_saved: Impossible d'enregistrer l'enregistrement à cause d'une
115
+ erreur inconnue
114
116
  records_marked:
115
117
  one: 1 %{model} marqué
116
- other: "%{count} %{model} marqués"
118
+ many: '%{count} %{model} marqués'
119
+ other: '%{count} %{model} marqués'
117
120
  refresh: Rafraîchir
118
121
  remove: Supprimer
119
122
  remove_file: Supprimer ou remplacer le fichier
@@ -136,26 +139,30 @@ fr:
136
139
  today: Aujourd'hui
137
140
  tomorrow: Demain
138
141
  'true': Vrai
139
- uncheck_all:
142
+ uncheck_all: Uncheck all
140
143
  update: Mettre à jour
141
144
  update_apply: Appliquer
142
145
  update_model: Mettre à jour le(/la) %{model}
143
146
  updated_model: Mis à jour de %{model}
144
- version_inconsistency: Version incomplète - Cet enregistrement a été modifié depuis que vous avez commencé à l'éditer.
147
+ version_inconsistency: Version incomplète - Cet enregistrement a été modifié
148
+ depuis que vous avez commencé à l'éditer.
145
149
  weeks: Semaines
146
150
  years: Années
147
151
  yesterday: Hier
148
152
  date:
149
153
  formats:
150
154
  month: "%B"
151
- quarter:
152
- week:
155
+ quarter: Quarter %{num}
156
+ week: Week %W, %Y
153
157
  year_month: "%b %Y"
154
- year_quarter:
158
+ year_quarter: Quarter %{quarter} %{year}
155
159
  time:
156
160
  formats:
157
161
  picker: "%a, %d %b %Y %H:%M:%S"
158
162
  datetime:
159
163
  prompts:
160
- millisec:
161
- microsec:
164
+ millisec: Millisecond
165
+ microsec: Microsecond
166
+ second: Second
167
+ minute: Minute
168
+ hour: Hour
@@ -12,8 +12,8 @@ hu:
12
12
  add_existing: Meglevő hozzáadása
13
13
  add_existing_model: Meglevő %{model} hozzáadása
14
14
  add_model: "%{model} hozzáadása"
15
- all_tokens:
16
- any_token:
15
+ all_tokens: All keywords
16
+ any_token: Any keyword
17
17
  apply: Apply
18
18
  are_you_sure_to_delete: Are you sure you want to delete %{label}?
19
19
  average: Average
@@ -21,8 +21,8 @@ hu:
21
21
  between: Között
22
22
  cancel: Mégse
23
23
  cant_destroy_record: 'nem törölhető: %{record}'
24
- changes:
25
- check_all:
24
+ changes: Changes
25
+ check_all: Check all
26
26
  click_to_edit: Kattints a szerkesztéshez
27
27
  click_to_reset: Kattints az alapállapothoz
28
28
  close: Bezárás
@@ -31,29 +31,29 @@ hu:
31
31
  contains: Contains
32
32
  create: Létrehozás
33
33
  create_another: Create Another %{model}
34
- create_apply:
34
+ create_apply: Create and continue
35
35
  create_model: "%{model} létrehozása"
36
36
  create_new: Új létrehozása
37
37
  created_model: "%{model} létrehozva"
38
38
  customize: Testreszabás
39
39
  date_picker_options:
40
- firstDay: 0
41
- isRTL: false
42
- showMonthAfterYear: false
40
+ firstDay: '0'
41
+ isRTL: 'false'
42
+ showMonthAfterYear: 'false'
43
43
  weekHeader: Wk
44
44
  datetime_picker_options:
45
- closeText:
46
- currentText:
47
- timeText:
45
+ closeText: Close
46
+ currentText: Now
47
+ timeText: Hour
48
48
  timezoneText: Timezone
49
49
  days: Days
50
50
  delete: Törlés
51
51
  deleted_model: "%{model} törölve"
52
- deleted_records:
52
+ deleted_records: List Deleted Records
53
53
  delimiter: Elválasztó
54
- doesnt_begin_with:
55
- doesnt_contain:
56
- doesnt_end_with:
54
+ doesnt_begin_with: Doesn't begin with
55
+ doesnt_contain: Doesn't contain
56
+ doesnt_end_with: Doesn't end with
57
57
  download: Letöltés
58
58
  edit: Szerkesztés
59
59
  ends_with: Ends with
@@ -65,12 +65,12 @@ hu:
65
65
  one: 1 error prohibited this %{model} from being saved.
66
66
  other: "%{count} errors prohibited this %{model} from being saved"
67
67
  export: Exportálás
68
- 'false': 'False'
68
+ 'false': 'false'
69
69
  filtered: "(Szűrt)"
70
70
  found: Találat
71
71
  future: Future
72
- group_by:
73
- grouped_by:
72
+ group_by: Group by
73
+ grouped_by: Grouped by %{column}
74
74
  hide: "(Elrejtés)"
75
75
  hours: Hours
76
76
  human_conditions:
@@ -80,7 +80,7 @@ hu:
80
80
  internal_error: A lekérés sikertelen
81
81
  live_search: Élő keresés
82
82
  loading: Betöltés…
83
- logical_search:
83
+ logical_search: Logical Search
84
84
  mark_all_records: Mark all
85
85
  maximum: Maximum
86
86
  minimum: Minimum
@@ -93,9 +93,9 @@ hu:
93
93
  next_week: Next Week
94
94
  next_year: Next Year
95
95
  no_authorization_for_action: No Authorization for action %{action}
96
- no_color:
96
+ no_color: No color
97
97
  no_entries: Nincs elem
98
- no_group:
98
+ no_group: No group
99
99
  no_options: nincsenek opciók
100
100
  not_null: Not Null
101
101
  'null': 'Null'
@@ -136,26 +136,30 @@ hu:
136
136
  today: Today
137
137
  tomorrow: Tomorrow
138
138
  'true': 'True'
139
- uncheck_all:
139
+ uncheck_all: Uncheck all
140
140
  update: Modosítás
141
- update_apply:
141
+ update_apply: Apply
142
142
  update_model: "%{model} modosítása"
143
143
  updated_model: "%{model} módosítva"
144
- version_inconsistency: Verzió ütközés - ezt a rekordot módosították mióta elkezdted szerkeszteni.
144
+ version_inconsistency: Verzió ütközés - ezt a rekordot módosították mióta
145
+ elkezdted szerkeszteni.
145
146
  weeks: Weeks
146
147
  years: Years
147
148
  yesterday: Yesterday
148
149
  date:
149
150
  formats:
150
- month:
151
- quarter:
152
- week:
153
- year_month:
154
- year_quarter:
151
+ month: '%B'
152
+ quarter: Quarter %{num}
153
+ week: Week %W, %Y
154
+ year_month: '%b %Y'
155
+ year_quarter: Quarter %{quarter} %{year}
155
156
  time:
156
157
  formats:
157
158
  picker: "%a, %d %b %Y %H:%M:%S"
158
159
  datetime:
159
160
  prompts:
160
- millisec:
161
- microsec:
161
+ millisec: Millisecond
162
+ microsec: Microsecond
163
+ second: Second
164
+ minute: Minute
165
+ hour: Hour
@@ -12,8 +12,8 @@ ja:
12
12
  add_existing: 既存のものを追加
13
13
  add_existing_model: 既存の%{model}を追加
14
14
  add_model: "%{model}を追加"
15
- all_tokens:
16
- any_token:
15
+ all_tokens: All keywords
16
+ any_token: Any keyword
17
17
  apply: 適用
18
18
  are_you_sure_to_delete: "%{label}を消去してもよろしいですか?"
19
19
  average: 平均
@@ -22,24 +22,24 @@ ja:
22
22
  cancel: キャンセル
23
23
  cant_destroy_record: "%{record}を削除できません"
24
24
  changes: 差分
25
- check_all:
25
+ check_all: Check all
26
26
  click_to_edit: クリックして編集
27
27
  click_to_reset: クリックしてリセット
28
28
  close: 閉じる
29
- config_list:
30
- config_list_model:
29
+ config_list: Configure
30
+ config_list_model: Configure Columns for %{model}
31
31
  contains: 部分一致検索
32
32
  create: 作成
33
- create_another:
34
- create_apply:
33
+ create_another: Create Another %{model}
34
+ create_apply: Create and continue
35
35
  create_model: "%{model}を作成"
36
36
  create_new: 新規作成
37
37
  created_model: "%{model}を作成しました"
38
38
  customize: カスタマイズ
39
39
  date_picker_options:
40
- firstDay: 0
41
- isRTL: false
42
- showMonthAfterYear: false
40
+ firstDay: '0'
41
+ isRTL: 'false'
42
+ showMonthAfterYear: 'false'
43
43
  weekHeader: 週
44
44
  datetime_picker_options:
45
45
  closeText: 閉じる
@@ -49,11 +49,11 @@ ja:
49
49
  days: 日分
50
50
  delete: 削除
51
51
  deleted_model: "%{model}を削除しました"
52
- deleted_records:
52
+ deleted_records: List Deleted Records
53
53
  delimiter: 区切り文字
54
- doesnt_begin_with:
55
- doesnt_contain:
56
- doesnt_end_with:
54
+ doesnt_begin_with: Doesn't begin with
55
+ doesnt_contain: Doesn't contain
56
+ doesnt_end_with: Doesn't end with
57
57
  download: ダウンロード
58
58
  edit: 編集
59
59
  ends_with: 終了時間
@@ -62,15 +62,14 @@ ja:
62
62
  template:
63
63
  body: 次のフィールドに問題がありました:
64
64
  header:
65
- one: 1件のエラーにより、この%{model}が保存できませんでした
66
- other: "%{count}件のエラーにより、この%{model}が保存できませんでした"
65
+ other: '%{count}件のエラーにより、この%{model}が保存できませんでした'
67
66
  export: エクスポート
68
- 'false':
67
+ 'false': 'False'
69
68
  filtered: "(フィルタ中)"
70
69
  found: 個ありました
71
70
  future: 未来
72
- group_by:
73
- grouped_by:
71
+ group_by: Group by
72
+ grouped_by: Grouped by %{column}
74
73
  hide: "(隠す)"
75
74
  hours: 時間分
76
75
  human_conditions:
@@ -80,30 +79,30 @@ ja:
80
79
  internal_error: リクエストが失敗しました
81
80
  live_search: その場で検索
82
81
  loading: 読み込み中…
83
- logical_search:
82
+ logical_search: Logical Search
84
83
  mark_all_records: すべて選択
85
84
  maximum: 最大値
86
85
  minimum: 最小値
87
86
  minutes: 分間
88
87
  months: か月分
89
88
  nested_for_model: "%{parent_model}の%{nested_model}"
90
- nested_of_model:
89
+ nested_of_model: '%{nested_model} of %{parent_model}'
91
90
  next: 次
92
91
  next_month: 来月
93
92
  next_week: 来週
94
93
  next_year: 来年
95
- no_authorization_for_action:
96
- no_color:
94
+ no_authorization_for_action: No Authorization for action %{action}
95
+ no_color: No color
97
96
  no_entries: 見つかりませんでした
98
- no_group:
97
+ no_group: No group
99
98
  no_options: オプション無し
100
- not_null:
101
- 'null':
102
- omit_header:
103
- optional_attributes:
99
+ not_null: Not Null
100
+ 'null': 'Null'
101
+ omit_header: Omit Header
102
+ optional_attributes: Further Options
104
103
  options: オプション
105
104
  past: 過去
106
- pdf:
105
+ pdf: PDF
107
106
  prev_month: 先月
108
107
  prev_week: 先週
109
108
  prev_year: 去年
@@ -112,16 +111,15 @@ ja:
112
111
  range: 範囲検索
113
112
  record_not_saved: 不明なエラーによって保存できませんでした
114
113
  records_marked:
115
- one: "%{model}を1件選択"
116
- other: "%{model}を%{count}件選択"
114
+ other: '%{model}を%{count}件選択'
117
115
  refresh: 更新
118
116
  remove: 削除
119
117
  remove_file: ファイルを削除または置換
120
118
  remove_files: ファイルを削除または追加する
121
- replace_existing:
119
+ replace_existing: Replace Existing
122
120
  replace_with_new: 新しいもので置換
123
121
  reset: リセット
124
- revisions_for_model:
122
+ revisions_for_model: Revisions for %{model}
125
123
  saving: 保存中…
126
124
  search: 検索
127
125
  search_terms: 検索単語
@@ -135,10 +133,10 @@ ja:
135
133
  this_year: 今年
136
134
  today: 今日
137
135
  tomorrow: 明日
138
- 'true':
139
- uncheck_all:
136
+ 'true': 'True'
137
+ uncheck_all: Uncheck all
140
138
  update: 更新
141
- update_apply:
139
+ update_apply: Apply
142
140
  update_model: "%{model}を更新"
143
141
  updated_model: "%{model}を更新しました"
144
142
  version_inconsistency: バージョンが一致しません - あなたが編集している間にこのレコードが変更されました。
@@ -157,5 +155,8 @@ ja:
157
155
  picker: "%Y年%m月%d日(%a) %H:%M:%S"
158
156
  datetime:
159
157
  prompts:
160
- millisec:
161
- microsec:
158
+ millisec: Millisecond
159
+ microsec: Microsecond
160
+ second: Second
161
+ minute: Minute
162
+ hour: Hour
@@ -12,8 +12,8 @@ ru:
12
12
  add_existing: Добавить существующую запись
13
13
  add_existing_model: "%{model}: добавить существующую запись"
14
14
  add_model: "%{model}: добавить запись"
15
- all_tokens: Todas las palabras
16
- any_token: Cualquier palabra
15
+ all_tokens: 'Все ключевые слова'
16
+ any_token: 'Любое ключевое слово'
17
17
  apply: Применить
18
18
  are_you_sure_to_delete: Удалить %{label}?
19
19
  average: Среднее
@@ -21,8 +21,8 @@ ru:
21
21
  between: В интервале
22
22
  cancel: Отмена
23
23
  cant_destroy_record: Запись %{record} не может быть удалена
24
- changes:
25
- check_all:
24
+ changes: Изменения
25
+ check_all: Выбрать все
26
26
  click_to_edit: Нажмите для редактирования
27
27
  click_to_reset: Нажмите для сброса
28
28
  close: Закрыть
@@ -31,29 +31,29 @@ ru:
31
31
  contains: Содержит
32
32
  create: Создать
33
33
  create_another: "%{model}: Создать другую запись"
34
- create_apply:
34
+ create_apply: Создать и продолжить
35
35
  create_model: "%{model}: создать запись"
36
36
  create_new: Создать новую запись
37
37
  created_model: "%{model}: запись создана"
38
38
  customize: Настроить
39
39
  date_picker_options:
40
- firstDay: 1
41
- isRTL: false
42
- showMonthAfterYear: false
40
+ firstDay: '1'
41
+ isRTL: 'false'
42
+ showMonthAfterYear: 'false'
43
43
  weekHeader: Нед.
44
44
  datetime_picker_options:
45
45
  closeText: Закрыть
46
46
  currentText: Текущее время
47
- timeText:
47
+ timeText: Час
48
48
  timezoneText: Timezone
49
49
  days: дней
50
50
  delete: Удалить
51
51
  deleted_model: "%{model}: запись удалена"
52
- deleted_records:
52
+ deleted_records: Список удаленных записей
53
53
  delimiter: Разделитель
54
- doesnt_begin_with:
55
- doesnt_contain:
56
- doesnt_end_with:
54
+ doesnt_begin_with: Не начинается с
55
+ doesnt_contain: Не содержит
56
+ doesnt_end_with: Не заканчивается на
57
57
  download: Загрузить
58
58
  edit: Изменить
59
59
  ends_with: Оканчивается на
@@ -62,21 +62,19 @@ ru:
62
62
  template:
63
63
  body: 'Проблемы возникли со следующими полями:'
64
64
  header:
65
- few: "%{model}: сохранение не удалось из-за %{count} ошибок"
66
- many: "%{model}: сохранение не удалось из-за %{count} ошибок"
67
- one: "%{model}: сохранение не удалось из-за %{count} ошибки"
68
- other: "%{model}: сохранение не удалось из-за %{count} ошибки"
65
+ one: '%{model}: сохранение не удалось из-за %{count} ошибки'
66
+ few: '%{model}: сохранение не удалось из-за %{count} ошибок'
67
+ many: '%{model}: сохранение не удалось из-за %{count} ошибок'
69
68
  export: Экспорт
70
69
  'false': Нет
71
70
  filtered: "(Найденное)"
72
71
  found:
72
+ one: запись
73
73
  few: записи
74
74
  many: записей
75
- one: запись
76
- other: записи
77
75
  future: Будущие
78
- group_by:
79
- grouped_by:
76
+ group_by: Группировать по
77
+ grouped_by: Группировка по %{column}
80
78
  hide: "(Скрыть)"
81
79
  hours: часов
82
80
  human_conditions:
@@ -86,7 +84,7 @@ ru:
86
84
  internal_error: Внутренняя ошибка
87
85
  live_search: Поиск
88
86
  loading: Загрузка…
89
- logical_search:
87
+ logical_search: Логический поиск
90
88
  mark_all_records: Отметить все
91
89
  maximum: Максимум
92
90
  minimum: Минимум
@@ -99,9 +97,9 @@ ru:
99
97
  next_week: На следующей неделе
100
98
  next_year: В следующем году
101
99
  no_authorization_for_action: Нет прав на выполнение действия "%{action}"
102
- no_color:
100
+ no_color: Без цвета
103
101
  no_entries: Нет записей
104
- no_group:
102
+ no_group: Без группы
105
103
  no_options: Нет вариантов
106
104
  not_null: Не пусто
107
105
  'null': Пусто
@@ -118,10 +116,9 @@ ru:
118
116
  range: Интервал
119
117
  record_not_saved: Запись не может быть сохранена из-за неизвестной ошибки
120
118
  records_marked:
119
+ one: Отмечена 1 запись
121
120
  few: Отмечено %{count} записи
122
121
  many: Отмечено %{count} записей
123
- one: Отмечена 1 запись
124
- other: Отмечено %{count} записи
125
122
  refresh: Обновить
126
123
  remove: Удалить
127
124
  remove_file: Удалить или заменить файл
@@ -144,26 +141,30 @@ ru:
144
141
  today: Сегодня
145
142
  tomorrow: Завтра
146
143
  'true': Да
147
- uncheck_all:
144
+ uncheck_all: Снять выделение со всех
148
145
  update: Обновить запись
149
- update_apply:
146
+ update_apply: Применить
150
147
  update_model: "%{model}: обновить запись"
151
148
  updated_model: "%{model}: запись обновлена"
152
- version_inconsistency: Эта запись была обновлена с того момента, как вы начали ее редактировать
149
+ version_inconsistency: Эта запись была обновлена с того момента, как вы
150
+ начали ее редактировать
153
151
  weeks: недель
154
152
  years: лет
155
153
  yesterday: Вчера
156
154
  date:
157
155
  formats:
158
- month:
159
- quarter:
160
- week:
161
- year_month:
162
- year_quarter:
156
+ month: '%B'
157
+ quarter: '%{num} квартал'
158
+ week: '%W неделя, %Y'
159
+ year_month: '%b %Y'
160
+ year_quarter: '%{quarter} квартал %{year}'
163
161
  time:
164
162
  formats:
165
163
  picker: "%a, %d %b %Y %H:%M:%S"
166
164
  datetime:
167
165
  prompts:
168
- millisec:
169
- microsec:
166
+ millisec: Миллисекунда
167
+ microsec: Микросекунда
168
+ second: Секунда
169
+ minute: Минута
170
+ hour: Час