From f703fea6fe02ffa69766d4b0c3fb3a09a1de7c6e Mon Sep 17 00:00:00 2001 From: dartraiden Date: Sun, 2 Jan 2022 02:33:48 +0300 Subject: HistoryPP: make error message translatable --- plugins/HistoryPlusPlus/HistoryForm.pas | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'plugins') 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 -- cgit v1.2.3