gtranslator r3946 - in trunk: plugins/source-code-view plugins/subversion src src/dialogs src/translation-memory/berkeley



Author: psanxiao
Date: Thu Mar 19 14:39:32 2009
New Revision: 3946
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3946&view=rev

Log:
	Patch by Bruce Cowan

	* plugins/source-code-view/source-code-view-plugin.c:
	* plugins/subversion/checkout-dialog.c:
	* plugins/subversion/commit-dialog.c:
	* plugins/subversion/diff-dialog.c:
	* src/dialogs/jump-dialog.glade:
	* src/dialogs/profile-dialog.c:
	* src/statusbar.c:
	* src/translation-memory/berkeley/db-orig.c:
	* src/translation-memory/berkeley/db-trans.c:
	* src/translation-memory/berkeley/db-words.c:
	* src/utils.c:
	Fixed minor string issues

Modified:
   trunk/plugins/source-code-view/source-code-view-plugin.c
   trunk/plugins/subversion/checkout-dialog.c
   trunk/plugins/subversion/commit-dialog.c
   trunk/plugins/subversion/diff-dialog.c
   trunk/src/dialogs/jump-dialog.glade
   trunk/src/dialogs/profile-dialog.c
   trunk/src/statusbar.c
   trunk/src/translation-memory/berkeley/db-orig.c
   trunk/src/translation-memory/berkeley/db-trans.c
   trunk/src/translation-memory/berkeley/db-words.c
   trunk/src/utils.c

Modified: trunk/plugins/source-code-view/source-code-view-plugin.c
==============================================================================
--- trunk/plugins/source-code-view/source-code-view-plugin.c	(original)
+++ trunk/plugins/source-code-view/source-code-view-plugin.c	Thu Mar 19 14:39:32 2009
@@ -112,7 +112,7 @@
 		dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL,
 						 GTK_DIALOG_MODAL,
 						 GTK_BUTTONS_CLOSE,
-						 _("Please, install %s to be able to show the file"),
+						 _("Please install %s to be able to show the file"),
 						 program_name);
 		gtk_dialog_run (GTK_DIALOG (dialog));
 		gtk_widget_destroy (dialog);

Modified: trunk/plugins/subversion/checkout-dialog.c
==============================================================================
--- trunk/plugins/subversion/checkout-dialog.c	(original)
+++ trunk/plugins/subversion/checkout-dialog.c	Thu Mar 19 14:39:32 2009
@@ -122,7 +122,7 @@
 									    GTK_DIALOG_DESTROY_WITH_PARENT,
 									    GTK_MESSAGE_WARNING,
 									    GTK_BUTTONS_CLOSE,
-									    _("Please, add a directory path to make the checkout"));
+									    _("Please add a directory path to make the checkout"));
 				gtk_dialog_run (GTK_DIALOG (dialog));
 				gtk_widget_destroy (dialog);
 				break;
@@ -135,7 +135,7 @@
 									    GTK_DIALOG_DESTROY_WITH_PARENT,
 									    GTK_MESSAGE_WARNING,
 									    GTK_BUTTONS_CLOSE,
-									    _("Please, add a Subversion URL"));
+									    _("Please add a Subversion URL"));
 				gtk_dialog_run (GTK_DIALOG (dialog));
 				gtk_widget_destroy (dialog);
 				break;

