SF.net SVN: geany:[3315] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Thu Dec 4 15:56:55 UTC 2008


Revision: 3315
          http://geany.svn.sourceforge.net/geany/?rev=3315&view=rev
Author:   eht16
Date:     2008-12-04 15:56:54 +0000 (Thu, 04 Dec 2008)

Log Message:
-----------
Don't mark console messages as translatable.
Add two comments for translators.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/document.c
    trunk/src/main.c
    trunk/src/symbols.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-12-04 15:56:33 UTC (rev 3314)
+++ trunk/ChangeLog	2008-12-04 15:56:54 UTC (rev 3315)
@@ -2,6 +2,9 @@
 
  * src/support.c, src/support.h:
    Removed unused code.
+ * src/main.c, src/document.c, src/symbols.c:
+   Don't mark console messages as translatable.
+   Add two comments for translators.
 
 
 2008-12-04  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>

Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c	2008-12-04 15:56:33 UTC (rev 3314)
+++ trunk/src/document.c	2008-12-04 15:56:54 UTC (rev 3315)
@@ -823,6 +823,8 @@
 		}
 		else if (! handle_forced_encoding(filedata, forced_enc))
 		{
+			/* For translators: the second wildcard is an encoding name, e.g.
+			 * The file \"test.txt\" is not valid UTF-8. */
 			ui_set_statusbar(TRUE, _("The file \"%s\" is not valid %s."),
 				utf8_filename, forced_enc);
 			utils_beep();

Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c	2008-12-04 15:56:33 UTC (rev 3314)
+++ trunk/src/main.c	2008-12-04 15:56:54 UTC (rev 3315)
@@ -832,7 +832,7 @@
 	/* ATM when opening a project file any other filenames are ignored */
 	load_project_from_cl = (argc > 1) && g_str_has_suffix(argv[1], ".geany");
 	if (load_project_from_cl && argc > 2)
-		g_print(_("Ignoring extra filenames after %s"), argv[1]);
+		g_print("Ignoring extra filenames after %s", argv[1]);
 
 	if (load_project_from_cl || ! open_cl_files(argc, argv))
 	{

Modified: trunk/src/symbols.c
===================================================================
--- trunk/src/symbols.c	2008-12-04 15:56:33 UTC (rev 3314)
+++ trunk/src/symbols.c	2008-12-04 15:56:54 UTC (rev 3315)
@@ -1337,6 +1337,7 @@
 			ft = detect_global_tags_filetype(utf8_fname);
 
 			if (ft != NULL && tm_workspace_load_global_tags(fname, ft->lang))
+				/* For translators: the first wildcard is the filetype, the second the filename */
 				ui_set_statusbar(TRUE, _("Loaded %s tags file '%s'."), ft->name, utf8_fname);
 			else
 				ui_set_statusbar(TRUE, _("Could not load tags file '%s'."), utf8_fname);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list