Get edit link to draw correctly again in in-app help, a=chris
Get edit link to draw correctly again in in-app help, a=chris
diff --git a/src/scripts/help.js b/src/scripts/help.js
index 57c8bb92f..4e0d5ed10 100644
--- a/src/scripts/help.js
+++ b/src/scripts/help.js
@@ -324,7 +324,7 @@ function displayHelpForId(help_point, is_mobile, target_controller,
help_group_id,
data.page_title,
back_params) + '">' +
- tl["wiki_view_edit"] + '</a>]';
+ tl["helpbutton_helper_edit"] + '</a>]';
}
toggleHelp('help-frame', is_mobile, target_controller);
},
@@ -342,7 +342,7 @@ function displayHelpForId(help_point, is_mobile, target_controller,
help_group_id,
help_point.getAttribute("data-pagename"),
back_params) + '">' +
- tl["wiki_view_edit"] + '</a>]';
+ tl["helpbutton_helper_edit"] + '</a>]';
elt("help-frame-body").innerHTML =
(tl["wiki_view_page_no_exist"]).replace("%s", "'" +
help_point.getAttribute("data-pagename") + "'") +
diff --git a/src/views/helpers/HelpbuttonHelper.php b/src/views/helpers/HelpbuttonHelper.php
index 696fea8e8..f795d9f7b 100644
--- a/src/views/helpers/HelpbuttonHelper.php
+++ b/src/views/helpers/HelpbuttonHelper.php
@@ -136,13 +136,17 @@ class HelpbuttonHelper extends Helper
$this->is_help_initialized = true;
$this->localization_data = "{" .
'helpbutton_helper_edit :"' . tl('helpbutton_helper_edit') . '",' .
- 'helpbutton_helper_not_available :"' . tl('helpbutton_helper_not_available') .
+ 'helpbutton_helper_not_available :"' .
+ tl('helpbutton_helper_not_available') .
'",' .
- 'helpbutton_helper_create_edit :"' . tl('helpbutton_helper_create_edit') .
+ 'helpbutton_helper_create_edit :"' .
+ tl('helpbutton_helper_create_edit') .
'",' .
- 'helpbutton_helper_page_no_exist :"' . tl('helpbutton_helper_page_no_exist','%s') .
+ 'helpbutton_helper_page_no_exist :"' .
+ tl('helpbutton_helper_page_no_exist','%s') .
'",' .
- 'helpbutton_helper_read :"' . tl('helpbutton_helper_read') . '"' .
+ 'helpbutton_helper_read :"' .
+ tl('helpbutton_helper_read') . '"' .
"}";
$this->back_params = "{";
/**