diff --git a/SafeExamBrowser.Browser/Pages/HtmlLoader.cs b/SafeExamBrowser.Browser/Pages/HtmlLoader.cs index 569ab635..eb1b361f 100644 --- a/SafeExamBrowser.Browser/Pages/HtmlLoader.cs +++ b/SafeExamBrowser.Browser/Pages/HtmlLoader.cs @@ -66,6 +66,7 @@ namespace SafeExamBrowser.Browser.Pages var html = reader.ReadToEnd(); html = html.Replace("%%MESSAGE%%", text.Get(TextKey.Browser_LoadErrorPageMessage)); + html = html.Replace("%%RETRY_BUTTON%%", text.Get(TextKey.Browser_LoadErrorPageButton)); html = html.Replace("%%TITLE%%", text.Get(TextKey.Browser_LoadErrorPageTitle)); return html; diff --git a/SafeExamBrowser.Browser/Pages/LoadError.html b/SafeExamBrowser.Browser/Pages/LoadError.html index 880682bc..f2ab90e0 100644 --- a/SafeExamBrowser.Browser/Pages/LoadError.html +++ b/SafeExamBrowser.Browser/Pages/LoadError.html @@ -9,6 +9,7 @@

%%TITLE%%

%%MESSAGE%%

%%STATUS%%

+ \ No newline at end of file diff --git a/SafeExamBrowser.I18n.Contracts/TextKey.cs b/SafeExamBrowser.I18n.Contracts/TextKey.cs index d356628f..37e0744b 100644 --- a/SafeExamBrowser.I18n.Contracts/TextKey.cs +++ b/SafeExamBrowser.I18n.Contracts/TextKey.cs @@ -21,6 +21,7 @@ namespace SafeExamBrowser.I18n.Contracts Browser_BlockedPageMessage, Browser_BlockedPageTitle, Browser_LoadErrorPageMessage, + Browser_LoadErrorPageButton, Browser_LoadErrorPageTitle, Browser_Name, Browser_Tooltip, diff --git a/SafeExamBrowser.I18n/Data/de.xml b/SafeExamBrowser.I18n/Data/de.xml index ac5affbc..e74a1195 100644 --- a/SafeExamBrowser.I18n/Data/de.xml +++ b/SafeExamBrowser.I18n/Data/de.xml @@ -21,6 +21,9 @@ Beim Laden der Seite "%%URL%%" ist folgender Fehler aufgetreten: + + Erneut versuchen + Seiten-Ladefehler diff --git a/SafeExamBrowser.I18n/Data/en.xml b/SafeExamBrowser.I18n/Data/en.xml index 82e3149b..a3d85b72 100644 --- a/SafeExamBrowser.I18n/Data/en.xml +++ b/SafeExamBrowser.I18n/Data/en.xml @@ -21,6 +21,9 @@ An error occurred while loading page "%%URL%%": + + Retry + Page Load Error