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

Feat/translate vm #1224

Merged
merged 3 commits into from
May 23, 2024
Merged

Feat/translate vm #1224

merged 3 commits into from
May 23, 2024

Conversation

olgakup
Copy link
Contributor

@olgakup olgakup commented May 23, 2024

Describe your changes:

Adds vietnamese language

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have removed hard coded strings
  • I have added entry to ./changelog
  • I have added pr label
  • I have commented my code, particularly in hard-to-understand areas

@olgakup olgakup added ready feature new feature labels May 23, 2024
@olgakup olgakup merged commit ffae710 into develop May 23, 2024
1 of 2 checks passed
@delete-merged-branch delete-merged-branch bot deleted the feat/translate-vm branch May 23, 2024 19:46
import { MassagesShema } from './helpers'

const messages: MassagesShema = {
en_US,
ru_RU
ru_RU,
vi_VN
}

const instance = createI18n({

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

e57196de-8c53-4393-919d-5e4db109da7d

@@ -1,11 +1,11 @@
import en_US from './en_US.json'

export type Mess = 'en_US' | 'ru_RU'
export type Mess = 'en_US' | 'ru_RU' | 'vi_VN'

export type MassagesShema = {
[i in Mess]: typeof en_US
}

export const isOfTypeMes = (keyInput: string): keyInput is Mess => {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

229c60a6d919cedfa712e45f3491432a934ae37dcfe293fd147198d2438bf959

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature new feature ready
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants