Skip to content

Commit

Permalink
added nepali translation
Browse files Browse the repository at this point in the history
  • Loading branch information
SumanTwati committed Nov 9, 2023
1 parent e86778f commit ca07072
Show file tree
Hide file tree
Showing 2 changed files with 1,011 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/utils/language.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,20 @@ import { systemLanguageRef } from './refs';

// Language: Language Code in books/translations
export const languageCodeMap: Record<string, string> = {
English: 'en',
French: 'fr',
German: 'de',
Portuguese: 'pt',
Arabic: 'ar',
Catalan: 'ca-ES',
Spanish: 'es',
Chinese: 'zh-CN',
Dutch: 'nl',
English: 'en',
French: 'fr',
German: 'de',
Gujarati: 'gu',
Turkish: 'tr',
Korean: 'ko',
Swedish: 'sv',
'Simplified Chinese': 'zh-CN',
Nepali:'np',

Check warning on line 17 in src/utils/language.ts

View workflow job for this annotation

GitHub Actions / setup_and_lint

Insert `·`
Portuguese: 'pt',

Check warning on line 18 in src/utils/language.ts

View workflow job for this annotation

GitHub Actions / setup_and_lint

Delete `··`
Spanish: 'es',
Swedish: 'sv',

Check warning on line 20 in src/utils/language.ts

View workflow job for this annotation

GitHub Actions / setup_and_lint

Delete `··`
Turkish: 'tr',

Check warning on line 21 in src/utils/language.ts

View workflow job for this annotation

GitHub Actions / setup_and_lint

Delete `··`
};

export async function setLanguageMap(
Expand Down
Loading

0 comments on commit ca07072

Please sign in to comment.