diff --git a/ui/v2.5/src/App.tsx b/ui/v2.5/src/App.tsx index c6970b3de9a..31a6a400e49 100755 --- a/ui/v2.5/src/App.tsx +++ b/ui/v2.5/src/App.tsx @@ -75,9 +75,9 @@ export const App: React.FC = () => { const defaultMessageLanguage = languageMessageString(defaultLocale); const messageLanguage = languageMessageString(language); - const defaultMessages = await locales[defaultMessageLanguage](); + const defaultMessages = (await locales[defaultMessageLanguage]()).default; const mergedMessages = cloneDeep(Object.assign({}, defaultMessages)); - const chosenMessages = await locales[messageLanguage](); + const chosenMessages = (await locales[messageLanguage]()).default; mergeWith(mergedMessages, chosenMessages, (objVal, srcVal) => { if (srcVal === "") { return objVal; diff --git a/ui/v2.5/src/components/Changelog/versions/v0161.md b/ui/v2.5/src/components/Changelog/versions/v0161.md index 76ffde24a67..f0103f76ae5 100644 --- a/ui/v2.5/src/components/Changelog/versions/v0161.md +++ b/ui/v2.5/src/components/Changelog/versions/v0161.md @@ -1,4 +1,5 @@ ### 🐛 Bug fixes +* Fix New button not being localised correctly. ([#2772](https://github.com/stashapp/stash/pull/2772)) * Fix scene player losing focus when playing next/previous scene. ([#2758](https://github.com/stashapp/stash/pull/2758)) * Fix UI crash when % character used in tag names. ([#2757](https://github.com/stashapp/stash/pull/2757)) * Fix keyboard shortcuts not working after selecting an object. ([#2750](https://github.com/stashapp/stash/pull/2750))