From 41ea63ceadfdc2e85c64b48eb02d135b6434cb87 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 14 Apr 2020 19:01:10 +0200 Subject: [PATCH] Keep string markdown untranslatable --- gtk2_ardour/add_route_dialog.cc | 2 +- gtk2_ardour/session_dialog.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk2_ardour/add_route_dialog.cc b/gtk2_ardour/add_route_dialog.cc index 9ab829e366..702e4d49f6 100644 --- a/gtk2_ardour/add_route_dialog.cc +++ b/gtk2_ardour/add_route_dialog.cc @@ -938,7 +938,7 @@ AddRouteDialog::refill_channel_setups () row[track_template_columns.name] = (*s)->name; row[track_template_columns.path] = "urn:ardour:" + (*s)->path; row[track_template_columns.description] = (*s)->description; - row[track_template_columns.modified_with] = _("{Factory Template}"); + row[track_template_columns.modified_with] = string_compose ("{%1}", _("Factory Template")); if ((*s)->name == "Create Audio Tracks Interactively" && Profile->get_mixbus ()) { trk_template_chooser.get_selection()->select(row); diff --git a/gtk2_ardour/session_dialog.cc b/gtk2_ardour/session_dialog.cc index bbf8335d34..be8b067b92 100644 --- a/gtk2_ardour/session_dialog.cc +++ b/gtk2_ardour/session_dialog.cc @@ -576,8 +576,8 @@ SessionDialog::populate_session_templates () row[session_template_columns.name] = (*s)->name; row[session_template_columns.path] = "urn:ardour:" + (*s)->path; row[session_template_columns.description] = (*s)->description; - row[session_template_columns.modified_with_short] = _("{Factory Template}"); - row[session_template_columns.modified_with_long] = _("{Factory Template}"); + row[session_template_columns.modified_with_short] = string_compose ("{%1}", _("Factory Template")); + row[session_template_columns.modified_with_long] = string_compose ("{%1}", _("Factory Template")); } //Add any "template sessions" found in the user's preferences folder