All files / src/language language.interface.ts

100% Statements 81/81
100% Branches 1/1
100% Functions 0/0
100% Lines 81/81

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 821x 1x 1x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 31x 1x 1x  
/**
 * Represents a set of available languages as an enumerated type.
 */
export enum LanguageEnum {
  /**
   * Simplified Chinese language code.
   */
  SIMPLIFIED_CHINESE = 'zh-cn',
 
  /**
   * Traditional Chinese language code.
   */
  TRADIIONAL_CHINESE = 'zh-tw',
 
  /**
   * German language code.
   */
  GERMAN = 'de-de',
 
  /**
   * English language code.
   */
  ENGLISH = 'en-us',
 
  /**
   * Spanish language code.
   */
  SPANISH = 'es-es',
 
  /**
   * French language code.
   */
  FRENCH = 'fr-fr',
 
  /**
   * Indonesian language code.
   */
  INDONESIAN = 'id-id',
 
  /**
   * Italian language code.
   */
  ITALIAN = 'it-it',
 
  /**
   * Japanese language code.
   */
  JAPANESE = 'ja-jp',
 
  /**
   * Korean language code.
   */
  KOREAN = 'ko-kr',
 
  /**
   * Portuguese language code.
   */
  PORTUGUESE = 'pt-pt',
 
  /**
   * Russian language code.
   */
  RUSSIAN = 'ru-ru',
 
  /**
   * Thai language code.
   */
  THAI = 'th-th',
 
  /**
   * Turkish language code.
   */
  TURKISH = 'tr-tr',
 
  /**
   * Vietnamese language code.
   */
  VIETNAMESE = 'vi-vn',
}
 
export type LangKeyType = keyof typeof LanguageEnum