aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2007-05-20 00:46:52 +0800
committerChristian Persch <chpe@src.gnome.org>2007-05-20 00:46:52 +0800
commit6b6326339b313a8bb468e7fc868dd1f008308d80 (patch)
treef492382affc2351e62473b026dca94c98d9a9eb4
parent342e11049b4fe3a550ca62e1b9569e99e818cc4d (diff)
downloadgsoc2013-epiphany-6b6326339b313a8bb468e7fc868dd1f008308d80.tar.gz
gsoc2013-epiphany-6b6326339b313a8bb468e7fc868dd1f008308d80.tar.zst
gsoc2013-epiphany-6b6326339b313a8bb468e7fc868dd1f008308d80.zip
Just use ngettext here, no need for dngettext.
2007-05-19 Christian Persch <chpe@gnome.org> * embed/mozilla/GeckoCookiePromptService.cpp: Just use ngettext here, no need for dngettext. svn path=/trunk/; revision=7036
-rw-r--r--ChangeLog6
-rw-r--r--embed/mozilla/GeckoCookiePromptService.cpp7
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index cdb6220fc..ec7799df8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2007-05-19 Christian Persch <chpe@gnome.org>
+ * embed/mozilla/GeckoCookiePromptService.cpp:
+
+ Just use ngettext here, no need for dngettext.
+
+2007-05-19 Christian Persch <chpe@gnome.org>
+
* embed/ephy-cookie-manager.h:
* embed/mozilla/EphySingle.cpp:
diff --git a/embed/mozilla/GeckoCookiePromptService.cpp b/embed/mozilla/GeckoCookiePromptService.cpp
index 843546c2d..fa33e8bfb 100644
--- a/embed/mozilla/GeckoCookiePromptService.cpp
+++ b/embed/mozilla/GeckoCookiePromptService.cpp
@@ -113,10 +113,9 @@ GeckoCookiePromptService::CookieDialog (nsIDOMWindow *aParent,
_("The site wants to set a second cookie."));
} else {
char *num_text = g_strdup_printf
- (dngettext (GETTEXT_PACKAGE,
- "You already have %d cookie from this site.",
- "You already have %d cookies from this site.",
- aCookiesFromHost),
+ (ngettext ("You already have %d cookie from this site.",
+ "You already have %d cookies from this site.",
+ aCookiesFromHost),
aCookiesFromHost);
gtk_message_dialog_format_secondary_text