From 2e9a1753d7b11e2f7acf630fe2a4895727130b72 Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Mon, 20 May 2013 01:47:25 +0200 Subject: [PATCH] Fix internationalization of the File Properties dialog title --- src/dialogs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialogs.c b/src/dialogs.c index e8f1e6321f..aaacf14290 100644 --- a/src/dialogs.c +++ b/src/dialogs.c @@ -1209,7 +1209,7 @@ void dialogs_show_file_properties(GeanyDocument *doc) base_name = g_path_get_basename(doc->file_name); short_name = utils_str_middle_truncate(base_name, 30); - title = g_strconcat(short_name, " ", _("Properties"), NULL); + title = g_strdup_printf(_("%s Properties"), short_name); dialog = gtk_dialog_new_with_buttons(title, GTK_WINDOW(main_widgets.window), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_CLOSE, GTK_RESPONSE_CANCEL, NULL);