thredded 0.9.1 → 0.9.2
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 +4 -4
- data/README.md +3 -3
- data/app/views/thredded/shared/_currently_online.html.erb +3 -1
- data/config/locales/en.yml +1 -0
- data/config/locales/es.yml +183 -0
- data/config/locales/pt-BR.yml +1 -0
- data/db/migrate/20160329231848_create_thredded.rb +3 -3
- data/db/upgrade_migrations/20161113161801_upgrade_v0_8_to_v0_9.rb +3 -3
- data/lib/thredded/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e76d21e51d3bc6428426d243653ed0f5555d4916
|
|
4
|
+
data.tar.gz: d4377eb570b63bd8bcd128db7bf5249903945fb8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b0e3a812eab11284f1e920558bfc726a6a90b2cbb795adbf6cd266a27826a48e3c979c307aea304263dca3bd2b74d934a4b78fde33a9161c4da6f4747de95a17
|
|
7
|
+
data.tar.gz: 85b9df10620569a67659d1ffc537e5aa4587c649c01e389801672fb0ae2c360aaa2e5d6d89a1becd6c5a23cc3954f4d0dfa7eaf1d31f2d3f3255293a42e201cd
|
data/README.md
CHANGED
|
@@ -56,7 +56,7 @@ Then, see the rest of this Readme for more information about using and customizi
|
|
|
56
56
|
Add the gem to your Gemfile:
|
|
57
57
|
|
|
58
58
|
```ruby
|
|
59
|
-
gem 'thredded', '~> 0.9.
|
|
59
|
+
gem 'thredded', '~> 0.9.2'
|
|
60
60
|
```
|
|
61
61
|
|
|
62
62
|
Add the Thredded [initializer] to your parent app by running the install generator.
|
|
@@ -323,8 +323,8 @@ You can also turn off the email notifier totally, or add other notifiers (e.g. P
|
|
|
323
323
|
|
|
324
324
|
## I18n
|
|
325
325
|
|
|
326
|
-
Thredded is mostly internationalized. It is currently available in English
|
|
327
|
-
adding support for new languages.
|
|
326
|
+
Thredded is mostly internationalized. It is currently available in English, Brazilian Portuguese, and Spanish.
|
|
327
|
+
We welcome PRs adding support for new languages.
|
|
328
328
|
|
|
329
329
|
If you use thredded in languages other than English, you probably want to add `rails-i18n` to your Gemfile.
|
|
330
330
|
Additionally, you will need to require the translations for rails-timeago in you JavaScript,
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
<% if (users = active_users).present? %>
|
|
2
2
|
<aside data-thredded-currently-online class="thredded--currently-online">
|
|
3
3
|
<header>
|
|
4
|
-
<h3 class="thredded--currently-online--title open">
|
|
4
|
+
<h3 class="thredded--currently-online--title open">
|
|
5
|
+
<%= t "thredded.users.currently_online" %>
|
|
6
|
+
</h3>
|
|
5
7
|
</header>
|
|
6
8
|
|
|
7
9
|
<ul class="thredded--currently-online--users">
|
data/config/locales/en.yml
CHANGED
|
@@ -167,6 +167,7 @@ en:
|
|
|
167
167
|
unfollowed_notice: You are no longer following this topic
|
|
168
168
|
updated_notice: Topic updated
|
|
169
169
|
users:
|
|
170
|
+
currently_online: Currently Online
|
|
170
171
|
last_active_html: Last active %{time_ago}
|
|
171
172
|
posted_in_topic_html: Posted in %{topic_link}
|
|
172
173
|
posts_count:
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
---
|
|
2
|
+
es:
|
|
3
|
+
thredded:
|
|
4
|
+
content_moderation_states:
|
|
5
|
+
content_blocked_notice: Censurado
|
|
6
|
+
content_blocked_notice_with_record_html: Censurado por %{moderator} hace %{time_ago}
|
|
7
|
+
email_notifier:
|
|
8
|
+
by_email: vía email
|
|
9
|
+
errors:
|
|
10
|
+
login_required: Por favor, inicia sesión.
|
|
11
|
+
not_authorized: No estás autorizado para ver esta página.
|
|
12
|
+
private_topic_create_denied: No estás autorizado para crear temas privados.
|
|
13
|
+
private_topic_not_found: Este tema privado no existe.
|
|
14
|
+
form:
|
|
15
|
+
create_btn_submitting: Creando...
|
|
16
|
+
update: Actualizar
|
|
17
|
+
update_btn_submitting: Actualizando...
|
|
18
|
+
messageboard:
|
|
19
|
+
create: Crear un nuevo foro
|
|
20
|
+
form:
|
|
21
|
+
create_btn_submitting: :thredded.form.create_btn_submitting
|
|
22
|
+
no_group: Sin grupo
|
|
23
|
+
update_btn_submitting: :thredded.form.update_btn_submitting
|
|
24
|
+
index:
|
|
25
|
+
page_title: Foros
|
|
26
|
+
last_updated_by_html: Actualizado hace %{time_ago} <cite>por %{user}</cite>
|
|
27
|
+
topics_and_posts_counts: "%{topics_count} temas / %{posts_count} mensajes"
|
|
28
|
+
update: :thredded.form.update
|
|
29
|
+
updated_notice: Foro actualizado
|
|
30
|
+
messageboard_group:
|
|
31
|
+
create: Crear una Nueva Sección
|
|
32
|
+
form:
|
|
33
|
+
create_btn_submitting: :thredded.form.create_btn_submitting
|
|
34
|
+
saved: Sección %{name} creada
|
|
35
|
+
moderation:
|
|
36
|
+
approve_btn: Aprobar
|
|
37
|
+
block_btn: Rechazar
|
|
38
|
+
pending:
|
|
39
|
+
empty:
|
|
40
|
+
content: Todos los mensajes han sido moderados.
|
|
41
|
+
title: "¡Buen trabajo!"
|
|
42
|
+
post_approved_html: Mensaje aprobado por %{moderator} hace %{time_ago}.
|
|
43
|
+
post_blocked_html: Mensaje censurado por %{moderator} hace %{time_ago}.
|
|
44
|
+
post_deleted_notice: Este mensaje ha sido eliminado.
|
|
45
|
+
posts_content_changed_since_moderation_html: >-
|
|
46
|
+
El contenido del <a href="%{post_url}">mensaje</a> ha sido editado por un moderador. Debajo está el contenido
|
|
47
|
+
original del mensaje.
|
|
48
|
+
search_users:
|
|
49
|
+
form_label: Buscar usuarios
|
|
50
|
+
form_placeholder: :thredded.moderation.search_users.form_label
|
|
51
|
+
no_results_message: No existen usuarios con el nombre empezando por %{query}
|
|
52
|
+
results_message: Usuarios cuyo nombre empieza por %{query}
|
|
53
|
+
nav:
|
|
54
|
+
all_messageboards: Todos los Foros
|
|
55
|
+
edit_messageboard: Editar Foro
|
|
56
|
+
edit_post: Editar Mensaje
|
|
57
|
+
edit_private_topic: :thredded.nav.edit_topic
|
|
58
|
+
edit_topic: Editar
|
|
59
|
+
mark_all_read: Marcar todo como leído
|
|
60
|
+
moderation: Moderación
|
|
61
|
+
moderation_activity: Actividad
|
|
62
|
+
moderation_history: Historial
|
|
63
|
+
moderation_pending: Pendientes
|
|
64
|
+
moderation_users: Usuarios
|
|
65
|
+
private_topics: Mensajes Privados
|
|
66
|
+
settings: Ajuste de Notificaciones
|
|
67
|
+
null_user_name: Usuario eliminado
|
|
68
|
+
posts:
|
|
69
|
+
delete: Eliminar Mensaje
|
|
70
|
+
delete_confirm: "¿Estás seguro de que quieres eliminar este mensaje?"
|
|
71
|
+
deleted_notice: Tu mensaje ha sido eliminado.
|
|
72
|
+
edit: :thredded.nav.edit_post
|
|
73
|
+
form:
|
|
74
|
+
content_label: Contenido
|
|
75
|
+
create_btn: Responder
|
|
76
|
+
create_btn_submitting: Enviando...
|
|
77
|
+
update_btn: Actualizar Mensaje
|
|
78
|
+
update_btn_submitting: :thredded.form.update_btn_submitting
|
|
79
|
+
pending_moderation_notice: Tu post será publicado cuando haya sido revisado por un moderador.
|
|
80
|
+
preferences:
|
|
81
|
+
edit:
|
|
82
|
+
page_title: :thredded.nav.settings
|
|
83
|
+
form:
|
|
84
|
+
follow_topics_on_mention:
|
|
85
|
+
hint: 'Cuando alguien te menciona usando tu nombre de usuario (por ejemplo: @sam), seguirás el tema.'
|
|
86
|
+
label: Sigue temas en los que seas mencionado
|
|
87
|
+
global_preferences_label: Ajustes Generales
|
|
88
|
+
messageboard_follow_topics_on_mention:
|
|
89
|
+
hint: 'Cuando alguien te menciona usando tu nombre de usuario (por ejemplo: @sam) en este foro, seguirás
|
|
90
|
+
el tema.'
|
|
91
|
+
label: :thredded.preferences.form.follow_topics_on_mention.label
|
|
92
|
+
messageboard_notifications_for_followed_topics:
|
|
93
|
+
label: :thredded.preferences.form.notifications_for_followed_topics.label
|
|
94
|
+
messageboard_preferences_label_html: Ajustes de Notificaciones para <em>%{messageboard}</em>
|
|
95
|
+
notifications_for_followed_topics:
|
|
96
|
+
label: Notificaciones de temas seguidos
|
|
97
|
+
notifications_for_private_topics:
|
|
98
|
+
label: Notificaciones de mensajes privados
|
|
99
|
+
submit_btn: Actualizar Ajustes
|
|
100
|
+
title: Ajustes
|
|
101
|
+
update_btn_submitting: :thredded.form.update_btn_submitting
|
|
102
|
+
updated_notice: Tus ajustes han sido actualizados.
|
|
103
|
+
private_posts:
|
|
104
|
+
form:
|
|
105
|
+
content_label: Mensaje
|
|
106
|
+
create_btn: Enviar Mensaje
|
|
107
|
+
create_btn_submitting: Enviando...
|
|
108
|
+
update_btn_submitting: :thredded.form.update_btn_submitting
|
|
109
|
+
private_topics:
|
|
110
|
+
edit: Editar
|
|
111
|
+
errors:
|
|
112
|
+
user_ids_length: Por favor, introduce el nombre de al menos un usuario.
|
|
113
|
+
form:
|
|
114
|
+
content_label: :thredded.private_posts.form.content_label
|
|
115
|
+
create_btn: :thredded.private_posts.form.create_btn
|
|
116
|
+
create_btn_submitting: :thredded.private_posts.form.create_btn_submitting
|
|
117
|
+
title_label: :thredded.topics.form.title_label
|
|
118
|
+
title_placeholder_new: Escribe el asunto de la conversación
|
|
119
|
+
title_placeholder_start: Empezar una nueva conversación
|
|
120
|
+
update_btn: Actualizar
|
|
121
|
+
update_btn_submitting: :thredded.private_posts.form.update_btn_submitting
|
|
122
|
+
users_label: Participantes
|
|
123
|
+
users_placeholder: Selecciona usuarios para que participen en la conversación
|
|
124
|
+
no_private_topics:
|
|
125
|
+
create_btn: Empieza tu primera conversación privada
|
|
126
|
+
title: No tienes mensajes privados.
|
|
127
|
+
updated_notice: Título actualizado
|
|
128
|
+
recent_activity: Actividad reciente
|
|
129
|
+
search:
|
|
130
|
+
form:
|
|
131
|
+
btn_submit: :thredded.search.form.label
|
|
132
|
+
label: Buscar
|
|
133
|
+
placeholder: Busca Temas y Mensajes
|
|
134
|
+
time_ago: hace %{time}
|
|
135
|
+
topics:
|
|
136
|
+
delete_confirm: "¿Seguro que queires eliminar este tema? Esta acción NO se puede deshacer."
|
|
137
|
+
delete_topic: Eliminar Tema
|
|
138
|
+
deleted_notice: Tema eliminado
|
|
139
|
+
edit: Editar Tema
|
|
140
|
+
follow: Seguir este tema
|
|
141
|
+
followed_by: 'Seguido por:'
|
|
142
|
+
followed_by_noone: Nadie está siguiendo este tema
|
|
143
|
+
followed_notice: Estás siguiendo este tema
|
|
144
|
+
following:
|
|
145
|
+
manual: Estás siguiendo este tema.
|
|
146
|
+
mentioned: Estás siguiendo este tema porque alguien te ha mencionado en él.
|
|
147
|
+
posted: Estás siguiendo este tema porque has escrito en él.
|
|
148
|
+
form:
|
|
149
|
+
categories_placeholder: Categorías
|
|
150
|
+
content_label: :thredded.posts.form.content_label
|
|
151
|
+
create_btn: Crear Nuevo Tema
|
|
152
|
+
title_label: Título
|
|
153
|
+
title_placeholder: :thredded.topics.form.title_label
|
|
154
|
+
title_placeholder_start: Crear un Nuevo Tema
|
|
155
|
+
update_btn: Actualizar Tema
|
|
156
|
+
locked:
|
|
157
|
+
label: Bloqueado
|
|
158
|
+
not_following: No estás siguiendo este tema.
|
|
159
|
+
search:
|
|
160
|
+
no_results_message: No hay resultados para tu búsqueda - %{query}
|
|
161
|
+
page_title: Temas encontrados
|
|
162
|
+
results_message: Resultados de búsqueda para %{query}
|
|
163
|
+
started_by_html: Empezado hace %{time_ago} por %{user}
|
|
164
|
+
sticky:
|
|
165
|
+
label: Fijado
|
|
166
|
+
unfollow: Deja de seguir
|
|
167
|
+
unfollowed_notice: Has dejado de seguir este tema
|
|
168
|
+
updated_notice: Tema actualizado
|
|
169
|
+
users:
|
|
170
|
+
currently_online: En línea
|
|
171
|
+
last_active_html: Última vez activo hace %{time_ago}
|
|
172
|
+
posted_in_topic_html: Escribió en %{topic_link}
|
|
173
|
+
posts_count:
|
|
174
|
+
one: Ha escrito una vez
|
|
175
|
+
other: Ha escrito %{count} veces
|
|
176
|
+
recent_activity: :thredded.recent_activity
|
|
177
|
+
started_topic_html: Empezó %{topic_link}
|
|
178
|
+
started_topics_count:
|
|
179
|
+
one: Ha empezado un tema
|
|
180
|
+
other: Ha empezado %{count} temas
|
|
181
|
+
user_posted_in_topic_html: "%{user_link} escribió en %{topic_link}"
|
|
182
|
+
user_since_html: Usuario desde %{time_ago}
|
|
183
|
+
user_started_topic_html: "%{user_link} empezó %{topic_link}"
|
data/config/locales/pt-BR.yml
CHANGED
|
@@ -170,6 +170,7 @@ pt-BR:
|
|
|
170
170
|
unfollowed_notice: Você não está mais seguindo este tópico
|
|
171
171
|
updated_notice: Tópico atualizado
|
|
172
172
|
users:
|
|
173
|
+
currently_online: Atualmente Online
|
|
173
174
|
last_active_html: Última %{time_ago} ativa
|
|
174
175
|
posted_in_topic_html: Postou em %{topic_link}
|
|
175
176
|
posts_count:
|
|
@@ -217,14 +217,14 @@ class CreateThredded < ActiveRecord::Migration
|
|
|
217
217
|
|
|
218
218
|
create_table :thredded_notifications_for_private_topics do |t|
|
|
219
219
|
t.integer :user_id, null: false
|
|
220
|
-
t.string :notifier_key, null: false
|
|
220
|
+
t.string :notifier_key, null: false, limit: 90
|
|
221
221
|
t.boolean :enabled, default: true, null: false
|
|
222
222
|
t.index [:user_id, :notifier_key],
|
|
223
223
|
name: 'thredded_notifications_for_private_topics_unique', unique: true
|
|
224
224
|
end
|
|
225
225
|
create_table :thredded_notifications_for_followed_topics do |t|
|
|
226
226
|
t.integer :user_id, null: false
|
|
227
|
-
t.string :notifier_key, null: false
|
|
227
|
+
t.string :notifier_key, null: false, limit: 90
|
|
228
228
|
t.boolean :enabled, default: true, null: false
|
|
229
229
|
t.index [:user_id, :notifier_key],
|
|
230
230
|
name: 'thredded_notifications_for_followed_topics_unique', unique: true
|
|
@@ -232,7 +232,7 @@ class CreateThredded < ActiveRecord::Migration
|
|
|
232
232
|
create_table :thredded_messageboard_notifications_for_followed_topics do |t|
|
|
233
233
|
t.integer :user_id, null: false
|
|
234
234
|
t.integer :messageboard_id, null: false
|
|
235
|
-
t.string :notifier_key, null: false
|
|
235
|
+
t.string :notifier_key, null: false, limit: 90
|
|
236
236
|
t.boolean :enabled, default: true, null: false
|
|
237
237
|
t.index [:user_id, :messageboard_id, :notifier_key],
|
|
238
238
|
name: 'thredded_messageboard_notifications_for_followed_topics_unique', unique: true
|
|
@@ -4,14 +4,14 @@ class UpgradeV08ToV09 < ActiveRecord::Migration
|
|
|
4
4
|
def up
|
|
5
5
|
create_table :thredded_notifications_for_private_topics do |t|
|
|
6
6
|
t.integer :user_id, null: false
|
|
7
|
-
t.string :notifier_key, null: false
|
|
7
|
+
t.string :notifier_key, null: false, limit: 90
|
|
8
8
|
t.boolean :enabled, default: true, null: false
|
|
9
9
|
t.index [:user_id, :notifier_key],
|
|
10
10
|
name: 'thredded_notifications_for_private_topics_unique', unique: true
|
|
11
11
|
end
|
|
12
12
|
create_table :thredded_notifications_for_followed_topics do |t|
|
|
13
13
|
t.integer :user_id, null: false
|
|
14
|
-
t.string :notifier_key, null: false
|
|
14
|
+
t.string :notifier_key, null: false, limit: 90
|
|
15
15
|
t.boolean :enabled, default: true, null: false
|
|
16
16
|
t.index [:user_id, :notifier_key],
|
|
17
17
|
name: 'thredded_notifications_for_followed_topics_unique', unique: true
|
|
@@ -19,7 +19,7 @@ class UpgradeV08ToV09 < ActiveRecord::Migration
|
|
|
19
19
|
create_table :thredded_messageboard_notifications_for_followed_topics do |t|
|
|
20
20
|
t.integer :user_id, null: false
|
|
21
21
|
t.integer :messageboard_id, null: false
|
|
22
|
-
t.string :notifier_key, null: false
|
|
22
|
+
t.string :notifier_key, null: false, limit: 90
|
|
23
23
|
t.boolean :enabled, default: true, null: false
|
|
24
24
|
t.index [:user_id, :messageboard_id, :notifier_key],
|
|
25
25
|
name: 'thredded_messageboard_notifications_for_followed_topics_unique', unique: true
|
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.9.
|
|
4
|
+
version: 0.9.2
|
|
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: 2016-11-
|
|
12
|
+
date: 2016-11-26 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: pundit
|
|
@@ -864,6 +864,7 @@ files:
|
|
|
864
864
|
- bin/rails
|
|
865
865
|
- config/i18n-tasks.yml
|
|
866
866
|
- config/locales/en.yml
|
|
867
|
+
- config/locales/es.yml
|
|
867
868
|
- config/locales/pt-BR.yml
|
|
868
869
|
- config/routes.rb
|
|
869
870
|
- db/migrate/20160329231848_create_thredded.rb
|