Skip to content

Commit

Permalink
Fix internationalization of the File Properties dialog title
Browse files Browse the repository at this point in the history
  • Loading branch information
b4n committed May 19, 2013
1 parent 9652a34 commit 2e9a175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dialogs.c
Expand Up @@ -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);
Expand Down

0 comments on commit 2e9a175

Please sign in to comment.