summaryrefslogtreecommitdiff
path: root/src/dirs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dirs.cpp')
-rw-r--r--src/dirs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dirs.cpp b/src/dirs.cpp
index d05500b97..190249737 100644
--- a/src/dirs.cpp
+++ b/src/dirs.cpp
@@ -527,8 +527,8 @@ void Dirs::initScreenshotDir()
settings.screenshotDir = settings.options.screenshotDir;
if (mkdir_r(settings.screenshotDir.c_str()))
{
- // TRANSLATORS: directory creation error
logger->log(strprintf(
+ // TRANSLATORS: directory creation error
_("Error: %s doesn't exist and can't be created! "
"Exiting."), settings.screenshotDir.c_str()));
}
@@ -548,8 +548,8 @@ void Dirs::initScreenshotDir()
if (mkdir_r(settings.screenshotDir.c_str()))
{
- // TRANSLATORS: directory creation error
logger->log(strprintf(
+ // TRANSLATORS: directory creation error
_("Error: %s doesn't exist and can't be created! "
"Exiting."), settings.screenshotDir.c_str()));
}