aboutsummaryrefslogtreecommitdiffstats
path: root/src/wwwroot/scripts/messages.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/wwwroot/scripts/messages.js')
-rw-r--r--src/wwwroot/scripts/messages.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/wwwroot/scripts/messages.js b/src/wwwroot/scripts/messages.js
new file mode 100644
index 0000000..a426677
--- /dev/null
+++ b/src/wwwroot/scripts/messages.js
@@ -0,0 +1,12 @@
+import {strings} from "./i10n.ts";
+
+export const messages = {
+ networkRequestFailed: {
+ title: strings.languageSpesific.could_not_reach_server,
+ message: strings.languageSpesific.try_again_soon,
+ },
+ unknownError: {
+ title: strings.languageSpesific.an_unknown_error_occured,
+ message: strings.languageSpesific.try_again_soon,
+ },
+}; \ No newline at end of file