From b1217475b861a290b8ef783330c6b97dedadd826 Mon Sep 17 00:00:00 2001 From: Patrick Storz Date: Sun, 17 Feb 2019 01:06:56 +0100 Subject: Move logic to build localized filenames into io/ressource.cpp Now all that's needed to prefer a localized version of the file (if available) is a Boolean. --- src/file.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/file.cpp') diff --git a/src/file.cpp b/src/file.cpp index 1de03951f..1e2271d2c 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -160,8 +160,7 @@ SPDesktop *sp_file_new(const std::string &templ) Glib::ustring sp_file_default_template_uri() { - // TRANSLATORS: translate this into "default..svg" (for instance, default.fr.svg) - return Inkscape::IO::Resource::get_filename(TEMPLATES, "default.svg", _("default.svg")); + return Inkscape::IO::Resource::get_filename(TEMPLATES, "default.svg", true); } SPDesktop* sp_file_new_default() -- cgit v1.2.3