aboutsummaryrefslogtreecommitdiff
path: root/src/colloquium.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2018-04-11 17:27:19 +0200
committerThomas White <taw@bitwiz.org.uk>2018-04-11 17:27:49 +0200
commit55ae6cb963f3a312cedce56f3148340971ad7810 (patch)
tree632316b0455d5762a8b689dfe7b63c5e03934aad /src/colloquium.c
parent2cfad324a0e0efa1701bc3873368d2e786a113ba (diff)
Add more translation labels and get rid of redundant en po file
Diffstat (limited to 'src/colloquium.c')
-rw-r--r--src/colloquium.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/colloquium.c b/src/colloquium.c
index 2245306..ea81342 100644
--- a/src/colloquium.c
+++ b/src/colloquium.c
@@ -110,7 +110,7 @@ static void about_sig(GSimpleAction *action, GVariant *parameter, gpointer vp)
"© 2017-2018 Thomas White <taw@bitwiz.me.uk>");
gtk_about_dialog_set_comments(GTK_ABOUT_DIALOG(window),
/* Description of the program */
- gettext("Narrative-based presentation system"));
+ _("Narrative-based presentation system"));
gtk_about_dialog_set_license(GTK_ABOUT_DIALOG(window),
"© 2017-2018 Thomas White <taw@bitwiz.me.uk>\n"
"\n"
@@ -157,7 +157,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;
@@ -263,7 +263,7 @@ static void create_config(const char *filename)
FILE *fh;
fh = fopen(filename, "w");
if ( fh == NULL ) {
- fprintf(stderr, "Failed to create config\n");
+ fprintf(stderr, _("Failed to create config\n"));
return;
}
@@ -355,7 +355,7 @@ 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");
+ printf(_("Using app menu\n"));
builder = gtk_builder_new_from_resource("/uk/me/bitwiz/Colloquium/app-menu.ui");
GMenuModel *mmodel = G_MENU_MODEL(gtk_builder_get_object(builder, "app-menu"));
gtk_application_set_app_menu(GTK_APPLICATION(app), mmodel);