mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +01:00
Make literals in libs/ardour/template_utils.cc translatable
This commit is contained in:
parent
c834e88e9e
commit
d2c163e788
1 changed files with 3 additions and 3 deletions
|
|
@ -106,13 +106,13 @@ find_session_templates (vector<TemplateInfo>& template_names, bool read_xml)
|
|||
continue;
|
||||
}
|
||||
|
||||
string created_with = "(unknown)";
|
||||
string created_with = _("(unknown)");
|
||||
XMLNode *pv = tree.root()->child("ProgramVersion");
|
||||
if (pv != 0) {
|
||||
pv->get_property (X_("created-with"), created_with);
|
||||
}
|
||||
|
||||
string description = "No Description";
|
||||
string description = _("No Description");
|
||||
XMLNode *desc = tree.root()->child("description");
|
||||
if (desc != 0) {
|
||||
description = desc->attribute_value();
|
||||
|
|
@ -149,7 +149,7 @@ find_route_templates (vector<TemplateInfo>& template_names)
|
|||
|
||||
XMLNode* root = tree.root();
|
||||
|
||||
string description = "No Description";
|
||||
string description = _("No Description");
|
||||
XMLNode* desc = tree.root()->child ("description");
|
||||
if (desc) {
|
||||
description = desc->attribute_value ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue