decidim-gallery 0.0.4 → 0.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/cells/decidim/gallery/main/image.erb +1 -4
- data/app/cells/decidim/gallery/main_cell.rb +3 -1
- data/app/commands/decidim/gallery/admin/create_gallery_item.rb +1 -1
- data/app/commands/decidim/gallery/admin/publish_gallery_item.rb +1 -1
- data/app/commands/decidim/gallery/admin/unpublish_gallery_item.rb +1 -1
- data/app/commands/decidim/gallery/admin/update_gallery_item.rb +1 -1
- data/app/packs/src/decidim/gallery/gallery.js +2 -3
- data/app/packs/stylesheets/decidim/gallery/_gallery.scss +26 -0
- data/config/locales/ca.yml +82 -0
- data/config/locales/de.yml +82 -0
- data/config/locales/es.yml +82 -0
- data/config/locales/fr.yml +1 -1
- data/config/locales/it.yml +82 -0
- data/config/locales/ko.yml +82 -0
- data/config/locales/lt.yml +82 -0
- data/config/locales/ro.yml +2 -2
- data/lib/decidim/gallery/version.rb +1 -5
- data/lib/decidim/gallery.rb +8 -0
- metadata +33 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12697f97dcfad18058daa65bb529d85a724f052a7d54d40da65e0f7e7cfccbbf
|
4
|
+
data.tar.gz: 2e553720e26ac708f4f0b2611f5ed3961235bee39c4c853eb71f00fd448918d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 839bb955cc9a136843a0ec73010886e85dc4e17516b00cfb9180bb338a030b5ee5951889e65dc90e946066635a9ce1c314efc56bd5f9a85bcb809b4c0a9efa56
|
7
|
+
data.tar.gz: ada19e97473aa4a92b903eafd7166b2f3bf0d781e2a058dade7f5c34474206717022e6e805fa7d7d2f8aa582e96754ab55adba38f397835a37b6002f102c4c8b
|
@@ -4,9 +4,11 @@ module Decidim
|
|
4
4
|
module Gallery
|
5
5
|
class MainCell < Decidim::ViewModel
|
6
6
|
delegate :public_name_key, :has_settings?, to: :model
|
7
|
-
delegate :
|
7
|
+
delegate :snippets, to: :view_context
|
8
8
|
|
9
9
|
def show
|
10
|
+
snippets.add(:foot, helpers.javascript_pack_tag("decidim_gallery", defer: false))
|
11
|
+
|
10
12
|
render gallery_type.to_sym if gallery_component.present?
|
11
13
|
end
|
12
14
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Decidim
|
4
4
|
module Gallery
|
5
5
|
module Admin
|
6
|
-
class PublishGalleryItem <
|
6
|
+
class PublishGalleryItem < ::Decidim::Gallery.base_command_class
|
7
7
|
def initialize(gallery_item, current_user)
|
8
8
|
@gallery_item = gallery_item
|
9
9
|
@current_user = current_user
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Decidim
|
4
4
|
module Gallery
|
5
5
|
module Admin
|
6
|
-
class UnpublishGalleryItem <
|
6
|
+
class UnpublishGalleryItem < ::Decidim::Gallery.base_command_class
|
7
7
|
def initialize(gallery_item, current_user)
|
8
8
|
@gallery_item = gallery_item
|
9
9
|
@current_user = current_user
|
@@ -27,6 +27,7 @@ $(() => {
|
|
27
27
|
$('.gallery.image').masonry({
|
28
28
|
itemSelector: '.gallery-item',
|
29
29
|
});
|
30
|
+
addGalleryHandlers();
|
30
31
|
}).each(function() {
|
31
32
|
if(this.complete) {
|
32
33
|
$(this).trigger('load'); // For jQuery >= 3.0
|
@@ -37,6 +38,4 @@ $(() => {
|
|
37
38
|
$(window).trigger('resize');
|
38
39
|
});
|
39
40
|
|
40
|
-
});
|
41
|
-
|
42
|
-
document.addEventListener("DOMContentLoaded", function(event) { addGalleryHandlers(); });
|
41
|
+
});
|
@@ -1,3 +1,29 @@
|
|
1
|
+
@import "stylesheets/decidim/variables";
|
2
|
+
@import "stylesheets/decidim/utils/settings";
|
3
|
+
|
1
4
|
.gallery-item {
|
2
5
|
margin-bottom: 10px;
|
3
6
|
}
|
7
|
+
|
8
|
+
#galleryModal {
|
9
|
+
.orbit-next, .orbit-previous {
|
10
|
+
|
11
|
+
background-color: rgba($black, .15);
|
12
|
+
|
13
|
+
&:hover,
|
14
|
+
&:active,
|
15
|
+
&:focus {
|
16
|
+
background-color: $orbit-control-background-hover;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
.orbit-controls {
|
21
|
+
svg {
|
22
|
+
width: 1rem;
|
23
|
+
|
24
|
+
path {
|
25
|
+
stroke: $white;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
@@ -0,0 +1,82 @@
|
|
1
|
+
---
|
2
|
+
ca:
|
3
|
+
decidim:
|
4
|
+
components:
|
5
|
+
gallery:
|
6
|
+
name: Gallery
|
7
|
+
settings:
|
8
|
+
global:
|
9
|
+
additional_css: Additional CSS
|
10
|
+
announcement: Announcement
|
11
|
+
gallery_type: Type of Gallery
|
12
|
+
gallery_type_choices:
|
13
|
+
image: Image
|
14
|
+
video: Video
|
15
|
+
items_per_page: Items per page
|
16
|
+
items_per_page_choices:
|
17
|
+
'12': '12'
|
18
|
+
'15': '15'
|
19
|
+
'18': '18'
|
20
|
+
show_announcement: Display announcement
|
21
|
+
show_title: Show title
|
22
|
+
gallery:
|
23
|
+
actions:
|
24
|
+
confirm_destroy: Are you sure you want to delete?
|
25
|
+
confirm_unpublish: Are you sure you want to unpublish?
|
26
|
+
destroy: Delete
|
27
|
+
edit: Edit
|
28
|
+
new: New Gallery Item
|
29
|
+
publish: Publish
|
30
|
+
title: Actions
|
31
|
+
unpublish: Unpublish
|
32
|
+
admin:
|
33
|
+
formatted_text: Gallery %{component_name} in %{space_name}
|
34
|
+
gallery_item:
|
35
|
+
create:
|
36
|
+
invalid: Invalid
|
37
|
+
success: Valid
|
38
|
+
destroy:
|
39
|
+
success: Successfully deleted
|
40
|
+
edit:
|
41
|
+
save: Save
|
42
|
+
index:
|
43
|
+
title: Gallery
|
44
|
+
new:
|
45
|
+
create: Create
|
46
|
+
image:
|
47
|
+
title: New Gallery Image Item
|
48
|
+
video:
|
49
|
+
title: New Gallery Video Item
|
50
|
+
publish:
|
51
|
+
invalid: There was an error publishing resource
|
52
|
+
success: Successfully published
|
53
|
+
unpublish:
|
54
|
+
invalid: There was an error unpublishing resource
|
55
|
+
success: Successfully unpublished
|
56
|
+
update:
|
57
|
+
invalid: There was an error updating the resource
|
58
|
+
success: Successfully updated
|
59
|
+
main:
|
60
|
+
close_modal: Close
|
61
|
+
image:
|
62
|
+
few: "%{count} Photos"
|
63
|
+
one: 1 Photo
|
64
|
+
other: "%{count} Photos"
|
65
|
+
zero: No photos
|
66
|
+
load_more: View more
|
67
|
+
next_slide: Next
|
68
|
+
no_results: There are no gallery items
|
69
|
+
previous_slide: Previous
|
70
|
+
video:
|
71
|
+
few: "%{count} Videos"
|
72
|
+
one: 1 Video
|
73
|
+
other: "%{count} Videos"
|
74
|
+
zero: No Videos
|
75
|
+
models:
|
76
|
+
gallery_item:
|
77
|
+
fields:
|
78
|
+
created_at: Creation date
|
79
|
+
title: Title
|
80
|
+
weight: Weight
|
81
|
+
none: None
|
82
|
+
settings: Gallery Settings
|
@@ -0,0 +1,82 @@
|
|
1
|
+
---
|
2
|
+
de:
|
3
|
+
decidim:
|
4
|
+
components:
|
5
|
+
gallery:
|
6
|
+
name: Galerie
|
7
|
+
settings:
|
8
|
+
global:
|
9
|
+
additional_css: Zusätzliches CSS
|
10
|
+
announcement: Ankündigung
|
11
|
+
gallery_type: Art der Galerie
|
12
|
+
gallery_type_choices:
|
13
|
+
image: Bild
|
14
|
+
video: Video
|
15
|
+
items_per_page: Elemente pro Seite
|
16
|
+
items_per_page_choices:
|
17
|
+
'12': '12'
|
18
|
+
'15': '15'
|
19
|
+
'18': '18'
|
20
|
+
show_announcement: Ankündigung anzeigen
|
21
|
+
show_title: Titel anzeigen
|
22
|
+
gallery:
|
23
|
+
actions:
|
24
|
+
confirm_destroy: Sind Sie sicher, dass Sie löschen möchten?
|
25
|
+
confirm_unpublish: Möchten Sie die Veröffentlichung wirklich zurückziehen?
|
26
|
+
destroy: Löschen
|
27
|
+
edit: Bearbeiten
|
28
|
+
new: Neues Galerie-Element
|
29
|
+
publish: Publish
|
30
|
+
title: Actions
|
31
|
+
unpublish: Unpublish
|
32
|
+
admin:
|
33
|
+
formatted_text: Gallery %{component_name} in %{space_name}
|
34
|
+
gallery_item:
|
35
|
+
create:
|
36
|
+
invalid: Invalid
|
37
|
+
success: Valid
|
38
|
+
destroy:
|
39
|
+
success: Successfully deleted
|
40
|
+
edit:
|
41
|
+
save: Save
|
42
|
+
index:
|
43
|
+
title: Galerie
|
44
|
+
new:
|
45
|
+
create: Create
|
46
|
+
image:
|
47
|
+
title: New Gallery Image Item
|
48
|
+
video:
|
49
|
+
title: New Gallery Video Item
|
50
|
+
publish:
|
51
|
+
invalid: There was an error publishing resource
|
52
|
+
success: Successfully published
|
53
|
+
unpublish:
|
54
|
+
invalid: There was an error unpublishing resource
|
55
|
+
success: Successfully unpublished
|
56
|
+
update:
|
57
|
+
invalid: There was an error updating the resource
|
58
|
+
success: Successfully updated
|
59
|
+
main:
|
60
|
+
close_modal: Close
|
61
|
+
image:
|
62
|
+
few: "%{count} Photos"
|
63
|
+
one: 1 Photo
|
64
|
+
other: "%{count} Photos"
|
65
|
+
zero: No photos
|
66
|
+
load_more: View more
|
67
|
+
next_slide: Next
|
68
|
+
no_results: There are no gallery items
|
69
|
+
previous_slide: Previous
|
70
|
+
video:
|
71
|
+
few: "%{count} Videos"
|
72
|
+
one: 1 Video
|
73
|
+
other: "%{count} Videos"
|
74
|
+
zero: No Videos
|
75
|
+
models:
|
76
|
+
gallery_item:
|
77
|
+
fields:
|
78
|
+
created_at: Creation date
|
79
|
+
title: Title
|
80
|
+
weight: Weight
|
81
|
+
none: None
|
82
|
+
settings: Gallery Settings
|
@@ -0,0 +1,82 @@
|
|
1
|
+
---
|
2
|
+
es:
|
3
|
+
decidim:
|
4
|
+
components:
|
5
|
+
gallery:
|
6
|
+
name: Gallery
|
7
|
+
settings:
|
8
|
+
global:
|
9
|
+
additional_css: Additional CSS
|
10
|
+
announcement: Announcement
|
11
|
+
gallery_type: Type of Gallery
|
12
|
+
gallery_type_choices:
|
13
|
+
image: Image
|
14
|
+
video: Video
|
15
|
+
items_per_page: Items per page
|
16
|
+
items_per_page_choices:
|
17
|
+
'12': '12'
|
18
|
+
'15': '15'
|
19
|
+
'18': '18'
|
20
|
+
show_announcement: Display announcement
|
21
|
+
show_title: Show title
|
22
|
+
gallery:
|
23
|
+
actions:
|
24
|
+
confirm_destroy: Are you sure you want to delete?
|
25
|
+
confirm_unpublish: Are you sure you want to unpublish?
|
26
|
+
destroy: Delete
|
27
|
+
edit: Edit
|
28
|
+
new: New Gallery Item
|
29
|
+
publish: Publish
|
30
|
+
title: Actions
|
31
|
+
unpublish: Unpublish
|
32
|
+
admin:
|
33
|
+
formatted_text: Gallery %{component_name} in %{space_name}
|
34
|
+
gallery_item:
|
35
|
+
create:
|
36
|
+
invalid: Invalid
|
37
|
+
success: Valid
|
38
|
+
destroy:
|
39
|
+
success: Successfully deleted
|
40
|
+
edit:
|
41
|
+
save: Save
|
42
|
+
index:
|
43
|
+
title: Gallery
|
44
|
+
new:
|
45
|
+
create: Create
|
46
|
+
image:
|
47
|
+
title: New Gallery Image Item
|
48
|
+
video:
|
49
|
+
title: New Gallery Video Item
|
50
|
+
publish:
|
51
|
+
invalid: There was an error publishing resource
|
52
|
+
success: Successfully published
|
53
|
+
unpublish:
|
54
|
+
invalid: There was an error unpublishing resource
|
55
|
+
success: Successfully unpublished
|
56
|
+
update:
|
57
|
+
invalid: There was an error updating the resource
|
58
|
+
success: Successfully updated
|
59
|
+
main:
|
60
|
+
close_modal: Close
|
61
|
+
image:
|
62
|
+
few: "%{count} Photos"
|
63
|
+
one: 1 Photo
|
64
|
+
other: "%{count} Photos"
|
65
|
+
zero: No photos
|
66
|
+
load_more: View more
|
67
|
+
next_slide: Next
|
68
|
+
no_results: There are no gallery items
|
69
|
+
previous_slide: Previous
|
70
|
+
video:
|
71
|
+
few: "%{count} Videos"
|
72
|
+
one: 1 Video
|
73
|
+
other: "%{count} Videos"
|
74
|
+
zero: No Videos
|
75
|
+
models:
|
76
|
+
gallery_item:
|
77
|
+
fields:
|
78
|
+
created_at: Creation date
|
79
|
+
title: Title
|
80
|
+
weight: Weight
|
81
|
+
none: None
|
82
|
+
settings: Gallery Settings
|
data/config/locales/fr.yml
CHANGED
@@ -21,7 +21,7 @@ fr:
|
|
21
21
|
show_title: Afficher le titre
|
22
22
|
gallery:
|
23
23
|
actions:
|
24
|
-
confirm_destroy:
|
24
|
+
confirm_destroy: Êtes-vous sûr de vouloir supprimer ?
|
25
25
|
confirm_unpublish: Êtes-vous sûr de vouloir dépublier ?
|
26
26
|
destroy: Supprimer
|
27
27
|
edit: Modifier
|
@@ -0,0 +1,82 @@
|
|
1
|
+
---
|
2
|
+
it:
|
3
|
+
decidim:
|
4
|
+
components:
|
5
|
+
gallery:
|
6
|
+
name: Gallery
|
7
|
+
settings:
|
8
|
+
global:
|
9
|
+
additional_css: Additional CSS
|
10
|
+
announcement: Announcement
|
11
|
+
gallery_type: Type of Gallery
|
12
|
+
gallery_type_choices:
|
13
|
+
image: Image
|
14
|
+
video: Video
|
15
|
+
items_per_page: Items per page
|
16
|
+
items_per_page_choices:
|
17
|
+
'12': '12'
|
18
|
+
'15': '15'
|
19
|
+
'18': '18'
|
20
|
+
show_announcement: Display announcement
|
21
|
+
show_title: Show title
|
22
|
+
gallery:
|
23
|
+
actions:
|
24
|
+
confirm_destroy: Are you sure you want to delete?
|
25
|
+
confirm_unpublish: Are you sure you want to unpublish?
|
26
|
+
destroy: Delete
|
27
|
+
edit: Edit
|
28
|
+
new: New Gallery Item
|
29
|
+
publish: Publish
|
30
|
+
title: Actions
|
31
|
+
unpublish: Unpublish
|
32
|
+
admin:
|
33
|
+
formatted_text: Gallery %{component_name} in %{space_name}
|
34
|
+
gallery_item:
|
35
|
+
create:
|
36
|
+
invalid: Invalid
|
37
|
+
success: Valid
|
38
|
+
destroy:
|
39
|
+
success: Successfully deleted
|
40
|
+
edit:
|
41
|
+
save: Save
|
42
|
+
index:
|
43
|
+
title: Gallery
|
44
|
+
new:
|
45
|
+
create: Create
|
46
|
+
image:
|
47
|
+
title: New Gallery Image Item
|
48
|
+
video:
|
49
|
+
title: New Gallery Video Item
|
50
|
+
publish:
|
51
|
+
invalid: There was an error publishing resource
|
52
|
+
success: Successfully published
|
53
|
+
unpublish:
|
54
|
+
invalid: There was an error unpublishing resource
|
55
|
+
success: Successfully unpublished
|
56
|
+
update:
|
57
|
+
invalid: There was an error updating the resource
|
58
|
+
success: Successfully updated
|
59
|
+
main:
|
60
|
+
close_modal: Close
|
61
|
+
image:
|
62
|
+
few: "%{count} Photos"
|
63
|
+
one: 1 Photo
|
64
|
+
other: "%{count} Photos"
|
65
|
+
zero: No photos
|
66
|
+
load_more: View more
|
67
|
+
next_slide: Next
|
68
|
+
no_results: There are no gallery items
|
69
|
+
previous_slide: Previous
|
70
|
+
video:
|
71
|
+
few: "%{count} Videos"
|
72
|
+
one: 1 Video
|
73
|
+
other: "%{count} Videos"
|
74
|
+
zero: No Videos
|
75
|
+
models:
|
76
|
+
gallery_item:
|
77
|
+
fields:
|
78
|
+
created_at: Creation date
|
79
|
+
title: Title
|
80
|
+
weight: Weight
|
81
|
+
none: None
|
82
|
+
settings: Gallery Settings
|
@@ -0,0 +1,82 @@
|
|
1
|
+
---
|
2
|
+
ko:
|
3
|
+
decidim:
|
4
|
+
components:
|
5
|
+
gallery:
|
6
|
+
name: Gallery
|
7
|
+
settings:
|
8
|
+
global:
|
9
|
+
additional_css: Additional CSS
|
10
|
+
announcement: Announcement
|
11
|
+
gallery_type: Type of Gallery
|
12
|
+
gallery_type_choices:
|
13
|
+
image: Image
|
14
|
+
video: Video
|
15
|
+
items_per_page: Items per page
|
16
|
+
items_per_page_choices:
|
17
|
+
'12': '12'
|
18
|
+
'15': '15'
|
19
|
+
'18': '18'
|
20
|
+
show_announcement: Display announcement
|
21
|
+
show_title: Show title
|
22
|
+
gallery:
|
23
|
+
actions:
|
24
|
+
confirm_destroy: Are you sure you want to delete?
|
25
|
+
confirm_unpublish: Are you sure you want to unpublish?
|
26
|
+
destroy: Delete
|
27
|
+
edit: Edit
|
28
|
+
new: New Gallery Item
|
29
|
+
publish: Publish
|
30
|
+
title: Actions
|
31
|
+
unpublish: Unpublish
|
32
|
+
admin:
|
33
|
+
formatted_text: Gallery %{component_name} in %{space_name}
|
34
|
+
gallery_item:
|
35
|
+
create:
|
36
|
+
invalid: Invalid
|
37
|
+
success: Valid
|
38
|
+
destroy:
|
39
|
+
success: Successfully deleted
|
40
|
+
edit:
|
41
|
+
save: Save
|
42
|
+
index:
|
43
|
+
title: Gallery
|
44
|
+
new:
|
45
|
+
create: Create
|
46
|
+
image:
|
47
|
+
title: New Gallery Image Item
|
48
|
+
video:
|
49
|
+
title: New Gallery Video Item
|
50
|
+
publish:
|
51
|
+
invalid: There was an error publishing resource
|
52
|
+
success: Successfully published
|
53
|
+
unpublish:
|
54
|
+
invalid: There was an error unpublishing resource
|
55
|
+
success: Successfully unpublished
|
56
|
+
update:
|
57
|
+
invalid: There was an error updating the resource
|
58
|
+
success: Successfully updated
|
59
|
+
main:
|
60
|
+
close_modal: Close
|
61
|
+
image:
|
62
|
+
few: "%{count} Photos"
|
63
|
+
one: 1 Photo
|
64
|
+
other: "%{count} Photos"
|
65
|
+
zero: No photos
|
66
|
+
load_more: View more
|
67
|
+
next_slide: Next
|
68
|
+
no_results: There are no gallery items
|
69
|
+
previous_slide: Previous
|
70
|
+
video:
|
71
|
+
few: "%{count} Videos"
|
72
|
+
one: 1 Video
|
73
|
+
other: "%{count} Videos"
|
74
|
+
zero: No Videos
|
75
|
+
models:
|
76
|
+
gallery_item:
|
77
|
+
fields:
|
78
|
+
created_at: Creation date
|
79
|
+
title: Title
|
80
|
+
weight: Weight
|
81
|
+
none: None
|
82
|
+
settings: Gallery Settings
|
@@ -0,0 +1,82 @@
|
|
1
|
+
---
|
2
|
+
lt:
|
3
|
+
decidim:
|
4
|
+
components:
|
5
|
+
gallery:
|
6
|
+
name: Galerija
|
7
|
+
settings:
|
8
|
+
global:
|
9
|
+
additional_css: Papildomas CSS
|
10
|
+
announcement: Pranešimas
|
11
|
+
gallery_type: Galerijos tipas
|
12
|
+
gallery_type_choices:
|
13
|
+
image: Paveikslėlis
|
14
|
+
video: Vaizdo įrašas
|
15
|
+
items_per_page: Elementų kiekis puslapyje
|
16
|
+
items_per_page_choices:
|
17
|
+
'12': '12'
|
18
|
+
'15': '15'
|
19
|
+
'18': '18'
|
20
|
+
show_announcement: Rodyti pranešimą
|
21
|
+
show_title: Rodyti pavadinimą
|
22
|
+
gallery:
|
23
|
+
actions:
|
24
|
+
confirm_destroy: Ar tikrai norite pašalinti?
|
25
|
+
confirm_unpublish: Ar tikrai norite depublikuoti?
|
26
|
+
destroy: Ištrinti
|
27
|
+
edit: Redaguoti
|
28
|
+
new: Naujas galerijos elementas
|
29
|
+
publish: Skelbti
|
30
|
+
title: Veiksmai
|
31
|
+
unpublish: Depublikuoti
|
32
|
+
admin:
|
33
|
+
formatted_text: '%{component_name} galerija %{space_name} erdvėje'
|
34
|
+
gallery_item:
|
35
|
+
create:
|
36
|
+
invalid: Neteisingas
|
37
|
+
success: Teisingas
|
38
|
+
destroy:
|
39
|
+
success: Sėkmingai pašalinta
|
40
|
+
edit:
|
41
|
+
save: Išsaugoti
|
42
|
+
index:
|
43
|
+
title: Galerija
|
44
|
+
new:
|
45
|
+
create: Sukurti
|
46
|
+
image:
|
47
|
+
title: Naujas galerijos elementas
|
48
|
+
video:
|
49
|
+
title: Naujas galerijos video elementas
|
50
|
+
publish:
|
51
|
+
invalid: Skelbiant išteklį kilo problema
|
52
|
+
success: Sėkmingai paskelbta
|
53
|
+
unpublish:
|
54
|
+
invalid: Depublikuojant išteklį iškilo problema
|
55
|
+
success: Sėkmingai depublikuota
|
56
|
+
update:
|
57
|
+
invalid: Atnaujinant išteklį iškilo problema
|
58
|
+
success: Atnaujinta sėkmingai
|
59
|
+
main:
|
60
|
+
close_modal: Uždaryti
|
61
|
+
image:
|
62
|
+
few: "%{count} nuotraukos"
|
63
|
+
one: 1 nuotrauka
|
64
|
+
other: "%{count} nuotraukos"
|
65
|
+
zero: Nuotraukų nėra
|
66
|
+
load_more: Rodyti daugiau
|
67
|
+
next_slide: Kitas
|
68
|
+
no_results: Galerijos turinio nėra
|
69
|
+
previous_slide: Ankstesnis
|
70
|
+
video:
|
71
|
+
few: "%{count} vaizdo įrašai"
|
72
|
+
one: 1 vaizdo įrašas
|
73
|
+
other: "%{count} vaizdo įrašai"
|
74
|
+
zero: Nėra vaizdo įrašų
|
75
|
+
models:
|
76
|
+
gallery_item:
|
77
|
+
fields:
|
78
|
+
created_at: Sukūrimo data
|
79
|
+
title: Pavadinimas
|
80
|
+
weight: Svoris
|
81
|
+
none: Nė vienos
|
82
|
+
settings: Galerijos nustatymai
|
data/config/locales/ro.yml
CHANGED
@@ -59,19 +59,19 @@ ro:
|
|
59
59
|
main:
|
60
60
|
close_modal: Închide
|
61
61
|
image:
|
62
|
-
zero: 0 imagini
|
63
62
|
few: "%{count} Imagini"
|
64
63
|
one: 1 imagine
|
65
64
|
other: "%{count} Imagini"
|
65
|
+
zero: 0 imagini
|
66
66
|
load_more: Vezi mai multe
|
67
67
|
next_slide: Următorul
|
68
68
|
no_results: Nu există înregistrări
|
69
69
|
previous_slide: Anteriorul
|
70
70
|
video:
|
71
|
-
zero: 0 videoclipuri
|
72
71
|
few: "%{count} videoclipuri"
|
73
72
|
one: 1 videoclip
|
74
73
|
other: "%{count} videoclipuri"
|
74
|
+
zero: 0 videoclipuri
|
75
75
|
models:
|
76
76
|
gallery_item:
|
77
77
|
fields:
|
data/lib/decidim/gallery.rb
CHANGED
metadata
CHANGED
@@ -1,43 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-gallery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.26.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexandru-Emil Lupu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: decidim-admin
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 0.26.0
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 0.28.0
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: 0.26.0
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 0.28.0
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: decidim-core
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
|
-
- - "
|
37
|
+
- - ">="
|
32
38
|
- !ruby/object:Gem::Version
|
33
39
|
version: 0.26.0
|
40
|
+
- - "<"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 0.28.0
|
34
43
|
type: :runtime
|
35
44
|
prerelease: false
|
36
45
|
version_requirements: !ruby/object:Gem::Requirement
|
37
46
|
requirements:
|
38
|
-
- - "
|
47
|
+
- - ">="
|
39
48
|
- !ruby/object:Gem::Version
|
40
49
|
version: 0.26.0
|
50
|
+
- - "<"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 0.28.0
|
41
53
|
- !ruby/object:Gem::Dependency
|
42
54
|
name: deface
|
43
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,16 +68,22 @@ dependencies:
|
|
56
68
|
name: decidim-participatory_processes
|
57
69
|
requirement: !ruby/object:Gem::Requirement
|
58
70
|
requirements:
|
59
|
-
- - "
|
71
|
+
- - ">="
|
60
72
|
- !ruby/object:Gem::Version
|
61
73
|
version: 0.26.0
|
74
|
+
- - "<"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 0.28.0
|
62
77
|
type: :development
|
63
78
|
prerelease: false
|
64
79
|
version_requirements: !ruby/object:Gem::Requirement
|
65
80
|
requirements:
|
66
|
-
- - "
|
81
|
+
- - ">="
|
67
82
|
- !ruby/object:Gem::Version
|
68
83
|
version: 0.26.0
|
84
|
+
- - "<"
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 0.28.0
|
69
87
|
description: Decidim Gallery Module.
|
70
88
|
email:
|
71
89
|
- contact@alecslupu.ro
|
@@ -125,8 +143,14 @@ files:
|
|
125
143
|
- app/views/decidim/gallery/gallery/index.js.erb
|
126
144
|
- config/assets.rb
|
127
145
|
- config/i18n-tasks.yml
|
146
|
+
- config/locales/ca.yml
|
147
|
+
- config/locales/de.yml
|
128
148
|
- config/locales/en.yml
|
149
|
+
- config/locales/es.yml
|
129
150
|
- config/locales/fr.yml
|
151
|
+
- config/locales/it.yml
|
152
|
+
- config/locales/ko.yml
|
153
|
+
- config/locales/lt.yml
|
130
154
|
- config/locales/ro.yml
|
131
155
|
- lib/decidim/gallery.rb
|
132
156
|
- lib/decidim/gallery/admin.rb
|
@@ -158,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
182
|
- !ruby/object:Gem::Version
|
159
183
|
version: '0'
|
160
184
|
requirements: []
|
161
|
-
rubygems_version: 3.
|
185
|
+
rubygems_version: 3.2.22
|
162
186
|
signing_key:
|
163
187
|
specification_version: 4
|
164
188
|
summary: A decidim gallery module
|