summaryrefslogtreecommitdiff
path: root/modules/printbackends
diff options
context:
space:
mode:
authorMarek Kasik <mkasik@redhat.com>2013-03-04 12:00:49 +0100
committerMarek Kasik <mkasik@redhat.com>2013-03-04 14:35:24 +0100
commit8075181033b50f2d3b8b0a1027e2767db6a14bdf (patch)
tree7b090f2433a079b2351c467be4b9f51847ca64ee /modules/printbackends
parent4ba83ab573ee1f0f364f52d7c4380cfd8f4bdd30 (diff)
downloadgtk+-8075181033b50f2d3b8b0a1027e2767db6a14bdf.tar.gz
printing: Mark texts for translation correctly
Use _() instead of N_() for printer states. Mark connection string "; " for translation so it is correctly handled for right to left languages.
Diffstat (limited to 'modules/printbackends')
-rw-r--r--modules/printbackends/cups/gtkprintbackendcups.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/printbackends/cups/gtkprintbackendcups.c b/modules/printbackends/cups/gtkprintbackendcups.c
index 73fa7fe44f..e80821c9a3 100644
--- a/modules/printbackends/cups/gtkprintbackendcups.c
+++ b/modules/printbackends/cups/gtkprintbackendcups.c
@@ -2226,13 +2226,13 @@ set_info_state_message (PrinterSetupInfo *info)
gchar *tmp_msg2 = NULL;
if (info->is_paused && !info->is_accepting_jobs)
/* Translators: this is a printer status. */
- tmp_msg2 = g_strdup ( N_("Paused; Rejecting Jobs"));
+ tmp_msg2 = g_strdup ( _("Paused; Rejecting Jobs"));
if (info->is_paused && info->is_accepting_jobs)
/* Translators: this is a printer status. */
- tmp_msg2 = g_strdup ( N_("Paused"));
+ tmp_msg2 = g_strdup ( _("Paused"));
if (!info->is_paused && !info->is_accepting_jobs)
/* Translators: this is a printer status. */
- tmp_msg2 = g_strdup ( N_("Rejecting Jobs"));
+ tmp_msg2 = g_strdup ( _("Rejecting Jobs"));
if (tmp_msg2 != NULL)
{
@@ -2273,7 +2273,8 @@ set_info_state_message (PrinterSetupInfo *info)
else
{
gchar *tmp_msg = NULL;
- tmp_msg = g_strjoin ("; ", info->state_msg,
+ /* Translators: this string connects multiple printer states together. */
+ tmp_msg = g_strjoin ( _("; "), info->state_msg,
reason_msg_desc, NULL);
g_free (info->state_msg);
info->state_msg = tmp_msg;