[Xfce4-commits] <xfce4-panel:master> Actions: Show translated strings (bug #8660).

Nick Schermer noreply at xfce.org
Mon Apr 9 18:24:01 CEST 2012


Updating branch refs/heads/master
         to 72083ca030edd6edade47ee1bc267ac3f9612381 (commit)
       from ba3869b26ac801b13856df3ecdb24ceb66fb4259 (commit)

commit 72083ca030edd6edade47ee1bc267ac3f9612381
Author: Nick Schermer <nick at xfce.org>
Date:   Mon Apr 9 18:22:25 2012 +0200

    Actions: Show translated strings (bug #8660).

 plugins/actions/actions.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/plugins/actions/actions.c b/plugins/actions/actions.c
index 6b08344..30c2c51 100644
--- a/plugins/actions/actions.c
+++ b/plugins/actions/actions.c
@@ -714,7 +714,8 @@ actions_plugin_action_confirmation_time (gpointer data)
   else
     {
       gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (timeout->dialog),
-                                                timeout->entry->status, timeout->time_left);
+                                                _(timeout->entry->status),
+                                                timeout->time_left);
     }
 
   return --timeout->time_left >= 0;
@@ -739,7 +740,7 @@ actions_plugin_action_confirmation (ActionsPlugin *plugin,
 
   dialog = gtk_message_dialog_new (NULL, 0,
                                    GTK_MESSAGE_QUESTION, GTK_BUTTONS_CANCEL,
-                                   "%s", entry->question);
+                                   "%s", _(entry->question));
   gtk_window_set_keep_above (GTK_WINDOW (dialog), TRUE);
   gtk_window_stick (GTK_WINDOW (dialog));
   gtk_window_set_skip_taskbar_hint (GTK_WINDOW (dialog), TRUE);


More information about the Xfce4-commits mailing list