Skip to content

Commit 9bab537

Browse files
fix some typos in examples/ (#419)
1 parent b1687fe commit 9bab537

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

examples/composition/directive/basic.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<body>
1010
<div id="app">
1111
<form>
12-
<!-- e.g. string lieteral -->
12+
<!-- e.g. string literal -->
1313
<label for="locale-select" v-t="'message.language'"></label>
1414
<select id="locale-select" v-model="locale">
1515
<option value="en">en</option>

examples/composition/functions/named.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<meta charset="utf-8" />
5-
<title>Example: Named interpolatino with message function</title>
5+
<title>Example: Named interpolation with message function</title>
66
<script src="../../../node_modules/vue/dist/vue.global.js"></script>
77
<script src="../../../packages/vue-i18n/dist/vue-i18n.global.js"></script>
88
</head>

examples/composition/scope/inherit-locale.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ <h1>Child</h1>
4848
message: {
4949
language: 'Language',
5050
inherit: 'Inherit locale from root',
51-
hello: 'hello earch!',
51+
hello: 'hello earth!',
5252
hi: 'Hi there!'
5353
}
5454
},

examples/composition/started.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
const app = createApp({
4444
setup() {
45-
// `useI18n` return the global compser that is created at `createI18n`
45+
// `useI18n` return the global composer that is created at `createI18n`
4646
// `useI18n` must to be called at head of `setup` function
4747
const { t, locale } = useI18n()
4848

examples/lazy-loading/vite/src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default defineComponent({
4444
*
4545
* If you use the vue-i18n composer `locale` property directly, it will be re-rendering component when this property is changed,
4646
* before dynamic import was used to asynchronously load and apply locale messages
47-
* To avoid this, use the anoter locale reactive value.
47+
* To avoid this, use the another locale reactive value.
4848
*/
4949
const currentLocale = ref(locale.value)
5050

examples/lazy-loading/webpack/src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default defineComponent({
4444
*
4545
* If you use the vue-i18n composer `locale` property directly, it will be re-rendering component when this property is changed,
4646
* before dynamic import was used to asynchronously load and apply locale messages
47-
* To avoid this, use the anoter locale reactive value.
47+
* To avoid this, use the another locale reactive value.
4848
*/
4949
const currentLocale = ref(locale.value)
5050

examples/lazy-loading/webpack/src/i18n.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function setI18nLanguage(i18n, locale) {
2626
}
2727

2828
export async function loadLocaleMessages(i18n, locale) {
29-
// load locale messages with dynami import
29+
// load locale messages with dynamic import
3030
const messages = await import(
3131
/* webpackChunkName: "locale-[request]" */ `./locales/${locale}.json`
3232
)

examples/legacy/directive/basic.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<body>
1010
<div id="app">
1111
<form>
12-
<!-- e.g. string lieteral -->
12+
<!-- e.g. string literal -->
1313
<label for="locale-select" v-t="'message.language'"></label>
1414
<select id="locale-select" v-model="$i18n.locale">
1515
<option value="en">en</option>

examples/legacy/functions/named.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<meta charset="utf-8" />
5-
<title>Example: Named interpolatino with message function</title>
5+
<title>Example: Named interpolation with message function</title>
66
<script src="../../../node_modules/vue/dist/vue.global.js"></script>
77
<script src="../../../packages/vue-i18n/dist/vue-i18n.global.js"></script>
88
</head>

0 commit comments

Comments
 (0)