[Xfce4-commits] <xfce4-panel:devel> Fix some translation strings.
Nick Schermer
noreply at xfce.org
Tue Feb 16 16:56:01 CET 2010
Updating branch refs/heads/devel
to 94658e1d6c645f4113cb985e2ef421e786f586d0 (commit)
from e8a690a960bae5b06dc9a85b2955278ded82959e (commit)
commit 94658e1d6c645f4113cb985e2ef421e786f586d0
Author: Nick Schermer <nick at xfce.org>
Date: Tue Feb 16 16:53:48 2010 +0100
Fix some translation strings.
libxfce4panel/xfce-panel-plugin.c | 1 +
panel/main.c | 5 +++--
panel/panel-dialogs.c | 2 +-
panel/panel-item-dialog.c | 2 +-
plugins/directorymenu/directorymenu.c | 2 +-
5 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/libxfce4panel/xfce-panel-plugin.c b/libxfce4panel/xfce-panel-plugin.c
index 5b77d96..9b6ce46 100644
--- a/libxfce4panel/xfce-panel-plugin.c
+++ b/libxfce4panel/xfce-panel-plugin.c
@@ -825,6 +825,7 @@ xfce_panel_plugin_menu_remove (XfcePanelPlugin *plugin)
/* create question dialog (same code is also in panel-preferences-dialog.c) */
dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL,
GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE,
+ /* I18N: %s is the name of the plugin */
_("Are you sure that you want to remove \"%s\"?"),
xfce_panel_plugin_get_display_name (plugin));
gtk_window_set_screen (GTK_WINDOW (dialog),
diff --git a/panel/main.c b/panel/main.c
index 8543f7c..0c2d364 100644
--- a/panel/main.c
+++ b/panel/main.c
@@ -255,7 +255,7 @@ main (gint argc, gchar **argv)
if (panel_dbus_service_get_restart ())
{
/* spawn ourselfs again */
- g_print ("%s: %s\n\n", G_LOG_DOMAIN, _("Restarting"));
+ g_print ("%s: %s\n\n", G_LOG_DOMAIN, _("Restarting..."));
g_spawn_command_line_async (argv[0], NULL);
}
@@ -276,7 +276,7 @@ dbus_return:
else if (opt_save)
error_msg = _("Failed to save the panel configuration");
else if (opt_add)
- error_msg = _("Failed to remote add a plugin to the panel");
+ error_msg = _("Failed to add a plugin to the panel");
else if (opt_restart)
error_msg = _("Failed to restart the panel");
else if (opt_quit)
@@ -288,6 +288,7 @@ dbus_return:
if (error->code == DBUS_GERROR_NAME_HAS_NO_OWNER)
{
g_clear_error (&error);
+ /* I18N: %s is replaced with xfce4-panel */
g_set_error (&error, 0, 0, _("No running instance of %s was found"), G_LOG_DOMAIN);
}
diff --git a/panel/panel-dialogs.c b/panel/panel-dialogs.c
index 0b57908..d562ec9 100644
--- a/panel/panel-dialogs.c
+++ b/panel/panel-dialogs.c
@@ -186,7 +186,7 @@ panel_dialogs_restart_plugin (GtkWindow *parent,
_("Plugin \"%s\" unexpectedly left the panel, do you want to restart it?"),
plugin_name);
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), _("The plugin restarted more then once in "
- "the last %d seconds. If you press Execute the panel will try to restart "
+ "the last %d seconds. If you press Execute the panel will try to restart "
"the plugin otherwise it will be permanently removed from the panel."),
PANEL_PLUGIN_AUTO_RESTART);
gtk_dialog_add_buttons (GTK_DIALOG (dialog), GTK_STOCK_EXECUTE, GTK_RESPONSE_OK,
diff --git a/panel/panel-item-dialog.c b/panel/panel-item-dialog.c
index 063ed69..f2b5545 100644
--- a/panel/panel-item-dialog.c
+++ b/panel/panel-item-dialog.c
@@ -172,7 +172,7 @@ panel_item_dialog_init (PanelItemDialog *dialog)
gtk_window_set_title (GTK_WINDOW (dialog), _("Add New Items"));
xfce_titled_dialog_set_subtitle (XFCE_TITLED_DIALOG (dialog),
- _("Add new plugins to your Xfce panels"));
+ _("Add new plugins to the panel"));
gtk_window_set_icon_name (GTK_WINDOW (dialog), GTK_STOCK_ADD);
gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
gtk_window_set_default_size (GTK_WINDOW (dialog), 350, 450);
diff --git a/plugins/directorymenu/directorymenu.c b/plugins/directorymenu/directorymenu.c
index f10e7bc..e78ddcd 100644
--- a/plugins/directorymenu/directorymenu.c
+++ b/plugins/directorymenu/directorymenu.c
@@ -681,7 +681,7 @@ directory_menu_plugin_menu_open (GtkWidget *mi,
gtk_widget_get_screen (mi), &error))
{
xfce_dialog_show_error (NULL, error,
- _("Failed to open preferred application category \"%s\""), category);
+ _("Failed to execute the preferred application for category \"%s\""), category);
g_error_free (error);
}
More information about the Xfce4-commits
mailing list