chore(windows): split long string into 3

This commit is contained in:
Marc Durdin 2023-01-25 16:09:14 +07:00
parent 49325fcefe
commit e11ef604eb
3 changed files with 9 additions and 8 deletions

View file

@ -101,7 +101,9 @@ type
ssDownloadingTitle,
ssDownloadingText,
ssOffline
ssOffline,
ssOffline2,
ssOffline3
);
implementation

View file

@ -397,7 +397,9 @@ begin
end
else
begin
case MessageDlgW(FInstallInfo.Text(ssOffline), mtError, mbAbortRetryIgnore, 0) of
case MessageDlgW(
Trim(FInstallInfo.Text(ssOffline)+#13#10#13#10+FInstallInfo.Text(ssOffline2)+#13#10#13#10+FInstallInfo.Text(ssOffline3)),
mtError, mbAbortRetryIgnore, 0) of
mrAbort: Exit(False);
mrRetry: Continue;
mrIgnore: FForceOffline := True;

View file

@ -98,10 +98,7 @@ Restart now?</string>
<!-- Parameters: %0:s: filename -->
<string name="ssDownloadingText">Downloading %0:s</string>
<string name="ssOffline">$APPNAME Setup could not connect to keyman.com to download additional resources.
Please check that you are online, and give $APPNAME Setup permission to access the Internet in your firewall settings.
Click Abort to exit Setup, Retry to try and download resources again, or Ignore to continue offline.</string>
<string name="ssOffline">$APPNAME Setup could not connect to keyman.com to download additional resources.</string>
<string name="ssOffline2">Please check that you are online, and give $APPNAME Setup permission to access the Internet in your firewall settings.</string>
<string name="ssOffline3">Click Abort to exit Setup, Retry to try and download resources again, or Ignore to continue offline.</string>
</resources>