active_scaffold 4.3.0 → 4.3.2
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 +4 -4
- data/CHANGELOG.rdoc +9 -0
- data/README.md +7 -5
- data/app/assets/javascripts/active_scaffold/active_scaffold.js +9 -5
- data/app/views/active_scaffold_overrides/_new_record.js.erb +2 -2
- data/app/views/active_scaffold_overrides/_refresh_list.js.erb +1 -1
- data/app/views/active_scaffold_overrides/add_tab.js.erb +2 -3
- data/app/views/active_scaffold_overrides/destroy.js.erb +2 -2
- data/app/views/active_scaffold_overrides/on_update.js.erb +1 -1
- data/config/locales/de.yml +19 -15
- data/config/locales/en.yml +5 -4
- data/config/locales/es.yml +16 -8
- data/config/locales/fr.yml +27 -20
- data/config/locales/hu.yml +35 -31
- data/config/locales/ja.yml +39 -38
- data/config/locales/ru.yml +37 -36
- data/config/locales/ta.yml +165 -0
- data/config/locales/zh_Hans.yml +163 -0
- data/lib/active_scaffold/bridges/date_picker/helper.rb +12 -1
- data/lib/active_scaffold/helpers/tabs_helpers.rb +1 -1
- data/lib/active_scaffold/tableless.rb +1 -1
- data/lib/active_scaffold/version.rb +1 -1
- metadata +4 -2
data/config/locales/ja.yml
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
data/config/locales/ru.yml
CHANGED
|
@@ -12,8 +12,8 @@ ru:
|
|
|
12
12
|
add_existing: Добавить существующую запись
|
|
13
13
|
add_existing_model: "%{model}: добавить существующую запись"
|
|
14
14
|
add_model: "%{model}: добавить запись"
|
|
15
|
-
all_tokens:
|
|
16
|
-
any_token:
|
|
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
|
-
|
|
66
|
-
|
|
67
|
-
|
|
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)
|