Skip to content

Commit

Permalink
feat(translations): add Hebrew translation (#6428)
Browse files Browse the repository at this point in the history
Hebrew translation added.
  • Loading branch information
zvizvi authored May 22, 2024
1 parent 2b941b7 commit 3c0853a
Show file tree
Hide file tree
Showing 5 changed files with 407 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/translations/src/exports/all.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { en } from '../languages/en.js'
import { es } from '../languages/es.js'
import { fa } from '../languages/fa.js'
import { fr } from '../languages/fr.js'
import { he } from '../languages/he.js'
import { hr } from '../languages/hr.js'
import { hu } from '../languages/hu.js'
import { it } from '../languages/it.js'
Expand Down Expand Up @@ -42,6 +43,7 @@ export const translations = {
es,
fa,
fr,
he,
hr,
hu,
it,
Expand Down
4 changes: 4 additions & 0 deletions packages/translations/src/importDateFNSLocale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ export const importDateFNSLocale = async (locale: string): Promise<Locale> => {
case 'fr':
result = await import('date-fns/locale/fr')

break
case 'he':
result = await import('date-fns/locale/he')

break
case 'hr':
result = await import('date-fns/locale/hr')
Expand Down
Loading

0 comments on commit 3c0853a

Please sign in to comment.