active_storage_validations 1.0.4 → 3.0.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/README.md +785 -245
- data/config/locales/da.yml +63 -0
- data/config/locales/de.yml +60 -19
- data/config/locales/en-GB.yml +63 -0
- data/config/locales/en.yml +60 -20
- data/config/locales/es.yml +60 -19
- data/config/locales/fr.yml +60 -19
- data/config/locales/it.yml +60 -19
- data/config/locales/ja.yml +60 -19
- data/config/locales/nl.yml +60 -19
- data/config/locales/pl.yml +60 -19
- data/config/locales/pt-BR.yml +60 -19
- data/config/locales/ru.yml +60 -19
- data/config/locales/sv.yml +63 -0
- data/config/locales/tr.yml +60 -19
- data/config/locales/uk.yml +60 -19
- data/config/locales/vi.yml +60 -19
- data/config/locales/zh-CN.yml +60 -19
- data/lib/active_storage_validations/analyzer/audio_analyzer.rb +58 -0
- data/lib/active_storage_validations/analyzer/content_type_analyzer.rb +60 -0
- data/lib/active_storage_validations/analyzer/image_analyzer/image_magick.rb +46 -0
- data/lib/active_storage_validations/analyzer/image_analyzer/vips.rb +56 -0
- data/lib/active_storage_validations/analyzer/image_analyzer.rb +49 -0
- data/lib/active_storage_validations/analyzer/null_analyzer.rb +18 -0
- data/lib/active_storage_validations/analyzer/pdf_analyzer.rb +89 -0
- data/lib/active_storage_validations/analyzer/shared/asv_ff_probable.rb +61 -0
- data/lib/active_storage_validations/analyzer/video_analyzer.rb +130 -0
- data/lib/active_storage_validations/analyzer.rb +88 -0
- data/lib/active_storage_validations/aspect_ratio_validator.rb +157 -97
- data/lib/active_storage_validations/attached_validator.rb +22 -5
- data/lib/active_storage_validations/base_comparison_validator.rb +83 -0
- data/lib/active_storage_validations/content_type_validator.rb +219 -31
- data/lib/active_storage_validations/dimension_validator.rb +187 -97
- data/lib/active_storage_validations/duration_validator.rb +70 -0
- data/lib/active_storage_validations/extensors/asv_blob_metadatable.rb +56 -0
- data/lib/active_storage_validations/extensors/asv_marcelable.rb +12 -0
- data/lib/active_storage_validations/limit_validator.rb +76 -9
- data/lib/active_storage_validations/matchers/aspect_ratio_validator_matcher.rb +119 -0
- data/lib/active_storage_validations/matchers/attached_validator_matcher.rb +48 -25
- data/lib/active_storage_validations/matchers/base_comparison_validator_matcher.rb +150 -0
- data/lib/active_storage_validations/matchers/content_type_validator_matcher.rb +98 -39
- data/lib/active_storage_validations/matchers/dimension_validator_matcher.rb +93 -55
- data/lib/active_storage_validations/matchers/duration_validator_matcher.rb +39 -0
- data/lib/active_storage_validations/matchers/limit_validator_matcher.rb +127 -0
- data/lib/active_storage_validations/matchers/pages_validator_matcher.rb +39 -0
- data/lib/active_storage_validations/matchers/processable_file_validator_matcher.rb +78 -0
- data/lib/active_storage_validations/matchers/shared/asv_active_storageable.rb +19 -0
- data/lib/active_storage_validations/matchers/shared/asv_allow_blankable.rb +28 -0
- data/lib/active_storage_validations/matchers/shared/asv_attachable.rb +72 -0
- data/lib/active_storage_validations/matchers/shared/asv_contextable.rb +57 -0
- data/lib/active_storage_validations/matchers/shared/asv_messageable.rb +28 -0
- data/lib/active_storage_validations/matchers/shared/asv_rspecable.rb +27 -0
- data/lib/active_storage_validations/matchers/shared/asv_validatable.rb +56 -0
- data/lib/active_storage_validations/matchers/size_validator_matcher.rb +17 -71
- data/lib/active_storage_validations/matchers/total_size_validator_matcher.rb +47 -0
- data/lib/active_storage_validations/matchers.rb +17 -21
- data/lib/active_storage_validations/pages_validator.rb +61 -0
- data/lib/active_storage_validations/processable_file_validator.rb +37 -0
- data/lib/active_storage_validations/railtie.rb +14 -0
- data/lib/active_storage_validations/shared/asv_active_storageable.rb +30 -0
- data/lib/active_storage_validations/shared/asv_analyzable.rb +89 -0
- data/lib/active_storage_validations/shared/asv_attachable.rb +236 -0
- data/lib/active_storage_validations/shared/asv_errorable.rb +64 -0
- data/lib/active_storage_validations/shared/asv_loggable.rb +11 -0
- data/lib/active_storage_validations/shared/asv_optionable.rb +29 -0
- data/lib/active_storage_validations/shared/asv_symbolizable.rb +14 -0
- data/lib/active_storage_validations/size_validator.rb +24 -41
- data/lib/active_storage_validations/total_size_validator.rb +52 -0
- data/lib/active_storage_validations/version.rb +1 -1
- data/lib/active_storage_validations.rb +27 -13
- metadata +113 -31
- data/lib/active_storage_validations/metadata.rb +0 -151
- data/lib/active_storage_validations/option_proc_unfolding.rb +0 -16
- data/lib/active_storage_validations/processable_image_validator.rb +0 -43
data/config/locales/ja.yml
CHANGED
|
@@ -1,22 +1,63 @@
|
|
|
1
1
|
ja:
|
|
2
2
|
errors:
|
|
3
3
|
messages:
|
|
4
|
-
content_type_invalid:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
4
|
+
content_type_invalid:
|
|
5
|
+
one: "のファイルタイプは許可されていません (許可されたファイルタイプは%{authorized_human_content_types})"
|
|
6
|
+
other: "のファイルタイプは許可されていません (許可されたファイルタイプは%{authorized_human_content_types})"
|
|
7
|
+
content_type_spoofed:
|
|
8
|
+
one: "のファイルタイプがファイル内容から検出されたものと異なります (許可されたファイルタイプは%{authorized_human_content_types})"
|
|
9
|
+
other: "のファイルタイプがファイル内容から検出されたものと異なります (許可されたファイルタイプは%{authorized_human_content_types})"
|
|
10
|
+
file_size_not_less_than: "のファイルサイズは%{max}未満にしてください (添付ファイルのサイズは%{file_size})"
|
|
11
|
+
file_size_not_less_than_or_equal_to: "のファイルサイズは%{max}以下にしてください (添付ファイルのサイズは%{file_size})"
|
|
12
|
+
file_size_not_greater_than: "のファイルサイズは%{min}より大きくしてください (添付ファイルのサイズは%{file_size})"
|
|
13
|
+
file_size_not_greater_than_or_equal_to: "のファイルサイズは%{min}以上にしてください (添付ファイルのサイズは%{file_size})"
|
|
14
|
+
file_size_not_between: "のファイルサイズは%{min}以上%{max}以下にしてください (添付ファイルのサイズは%{file_size})"
|
|
15
|
+
file_size_not_equal_to: "のファイルサイズは%{exact}にしてください (添付ファイルのサイズは%{file_size})"
|
|
16
|
+
total_file_size_not_less_than: "のファイルサイズの合計は%{max}未満にしてください (添付ファイルのサイズは%{total_file_size})"
|
|
17
|
+
total_file_size_not_less_than_or_equal_to: "のファイルサイズの合計は%{max}以下にしてください (添付ファイルのサイズは%{total_file_size})"
|
|
18
|
+
total_file_size_not_greater_than: "のファイルサイズの合計は%{min}より大きくしてください (添付ファイルのサイズは%{total_file_size})"
|
|
19
|
+
total_file_size_not_greater_than_or_equal_to: "のファイルサイズの合計は%{min}以上してください (添付ファイルのサイズは%{total_file_size})"
|
|
20
|
+
total_file_size_not_between: "のファイルサイズの合計は%{min}以上%{max}以下にしてください (添付ファイルのサイズは%{total_file_size})"
|
|
21
|
+
total_file_size_not_equal_to: "のファイルサイズの合計は%{exact}にしてください (添付ファイルのサイズは%{total_file_size})"
|
|
22
|
+
duration_not_less_than: "の再生時間は%{max}未満にしてください (添付ファイルの再生時間は%{duration})"
|
|
23
|
+
duration_not_less_than_or_equal_to: "の再生時間は%{max}以下にしてください (添付ファイルの再生時間は%{duration})"
|
|
24
|
+
duration_not_greater_than: "の再生時間は%{min}より大きくしてください (添付ファイルの再生時間は%{duration})"
|
|
25
|
+
duration_not_greater_than_or_equal_to: "の再生時間は%{min}以上にしてください (添付ファイルの再生時間は%{duration})"
|
|
26
|
+
duration_not_between: "の再生時間は%{min}以上%{max}以下にしてください (添付ファイルの再生時間は%{duration})"
|
|
27
|
+
duration_not_equal_to: "の再生時間は%{exact}にしてください (添付ファイルの再生時間は%{duration})"
|
|
28
|
+
limit_out_of_range:
|
|
29
|
+
zero: "には%{min}件以上%{max}以下のファイルを添付してください (添付されたファイルは%{count}件)"
|
|
30
|
+
one: "には%{min}件以上%{max}以下のファイルを添付してください (添付されたファイルは%{count}件)"
|
|
31
|
+
other: "には%{min}件以上%{max}以下のファイルを添付してください (添付されたファイルは%{count}件)"
|
|
32
|
+
limit_min_not_reached:
|
|
33
|
+
zero: "には%{min}件以上のファイルを添付してください (添付されたファイルは%{count}件)"
|
|
34
|
+
one: "には%{min}件以上のファイルを添付してください (添付されたファイルは%{count}件)"
|
|
35
|
+
other: "には%{min}件以上のファイルを添付してください (添付されたファイルは%{count}件)"
|
|
36
|
+
limit_max_exceeded:
|
|
37
|
+
zero: "には%{max}件以下のファイルを添付してください (添付されたファイルは%{count}件)"
|
|
38
|
+
one: "には%{max}件以下のファイルを添付してください (添付されたファイルは%{count}件)"
|
|
39
|
+
other: "には%{max}件以下のファイルを添付してください (添付されたファイルは%{count}件)"
|
|
40
|
+
attachment_missing: "にファイルを添付してください"
|
|
41
|
+
media_metadata_missing: "のメディアのメタデータを検出できません"
|
|
42
|
+
dimension_min_not_included_in: "の解像度は%{width}x%{height}ピクセル以上にしてください"
|
|
43
|
+
dimension_max_not_included_in: "の解像度は%{width}x%{height}ピクセル以下にしてください"
|
|
44
|
+
dimension_width_not_included_in: "の横幅は%{min}ピクセル以上%{max}ピクセル以下にしてください"
|
|
45
|
+
dimension_height_not_included_in: "の縦幅は%{min}ピクセル以上%{max}ピクセル以下にしてください"
|
|
46
|
+
dimension_width_not_greater_than_or_equal_to: "の横幅は%{length}ピクセル以上にしてください"
|
|
47
|
+
dimension_height_not_greater_than_or_equal_to: "の縦幅は%{length}ピクセル以上にしてください"
|
|
48
|
+
dimension_width_not_less_than_or_equal_to: "の横幅は%{length}ピクセル以下にしてください"
|
|
49
|
+
dimension_height_not_less_than_or_equal_to: "の縦幅は%{length}ピクセル以下にしてください"
|
|
50
|
+
dimension_width_not_equal_to: "の横幅は%{length}ピクセルにしてください"
|
|
51
|
+
dimension_height_not_equal_to: "の縦幅は%{length}ピクセルにしてください"
|
|
52
|
+
aspect_ratio_not_square: "のアスペクト比は等しくしてください (添付されたメディアの解像度は%{width}x%{height})"
|
|
53
|
+
aspect_ratio_not_portrait: "のアスペクト比は縦長にしてください (添付されたメディアの解像度は%{width}x%{height})"
|
|
54
|
+
aspect_ratio_not_landscape: "のアスペクト比は横長にしてください (添付されたメディアの解像度は%{width}x%{height})"
|
|
55
|
+
aspect_ratio_not_x_y: "のアスペクト比は%{authorized_aspect_ratios}にしてください (添付されたメディアの解像度は%{width}x%{height})"
|
|
56
|
+
aspect_ratio_invalid: "のアスペクト比を検出できません (許可されたアスペクト比は%{authorized_aspect_ratios})"
|
|
57
|
+
file_not_processable: "のメディアを処理できません"
|
|
58
|
+
pages_not_less_than: "のページ数は%{max}未満にしてください (添付されたファイルは%{pages}ページ)"
|
|
59
|
+
pages_not_less_than_or_equal_to: "のページ数は%{max}以下にしてください (添付されたファイルは%{pages}ページ)"
|
|
60
|
+
pages_not_greater_than: "のページ数は%{min}より大きくしてください (添付されたファイルは%{pages}ページ)"
|
|
61
|
+
pages_not_greater_than_or_equal_to: "のページ数は%{min}以上にしてください (添付されたファイルは%{pages}ページ)"
|
|
62
|
+
pages_not_between: "のページ数は%{min}以上%{max}以下にしてください (添付されたファイルは%{pages}ページ)"
|
|
63
|
+
pages_not_equal_to: "のページ数は%{exact}にしてください (添付されたファイルは%{pages}ページ)"
|
data/config/locales/nl.yml
CHANGED
|
@@ -1,22 +1,63 @@
|
|
|
1
1
|
nl:
|
|
2
2
|
errors:
|
|
3
3
|
messages:
|
|
4
|
-
content_type_invalid:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
4
|
+
content_type_invalid:
|
|
5
|
+
one: "heeft een ongeldig inhoudstype (toegestaan inhoudstype is %{authorized_human_content_types})"
|
|
6
|
+
other: "heeft een ongeldig inhoudstype (toegestane inhoudstypen zijn %{authorized_human_content_types})"
|
|
7
|
+
content_type_spoofed:
|
|
8
|
+
one: "heeft een inhoudstype dat niet gelijk is aan het type dat wordt gedetecteerd door de inhoud (geautoriseerd inhoudstype is %{authorized_human_content_types})"
|
|
9
|
+
other: "heeft een inhoudstype dat niet gelijk is aan het type dat wordt gedetecteerd door de inhoud (geautoriseerde inhoudstypen zijn %{authorized_human_content_types})"
|
|
10
|
+
file_size_not_less_than: "bestandsgrootte moet kleiner zijn dan %{max} (huidige grootte is %{file_size})"
|
|
11
|
+
file_size_not_less_than_or_equal_to: "bestandsgrootte moet kleiner zijn dan of gelijk zijn aan %{max} (huidige grootte is %{file_size})"
|
|
12
|
+
file_size_not_greater_than: "bestandsgrootte moet groter zijn dan %{min} (huidige grootte is %{file_size})"
|
|
13
|
+
file_size_not_greater_than_or_equal_to: "bestandsgrootte moet groter zijn dan of gelijk zijn aan %{min} (huidige grootte is %{file_size})"
|
|
14
|
+
file_size_not_between: "bestandsgrootte moet tussen %{min} en %{max} liggen (huidige grootte is %{file_size})"
|
|
15
|
+
file_size_not_equal_to: "bestandsgrootte moet gelijk zijn aan %{exact} (huidige grootte is %{file_size})"
|
|
16
|
+
total_file_size_not_less_than: "totale bestandsgrootte moet kleiner zijn dan %{max} (huidige grootte is %{total_file_size})"
|
|
17
|
+
total_file_size_not_less_than_or_equal_to: "totale bestandsgrootte moet kleiner zijn dan of gelijk zijn aan %{max} (huidige grootte is %{total_file_size})"
|
|
18
|
+
total_file_size_not_greater_than: "totale bestandsgrootte moet groter zijn dan %{min} (huidige grootte is %{total_file_size})"
|
|
19
|
+
total_file_size_not_greater_than_or_equal_to: "totale bestandsgrootte moet groter zijn dan of gelijk zijn aan %{min} (huidige grootte is %{total_file_size})"
|
|
20
|
+
total_file_size_not_between: "totale bestandsgrootte moet tussen %{min} en %{max} liggen (huidige grootte is %{total_file_size})"
|
|
21
|
+
total_file_size_not_equal_to: "totale bestandsgrootte moet gelijk zijn aan %{exact} (huidige grootte is %{total_file_size})"
|
|
22
|
+
duration_not_less_than: "duur moet kleiner zijn dan %{max} (huidige duur is %{duration})"
|
|
23
|
+
duration_not_less_than_or_equal_to: "duur moet kleiner zijn dan of gelijk zijn aan %{max} (huidige duur is %{duration})"
|
|
24
|
+
duration_not_greater_than: "duur moet groter zijn dan %{min} (huidige duur is %{duration})"
|
|
25
|
+
duration_not_greater_than_or_equal_to: "duur moet groter zijn dan of gelijk zijn aan %{min} (huidige duur is %{duration})"
|
|
26
|
+
duration_not_between: "duur moet tussen %{min} en %{max} zijn (huidige duur is %{duration})"
|
|
27
|
+
duration_not_equal_to: "duur moet gelijk zijn aan %{exact} (huidige duur is %{duration})"
|
|
28
|
+
limit_out_of_range:
|
|
29
|
+
zero: "geen bestanden bijgevoegd (moet tussen %{min} en %{max} bestanden hebben)"
|
|
30
|
+
one: "slechts 1 bijgevoegd bestand (moet tussen %{min} en %{max} bestanden hebben)"
|
|
31
|
+
other: "het totale aantal bestanden moet tussen %{min} en %{max} bestanden liggen (er zijn %{count} bestanden bijgevoegd)"
|
|
32
|
+
limit_min_not_reached:
|
|
33
|
+
zero: "geen bestanden bijgevoegd (moet ten minste %{min} bestanden hebben)"
|
|
34
|
+
one: "slechts 1 bijgevoegd bestand (moet ten minste %{min} bestanden hebben)"
|
|
35
|
+
other: "%{count} bestanden bijgevoegd (moet ten minste %{min} bestanden hebben)"
|
|
36
|
+
limit_max_exceeded:
|
|
37
|
+
zero: "geen bestanden bijgevoegd (maximaal is %{max} bestanden)"
|
|
38
|
+
one: "te veel bijgevoegde bestanden (maximaal is %{max} bestanden, kreeg %{count})"
|
|
39
|
+
other: "te veel bijgevoegde bestanden (maximum is %{max} bestanden, kreeg %{count})"
|
|
40
|
+
attachment_missing: "heeft geen bijgevoegd bestand"
|
|
41
|
+
media_metadata_missing: "is geen geldig mediabestand"
|
|
42
|
+
dimension_min_not_included_in: "moet groter of gelijk zijn aan %{width} x %{height} pixels"
|
|
43
|
+
dimension_max_not_included_in: "moet kleiner of gelijk zijn aan %{width} x %{height} pixels"
|
|
44
|
+
dimension_width_not_included_in: "breedte niet tussen de %{min} en %{max} pixels"
|
|
45
|
+
dimension_height_not_included_in: "hoogte niet tussen de %{min} en %{max} pixels"
|
|
46
|
+
dimension_width_not_greater_than_or_equal_to: "breedte moet groter of gelijk zijn aan %{length} pixels"
|
|
47
|
+
dimension_height_not_greater_than_or_equal_to: "hoogte moet groter of gelijk zijn aan %{length} pixels"
|
|
48
|
+
dimension_width_not_less_than_or_equal_to: "breedte moet kleiner of gelijk zijn aan %{length} pixels"
|
|
49
|
+
dimension_height_not_less_than_or_equal_to: "hoogte moet kleiner of gelijk zijn aan %{length} pixels"
|
|
50
|
+
dimension_width_not_equal_to: "breedte moet gelijk zijn aan %{length} pixels"
|
|
51
|
+
dimension_height_not_equal_to: "hoogte moet gelijk zijn aan %{length} pixels"
|
|
52
|
+
aspect_ratio_not_square: "moet vierkant zijn (huidig bestand is %{width}x%{height} px)"
|
|
53
|
+
aspect_ratio_not_portrait: "moet portret zijn (huidig bestand is %{width}x%{height}px)"
|
|
54
|
+
aspect_ratio_not_landscape: "moet landschap zijn (huidig bestand is %{width}x%{height}px)"
|
|
55
|
+
aspect_ratio_not_x_y: "moet %{authorized_aspect_ratios} zijn (huidig bestand is %{width}x%{height}px)"
|
|
56
|
+
aspect_ratio_invalid: "heeft een ongeldige beeldverhouding (geldige beeldverhoudingen zijn %{authorized_aspect_ratios})"
|
|
57
|
+
file_not_processable: "wordt niet geïdentificeerd als een geldig mediabestand"
|
|
58
|
+
pages_not_less_than: "het aantal pagina's moet kleiner zijn dan %{max} (het huidige aantal pagina's is %{pages})"
|
|
59
|
+
pages_not_less_than_or_equal_to: "het aantal pagina's moet kleiner zijn dan of gelijk zijn aan %{max} (het huidige aantal pagina's is %{pages})"
|
|
60
|
+
pages_not_greater_than: "het aantal pagina's moet groter zijn dan %{min} (het huidige aantal pagina's is %{pages})"
|
|
61
|
+
pages_not_greater_than_or_equal_to: "het aantal pagina's moet groter zijn dan of gelijk zijn aan %{min} (het huidige aantal pagina's is %{pages})"
|
|
62
|
+
pages_not_between: "het aantal pagina's moet tussen %{min} en %{max} liggen (het huidige aantal pagina's is %{pages})"
|
|
63
|
+
pages_not_equal_to: "het aantal pagina's moet gelijk zijn aan %{exact} (het huidige aantal pagina's is %{pages})"
|
data/config/locales/pl.yml
CHANGED
|
@@ -1,22 +1,63 @@
|
|
|
1
1
|
pl:
|
|
2
2
|
errors:
|
|
3
3
|
messages:
|
|
4
|
-
content_type_invalid:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
4
|
+
content_type_invalid:
|
|
5
|
+
one: "ma nieprawidłowy typ zawartości (autoryzowany typ zawartości to %{authorized_human_content_types})"
|
|
6
|
+
other: "ma nieprawidłowy typ zawartości (autoryzowane typy treści to %{authorized_human_content_types})"
|
|
7
|
+
content_type_spoofed:
|
|
8
|
+
one: "ma typ zawartości, który nie jest równoważny z tym, który jest wykrywany przez jego zawartość (autoryzowany typ zawartości to %{authorized_human_content_types})"
|
|
9
|
+
other: "ma typ zawartości, który nie jest równoważny z tym, który jest wykrywany przez jego zawartość (autoryzowane typy treści to %{authorized_human_content_types})"
|
|
10
|
+
file_size_not_less_than: "rozmiar pliku musi być mniejszy niż %{max} (obecny rozmiar to %{file_size})"
|
|
11
|
+
file_size_not_less_than_or_equal_to: "rozmiar pliku musi być mniejszy lub równy %{max} (obecny rozmiar to %{file_size})"
|
|
12
|
+
file_size_not_greater_than: "rozmiar pliku musi być większy niż %{min} (obecny rozmiar to %{file_size})"
|
|
13
|
+
file_size_not_greater_than_or_equal_to: "rozmiar pliku musi być większy lub równy %{min} (obecny rozmiar to %{file_size})"
|
|
14
|
+
file_size_not_between: "rozmiar pliku musi mieścić się w przedziale od %{min} do %{max} (obecny rozmiar to %{file_size})"
|
|
15
|
+
file_size_not_equal_to: "rozmiar pliku musi być równy %{exact} (obecny rozmiar to %{file_size})"
|
|
16
|
+
total_file_size_not_less_than: "całkowity rozmiar pliku musi być mniejszy niż %{max} (obecny rozmiar to %{total_file_size})"
|
|
17
|
+
total_file_size_not_less_than_or_equal_to: "całkowity rozmiar pliku musi być mniejszy lub równy %{max} (obecny rozmiar to %{total_file_size})"
|
|
18
|
+
total_file_size_not_greater_than: "całkowity rozmiar pliku musi być większy niż %{min} (obecny rozmiar to %{total_file_size})"
|
|
19
|
+
total_file_size_not_greater_than_or_equal_to: "całkowity rozmiar pliku musi być większy lub równy %{min} (obecny rozmiar to %{total_file_size})"
|
|
20
|
+
total_file_size_not_between: "całkowity rozmiar pliku musi mieścić się w przedziale od %{min} do %{max} (obecny rozmiar to %{total_file_size})"
|
|
21
|
+
total_file_size_not_equal_to: "całkowity rozmiar pliku musi być równy %{exact} (obecny rozmiar to %{total_file_size})"
|
|
22
|
+
duration_not_less_than: "czas trwania musi być mniejszy niż %{max} (obecny czas trwania wynosi %{duration})"
|
|
23
|
+
duration_not_less_than_or_equal_to: "czas trwania musi być mniejszy lub równy %{max} (obecny czas trwania wynosi %{duration})"
|
|
24
|
+
duration_not_greater_than: "czas trwania musi być większy niż %{min} (obecny czas trwania wynosi %{duration})"
|
|
25
|
+
duration_not_greater_than_or_equal_to: "czas trwania musi być większy lub równy %{min} (obecny czas trwania wynosi %{duration})"
|
|
26
|
+
duration_not_between: "czas trwania musi wynosić między %{min} a %{max} (obecny czas trwania wynosi %{duration})"
|
|
27
|
+
duration_not_equal_to: "czas trwania musi być równy %{exact} (obecny czas trwania wynosi %{duration})"
|
|
28
|
+
limit_out_of_range:
|
|
29
|
+
zero: "brak dołączonych plików (musi mieć między %{min} a %{max} pliki)"
|
|
30
|
+
one: "załączony tylko 1 plik (musi mieć między %{min} a %{max} pliki)"
|
|
31
|
+
other: "całkowita liczba plików musi wynosić między %{min} a %{max} pliki (dołączone są %{count} pliki)"
|
|
32
|
+
limit_min_not_reached:
|
|
33
|
+
zero: "brak dołączonych plików (musi mieć co najmniej %{min} pliki)"
|
|
34
|
+
one: "dołączony tylko 1 plik (musi mieć co najmniej %{min} pliki)"
|
|
35
|
+
other: "%{count} pliki dołączone (musi mieć co najmniej %{min} pliki)"
|
|
36
|
+
limit_max_exceeded:
|
|
37
|
+
zero: "brak dołączonych plików (maksymalnie jest to %{max} pliki)"
|
|
38
|
+
one: "zbyt wiele dołączonych plików (maksymalnie jest to %{max} pliki, otrzymano %{count})"
|
|
39
|
+
other: "zbyt wiele dołączonych plików (maksymalnie jest to %{max} pliki, otrzymano %{count})"
|
|
40
|
+
attachment_missing: "nie ma załączonego pliku"
|
|
41
|
+
media_metadata_missing: "nie jest prawidłowym plikiem multimedialnym"
|
|
42
|
+
dimension_min_not_included_in: "musi być równe lub większe od %{width} x %{height} pixeli"
|
|
43
|
+
dimension_max_not_included_in: "musi być równe lub mniejsze od %{width} x %{height} pixeli"
|
|
44
|
+
dimension_width_not_included_in: "szerokość musi wynosić od %{min} do %{max} pixeli"
|
|
45
|
+
dimension_height_not_included_in: "wysokość musi wynosić od %{min} do %{max} pixeli"
|
|
46
|
+
dimension_width_not_greater_than_or_equal_to: "szerokość musi mieć co najmniej %{length} pixeli"
|
|
47
|
+
dimension_height_not_greater_than_or_equal_to: "wysokość musi mieć co najmniej %{length} pixeli"
|
|
48
|
+
dimension_width_not_less_than_or_equal_to: "szerokość musi mieć co najwyżej %{length} pixeli"
|
|
49
|
+
dimension_height_not_less_than_or_equal_to: "wysokość musi mieć co najwyżej %{length} pixeli"
|
|
50
|
+
dimension_width_not_equal_to: "szerokość musi wynosić %{length} pixeli"
|
|
51
|
+
dimension_height_not_equal_to: "wysokość musi wynosić %{length} pixeli"
|
|
52
|
+
aspect_ratio_not_square: "musi być kwadratowy (bieżący plik to %{width}x%{height}px)"
|
|
53
|
+
aspect_ratio_not_portrait: "musi być portret (bieżący plik to %{width}x%{height}px)"
|
|
54
|
+
aspect_ratio_not_landscape: "musi być krajobrazem (bieżący plik to %{width}x%{height}px)"
|
|
55
|
+
aspect_ratio_not_x_y: "musi być %{authorized_aspect_ratios} (bieżący plik to %{width}x%{height}px)"
|
|
56
|
+
aspect_ratio_invalid: "ma nieprawidłowy współczynnik kształtu (ważne współczynniki kształtu wynoszą %{authorized_aspect_ratios})"
|
|
57
|
+
file_not_processable: "nie jest identyfikowany jako prawidłowy plik multimedialny"
|
|
58
|
+
pages_not_less_than: "liczba stron musi być mniejsza niż %{max} (bieżąca liczba stron to %{pages})"
|
|
59
|
+
pages_not_less_than_or_equal_to: "liczba stron musi być mniejsza lub równa %{max} (bieżąca liczba stron to %{pages})"
|
|
60
|
+
pages_not_greater_than: "liczba stron musi być większa niż %{min} (bieżąca liczba stron to %{pages})"
|
|
61
|
+
pages_not_greater_than_or_equal_to: "liczba stron musi być większa lub równa %{min} (bieżąca liczba stron to %{pages})"
|
|
62
|
+
pages_not_between: "liczba stron musi być między %{min} a %{max} (bieżąca liczba stron to %{pages})"
|
|
63
|
+
pages_not_equal_to: "liczba stron musi być równa %{exact} (bieżąca liczba stron to %{pages})"
|
data/config/locales/pt-BR.yml
CHANGED
|
@@ -1,22 +1,63 @@
|
|
|
1
1
|
pt-BR:
|
|
2
2
|
errors:
|
|
3
3
|
messages:
|
|
4
|
-
content_type_invalid:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
4
|
+
content_type_invalid:
|
|
5
|
+
one: "tem um tipo de conteúdo inválido (o tipo de conteúdo autorizado é %{authorized_human_content_types})"
|
|
6
|
+
other: "tem um tipo de conteúdo inválido (os tipos de conteúdo autorizados são %{authorized_human_content_types})"
|
|
7
|
+
content_type_spoofed:
|
|
8
|
+
one: "tem um tipo de conteúdo que não é equivalente ao que é detectado através do seu conteúdo (tipo de conteúdo autorizado é %{authorized_human_content_types})"
|
|
9
|
+
other: "tem um tipo de conteúdo que não é equivalente ao que é detectado através do seu conteúdo (tipos de conteúdo autorizados são %{authorized_human_content_types})"
|
|
10
|
+
file_size_not_less_than: "o tamanho do arquivo deve ser menor que %{max} (o tamanho atual é %{file_size})"
|
|
11
|
+
file_size_not_less_than_or_equal_to: "o tamanho do arquivo deve ser menor ou igual a %{max} (o tamanho atual é %{file_size})"
|
|
12
|
+
file_size_not_greater_than: "o tamanho do arquivo deve ser maior que %{min} (o tamanho atual é %{file_size})"
|
|
13
|
+
file_size_not_greater_than_or_equal_to: "o tamanho do arquivo deve ser maior ou igual a %{min} (o tamanho atual é %{file_size})"
|
|
14
|
+
file_size_not_between: "o tamanho do arquivo deve estar entre %{min} e %{max} (o tamanho atual é %{file_size})"
|
|
15
|
+
file_size_not_equal_to: "o tamanho do arquivo deve ser igual a %{exact} (o tamanho atual é %{file_size})"
|
|
16
|
+
total_file_size_not_less_than: "o tamanho total do arquivo deve ser menor que %{max} (o tamanho atual é %{total_file_size})"
|
|
17
|
+
total_file_size_not_less_than_or_equal_to: "o tamanho total do arquivo deve ser menor ou igual a %{max} (o tamanho atual é %{total_file_size})"
|
|
18
|
+
total_file_size_not_greater_than: "o tamanho total do arquivo deve ser maior que %{min} (o tamanho atual é %{total_file_size})"
|
|
19
|
+
total_file_size_not_greater_than_or_equal_to: "o tamanho total do arquivo deve ser maior ou igual a %{min} (o tamanho atual é %{total_file_size})"
|
|
20
|
+
total_file_size_not_between: "o tamanho total do arquivo deve estar entre %{min} e %{max} (o tamanho atual é %{total_file_size})"
|
|
21
|
+
total_file_size_not_equal_to: "o tamanho total do arquivo deve ser igual a %{exact} (o tamanho atual é %{total_file_size})"
|
|
22
|
+
duration_not_less_than: "a duração deve ser inferior a %{max} (a duração atual é %{duration})"
|
|
23
|
+
duration_not_less_than_or_equal_to: "a duração deve ser inferior ou igual a %{max} (a duração atual é %{duration})"
|
|
24
|
+
duration_not_greater_than: "a duração tem de ser superior a %{min} (a duração atual é %{duration})"
|
|
25
|
+
duration_not_greater_than_or_equal_to: "a duração deve ser maior ou igual a %{min} (a duração atual é %{duration})"
|
|
26
|
+
duration_not_between: "a duração deve estar entre %{min} e %{max} (a duração atual é %{duration})"
|
|
27
|
+
duration_not_equal_to: "a duração deve ser igual a %{exact} (a duração atual é %{duration})"
|
|
28
|
+
limit_out_of_range:
|
|
29
|
+
zero: "nenhum arquivo anexado (deve ter entre %{min} e %{max})"
|
|
30
|
+
one: "apenas 1 arquivo anexado (deve ter entre %{min} e %{max})"
|
|
31
|
+
other: "o número total de arquivos deve estar entre os arquivos %{min} e %{max} (há arquivos %{count} anexados)"
|
|
32
|
+
limit_min_not_reached:
|
|
33
|
+
zero: "sem arquivos anexados (deve ter pelo menos %{min})"
|
|
34
|
+
one: "apenas 1 arquivo anexado (deve ter pelo menos %{min} arquivos)"
|
|
35
|
+
other: "%{count} arquivos anexados (deve ter pelo menos %{min} arquivos)"
|
|
36
|
+
limit_max_exceeded:
|
|
37
|
+
zero: "sem arquivos anexados (o máximo é %{max})"
|
|
38
|
+
one: "muitos arquivos anexados (o máximo é %{max}, obteve %{count})"
|
|
39
|
+
other: "muitos arquivos anexados (o máximo é %{max}, obteve %{count})"
|
|
40
|
+
attachment_missing: "não tem nenhum arquivo anexado"
|
|
41
|
+
media_metadata_missing: "não é um arquivo de mídia válido"
|
|
42
|
+
dimension_min_not_included_in: "deve ser maior ou igual a %{width} x %{height} pixels"
|
|
43
|
+
dimension_max_not_included_in: "deve ser menor ou igual a %{width} x %{height} pixels"
|
|
44
|
+
dimension_width_not_included_in: "deve ter largura entre %{min} e %{max} pixels"
|
|
45
|
+
dimension_height_not_included_in: "deve ter altura entre %{min} e %{max} pixels"
|
|
46
|
+
dimension_width_not_greater_than_or_equal_to: "deve ter largura maior ou igual a %{length} pixels"
|
|
47
|
+
dimension_height_not_greater_than_or_equal_to: "deve ter altura maior ou igual a %{length} pixels"
|
|
48
|
+
dimension_width_not_less_than_or_equal_to: "deve ter largura menor ou igual a %{length} pixels"
|
|
49
|
+
dimension_height_not_less_than_or_equal_to: "deve ter altura menor ou igual a %{length} pixels"
|
|
50
|
+
dimension_width_not_equal_to: "deve ter largura igual a %{length} pixels"
|
|
51
|
+
dimension_height_not_equal_to: "deve ter altura igual a %{length} pixels"
|
|
52
|
+
aspect_ratio_not_square: "deve ser quadrado (o arquivo atual é %{width}x%{height}px)"
|
|
53
|
+
aspect_ratio_not_portrait: "deve ser portrait (o arquivo atual é %{width}x%{height}px)"
|
|
54
|
+
aspect_ratio_not_landscape: "deve ser paisagem (o arquivo atual é %{width}x%{height}px)"
|
|
55
|
+
aspect_ratio_not_x_y: "deve ser %{authorized_aspect_ratios} (o arquivo atual é %{width}x%{height}px)"
|
|
56
|
+
aspect_ratio_invalid: "tem uma proporção inválida (as proporções válidas são %{authorized_aspect_ratios})"
|
|
57
|
+
file_not_processable: "não é identificado como um arquivo de mídia válido"
|
|
58
|
+
pages_not_less_than: "a contagem de páginas deve ser menor que %{max} (a contagem atual de páginas é %{pages})"
|
|
59
|
+
pages_not_less_than_or_equal_to: "a contagem de páginas deve ser menor ou igual a %{max} (a contagem atual de páginas é %{pages})"
|
|
60
|
+
pages_not_greater_than: "a contagem de páginas deve ser maior que %{min} (a contagem atual de páginas é %{pages})"
|
|
61
|
+
pages_not_greater_than_or_equal_to: "a contagem de páginas deve ser maior ou igual a %{min} (a contagem atual de páginas é %{pages})"
|
|
62
|
+
pages_not_between: "a contagem de páginas deve estar entre %{min} e %{max} (a contagem atual de páginas é %{pages})"
|
|
63
|
+
pages_not_equal_to: "a contagem de páginas deve ser igual a %{exact} (a contagem atual de páginas é %{pages})"
|
data/config/locales/ru.yml
CHANGED
|
@@ -1,22 +1,63 @@
|
|
|
1
1
|
ru:
|
|
2
2
|
errors:
|
|
3
3
|
messages:
|
|
4
|
-
content_type_invalid:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
4
|
+
content_type_invalid:
|
|
5
|
+
one: "имеет недействительный тип контента (авторизованный тип контента %{authorized_human_content_types})"
|
|
6
|
+
other: "имеет недействительный тип контента (авторизованные типы контента %{authorized_human_content_types})"
|
|
7
|
+
content_type_spoofed:
|
|
8
|
+
one: "имеет тип контента, который не эквивалентен тому, который обнаруживается через его контент (авторизованный тип контента %{authorized_human_content_types})"
|
|
9
|
+
other: "имеет тип контента, который не эквивалентен тому, который обнаруживается через его контент (авторизованные типы контента %{authorized_human_content_types})"
|
|
10
|
+
file_size_not_less_than: "размер файла должен быть меньше %{max} (текущий размер %{file_size})"
|
|
11
|
+
file_size_not_less_than_or_equal_to: "размер файла должен быть меньше или равен %{max} (текущий размер %{file_size})"
|
|
12
|
+
file_size_not_greater_than: "размер файла должен быть больше %{min} (текущий размер %{file_size})"
|
|
13
|
+
file_size_not_greater_than_or_equal_to: "размер файла должен быть больше или равен %{min} (текущий размер %{file_size})"
|
|
14
|
+
file_size_not_between: "размер файла должен быть между %{min} и %{max} (текущий размер %{file_size})"
|
|
15
|
+
file_size_not_equal_to: "размер файла должен быть равен %{exact} (текущий размер %{file_size})"
|
|
16
|
+
total_file_size_not_less_than: "общий размер файла должен быть меньше %{max} (текущий размер %{total_file_size})"
|
|
17
|
+
total_file_size_not_less_than_or_equal_to: "общий размер файла должен быть меньше или равен %{max} (текущий размер %{total_file_size})"
|
|
18
|
+
total_file_size_not_greater_than: "общий размер файла должен быть больше %{min} (текущий размер %{total_file_size})"
|
|
19
|
+
total_file_size_not_greater_than_or_equal_to: "общий размер файла должен быть больше или равен %{min} (текущий размер %{total_file_size})"
|
|
20
|
+
total_file_size_not_between: "общий размер файла должен быть между %{min} и %{max} (текущий размер %{total_file_size})"
|
|
21
|
+
total_file_size_not_equal_to: "общий размер файла должен быть равен %{exact} (текущий размер %{total_file_size})"
|
|
22
|
+
duration_not_less_than: "длительность должна быть меньше %{max} (текущая продолжительность составляет %{duration})"
|
|
23
|
+
duration_not_less_than_or_equal_to: "длительность должна быть меньше или равна %{max} (текущая продолжительность составляет %{duration})"
|
|
24
|
+
duration_not_greater_than: "длительность должна быть больше %{min} (текущая продолжительность составляет %{duration})"
|
|
25
|
+
duration_not_greater_than_or_equal_to: "длительность должна быть больше или равна %{min} (текущая продолжительность составляет %{duration})"
|
|
26
|
+
duration_not_between: "длительность должна быть между %{min} и %{max} (текущая продолжительность составляет %{duration})"
|
|
27
|
+
duration_not_equal_to: "длительность должна быть равна %{exact} (текущая продолжительность составляет %{duration})"
|
|
28
|
+
limit_out_of_range:
|
|
29
|
+
zero: "никаких файлов не прилагается (должно иметь от %{min} до %{max} файлов)"
|
|
30
|
+
one: "прилагается только 1 файл (должно иметь от %{min} до %{max} файлов)"
|
|
31
|
+
other: "общее количество файлов должно быть от %{min} до %{max} файлов (прилагается %{count} файлов)"
|
|
32
|
+
limit_min_not_reached:
|
|
33
|
+
zero: "не прилагается никаких файлов (должно иметь не менее %{min} файлов)"
|
|
34
|
+
one: "прилагается только 1 файл (должно иметь не менее %{min} файлов)"
|
|
35
|
+
other: "%{count} файлы прилагаются (должно иметь не менее %{min} файлов)"
|
|
36
|
+
limit_max_exceeded:
|
|
37
|
+
zero: "никаких файлов не прилагается (максимум составляет %{max} файлов)"
|
|
38
|
+
one: "слишком много файлов прикреплено (максимум составляет %{max} файлов, получил %{count})"
|
|
39
|
+
other: "слишком много файлов прикреплено (максимум составляет %{max} файлов, получил %{count})"
|
|
40
|
+
attachment_missing: "не имеет прикрепленного файла"
|
|
41
|
+
media_metadata_missing: "не является действительным медиафайлом"
|
|
42
|
+
dimension_min_not_included_in: "должен быть больше или равно %{width} x %{height} пикселям"
|
|
43
|
+
dimension_max_not_included_in: "должно быть меньше или равно %{width} x %{height} пикселям"
|
|
44
|
+
dimension_width_not_included_in: "ширина не включена между %{min} и %{max} пикселям"
|
|
45
|
+
dimension_height_not_included_in: "высота не включена между %{min} и %{max} пикселям"
|
|
46
|
+
dimension_width_not_greater_than_or_equal_to: "ширина должна быть больше или равна %{length} пикселям"
|
|
47
|
+
dimension_height_not_greater_than_or_equal_to: "высота должна быть больше или равна %{length} пикселям"
|
|
48
|
+
dimension_width_not_less_than_or_equal_to: "ширина должна быть меньше или равна %{length} пикселям"
|
|
49
|
+
dimension_height_not_less_than_or_equal_to: "высота должна быть меньше или равна %{length} пикселям"
|
|
50
|
+
dimension_width_not_equal_to: "ширина должна быть равна %{length} пикселям"
|
|
51
|
+
dimension_height_not_equal_to: "высота должна быть равна %{length} пикселям"
|
|
52
|
+
aspect_ratio_not_square: "должен быть квадратным (текущий файл %{width}x%{height} пикселей)"
|
|
53
|
+
aspect_ratio_not_portrait: "должен быть портрет (текущий файл %{width}x%{height} пикселей)"
|
|
54
|
+
aspect_ratio_not_landscape: "должен быть ландшафт (текущий файл %{width}x%{height} пикселей)"
|
|
55
|
+
aspect_ratio_not_x_y: "должно быть %{authorized_aspect_ratios} (текущий файл %{width}x%{height} пикселей)"
|
|
56
|
+
aspect_ratio_invalid: "имеет недействительное соотношение сторон (действительные соотношения сторон %{authorized_aspect_ratios})"
|
|
57
|
+
file_not_processable: "не идентифицируется как действительный медиафайл"
|
|
58
|
+
pages_not_less_than: "количество страниц должно быть меньше %{max} (текущее количество страниц %{pages})"
|
|
59
|
+
pages_not_less_than_or_equal_to: "количество страниц должно быть меньше или равно %{max} (текущее количество страниц %{pages})"
|
|
60
|
+
pages_not_greater_than: "количество страниц должно быть больше %{min} (текущее количество страниц %{pages})"
|
|
61
|
+
pages_not_greater_than_or_equal_to: "количество страниц должно быть больше или равно %{min} (текущее количество страниц %{pages})"
|
|
62
|
+
pages_not_between: "количество страниц должно быть между %{min} и %{max} (текущее количество страниц %{pages})"
|
|
63
|
+
pages_not_equal_to: "количество страниц должно быть равно %{exact} (текущее количество страниц %{pages})"
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
sv:
|
|
2
|
+
errors:
|
|
3
|
+
messages:
|
|
4
|
+
content_type_invalid:
|
|
5
|
+
one: "har en ogiltig innehållstyp (auktoriserad innehållstyp är %{authorized_human_content_types})"
|
|
6
|
+
other: "har en ogiltig innehållstyp (auktoriserade innehållstyper är %{authorized_human_content_types})"
|
|
7
|
+
content_type_spoofed:
|
|
8
|
+
one: "har en innehållstyp som inte motsvarar den som upptäcks genom dess innehåll (auktoriserad innehållstyp är %{authorized_human_content_types})"
|
|
9
|
+
other: "har en innehållstyp som inte motsvarar den som upptäcks genom dess innehåll (auktoriserade innehållstyper är %{authorized_human_content_types})"
|
|
10
|
+
file_size_not_less_than: "filstorleken måste vara mindre än %{max} (nuvarande storlek är %{file_size})"
|
|
11
|
+
file_size_not_less_than_or_equal_to: "filstorleken måste vara mindre än eller lika med %{max} (nuvarande storlek är %{file_size})"
|
|
12
|
+
file_size_not_greater_than: "filstorleken måste vara större än %{min} (nuvarande storlek är %{file_size})"
|
|
13
|
+
file_size_not_greater_than_or_equal_to: "filstorleken måste vara större än eller lika med %{min} (nuvarande storlek är %{file_size})"
|
|
14
|
+
file_size_not_between: "filstorleken måste vara mellan %{min} och %{max} (nuvarande storlek är %{file_size})"
|
|
15
|
+
file_size_not_equal_to: "filstorleken måste vara lika med %{exact} (nuvarande storlek är %{file_size})"
|
|
16
|
+
total_file_size_not_less_than: "total filstorlek måste vara mindre än %{max} (nuvarande storlek är %{total_file_size})"
|
|
17
|
+
total_file_size_not_less_than_or_equal_to: "total filstorlek måste vara mindre än eller lika med %{max} (nuvarande storlek är %{total_file_size})"
|
|
18
|
+
total_file_size_not_greater_than: "total filstorlek måste vara större än %{min} (nuvarande storlek är %{total_file_size})"
|
|
19
|
+
total_file_size_not_greater_than_or_equal_to: "total filstorlek måste vara större än eller lika med %{min} (nuvarande storlek är %{total_file_size})"
|
|
20
|
+
total_file_size_not_between: "total filstorlek måste vara mellan %{min} och %{max} (nuvarande storlek är %{total_file_size})"
|
|
21
|
+
total_file_size_not_equal_to: "total filstorlek måste vara lika med %{exact} (nuvarande storlek är %{total_file_size})"
|
|
22
|
+
duration_not_less_than: "varaktigheten måste vara mindre än %{max} (nuvarande varaktighet är %{varaktighet})"
|
|
23
|
+
duration_not_less_than_or_equal_to: "varaktigheten måste vara mindre än eller lika med %{max} (nuvarande varaktighet är %{varaktighet})"
|
|
24
|
+
duration_not_greater_than: "varaktigheten måste vara större än %{min} (nuvarande varaktighet är %{varaktighet})"
|
|
25
|
+
duration_not_greater_than_or_equal_to: "varaktigheten måste vara större än eller lika med %{min} (nuvarande varaktighet är %{varaktighet})"
|
|
26
|
+
duration_not_between: "varaktigheten måste vara mellan %{min} och %{max} (nuvarande varaktighet är %{varaktighet})"
|
|
27
|
+
duration_not_equal_to: "varaktigheten måste vara lika med %{exact} (nuvarande varaktighet är %{varaktighet})"
|
|
28
|
+
limit_out_of_range:
|
|
29
|
+
zero: "inga filer bifogade (måste ha mellan %{min} och %{max} filer)"
|
|
30
|
+
one: "endast en fil bifogad (måste ha mellan %{min} och %{max} filer)"
|
|
31
|
+
other: "totalt antal filer måste vara mellan %{min} och %{max} filer (det finns %{count} filer bifogade)"
|
|
32
|
+
limit_min_not_reached:
|
|
33
|
+
zero: "inga filer bifogade (måste ha minst %{min} filer)"
|
|
34
|
+
one: "endast en fil bifogad (måste ha minst %{min} filer)"
|
|
35
|
+
other: "%{count} filer bifogade (måste ha minst %{min} filer)"
|
|
36
|
+
limit_max_exceeded:
|
|
37
|
+
zero: "inga filer bifogade (maximalt är %{max} filer)"
|
|
38
|
+
one: "för många filer bifogade (maximalt är %{max} -filer, fick %{count})"
|
|
39
|
+
other: "för många filer bifogade (maximalt är %{max} -filer, fick %{count})"
|
|
40
|
+
attachment_missing: "har ingen bifogad fil"
|
|
41
|
+
media_metadata_missing: "är inte en giltig mediefil"
|
|
42
|
+
dimension_min_not_included_in: "måste minst vara %{width} x %{height} pixlar"
|
|
43
|
+
dimension_max_not_included_in: "måste vara mindre eller lika med %{width} x %{height} pixlar"
|
|
44
|
+
dimension_width_not_included_in: "bredden är utanför %{min} till %{max} pixlar"
|
|
45
|
+
dimension_height_not_included_in: "höjden är utanför %{min} till %{max} pixlar"
|
|
46
|
+
dimension_width_not_greater_than_or_equal_to: "bredden måste minst vara %{length} pixlar"
|
|
47
|
+
dimension_height_not_greater_than_or_equal_to: "höjden måste minst vara %{length} pixlar"
|
|
48
|
+
dimension_width_not_less_than_or_equal_to: "bredden får max vara %{length} pixlar"
|
|
49
|
+
dimension_height_not_less_than_or_equal_to: "höjden får max vara %{length} pixlar"
|
|
50
|
+
dimension_width_not_equal_to: "bredden måste vara %{length} pixlar"
|
|
51
|
+
dimension_height_not_equal_to: "höjden måste vara %{length} pixlar"
|
|
52
|
+
aspect_ratio_not_square: "måste vara kvadratisk (nuvarande fil är %{width}x%{height} pixlar)"
|
|
53
|
+
aspect_ratio_not_portrait: "måste vara porträtt (nuvarande fil är %{width}x%{height} pixlar)"
|
|
54
|
+
aspect_ratio_not_landscape: "måste vara landskap (nuvarande fil är %{width}x%{height} pixlar)"
|
|
55
|
+
aspect_ratio_not_x_y: "måste vara% { authorized_aspect_ratios } (nuvarande fil är %{width}x%{height} pixlar)"
|
|
56
|
+
aspect_ratio_invalid: "har ett ogiltigt bildförhållande (giltiga bildförhållanden är %{förväntat_aspect_ratios})"
|
|
57
|
+
file_not_processable: "identifieras inte som en giltig mediefil"
|
|
58
|
+
pages_not_less_than: "sidantal måste vara mindre än %{max} (nuvarande sidantal är %{pages})"
|
|
59
|
+
pages_not_less_than_or_equal_to: "sidantal måste vara mindre än eller lika med %{max} (nuvarande antal sidor är %{pages})"
|
|
60
|
+
pages_not_greater_than: "sidantal måste vara större än %{min} (nuvarande sidantal är %{pages})"
|
|
61
|
+
pages_not_greater_than_or_equal_to: "sidantal måste vara större än eller lika med %{min} (nuvarande antal sidor är %{pages})"
|
|
62
|
+
pages_not_between: "sidantal måste vara mellan %{min} och %{max} (nuvarande antal sidor är %{pages})"
|
|
63
|
+
pages_not_equal_to: "sidantal måste vara lika med %{exact} (nuvarande sidantal är %{pages})"
|