[gtk+/gtk-3-20] cups: make string non-literals translatable again
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-20] cups: make string non-literals translatable again
- Date: Thu, 14 Apr 2016 16:59:16 +0000 (UTC)
commit 71385044fe8d1d4342d03fbd1b8f487616380293
Author: Felipe Borges <felipeborges gnome org>
Date: Wed Apr 13 20:00:19 2016 +0200
cups: make string non-literals translatable again
Notice that C_ just takes string literals as arguments.
https://bugzilla.gnome.org/show_bug.cgi?id=764585
modules/printbackends/cups/gtkprintbackendcups.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/printbackends/cups/gtkprintbackendcups.c
b/modules/printbackends/cups/gtkprintbackendcups.c
index 9a4b733..661037b 100644
--- a/modules/printbackends/cups/gtkprintbackendcups.c
+++ b/modules/printbackends/cups/gtkprintbackendcups.c
@@ -4442,7 +4442,7 @@ get_ipp_choice_translation_string (gint index,
g_assert_not_reached ();
}
- translation = NC_("output-bin", string);
+ translation = g_dpgettext2 (GETTEXT_PACKAGE, "output-bin", string);
}
return translation;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]