summaryrefslogtreecommitdiff
path: root/src/lib/util.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-04-26 11:53:40 +0200
committerCarl Hetherington <cth@carlh.net>2024-04-26 11:53:40 +0200
commit74e944d9ba137386efff089f9906e64d255836c9 (patch)
treee4b15b1d1164c069b6df036f4f4c0316c665a7e1 /src/lib/util.cc
parent17ef19940f152ceeb2e1ad696dd5e7ac5917d8cd (diff)
Allow customisation of error report email address.
Diffstat (limited to 'src/lib/util.cc')
-rw-r--r--src/lib/util.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc
index b727d7b68..2f5c1ce49 100644
--- a/src/lib/util.cc
+++ b/src/lib/util.cc
@@ -1178,3 +1178,10 @@ screen_names_to_string(vector<string> names)
return result.substr(0, result.length() - 2);
}
+
+string
+report_problem()
+{
+ return String::compose(_("Please report this problem by using Help -> Report a problem or via email to %1"), variant::report_problem_email());
+}
+