[anjuta] bgo #591887 - Bad strings for translation
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [anjuta] bgo #591887 - Bad strings for translation
- Date: Sat, 22 Aug 2009 19:49:22 +0000 (UTC)
commit 0f1b5ad4880ed2e009f232777e3022c0ae7fc804
Author: Sébastien Granjoux <seb sfo free fr>
Date: Sat Aug 22 21:29:54 2009 +0200
bgo #591887 - Bad strings for translation
plugins/build-basic-autotools/plugin.c | 2 +-
plugins/glade/anjuta-glade.glade | 6 +++---
plugins/glade/plugin.c | 20 +++++++++++---------
plugins/symbol-db/plugin.c | 1 +
plugins/tools/variable.c | 2 +-
5 files changed, 17 insertions(+), 14 deletions(-)
---
diff --git a/plugins/build-basic-autotools/plugin.c b/plugins/build-basic-autotools/plugin.c
index b800860..1a40399 100644
--- a/plugins/build-basic-autotools/plugin.c
+++ b/plugins/build-basic-autotools/plugin.c
@@ -1496,7 +1496,7 @@ build_save_distclean_and_execute_command (BasicAutotoolsPlugin* bplugin, BuildPr
BuildProgram *new_prog;
// Need to run make clean before
- if (!anjuta_util_dialog_boolean_question (GTK_WINDOW (ANJUTA_PLUGIN (bplugin)->shell), _("Using this new configuration, need to to remove the default one. Do you want to do it ?"), NULL))
+ if (!anjuta_util_dialog_boolean_question (GTK_WINDOW (ANJUTA_PLUGIN (bplugin)->shell), _("To use this new configuration, the default configuration has to be removed. Do you want to do this?"), NULL))
{
GError *err;
diff --git a/plugins/glade/anjuta-glade.glade b/plugins/glade/anjuta-glade.glade
index cc6c425..af2ffc2 100644
--- a/plugins/glade/anjuta-glade.glade
+++ b/plugins/glade/anjuta-glade.glade
@@ -76,7 +76,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
- <property name="label" translatable="yes">Associate</property>
+ <property name="label" translatable="yes" comments="Link a file with a widget" >Associate</property>
<signal name="clicked" handler="associations_dialog_button_associate_cb"/>
</object>
<packing>
@@ -425,7 +425,7 @@
<object class="GtkRadioButton" id="handler_template_button0">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">on_widget_signal</property>
+ <property name="label" translatable="no">on_widget_signal</property>
<property name="active">True</property>
<signal name="toggled" handler="on_set_default_data_signal_template0"/>
</object>
@@ -434,7 +434,7 @@
<object class="GtkRadioButton" id="handler_template_button1">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">widget_signal_cb</property>
+ <property name="label" translatable="no">widget_signal_cb</property>
<property name="active">True</property>
<property name="group">handler_template_button0</property>
<signal name="toggled" handler="on_set_default_data_signal_template1"/>
diff --git a/plugins/glade/plugin.c b/plugins/glade/plugin.c
index c84d387..bc82ac2 100644
--- a/plugins/glade/plugin.c
+++ b/plugins/glade/plugin.c
@@ -44,6 +44,14 @@
#define GLADE_PLUGIN_GLADE_UI_FILE PACKAGE_DATA_DIR"/glade/anjuta-glade.glade"
#define ICON_FILE "anjuta-glade-plugin-48.png"
+#define PREFERENCES_PAGE_NAME "preferences_page"
+#define HANDLER_TEMPLATE_BUTTON0_NAME "handler_template_button0"
+#define HANDLER_TEMPLATE_BUTTON1_NAME "handler_template_button1"
+#define INSERT_HANDLER_ON_EDIT_NAME "insert_handler_on_edit"
+#define AUTO_ADD_RESOURCE_NAME "auto_add_resource"
+#define DEFAULT_RESOURCE_ENTRY_NAME "default_resource_entry"
+#define SEPARATED_DESIGNER_LAYOUT_NAME "separated_designer_layout"
+
static gpointer parent_class;
/* This is variable required from libdevhelp */
@@ -2240,8 +2248,10 @@ on_handler_editing_done (GladeSignalEditor *self, gchar *signal_name,
gchar *error_message =
g_strdup_printf(_("Error while adding a new handler stub: %s"),
error->message);
+ GtkButton *button = GTK_BUTTON(gtk_builder_get_object (plugin->priv->xml,
+ INSERT_HANDLER_ON_EDIT_NAME));
gchar *hint_message =
- g_strdup_printf(_("To avoid this messages turn off \"Insert handler on edit\" flag in Preferences->Glade GUI Designer"));
+ g_strdup_printf(_("To avoid this message turn off \"%s\" flag in Preferences->Glade GUI Designer"), gtk_button_get_label (button));
anjuta_util_dialog_warning (GTK_WINDOW (ANJUTA_PLUGIN(plugin)->shell),
"%s. %s", error_message, hint_message);
@@ -4769,14 +4779,6 @@ iwizard_iface_init(IAnjutaWizardIface *iface)
iface->activate = iwizard_activate;
}
-#define PREFERENCES_PAGE_NAME "preferences_page"
-#define HANDLER_TEMPLATE_BUTTON0_NAME "handler_template_button0"
-#define HANDLER_TEMPLATE_BUTTON1_NAME "handler_template_button1"
-#define INSERT_HANDLER_ON_EDIT_NAME "insert_handler_on_edit"
-#define AUTO_ADD_RESOURCE_NAME "auto_add_resource"
-#define DEFAULT_RESOURCE_ENTRY_NAME "default_resource_entry"
-#define SEPARATED_DESIGNER_LAYOUT_NAME "separated_designer_layout"
-
gboolean
on_preferences_default_resource_entry_focus_out (GtkWidget *widget,
GdkEventFocus *event,
diff --git a/plugins/symbol-db/plugin.c b/plugins/symbol-db/plugin.c
index ffcfa5f..2612a30 100644
--- a/plugins/symbol-db/plugin.c
+++ b/plugins/symbol-db/plugin.c
@@ -318,6 +318,7 @@ static GtkActionEntry actions[] =
{
"ActionSymbolDBGotoImpl",
ANJUTA_STOCK_GOTO_IMPLEMENTATION,
+ /* Translators: Go to the line where the tag is implemented */
N_("Tag _Implementation"),
"<control>d",
N_("Goto symbol definition"),
diff --git a/plugins/tools/variable.c b/plugins/tools/variable.c
index 7f2336a..384073f 100644
--- a/plugins/tools/variable.c
+++ b/plugins/tools/variable.c
@@ -100,7 +100,7 @@ static const struct
{"editor_current_filename", N_("Currently edited file name"), ATP_FILE_VARIABLE },
{"editor_current_filename_without_ext", N_("Currently edited file name without extension"), ATP_FILE_VARIABLE },
{"editor_current_directory", N_("Currently edited file directory"), ATP_DIRECTORY_VARIABLE },
- {"editor_current_selection", N_("Currently selection in editor"), ATP_FILE_VARIABLE },
+ {"editor_current_selection", N_("Currently selected text in editor"), ATP_FILE_VARIABLE },
{"editor_current_word", N_("Current word in editor"), ATP_FILE_VARIABLE },
{"editor_current_line", N_("Current line in editor"), ATP_FILE_VARIABLE },
{"ask_user_string", N_("Ask the user to get additional parameters"), ATP_INTERACTIVE_VARIABLE }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]