summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2022-01-02 02:33:48 +0300
committerdartraiden <wowemuh@gmail.com>2022-01-02 02:33:48 +0300
commitf703fea6fe02ffa69766d4b0c3fb3a09a1de7c6e (patch)
treeb705c65390954e520c69c002fb9d6e8fd0512e8a /plugins/HistoryPlusPlus
parent7728a8d4f6138cc336268db2e5fa39a31e98b3ae (diff)
HistoryPP: make error message translatable
Diffstat (limited to 'plugins/HistoryPlusPlus')
-rw-r--r--plugins/HistoryPlusPlus/HistoryForm.pas7
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/HistoryPlusPlus/HistoryForm.pas b/plugins/HistoryPlusPlus/HistoryForm.pas
index c2c25f171f..403a62a62b 100644
--- a/plugins/HistoryPlusPlus/HistoryForm.pas
+++ b/plugins/HistoryPlusPlus/HistoryForm.pas
@@ -758,12 +758,7 @@ begin
// show error if it doesn't work
if tb_str = DEF_HISTORY_TOOLBAR then
begin
- // don't think it should be translated:
- HppMessageBox(Handle, 'Can not apply default toolbar configuration.' + #10#13 +
- 'Looks like it is an internal problem.' + #10#13 + #10#13 +
- 'Download new History++ version or report the error to the authors' + #10#13 +
- '(include plugin version number and file date in the report).' + #10#13 + #10#13 +
- 'You can find authors'' emails and plugin website in the Options->Plugins page.',
+ HppMessageBox(Handle, TranslateW('Can not apply default toolbar configuration.'),
TranslateW('Error'), MB_OK or MB_ICONERROR);
Exit;
end