diff --git a/apps/app-frontend/package.json b/apps/app-frontend/package.json index 44439c7976..a0468e289a 100644 --- a/apps/app-frontend/package.json +++ b/apps/app-frontend/package.json @@ -28,7 +28,8 @@ "@tauri-apps/plugin-updater": "^2.7.1", "@tauri-apps/plugin-window-state": "^2.2.2", "@types/three": "^0.172.0", - "@vintl/vintl": "^4.4.1", + "intl-messageformat": "^10.7.7", + "vue-i18n": "^9.14.0", "@vueuse/core": "^11.1.0", "dayjs": "^1.11.10", "floating-vue": "^5.2.2", diff --git a/apps/app-frontend/src/App.vue b/apps/app-frontend/src/App.vue index 26f041fd68..4901748de8 100644 --- a/apps/app-frontend/src/App.vue +++ b/apps/app-frontend/src/App.vue @@ -31,6 +31,7 @@ import { Button, ButtonStyled, commonMessages, + defineMessages, NewsArticleCard, NotificationPanel, OverflowMenu, @@ -39,6 +40,7 @@ import { provideNotificationManager, providePageContext, useDebugLogger, + useVIntl, } from '@modrinth/ui' import { renderString } from '@modrinth/utils' import { useQuery } from '@tanstack/vue-query' @@ -48,7 +50,6 @@ import { getCurrentWindow } from '@tauri-apps/api/window' import { openUrl } from '@tauri-apps/plugin-opener' import { type } from '@tauri-apps/plugin-os' import { saveWindowState, StateFlags } from '@tauri-apps/plugin-window-state' -import { defineMessages, useVIntl } from '@vintl/vintl' import { $fetch } from 'ofetch' import { computed, onMounted, onUnmounted, provide, ref, watch } from 'vue' import { RouterView, useRoute, useRouter } from 'vue-router' diff --git a/apps/app-frontend/src/components/ui/UpdateToast.vue b/apps/app-frontend/src/components/ui/UpdateToast.vue index af9676080d..b9b95f235a 100644 --- a/apps/app-frontend/src/components/ui/UpdateToast.vue +++ b/apps/app-frontend/src/components/ui/UpdateToast.vue @@ -1,8 +1,7 @@ @@ -298,7 +188,7 @@ function getItemLabel(locale: Locale) {
-