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/el.yml
CHANGED
@@ -1,35 +1,36 @@
|
|
1
1
|
el:
|
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
|
+
description: Ανεβάστε και συνδέστε αρχεία
|
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} bytes σε μέγεθος
|
data/config/locales/en.yml
CHANGED
@@ -1,35 +1,36 @@
|
|
1
1
|
en:
|
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: Files
|
6
|
+
description: Upload and link to files
|
7
|
+
admin:
|
8
|
+
resources:
|
9
|
+
delete: Remove this file forever
|
10
|
+
edit: Edit this file
|
11
|
+
form:
|
12
|
+
download_current: Download current file
|
13
|
+
or: or
|
14
|
+
replace: " replace it with this one..."
|
15
|
+
maximum_file_size: The maximum file size is %{bytes}.
|
16
|
+
resource:
|
17
|
+
download: Download this file (%{size})
|
18
|
+
actions:
|
19
|
+
upload_new: Upload new file
|
20
|
+
records:
|
21
|
+
no_files_yet: There are no files yet. Click "Upload new file" to add your first file.
|
22
|
+
insert:
|
23
|
+
existing: Existing File
|
24
|
+
new: New File
|
25
|
+
no_files: There are no files.
|
26
|
+
existing_resource:
|
27
|
+
link_to_file: Link to this file
|
28
|
+
button_text: Insert
|
28
29
|
activerecord:
|
29
30
|
models:
|
30
|
-
resource: file
|
31
|
+
refinery/resource: file
|
31
32
|
errors:
|
32
33
|
models:
|
33
|
-
resource:
|
34
|
+
refinery/resource:
|
34
35
|
blank: You must specify file for upload
|
35
|
-
|
36
|
+
too_big: File should be smaller than %{size} bytes in size
|
data/config/locales/es.yml
CHANGED
@@ -1,36 +1,37 @@
|
|
1
1
|
es:
|
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: Archivos
|
6
|
+
description: Subir y enlazar archivos
|
7
|
+
article: masculino
|
8
|
+
admin:
|
9
|
+
resources:
|
10
|
+
delete: Borrar este archivo para siempre
|
11
|
+
edit: Editar este archivo
|
12
|
+
form:
|
13
|
+
download_current: Descargar archivo actual
|
14
|
+
or: o
|
15
|
+
replace: " reemplazarlo por este otro..."
|
16
|
+
maximum_file_size: El peso máximo para el archivo es de %{bytes}.
|
17
|
+
resource:
|
18
|
+
download: Descargar este archivo (%{size})
|
19
|
+
actions:
|
20
|
+
upload_new: Subir nuevo archivo
|
21
|
+
records:
|
22
|
+
no_files_yet: Aún no hay archivos. Pulsa "Subir nuevo archivo" para añadir tu primer archivo.
|
23
|
+
insert:
|
24
|
+
existing: Archivo existente
|
25
|
+
new: Nuevo archivo
|
26
|
+
no_files: No hay archivos.
|
27
|
+
existing_resource:
|
28
|
+
link_to_file: Enlazar este archivo
|
29
|
+
button_text: Insertar
|
29
30
|
activerecord:
|
30
31
|
models:
|
31
|
-
resource: archivo
|
32
|
+
refinery/resource: archivo
|
32
33
|
errors:
|
33
34
|
models:
|
34
|
-
resource:
|
35
|
+
refinery/resource:
|
35
36
|
blank: Selecciona qué archivo quieres subir
|
36
|
-
|
37
|
+
too_big: El archivo debe pesar menos de %{size} bytes
|
data/config/locales/fi.yml
CHANGED
@@ -1,35 +1,36 @@
|
|
1
1
|
fi:
|
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: Tiedostot
|
6
|
+
description: Lisää tiedostoja
|
7
|
+
admin:
|
8
|
+
resources:
|
9
|
+
delete: Poista tämä tiedosto ikuisesti
|
10
|
+
edit: Muokkaa tätä tiedostoa
|
11
|
+
form:
|
12
|
+
download_current: Lataa nykyinen tiedosto
|
13
|
+
or: tai
|
14
|
+
replace: " vaihda se tähän tiedostoon..."
|
15
|
+
maximum_file_size: Suurin mahdollinen tiedostokoko on %{bytes}.
|
16
|
+
resource:
|
17
|
+
download: Lataa tämä tiedosto (%{size})
|
18
|
+
actions:
|
19
|
+
upload_new: Lisää uusi tiedosto
|
20
|
+
records:
|
21
|
+
no_files_yet: Tiedostoja ei ole vielä lisätty. Paina "Lisää uusi tiedosto-" painiketta lisätäksesi ensimmäisen tiedoston.
|
22
|
+
insert:
|
23
|
+
existing: Olemassaoleva tiedosto
|
24
|
+
new: Uusi tiedosto
|
25
|
+
no_files: Tiedostoja ei ole.
|
26
|
+
existing_resource:
|
27
|
+
link_to_file: Linkki tähän tiedostoon
|
28
|
+
button_text: Lisää
|
28
29
|
activerecord:
|
29
30
|
models:
|
30
|
-
resource: tiedosto
|
31
|
+
refinery/resource: tiedosto
|
31
32
|
errors:
|
32
33
|
models:
|
33
|
-
resource:
|
34
|
+
refinery/resource:
|
34
35
|
blank: Sinun pitää lähettää tiedosto
|
35
|
-
|
36
|
+
too_big: Tiedoston tulee olla pienempi kuin %{count} megatavua kooltaan
|
data/config/locales/fr.yml
CHANGED
@@ -1,35 +1,36 @@
|
|
1
1
|
fr:
|
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: Fichiers
|
6
|
+
description: Gestion des fichiers
|
7
|
+
admin:
|
8
|
+
resources:
|
9
|
+
delete: Supprimer définitivement ce fichier
|
10
|
+
edit: Modifier ce fichier
|
11
|
+
form:
|
12
|
+
download_current: Télécharger ce fichier
|
13
|
+
or: ou
|
14
|
+
replace: " le remplacer par celui-ci..."
|
15
|
+
maximum_file_size: "La taille du fichier ne doit pas excéder %{bytes}."
|
16
|
+
resource:
|
17
|
+
download: Télécharger ce fichier (%{size})
|
18
|
+
actions:
|
19
|
+
upload_new: Ajouter un nouveau fichier
|
20
|
+
records:
|
21
|
+
no_files_yet: Il n'y a actuellement aucun fichier. Cliquez sur 'Ajouter un nouveau fichier' afin d'en ajouter un.
|
22
|
+
insert:
|
23
|
+
existing: Fichier existant
|
24
|
+
new: Nouveau fichier
|
25
|
+
no_files: Il n'y a aucun fichier.
|
26
|
+
existing_resource:
|
27
|
+
link_to_file: Lien vers ce fichier
|
28
|
+
button_text: Insertion
|
28
29
|
activerecord:
|
29
30
|
models:
|
30
|
-
resource: fichier
|
31
|
+
refinery/resource: fichier
|
31
32
|
errors:
|
32
33
|
models:
|
33
|
-
resource:
|
34
|
+
refinery/resource:
|
34
35
|
blank: Vous devez spécifier un fichier à télécharger
|
35
|
-
|
36
|
+
too_big: Le poids maximal des fichiers est de %{size} megaoctets
|
data/config/locales/it.yml
CHANGED
@@ -1,44 +1,46 @@
|
|
1
1
|
it:
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
form:
|
10
|
-
file_to_upload: File da caricare
|
11
|
-
download_current: Scarica il file corrente
|
12
|
-
or: o
|
13
|
-
replace: ", sostituirlo con questo..."
|
14
|
-
maximum_file_size: "La dimensione massima consentita è %{megabytes} megabytes."
|
15
|
-
resource:
|
16
|
-
download: Scarica il file corrente (%{size})
|
2
|
+
refinery:
|
3
|
+
plugins:
|
4
|
+
refinery_files:
|
5
|
+
title: Risorse
|
6
|
+
admin:
|
7
|
+
resources:
|
8
|
+
delete: Elimina il file corrente
|
17
9
|
edit: Modifica il file corrente
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
10
|
+
form:
|
11
|
+
file_to_upload: File da caricare
|
12
|
+
download_current: Scarica il file corrente
|
13
|
+
or: o
|
14
|
+
replace: ", sostituirlo con questo..."
|
15
|
+
maximum_file_size: "La dimensione massima consentita è %{bytes}."
|
16
|
+
resource:
|
17
|
+
download: Scarica il file corrente (%{size})
|
18
|
+
edit: Modifica il file corrente
|
19
|
+
delete:
|
20
|
+
message: Sei sicuro di voler eliminare '%{title}'?
|
21
|
+
title: Elimina il file corrente
|
22
|
+
actions:
|
23
|
+
upload_new: Carica un nuovo file
|
24
|
+
records:
|
25
|
+
no_files_yet: Nessun file presente. Fai clic su "Carica un nuovo file" per aggiungere un file.
|
26
|
+
insert:
|
27
|
+
existing: File esistente
|
28
|
+
new: Nuovo file
|
29
|
+
no_files: Non ci sono files.
|
30
|
+
existing_file: File esistente
|
31
|
+
link_to_resource: 'Link a questa risorsa'
|
32
|
+
previous: Precedente
|
33
|
+
next: Successivo
|
34
|
+
submit_insert: Carica
|
35
|
+
or: o
|
36
|
+
cancel: Annulla
|
37
|
+
existing_resource:
|
38
|
+
link_to_file: Collegamento a questo file
|
39
|
+
button_text: Inserisci
|
39
40
|
activerecord:
|
40
41
|
errors:
|
41
42
|
models:
|
42
|
-
|
43
|
-
|
44
|
-
|
43
|
+
refinery:
|
44
|
+
resource:
|
45
|
+
blank: Devi selezionare un file da caricare
|
46
|
+
too_big: Le dimensioni del file devono essere inferiori a %{size} bytes
|
@@ -0,0 +1,36 @@
|
|
1
|
+
ja:
|
2
|
+
refinery:
|
3
|
+
plugins:
|
4
|
+
refinery_files:
|
5
|
+
title: ファイル
|
6
|
+
description: ファイルのアップロードと管理
|
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: 挿入
|
29
|
+
activerecord:
|
30
|
+
models:
|
31
|
+
refinery/resource: ファイル
|
32
|
+
errors:
|
33
|
+
models:
|
34
|
+
refinery/resource:
|
35
|
+
blank: アップロードするファイルを指定して下さい。
|
36
|
+
too_big: "ファイルは最大で%{size}MBまでです。"
|
@@ -0,0 +1,36 @@
|
|
1
|
+
ko:
|
2
|
+
refinery:
|
3
|
+
plugins:
|
4
|
+
refinery_files:
|
5
|
+
title: 파일
|
6
|
+
description: 새 파일을 업로드하거나 업로드된 파일을 링크합니다.
|
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: 삽입
|
29
|
+
activerecord:
|
30
|
+
models:
|
31
|
+
refinery/resource: 파일
|
32
|
+
errors:
|
33
|
+
models:
|
34
|
+
refinery/resource:
|
35
|
+
blank: 업로드할 파일을 선택해주세요.
|
36
|
+
too_big: 파일의 크기는 %{size}MB 이하여야 합니다.
|
data/config/locales/lt.yml
CHANGED
@@ -1,35 +1,36 @@
|
|
1
1
|
lt:
|
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: Failai
|
6
|
+
description: Įkelti ir sukurti nuorodą į failus
|
7
|
+
admin:
|
8
|
+
resources:
|
9
|
+
delete: Pašalinti failą visam laikui
|
10
|
+
edit: Redaguoti failą
|
11
|
+
form:
|
12
|
+
download_current: Parsisiųsti failą
|
13
|
+
or: arba
|
14
|
+
replace: " pakeisti jį šiuo..."
|
15
|
+
maximum_file_size: Maksimalus failo dydis yra %{bytes}.
|
16
|
+
resource:
|
17
|
+
download: Parsisiųsti failą (%{size})
|
18
|
+
actions:
|
19
|
+
upload_new: Įkelti naują failą
|
20
|
+
records:
|
21
|
+
no_files_yet: Dar nėra failų. Paspauskite "Įkelti naują failą" norėdami pridėti pirmąjį failą.
|
22
|
+
insert:
|
23
|
+
existing: Egzistuojantis failas
|
24
|
+
new: Naujas failas
|
25
|
+
no_files: Nėra failų.
|
26
|
+
existing_resource:
|
27
|
+
link_to_file: Nuoroda į šį failą
|
28
|
+
button_text: Įterpti
|
28
29
|
activerecord:
|
29
30
|
models:
|
30
|
-
resource: failas
|
31
|
+
refinery/resource: failas
|
31
32
|
errors:
|
32
33
|
models:
|
33
|
-
resource:
|
34
|
+
refinery/resource:
|
34
35
|
blank: Nurodykite failą įkėlimui
|
35
|
-
|
36
|
+
too_big: Failas turėtų būti mažesnio dydžio nei %{size} megabaitų
|
data/config/locales/lv.yml
CHANGED
@@ -1,35 +1,36 @@
|
|
1
1
|
lv:
|
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: Faili
|
6
|
+
description: Failu augšupielāde un sasaiste
|
7
|
+
admin:
|
8
|
+
resources:
|
9
|
+
delete: Dzēst šo failu
|
10
|
+
edit: Labot šo failu
|
11
|
+
form:
|
12
|
+
download_current: Lejupielādēt pašreizējo failu
|
13
|
+
or: vai
|
14
|
+
replace: " aizstāt to ar šo..."
|
15
|
+
maximum_file_size: Maksimāli pieļaujamais faila izmērs ir %{bytes}.
|
16
|
+
resource:
|
17
|
+
download: Lejupielādēt šo failu (%{size})
|
18
|
+
actions:
|
19
|
+
upload_new: Augšupielādēt failu
|
20
|
+
records:
|
21
|
+
no_files_yet: Vēl nav neviena faila. Spied "Augšupielādēt failu", lai ielādētu failu.
|
22
|
+
insert:
|
23
|
+
existing: Esošs Fails
|
24
|
+
new: Jauns Fails
|
25
|
+
no_files: Nav neviena faila.
|
26
|
+
existing_resource:
|
27
|
+
link_to_file: Saite uz šo failu
|
28
|
+
button_text: Ievietot
|
28
29
|
activerecord:
|
29
30
|
models:
|
30
|
-
resource: fails
|
31
|
+
refinery/resource: fails
|
31
32
|
errors:
|
32
33
|
models:
|
33
|
-
resource:
|
34
|
+
refinery/resource:
|
34
35
|
blank: Jānorāda fails pirms augšupielādes
|
35
|
-
|
36
|
+
too_big: Faila izmēram jābūt mazākam par %{size} megabaitiem
|