From 5fd9501bc2e879708b36ee17b3cb2bcd546feadc Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 17 Sep 2023 22:58:42 +0200 Subject: Add default_template_name(). --- src/lib/util.cc | 9 +++++++++ src/lib/util.h | 1 + 2 files changed, 10 insertions(+) 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 -- cgit v1.2.3