diff --git a/public/app.css b/public/app.css index c8b1a5625..027f9305b 100644 --- a/public/app.css +++ b/public/app.css @@ -21,8 +21,9 @@ } .LoadingMessage span { - background-color: rgba(255, 255, 255, 0.8); + background-color: var(--button-gray-1); border-radius: 5px; padding: 0.8em 1.2em; + color: var(--popup-text-color); font-size: 1.3em; } diff --git a/src/components/LoadingMessage.tsx b/src/components/LoadingMessage.tsx index 0bfd4232f..fa2461e79 100644 --- a/src/components/LoadingMessage.tsx +++ b/src/components/LoadingMessage.tsx @@ -1,10 +1,11 @@ import React from "react"; +import { t } from "../i18n"; export const LoadingMessage = () => { // !! KEEP THIS IN SYNC WITH index.html !! return (
- {"Loading scene..."} + {t("labels.loadingScene")}
); }; diff --git a/src/locales/en.json b/src/locales/en.json index 80c0bd819..62ec04c9b 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -68,7 +68,8 @@ "toggleGridMode": "Toggle grid mode", "addToLibrary": "Add to library", "removeFromLibrary": "Remove from library", - "libraryLoadingMessage": "Loading library..." + "libraryLoadingMessage": "Loading library...", + "loadingScene": "Loading scene..." }, "buttons": { "clearReset": "Reset the canvas",