active_scaffold 4.3.0 → 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 861686a739ce56092580a717c8a7e85765f5862389465ec8b86060f0924bdf14
4
- data.tar.gz: b07820a816aa7652af10cdda2939bc7cfdc2e6307cf76c13ce86d224728e6d51
3
+ metadata.gz: 8426370774f998d440d6ba62749ce0debb8b5caf5a050330b21c77eb34849e17
4
+ data.tar.gz: 60f8897a05d79cc248c5059321b42152361f5f79b24069586e46b2bd209e738e
5
5
  SHA512:
6
- metadata.gz: ac54f190035ed02602065f953c2e0172649e87893aead48e5895ac5ed07fb859efa5efcf4fca20af3496bcf3334b2eb22bfff286cf609a308aecb5c0c2c9a2bd
7
- data.tar.gz: f5757a2c4e839f98eb0e65d4c010d1a73eaadb2a0de806671baa21a368e5847d114b9a22669677aa0070ef9d930f97e3c2983e5a183be36ad009441b17a4cd03
6
+ metadata.gz: be457e4b9bc57e9e4f657642912ff5396bad888107ef9a9e27ee3cf0457e5cf8e872f2d20ee08379fa1c42105e223f8e4fd9ae43d64c6f7eececa1c6212250e4
7
+ data.tar.gz: 7c764c174e950240a3da87b096ed7891ed571c81880e7f42161744a591c3de626f5b14914ddb0d7b7c9500b12e48d2be2b06bd11d071f3174467da42d3627cbf
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,6 @@
1
+ - Fix escaping URL in JS response, fixing auto paginate and response for actions with render_parent
2
+
3
+ = 4.3.0
1
4
  - Support translating enums (or options for :select form_ui on any column) nested in the pluralized name of the column, activerecord.attributes.model_name.pluralized_column.enum_value, defaults to old way activerecord.attributes.model_name.enum_value
2
5
  - Support :subform_columns option in column form_ui_options, or column's options, when the column is rendered as subform
3
6
  - Use :subform_columns option in :horizontal and :vertical show_ui too
