decidim-notify 0.3 → 0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 70d464cc0b5f34c225c618a3b01240a8df6fb0ba1e5fbb08d51ceb12d2f95a0e
4
- data.tar.gz: 56b062dc888ef1dba844727218d1685ee91ef65e18542d49f537c1f4320ec7c8
3
+ metadata.gz: 6cda9fb6f92d4c096fc00bbaa40545217339b862d51770f7be553b3ebef79751
4
+ data.tar.gz: b2bd1a84e145972173269768322bd013a9593adfb17a27bf71adf4ddfeeda8e4
5
5
  SHA512:
6
- metadata.gz: e05aadcb9f9ff3b01d094520f0976e58c8fcffa00b59f1273906bcf2288272f723c3d442101b182dab3d1a3acac8acb552a22cdb3e16e74736521f4e9963b52f
7
- data.tar.gz: 0d588047b9350eea02c32610ca90f4b3eff6740f7db11239dfc998b73bba8c506e1b7bfb0bfa2dd9883ded9f88aa1a53d3a738b1ac16609d0cecbf3ebecae9f8
6
+ metadata.gz: 86abc812ea0dc7143a1bbb874855b027ba4625c6b9891664ed8d4b8ff9ac034ff772bbf133c14260be036bb28362ed2ae2134056957202be50a2873c14570f87
7
+ data.tar.gz: a5ed9d3668593357e2d8ff0d7879caf2420af6e5c66a22f33153ac77d66aa19530870952c446e65dce2a36ed4fdb634ad85a77009b7d382c860a830cb2586922
data/README.md CHANGED
@@ -19,7 +19,7 @@ Space.
19
19
  Add this line to your application's Gemfile:
20
20
 
21
21
  ```ruby
22
- gem "decidim-notify", "~> 0.3.0"
22
+ gem "decidim-notify", "~> 0.4.0"
23
23
  ```
24
24
 
25
25
  And then execute:
@@ -34,7 +34,7 @@ Depending on your Decidim version, choose the corresponding Plugin version to en
34
34
 
35
35
  | Notify version | Compatible Decidim versions |
36
36
  |---|---|
37
- | 0.3.x | 0.21.x - 0.23.x |
37
+ | 0.3.x | 0.21.x - 0.24.x |
38
38
 
39
39
  ### Configuration
40
40
 
@@ -9,6 +9,7 @@
9
9
  display: none;
10
10
  }
11
11
  .select2-container--foundation {
12
+ width: 100% !important;
12
13
  .select2-dropdown {
13
14
  border-radius: 4px;
14
15
  }
@@ -68,6 +69,7 @@
68
69
  textarea {
69
70
  border: 1px solid #cacaca;
70
71
  border-radius: 4px;
72
+ resize: vertical;
71
73
  }
72
74
  }
