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(
8888export type TranslationDirective < T = HTMLElement > = ObjectDirective < T >
8989
9090export function vTDirective ( i18n : I18n ) : TranslationDirective < HTMLElement > {
91- const process = ( binding : DirectiveBinding ) : [ string , Composer ] => {
91+ const _process = ( binding : DirectiveBinding ) : [ string , Composer ] => {
9292 const { instance, modifiers, value } = binding
9393 /* istanbul ignore if */
9494 if ( ! instance || ! instance . $ ) {
@@ -108,7 +108,7 @@ export function vTDirective(i18n: I18n): TranslationDirective<HTMLElement> {
108108 }
109109
110110 const register = ( el : HTMLElement , binding : DirectiveBinding ) : void => {
111- const [ textContent , composer ] = process ( binding )
111+ const [ textContent , composer ] = _process ( binding )
112112 if ( inBrowser && i18n . global === composer ) {
113113 // global scope only
114114 el . __i18nWatcher = watch ( composer . locale , ( ) => {
@@ -141,7 +141,7 @@ export function vTDirective(i18n: I18n): TranslationDirective<HTMLElement> {
141141 }
142142 }
143143 const getSSRProps = ( binding : DirectiveBinding ) => {
144- const [ textContent ] = process ( binding )
144+ const [ textContent ] = _process ( binding )
145145 return { textContent }
146146 }
147147
You can’t perform that action at this time.
0 commit comments