[gjs] gettext: Fix usage of domainName
- From: Colin Walters <walters src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gjs] gettext: Fix usage of domainName
- Date: Fri, 14 Aug 2009 13:25:25 +0000 (UTC)
commit bcb884be7d4b88accc54b11c7c2f8713e4c4ead4
Author: Colin Walters <walters verbum org>
Date: Fri Aug 14 09:24:43 2009 -0400
gettext: Fix usage of domainName
In updating the patch for review comment, "domain" didn't
get correctly changed to "domainName".
modules/gettext.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/modules/gettext.js b/modules/gettext.js
index aecb512..f569388 100644
--- a/modules/gettext.js
+++ b/modules/gettext.js
@@ -46,15 +46,15 @@ Lang.copyProperties(imports.gettextNative, this);
var domain = function(domainName) {
return {
gettext: function(msgid) {
- return dgettext(domain, msgid);
+ return dgettext(domainName, msgid);
},
ngettext: function(msgid1, msgid2, n) {
- return dngettext(domain, msgid1, msgid2, n);
+ return dngettext(domainName, msgid1, msgid2, n);
},
pgettext: function(context, msgid) {
- return dpgettext(domain, context, msgid);
+ return dpgettext(domainName, context, msgid);
}
}
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]