73
75
  input, textarea {
@@ -25,7 +25,7 @@ module Decidim
25
25
  elsif component.settings.restricted
26
26
  return allow! if user
27
27
  else
28
- return allow!
28
+ allow!
29
29
  end
30
30
  end
31
31
 
@@ -9,7 +9,7 @@ ca:
9
9
  chapter: Capítol
10
10
  code: Autor
11
11
  notify_config:
12
- note_takers: Prenedors de notes
12
+ note_takers: Prenedores de notes
13
13
  users: Participants
14
14
  decidim:
15
15
  components:
@@ -91,7 +91,6 @@ ca:
91
91
  anonymous_description: Aquesta conversa està restringida als seus participants. Inicieu sessió abans d’intentar accedir aquí.
92
92
  logged_description: Aquesta conversa està restringida als seus participants. Si creieu que hi hauríeu de ser, poseu-vos en contacte amb l’administrador.
93
93
  title: Conversa privada!
94
- reset: Restableix
95
94
  tip: 'Truc: utilitzeu CTRL + Retorn per publicar la vostra nota'
96
95
  update:
97
96
  error: S'ha produït un error al actualitzar la nota [%{message}]
@@ -2,109 +2,108 @@ cs:
2
2
  activemodel:
3
3
  attributes:
4
4
  chapter:
5
- active: Active
6
- title: Title
5
+ active: Aktivní
6
+ title: Název
7
7
  note:
8
- body: Statement
9
- chapter: Chapter
10
- code: Author
8
+ body: Prohlášení
9
+ chapter: Kapitola
10
+ code: Autor
11
11
  notify_config:
12
- note_takers: Note Takers
13
- users: Participants
12
+ note_takers: Přijímající poznámky
13
+ users: Účastníci
14
14
  decidim:
15
15
  components:
16
16
  notify:
17
- name: Notify
17
+ name: Upozornit
18
18
  settings:
19
19
  global:
20
- announcement: Announcement
21
- private: Private board (only participants can access it)
22
- restricted: Restricted board (only logged users can access it, non participants are accepted)
20
+ announcement: Oznámení
21
+ private: Soukromé fórum (pouze účastníci k němu mají přístup)
22
+ restricted: Omezené fórum (k němu mají přístup pouze přihlášení uživatelé, kteří nejsou účastníky)
23
23
  step:
24
- announcement: Announcement
24
+ announcement: Oznámení
25
25
  notify:
26
26
  admin:
27
27
  actions:
28
- title: Actions
28
+ title: Akce
29
29
  chapters:
30
30
  actions:
31
- new: New chapter
31
+ new: Nová kapitola
32
32
  create:
33
- error: Error creating the chapter
34
- success: Chapter created successfully
33
+ error: Chyba při vytváření kapitoly
34
+ success: Kapitola úspěšně vytvořena
35
35
  destroy:
36
- error: Error deleting the chapter
37
- success: Chapter deleted successfully
36
+ error: Chyba při odstraňování kapitoly
37
+ success: Kapitola úspěšně smazána
38
38
  edit:
39
- title: Edit chapter
40
- update: Update
39
+ title: Upravit kapitolu
40
+ update: Aktualizovat
41
41
  form:
42
- cancel: Cancel & back to chapters
42
+ cancel: Zrušit a vrátit se ke kapitolám
43
43
  index:
44
- conversations: Configure conversation
45
- title: Chapters
44
+ conversations: Konfigurace konverzace
45
+ title: Kapitoly
46
46
  new:
47
- create: Create
48
- title: New chapter
47
+ create: Vytvořit
48
+ title: Nová kapitola
49
49
  update:
50
- error: Error updating the chapter
51
- success: Chapter updated successfully
50
+ error: Chyba při aktualizaci kapitoly
51
+ success: Kapitola byla úspěšně aktualizována
52
52
  conversations:
53
- error: Error saving configuration [%{message}]
53
+ error: Chyba při ukládání konfigurace [%{message}]
54
54
  index:
55
- chapters: Configure chapters
55
+ chapters: Konfigurovat kapitoly
56
56
  help: |-
57
- <p>Notify lets you transcribe conversations between multiple people in real time (no page refresh required).</p>
58
- <p>Configure this tool by adding the participants and some note-takers:</p>
59
- <ul><li>Each participant will be assigned a number (starting at 1).</li>
60
- <li>Note takers are those participants who are allowed to transcribe the conversation.<br>
61
- Each transcribed note can be credited to a participant by writing their number or name.</li></ul>
62
- <p>To facilitate the process, all the participants' avatars and their numbers are shown next to the notes.</p>
63
- save: Save changes
64
- title: Participants for the conversation
65
- success: Configuration saved successfully
57
+ <p>Upozornění vám umožní přepsat konverzace mezi více lidmi v reálném čase (není vyžadována žádná obnova stránky).</p>
58
+ <p>Konfigurujte tento nástroj přidáním účastníků a některých přijímajících poznámek:</p>
59
+ <ul><li>Každému účastníkovi bude přiděleno číslo (počínaje 1).</li>
60
+ <li>Přijímající poznámek jsou účastníci, kteří mohou konverzaci přepsat.<br>
61
+ Každá přijatá poznámka může být připsána účastníkovi napsáním jejich čísla nebo jména.</li></ul>
62
+ <p>Pro usnadnění procesu jsou všechny avatary účastníků a jejich čísla zobrazeny vedle poznámek.</p>
63
+ save: Uložit změny
64
+ title: Účastníci konverzace
65
+ success: Konfigurace byla úspěšně uložena
66
66
  chapter:
67
- active: Active
68
- delete: Delete
67
+ active: Aktivní
68
+ delete: Smazat
69
69
  destroy:
70
- error: Error deleting the chapter
71
- sure: Are you sure to delete this chapter?
72
- edit: Edit chapter
73
- empty: Nothing has been said on this topic yet.
70
+ error: Chyba při odstraňování kapitoly
71
+ sure: Opravdu chcete odstranit tuto kapitolu?
72
+ edit: Upravit kapitolu
73
+ empty: K tomuto tématu zatím nebylo nic řečeno.
74
74
  update:
75
- error: Error updating the chapter [%{message}]
75
+ error: Chyba při aktualizaci kapitoly [%{message}]
76
76
  conversations:
77
77
  create:
78
- error: Error creating the note [%{message}]
78
+ error: Chyba při vytváření poznámky [%{message}]
79
79
  destroy:
80
- error: Error deleting the note
81
- sure: Are you sure to delete this note?
80
+ error: Chyba při odstraňování poznámky
81
+ sure: Opravdu chcete odstranit tuto poznámku?
82
82
  index:
83
- note_takers: Note Takers
84
- participants: Participants
85
- send: Send
83
+ note_takers: Přijímající poznámky
84
+ participants: Účastníci
85
+ send: Odeslat
86
86
  placeholders:
87
- author: Author, use the number or name
88
- chapter: Set the chapter
89
- statement: Write the statement...
87
+ author: Autor, použijte číslo nebo jméno
88
+ chapter: Nastavit kapitolu
89
+ statement: Napište prohlášení...
90
90
  private:
91
- anonymous_description: This conversation is restricted to its participants. Please log in before trying to access here.
92
- logged_description: This conversation is restricted to its participants. If you think that you should be in it, please contact the administrator.
93
- title: Private conversation!
94
- reset: Reset
95
- tip: 'Tip: use CTRL + Enter to publish your note'
91
+ anonymous_description: Tato konverzace je omezena na její účastníky. Před pokusem o přístup se prosím přihlaste.
92
+ logged_description: Tato konverzace je omezena na její účastníky. Pokud si myslíte, že byste v měli být, kontaktujte správce.
93
+ title: Soukromá konverzace!
94
+ tip: 'Tip: použijte CTRL + Enter pro publikování vaší poznámky'
96
95
  update:
97
- error: Error updating the note [%{message}]
96
+ error: Chyba při aktualizaci poznámky [%{message}]
98
97
  pages:
99
98
  home:
100
99
  statistics:
101
- notify_authors_count: Conversation participants
102
- notify_chapters_count: Conversation topics
103
- notify_conversations_count: Conversations
104
- notify_notes_count: Conversation notes
100
+ notify_authors_count: Účastníci konverzace
101
+ notify_chapters_count: Témata konverzací
102
+ notify_conversations_count: Konverzace
103
+ notify_notes_count: Poznámky ke konverzaci
105
104
  participatory_processes:
106
105
  statistics:
107
- notify_authors_count: Conversation participants
108
- notify_chapters_count: Conversation topics
109
- notify_conversations_count: Conversations
110
- notify_notes_count: Conversation notes
106
+ notify_authors_count: Účastníci konverzace
107
+ notify_chapters_count: Témata konverzací
108
+ notify_conversations_count: Konverzace
109
+ notify_notes_count: Poznámky ke konverzaci
@@ -9,7 +9,7 @@ es:
9
9
  chapter: Capítulo
10
10
  code: Autor
11
11
  notify_config:
12
- note_takers: Tomadores de Notas
12
+ note_takers: Tomadoras de Notas
13
13
  users: Participantes
14
14
  decidim:
15
15
  components:
@@ -91,7 +91,6 @@ es:
91
91
  anonymous_description: Esta conversación está restringida a sus participantes. Por favor, inicie sesión antes de intentar acceder aquí.
92
92
  logged_description: Esta conversación está restringida a sus participantes. Si crees que deberías estar en ella, por favor contacta al administrador.
93
93
  title: Conversación Privada!
94
- reset: Restablecer
95
94
  tip: 'Truco: usa CTRL + Enter para publicar tu nota'
96
95
  update:
97
96
  error: Error al actualizar la nota [%{message}]
@@ -78,9 +78,9 @@ Decidim.register_component(:notify) do |component|
78
78
  published_at: Time.current,
79
79
  participatory_space: participatory_space,
80
80
  settings: {
81
- announcement: { en: Faker::Lorem.paragraphs(2).join("\n") },
82
- private: Faker::Boolean.boolean(0.5),
83
- restricted: Faker::Boolean.boolean(0.5)
81
+ announcement: { en: Faker::Lorem.paragraphs(number: 2).join("\n") },
82
+ private: Faker::Boolean.boolean(true_ratio: 0.5),
83
+ restricted: Faker::Boolean.boolean(true_ratio: 0.5)
84
84
  }
85
85
  }
