[geany/geany] 2e9a17: Fix internationalization of the File Properties dialog title
Colomban Wendling
git-noreply at xxxxx
Sun May 19 23:50:02 UTC 2013
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Sun, 19 May 2013 23:50:02 UTC
Commit: 2e9a1753d7b11e2f7acf630fe2a4895727130b72
https://github.com/geany/geany/commit/2e9a1753d7b11e2f7acf630fe2a4895727130b72
Log Message:
-----------
Fix internationalization of the File Properties dialog title
Modified Paths:
--------------
src/dialogs.c
Modified: src/dialogs.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -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);
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list