summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>2010-09-18 17:30:22 +0000
committerJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>2010-09-18 17:30:22 +0000
commit81a28e9ffa0d4a2279a6a2b19b3fd60f12ccdd31 (patch)
tree1a9349d28dfd689b687fa05c9fbf13d1529612e6
parent099761d8fbba3d33cd34c9ef24bcdbe09d84232d (diff)
downloadredmine-81a28e9ffa0d4a2279a6a2b19b3fd60f12ccdd31.tar.gz
redmine-81a28e9ffa0d4a2279a6a2b19b3fd60f12ccdd31.zip
Adds a link to edit the associated wiki page on the version view. #4416
Contributed by Felix Schäfer git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4101 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/versions/show.rhtml1
-rw-r--r--config/locales/bg.yml1
-rw-r--r--config/locales/bs.yml1
-rw-r--r--config/locales/ca.yml1
-rw-r--r--config/locales/cs.yml1
-rw-r--r--config/locales/da.yml1
-rw-r--r--config/locales/de.yml1
-rw-r--r--config/locales/el.yml1
-rw-r--r--config/locales/en-GB.yml1
-rw-r--r--config/locales/en.yml1
-rw-r--r--config/locales/es.yml1
-rw-r--r--config/locales/eu.yml1
-rw-r--r--config/locales/fi.yml1
-rw-r--r--config/locales/fr.yml1
-rw-r--r--config/locales/gl.yml1
-rw-r--r--config/locales/he.yml1
-rw-r--r--config/locales/hr.yml1
-rw-r--r--config/locales/hu.yml1
-rw-r--r--config/locales/id.yml1
-rw-r--r--config/locales/it.yml1
-rw-r--r--config/locales/ja.yml1
-rw-r--r--config/locales/ko.yml1
-rw-r--r--config/locales/lt.yml1
-rw-r--r--config/locales/lv.yml1
-rw-r--r--config/locales/mk.yml1
-rw-r--r--config/locales/mn.yml1
-rw-r--r--config/locales/nl.yml1
-rw-r--r--config/locales/no.yml1
-rw-r--r--config/locales/pl.yml1
-rw-r--r--config/locales/pt-BR.yml1
-rw-r--r--config/locales/pt.yml1
-rw-r--r--config/locales/ro.yml1
-rw-r--r--config/locales/ru.yml1
-rw-r--r--config/locales/sk.yml1
-rw-r--r--config/locales/sl.yml1
-rw-r--r--config/locales/sr-YU.yml1
-rw-r--r--config/locales/sr.yml1
-rw-r--r--config/locales/sv.yml1
-rw-r--r--config/locales/th.yml1
-rw-r--r--config/locales/tr.yml1
-rw-r--r--config/locales/uk.yml1
-rw-r--r--config/locales/vi.yml1
-rw-r--r--config/locales/zh-TW.yml1
-rw-r--r--config/locales/zh.yml1
44 files changed, 44 insertions, 0 deletions
diff --git a/app/views/versions/show.rhtml b/app/views/versions/show.rhtml
index 79de5984b..6b2b09d0f 100644
--- a/app/views/versions/show.rhtml
+++ b/app/views/versions/show.rhtml
@@ -1,5 +1,6 @@
<div class="contextual">
<%= link_to_if_authorized l(:button_edit), {:controller => 'versions', :action => 'edit', :id => @version}, :class => 'icon icon-edit' %>
+<%= link_to_if_authorized(l(:button_edit_associated_wikipage, :page_title => @version.wiki_page_title), {:controller => 'wiki', :action => 'edit', :page => Wiki.titleize(@version.wiki_page_title)}, :class => 'icon icon-edit') unless @version.wiki_page_title.blank? || @project.wiki.nil? %>
<%= call_hook(:view_versions_show_contextual, { :version => @version, :project => @project }) %>
</div>
diff --git a/config/locales/bg.yml b/config/locales/bg.yml
index 0a8c427ef..ceee5c3cf 100644
--- a/config/locales/bg.yml
+++ b/config/locales/bg.yml
@@ -909,3 +909,4 @@ bg:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/bs.yml b/config/locales/bs.yml
index 741f46232..b855be9e9 100644
--- a/config/locales/bs.yml
+++ b/config/locales/bs.yml
@@ -929,3 +929,4 @@ bs:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/ca.yml b/config/locales/ca.yml
index 50a389156..6ba0a8bea 100644
--- a/config/locales/ca.yml
+++ b/config/locales/ca.yml
@@ -918,3 +918,4 @@ ca:
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/cs.yml b/config/locales/cs.yml
index 96fb608b6..71591fa46 100644
--- a/config/locales/cs.yml
+++ b/config/locales/cs.yml
@@ -915,3 +915,4 @@ cs:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/da.yml b/config/locales/da.yml
index 38d9d6646..b6270f0d1 100644
--- a/config/locales/da.yml
+++ b/config/locales/da.yml
@@ -931,3 +931,4 @@ da:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/de.yml b/config/locales/de.yml
index 5ec7073b3..3a5ee094e 100644
--- a/config/locales/de.yml
+++ b/config/locales/de.yml
@@ -803,6 +803,7 @@ de:
button_create_and_continue: Anlegen + nächstes Ticket
button_test: Testen
button_edit: Bearbeiten
+ button_edit_associated_wikipage: "Zugehörige Wikiseite bearbeiten: {{page_title}}"
button_add: Hinzufügen
button_change: Wechseln
button_apply: Anwenden
diff --git a/config/locales/el.yml b/config/locales/el.yml
index 22bc6a459..d0608e851 100644
--- a/config/locales/el.yml
+++ b/config/locales/el.yml
@@ -915,3 +915,4 @@ el:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/en-GB.yml b/config/locales/en-GB.yml
index 8c0b28cf3..c0b520dfd 100644
--- a/config/locales/en-GB.yml
+++ b/config/locales/en-GB.yml
@@ -919,3 +919,4 @@ en-GB:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/en.yml b/config/locales/en.yml
index cc4e31185..81a26c82c 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -786,6 +786,7 @@ en:
button_create_and_continue: Create and continue
button_test: Test
button_edit: Edit
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
button_add: Add
button_change: Change
button_apply: Apply
diff --git a/config/locales/es.yml b/config/locales/es.yml
index 3f848f1d1..1828558bf 100644
--- a/config/locales/es.yml
+++ b/config/locales/es.yml
@@ -955,3 +955,4 @@ es:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/eu.yml b/config/locales/eu.yml
index 24ef38ea7..64881fe6f 100644
--- a/config/locales/eu.yml
+++ b/config/locales/eu.yml
@@ -919,3 +919,4 @@ eu:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/fi.yml b/config/locales/fi.yml
index 985ab8b2a..8b56c94da 100644
--- a/config/locales/fi.yml
+++ b/config/locales/fi.yml
@@ -940,3 +940,4 @@ fi:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/fr.yml b/config/locales/fr.yml
index 7f96b6112..0a1ee46ea 100644
--- a/config/locales/fr.yml
+++ b/config/locales/fr.yml
@@ -933,3 +933,4 @@ fr:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Modifier la page de Wiki associée: {{page_title}}"
diff --git a/config/locales/gl.yml b/config/locales/gl.yml
index b717d8d60..b5345de69 100644
--- a/config/locales/gl.yml
+++ b/config/locales/gl.yml
@@ -931,3 +931,4 @@ gl:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/he.yml b/config/locales/he.yml
index 86ebe7d3a..8c55b2351 100644
--- a/config/locales/he.yml
+++ b/config/locales/he.yml
@@ -920,3 +920,4 @@ he:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/hr.yml b/config/locales/hr.yml
index f4a809a9a..77cda672a 100644
--- a/config/locales/hr.yml
+++ b/config/locales/hr.yml
@@ -922,3 +922,4 @@ hr:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/hu.yml b/config/locales/hu.yml
index fe1abdf36..84e714a6b 100644
--- a/config/locales/hu.yml
+++ b/config/locales/hu.yml
@@ -938,3 +938,4 @@
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/id.yml b/config/locales/id.yml
index 7c327833f..ca6444b0c 100644
--- a/config/locales/id.yml
+++ b/config/locales/id.yml
@@ -923,3 +923,4 @@ id:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/it.yml b/config/locales/it.yml
index 8d5aa4ef4..6bd4096a9 100644
--- a/config/locales/it.yml
+++ b/config/locales/it.yml
@@ -919,3 +919,4 @@ it:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/ja.yml b/config/locales/ja.yml
index 09eb36690..fa3346f17 100644
--- a/config/locales/ja.yml
+++ b/config/locales/ja.yml
@@ -940,3 +940,4 @@ ja:
enumeration_doc_categories: 文書カテゴリ
enumeration_activities: 作業分類 (時間トラッキング)
enumeration_system_activity: システム作業分類
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/ko.yml b/config/locales/ko.yml
index eea667d62..771f91cef 100644
--- a/config/locales/ko.yml
+++ b/config/locales/ko.yml
@@ -971,3 +971,4 @@ ko:
project_module_calendar: 달력
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/lt.yml b/config/locales/lt.yml
index b12a1107b..27c5466fd 100644
--- a/config/locales/lt.yml
+++ b/config/locales/lt.yml
@@ -979,3 +979,4 @@ lt:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/lv.yml b/config/locales/lv.yml
index 271140cce..5a628e5c5 100644
--- a/config/locales/lv.yml
+++ b/config/locales/lv.yml
@@ -910,3 +910,4 @@ lv:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/mk.yml b/config/locales/mk.yml
index c98761865..ac2a043d4 100644
--- a/config/locales/mk.yml
+++ b/config/locales/mk.yml
@@ -915,3 +915,4 @@ mk:
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/mn.yml b/config/locales/mn.yml
index b92538a47..908e8a844 100644
--- a/config/locales/mn.yml
+++ b/config/locales/mn.yml
@@ -916,3 +916,4 @@ mn:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/nl.yml b/config/locales/nl.yml
index e13e67ddf..b5933d222 100644
--- a/config/locales/nl.yml
+++ b/config/locales/nl.yml
@@ -897,3 +897,4 @@ nl:
project_module_calendar: Kalender
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/no.yml b/config/locales/no.yml
index cc95dae7d..24be1a06e 100644
--- a/config/locales/no.yml
+++ b/config/locales/no.yml
@@ -906,3 +906,4 @@
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/pl.yml b/config/locales/pl.yml
index 6621ad39e..aade4af0e 100644
--- a/config/locales/pl.yml
+++ b/config/locales/pl.yml
@@ -936,3 +936,4 @@ pl:
project_module_calendar: Kalendarz
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/pt-BR.yml b/config/locales/pt-BR.yml
index 547074083..7fa9ae2f5 100644
--- a/config/locales/pt-BR.yml
+++ b/config/locales/pt-BR.yml
@@ -939,3 +939,4 @@ pt-BR:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/pt.yml b/config/locales/pt.yml
index 28822061a..9a7547ab4 100644
--- a/config/locales/pt.yml
+++ b/config/locales/pt.yml
@@ -923,3 +923,4 @@ pt:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/ro.yml b/config/locales/ro.yml
index 85fea1399..aac64cc2b 100644
--- a/config/locales/ro.yml
+++ b/config/locales/ro.yml
@@ -908,3 +908,4 @@ ro:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/ru.yml b/config/locales/ru.yml
index 806b5c0ac..68a8fa6ef 100644
--- a/config/locales/ru.yml
+++ b/config/locales/ru.yml
@@ -1032,3 +1032,4 @@ ru:
notice_unable_delete_time_entry: Невозможно удалить запись журнала.
label_overall_spent_time: Всего затрачено времени
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/sk.yml b/config/locales/sk.yml
index 3fd6c41b2..87c50e27a 100644
--- a/config/locales/sk.yml
+++ b/config/locales/sk.yml
@@ -910,3 +910,4 @@ sk:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/sl.yml b/config/locales/sl.yml
index 68d8bb089..3b579a824 100644
--- a/config/locales/sl.yml
+++ b/config/locales/sl.yml
@@ -911,3 +911,4 @@ sl:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/sr-YU.yml b/config/locales/sr-YU.yml
index c2ac531c9..b48e90223 100644
--- a/config/locales/sr-YU.yml
+++ b/config/locales/sr-YU.yml
@@ -915,3 +915,4 @@ sr-YU:
project_module_calendar: Kalendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/sr.yml b/config/locales/sr.yml
index 5b5dfd461..8282a37bf 100644
--- a/config/locales/sr.yml
+++ b/config/locales/sr.yml
@@ -916,3 +916,4 @@ sr:
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/sv.yml b/config/locales/sv.yml
index 8055c572d..28ce75e21 100644
--- a/config/locales/sv.yml
+++ b/config/locales/sv.yml
@@ -960,3 +960,4 @@ sv:
enumeration_system_activity: Systemaktivitet
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/th.yml b/config/locales/th.yml
index 3e855995f..859cf0f08 100644
--- a/config/locales/th.yml
+++ b/config/locales/th.yml
@@ -912,3 +912,4 @@ th:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/tr.yml b/config/locales/tr.yml
index 43871ffe9..9244d983d 100644
--- a/config/locales/tr.yml
+++ b/config/locales/tr.yml
@@ -938,3 +938,4 @@ tr:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/uk.yml b/config/locales/uk.yml
index 89901d1ea..eade7c4a2 100644
--- a/config/locales/uk.yml
+++ b/config/locales/uk.yml
@@ -911,3 +911,4 @@ uk:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/vi.yml b/config/locales/vi.yml
index 28351ed26..94fbad869 100644
--- a/config/locales/vi.yml
+++ b/config/locales/vi.yml
@@ -970,3 +970,4 @@ vi:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/zh-TW.yml b/config/locales/zh-TW.yml
index 8dab78787..26f23b7fa 100644
--- a/config/locales/zh-TW.yml
+++ b/config/locales/zh-TW.yml
@@ -1000,3 +1000,4 @@
enumeration_system_activity: 系統活動
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
diff --git a/config/locales/zh.yml b/config/locales/zh.yml
index b882d277a..3b788860d 100644
--- a/config/locales/zh.yml
+++ b/config/locales/zh.yml
@@ -933,3 +933,4 @@ zh:
project_module_calendar: Calendar
field_member_of_group: Member of Group
field_assigned_to_role: Member of Role
+ button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"