86
86
 
@@ -11,7 +11,7 @@ FactoryBot.define do
11
11
 
12
12
  factory :notify_note, class: "Decidim::Notify::Note" do
13
13
  component { create(:notify_component) }
14
- body { Faker::Lorem.sentences(3).join("\n") }
14
+ body { Faker::Lorem.sentences(number: 3).join("\n") }
15
15
  creator { create(:user) }
16
16
 
17
17
  trait :with_author do
@@ -25,7 +25,7 @@ FactoryBot.define do
25
25
 
26
26
  factory :notify_author, class: "Decidim::Notify::Author" do
27
27
  component { create(:notify_component) }
28
- code { Faker::Number.between(1, 20) }
28
+ code { Faker::Number.between(from: 1, to: 20) }
29
29
  # name { Faker::Name.name }
30
30
 
31
31
  trait :with_user do
@@ -39,7 +39,7 @@ FactoryBot.define do
39
39
 
40
40
  factory :notify_chapter, class: "Decidim::Notify::Chapter" do
41
41
  component { create(:notify_component) }
42
- title { Faker::Lorem.sentences(3).join("\n") }
42
+ title { Faker::Lorem.sentences(number: 3).join("\n") }
43
43
 
44
44
  trait :with_user do
45
45
  user { create(:user) }
@@ -3,7 +3,7 @@
3
3
  module Decidim
4
4
  # This holds the decidim-notify version.
5
5
  module Notify
6
- VERSION = "0.3"
6
+ VERSION = "0.4"
7
7
  MIN_DECIDIM_VERSION = ">= 0.21"
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-notify
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.3'
4
+ version: '0.4'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Vergés
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-13 00:00:00.000000000 Z
11
+ date: 2021-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-admin
@@ -163,7 +163,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
- version: '2.6'
166
+ version: '2.7'
167
167
  required_rubygems_version: !ruby/object:Gem::Requirement
168
168
  requirements:
169
169
  - - ">="