aboutsummaryrefslogtreecommitdiff
path: root/src/colloquium.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-11-10 21:46:24 +0100
committerThomas White <taw@physics.org>2018-11-10 21:46:24 +0100
commit738715858a0ca28ce4a85e0b556e09368e96cdf0 (patch)
tree9c1cebe6851524464eb360b72e0e92df708b333b /src/colloquium.c
parenta12dba1223bba998d3c6d29aada61a609d9ea351 (diff)
Mark debugging messages as non-translatable
Diffstat (limited to 'src/colloquium.c')
-rw-r--r--src/colloquium.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/colloquium.c b/src/colloquium.c
index a8da4d9..02ffa0a 100644
--- a/src/colloquium.c
+++ b/src/colloquium.c
@@ -145,7 +145,7 @@ static GFile **gslist_to_array(GSList *item, int *n)
while ( item != NULL ) {
if ( i == len ) {
- fprintf(stderr, _("WTF? Too many files\n"));
+ fprintf(stderr, "WTF? Too many files\n");
break;
}
files[i++] = item->data;
@@ -169,7 +169,7 @@ static gint open_response_sig(GtkWidget *d, gint response, GApplication *papp)
files = gtk_file_chooser_get_files(GTK_FILE_CHOOSER(d));
files_array = gslist_to_array(files, &n_files);
if ( files_array == NULL ) {
- fprintf(stderr, _("Failed to convert file list\n"));
+ fprintf(stderr, "Failed to convert file list\n");
return 0;
}
g_slist_free(files);
@@ -274,7 +274,7 @@ static int yesno(const char *a)
if ( strcasecmp(a, "no") == 0 ) return 0;
if ( strcasecmp(a, "false") == 0 ) return 0;
- fprintf(stderr, _("Don't understand '%s', assuming false\n"), a);
+ fprintf(stderr, "Don't understand '%s', assuming false\n", a);
return 0;
}
@@ -341,7 +341,6 @@ static void colloquium_startup(GApplication *papp)
* desktop environment. All the entries are already in the
* normal menus, so don't let GTK create a fallback menu in the
* menu bar. */
- printf(_("Using app menu\n"));
GMenuModel *mmodel = G_MENU_MODEL(gtk_builder_get_object(app->builder, "app-menu"));
gtk_application_set_app_menu(GTK_APPLICATION(app), mmodel);
}