Bug 1390834. Add ellipsis to Report Site Issue page action button. r=flod
authorMike Taylor <miket@mozilla.com>
Wed, 16 Aug 2017 14:38:04 -0400
changeset 377812 8cb237283ed0b7628f2253360ceb20add052611c
parent 377811 9058d354635f9833214709da579188459657f145
child 377813 3c98f36b75781b7787c4253a1170df12f38dc0bd
push id94338
push userkwierso@gmail.com
push dateThu, 31 Aug 2017 02:58:58 +0000
treeherdermozilla-inbound@9ca18987dabb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersflod
bugs1390834
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1390834. Add ellipsis to Report Site Issue page action button. r=flod MozReview-Commit-ID: KdLtn4WWGLR
browser/extensions/webcompat-reporter/content/WebCompatReporter.jsm
browser/extensions/webcompat-reporter/locales/en-US/webcompat.properties
--- 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