@kong-ui-public/i18n 0.2.9-pr.150.4b31da5.0 → 0.2.9-pr.150.8ee1b0d.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 +2 -2
- package/package.json +1 -1
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
|
-
####
|
|
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,7 +260,7 @@ 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,
|
|
263
|
+
import { createI18n, i18nTComponent } from '@kong-ui-public/i18n'
|
|
264
264
|
import english from './locales/en.json'
|
|
265
265
|
|
|
266
266
|
const i18n = createI18n('en-us', english)
|