Patch #12664 » forum_widget_with_locales.diff
| app/controllers/my_controller.rb | ||
|---|---|---|
|
'news' => :label_news_latest,
|
||
|
'calendar' => :label_calendar,
|
||
|
'documents' => :label_document_plural,
|
||
|
'timelog' => :label_spent_time
|
||
|
'timelog' => :label_spent_time,
|
||
|
'forums' => :label_message_last_plural,
|
||
|
}.merge(Redmine::Views::MyPage::Block.additional_blocks).freeze
|
||
|
DEFAULT_LAYOUT = { 'left' => ['issuesassignedtome'],
|
||
| app/views/my/blocks/_forums.html.erb | ||
|---|---|---|
|
<h3><%=l(:label_message_plural)%></h3>
|
||
|
<% active_msgs = Message.joins(:board).where("#{Board.table_name}.project_id IN (#{@user.projects.collect{|m| m.id}.join(',')})").limit(5).order("id DESC") %>
|
||
|
<table class=list boards">
|
||
|
<thead>
|
||
|
<tr><th><%= l(:label_board) %></th><th><%= l(:field_subject) %></th><th><%= l(:field_author) %></th><th><%= l(:field_created_on) %></th></tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<% active_msgs.each do |active_msgs| %>
|
||
|
<tr class="<%= cycle 'odd', 'even' %>">
|
||
|
<td><%= link_to h(active_msgs.board.name), {:controller => 'boards', :action => 'show',
|
||
|
:id => active_msgs.board.id, :project_id => active_msgs.board.project}, :class => "board" %></td>
|
||
|
<td><%= link_to h(active_msgs.subject), { :controller => 'messages', :action => 'show', :board_id => active_msgs.board.id,
|
||
|
:id => active_msgs.id, :r => active_msgs, :anchor => "message-#{active_msgs.id}" } %>
|
||
|
<td><%=h active_msgs.author %></td>
|
||
|
<td><%= format_time(active_msgs.created_on) %></td>
|
||
|
</tr>
|
||
|
<% end %>
|
||
|
</tbody>
|
||
|
</table>
|
||
| config/locales/ar.yml | ||
|---|---|---|
|
label_topic_plural: المواضيع
|
||
|
label_message_plural: رسائل
|
||
|
label_message_last: آخر رسالة
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: رسالة جديدة
|
||
|
label_message_posted: تم اضافة الرسالة
|
||
|
label_reply_plural: الردود
|
||
| config/locales/bg.yml | ||
|---|---|---|
|
label_topic_plural: Теми
|
||
|
label_message_plural: Съобщения
|
||
|
label_message_last: Последно съобщение
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Нова тема
|
||
|
label_message_posted: Добавено съобщение
|
||
|
label_reply_plural: Отговори
|
||
| config/locales/bs.yml | ||
|---|---|---|
|
label_topic_plural: Teme
|
||
|
label_message_plural: Poruke
|
||
|
label_message_last: Posljednja poruka
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Nova poruka
|
||
|
label_message_posted: Poruka je dodana
|
||
|
label_reply_plural: Odgovori
|
||
| config/locales/ca.yml | ||
|---|---|---|
|
label_topic_plural: Temes
|
||
|
label_message_plural: Missatges
|
||
|
label_message_last: Últim missatge
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Missatge nou
|
||
|
label_message_posted: Missatge afegit
|
||
|
label_reply_plural: Respostes
|
||
| config/locales/cs.yml | ||
|---|---|---|
|
label_topic_plural: Témata
|
||
|
label_message_plural: Zprávy
|
||
|
label_message_last: Poslední zpráva
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Nová zpráva
|
||
|
label_message_posted: Zpráva přidána
|
||
|
label_reply_plural: Odpovědi
|
||
| config/locales/da.yml | ||
|---|---|---|
|
label_topic_plural: Emner
|
||
|
label_message_plural: Beskeder
|
||
|
label_message_last: Sidste besked
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Ny besked
|
||
|
label_message_posted: Besked tilføjet
|
||
|
label_reply_plural: Besvarer
|
||
| config/locales/de.yml | ||
|---|---|---|
|
label_topic_plural: Themen
|
||
|
label_message_plural: Forenbeiträge
|
||
|
label_message_last: Letzter Forenbeitrag
|
||
|
label_message_last_plural: Letzte Forenbeiträge
|
||
|
label_message_new: Neues Thema
|
||
|
label_message_posted: Forenbeitrag hinzugefügt
|
||
|
label_reply_plural: Antworten
|
||
| config/locales/el.yml | ||
|---|---|---|
|
label_topic_plural: Θέματα
|
||
|
label_message_plural: Μηνύματα
|
||
|
label_message_last: Τελευταίο μήνυμα
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Νέο μήνυμα
|
||
|
label_message_posted: Το μήνυμα προστέθηκε
|
||
|
label_reply_plural: Απαντήσεις
|
||
| config/locales/en-GB.yml | ||
|---|---|---|
|
label_topic_plural: Topics
|
||
|
label_message_plural: Messages
|
||
|
label_message_last: Last message
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: New message
|
||
|
label_message_posted: Message added
|
||
|
label_reply_plural: Replies
|
||
| config/locales/en.yml | ||
|---|---|---|
|
label_topic_plural: Topics
|
||
|
label_message_plural: Messages
|
||
|
label_message_last: Last message
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: New message
|
||
|
label_message_posted: Message added
|
||
|
label_reply_plural: Replies
|
||
| config/locales/es.yml | ||
|---|---|---|
|
label_member_new: Nuevo miembro
|
||
|
label_member_plural: Miembros
|
||
|
label_message_last: Último mensaje
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Nuevo mensaje
|
||
|
label_message_plural: Mensajes
|
||
|
label_message_posted: Mensaje añadido
|
||
| config/locales/et.yml | ||
|---|---|---|
|
label_topic_plural: "Teemad"
|
||
|
label_message_plural: "Postitused"
|
||
|
label_message_last: "Viimane postitus"
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: "Uus postitus"
|
||
|
label_message_posted: "Postitus lisatud"
|
||
|
label_reply_plural: "Vastused"
|
||
| config/locales/eu.yml | ||
|---|---|---|
|
label_topic_plural: Gaiak
|
||
|
label_message_plural: Mezuak
|
||
|
label_message_last: Azken mezua
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Mezu berria
|
||
|
label_message_posted: Mezua gehituta
|
||
|
label_reply_plural: Erantzunak
|
||
| config/locales/fa.yml | ||
|---|---|---|
|
label_topic_plural: سرفصل
|
||
|
label_message_plural: پیام
|
||
|
label_message_last: آخرین پیام
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: پیام تازه
|
||
|
label_message_posted: پیام افزوده شد
|
||
|
label_reply_plural: پاسخ
|
||
| config/locales/fi.yml | ||
|---|---|---|
|
label_topic_plural: Aiheet
|
||
|
label_message_plural: Viestit
|
||
|
label_message_last: Viimeisin viesti
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Uusi viesti
|
||
|
label_reply_plural: Vastaukset
|
||
|
label_send_information: Lähetä tilin tiedot käyttäjälle
|
||
| config/locales/fr.yml | ||
|---|---|---|
|
label_topic_plural: Discussions
|
||
|
label_message_plural: Messages
|
||
|
label_message_last: Dernier message
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Nouveau message
|
||
|
label_message_posted: Message ajouté
|
||
|
label_reply_plural: Réponses
|
||
| config/locales/gl.yml | ||
|---|---|---|
|
label_member_new: Novo membro
|
||
|
label_member_plural: Membros
|
||
|
label_message_last: Última mensaxe
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Nova mensaxe
|
||
|
label_message_plural: Mensaxes
|
||
|
label_message_posted: Mensaxe engadida
|
||
| config/locales/he.yml | ||
|---|---|---|
|
label_topic_plural: נושאים
|
||
|
label_message_plural: הודעות
|
||
|
label_message_last: הודעה אחרונה
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: הודעה חדשה
|
||
|
label_message_posted: הודעה נוספה
|
||
|
label_reply_plural: השבות
|
||
| config/locales/hr.yml | ||
|---|---|---|
|
label_topic_plural: Teme
|
||
|
label_message_plural: Poruke
|
||
|
label_message_last: Posljednja poruka
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Nova poruka
|
||
|
label_message_posted: Poruka dodana
|
||
|
label_reply_plural: Odgovori
|
||
| config/locales/hu.yml | ||
|---|---|---|
|
label_topic_plural: Témák
|
||
|
label_message_plural: Üzenetek
|
||
|
label_message_last: Utolsó üzenet
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Új üzenet
|
||
|
label_message_posted: Üzenet hozzáadva
|
||
|
label_reply_plural: Válaszok
|
||
| config/locales/id.yml | ||
|---|---|---|
|
label_topic_plural: Topik
|
||
|
label_message_plural: Pesan
|
||
|
label_message_last: Pesan terakhir
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Pesan baru
|
||
|
label_message_posted: Pesan ditambahkan
|
||
|
label_reply_plural: Balasan
|
||
| config/locales/it.yml | ||
|---|---|---|
|
label_topic_plural: Argomenti
|
||
|
label_message_plural: Messaggi
|
||
|
label_message_last: Ultimo messaggio
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Nuovo messaggio
|
||
|
label_reply_plural: Risposte
|
||
|
label_send_information: Invia all'utente le informazioni relative all'account
|
||
| config/locales/ja.yml | ||
|---|---|---|
|
label_topic_plural: トピック
|
||
|
label_message_plural: メッセージ
|
||
|
label_message_last: 最新のメッセージ
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: 新しいメッセージ
|
||
|
label_message_posted: メッセージが追加されました
|
||
|
label_reply_plural: 返答
|
||
| config/locales/ko.yml | ||
|---|---|---|
|
label_topic_plural: 주제
|
||
|
label_message_plural: 글
|
||
|
label_message_last: 마지막 글
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: 새글쓰기
|
||
|
label_message_posted: 글 추가
|
||
|
label_reply_plural: 답글
|
||
| config/locales/lt.yml | ||
|---|---|---|
|
label_topic_plural: Temos
|
||
|
label_message_plural: Pranešimai
|
||
|
label_message_last: Paskutinis pranešimas
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Naujas pranešimas
|
||
|
label_message_posted: Pranešimas pridėtas
|
||
|
label_reply_plural: Atsakymai
|
||
| config/locales/lv.yml | ||
|---|---|---|
|
label_topic_plural: Tēmas
|
||
|
label_message_plural: Ziņas
|
||
|
label_message_last: Pēdējā ziņa
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Jauna ziņa
|
||
|
label_message_posted: Ziņa pievienota
|
||
|
label_reply_plural: Atbildes
|
||
| config/locales/mk.yml | ||
|---|---|---|
|
label_topic_plural: Теми
|
||
|
label_message_plural: Пораки
|
||
|
label_message_last: Последна порака
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Нова порака
|
||
|
label_message_posted: Поракате е додадена
|
||
|
label_reply_plural: Одговори
|
||
| config/locales/mn.yml | ||
|---|---|---|
|
label_topic_plural: Сэдвүүд
|
||
|
label_message_plural: Зурвасууд
|
||
|
label_message_last: Сүүлийн зурвас
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Шинэ зурвас
|
||
|
label_message_posted: Зурвас нэмэгдлээ
|
||
|
label_reply_plural: Хариултууд
|
||
| config/locales/nl.yml | ||
|---|---|---|
|
label_member_new: Nieuw lid
|
||
|
label_member_plural: Leden
|
||
|
label_message_last: Laatste bericht
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Nieuw bericht
|
||
|
label_message_plural: Berichten
|
||
|
label_message_posted: Bericht toegevoegd
|
||
| config/locales/no.yml | ||
|---|---|---|
|
label_topic_plural: Emner
|
||
|
label_message_plural: Meldinger
|
||
|
label_message_last: Siste melding
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Ny melding
|
||
|
label_message_posted: Melding lagt til
|
||
|
label_reply_plural: Svar
|
||
| config/locales/pl.yml | ||
|---|---|---|
|
label_member_new: Nowy uczestnik
|
||
|
label_member_plural: Uczestnicy
|
||
|
label_message_last: Ostatnia wiadomość
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Nowa wiadomość
|
||
|
label_message_plural: Wiadomości
|
||
|
label_message_posted: Dodano wiadomość
|
||
| config/locales/pt-BR.yml | ||
|---|---|---|
|
label_topic_plural: Tópicos
|
||
|
label_message_plural: Mensagens
|
||
|
label_message_last: Última mensagem
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Nova mensagem
|
||
|
label_message_posted: Mensagem enviada
|
||
|
label_reply_plural: Respostas
|
||
| config/locales/pt.yml | ||
|---|---|---|
|
label_topic_plural: Tópicos
|
||
|
label_message_plural: Mensagens
|
||
|
label_message_last: Última mensagem
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Nova mensagem
|
||
|
label_message_posted: Mensagem adicionada
|
||
|
label_reply_plural: Respostas
|
||
| config/locales/ro.yml | ||
|---|---|---|
|
label_topic_plural: Subiecte
|
||
|
label_message_plural: Mesaje
|
||
|
label_message_last: Ultimul mesaj
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Mesaj nou
|
||
|
label_message_posted: Adăugat
|
||
|
label_reply_plural: Răspunsuri
|
||
| config/locales/ru.yml | ||
|---|---|---|
|
label_member: Участник
|
||
|
label_member_plural: Участники
|
||
|
label_message_last: Последнее сообщение
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Новое сообщение
|
||
|
label_message_plural: Сообщения
|
||
|
label_message_posted: Добавлено сообщение
|
||
| config/locales/sk.yml | ||
|---|---|---|
|
label_topic_plural: Témy
|
||
|
label_message_plural: Správy
|
||
|
label_message_last: Posledná správa
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Nová správa
|
||
|
label_message_posted: Správa pridaná
|
||
|
label_reply_plural: Odpovede
|
||
| config/locales/sl.yml | ||
|---|---|---|
|
label_topic_plural: Teme
|
||
|
label_message_plural: Sporočila
|
||
|
label_message_last: Zadnje sporočilo
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Novo sporočilo
|
||
|
label_message_posted: Sporočilo dodano
|
||
|
label_reply_plural: Odgovori
|
||
| config/locales/sq.yml | ||
|---|---|---|
|
label_topic_plural: Topics
|
||
|
label_message_plural: Messages
|
||
|
label_message_last: Last message
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: New message
|
||
|
label_message_posted: Message added
|
||
|
label_reply_plural: Replies
|
||
| config/locales/sr-YU.yml | ||
|---|---|---|
|
label_topic_plural: Teme
|
||
|
label_message_plural: Poruke
|
||
|
label_message_last: Poslednja poruka
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Nova poruka
|
||
|
label_message_posted: Poruka je dodata
|
||
|
label_reply_plural: Odgovori
|
||
| config/locales/sr.yml | ||
|---|---|---|
|
label_topic_plural: Теме
|
||
|
label_message_plural: Поруке
|
||
|
label_message_last: Последња порука
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Нова порука
|
||
|
label_message_posted: Порука је додата
|
||
|
label_reply_plural: Одговори
|
||
| config/locales/sv.yml | ||
|---|---|---|
|
label_topic_plural: Ämnen
|
||
|
label_message_plural: Meddelanden
|
||
|
label_message_last: Senaste meddelande
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Nytt meddelande
|
||
|
label_message_posted: Meddelande tillagt
|
||
|
label_reply_plural: Svar
|
||
| config/locales/th.yml | ||
|---|---|---|
|
label_topic_plural: หัวข้อ
|
||
|
label_message_plural: ข้อความ
|
||
|
label_message_last: ข้อความล่าสุด
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: เขียนข้อความใหม่
|
||
|
label_message_posted: ข้อความถูกเพิ่มแล้ว
|
||
|
label_reply_plural: ตอบกลับ
|
||
| config/locales/tr.yml | ||
|---|---|---|
|
label_topic_plural: Konular
|
||
|
label_message_plural: Mesajlar
|
||
|
label_message_last: Son mesaj
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Yeni mesaj
|
||
|
label_message_posted: Mesaj eklendi
|
||
|
label_reply_plural: Cevaplar
|
||
| config/locales/uk.yml | ||
|---|---|---|
|
label_topic_plural: Теми
|
||
|
label_message_plural: Повідомлення
|
||
|
label_message_last: Останнє повідомлення
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Нове повідомлення
|
||
|
label_reply_plural: Відповіді
|
||
|
label_send_information: Відправити користувачеві інформацію з облікового запису
|
||
| config/locales/vi.yml | ||
|---|---|---|
|
label_topic_plural: Chủ đề
|
||
|
label_message_plural: Diễn đàn
|
||
|
label_message_last: Bài cuối
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: Tạo bài mới
|
||
|
label_message_posted: Đã thêm bài viết
|
||
|
label_reply_plural: Hồi âm
|
||
| config/locales/zh-TW.yml | ||
|---|---|---|
|
label_topic_plural: 討論主題
|
||
|
label_message_plural: 訊息
|
||
|
label_message_last: 上一封訊息
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: 建立新訊息
|
||
|
label_message_posted: 訊息已新增
|
||
|
label_reply_plural: 回應
|
||
| config/locales/zh.yml | ||
|---|---|---|
|
label_topic_plural: 主题
|
||
|
label_message_plural: 帖子
|
||
|
label_message_last: 最新的帖子
|
||
|
label_message_last_plural: Last messages
|
||
|
label_message_new: 新贴
|
||
|
label_message_posted: 发帖成功
|
||
|
label_reply_plural: 回复
|
||