Skip to content
This repository was archived by the owner on Sep 25, 2025. It is now read-only.

Commit fd87d54

Browse files
authored
Merge pull request #233 from RMI-PACTA/package-update
Package update
2 parents 425111f + 9e380f7 commit fd87d54

File tree

4 files changed

+1807
-603
lines changed

4 files changed

+1807
-603
lines changed

frontend/lib/auditlogquery/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { type AuditLogQueryReq, type AuditLogQuerySort, type AuditLogQueryWhere, type AuditLogQuerySortBy } from '@/openapi/generated/pacta'
22
import { type WritableComputedRef } from 'vue'
3-
import { type LocalePathFunction } from 'vue-i18n-routing'
3+
import type { LocalePathFunction } from '@nuxtjs/i18n/dist/runtime/composables'
44
import { computed } from 'vue'
55

66
const encodeAuditLogQuerySorts = (sorts: AuditLogQuerySort[]): string => {

frontend/nuxt.config.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ export default defineNuxtConfig({
5353
},
5454
i18n: {
5555
baseUrl: process.env.BASE_URL,
56-
strategy: process.env.I18N_STRATEGY, // When we have a prod env, this should be 'prefix_except_default'
56+
strategy: (process.env.I18N_STRATEGY ?? 'prefix_except_default') as 'no_prefix' | 'prefix_except_default' | 'prefix' | 'prefix_and_default',
5757
vueI18n: './i18n.config.ts',
5858
locales: [
59-
{ code: 'en', iso: 'en-US', file: { path: 'en.json', cache: false }, name: 'English' },
60-
{ code: 'fr', iso: 'fr-FR', file: { path: 'fr.json', cache: false }, name: 'Français' },
61-
{ code: 'es', iso: 'es-ES', file: { path: 'es.json', cache: false }, name: 'Español' },
62-
{ code: 'de', iso: 'de-DE', file: { path: 'de.json', cache: false }, name: 'Deutsch' },
59+
{ code: 'en', language: 'en-US', file: { path: 'en.json', cache: false }, name: 'English' },
60+
{ code: 'fr', language: 'fr-FR', file: { path: 'fr.json', cache: false }, name: 'Français' },
61+
{ code: 'es', language: 'es-ES', file: { path: 'es.json', cache: false }, name: 'Español' },
62+
{ code: 'de', language: 'de-DE', file: { path: 'de.json', cache: false }, name: 'Deutsch' },
6363
],
6464
lazy: true,
6565
langDir: 'lang',

0 commit comments

Comments
 (0)