Bug 1390834. Add ellipsis to Report Site Issue page action button. r?flod
MozReview-Commit-ID: KdLtn4WWGLR
--- a/browser/extensions/webcompat-reporter/content/WebCompatReporter.jsm
+++ b/browser/extensions/webcompat-reporter/content/WebCompatReporter.jsm
@@ -23,17 +23,17 @@ let WebCompatReporter = {
get endpoint() {
return Services.urlFormatter.formatURLPref(
"extensions.webcompat-reporter.newIssueEndpoint");
},
init() {
PageActions.addAction(new PageActions.Action({
id: "webcompat-reporter-button",
- title: wcStrings.GetStringFromName("wc-reporter.label"),
+ title: wcStrings.GetStringFromName("wc-reporter.label2"),
iconURL: "chrome://webcompat-reporter/skin/lightbulb.svg",
onCommand: (e) => this.reportIssue(e.target.ownerGlobal),
onShowingInPanel: (buttonNode) => this.onShowingInPanel(buttonNode)
}));
},
uninit() {
let action = PageActions.actionForID("webcompat-reporter-button");
--- a/browser/extensions/webcompat-reporter/locales/en-US/webcompat.properties
+++ b/browser/extensions/webcompat-reporter/locales/en-US/webcompat.properties
@@ -1,11 +1,10 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# LOCALIZATION NOTE(wc-reporter.label): This string will be used in the
-# Firefox menu panel below its button. Localized length should be considered.
-# \u00ad is included at the beginning of the string to disable auto-hyphens.
-wc-reporter.label=\u00adReport Site Issue
+# LOCALIZATION NOTE(wc-reporter.label2): This string will be used in the
+# Firefox page actions menu. Localized length should be considered.
+wc-reporter.label2=Report Site Issue…
# LOCALIZATION NOTE(wc-reporter.tooltip): A site compatibility issue is
# a website bug that exists in one browser (Firefox), but not another.
wc-reporter.tooltip=Report a site compatibility issue