summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-04-14 19:01:10 +0200
committerRobin Gareus <robin@gareus.org>2020-04-14 19:01:10 +0200
commit41ea63ceadfdc2e85c64b48eb02d135b6434cb87 (patch)
tree73a71d606a83f3f93731d1924ddf88e9c99a0b39
parent701605129ed9ee623350f218901ee50b1a899f99 (diff)
Keep string markdown untranslatable
-rw-r--r--gtk2_ardour/add_route_dialog.cc2
-rw-r--r--gtk2_ardour/session_dialog.cc4
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