Patch #12664 » forum_widget_with_locales.diff
app/controllers/my_controller.rb | ||
---|---|---|
28 | 28 |
'news' => :label_news_latest, |
29 | 29 |
'calendar' => :label_calendar, |
30 | 30 |
'documents' => :label_document_plural, |
31 |
'timelog' => :label_spent_time |
|
31 |
'timelog' => :label_spent_time, |
|
32 |
'forums' => :label_message_last_plural, |
|
32 | 33 |
}.merge(Redmine::Views::MyPage::Block.additional_blocks).freeze |
33 | 34 | |
34 | 35 |
DEFAULT_LAYOUT = { 'left' => ['issuesassignedtome'], |
app/views/my/blocks/_forums.html.erb | ||
---|---|---|
1 |
<h3><%=l(:label_message_plural)%></h3> |
|
2 | ||
3 |
<% active_msgs = Message.joins(:board).where("#{Board.table_name}.project_id IN (#{@user.projects.collect{|m| m.id}.join(',')})").limit(5).order("id DESC") %> |
|
4 |
<table class=list boards"> |
|
5 |
<thead> |
|
6 |
<tr><th><%= l(:label_board) %></th><th><%= l(:field_subject) %></th><th><%= l(:field_author) %></th><th><%= l(:field_created_on) %></th></tr> |
|
7 |
</thead> |
|
8 |
<tbody> |
|
9 |
<% active_msgs.each do |active_msgs| %> |
|
10 |
<tr class="<%= cycle 'odd', 'even' %>"> |
|
11 |
<td><%= link_to h(active_msgs.board.name), {:controller => 'boards', :action => 'show', |
|
12 |
:id => active_msgs.board.id, :project_id => active_msgs.board.project}, :class => "board" %></td> |
|
13 |
<td><%= link_to h(active_msgs.subject), { :controller => 'messages', :action => 'show', :board_id => active_msgs.board.id, |
|
14 |
:id => active_msgs.id, :r => active_msgs, :anchor => "message-#{active_msgs.id}" } %> |
|
15 |
<td><%=h active_msgs.author %></td> |
|
16 |
<td><%= format_time(active_msgs.created_on) %></td> |
|
17 |
</tr> |
|
18 |
<% end %> |
|
19 |
</tbody> |
|
20 |
</table> |
config/locales/ar.yml | ||
---|---|---|
730 | 730 |
label_topic_plural: المواضيع |
731 | 731 |
label_message_plural: رسائل |
732 | 732 |
label_message_last: آخر رسالة |
733 |
label_message_last_plural: Last messages |
|
733 | 734 |
label_message_new: رسالة جديدة |
734 | 735 |
label_message_posted: تم اضافة الرسالة |
735 | 736 |
label_reply_plural: الردود |
config/locales/bg.yml | ||
---|---|---|
769 | 769 |
label_topic_plural: Теми |
770 | 770 |
label_message_plural: Съобщения |
771 | 771 |
label_message_last: Последно съобщение |
772 |
label_message_last_plural: Last messages |
|
772 | 773 |
label_message_new: Нова тема |
773 | 774 |
label_message_posted: Добавено съобщение |
774 | 775 |
label_reply_plural: Отговори |
config/locales/bs.yml | ||
---|---|---|
649 | 649 |
label_topic_plural: Teme |
650 | 650 |
label_message_plural: Poruke |
651 | 651 |
label_message_last: Posljednja poruka |
652 |
label_message_last_plural: Last messages |
|
652 | 653 |
label_message_new: Nova poruka |
653 | 654 |
label_message_posted: Poruka je dodana |
654 | 655 |
label_reply_plural: Odgovori |
config/locales/ca.yml | ||
---|---|---|
696 | 696 |
label_topic_plural: Temes |
697 | 697 |
label_message_plural: Missatges |
698 | 698 |
label_message_last: Últim missatge |
699 |
label_message_last_plural: Last messages |
|
699 | 700 |
label_message_new: Missatge nou |
700 | 701 |
label_message_posted: Missatge afegit |
701 | 702 |
label_reply_plural: Respostes |
config/locales/cs.yml | ||
---|---|---|
708 | 708 |
label_topic_plural: Témata |
709 | 709 |
label_message_plural: Zprávy |
710 | 710 |
label_message_last: Poslední zpráva |
711 |
label_message_last_plural: Last messages |
|
711 | 712 |
label_message_new: Nová zpráva |
712 | 713 |
label_message_posted: Zpráva přidána |
713 | 714 |
label_reply_plural: Odpovědi |
config/locales/da.yml | ||
---|---|---|
570 | 570 |
label_topic_plural: Emner |
571 | 571 |
label_message_plural: Beskeder |
572 | 572 |
label_message_last: Sidste besked |
573 |
label_message_last_plural: Last messages |
|
573 | 574 |
label_message_new: Ny besked |
574 | 575 |
label_message_posted: Besked tilføjet |
575 | 576 |
label_reply_plural: Besvarer |
config/locales/de.yml | ||
---|---|---|
709 | 709 |
label_topic_plural: Themen |
710 | 710 |
label_message_plural: Forenbeiträge |
711 | 711 |
label_message_last: Letzter Forenbeitrag |
712 |
label_message_last_plural: Letzte Forenbeiträge |
|
712 | 713 |
label_message_new: Neues Thema |
713 | 714 |
label_message_posted: Forenbeitrag hinzugefügt |
714 | 715 |
label_reply_plural: Antworten |
config/locales/el.yml | ||
---|---|---|
652 | 652 |
label_topic_plural: Θέματα |
653 | 653 |
label_message_plural: Μηνύματα |
654 | 654 |
label_message_last: Τελευταίο μήνυμα |
655 |
label_message_last_plural: Last messages |
|
655 | 656 |
label_message_new: Νέο μήνυμα |
656 | 657 |
label_message_posted: Το μήνυμα προστέθηκε |
657 | 658 |
label_reply_plural: Απαντήσεις |
config/locales/en-GB.yml | ||
---|---|---|
716 | 716 |
label_topic_plural: Topics |
717 | 717 |
label_message_plural: Messages |
718 | 718 |
label_message_last: Last message |
719 |
label_message_last_plural: Last messages |
|
719 | 720 |
label_message_new: New message |
720 | 721 |
label_message_posted: Message added |
721 | 722 |
label_reply_plural: Replies |
config/locales/en.yml | ||
---|---|---|
767 | 767 |
label_topic_plural: Topics |
768 | 768 |
label_message_plural: Messages |
769 | 769 |
label_message_last: Last message |
770 |
label_message_last_plural: Last messages |
|
770 | 771 |
label_message_new: New message |
771 | 772 |
label_message_posted: Message added |
772 | 773 |
label_reply_plural: Replies |
config/locales/es.yml | ||
---|---|---|
511 | 511 |
label_member_new: Nuevo miembro |
512 | 512 |
label_member_plural: Miembros |
513 | 513 |
label_message_last: Último mensaje |
514 |
label_message_last_plural: Last messages |
|
514 | 515 |
label_message_new: Nuevo mensaje |
515 | 516 |
label_message_plural: Mensajes |
516 | 517 |
label_message_posted: Mensaje añadido |
config/locales/et.yml | ||
---|---|---|
761 | 761 |
label_topic_plural: "Teemad" |
762 | 762 |
label_message_plural: "Postitused" |
763 | 763 |
label_message_last: "Viimane postitus" |
764 |
label_message_last_plural: Last messages |
|
764 | 765 |
label_message_new: "Uus postitus" |
765 | 766 |
label_message_posted: "Postitus lisatud" |
766 | 767 |
label_reply_plural: "Vastused" |
config/locales/eu.yml | ||
---|---|---|
676 | 676 |
label_topic_plural: Gaiak |
677 | 677 |
label_message_plural: Mezuak |
678 | 678 |
label_message_last: Azken mezua |
679 |
label_message_last_plural: Last messages |
|
679 | 680 |
label_message_new: Mezu berria |
680 | 681 |
label_message_posted: Mezua gehituta |
681 | 682 |
label_reply_plural: Erantzunak |
config/locales/fa.yml | ||
---|---|---|
704 | 704 |
label_topic_plural: سرفصل |
705 | 705 |
label_message_plural: پیام |
706 | 706 |
label_message_last: آخرین پیام |
707 |
label_message_last_plural: Last messages |
|
707 | 708 |
label_message_new: پیام تازه |
708 | 709 |
label_message_posted: پیام افزوده شد |
709 | 710 |
label_reply_plural: پاسخ |
config/locales/fi.yml | ||
---|---|---|
554 | 554 |
label_topic_plural: Aiheet |
555 | 555 |
label_message_plural: Viestit |
556 | 556 |
label_message_last: Viimeisin viesti |
557 |
label_message_last_plural: Last messages |
|
557 | 558 |
label_message_new: Uusi viesti |
558 | 559 |
label_reply_plural: Vastaukset |
559 | 560 |
label_send_information: Lähetä tilin tiedot käyttäjälle |
config/locales/fr.yml | ||
---|---|---|
750 | 750 |
label_topic_plural: Discussions |
751 | 751 |
label_message_plural: Messages |
752 | 752 |
label_message_last: Dernier message |
753 |
label_message_last_plural: Last messages |
|
753 | 754 |
label_message_new: Nouveau message |
754 | 755 |
label_message_posted: Message ajouté |
755 | 756 |
label_reply_plural: Réponses |
config/locales/gl.yml | ||
---|---|---|
486 | 486 |
label_member_new: Novo membro |
487 | 487 |
label_member_plural: Membros |
488 | 488 |
label_message_last: Última mensaxe |
489 |
label_message_last_plural: Last messages |
|
489 | 490 |
label_message_new: Nova mensaxe |
490 | 491 |
label_message_plural: Mensaxes |
491 | 492 |
label_message_posted: Mensaxe engadida |
config/locales/he.yml | ||
---|---|---|
701 | 701 |
label_topic_plural: נושאים |
702 | 702 |
label_message_plural: הודעות |
703 | 703 |
label_message_last: הודעה אחרונה |
704 |
label_message_last_plural: Last messages |
|
704 | 705 |
label_message_new: הודעה חדשה |
705 | 706 |
label_message_posted: הודעה נוספה |
706 | 707 |
label_reply_plural: השבות |
config/locales/hr.yml | ||
---|---|---|
667 | 667 |
label_topic_plural: Teme |
668 | 668 |
label_message_plural: Poruke |
669 | 669 |
label_message_last: Posljednja poruka |
670 |
label_message_last_plural: Last messages |
|
670 | 671 |
label_message_new: Nova poruka |
671 | 672 |
label_message_posted: Poruka dodana |
672 | 673 |
label_reply_plural: Odgovori |
config/locales/hu.yml | ||
---|---|---|
584 | 584 |
label_topic_plural: Témák |
585 | 585 |
label_message_plural: Üzenetek |
586 | 586 |
label_message_last: Utolsó üzenet |
587 |
label_message_last_plural: Last messages |
|
587 | 588 |
label_message_new: Új üzenet |
588 | 589 |
label_message_posted: Üzenet hozzáadva |
589 | 590 |
label_reply_plural: Válaszok |
config/locales/id.yml | ||
---|---|---|
658 | 658 |
label_topic_plural: Topik |
659 | 659 |
label_message_plural: Pesan |
660 | 660 |
label_message_last: Pesan terakhir |
661 |
label_message_last_plural: Last messages |
|
661 | 662 |
label_message_new: Pesan baru |
662 | 663 |
label_message_posted: Pesan ditambahkan |
663 | 664 |
label_reply_plural: Balasan |
config/locales/it.yml | ||
---|---|---|
513 | 513 |
label_topic_plural: Argomenti |
514 | 514 |
label_message_plural: Messaggi |
515 | 515 |
label_message_last: Ultimo messaggio |
516 |
label_message_last_plural: Last messages |
|
516 | 517 |
label_message_new: Nuovo messaggio |
517 | 518 |
label_reply_plural: Risposte |
518 | 519 |
label_send_information: Invia all'utente le informazioni relative all'account |
config/locales/ja.yml | ||
---|---|---|
746 | 746 |
label_topic_plural: トピック |
747 | 747 |
label_message_plural: メッセージ |
748 | 748 |
label_message_last: 最新のメッセージ |
749 |
label_message_last_plural: Last messages |
|
749 | 750 |
label_message_new: 新しいメッセージ |
750 | 751 |
label_message_posted: メッセージが追加されました |
751 | 752 |
label_reply_plural: 返答 |
config/locales/ko.yml | ||
---|---|---|
693 | 693 |
label_topic_plural: 주제 |
694 | 694 |
label_message_plural: 글 |
695 | 695 |
label_message_last: 마지막 글 |
696 |
label_message_last_plural: Last messages |
|
696 | 697 |
label_message_new: 새글쓰기 |
697 | 698 |
label_message_posted: 글 추가 |
698 | 699 |
label_reply_plural: 답글 |
config/locales/lt.yml | ||
---|---|---|
787 | 787 |
label_topic_plural: Temos |
788 | 788 |
label_message_plural: Pranešimai |
789 | 789 |
label_message_last: Paskutinis pranešimas |
790 |
label_message_last_plural: Last messages |
|
790 | 791 |
label_message_new: Naujas pranešimas |
791 | 792 |
label_message_posted: Pranešimas pridėtas |
792 | 793 |
label_reply_plural: Atsakymai |
config/locales/lv.yml | ||
---|---|---|
673 | 673 |
label_topic_plural: Tēmas |
674 | 674 |
label_message_plural: Ziņas |
675 | 675 |
label_message_last: Pēdējā ziņa |
676 |
label_message_last_plural: Last messages |
|
676 | 677 |
label_message_new: Jauna ziņa |
677 | 678 |
label_message_posted: Ziņa pievienota |
678 | 679 |
label_reply_plural: Atbildes |
config/locales/mk.yml | ||
---|---|---|
694 | 694 |
label_topic_plural: Теми |
695 | 695 |
label_message_plural: Пораки |
696 | 696 |
label_message_last: Последна порака |
697 |
label_message_last_plural: Last messages |
|
697 | 698 |
label_message_new: Нова порака |
698 | 699 |
label_message_posted: Поракате е додадена |
699 | 700 |
label_reply_plural: Одговори |
config/locales/mn.yml | ||
---|---|---|
679 | 679 |
label_topic_plural: Сэдвүүд |
680 | 680 |
label_message_plural: Зурвасууд |
681 | 681 |
label_message_last: Сүүлийн зурвас |
682 |
label_message_last_plural: Last messages |
|
682 | 683 |
label_message_new: Шинэ зурвас |
683 | 684 |
label_message_posted: Зурвас нэмэгдлээ |
684 | 685 |
label_reply_plural: Хариултууд |
config/locales/nl.yml | ||
---|---|---|
457 | 457 |
label_member_new: Nieuw lid |
458 | 458 |
label_member_plural: Leden |
459 | 459 |
label_message_last: Laatste bericht |
460 |
label_message_last_plural: Last messages |
|
460 | 461 |
label_message_new: Nieuw bericht |
461 | 462 |
label_message_plural: Berichten |
462 | 463 |
label_message_posted: Bericht toegevoegd |
config/locales/no.yml | ||
---|---|---|
556 | 556 |
label_topic_plural: Emner |
557 | 557 |
label_message_plural: Meldinger |
558 | 558 |
label_message_last: Siste melding |
559 |
label_message_last_plural: Last messages |
|
559 | 560 |
label_message_new: Ny melding |
560 | 561 |
label_message_posted: Melding lagt til |
561 | 562 |
label_reply_plural: Svar |
config/locales/pl.yml | ||
---|---|---|
481 | 481 |
label_member_new: Nowy uczestnik |
482 | 482 |
label_member_plural: Uczestnicy |
483 | 483 |
label_message_last: Ostatnia wiadomość |
484 |
label_message_last_plural: Last messages |
|
484 | 485 |
label_message_new: Nowa wiadomość |
485 | 486 |
label_message_plural: Wiadomości |
486 | 487 |
label_message_posted: Dodano wiadomość |
config/locales/pt-BR.yml | ||
---|---|---|
595 | 595 |
label_topic_plural: Tópicos |
596 | 596 |
label_message_plural: Mensagens |
597 | 597 |
label_message_last: Última mensagem |
598 |
label_message_last_plural: Last messages |
|
598 | 599 |
label_message_new: Nova mensagem |
599 | 600 |
label_message_posted: Mensagem enviada |
600 | 601 |
label_reply_plural: Respostas |
config/locales/pt.yml | ||
---|---|---|
581 | 581 |
label_topic_plural: Tópicos |
582 | 582 |
label_message_plural: Mensagens |
583 | 583 |
label_message_last: Última mensagem |
584 |
label_message_last_plural: Last messages |
|
584 | 585 |
label_message_new: Nova mensagem |
585 | 586 |
label_message_posted: Mensagem adicionada |
586 | 587 |
label_reply_plural: Respostas |
config/locales/ro.yml | ||
---|---|---|
633 | 633 |
label_topic_plural: Subiecte |
634 | 634 |
label_message_plural: Mesaje |
635 | 635 |
label_message_last: Ultimul mesaj |
636 |
label_message_last_plural: Last messages |
|
636 | 637 |
label_message_new: Mesaj nou |
637 | 638 |
label_message_posted: Adăugat |
638 | 639 |
label_reply_plural: Răspunsuri |
config/locales/ru.yml | ||
---|---|---|
563 | 563 |
label_member: Участник |
564 | 564 |
label_member_plural: Участники |
565 | 565 |
label_message_last: Последнее сообщение |
566 |
label_message_last_plural: Last messages |
|
566 | 567 |
label_message_new: Новое сообщение |
567 | 568 |
label_message_plural: Сообщения |
568 | 569 |
label_message_posted: Добавлено сообщение |
config/locales/sk.yml | ||
---|---|---|
563 | 563 |
label_topic_plural: Témy |
564 | 564 |
label_message_plural: Správy |
565 | 565 |
label_message_last: Posledná správa |
566 |
label_message_last_plural: Last messages |
|
566 | 567 |
label_message_new: Nová správa |
567 | 568 |
label_message_posted: Správa pridaná |
568 | 569 |
label_reply_plural: Odpovede |
config/locales/sl.yml | ||
---|---|---|
625 | 625 |
label_topic_plural: Teme |
626 | 626 |
label_message_plural: Sporočila |
627 | 627 |
label_message_last: Zadnje sporočilo |
628 |
label_message_last_plural: Last messages |
|
628 | 629 |
label_message_new: Novo sporočilo |
629 | 630 |
label_message_posted: Sporočilo dodano |
630 | 631 |
label_reply_plural: Odgovori |
config/locales/sq.yml | ||
---|---|---|
744 | 744 |
label_topic_plural: Topics |
745 | 745 |
label_message_plural: Messages |
746 | 746 |
label_message_last: Last message |
747 |
label_message_last_plural: Last messages |
|
747 | 748 |
label_message_new: New message |
748 | 749 |
label_message_posted: Message added |
749 | 750 |
label_reply_plural: Replies |
config/locales/sr-YU.yml | ||
---|---|---|
693 | 693 |
label_topic_plural: Teme |
694 | 694 |
label_message_plural: Poruke |
695 | 695 |
label_message_last: Poslednja poruka |
696 |
label_message_last_plural: Last messages |
|
696 | 697 |
label_message_new: Nova poruka |
697 | 698 |
label_message_posted: Poruka je dodata |
698 | 699 |
label_reply_plural: Odgovori |
config/locales/sr.yml | ||
---|---|---|
691 | 691 |
label_topic_plural: Теме |
692 | 692 |
label_message_plural: Поруке |
693 | 693 |
label_message_last: Последња порука |
694 |
label_message_last_plural: Last messages |
|
694 | 695 |
label_message_new: Нова порука |
695 | 696 |
label_message_posted: Порука је додата |
696 | 697 |
label_reply_plural: Одговори |
config/locales/sv.yml | ||
---|---|---|
786 | 786 |
label_topic_plural: Ämnen |
787 | 787 |
label_message_plural: Meddelanden |
788 | 788 |
label_message_last: Senaste meddelande |
789 |
label_message_last_plural: Last messages |
|
789 | 790 |
label_message_new: Nytt meddelande |
790 | 791 |
label_message_posted: Meddelande tillagt |
791 | 792 |
label_reply_plural: Svar |
config/locales/th.yml | ||
---|---|---|
561 | 561 |
label_topic_plural: หัวข้อ |
562 | 562 |
label_message_plural: ข้อความ |
563 | 563 |
label_message_last: ข้อความล่าสุด |
564 |
label_message_last_plural: Last messages |
|
564 | 565 |
label_message_new: เขียนข้อความใหม่ |
565 | 566 |
label_message_posted: ข้อความถูกเพิ่มแล้ว |
566 | 567 |
label_reply_plural: ตอบกลับ |
config/locales/tr.yml | ||
---|---|---|
583 | 583 |
label_topic_plural: Konular |
584 | 584 |
label_message_plural: Mesajlar |
585 | 585 |
label_message_last: Son mesaj |
586 |
label_message_last_plural: Last messages |
|
586 | 587 |
label_message_new: Yeni mesaj |
587 | 588 |
label_message_posted: Mesaj eklendi |
588 | 589 |
label_reply_plural: Cevaplar |
config/locales/uk.yml | ||
---|---|---|
521 | 521 |
label_topic_plural: Теми |
522 | 522 |
label_message_plural: Повідомлення |
523 | 523 |
label_message_last: Останнє повідомлення |
524 |
label_message_last_plural: Last messages |
|
524 | 525 |
label_message_new: Нове повідомлення |
525 | 526 |
label_reply_plural: Відповіді |
526 | 527 |
label_send_information: Відправити користувачеві інформацію з облікового запису |
config/locales/vi.yml | ||
---|---|---|
625 | 625 |
label_topic_plural: Chủ đề |
626 | 626 |
label_message_plural: Diễn đàn |
627 | 627 |
label_message_last: Bài cuối |
628 |
label_message_last_plural: Last messages |
|
628 | 629 |
label_message_new: Tạo bài mới |
629 | 630 |
label_message_posted: Đã thêm bài viết |
630 | 631 |
label_reply_plural: Hồi âm |
config/locales/zh-TW.yml | ||
---|---|---|
850 | 850 |
label_topic_plural: 討論主題 |
851 | 851 |
label_message_plural: 訊息 |
852 | 852 |
label_message_last: 上一封訊息 |
853 |
label_message_last_plural: Last messages |
|
853 | 854 |
label_message_new: 建立新訊息 |
854 | 855 |
label_message_posted: 訊息已新增 |
855 | 856 |
label_reply_plural: 回應 |
config/locales/zh.yml | ||
---|---|---|
708 | 708 |
label_topic_plural: 主题 |
709 | 709 |
label_message_plural: 帖子 |
710 | 710 |
label_message_last: 最新的帖子 |
711 |
label_message_last_plural: Last messages |
|
711 | 712 |
label_message_new: 新贴 |
712 | 713 |
label_message_posted: 发帖成功 |
713 | 714 |
label_reply_plural: 回复 |