aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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