summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/NewStory/src/options.cpp6
-rw-r--r--plugins/NewStory/src/templates.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/NewStory/src/options.cpp b/plugins/NewStory/src/options.cpp
index 0e32405a02..b57cb06d6d 100644
--- a/plugins/NewStory/src/options.cpp
+++ b/plugins/NewStory/src/options.cpp
@@ -164,7 +164,7 @@ public:
if (m_curr) {
replaceStrW(m_curr->tmpValue, nullptr);
replaceStrW(m_curr->value, nullptr);
- m_edit.SetText(m_curr->defvalue);
+ m_edit.SetText(TranslateW(m_curr->defvalue));
}
UpdatePreview(0);
@@ -178,7 +178,7 @@ public:
if (m_curr->value)
m_edit.SetText(m_curr->value);
else
- m_edit.SetText(m_curr->defvalue);
+ m_edit.SetText(TranslateW(m_curr->defvalue));
UpdatePreview(0);
}
@@ -250,7 +250,7 @@ public:
else if (m_curr->value)
m_edit.SetText(m_curr->value);
else
- m_edit.SetText(m_curr->defvalue);
+ m_edit.SetText(TranslateW(m_curr->defvalue));
UpdatePreview(0);
}
diff --git a/plugins/NewStory/src/templates.cpp b/plugins/NewStory/src/templates.cpp
index 039d5306cd..9f01361462 100644
--- a/plugins/NewStory/src/templates.cpp
+++ b/plugins/NewStory/src/templates.cpp
@@ -298,7 +298,7 @@ HICON TemplateInfo::getIcon() const
TemplateInfo templates[TPL_COUNT] =
{
{ "tpl/interface/title", LPGENW("Interface"), ICO_NEWSTORY, LPGENW("Window title"),
- L"%N - history [%c messages total]", 0, 0,
+ LPGENW("%N - history [%c messages total]"), 0, 0,
{ vfGlobal, vfContact, 0, 0, 0 } },
{ "tpl/msglog/msg", LPGENW("Message log"), ICO_SENDMSG, LPGENW("Messages"),