@kong-ui-public/i18n 0.2.9-pr.150.d91a0fb.0 → 0.2.9-pr.150.f69171d.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -161,7 +161,7 @@ _Please, do not use this method in any new code. This prevents using parameters/
161
161
 
162
162
  ### HTML safe formatting with `<i18n-t>`
163
163
 
164
- #### With registered i18nPlugin
164
+ #### When registered as Vue Plugin
165
165
 
166
166
  Sometimes it is needed to render translated message with HTML as part of the parameters. For this Provided component can be used.
167
167
 
@@ -260,11 +260,11 @@ In some cases we do not have access to the Vue `app` and cannot relay on registe
260
260
  </template>
261
261
 
262
262
  <script setup lang="ts">
263
- import { createI18n, Translation } from '@kong-ui-public/i18n'
263
+ import { createI18n, Translation, i18nTComponent} from '@kong-ui-public/i18n'
264
264
  import english from './locales/en.json'
265
265
 
266
266
  const i18n = createI18n('en-us', english)
267
- const i18nT = createI18nTComponent(i18n)
267
+ const i18nT = i18nTComponent(i18n)
268
268
 
269
269
  </script>
270
270
 
package/dist/i18n.es.js CHANGED
@@ -3347,7 +3347,7 @@ const cr = (e = null) => ke({
3347
3347
  export {
3348
3348
  vr as Translation,
3349
3349
  gr as createI18n,
3350
- cr as createI18nTComponent,
3350
+ cr as i18nTComponent,
3351
3351
  pr as useI18n
3352
3352
  };
3353
3353
  //# sourceMappingURL=i18n.es.js.map