@@ -55,6 +55,60 @@ export const NUXT_I18N_MODULE_ID = \\"@nuxtjs/i18n\\"
55
55
"
56
56
` ;
57
57
58
+ exports [` toCode: function (arrow) 1` ] = `
59
+ "export const localeCodes = [\\ "en\\ ",\\ "ja\\ ",\\ "fr\\ "]
60
+
61
+ export const additionalMessages = Object({ } )
62
+
63
+ export const resolveNuxtI18nOptions = async (context) => {
64
+ const nuxtI18nOptions = Object ({})
65
+ nuxtI18nOptions .defaultLocale = \\" en\\ "
66
+ const vueI18nOptionsLoader = async (context ) => Object ({\\" locale\\ " :\\" en\\ " ,\\" fallbackLocale\\ " :\\" en\\ " ,\\" messages\\ " : Object ({\\" en\\ " :{
67
+ \\" hello\\ " : (()=> {const fn= (ctx ) => {const { normalize : _normalize } = ctx ;return _normalize ([\\" Hello!\\ " ])};fn .source = \\" Hello!\\ " ;return fn ;})()
68
+ },}),})
69
+ nuxtI18nOptions .vueI18n = await vueI18nOptionsLoader (context )
70
+ nuxtI18nOptions .locales = [Object ({\\" code\\ " :\\" en\\ " ,\\" file\\ " :\\" en.json\\ " ,\\" path\\ " :\\" /path/to/en.json\\ " ,\\" testFunc\\ " :((prop ) => {
71
+ return \` Hello \$ { prop } \` ;
72
+ })}),Object({ \\" code\\ " :\\" ja\\ " ,\\" file\\ " :\\" ja.json\\ " ,\\" path\\ " :\\" /path/to/ja.json\\ " ,\\" testFunc\\ " :((prop ) => {
73
+ return \` Hello \$ { prop } \` ;
74
+ })})]
75
+ return nuxtI18nOptions
76
+ }
77
+
78
+ export const nuxtI18nOptionsDefault = Object({ vueI18n : undefined ,locales : [],defaultLocale : \\" \\ " ,defaultDirection : \\" ltr\\ " ,routesNameSeparator : \\" ___\\ " ,trailingSlash : false ,defaultLocaleRouteNameSuffix : \\" default\\ " ,strategy : \\" prefix_except_default\\ " ,lazy : false ,langDir : null ,rootRedirect : null ,detectBrowserLanguage : Object ({\\" alwaysRedirect\\ " :false ,\\" cookieCrossOrigin\\ " :false ,\\" cookieDomain\\ " :null ,\\" cookieKey\\ " :\\" i18n_redirected\\ " ,\\" cookieSecure\\ " :false ,\\" fallbackLocale\\ " :\\" \\ " ,\\" redirectOn\\ " :\\" root\\ " ,\\" useCookie\\ " :true }),differentDomains : false ,baseUrl : \\" \\ " ,dynamicRouteParams : false ,parsePages : true ,pages : Object ({}),skipSettingLocaleOnNavigate : false ,onBeforeLanguageSwitch : (() => \\" \\ " ),onLanguageSwitched : (() => null ),types : undefined ,debug : false } )
79
+
80
+ export const nuxtI18nInternalOptions = Object({ __normalizedLocales : [Object ({\\" code\\ " :\\" en\\ " })]} )
81
+ export const NUXT_I18N_MODULE_ID = \\ "@nuxtjs/i18n\\ "
82
+ "
83
+ ` ;
84
+
85
+ exports [` toCode: function (named) 1` ] = `
86
+ "export const localeCodes = [\\ "en\\ ",\\ "ja\\ ",\\ "fr\\ "]
87
+
88
+ export const additionalMessages = Object({ } )
89
+
90
+ export const resolveNuxtI18nOptions = async (context) => {
91
+ const nuxtI18nOptions = Object ({})
92
+ nuxtI18nOptions .defaultLocale = \\" en\\ "
93
+ const vueI18nOptionsLoader = async (context ) => Object ({\\" locale\\ " :\\" en\\ " ,\\" fallbackLocale\\ " :\\" en\\ " ,\\" messages\\ " : Object ({\\" en\\ " :{
94
+ \\" hello\\ " : (()=> {const fn= (ctx ) => {const { normalize : _normalize } = ctx ;return _normalize ([\\" Hello!\\ " ])};fn .source = \\" Hello!\\ " ;return fn ;})()
95
+ },}),})
96
+ nuxtI18nOptions .vueI18n = await vueI18nOptionsLoader (context )
97
+ nuxtI18nOptions .locales = [Object ({\\" code\\ " :\\" en\\ " ,\\" file\\ " :\\" en.json\\ " ,\\" path\\ " :\\" /path/to/en.json\\ " ,\\" testFunc\\ " :(function (prop ) {
98
+ return \` Hello \$ { prop } \` ;
99
+ })}),Object({ \\" code\\ " :\\" ja\\ " ,\\" file\\ " :\\" ja.json\\ " ,\\" path\\ " :\\" /path/to/ja.json\\ " ,\\" testFunc\\ " :(function (prop ) {
100
+ return \` Hello \$ { prop } \` ;
101
+ })})]
102
+ return nuxtI18nOptions
103
+ }
104
+
105
+ export const nuxtI18nOptionsDefault = Object({ vueI18n : undefined ,locales : [],defaultLocale : \\" \\ " ,defaultDirection : \\" ltr\\ " ,routesNameSeparator : \\" ___\\ " ,trailingSlash : false ,defaultLocaleRouteNameSuffix : \\" default\\ " ,strategy : \\" prefix_except_default\\ " ,lazy : false ,langDir : null ,rootRedirect : null ,detectBrowserLanguage : Object ({\\" alwaysRedirect\\ " :false ,\\" cookieCrossOrigin\\ " :false ,\\" cookieDomain\\ " :null ,\\" cookieKey\\ " :\\" i18n_redirected\\ " ,\\" cookieSecure\\ " :false ,\\" fallbackLocale\\ " :\\" \\ " ,\\" redirectOn\\ " :\\" root\\ " ,\\" useCookie\\ " :true }),differentDomains : false ,baseUrl : \\" \\ " ,dynamicRouteParams : false ,parsePages : true ,pages : Object ({}),skipSettingLocaleOnNavigate : false ,onBeforeLanguageSwitch : (() => \\" \\ " ),onLanguageSwitched : (() => null ),types : undefined ,debug : false } )
106
+
107
+ export const nuxtI18nInternalOptions = Object({ __normalizedLocales : [Object ({\\" code\\ " :\\" en\\ " })]} )
108
+ export const NUXT_I18N_MODULE_ID = \\ "@nuxtjs/i18n\\ "
109
+ "
110
+ ` ;
111
+
58
112
exports [` vueI18n: path 1` ] = `
59
113
"import locale_en from \\ "../locales/en.json\\ " assert { type : \\" json\\ " } ;
60
114
import locale_ja from \\ "../locales/ja.json\\ " assert { type : \\" json\\ " } ;
0 commit comments