Modified: trunk/plugins/subversion/commit-dialog.c
==============================================================================
--- trunk/plugins/subversion/commit-dialog.c	(original)
+++ trunk/plugins/subversion/commit-dialog.c	Thu Mar 19 14:39:32 2009
@@ -292,7 +292,7 @@
 	changelog_file = g_file_new_for_path (changelog);
 	if (!g_file_query_exists (changelog_file, NULL))
 	{
-		g_warning (_("The ChangeLog file '%s' does not exists"),
+		g_warning (_("The ChangeLog file '%s' does not exist"),
 			   changelog);
 		g_free (changelog);
 		g_object_unref (changelog_file);

Modified: trunk/plugins/subversion/diff-dialog.c
==============================================================================
--- trunk/plugins/subversion/diff-dialog.c	(original)
+++ trunk/plugins/subversion/diff-dialog.c	Thu Mar 19 14:39:32 2009
@@ -105,7 +105,7 @@
 		dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL,
 						 GTK_DIALOG_MODAL,
 						 GTK_BUTTONS_CLOSE,
-						 _("Please, install %s to be able to diff the file"),
+						 _("Please install %s to be able to diff the file"),
 						 program_name);
 		gtk_dialog_run (GTK_DIALOG (dialog));
 		gtk_widget_destroy (dialog);

Modified: trunk/src/dialogs/jump-dialog.glade
==============================================================================
--- trunk/src/dialogs/jump-dialog.glade	(original)
+++ trunk/src/dialogs/jump-dialog.glade	Thu Mar 19 14:39:32 2009
@@ -52,7 +52,7 @@
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="receives_default">True</property>
-                <property name="label" translatable="yes">gtk-ok</property>
+                <property name="label">gtk-ok</property>
                 <property name="use_stock">True</property>
                 <property name="response_id">0</property>
               </widget>
@@ -62,7 +62,7 @@
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="receives_default">True</property>
-                <property name="label" translatable="yes">gtk-cancel</property>
+                <property name="label">gtk-cancel</property>
                 <property name="use_stock">True</property>
                 <property name="response_id">0</property>
               </widget>

Modified: trunk/src/dialogs/profile-dialog.c
==============================================================================
--- trunk/src/dialogs/profile-dialog.c	(original)
+++ trunk/src/dialogs/profile-dialog.c	Thu Mar 19 14:39:32 2009
@@ -338,7 +338,7 @@
 	
 	dlg->priv = GTR_PROFILE_DIALOG_GET_PRIVATE (dlg);
 	
-	gtk_window_set_title (GTK_WINDOW (dlg), _("gtranslator Profile"));
+	gtk_window_set_title (GTK_WINDOW (dlg), _("Gtranslator Profile"));
 	gtk_window_set_resizable (GTK_WINDOW (dlg), FALSE);
 	gtk_dialog_set_has_separator (GTK_DIALOG (dlg), FALSE);
 	gtk_window_set_destroy_with_parent (GTK_WINDOW (dlg), TRUE);

Modified: trunk/src/statusbar.c
==============================================================================
--- trunk/src/statusbar.c	(original)
+++ trunk/src/statusbar.c	Thu Mar 19 14:39:32 2009
@@ -236,7 +236,9 @@
 	g_return_if_fail (GTR_IS_STATUSBAR (statusbar));
 
 	if (overwrite)
+	/* Translators: Overwrite mode */
 		gtk_label_set_text(GTK_LABEL(statusbar->priv->overwrite_mode_label), _("OVR"));
+	/* Translators: Insert mode */
 	else gtk_label_set_text(GTK_LABEL(statusbar->priv->overwrite_mode_label), _("INS"));
 }
 

Modified: trunk/src/translation-memory/berkeley/db-orig.c
==============================================================================
--- trunk/src/translation-memory/berkeley/db-orig.c	(original)
+++ trunk/src/translation-memory/berkeley/db-orig.c	Thu Mar 19 14:39:32 2009
@@ -49,7 +49,7 @@
 	//db_orig->priv = GTR_DB_ORIG_GET_PRIVATE (db_orig);
 	
 	gtranslator_db_base_create_dabatase (GTR_DB_BASE (db_orig),
-					     _("original.db"),
+					     "original.db",
 					     DB_HASH);
 }
 

Modified: trunk/src/translation-memory/berkeley/db-trans.c
==============================================================================
--- trunk/src/translation-memory/berkeley/db-trans.c	(original)
+++ trunk/src/translation-memory/berkeley/db-trans.c	Thu Mar 19 14:39:32 2009
@@ -49,7 +49,7 @@
 	//db_trans->priv = GTR_DB_TRANS_GET_PRIVATE (db_trans);
 	
 	gtranslator_db_base_create_dabatase (GTR_DB_BASE (db_trans),
-					     _("translations.db"),
+					     "translations.db",
 					     DB_RECNO);
 }
 

Modified: trunk/src/translation-memory/berkeley/db-words.c
==============================================================================
--- trunk/src/translation-memory/berkeley/db-words.c	(original)
+++ trunk/src/translation-memory/berkeley/db-words.c	Thu Mar 19 14:39:32 2009
@@ -50,7 +50,7 @@
 	//db_words->priv = GTR_DB_WORDS_GET_PRIVATE (db_words);
 	
 	gtranslator_db_base_create_dabatase (GTR_DB_BASE (db_words),
-					     _("words.db"),
+					     "words.db",
 					     DB_HASH);
 }
 

Modified: trunk/src/utils.c
==============================================================================
--- trunk/src/utils.c	(original)
+++ trunk/src/utils.c	Thu Mar 19 14:39:32 2009
@@ -786,7 +786,7 @@
 						 GTK_MESSAGE_ERROR,
 						 GTK_BUTTONS_CLOSE,
 						 _("Unable to display help. "
-						 "Please make sure Gtranslator "
+						 "Please make sure the Gtranslator "
 						 "documentation package is installed."));
 		gtk_dialog_run (GTK_DIALOG (dialog));
 		gtk_widget_destroy (dialog);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]