summaryrefslogtreecommitdiff
path: root/plugins/PasteIt/src/Options.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-11-06 19:39:18 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-11-06 19:39:18 +0300
commit4000b35d600ecd71733cb929c407e814309f3f49 (patch)
treebe38312fcc224de3d84db05c4da900a6e8dc3744 /plugins/PasteIt/src/Options.cpp
parent3514cf14b90ef174ce957723f1fb248670eec8a7 (diff)
fixes #3854 (PasteIt: сделать "None" переводимым)
Diffstat (limited to 'plugins/PasteIt/src/Options.cpp')
-rw-r--r--plugins/PasteIt/src/Options.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/PasteIt/src/Options.cpp b/plugins/PasteIt/src/Options.cpp
index d44e6ca6ca..5b93158781 100644
--- a/plugins/PasteIt/src/Options.cpp
+++ b/plugins/PasteIt/src/Options.cpp
@@ -534,7 +534,7 @@ INT_PTR CALLBACK Options::DlgProcOptsConfigure(HWND hwndDlg, UINT msg, WPARAM wP
SelectLbConfigure(hwndDlg, -1, optsConfigureData);
optsConfigureData->tempFormats = pasteToWebs[optsConfigureData->page]->GetDefFormats();
for (std::list<PasteFormat>::iterator it = optsConfigureData->tempFormats.begin(); it != optsConfigureData->tempFormats.end(); ++it) {
- ListBox_AddString(lb, it->name.c_str());
+ ListBox_AddString(lb, TranslateW(it->name.c_str()));
}
}
}
@@ -823,8 +823,8 @@ void Options::Load()
}
}
-WebOptions::WebOptions(int serv)
- : server(serv),
+WebOptions::WebOptions(int serv) :
+ server(serv),
formats(pasteToWebs[serv]->GetDefFormats()),
sendFileName(true),
isSendFileName(true),