Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(started.md): Incorrect spelling in the StackBlitz example #2046

Open
4 tasks done
igorraphael opened this issue Dec 10, 2024 · 0 comments
Open
4 tasks done

docs(started.md): Incorrect spelling in the StackBlitz example #2046

igorraphael opened this issue Dec 10, 2024 · 0 comments
Labels
Status: Review Needed Request for review comments

Comments

@igorraphael
Copy link

Reporting a bug?

In this link:

const i18n = createI18n({
  locale: 'ja',
  fallbackLocale: 'en',
  messages: {
    en: {
      mesasge: {
        hello: 'hello world',
      },
    },
    ja: {
      message: {
        hello: 'こんにちは、世界',
      },
    },
  },
});

Expected behavior

Property message incorrect spelling

en: {
    mesasge: {
        hello: 'hello world',
    },
} 

Expected:

en: {
    message: {
        hello: 'hello world',
    },
} 

Reproduction

https://stackblitz.com/edit/vue-i18n-get-started?file=main.js

System Info

System:
    OS: Linux 5.15 Arch Linux
    CPU: (6) x64 Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz
    Memory: 8.43 GB / 11.66 GB
    Container: Yes
    Shell: 5.9 - /usr/bin/zsh
  Binaries:
    Node: 22.12.0 - ~/.asdf/installs/nodejs/22.12.0/bin/node
    npm: 10.9.0 - ~/.asdf/plugins/nodejs/shims/npm
  npmPackages:
    @vitejs/plugin-vue: ^5.0.5 => 5.2.1
    @vue/eslint-config-prettier: ^9.0.0 => 9.0.0
    @vue/test-utils: ^2.4.6 => 2.4.6
    @vue/tsconfig: ^0.5.1 => 0.5.1
    vite: ^5.3.1 => 5.4.11
    vitest: ^2.1.3 => 2.1.8
    vue: 3.4.21 => 3.4.21
    vue-router: 4.3.0 => 4.3.0
    vue-tsc: ^2.1.6 => 2.1.10

Screenshot

No response

Additional context

No response

Validations

@igorraphael igorraphael added the Status: Review Needed Request for review comments label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Review Needed Request for review comments
Projects
None yet
Development

No branches or pull requests

1 participant