summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-09-17 22:58:42 +0200
committerCarl Hetherington <cth@carlh.net>2023-09-17 22:58:42 +0200
commit5fd9501bc2e879708b36ee17b3cb2bcd546feadc (patch)
tree26031dee1520a03080f78655cf3431475c45df2a
parent7aee68aff2fd8d229ef1dfd8559ab949f05b3291 (diff)
Add default_template_name().
-rw-r--r--src/lib/util.cc9
-rw-r--r--src/lib/util.h1
2 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc
index 083987116..250ec7c2b 100644
--- a/src/lib/util.cc
+++ b/src/lib/util.cc
@@ -1112,3 +1112,12 @@ word_wrap(string input, int columns)
return output;
}
+
+
+string
+default_template_name()
+{
+ /// TRANSLATORS: this is the name of the template that will be used by default when
+ /// creating a new film.
+ return _("Default");
+}
diff --git a/src/lib/util.h b/src/lib/util.h
index 2d65b9214..267f51689 100644
--- a/src/lib/util.h
+++ b/src/lib/util.h
@@ -98,6 +98,7 @@ extern std::string error_details(boost::system::error_code ec);
extern bool contains_assetmap(boost::filesystem::path dir);
extern std::string word_wrap(std::string input, int columns);
extern void capture_ffmpeg_logs();
+extern std::string default_template_name();
template <class T>