summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--langpacks/english/Plugins/HistoryPP.txt1
-rw-r--r--plugins/HistoryPlusPlus/HistoryForm.pas7
2 files changed, 2 insertions, 6 deletions
diff --git a/langpacks/english/Plugins/HistoryPP.txt b/langpacks/english/Plugins/HistoryPP.txt
index 69ddf0fd22..9b3de7b17b 100644
--- a/langpacks/english/Plugins/HistoryPP.txt
+++ b/langpacks/english/Plugins/HistoryPP.txt
@@ -343,3 +343,4 @@
[Incoming events]
[Outgoing events]
[Unused]
+[Can not apply default toolbar configuration.]
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