Kaydet (Commit) 72d64939 authored tarafından Enrico Tröger's avatar Enrico Tröger

Don't mark console messages as translatable.

Add two comments for translators.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3315 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 66d27600
......@@ -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>
......
......@@ -823,6 +823,8 @@ static gboolean load_text_file(const gchar *locale_filename, const gchar *utf8_f
}
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();
......
......@@ -832,7 +832,7 @@ static void load_startup_files(gint argc, gchar **argv)
/* 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))
{
......
......@@ -1337,6 +1337,7 @@ void symbols_show_load_tags_dialog(void)
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment