refinerycms-resources 1.0.11 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/refinery/admin/resources_controller.rb +87 -0
- data/app/models/refinery/resource.rb +49 -0
- data/app/views/refinery/admin/resources/_actions.html.erb +8 -0
- data/app/views/{admin → refinery/admin}/resources/_existing_resource.html.erb +7 -13
- data/app/views/{admin → refinery/admin}/resources/_form.html.erb +14 -18
- data/app/views/refinery/admin/resources/_records.html.erb +16 -0
- data/app/views/refinery/admin/resources/_resource.html.erb +20 -0
- data/app/views/{admin → refinery/admin}/resources/_resources.html.erb +2 -2
- data/app/views/refinery/admin/resources/edit.html.erb +1 -0
- data/app/views/refinery/admin/resources/index.html.erb +6 -0
- data/app/views/{admin → refinery/admin}/resources/insert.html.erb +10 -13
- data/app/views/refinery/admin/resources/new.html.erb +1 -0
- data/config/locales/bg.yml +30 -29
- data/config/locales/cs.yml +32 -30
- data/config/locales/da.yml +30 -29
- data/config/locales/de.yml +30 -29
- data/config/locales/el.yml +30 -29
- data/config/locales/en.yml +30 -29
- data/config/locales/es.yml +31 -30
- data/config/locales/fi.yml +30 -29
- data/config/locales/fr.yml +30 -29
- data/config/locales/it.yml +41 -39
- data/config/locales/ja.yml +36 -0
- data/config/locales/ko.yml +36 -0
- data/config/locales/lt.yml +30 -29
- data/config/locales/lv.yml +30 -29
- data/config/locales/nb.yml +30 -29
- data/config/locales/nl.yml +29 -28
- data/config/locales/pl.yml +31 -30
- data/config/locales/pt-BR.yml +30 -29
- data/config/locales/rs.yml +30 -30
- data/config/locales/ru.yml +30 -29
- data/config/locales/sk.yml +30 -29
- data/config/locales/sl.yml +29 -28
- data/config/locales/sv.yml +30 -29
- data/config/locales/vi.yml +30 -29
- data/config/locales/zh-CN.yml +30 -29
- data/config/locales/zh-TW.yml +30 -29
- data/config/routes.rb +4 -8
- data/db/migrate/20100913234709_create_refinerycms_resources_schema.rb +8 -16
- data/lib/generators/refinery/resources/resources_generator.rb +10 -0
- data/lib/generators/refinery/resources/templates/config/initializers/refinery/resources.rb.erb +26 -0
- data/lib/refinery/resources/configuration.rb +43 -0
- data/lib/refinery/resources/dragonfly.rb +52 -0
- data/lib/refinery/resources/engine.rb +38 -0
- data/lib/refinery/resources/validators/file_size_validator.rb +19 -0
- data/lib/refinery/resources/validators.rb +7 -0
- data/lib/refinery/resources.rb +25 -0
- data/lib/refinerycms-resources.rb +1 -75
- data/refinerycms-resources.gemspec +14 -83
- data/spec/factories/resource.rb +5 -0
- data/{features/uploads → spec/fixtures}/refinery_is_awesome.txt +0 -0
- data/spec/fixtures/refinery_is_awesome2.txt +1 -0
- data/spec/lib/generators/refinery/resources/resources_generator_spec.rb +29 -0
- data/spec/models/refinery/resource_spec.rb +118 -0
- data/spec/requests/refinery/admin/resources_spec.rb +148 -0
- metadata +111 -101
- data/app/controllers/admin/resources_controller.rb +0 -87
- data/app/models/resource.rb +0 -54
- data/app/views/admin/resources/_actions.html.erb +0 -11
- data/app/views/admin/resources/_records.html.erb +0 -16
- data/app/views/admin/resources/_resource.html.erb +0 -17
- data/app/views/admin/resources/edit.html.erb +0 -1
- data/app/views/admin/resources/index.html.erb +0 -6
- data/app/views/admin/resources/new.html.erb +0 -1
- data/config/locales/jp.yml +0 -35
- data/config/locales/lolcat.yml +0 -35
- data/features/manage_files.feature +0 -43
- data/features/step_definitions/file_steps.rb +0 -21
- data/features/support/paths.rb +0 -17
- data/features/uploads/beach.jpeg +0 -0
- data/lib/gemspec.rb +0 -38
- data/lib/generators/refinerycms_resources_generator.rb +0 -8
- data/spec/models/resource_spec.rb +0 -78
- data/spec/uploads/refinery_is_awesome.txt +0 -1
data/config/locales/nb.yml
CHANGED
@@ -1,35 +1,36 @@
|
|
1
1
|
nb:
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
2
|
+
refinery:
|
3
|
+
plugins:
|
4
|
+
refinery_files:
|
5
|
+
title: Filer
|
6
|
+
description: Last opp og link til filer
|
7
|
+
admin:
|
8
|
+
resources:
|
9
|
+
delete: Fjern denne filen permanent
|
10
|
+
edit: Rediger denne filen
|
11
|
+
form:
|
12
|
+
download_current: Last ned gjeldende fil
|
13
|
+
or: eller
|
14
|
+
replace: " erstatt den med denne..."
|
15
|
+
maximum_file_size: Største tillatte filstørrelse er %{bytes}.
|
16
|
+
resource:
|
17
|
+
download: Last ned denne filen (%{size})
|
18
|
+
actions:
|
19
|
+
upload_new: Last opp en ny fil
|
20
|
+
records:
|
21
|
+
no_files_yet: Det er ingen filer her enda. Klikk på "Last opp en ny fil" for å legge til din første fil.
|
22
|
+
insert:
|
23
|
+
existing: Eksisterende fil
|
24
|
+
new: Ny fil
|
25
|
+
no_files: Det er ingen filer.
|
26
|
+
existing_resource:
|
27
|
+
link_to_file: Link til denne filen
|
28
|
+
button_text: Legg inn
|
28
29
|
activerecord:
|
29
30
|
models:
|
30
|
-
resource: fil
|
31
|
+
refinery/resource: fil
|
31
32
|
errors:
|
32
33
|
models:
|
33
|
-
resource:
|
34
|
+
refinery/resource:
|
34
35
|
blank: Du må angi en fil som skal lastes opp
|
35
|
-
|
36
|
+
too_big: Filstørrelsen må være mindre enn %{size} MB
|
data/config/locales/nl.yml
CHANGED
@@ -1,34 +1,35 @@
|
|
1
1
|
nl:
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
2
|
+
refinery:
|
3
|
+
plugins:
|
4
|
+
refinery_files:
|
5
|
+
title: Bestanden
|
6
|
+
admin:
|
7
|
+
resources:
|
8
|
+
delete: Verwijder dit bestand voorgoed
|
9
|
+
edit: Bewerk dit bestand
|
10
|
+
form:
|
11
|
+
download_current: Download het huidige bestand
|
12
|
+
or: of
|
13
|
+
replace: ", vervang het door dit..."
|
14
|
+
maximum_file_size: "The maximum file size is %{bytes}."
|
15
|
+
resource:
|
16
|
+
download: Download dit bestand (%{size})
|
17
|
+
actions:
|
18
|
+
upload_new: Upload een nieuw bestand.
|
19
|
+
records:
|
20
|
+
no_files_yet: Er zijn nog geen bestanden. Klik op "Upload een nieuw bestand" om uw eerste bestand toe te voegen.
|
21
|
+
insert:
|
22
|
+
existing: Bestaand bestand
|
23
|
+
new: Nieuw bestand
|
24
|
+
no_files: Er zijn geen bestanden
|
25
|
+
existing_resource:
|
26
|
+
link_to_file: Link naar dit bestand
|
27
|
+
button_text: Invoegen
|
27
28
|
activerecord:
|
28
29
|
models:
|
29
|
-
resource: bestand
|
30
|
+
refinery/resource: bestand
|
30
31
|
errors:
|
31
32
|
models:
|
32
|
-
resource:
|
33
|
+
refinery/resource:
|
33
34
|
blank: U moet een bestand kiezen dat u wilt uploaden.
|
34
|
-
|
35
|
+
too_big: Bestanden mogen niet groter dan %{size} bytes zijn.
|
data/config/locales/pl.yml
CHANGED
@@ -1,36 +1,37 @@
|
|
1
1
|
pl:
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
2
|
+
refinery:
|
3
|
+
plugins:
|
4
|
+
refinery_files:
|
5
|
+
title: Pliki
|
6
|
+
description: Wgrywaj i linkuj do plików
|
7
|
+
article: masculine
|
8
|
+
admin:
|
9
|
+
resources:
|
10
|
+
delete: Na zawsze usuń ten plik
|
11
|
+
edit: Zmień ten plik
|
12
|
+
form:
|
13
|
+
download_current: Pobierz obecny plik
|
14
|
+
or: or
|
15
|
+
replace: " zastąp go tym..."
|
16
|
+
maximum_file_size: Maksymalny rozmiaj plik to %{bytes}.
|
17
|
+
resource:
|
18
|
+
download: Pobierz ten plik (%{size})
|
19
|
+
actions:
|
20
|
+
upload_new: Wgraj nowe pliki
|
21
|
+
records:
|
22
|
+
no_files_yet: Nie ma jeszcze żadnych plików. Kliknij "Wgraj nowe pliki" aby dodać pierwszy.
|
23
|
+
insert:
|
24
|
+
existing: Istniejący plik
|
25
|
+
new: Nowy plik
|
26
|
+
no_files: Nie ma żadnych plików
|
27
|
+
existing_resource:
|
28
|
+
link_to_file: Linkuj do tego pliku
|
29
|
+
button_text: Wstaw
|
29
30
|
activerecord:
|
30
31
|
models:
|
31
|
-
resource: plik
|
32
|
+
refinery/resource: plik
|
32
33
|
errors:
|
33
34
|
models:
|
34
|
-
resource:
|
35
|
+
refinery/resource:
|
35
36
|
blank: Musisz określić plik do wgrania
|
36
|
-
|
37
|
+
too_big: Plik powinien być mniejszy niż %{size} megabajtów
|
data/config/locales/pt-BR.yml
CHANGED
@@ -1,35 +1,36 @@
|
|
1
1
|
pt-BR:
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
2
|
+
refinery:
|
3
|
+
plugins:
|
4
|
+
refinery_files:
|
5
|
+
title: Arquivos
|
6
|
+
description: Gerenciar arquivos
|
7
|
+
admin:
|
8
|
+
resources:
|
9
|
+
delete: Remover este arquivo para sempre
|
10
|
+
edit: Editar este arquivo
|
11
|
+
form:
|
12
|
+
download_current: Baixar arquivo atual
|
13
|
+
or: or
|
14
|
+
replace: " substituir por este..."
|
15
|
+
maximum_file_size: "O tamanho máximo permitido é de %{bytes}."
|
16
|
+
resource:
|
17
|
+
download: Baixar este arquivo (%{size})
|
18
|
+
actions:
|
19
|
+
upload_new: Enviar Novo Arquivo
|
20
|
+
records:
|
21
|
+
no_files_yet: Ainda não existem arquivos. Clique em "Enviar Novo Arquivo" para adicionar seu primeiro arquivo.
|
22
|
+
insert:
|
23
|
+
existing: O Arquivo já existe.
|
24
|
+
new: Novo Arquivo
|
25
|
+
no_files: TNão há arquivos.
|
26
|
+
existing_resource:
|
27
|
+
link_to_file: Link para este Arquivo
|
28
|
+
button_text: Inserir
|
28
29
|
activerecord:
|
29
30
|
models:
|
30
|
-
resource: Arquivo
|
31
|
+
refinery/resource: Arquivo
|
31
32
|
errors:
|
32
33
|
models:
|
33
|
-
resource:
|
34
|
+
refinery/resource:
|
34
35
|
blank: Você deve escolher um arquivo para enviar
|
35
|
-
|
36
|
+
too_big: "Arquivos devem ser menores que %{size} bytes em tamanho"
|
data/config/locales/rs.yml
CHANGED
@@ -1,36 +1,36 @@
|
|
1
1
|
rs:
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
2
|
+
refinery:
|
3
|
+
plugins:
|
4
|
+
refinery_files:
|
5
|
+
title: Fajlovi
|
6
|
+
description: Upload-uj i linkuj fajlove
|
7
|
+
admin:
|
8
|
+
resources:
|
9
|
+
delete: Ukloni ovaj fajl zauvek
|
10
|
+
edit: Izmeni fajl
|
11
|
+
form:
|
12
|
+
download_current: Download-uj fajl
|
13
|
+
or: ili
|
14
|
+
replace: " zameni sa ovim..."
|
15
|
+
maximum_file_size: Maksimalna veličina fajla je %{bytes}.
|
16
|
+
resource:
|
17
|
+
download: Download-uj fajl (%{size})
|
18
|
+
actions:
|
19
|
+
upload_new: Upload-uj novi fajl
|
20
|
+
records:
|
21
|
+
no_files_yet: Ne postoje fajlovi. Klikni "Upload-uj novi fajl" da dodaš.
|
22
|
+
insert:
|
23
|
+
existing: Postojeći fajl
|
24
|
+
new: Novi fajl
|
25
|
+
no_files: Ne postoje fajlovi.
|
26
|
+
existing_resource:
|
27
|
+
link_to_file: Linkuj na ovaj fajl
|
28
|
+
button_text: Unesi
|
28
29
|
activerecord:
|
29
30
|
models:
|
30
|
-
resource: fajl
|
31
|
+
refinery/resource: fajl
|
31
32
|
errors:
|
32
33
|
models:
|
33
|
-
resource:
|
34
|
+
refinery/resource:
|
34
35
|
blank: Moraš izabrati fajl za upload
|
35
|
-
|
36
|
-
|
36
|
+
too_big: Fajl bi trebalo da je manji od %{size} megabajta
|
data/config/locales/ru.yml
CHANGED
@@ -1,35 +1,36 @@
|
|
1
1
|
ru:
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
2
|
+
refinery:
|
3
|
+
plugins:
|
4
|
+
refinery_files:
|
5
|
+
title: Файлы
|
6
|
+
article: masculine
|
7
|
+
admin:
|
8
|
+
resources:
|
9
|
+
delete: Удалить этот файл навсегда
|
10
|
+
edit: Редактировать этот файл
|
11
|
+
form:
|
12
|
+
download_current: Скачать текущий файл
|
13
|
+
or: или
|
14
|
+
replace: " заменить его этим"
|
15
|
+
maximum_file_size: "Максимальный размер файла — %{bytes}."
|
16
|
+
resource:
|
17
|
+
download: "Скачать файл (%{size})"
|
18
|
+
actions:
|
19
|
+
upload_new: Загрузить новый файл
|
20
|
+
records:
|
21
|
+
no_files_yet: "Здесь пока нет файлов. Нажмите «Загрузить новые файлы», чтобы добавить первый файл."
|
22
|
+
insert:
|
23
|
+
existing: Существующий файл
|
24
|
+
new: Новый файл
|
25
|
+
no_files: Файлов нет.
|
26
|
+
existing_resource:
|
27
|
+
link_to_file: Поставить ссылку на этот файл
|
28
|
+
button_text: Вставить
|
28
29
|
activerecord:
|
29
30
|
models:
|
30
|
-
resource: файл
|
31
|
+
refinery/resource: файл
|
31
32
|
errors:
|
32
33
|
models:
|
33
|
-
resource:
|
34
|
+
refinery/resource:
|
34
35
|
blank: Вы должны выбрать файл для загрузки
|
35
|
-
|
36
|
+
too_big: "Файлы должны быть по размеру меньше чем %{size} МБ"
|
data/config/locales/sk.yml
CHANGED
@@ -1,35 +1,36 @@
|
|
1
1
|
sk:
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
2
|
+
refinery:
|
3
|
+
plugins:
|
4
|
+
refinery_files:
|
5
|
+
title: Súbory
|
6
|
+
description: Správa súborov
|
7
|
+
admin:
|
8
|
+
resources:
|
9
|
+
delete: Zmazať súbor
|
10
|
+
edit: Upraviť súbor
|
11
|
+
form:
|
12
|
+
download_current: Stiahnuť vybraný súbor
|
13
|
+
or: alebo
|
14
|
+
replace: " nahradiť tímto..."
|
15
|
+
maximum_file_size: Maximálna veľkosť súboru je %{bytes}.
|
16
|
+
resource:
|
17
|
+
download: Stiahnuť súbor (%{size})
|
18
|
+
actions:
|
19
|
+
upload_new: Nahrať nový súbor
|
20
|
+
records:
|
21
|
+
no_files_yet: Zatiaľ neboli nahraté žiadne súbory.
|
22
|
+
insert:
|
23
|
+
existing: Existujúci súbor
|
24
|
+
new: Nový súbor
|
25
|
+
no_files: Nie sú tu žiadne súbory.
|
26
|
+
existing_resource:
|
27
|
+
link_to_file: Odkaz na tento súbor.
|
28
|
+
button_text: Vložiť
|
28
29
|
activerecord:
|
29
30
|
models:
|
30
|
-
resource: súbor
|
31
|
+
refinery/resource: súbor
|
31
32
|
errors:
|
32
33
|
models:
|
33
|
-
resource:
|
34
|
+
refinery/resource:
|
34
35
|
blank: Musíte vybrať súbor pre nahranie.
|
35
|
-
|
36
|
+
too_big: Maximálna veľkosť súboru je %{size} MB.
|
data/config/locales/sl.yml
CHANGED
@@ -1,34 +1,35 @@
|
|
1
1
|
sl:
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
2
|
+
refinery:
|
3
|
+
plugins:
|
4
|
+
refinery_files:
|
5
|
+
title: Datoteke
|
6
|
+
admin:
|
7
|
+
resources:
|
8
|
+
delete: Odstrani datoteko
|
9
|
+
edit: Uredi datoteko
|
10
|
+
form:
|
11
|
+
download_current: Prenesi tretnutno datoteko
|
12
|
+
or: ali
|
13
|
+
replace: " jo zamenjaj s tole..."
|
14
|
+
maximum_file_size: "Največja dovoljena velikost datoteke je %{bytes}."
|
15
|
+
resource:
|
16
|
+
download: Prenesi datoteko (%{size})
|
17
|
+
actions:
|
18
|
+
upload_new: Prenesi Novo Datoteko
|
19
|
+
records:
|
20
|
+
no_files_yet: Trenutno še ni nobene datoteke. Za prenos prve datoteke kliknite "Prenesi Novo Datoteko".
|
21
|
+
insert:
|
22
|
+
existing: Obstoječo Datoteko
|
23
|
+
new: Novo Datoteko
|
24
|
+
no_files: Trenutno še ni datotek.
|
25
|
+
existing_resource:
|
26
|
+
link_to_file: Povezava do te datoteke
|
27
|
+
button_text: Vstavi
|
27
28
|
activerecord:
|
28
29
|
models:
|
29
|
-
resource: datoteka
|
30
|
+
refinery/resource: datoteka
|
30
31
|
errors:
|
31
32
|
models:
|
32
|
-
resource:
|
33
|
+
refinery/resource:
|
33
34
|
blank: Izbrati morate datoteko za prenos
|
34
|
-
|
35
|
+
too_big: Velikost datoteke mora biti manjša od %{size} megabajtov
|
data/config/locales/sv.yml
CHANGED
@@ -1,35 +1,36 @@
|
|
1
1
|
sv:
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
2
|
+
refinery:
|
3
|
+
plugins:
|
4
|
+
refinery_files:
|
5
|
+
title: Filer
|
6
|
+
description: Ladda upp och länka till filer
|
7
|
+
admin:
|
8
|
+
resources:
|
9
|
+
delete: Ta bort den här filen för alltid
|
10
|
+
edit: Redigera den här filen
|
11
|
+
form:
|
12
|
+
download_current: Ladda ner den här filen
|
13
|
+
or: eller
|
14
|
+
replace: " ersätt med den här..."
|
15
|
+
maximum_file_size: Maximal storlek är %{bytes}.
|
16
|
+
resource:
|
17
|
+
download: Ladda ner den här filen (%{size})
|
18
|
+
actions:
|
19
|
+
upload_new: Ladda upp en fil
|
20
|
+
records:
|
21
|
+
no_files_yet: Det finns inga filer ännu. Klicka på "Ladda upp en fil" för att ladda upp din första fil.
|
22
|
+
insert:
|
23
|
+
existing: Redan existerande fil
|
24
|
+
new: Ny fil
|
25
|
+
no_files: Det finns inga filer.
|
26
|
+
existing_resource:
|
27
|
+
link_to_file: Länk till den här filen
|
28
|
+
button_text: Lägg till
|
28
29
|
activerecord:
|
29
30
|
models:
|
30
|
-
resource: fil
|
31
|
+
refinery/resource: fil
|
31
32
|
errors:
|
32
33
|
models:
|
33
|
-
resource:
|
34
|
+
refinery/resource:
|
34
35
|
blank: Du måste ange en fil att ladda upp
|
35
|
-
|
36
|
+
too_big: Filen måste vara mindre än %{size} bytes stor
|