File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/vue-i18n-core/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ function getComposer(
88
88
export type TranslationDirective < T = HTMLElement > = ObjectDirective < T >
89
89
90
90
export function vTDirective ( i18n : I18n ) : TranslationDirective < HTMLElement > {
91
- const process = ( binding : DirectiveBinding ) : [ string , Composer ] => {
91
+ const _process = ( binding : DirectiveBinding ) : [ string , Composer ] => {
92
92
const { instance, modifiers, value } = binding
93
93
/* istanbul ignore if */
94
94
if ( ! instance || ! instance . $ ) {
@@ -108,7 +108,7 @@ export function vTDirective(i18n: I18n): TranslationDirective<HTMLElement> {
108
108
}
109
109
110
110
const register = ( el : HTMLElement , binding : DirectiveBinding ) : void => {
111
- const [ textContent , composer ] = process ( binding )
111
+ const [ textContent , composer ] = _process ( binding )
112
112
if ( inBrowser && i18n . global === composer ) {
113
113
// global scope only
114
114
el . __i18nWatcher = watch ( composer . locale , ( ) => {
@@ -141,7 +141,7 @@ export function vTDirective(i18n: I18n): TranslationDirective<HTMLElement> {
141
141
}
142
142
}
143
143
const getSSRProps = ( binding : DirectiveBinding ) => {
144
- const [ textContent ] = process ( binding )
144
+ const [ textContent ] = _process ( binding )
145
145
return { textContent }
146
146
}
147
147
You can’t perform that action at this time.
0 commit comments