thredded 0.14.0 → 0.14.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/app/assets/javascripts/thredded/components/topic_form.es6 +8 -1
- data/app/commands/thredded/create_messageboard.rb +4 -8
- data/app/views/thredded/users/_link.html.erb +6 -1
- data/config/locales/de.yml +8 -0
- data/config/locales/en.yml +8 -0
- data/config/locales/es.yml +8 -0
- data/config/locales/fr.yml +8 -0
- data/config/locales/it.yml +257 -0
- data/config/locales/pl.yml +8 -0
- data/config/locales/pt-BR.yml +8 -0
- data/config/locales/ru.yml +8 -0
- data/config/locales/zh-CN.yml +8 -0
- data/lib/generators/thredded/install/templates/initializer.rb +2 -0
- data/lib/thredded/version.rb +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e51fb06c46a1ac737586fd08eba81d5b6ae89859
|
4
|
+
data.tar.gz: 90d303e8f71a40f43933563765ca31c66e46db64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef37394887b6fdf54d90ac4f8827485aac03e771ba1006b6a909a79b424923455c3df3b5079032c26f05be5c3210f82ff2c8b65c9ab9be5827f38a6fca357b60
|
7
|
+
data.tar.gz: a7ba0cefb485cbdd85a5ff470faa8032bf31b5b11e50a0cf8a6a96e27d03b10acb27b7661c7af78c05c02103126591746d2035e7e0dcc913876f6fcee5e228cb
|
data/README.md
CHANGED
@@ -98,7 +98,7 @@ Then, see the rest of this Readme for more information about using and customizi
|
|
98
98
|
Add the gem to your Gemfile:
|
99
99
|
|
100
100
|
```ruby
|
101
|
-
gem 'thredded', '~> 0.14.
|
101
|
+
gem 'thredded', '~> 0.14.1'
|
102
102
|
```
|
103
103
|
|
104
104
|
Add the Thredded [initializer] to your parent app by running the install generator.
|
@@ -381,7 +381,7 @@ change_column_default :thredded_user_preferences, :auto_follow_topics, 1
|
|
381
381
|
## I18n
|
382
382
|
|
383
383
|
Thredded is mostly internationalized. It is currently available in English, Brazilian Portuguese, Chinese (Simplified),
|
384
|
-
German, Polish, Russian, French, and Spanish.
|
384
|
+
German, Polish, Italian, Russian, French, and Spanish.
|
385
385
|
We welcome PRs adding support for new languages.
|
386
386
|
|
387
387
|
Here are the steps to ensure the best support for your language if it isn't English:
|
@@ -18,6 +18,9 @@
|
|
18
18
|
|
19
19
|
const initTopicForm = (form) => {
|
20
20
|
const textarea = form.querySelector(CONTENT_TEXTAREA_SELECTOR);
|
21
|
+
if (!textarea) {
|
22
|
+
return;
|
23
|
+
}
|
21
24
|
autosize(textarea);
|
22
25
|
new ThreddedPreviewArea(form, textarea);
|
23
26
|
ThreddedMentionAutocompletion.init(form, textarea);
|
@@ -68,7 +71,11 @@
|
|
68
71
|
};
|
69
72
|
|
70
73
|
const destroyTopicForm = (form) => {
|
71
|
-
|
74
|
+
const textarea = form.querySelector(CONTENT_TEXTAREA_SELECTOR);
|
75
|
+
if (!textarea) {
|
76
|
+
return;
|
77
|
+
}
|
78
|
+
autosize.destroy(textarea);
|
72
79
|
};
|
73
80
|
|
74
81
|
Thredded.onPageLoad(() => {
|
@@ -23,23 +23,19 @@ module Thredded
|
|
23
23
|
messageboard: @messageboard,
|
24
24
|
user: @user,
|
25
25
|
postable: topic,
|
26
|
-
content:
|
26
|
+
content: first_topic_content
|
27
27
|
)
|
28
28
|
true
|
29
29
|
end
|
30
30
|
end
|
31
31
|
|
32
32
|
def first_topic_title
|
33
|
-
|
33
|
+
I18n.t('thredded.messageboard_first_topic.title')
|
34
34
|
end
|
35
35
|
|
36
|
-
def
|
36
|
+
def first_topic_content
|
37
37
|
<<-MARKDOWN
|
38
|
-
|
39
|
-
|
40
|
-
These forums are powered by [Thredded](https://github.com/thredded/thredded) v#{Thredded::VERSION}.
|
41
|
-
You can contact the Thredded team via the [Thredded chat room](https://gitter.im/thredded/thredded).
|
42
|
-
Please let us know that you are using Thredded by tweeting [@thredded](https://twitter.com/thredded)!
|
38
|
+
#{I18n.t('thredded.messageboard_first_topic.content', thredded_version: Thredded::VERSION)}
|
43
39
|
MARKDOWN
|
44
40
|
end
|
45
41
|
end
|
@@ -1,6 +1,11 @@
|
|
1
1
|
<% if user %>
|
2
2
|
<% if !user.thredded_anonymous? %>
|
3
|
-
|
3
|
+
<% user_path = user_path(user) %>
|
4
|
+
<% if user_path.blank? %>
|
5
|
+
<span class='thredded--username'><%= user.thredded_display_name %></span>
|
6
|
+
<% else %>
|
7
|
+
<a href="<%= user_path %>"><%= user.thredded_display_name %></a>
|
8
|
+
<% end %>
|
4
9
|
<% else %>
|
5
10
|
<%= user.thredded_display_name %>
|
6
11
|
<% end %>
|
data/config/locales/de.yml
CHANGED
@@ -68,6 +68,14 @@ de:
|
|
68
68
|
topics_and_posts_counts: "%{topics_count} Diskussionen / %{posts_count} Beiträge"
|
69
69
|
update: :thredded.form.update
|
70
70
|
updated_notice: Das Forum wurde aktualisiert
|
71
|
+
messageboard_first_topic:
|
72
|
+
content: |-
|
73
|
+
There's not a whole lot here for now.
|
74
|
+
|
75
|
+
These forums are powered by [Thredded](https://github.com/thredded/thredded) v%{thredded_version}.
|
76
|
+
You can contact the Thredded team via the [Thredded chat room](https://gitter.im/thredded/thredded).
|
77
|
+
Please let us know that you are using Thredded by tweeting [@thredded](https://twitter.com/thredded)!
|
78
|
+
title: Welcome to your messageboard's very first thread
|
71
79
|
messageboard_group:
|
72
80
|
create: Erstelle eine neue Gruppe
|
73
81
|
form:
|
data/config/locales/en.yml
CHANGED
@@ -67,6 +67,14 @@ en:
|
|
67
67
|
topics_and_posts_counts: "%{topics_count} topics / %{posts_count} posts"
|
68
68
|
update: :thredded.form.update
|
69
69
|
updated_notice: Messageboard has been updated
|
70
|
+
messageboard_first_topic:
|
71
|
+
content: |-
|
72
|
+
There's not a whole lot here for now.
|
73
|
+
|
74
|
+
These forums are powered by [Thredded](https://github.com/thredded/thredded) v%{thredded_version}.
|
75
|
+
You can contact the Thredded team via the [Thredded chat room](https://gitter.im/thredded/thredded).
|
76
|
+
Please let us know that you are using Thredded by tweeting [@thredded](https://twitter.com/thredded)!
|
77
|
+
title: Welcome to your messageboard's very first thread
|
70
78
|
messageboard_group:
|
71
79
|
create: Create a New Messageboard Group
|
72
80
|
form:
|
data/config/locales/es.yml
CHANGED
@@ -69,6 +69,14 @@ es:
|
|
69
69
|
topics_and_posts_counts: "%{topics_count} temas / %{posts_count} mensajes"
|
70
70
|
update: :thredded.form.update
|
71
71
|
updated_notice: Foro actualizado
|
72
|
+
messageboard_first_topic:
|
73
|
+
content: |-
|
74
|
+
There's not a whole lot here for now.
|
75
|
+
|
76
|
+
These forums are powered by [Thredded](https://github.com/thredded/thredded) v%{thredded_version}.
|
77
|
+
You can contact the Thredded team via the [Thredded chat room](https://gitter.im/thredded/thredded).
|
78
|
+
Please let us know that you are using Thredded by tweeting [@thredded](https://twitter.com/thredded)!
|
79
|
+
title: Welcome to your messageboard's very first thread
|
72
80
|
messageboard_group:
|
73
81
|
create: Crear una Nueva Sección
|
74
82
|
form:
|
data/config/locales/fr.yml
CHANGED
@@ -67,6 +67,14 @@ fr:
|
|
67
67
|
topics_and_posts_counts: "%{topics_count} sujets / %{posts_count} commentaires"
|
68
68
|
update: :thredded.form.update
|
69
69
|
updated_notice: La catégorie a été mise à jour
|
70
|
+
messageboard_first_topic:
|
71
|
+
content: |-
|
72
|
+
There's not a whole lot here for now.
|
73
|
+
|
74
|
+
These forums are powered by [Thredded](https://github.com/thredded/thredded) v%{thredded_version}.
|
75
|
+
You can contact the Thredded team via the [Thredded chat room](https://gitter.im/thredded/thredded).
|
76
|
+
Please let us know that you are using Thredded by tweeting [@thredded](https://twitter.com/thredded)!
|
77
|
+
title: Welcome to your messageboard's very first thread
|
70
78
|
messageboard_group:
|
71
79
|
create: Créer un nouveau groupe de catégorie
|
72
80
|
form:
|
@@ -0,0 +1,257 @@
|
|
1
|
+
---
|
2
|
+
it:
|
3
|
+
thredded:
|
4
|
+
content_moderation_states:
|
5
|
+
content_blocked_notice: Bloccato
|
6
|
+
content_blocked_notice_with_record_html: Bloccato da %{moderator} %{time_ago}
|
7
|
+
email_notifier:
|
8
|
+
by_email: via email
|
9
|
+
emails:
|
10
|
+
message_notification:
|
11
|
+
html:
|
12
|
+
email_sent_reason_html: >-
|
13
|
+
Ti è stata spedita questa mail perché %{user} ti ha incluso in una discussione privata, “<a href="%{post_url}">%{topic_title}</a>”.
|
14
|
+
post_lead_html: 'Un nuovo messaggio da %{user} in <a href="%{post_url}">“%{topic_title}”</a>:'
|
15
|
+
unsubscribe_instructions_html: :thredded.emails.post_notification.html.unsubscribe_instructions_html
|
16
|
+
subject: Un nuovo messaggio di %{user} in “%{topic_title}”
|
17
|
+
text:
|
18
|
+
email_sent_reason: |-
|
19
|
+
Ti è stata spedita questa mail perché %{user} ti ha incluso nel discussione privata “%{topic_title}”.
|
20
|
+
|
21
|
+
Vai qui per vedere la conversazione:
|
22
|
+
%{post_url}
|
23
|
+
post_lead: 'Un nuovo messaggio di %{user} in “%{topic_title}”:'
|
24
|
+
unsubscribe_instructions: :thredded.emails.post_notification.text.unsubscribe_instructions
|
25
|
+
post_notification:
|
26
|
+
html:
|
27
|
+
email_sent_reason_html: >-
|
28
|
+
Questa email ti è stata spedita perché stai seguendo questa discussione: “<a href="%{post_url}">%{topic_title}</a>”.
|
29
|
+
post_lead_html: '%{user} <a href="%{post_url}">ha detto in “%{topic_title}”</a>:'
|
30
|
+
unsubscribe_instructions_html: Per non ricevere più queste email, aggiorna le tue <a href="%{preferences_url}">preferenze</a>.
|
31
|
+
subject: Un nuovo messaggio in “%{topic_title}”
|
32
|
+
text:
|
33
|
+
email_sent_reason: |-
|
34
|
+
Questa email ti è stata spedita perché stai seguendo
|
35
|
+
la discussione “%{topic_title}”.
|
36
|
+
|
37
|
+
Vai qui per vedere la conversazione:
|
38
|
+
%{post_url}
|
39
|
+
post_lead: "%{user} ha detto in “%{topic_title}”:"
|
40
|
+
unsubscribe_instructions: |-
|
41
|
+
Per non riceve più queste email, aggiorna qui le tue preferenze:
|
42
|
+
%{unsubscribe_url}
|
43
|
+
errors:
|
44
|
+
login_required: Per visualizzare questa pagina bisogna accedere tramite login.
|
45
|
+
not_authorized: Non sei autorizzato a vedere questa pagina.
|
46
|
+
private_topic_create_denied: Non sei autorizzato a creare discussioni private.
|
47
|
+
private_topic_not_found: Questa discussione privata non esiste.
|
48
|
+
form:
|
49
|
+
create_btn_submitting: Creazione in corso...
|
50
|
+
preview: Anteprima
|
51
|
+
update: Aggiorna
|
52
|
+
update_btn_submitting: Aggiornamento in corso...
|
53
|
+
messageboard:
|
54
|
+
create: Crea una nuova bacheca
|
55
|
+
form:
|
56
|
+
create_btn_submitting: :thredded.form.create_btn_submitting
|
57
|
+
description_label: Descrizione
|
58
|
+
locked_label: Bloccato
|
59
|
+
locked_notice: Questa bacheca è bloccata. Solo i moderatori possono creare nuove discussioni qui.
|
60
|
+
messageboard_group_id_label: Gruppo bacheca
|
61
|
+
no_group: Nessun gruppo
|
62
|
+
title_label: Nome
|
63
|
+
update_btn_submitting: :thredded.form.update_btn_submitting
|
64
|
+
index:
|
65
|
+
page_title: Bacheche
|
66
|
+
last_updated_by_html: Aggiornato %{time_ago} <cite>da %{user}</cite>
|
67
|
+
topics_and_posts_counts: "%{topics_count} discussioni / %{posts_count} messaggi"
|
68
|
+
update: :thredded.form.update
|
69
|
+
updated_notice: La bacheca è stata aggiornata
|
70
|
+
messageboard_first_topic:
|
71
|
+
content: |-
|
72
|
+
Non c'è molto qui, per ora.
|
73
|
+
|
74
|
+
Questi forum girano su [Thredded](https://github.com/thredded/thredded) v%{thredded_version}.
|
75
|
+
Puoi contattare il team di Thredded attraverso [la chat room di Thredded](https://gitter.im/thredded/thredded).
|
76
|
+
Per favore, facci sapere che stai usando Thredded con un tweet a [@thredded](https://twitter.com/thredded)!
|
77
|
+
title: Benvenuto nella prima discussione di questa bacheca
|
78
|
+
messageboard_group:
|
79
|
+
create: Crea un nuovo Gruppo di bacheche
|
80
|
+
form:
|
81
|
+
create_btn_submitting: :thredded.form.create_btn_submitting
|
82
|
+
saved: Creato il gruppo di bacheche %{name}
|
83
|
+
moderation:
|
84
|
+
approve_btn: Approva
|
85
|
+
block_btn: Blocca
|
86
|
+
moderation_state:
|
87
|
+
name: Stato di moderazione
|
88
|
+
pending:
|
89
|
+
empty:
|
90
|
+
content: Tutti i messaggi sono stati moderati.
|
91
|
+
title: Ottimo lavoro!
|
92
|
+
post_approved_html: Post approvato da %{moderator} %{time_ago}.
|
93
|
+
post_blocked_html: Post bloccato da %{moderator} %{time_ago}.
|
94
|
+
post_deleted_notice: Questo messaggio è stato cancellato.
|
95
|
+
posts_content_changed_since_moderation_html: >-
|
96
|
+
Il contenuto del <a href="%{post_url}">messaggio</a> è cambiato per via di una moderazione. Qua sotto il
|
97
|
+
contenuto al momento in cui è stato modificato.
|
98
|
+
search_users:
|
99
|
+
form_label: Cerca utenti
|
100
|
+
form_placeholder: :thredded.moderation.search_users.form_label
|
101
|
+
no_results_message: Nessun utente col nome che inizia per %{query}
|
102
|
+
results_message: Utenti col nome che inizia per %{query}
|
103
|
+
user:
|
104
|
+
name: Utente
|
105
|
+
nav:
|
106
|
+
all_messageboards: Tutte le bacheche
|
107
|
+
edit_messageboard: Modifica bacheca
|
108
|
+
edit_post: Modifica Post
|
109
|
+
edit_private_topic: :thredded.nav.edit_topic
|
110
|
+
edit_topic: Modifica
|
111
|
+
mark_all_read: Segna tutto come già letto
|
112
|
+
moderation: Moderazione
|
113
|
+
moderation_activity: Attività
|
114
|
+
moderation_history: Storia
|
115
|
+
moderation_pending: Da fare (pending)
|
116
|
+
moderation_users: Utenti
|
117
|
+
private_topics: Messaggi Privati
|
118
|
+
settings: Impostazioni Notifiche
|
119
|
+
null_user_name: Utente cancellato
|
120
|
+
posts:
|
121
|
+
delete: Cancella messaggio
|
122
|
+
delete_confirm: Sei sicuro di voler cancellare questo messaggio?
|
123
|
+
deleted_notice: Il tuo messaggio è stato cancellato.
|
124
|
+
edit: :thredded.nav.edit_post
|
125
|
+
form:
|
126
|
+
content_label: Contenuto
|
127
|
+
create_btn: Invia risposta
|
128
|
+
create_btn_submitting: Invio in corso...
|
129
|
+
title_label: Crea messaggio
|
130
|
+
update_btn: Modifica messaggio
|
131
|
+
update_btn_submitting: :thredded.form.update_btn_submitting
|
132
|
+
pending_moderation_notice: Il tuo messaggio sarà pubblicato dopo essere stato controllato da un moderatore.
|
133
|
+
quote_btn: Citazione
|
134
|
+
preferences:
|
135
|
+
edit:
|
136
|
+
page_title: :thredded.nav.settings
|
137
|
+
form:
|
138
|
+
auto_follow_topics:
|
139
|
+
hint: >-
|
140
|
+
Segui automaticamente tutte le nuove discussioni. La modifica di questo parametro verrà applicata a
|
141
|
+
tutte le bacheche.
|
142
|
+
label: Segui tutte le nuove discussioni
|
143
|
+
follow_topics_on_mention:
|
144
|
+
hint: 'Quando qualcuno menziona il tuo nome utente (eg: @marco) seguirai automaticamente la discussione.'
|
145
|
+
label: Segui le discussioni in cui sei menzionato
|
146
|
+
messageboard_auto_follow_topics:
|
147
|
+
hint: >-
|
148
|
+
Segui automaticamente tutte le discussioni di questa bacheca. Questo non terrà conto delle rispettive
|
149
|
+
impostazioni di cui sopra.
|
150
|
+
label: Segui tutte le discussioni
|
151
|
+
messageboard_follow_topics_on_mention:
|
152
|
+
hint: >-
|
153
|
+
Quando qualcuno menziona il tuo nome utente (eg: @marco) in questa bacheca seguirai automaticamente
|
154
|
+
la discussione.
|
155
|
+
label: :thredded.preferences.form.follow_topics_on_mention.label
|
156
|
+
messageboard_notifications_for_followed_topics:
|
157
|
+
label: :thredded.preferences.form.notifications_for_followed_topics.label
|
158
|
+
notifications_for_followed_topics:
|
159
|
+
label: Notifiche per discussioni che stai seguendo
|
160
|
+
notifications_for_private_topics:
|
161
|
+
label: Notifiche per i messaggi privati
|
162
|
+
submit_btn: Aggiorna Impostazioni
|
163
|
+
update_btn_submitting: :thredded.form.update_btn_submitting
|
164
|
+
global_preferences_title: Impostazioni Globali
|
165
|
+
messageboard_preferences_nav_title: Impostazioni Bacheca
|
166
|
+
messageboard_preferences_title_html: Impostazioni per <em>%{messageboard}</em>
|
167
|
+
updated_notice: Le tue impostazioni sono state aggiornate.
|
168
|
+
private_posts:
|
169
|
+
form:
|
170
|
+
content_label: Messaggio
|
171
|
+
create_btn: Invia messaggio
|
172
|
+
create_btn_submitting: Invio in corso...
|
173
|
+
update_btn_submitting: :thredded.form.update_btn_submitting
|
174
|
+
private_topics:
|
175
|
+
create: :thredded.private_topics.form.create_btn
|
176
|
+
edit: Modifica
|
177
|
+
errors:
|
178
|
+
user_ids_length: Prego specificare almeno un altro utente.
|
179
|
+
form:
|
180
|
+
content_label: :thredded.private_posts.form.content_label
|
181
|
+
create_btn: :thredded.private_posts.form.create_btn
|
182
|
+
create_btn_submitting: :thredded.private_posts.form.create_btn_submitting
|
183
|
+
title_label: :thredded.topics.form.title_label
|
184
|
+
title_placeholder_new: Scrivi l'oggetto di questa conversazione
|
185
|
+
title_placeholder_start: Inizia una nuova conversazione
|
186
|
+
update_btn: Aggiorna
|
187
|
+
update_btn_submitting: :thredded.private_posts.form.update_btn_submitting
|
188
|
+
users_label: Partecipanti
|
189
|
+
users_placeholder: Seleziona gli utenti per farli partecipare a questa conversazione
|
190
|
+
no_private_topics:
|
191
|
+
create_btn: Inizia la tua prima conversazione privata
|
192
|
+
title: Non hai nessun messaggio privato.
|
193
|
+
updated_notice: Titolo aggiornato
|
194
|
+
recent_activity: Attività recenti
|
195
|
+
search:
|
196
|
+
form:
|
197
|
+
btn_submit: :thredded.search.form.label
|
198
|
+
label: Cerca
|
199
|
+
placeholder: Cerca
|
200
|
+
time_ago: "%{time} fa"
|
201
|
+
topics:
|
202
|
+
create: :thredded.topics.form.create_btn
|
203
|
+
delete_confirm: Sei sicuro di voler cancellare questa discussione? Attenzione NON sarà possibile tornare indietro.
|
204
|
+
delete_topic: Cancella discussione
|
205
|
+
deleted_notice: Discussione cancellata
|
206
|
+
edit: Modifica discussione
|
207
|
+
follow: Segui questa discussione
|
208
|
+
followed_by: 'Seguita da:'
|
209
|
+
followed_by_noone: Nessuno sta seguendo questa discussione
|
210
|
+
followed_notice: Ora stai seguendo questa discussione
|
211
|
+
following:
|
212
|
+
auto: Stai seguendo perché hai attivato Segui in automatico.
|
213
|
+
manual: Stai seguendo questa discussione.
|
214
|
+
mentioned: Stai seguendo perché sei stato menzionato.
|
215
|
+
posted: Stai seguendo perché hai scritto un messaggio.
|
216
|
+
form:
|
217
|
+
categories_placeholder: Categorie
|
218
|
+
content_label: :thredded.posts.form.content_label
|
219
|
+
create_btn: Crea una nuova discussione
|
220
|
+
messageboard_label: Bacheca
|
221
|
+
title_label: Titolo
|
222
|
+
title_placeholder: :thredded.topics.form.title_label
|
223
|
+
title_placeholder_start: Inizia una Nuova Discussione
|
224
|
+
update_btn: Aggiorna Discussione
|
225
|
+
locked:
|
226
|
+
label: Bloccata
|
227
|
+
message: Questa discussione è stata bloccata da un moderatore.
|
228
|
+
mark_as_unread: Segna come non letto
|
229
|
+
not_following: Non stai seguendo questa discussione.
|
230
|
+
search:
|
231
|
+
no_results_in_messageboard_message_html: Nessun risultato trovato per le ricerca <q>%{query}</q> in %{messageboard}
|
232
|
+
no_results_message_html: Nessun risultato trovato per le ricerca <q>%{query}</q>
|
233
|
+
page_title: Risutati Ricerca Discussioni
|
234
|
+
results_in_messageboard_message_html: Risultati della ricerca per <q>%{query}</q> in %{messageboard}
|
235
|
+
results_message_html: Risultati della ricerca per <q>%{query}</q>
|
236
|
+
search_in_all_messageboards_btn: Cerca ovunque
|
237
|
+
started_by_html: Iniziata %{time_ago}, da %{user}
|
238
|
+
sticky:
|
239
|
+
label: Blocca in cima
|
240
|
+
unfollow: Non seguire più questa discussione
|
241
|
+
unfollowed_notice: Ora non stai più seguendo questa discussione
|
242
|
+
updated_notice: Discussione aggiornata
|
243
|
+
users:
|
244
|
+
currently_online: Attualmente connessi
|
245
|
+
last_active_html: Ultima attività %{time_ago}
|
246
|
+
posted_in_topic_html: Ha scritto in %{topic_link}
|
247
|
+
posts_count:
|
248
|
+
one: Ha commentato una volta
|
249
|
+
other: Ha commentato %{count} volte
|
250
|
+
recent_activity: :thredded.recent_activity
|
251
|
+
started_topic_html: Ha iniziato %{topic_link}
|
252
|
+
started_topics_count:
|
253
|
+
one: Ha iniziato una discussione
|
254
|
+
other: Ha iniziato %{count} discussioni
|
255
|
+
user_posted_in_topic_html: "%{user_link} ha commentato in %{topic_link}"
|
256
|
+
user_since_html: Utente da %{time_ago}
|
257
|
+
user_started_topic_html: "%{user_link} ha iniziato %{topic_link}"
|
data/config/locales/pl.yml
CHANGED
@@ -67,6 +67,14 @@ pl:
|
|
67
67
|
topics_and_posts_counts: "%{topics_count} tematów / %{posts_count} postów"
|
68
68
|
update: :thredded.form.update
|
69
69
|
updated_notice: Tablica została zaktualizowana
|
70
|
+
messageboard_first_topic:
|
71
|
+
content: |-
|
72
|
+
There's not a whole lot here for now.
|
73
|
+
|
74
|
+
These forums are powered by [Thredded](https://github.com/thredded/thredded) v%{thredded_version}.
|
75
|
+
You can contact the Thredded team via the [Thredded chat room](https://gitter.im/thredded/thredded).
|
76
|
+
Please let us know that you are using Thredded by tweeting [@thredded](https://twitter.com/thredded)!
|
77
|
+
title: Welcome to your messageboard's very first thread
|
70
78
|
messageboard_group:
|
71
79
|
create: Stwórz nową Grupę
|
72
80
|
form:
|
data/config/locales/pt-BR.yml
CHANGED
@@ -69,6 +69,14 @@ pt-BR:
|
|
69
69
|
topics_and_posts_counts: "%{topics_count} tópicos / %{posts_count} posts"
|
70
70
|
update: :thredded.form.update
|
71
71
|
updated_notice: Fórum de mensagem foi atualizado
|
72
|
+
messageboard_first_topic:
|
73
|
+
content: |-
|
74
|
+
There's not a whole lot here for now.
|
75
|
+
|
76
|
+
These forums are powered by [Thredded](https://github.com/thredded/thredded) v%{thredded_version}.
|
77
|
+
You can contact the Thredded team via the [Thredded chat room](https://gitter.im/thredded/thredded).
|
78
|
+
Please let us know that you are using Thredded by tweeting [@thredded](https://twitter.com/thredded)!
|
79
|
+
title: Welcome to your messageboard's very first thread
|
72
80
|
messageboard_group:
|
73
81
|
create: Criar um novo grupo de mensagens
|
74
82
|
form:
|
data/config/locales/ru.yml
CHANGED
@@ -66,6 +66,14 @@ ru:
|
|
66
66
|
topics_and_posts_counts: "%{topics_count} тем / %{posts_count} постов"
|
67
67
|
update: :thredded.form.update
|
68
68
|
updated_notice: Форум обновлен
|
69
|
+
messageboard_first_topic:
|
70
|
+
content: |-
|
71
|
+
There's not a whole lot here for now.
|
72
|
+
|
73
|
+
These forums are powered by [Thredded](https://github.com/thredded/thredded) v%{thredded_version}.
|
74
|
+
You can contact the Thredded team via the [Thredded chat room](https://gitter.im/thredded/thredded).
|
75
|
+
Please let us know that you are using Thredded by tweeting [@thredded](https://twitter.com/thredded)!
|
76
|
+
title: Welcome to your messageboard's very first thread
|
69
77
|
messageboard_group:
|
70
78
|
create: Создать группу форумов
|
71
79
|
form:
|
data/config/locales/zh-CN.yml
CHANGED
@@ -64,6 +64,14 @@ zh-CN:
|
|
64
64
|
topics_and_posts_counts: "%{topics_count} 帖子 / %{posts_count} 回复"
|
65
65
|
update: :thredded.form.update
|
66
66
|
updated_notice: 板块已更新
|
67
|
+
messageboard_first_topic:
|
68
|
+
content: |-
|
69
|
+
There's not a whole lot here for now.
|
70
|
+
|
71
|
+
These forums are powered by [Thredded](https://github.com/thredded/thredded) v%{thredded_version}.
|
72
|
+
You can contact the Thredded team via the [Thredded chat room](https://gitter.im/thredded/thredded).
|
73
|
+
Please let us know that you are using Thredded by tweeting [@thredded](https://twitter.com/thredded)!
|
74
|
+
title: Welcome to your messageboard's very first thread
|
67
75
|
messageboard_group:
|
68
76
|
create: 创建一个新的板块分组
|
69
77
|
form:
|
@@ -19,6 +19,8 @@ Thredded.user_name_column = :name
|
|
19
19
|
# The path (or URL) you will use to link to your users' profiles.
|
20
20
|
# When linking to a user, Thredded will use this lambda to spit out
|
21
21
|
# the path or url to your user. This lambda is evaluated in the view context.
|
22
|
+
# If the lambda returns nil, a span element is returned instead of a link; so
|
23
|
+
# setting this to always return nil effectively disables all user links.
|
22
24
|
Thredded.user_path = lambda do |user|
|
23
25
|
user_path = :"#{Thredded.user_class_name.demodulize.underscore}_path"
|
24
26
|
main_app.respond_to?(user_path) ? main_app.send(user_path, user) : "/users/#{user.to_param}"
|
data/lib/thredded/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thredded
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.14.
|
4
|
+
version: 0.14.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Oliveira
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-01-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pundit
|
@@ -497,16 +497,16 @@ dependencies:
|
|
497
497
|
name: pg
|
498
498
|
requirement: !ruby/object:Gem::Requirement
|
499
499
|
requirements:
|
500
|
-
- - "
|
500
|
+
- - "~>"
|
501
501
|
- !ruby/object:Gem::Version
|
502
|
-
version: '0'
|
502
|
+
version: '0.21'
|
503
503
|
type: :development
|
504
504
|
prerelease: false
|
505
505
|
version_requirements: !ruby/object:Gem::Requirement
|
506
506
|
requirements:
|
507
|
-
- - "
|
507
|
+
- - "~>"
|
508
508
|
- !ruby/object:Gem::Version
|
509
|
-
version: '0'
|
509
|
+
version: '0.21'
|
510
510
|
- !ruby/object:Gem::Dependency
|
511
511
|
name: sqlite3
|
512
512
|
requirement: !ruby/object:Gem::Requirement
|
@@ -977,6 +977,7 @@ files:
|
|
977
977
|
- config/locales/en.yml
|
978
978
|
- config/locales/es.yml
|
979
979
|
- config/locales/fr.yml
|
980
|
+
- config/locales/it.yml
|
980
981
|
- config/locales/pl.yml
|
981
982
|
- config/locales/pt-BR.yml
|
982
983
|
- config/locales/ru.yml
|