[Pkg-mozext-commits] [personasplus] 21/42: change string id to trigger translation update

David Prévot taffit at moszumanska.debian.org
Wed Feb 3 16:15:40 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository personasplus.

commit dc8da828c442ad4ad9de5faeaaccb0bd632ab857
Author: Hector Zhao <bzhao at mozilla.com>
Date:   Tue Apr 9 11:05:49 2013 +0800

    change string id to trigger translation update
---
 extension/content/personas.js              | 2 +-
 extension/content/preferences.xul          | 4 ++--
 extension/locale/en-US/personas.properties | 2 +-
 extension/locale/en-US/preferences.dtd     | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/extension/content/personas.js b/extension/content/personas.js
index 396772f..2db2dde 100644
--- a/extension/content/personas.js
+++ b/extension/content/personas.js
@@ -1171,7 +1171,7 @@ let PersonaController = {
     let item = document.createElement("menuitem");
 
     item.setAttribute("class", "menuitem-iconic");
-    item.setAttribute("label", this._strings.get("viewMore", [category]));
+    item.setAttribute("label", this._strings.get("viewMoreFrom", [category]));
     item.setAttribute("oncommand", "PersonaController.openURLInTab(this.getAttribute('href'))");
 
     if (categoryId == "featured") {
diff --git a/extension/content/preferences.xul b/extension/content/preferences.xul
index f58b625..ee16412 100644
--- a/extension/content/preferences.xul
+++ b/extension/content/preferences.xul
@@ -49,7 +49,7 @@
         ondialogaccept="">
 
   <script type="application/javascript" src="chrome://personas/content/preferences.js"/>
-  
+
   <prefpane id="personas-preferences-pane" label="&preferences.title;">
 
     <preferences>
@@ -79,7 +79,7 @@
     <groupbox>
       <caption label="&advancedSettings.label;"/>
       <hbox align="center">
-        <checkbox label="&showCustomMenu.label;" preference="custommenu"/>
+        <checkbox label="&enableCustomMenu.label;" preference="custommenu"/>
       </hbox>
     </groupbox>
 
diff --git a/extension/locale/en-US/personas.properties b/extension/locale/en-US/personas.properties
index 50c7bcf..122088c 100644
--- a/extension/locale/en-US/personas.properties
+++ b/extension/locale/en-US/personas.properties
@@ -22,7 +22,7 @@ viewDesigner      = More from %S...
 # LOCALIZATION NOTE (viewMore): the label of a command that will load the gallery
 # page on addons.mozilla.org for this specific category.
 #  %1$S = the name of the category (e.g. Music)
-viewMore          = More from %1$S...
+viewMoreFrom      = More from %1$S...
 
 # LOCALIZATION NOTE (notification.personaWasSelected): the text
 # of the notification shown when a persona is selected for the first time.
diff --git a/extension/locale/en-US/preferences.dtd b/extension/locale/en-US/preferences.dtd
index 73f6cee..a54f4f9 100644
--- a/extension/locale/en-US/preferences.dtd
+++ b/extension/locale/en-US/preferences.dtd
@@ -5,4 +5,4 @@
 <!ENTITY useTextColor.label     "Use text color">
 <!ENTITY useAccentColor.label   "Use accent color">
 <!ENTITY advancedSettings.label "Advanced">
-<!ENTITY showCustomMenu.label   "Enable custom personas">
+<!ENTITY enableCustomMenu.label "Enable custom personas">

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/personasplus.git



More information about the Pkg-mozext-commits mailing list