[Pkg-mozext-commits] [greasemonkey] 30/43: Pass locales to getBestLocalization() both times.

David Prévot taffit at moszumanska.debian.org
Sun Feb 22 21:56:12 UTC 2015


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

taffit pushed a commit to branch master
in repository greasemonkey.

commit 1f9d0212356841b5fd18723f4394caa01e535bed
Author: Anthony Lieuallen <arantius at gmail.com>
Date:   Fri Jan 16 14:57:28 2015 -0500

    Pass locales to getBestLocalization() both times.
---
 modules/script.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/script.js b/modules/script.js
index a7dfce2..f18c8e9 100644
--- a/modules/script.js
+++ b/modules/script.js
@@ -167,7 +167,7 @@ function Script_getLocalizedDescription() {
     this._localized = {
       description: getBestLocalization(this._locales, "description")
           || this._description,
-      name: getBestLocalization("name") || this._name
+      name: getBestLocalization(this._locales, "name") || this._name
     };
   }
 

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



More information about the Pkg-mozext-commits mailing list