data/README.md CHANGED
@@ -4,17 +4,19 @@
4
4
  [![Maintainability](https://qlty.sh/gh/activescaffold/projects/active_scaffold/maintainability.svg)](https://qlty.sh/gh/activescaffold/projects/active_scaffold)
5
5
  [![Code Coverage](https://qlty.sh/gh/activescaffold/projects/active_scaffold/coverage.svg)](https://qlty.sh/gh/activescaffold/projects/active_scaffold)
6
6
  [![Gem Version](https://badge.fury.io/rb/active_scaffold.svg)](https://badge.fury.io/rb/active_scaffold)
7
+ [![Translation Status](https://hosted.weblate.org/widget/activescaffold/svg-badge.svg)](https://hosted.weblate.org/engage/activescaffold/)
7
8
  [![Inline docs](https://inch-ci.org/github/activescaffold/active_scaffold.svg?branch=master)](https://inch-ci.org/github/activescaffold/active_scaffold)
8
9
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
9
10
 
10
- ActiveScaffold provides a quick and powerful user interfaces for CRUD (create, read, update, delete) operations for Rails applications. It offers additonal features including searching, pagination & layout control. Rails >= 6.1.0 is supported, ruby >= 3.0 required.
11
+ ActiveScaffold provides a quick and powerful user interfaces for CRUD (create, read, update, delete) operations for Rails applications. It offers additonal features including searching, pagination & layout control. Rails >= 7.2.0 is supported, ruby >= 3.2 required.
11
12
 
12
13
  ## Branch Details
13
14
 
14
15
  master supports rails >= 7.2.x and ruby >= 3.2.0
15
- 4-2-stable supports rails >= 7.2.x and ruby >= 3.2.0
16
+ 4-3-stable supports rails >= 7.2.x and <= 8.1.x, and ruby >= 3.2.0
16
17
 
17
18
  These versions are not supported anymore:
19
+ 4-2-stable supports rails >= 7.2.x and <= 8.1.x, and ruby >= 3.2.0
18
20
  4-1-stable supports rails >= 7.0.x and <= 7.2.x, and ruby >= 3.1.0
19
21
  4-0-stable supports rails >= 6.1.x and <= 7.2.x, and ruby >= 2.5.0
20
22
  3-7-stable supports rails >= 5.2.x and <= 7.1.x, and ruby >= 2.5.0
@@ -207,13 +209,13 @@ Released under the MIT license (included)
207
209
 
208
210
  ---
209
211
 
210
- A ruby translation project managed on [Locale](http://www.localeapp.com/) that's open to all!
212
+ A ruby translation project managed on [Weblate](http://weblate.org/) that's open to all!
211
213
 
212
214
  ## Contributing to ActiveScaffold
213
215
 
214
- - Edit the translations directly on the [active_scaffold](http://www.localeapp.com/projects/public?search=active_scaffold) project on Locale.
216
+ - Edit the translations directly on the [active_scaffold](https://hosted.weblate.org/engage/activescaffold/) project on Weblate.
215
217
  - **That's it!**
216
- - The maintainer will then pull translations from the Locale project and push to Github.
218
+ - Weblate will send a PR to Github.
217
219
 
218
220
  Happy translating!
219
221
 
@@ -2,9 +2,9 @@
2
2
  <% if nested_singular_association? %>
3
3
  if (action_link) action_link.close(true);
4
4
  <% elsif params[:parent_sti] && render_parent_action == :row %>
5
- ActiveScaffold.create_record_row_from_url(action_link, '<%= url_for(render_parent_options) %>', <%= {insert_at: insert_at}.to_json.html_safe %>);
5
+ ActiveScaffold.create_record_row_from_url(action_link, '<%=raw url_for(render_parent_options) %>', <%= {insert_at: insert_at}.to_json.html_safe %>);
6
6
  <% else %>
7
- ActiveScaffold.reload('<%= url_for render_parent_options %>');
7
+ ActiveScaffold.reload('<%=raw url_for render_parent_options %>');
8
8
  <% end %>
9
9
  <% elsif active_scaffold_config.create.refresh_list %>
10
10
  <%= render 'refresh_list', no_history: true %>
@@ -3,7 +3,7 @@
3
3
  ActiveScaffold.append('<%= active_scaffold_tbody_id %>', '<%= escape_javascript(render(partial: list_record_view, collection: @page.items, locals: {hidden: false, columns: list_columns, action_links: active_scaffold_config.action_links.member})) %>');
4
4
 
5
5
  <% if @page.pager.infinite? || @page.number < @page.pager.number_of_pages -%>
6
- ActiveScaffold.auto_load_page('<%= url_for main_path_to_return %>', {auto_pagination: true, page: <%= @page.number + 1 %>});
6
+ ActiveScaffold.auto_load_page('<%=raw url_for main_path_to_return %>', {auto_pagination: true, page: <%= @page.number + 1 %>});
7
7
  <% else %>
8
8
  ActiveScaffold.hide('<%= loading_indicator_id(action: :pagination) %>');
9
9
  <% end # @page.pager.infinite?... %>
@@ -3,14 +3,14 @@
3
3
  <% if render_parent? %>
4
4
  <% if render_parent_action == :row %>
5
5
  <% current_id = controller_id(params[:eid] || params[:parent_sti]) -%>
6
- ActiveScaffold.delete_record_row('<%= element_row_id(controller_id: current_id, action: 'list', id: params[:id]) %>', '<%= url_for params_for(render_parent_options.merge(id: nil, page: [active_scaffold_config.list.user.page.to_i - 1, 1].max)) %>');
6
+ ActiveScaffold.delete_record_row('<%= element_row_id(controller_id: current_id, action: 'list', id: params[:id]) %>', '<%=raw url_for params_for(render_parent_options.merge(id: nil, page: [active_scaffold_config.list.user.page.to_i - 1, 1].max)) %>');
7
7
  <% messages_id = active_scaffold_messages_id(controller_id: current_id) %>
8
8
  <%= render 'update_calculations', calculations_id: active_scaffold_calculations_id(controller_id: current_id) %>
9
9
  <% elsif render_parent_action == :index %>
10
10
  <% if controller.respond_to?(:render_component_into_view, true) %>
11
11
  <%= escape_javascript(controller.send(:render_component_into_view, render_parent_options)) %>
12
12
  <% else %>
13
- ActiveScaffold.reload('<%= url_for render_parent_options %>');
13
+ ActiveScaffold.reload('<%=raw url_for render_parent_options %>');
14
14
  <% end %>
15
15
  <% end %>
16
16
  <% elsif active_scaffold_config.delete.refresh_list %>
@@ -16,7 +16,7 @@ if (action_link) action_link.update_flash_messages('<%= escape_javascript(render
16
16
  <% if nested_singular_association? || render_parent_action == :row %>
17
17
  if (action_link) action_link.close(true);
18
18
  <% else %>
19
- ActiveScaffold.reload('<%= url_for render_parent_options %>');
19
+ ActiveScaffold.reload('<%=raw url_for render_parent_options %>');
20
20
  <% end %>
21
21
  <% elsif update_refresh_list? %>
22
22
  <%= render 'refresh_list', no_history: true %>
@@ -12,8 +12,8 @@ de:
12
12
  add_existing: Existierenden Eintrag hinzufügen
13
13
  add_existing_model: Existierende %{model} hinzufügen
14
14
  add_model: "%{model} hinzufügen"
15
- all_tokens:
16
- any_token:
15
+ all_tokens: All keywords
16
+ any_token: Any keyword
17
17
  apply: Akzeptieren
18
18
  are_you_sure_to_delete: Sind Sie sicher?
19
19
  average: Durchschnitt
@@ -22,7 +22,7 @@ de:
22
22
  cancel: Abbrechen
23
23
  cant_destroy_record: "%{record} kann nicht gelöscht werden"
24
24
  changes: Änderungen
25
- check_all:
25
+ check_all: Check all
26
26
  click_to_edit: Zum Editieren anklicken
27
27
  click_to_reset: Reset
28
28
  close: Schließen
@@ -37,9 +37,9 @@ de:
37
37
  created_model: "%{model} angelegt"
38
38
  customize: Anpassen
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: Wo
44
44
  datetime_picker_options:
45
45
  closeText: Schließen
@@ -51,9 +51,9 @@ de:
51
51
  deleted_model: "%{model} gelöscht"
52
52
  deleted_records: Gelöschte Records auflisten
53
53
  delimiter: Trennzeichen
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: Herunterladen
58
58
  edit: Bearbeiten
59
59
  ends_with: Endet
@@ -80,7 +80,7 @@ de:
80
80
  internal_error: Fehler bei der Verarbeitung
81
81
  live_search: Live-Suche
82
82
  loading: Lade…
83
- logical_search:
83
+ logical_search: Logical Search
84
84
  mark_all_records: Alle auswählen
85
85
  maximum: Maximum
86
86
  minimum: Minimum
@@ -136,12 +136,13 @@ de:
136
136
  today: Heute
137
137
  tomorrow: Morgen
138
138
  'true': Richtig
139
- uncheck_all:
139
+ uncheck_all: Uncheck all
140
140
  update: Speichern
141
141
  update_apply: Bewerben
142
142
  update_model: Editiere %{model}
143
143
  updated_model: "%{model} aktualisiert"
144
- version_inconsistency: Inkonsistente Versionen - dieser Eintrag wurde verändert nachdem Sie mit der Bearbeitung begonnen haben.
144
+ version_inconsistency: Inkonsistente Versionen - dieser Eintrag wurde
145
+ verändert nachdem Sie mit der Bearbeitung begonnen haben.
145
146
  weeks: Wochen
146
147
  years: Jahre
147
148
  yesterday: Gestern
@@ -149,7 +150,7 @@ de:
149
150
  formats:
150
151
  month: "%B"
151
152
  quarter: Quartal %{num}
152
- week:
153
+ week: Week %W, %Y
153
154
  year_month: "%b %Y"
154
155
  year_quarter: Quartal %{quarter} %{year}
155
156
  time:
@@ -157,6 +158,9 @@ de:
157
158
  picker: "%d.%m.%Y %H:%M"
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
162
166
 
@@ -37,9 +37,9 @@ en:
37
37
  created_model: Created %{model}
38
38
  customize: 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: Wk
44
44
  datetime_picker_options:
45
45
  closeText: Close
@@ -141,7 +141,8 @@ en:
141
141
  update_apply: Apply
142
142
  update_model: Update %{model}
143
143
  updated_model: Updated %{model}
144
- version_inconsistency: Version inconsistency - this record has been modified since you started editing it.
144
+ version_inconsistency: Version inconsistency - this record has been modified
145
+ since you started editing it.
145
146
  weeks: Weeks
146
147
  years: Years
147
148
  yesterday: Yesterday
@@ -12,8 +12,8 @@ es:
12
12
  add_existing: Añadir Existente
13
13
  add_existing_model: Añadir %{model} Existente
14
14
  add_model: Añadir %{model}
15
- all_tokens:
16
- any_token:
15
+ all_tokens: Todas las palabras
16
+ any_token: Cualquier palabra
17
17
  apply: Aplicar
18
18
  are_you_sure_to_delete: "¿Estás seguro de que quieres borrar %{label}?"
19
19
  average: Media
@@ -37,9 +37,9 @@ es:
37
37
  created_model: "%{model} creado"
38
38
  customize: Personalizar
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: Cerrar
@@ -63,12 +63,14 @@ es:
63
63
  body: 'Hubo problemas con los siguientes campos:'
64
64
  header:
65
65
  one: No se pudo guardar %{model} debido a un error.
66
+ many: No se pudo guardar %{model} debido a %{count} errores.
66
67
  other: No se pudo guardar %{model} debido a %{count} errores.
67
68
  export: Exportar
68
69
  'false': 'No'
69
70
  filtered: "(Filtrado)"
70
71
  found:
71
72
  one: encontrado
73
+ many: encontrados
72
74
  other: encontrados
73
75
  future: Futuro
74
76
  group_by: Agrupar por
@@ -94,7 +96,8 @@ es:
94
96
  next_month: Próximo mes
95
97
  next_week: Próxima semana
96
98
  next_year: Próximo año
97
- no_authorization_for_action: No dispone de autorización para la acción %{action}
99
+ no_authorization_for_action: No dispone de autorización para la acción
100
+ %{action}
98
101
  no_color: Sin color
99
102
  no_entries: Sin entradas
100
103
  no_group: No agrupar
@@ -115,7 +118,8 @@ es:
115
118
  record_not_saved: Fallo guardando el registro debido a un error desconocido
116
119
  records_marked:
117
120
  one: 1 %{model} seleccionado
118
- other: "%{count} %{model} seleccionados"
121
+ many: '%{count} %{model} seleccionados'
122
+ other: '%{count} %{model} seleccionados'
119
123
  refresh: Recargar
120
124
  remove: Eliminar
121
125
  remove_file: Eliminar o Reemplazar archivo
@@ -143,7 +147,8 @@ es:
143
147
  update_apply: Aplicar
144
148
  update_model: Actualizar %{model}
145
149
  updated_model: "%{model} actualizado"
146
- version_inconsistency: Inconsistencia de versiones - este registro se ha modificado después de que empezó a editarlo.
150
+ version_inconsistency: Inconsistencia de versiones - este registro se ha
151
+ modificado después de que empezó a editarlo.
147
152
  weeks: Semanas
148
153
  years: Años
149
154
  yesterday: Ayer
@@ -161,3 +166,6 @@ es:
161
166
  prompts:
162
167
  millisec: Milisegundo
163
168
  microsec: Microsegundo
169
+ hour: Hora
170
+ minute: Minuto
171
+ second: Segundo
@@ -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: Час
@@ -0,0 +1,165 @@
1
+ ta:
2
+ active_scaffold:
3
+ "!=": "!="
4
+ "<": "<"
5
+ "<=": "<="
6
+ "=": "="
7
+ ">": ">"
8
+ ">=": ">="
9
+ _select_: "- தேர்ந்தெடு -"
10
+ _to_: " செய்ய "
11
+ add: 'கூட்டு'
12
+ add_existing: 'ஏற்கனவே உள்ளதைச் சேர்க்கவும்'
13
+ add_existing_model: 'ஏற்கனவே உள்ள %{model} ஐச் சேர்'
14
+ add_model: '%{model} சேர்'
15
+ all_tokens: 'அனைத்து முக்கிய வார்த்தைகள்'
16
+ any_token: 'எந்த முக்கிய சொல்'
17
+ apply: 'இடு'
18
+ are_you_sure_to_delete: '%{label} ஐ நிச்சயமாக நீக்க விரும்புகிறீர்களா?'
19
+ average: 'சராசரி'
20
+ begins_with: 'உடன் தொடங்குகிறது'
21
+ between: 'இடையில்'
22
+ cancel: 'ரத்துசெய்'
23
+ cant_destroy_record: "%{record} அழிக்க முடியாது"
24
+ changes: 'மாற்றங்கள்'
25
+ check_all: 'அனைத்தையும் சரிபார்க்கவும்'
26
+ click_to_edit: 'திருத்த சொடுக்கு செய்யவும்'
27
+ click_to_reset: 'மீட்டமைக்க சொடுக்கு செய்யவும்'
28
+ close: 'மூடு'
29
+ config_list: 'கட்டமைக்கவும்'
30
+ config_list_model: '%{model} க்கான நெடுவரிசைகளை உள்ளமை'
31
+ contains: 'கொண்டுள்ளது'
32
+ create: 'உருவாக்கு'
33
+ create_another: 'மற்றொரு %{model} ஐ உருவாக்கு'
34
+ create_apply: 'உருவாக்கி தொடரவும்'
35
+ create_model: '%{model} ஐ உருவாக்கு'
36
+ create_new: 'புதிதாக உருவாக்கவும்'
37
+ created_model: '%{model} உருவாக்கப்பட்டது'
38
+ customize: 'தனிப்பயனாக்கு'
39
+ date_picker_options:
40
+ firstDay: '0'
41
+ isRTL: 'பொய்'
42
+ showMonthAfterYear: 'பொய்'
43
+ weekHeader: 'Wk'
44
+ datetime_picker_options:
45
+ closeText: 'மூடு'
46
+ currentText: 'இப்போது'
47
+ timeText: 'மணி'
48
+ timezoneText: 'நேர மண்டலம்'
49
+ days: 'நாட்கள்'
50
+ delete: 'நீக்கு'
51
+ deleted_model: '%{model} நீக்கப்பட்டது'
52
+ deleted_records: 'நீக்கப்பட்ட பதிவுகளை பட்டியலிடுங்கள்'
53
+ delimiter: 'பிரிப்பான்'
54
+ doesnt_begin_with: 'தொடங்கவில்லை'
55
+ doesnt_contain: 'கொண்டிருக்கவில்லை'
56
+ doesnt_end_with: 'இத்துடன் முடிவதில்லை'
57
+ download: 'பதிவிறக்கம்'
58
+ edit: 'தொகு'
59
+ ends_with: 'உடன் முடிகிறது'
60
+ error_500: "(குறியீடு 500, உள் பிழை)"
61
+ errors:
62
+ template:
63
+ body: 'பின்வரும் துறைகளில் சிக்கல்கள் உள்ளன:'
64
+ header:
65
+ one: 1 பிழை இந்த %{model} சேமிக்கப்படுவதைத் தடுக்கிறது.
66
+ other: '%{count} பிழைகள் இந்த %{model} சேமிக்கப்படுவதைத் தடுக்கின்றன'
67
+ export: 'ஏற்றுமதி'
68
+ 'false': 'பொய்'
69
+ filtered: "(வடிகட்டப்பட்டது)"
70
+ found: 'கண்டுபிடிக்கப்பட்டது'
71
+ future: 'எதிர்காலம்'
72
+ group_by: 'குழு மூலம்'
73
+ grouped_by: '%{column} மூலம் குழுவாக்கப்பட்டது'
74
+ hide: "(மறை)"
75
+ hours: 'மணிநேரம்'
76
+ human_conditions:
77
+ association: "%{column} = %{value}"
78
+ boolean: "%{column} = %{value}"
79
+ inplace_edit_handle: "--"
80
+ internal_error: 'கோரிக்கை தோல்வியடைந்தது'
81
+ live_search: 'நேரடி தேடல்'
82
+ loading: 'ஏற்றுகிறது…'
83
+ logical_search: 'தருக்க தேடல்'
84
+ mark_all_records: 'அனைத்தையும் குறிக்கவும்'
85
+ maximum: 'பெருமம்'
86
+ minimum: 'சிறுமம்'
87
+ minutes: 'நிமிடங்கள்'
88
+ months: 'மாதங்கள்'
89
+ nested_for_model: "%{parent_model} க்கான %{nested_model}"
90
+ nested_of_model: "%{parent_model} இல் %{nested_model}"
91
+ next: 'அடுத்தது'
92
+ next_month: 'அடுத்த மாதம்'
93
+ next_week: 'அடுத்த வாரம்'
94
+ next_year: 'அடுத்த வருடம்'
95
+ no_authorization_for_action: 'செயலுக்கு ஏற்பு இல்லை %{action}'
96
+ no_color: 'நிறம் இல்லை'
97
+ no_entries: 'உள்ளீடுகள் இல்லை'
98
+ no_group: 'குழு இல்லை'
99
+ no_options: 'விருப்பங்கள் இல்லை'
100
+ not_null: 'பூச்யமாக இல்லை'
101
+ 'null': 'சுழிய'
102
+ omit_header: 'தலைப்பைத் தவிர்க்கவும்'
103
+ optional_attributes: 'மேலும் விருப்பங்கள்'
104
+ options: 'விருப்பங்கள்'
105
+ past: 'கடந்த'
106
+ pdf: 'PDF'
107
+ prev_month: 'கடந்த மாதம்'
108
+ prev_week: 'போன வாரம்'
109
+ prev_year: 'கடந்த ஆண்டு'
110
+ previous: 'முந்தைய'
111
+ print: 'அச்சிடுக'
112
+ range: 'வீச்சு'
113
+ record_not_saved: 'அறியப்படாத பிழைக்கான பதிவைச் சேமிப்பதில் தோல்வி'
114
+ records_marked:
115
+ one: 1 குறிக்கப்பட்டது %{model}
116
+ other: '%{count} %{model} எனக் குறிக்கப்பட்டது'
117
+ refresh: 'புதுப்பி'
118
+ remove: 'அகற்று'
119
+ remove_file: 'கோப்பை அகற்றவும் அல்லது மாற்றவும்'
120
+ remove_files: 'கோப்புகளை அகற்றவும் அல்லது சேர்க்கவும்'
121
+ replace_existing: 'ஏற்கனவே உள்ளதை மாற்றவும்'
122
+ replace_with_new: 'புதியதாக மாற்றவும்'
123
+ reset: 'மீட்டமை'
124
+ revisions_for_model: '%{model} க்கான திருத்தங்கள்'
125
+ saving: 'சேமிக்கிறது…'
126
+ search: 'தேடல்'
127
+ search_terms: 'தேடல் விதிமுறைகள்'
128
+ seconds: 'நொடிகள்'
129
+ show: 'காட்டு'
130
+ show_block: "(காட்டு)"
131
+ show_model: '%{model} ஐக் காட்டு'
132
+ sum: 'தொகை'
133
+ this_month: 'இந்த மாதம்'
134
+ this_week: 'இந்த வாரம்'
135
+ this_year: 'இந்த ஆண்டு'
136
+ today: 'இன்று'
137
+ tomorrow: 'நாளை'
138
+ 'true': 'உண்மை'
139
+ uncheck_all: 'அனைத்தையும் தேர்வுநீக்கு'
140
+ update: 'புதுப்பிப்பு'
141
+ update_apply: 'இடு'
142
+ update_model: '%{model}ஐப் புதுப்பிக்கவும்'
143
+ updated_model: '%{model} புதுப்பிக்கப்பட்டது'
144
+ version_inconsistency: 'பதிப்பு சீரற்ற தன்மை - இந்தப் பதிவை நீங்கள் திருத்தத்
145
+ தொடங்கியதிலிருந்து மாற்றியமைக்கப்பட்டுள்ளது.'
146
+ weeks: 'வாரங்கள்'
147
+ years: 'ஆண்டுகள்'
148
+ yesterday: 'நேற்று'
149
+ date:
150
+ formats:
151
+ month: "%B"
152
+ quarter: 'காலாண்டு %{num}'
153
+ week: 'வாரம் %W, %Y'
154
+ year_month: "%b %Y"
155
+ year_quarter: 'காலாண்டு %{quarter} %{year}'
156
+ time:
157
+ formats:
158
+ picker: "%a, %d %b %Y %H:%M:%S"
159
+ datetime:
160
+ prompts:
161
+ hour: 'மணி'
162
+ minute: 'மணித்துளி'
163
+ second: 'இரண்டாவது'
164
+ millisec: 'மில்லி நொடி'
165
+ microsec: 'மைக்ரோசெகண்ட்'
@@ -0,0 +1,163 @@
1
+ zh_Hans:
2
+ active_scaffold:
3
+ "!=": '!='
4
+ "<": <
5
+ "<=": <=
6
+ "=": '='
7
+ ">": '>'
8
+ ">=": '>='
9
+ _select_: '- 选择 -'
10
+ _to_: ' to '
11
+ add: 添加
12
+ add_existing: 添加现有项目
13
+ add_existing_model: 添加现有%{model}
14
+ add_model: 添加 %{model}
15
+ all_tokens: 所有关键词
16
+ any_token: 任何关键词
17
+ apply: 应用
18
+ are_you_sure_to_delete: 你确定想要删除 %{label}吗?
19
+ average: 平均值
20
+ begins_with: 以……开始
21
+ between: 介于……之间
22
+ cancel: 取消
23
+ cant_destroy_record: '%{record}不能被删除'
24
+ changes: 变更记录
25
+ check_all: 全选
26
+ click_to_edit: 点击以编辑
27
+ click_to_reset: 点击以重置
28
+ close: 关闭
29
+ config_list: 配置
30
+ config_list_model: 为%{model}配置列
31
+ contains: 包含
32
+ create: 创建
33
+ create_another: 新建 %{model}
34
+ create_apply: 创建并继续
35
+ create_model: 创建 %{model}
36
+ create_new: 新建
37
+ created_model: 已创建 %{model}
38
+ customize: 自定义
39
+ date_picker_options:
40
+ firstDay: '0'
41
+ isRTL: 'false'
42
+ showMonthAfterYear: 'false'
43
+ weekHeader: 周
44
+ datetime_picker_options:
45
+ closeText: 关闭
46
+ currentText: 现在
47
+ timeText: 小时
48
+ timezoneText: 时区
49
+ days: 天
50
+ delete: 删除
51
+ deleted_model: 已删除 %{model}
52
+ deleted_records: 已删除记录列表
53
+ delimiter: 分隔符
54
+ doesnt_begin_with: 不能以……开头
55
+ doesnt_contain: 不能包含
56
+ doesnt_end_with: 不能以……结尾
57
+ download: 下载
58
+ edit: 编辑
59
+ ends_with: 以……结尾
60
+ error_500: (代码 500, 互联网错误)
61
+ errors:
62
+ template:
63
+ body: 以下字段存在问题:
64
+ header:
65
+ other: '%{count} 个错误阻止了这个 %{model} 被保存'
66
+ export: Export
67
+ 'false': 'False'
68
+ filtered: (Filtered)
69
+ found: 发现了
70
+ future: Future
71
+ group_by: Group by
72
+ grouped_by: Grouped by %{column}
73
+ hide: (Hide)
74
+ hours: Hours
75
+ human_conditions:
76
+ association: '%{column} = %{value}'
77
+ boolean: '%{column} = %{value}'
78
+ inplace_edit_handle: --
79
+ internal_error: Request Failed
80
+ live_search: Live Search
81
+ loading: Loading…
82
+ logical_search: Logical Search
83
+ mark_all_records: Mark all
84
+ maximum: Maximum
85
+ minimum: Minimum
86
+ minutes: Minutes
87
+ months: 月
88
+ nested_for_model: '%{nested_model} for %{parent_model}'
89
+ nested_of_model: '%{nested_model} of %{parent_model}'
90
+ next: Next
91
+ next_month: Next Month
92
+ next_week: Next Week
93
+ next_year: Next Year
94
+ no_authorization_for_action: No Authorization for action %{action}
95
+ no_color: No color
96
+ no_entries: No Entries
97
+ no_group: No group
98
+ no_options: no options
99
+ 'null': 'Null'
100
+ omit_header: Omit Header
101
+ optional_attributes: Further Options
102
+ options: Options
103
+ past: Past
104
+ pdf: PDF
105
+ prev_month: Last Month
106
+ prev_week: Last Week
107
+ prev_year: Last Year
108
+ previous: Previous
109
+ print: Print
110
+ range: Range
111
+ record_not_saved: Failed to save record cause of an unknown error
112
+ records_marked:
113
+ other: 1 marked %{model}
114
+ refresh: Refresh
115
+ remove: Remove
116
+ remove_file: Remove or Replace file
117
+ remove_files: Remove or Add files
118
+ replace_existing: Replace Existing
119
+ replace_with_new: Replace With New
120
+ reset: Reset
121
+ revisions_for_model: Revisions for %{model}
122
+ saving: Saving…
123
+ search: Search
124
+ search_terms: Search Terms
125
+ seconds: Seconds
126
+ show: Show
127
+ show_block: (Show)
128
+ show_model: Show %{model}
129
+ sum: Sum
130
+ this_month: This Month
131
+ this_week: This Week
132
+ this_year: This Year
133
+ today: Today
134
+ tomorrow: Tomorrow
135
+ 'true': 'True'
136
+ uncheck_all: Uncheck all
137
+ update: Update
138
+ update_apply: Apply
139
+ update_model: Update %{model}
140
+ updated_model: Updated %{model}
141
+ version_inconsistency: Version inconsistency - this record has been modified
142
+ since you started editing it.
143
+ weeks: Weeks
144
+ years: Years
145
+ yesterday: Yesterday
146
+ not_null: Not Null
147
+ date:
148
+ formats:
149
+ month: '%B'
150
+ quarter: Quarter %{num}
151
+ week: Week %W, %Y
152
+ year_month: '%b %Y'
153
+ year_quarter: Quarter %{quarter} %{year}
154
+ datetime:
155
+ prompts:
156
+ hour: Hour
157
+ microsec: Microsecond
158
+ millisec: Millisecond
159
+ minute: Minute
160
+ second: Second
161
+ time:
162
+ formats:
163
+ picker: '%a, %d %b %Y %H:%M:%S'
@@ -48,7 +48,7 @@ module ActiveScaffold::Bridges
48
48
  }
49
49
 
50
50
  as_date_picker_options = I18n.translate! :date_picker_options, scope: :active_scaffold, locale: locale, default: ''
51
- date_picker_options.merge!(as_date_picker_options) if as_date_picker_options.is_a? Hash
51
+ date_picker_options.merge!(normalize_translated_values(as_date_picker_options)) if as_date_picker_options.is_a? Hash
52
52
  Rails.logger.warn "ActiveScaffold: Missing date picker localization for your locale: #{locale}" if as_date_picker_options.blank?
53
53
 
54
54
  js_format = to_datepicker_format(I18n.translate!('date.formats.default', locale: locale, default: ''))
@@ -58,6 +58,17 @@ module ActiveScaffold::Bridges
58
58
  raise if locale == I18n.locale
59
59
  end
60
60
 
61
+ def self.normalize_translated_values(options)
62
+ options.transform_values do |v|
63
+ case v
64
+ when 'true' then true
65
+ when 'false' then false
66
+ when /^\d+$/ then v.to_i
67
+ else v
68
+ end
69
+ end
70
+ end
71
+
61
72
  def self.datetime_options_for_locales
62
73
  I18n.available_locales.filter_map do |locale|
63
74
  locale_datetime_options = datetime_options(locale)
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- class ActiveScaffold::Tableless < ActiveRecord::Base # rubocop:disable Rails/ApplicationRecord
3
+ class ActiveScaffold::Tableless < ActiveRecord::Base
4
4
  class Connection < ActiveRecord::ConnectionAdapters::AbstractAdapter
5
5
  attr_reader :klass
6
6
 
@@ -4,7 +4,7 @@ module ActiveScaffold
4
4
  module Version
5
5
  MAJOR = 4
6
6
  MINOR = 3
7
- PATCH = 0
7
+ PATCH = 1
8
8
  FIX = nil
9
9
 
10
10
  STRING = [MAJOR, MINOR, PATCH, FIX].compact.join('.')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_scaffold
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.0
4
+ version: 4.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Many, see README
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-30 00:00:00.000000000 Z
11
+ date: 2026-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ice_nine
@@ -191,6 +191,8 @@ files:
191
191
  - config/locales/hu.yml
192
192
  - config/locales/ja.yml
193
193
  - config/locales/ru.yml
194
+ - config/locales/ta.yml
195
+ - config/locales/zh_Hans.yml
194
196
  - lib/active_scaffold.rb
195
197
  - lib/active_scaffold/actions/common_search.rb
196
198
  - lib/active_scaffold/actions/core.rb