From f167ece1227918f4867679b66635ef5063e6b34d Mon Sep 17 00:00:00 2001 From: shoen1x Date: Sun, 3 Dec 2023 21:23:08 +0800 Subject: [PATCH] feat(i18n): add Malay language --- .../language-switcher.component.ts | 1 + projects/i18n/interfaces/language-names.ts | 1 + projects/i18n/languages/index.ts | 1 + .../i18n/languages/malay/addon-commerce.ts | 6 + projects/i18n/languages/malay/addon-editor.ts | 67 ++++++ .../i18n/languages/malay/addon-preview.ts | 12 + projects/i18n/languages/malay/addon-table.ts | 10 + projects/i18n/languages/malay/core.ts | 26 +++ projects/i18n/languages/malay/countries.ts | 219 ++++++++++++++++++ projects/i18n/languages/malay/index.ts | 8 + projects/i18n/languages/malay/kit.ts | 64 +++++ projects/i18n/languages/malay/malay.ts | 18 ++ projects/i18n/languages/malay/ng-package.json | 5 + 13 files changed, 438 insertions(+) create mode 100644 projects/i18n/languages/malay/addon-commerce.ts create mode 100644 projects/i18n/languages/malay/addon-editor.ts create mode 100644 projects/i18n/languages/malay/addon-preview.ts create mode 100644 projects/i18n/languages/malay/addon-table.ts create mode 100644 projects/i18n/languages/malay/core.ts create mode 100644 projects/i18n/languages/malay/countries.ts create mode 100644 projects/i18n/languages/malay/index.ts create mode 100644 projects/i18n/languages/malay/kit.ts create mode 100644 projects/i18n/languages/malay/malay.ts create mode 100644 projects/i18n/languages/malay/ng-package.json diff --git a/projects/addon-doc/components/language-switcher/language-switcher.component.ts b/projects/addon-doc/components/language-switcher/language-switcher.component.ts index ce00a2df4dd4..bc2196f7b1bf 100644 --- a/projects/addon-doc/components/language-switcher/language-switcher.component.ts +++ b/projects/addon-doc/components/language-switcher/language-switcher.component.ts @@ -30,6 +30,7 @@ export class TuiLanguageSwitcherComponent { ['turkish', TuiCountryIsoCode.TR], ['ukrainian', TuiCountryIsoCode.UA], ['kazakh', TuiCountryIsoCode.KZ], + ['malay', TuiCountryIsoCode.MS], ['vietnamese', TuiCountryIsoCode.VN], ]); diff --git a/projects/i18n/interfaces/language-names.ts b/projects/i18n/interfaces/language-names.ts index 458fd62edd9e..ee68c866556f 100644 --- a/projects/i18n/interfaces/language-names.ts +++ b/projects/i18n/interfaces/language-names.ts @@ -7,6 +7,7 @@ export type TuiLanguageName = | 'german' | 'italian' | 'kazakh' + | 'malay' | 'polish' | 'portuguese' | 'russian' diff --git a/projects/i18n/languages/index.ts b/projects/i18n/languages/index.ts index b60d3a2ae7ab..b4a305ba45be 100644 --- a/projects/i18n/languages/index.ts +++ b/projects/i18n/languages/index.ts @@ -5,6 +5,7 @@ export * from '@taiga-ui/i18n/languages/french'; export * from '@taiga-ui/i18n/languages/german'; export * from '@taiga-ui/i18n/languages/italian'; export * from '@taiga-ui/i18n/languages/kazakh'; +export * from '@taiga-ui/i18n/languages/malay'; export * from '@taiga-ui/i18n/languages/polish'; export * from '@taiga-ui/i18n/languages/portuguese'; export * from '@taiga-ui/i18n/languages/russian'; diff --git a/projects/i18n/languages/malay/addon-commerce.ts b/projects/i18n/languages/malay/addon-commerce.ts new file mode 100644 index 000000000000..e9bbf611ca49 --- /dev/null +++ b/projects/i18n/languages/malay/addon-commerce.ts @@ -0,0 +1,6 @@ +import {TuiLanguageCommerce} from '@taiga-ui/i18n/interfaces'; + +export const TUI_MALAY_LANGUAGE_ADDON_COMMERCE: TuiLanguageCommerce = { + cardNumber: [`Nombor`, `Nombor kad`], + cardExpiry: [`Tamat tempoh`, `Sah sehingga`], +}; diff --git a/projects/i18n/languages/malay/addon-editor.ts b/projects/i18n/languages/malay/addon-editor.ts new file mode 100644 index 000000000000..df520d3cbf2d --- /dev/null +++ b/projects/i18n/languages/malay/addon-editor.ts @@ -0,0 +1,67 @@ +import {TuiLanguageEditor} from '@taiga-ui/i18n/interfaces'; + +export const TUI_MALAY_LANGUAGE_ADDON_EDITOR: TuiLanguageEditor = { + colorSelectorModeNames: [`Warna padu`, `Kecerunan`], + toolbarTools: { + undo: `Buat asal`, + redo: `Buat semula`, + font: `Huruf`, + fontStyle: `Gaya huruf`, + fontSize: `Saiz huruf`, + bold: `Tebal`, + italic: `Condong`, + underline: `Garis bawah`, + strikeThrough: `Tembus`, + justify: `Kelarasan`, + justifyLeft: `Kelarasan kiri`, + justifyCenter: `Kelarasan tengah`, + justifyRight: `Kelarasan kanan`, + justifyFull: `Kelarasan penuh`, + list: `Senarai`, + indent: `Inden`, + outdent: `Outden`, + unorderedList: `Senarai tidak teratur`, + orderedList: `Senarai teratur`, + quote: `petikan`, + foreColor: `Warna`, + backColor: `Warna latar belakang`, + hiliteColor: `Serlahkan warna`, + clear: `Kosongkan`, + link: `Pautan`, + attach: `Lampirkan fail`, + tex: `Masukkan TeX`, + code: `Kod`, + image: `Masukkan gambar`, + insertHorizontalRule: `Masukkan peraturan mendatar`, + superscript: `Superskrip`, + subscript: `Subskrip`, + insertTable: `Masukkan jadual`, + insertGroup: `Insert group`, + hiliteGroup: `Hilite group`, + removeGroup: `Remove group`, + insertAnchor: `Insert anchor`, + mergeCells: `Cantumkan sel`, + splitCells: `Pisahkan sel`, + rowsColumnsManaging: `Menguruskan baris dan lajur`, + cellColor: `Warna sel`, + setDetails: `Butiran`, + removeDetails: `Buang butiran`, + }, + editorEditLink: { + urlExample: `example.com`, + anchorExample: `anchor`, + }, + editorTableCommands: [ + [`Masukkan lajur sebelum`, `Masukkan lajur selepas`], + [`Masukkan baris sebelum`, `Masukkan baris selepas`], + [`Padam lajur`, `Padam baris`], + ], + editorCodeOptions: [`Kod dalam teks`, `Kod dalam blok`], + editorFontOptions: { + small: `Kecil`, + large: `Besar`, + normal: `Biasa`, + title: `Tajuk`, + subtitle: `Sarikata`, + }, +}; diff --git a/projects/i18n/languages/malay/addon-preview.ts b/projects/i18n/languages/malay/addon-preview.ts new file mode 100644 index 000000000000..e94330d5ec26 --- /dev/null +++ b/projects/i18n/languages/malay/addon-preview.ts @@ -0,0 +1,12 @@ +import {TuiLanguagePreview} from '@taiga-ui/i18n/interfaces'; + +export const TUI_MALAY_LANGUAGE_ADDON_PREVIEW: TuiLanguagePreview = { + previewTexts: { + rotate: `Putar`, + }, + zoomTexts: { + zoomOut: `Zum keluar`, + zoomIn: `Zum masuk`, + reset: `Set semula`, + }, +}; diff --git a/projects/i18n/languages/malay/addon-table.ts b/projects/i18n/languages/malay/addon-table.ts new file mode 100644 index 000000000000..48bb92b90381 --- /dev/null +++ b/projects/i18n/languages/malay/addon-table.ts @@ -0,0 +1,10 @@ +import {TuiLanguageTable} from '@taiga-ui/i18n/interfaces'; + +export const TUI_MALAY_LANGUAGE_ADDON_TABLE: TuiLanguageTable = { + showHideText: `Tunjuk/Sembunyi`, + paginationTexts: { + pages: `Halaman`, + linesPerPage: `Baris setiap halaman`, + of: `dari`, + }, +}; diff --git a/projects/i18n/languages/malay/core.ts b/projects/i18n/languages/malay/core.ts new file mode 100644 index 000000000000..9b15b281c73b --- /dev/null +++ b/projects/i18n/languages/malay/core.ts @@ -0,0 +1,26 @@ +import {TuiLanguageCore} from '@taiga-ui/i18n/interfaces'; + +import {TUI_MALAY_LANGUAGE_COUNTRIES} from './countries'; + +export const TUI_MALAY_LANGUAGE_CORE: TuiLanguageCore = { + months: [ + `Januari`, + `Februari`, + `Mac`, + `April`, + `Mei`, + `Jun`, + `Julai`, + `Ogos`, + `September`, + `Oktober`, + `November`, + `Disember`, + ], + close: `Tutup`, + nothingFoundMessage: `Tiada apa-apa Dijumpai`, + defaultErrorMessage: `Nilai tidak sah`, + spinTexts: [`Sebelum`, `Selepas`], + shortWeekDays: [`Isn`, `Sel`, `Rab`, `Kha`, `Jum`, `Sab`, `Ahd`], + countries: TUI_MALAY_LANGUAGE_COUNTRIES, +}; diff --git a/projects/i18n/languages/malay/countries.ts b/projects/i18n/languages/malay/countries.ts new file mode 100644 index 000000000000..3e15533ffd6f --- /dev/null +++ b/projects/i18n/languages/malay/countries.ts @@ -0,0 +1,219 @@ +import {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; + +export const TUI_MALAY_LANGUAGE_COUNTRIES: Record = { + [TuiCountryIsoCode.AD]: `Andorra`, + [TuiCountryIsoCode.AE]: `Emiriah Arab Bersatu`, + [TuiCountryIsoCode.AF]: `Afghanistan`, + [TuiCountryIsoCode.AG]: `Antigua dan Barbuda`, + [TuiCountryIsoCode.BL]: `Saint Barthélemy`, + [TuiCountryIsoCode.AI]: `Anguilla`, + [TuiCountryIsoCode.AL]: `Albania`, + [TuiCountryIsoCode.AM]: `Armenia`, + [TuiCountryIsoCode.AO]: `Angola`, + [TuiCountryIsoCode.AR]: `Argentina`, + [TuiCountryIsoCode.AT]: `Austria`, + [TuiCountryIsoCode.AU]: `Australia`, + [TuiCountryIsoCode.AW]: `Aruba`, + [TuiCountryIsoCode.AZ]: `Azerbaijan`, + [TuiCountryIsoCode.BA]: `Bosnia dan Herzegovina`, + [TuiCountryIsoCode.BB]: `Barbados`, + [TuiCountryIsoCode.BD]: `Bangladesh`, + [TuiCountryIsoCode.BE]: `Belgium`, + [TuiCountryIsoCode.BF]: `Burkina Faso`, + [TuiCountryIsoCode.BG]: `Bulgaria`, + [TuiCountryIsoCode.BH]: `Bahrain`, + [TuiCountryIsoCode.BI]: `Burundi`, + [TuiCountryIsoCode.BJ]: `Benin`, + [TuiCountryIsoCode.GF]: `Guyana`, + [TuiCountryIsoCode.BM]: `Bermuda`, + [TuiCountryIsoCode.BN]: `Brunei Darussalam`, + [TuiCountryIsoCode.BO]: `Bolivia`, + [TuiCountryIsoCode.BQ]: `Bonaire, Sint Eustatius dan Saba`, + [TuiCountryIsoCode.BR]: `Brazil`, + [TuiCountryIsoCode.BS]: `Bahamas`, + [TuiCountryIsoCode.BT]: `Bhutan`, + [TuiCountryIsoCode.BW]: `Botswana`, + [TuiCountryIsoCode.BY]: `Belarus`, + [TuiCountryIsoCode.BZ]: `Belize`, + [TuiCountryIsoCode.CA]: `Kanada`, + [TuiCountryIsoCode.CD]: `Rep. Dem. Congo (Kinshasa)`, + [TuiCountryIsoCode.CF]: `Republik Afrika Tengah`, + [TuiCountryIsoCode.CG]: `Congo (Brazzaville)`, + [TuiCountryIsoCode.CH]: `Switzerland`, + [TuiCountryIsoCode.CI]: `Ivory Coast (Côte d'Ivoire)`, + [TuiCountryIsoCode.CL]: `Chile`, + [TuiCountryIsoCode.CM]: `Cameroon`, + [TuiCountryIsoCode.CN]: `China`, + [TuiCountryIsoCode.CO]: `Colombia`, + [TuiCountryIsoCode.CR]: `Costa Rica`, + [TuiCountryIsoCode.CU]: `Cuba`, + [TuiCountryIsoCode.CV]: `Cape Verde`, + [TuiCountryIsoCode.CW]: `Curaçao`, + [TuiCountryIsoCode.CY]: `Cyprus`, + [TuiCountryIsoCode.CZ]: `Republik Czech`, + [TuiCountryIsoCode.DE]: `Jerman`, + [TuiCountryIsoCode.DJ]: `Djibouti`, + [TuiCountryIsoCode.DK]: `Denmark`, + [TuiCountryIsoCode.DM]: `Dominica`, + [TuiCountryIsoCode.DO]: `Republik Dominican`, + [TuiCountryIsoCode.DZ]: `Algeria`, + [TuiCountryIsoCode.EC]: `Ecuador`, + [TuiCountryIsoCode.EE]: `Estonia`, + [TuiCountryIsoCode.EG]: `Mesir`, + [TuiCountryIsoCode.ER]: `Eritrea`, + [TuiCountryIsoCode.ES]: `Spain`, + [TuiCountryIsoCode.ET]: `Habsyah (Ethiopia)`, + [TuiCountryIsoCode.FI]: `Finland`, + [TuiCountryIsoCode.FJ]: `Fiji`, + [TuiCountryIsoCode.FK]: `Kepulauan Falkland`, + [TuiCountryIsoCode.FM]: `Persekutuan Mikronesia`, + [TuiCountryIsoCode.FR]: `Perancis`, + [TuiCountryIsoCode.GA]: `Gabon`, + [TuiCountryIsoCode.GB]: `United Kingdom`, + [TuiCountryIsoCode.GD]: `Grenada`, + [TuiCountryIsoCode.GE]: `Georgia`, + [TuiCountryIsoCode.GP]: `Guadeloupe`, + [TuiCountryIsoCode.GH]: `Ghana`, + [TuiCountryIsoCode.GI]: `Gibraltar`, + [TuiCountryIsoCode.GL]: `Greenland`, + [TuiCountryIsoCode.GM]: `Gambia`, + [TuiCountryIsoCode.GN]: `Guinea`, + [TuiCountryIsoCode.MF]: `Saint-Martin`, + [TuiCountryIsoCode.GQ]: `Equatorial Guinea`, + [TuiCountryIsoCode.GR]: `Greece`, + [TuiCountryIsoCode.GT]: `Guatemala`, + [TuiCountryIsoCode.GW]: `Guinea-Bissau`, + [TuiCountryIsoCode.GY]: `Guyana`, + [TuiCountryIsoCode.HK]: `Hong Kong`, + [TuiCountryIsoCode.HN]: `Honduras`, + [TuiCountryIsoCode.HR]: `Croatia`, + [TuiCountryIsoCode.HT]: `Haiti`, + [TuiCountryIsoCode.HU]: `Hungary`, + [TuiCountryIsoCode.ID]: `Indonesia`, + [TuiCountryIsoCode.IE]: `Ireland`, + [TuiCountryIsoCode.IL]: `Israel`, + [TuiCountryIsoCode.IN]: `India`, + [TuiCountryIsoCode.IQ]: `Iraq`, + [TuiCountryIsoCode.IR]: `Iran`, + [TuiCountryIsoCode.IS]: `Iceland`, + [TuiCountryIsoCode.IT]: `Itali`, + [TuiCountryIsoCode.JM]: `Jamaica`, + [TuiCountryIsoCode.JO]: `Jordan`, + [TuiCountryIsoCode.JP]: `Jepun`, + [TuiCountryIsoCode.KE]: `Kenya`, + [TuiCountryIsoCode.KG]: `Kyrgyzstan`, + [TuiCountryIsoCode.KH]: `Kemboja`, + [TuiCountryIsoCode.KM]: `Comoros`, + [TuiCountryIsoCode.KN]: `Saint Kitts dan Nevis`, + [TuiCountryIsoCode.KP]: `Korea Utara`, + [TuiCountryIsoCode.KR]: `Korea Selatan`, + [TuiCountryIsoCode.KW]: `Kuwait`, + [TuiCountryIsoCode.KY]: `kepulauan Cayman`, + [TuiCountryIsoCode.KZ]: `Kazakhstan`, + [TuiCountryIsoCode.LA]: `Laos`, + [TuiCountryIsoCode.LB]: `Lubnan`, + [TuiCountryIsoCode.LC]: `Saint Lucia`, + [TuiCountryIsoCode.LI]: `Liechtenstein`, + [TuiCountryIsoCode.LK]: `Sri Lanka`, + [TuiCountryIsoCode.LR]: `Liberia`, + [TuiCountryIsoCode.LS]: `Lesotho`, + [TuiCountryIsoCode.LT]: `Lithuania`, + [TuiCountryIsoCode.LU]: `Luxembourg`, + [TuiCountryIsoCode.LV]: `Latvia`, + [TuiCountryIsoCode.LY]: `Libya`, + [TuiCountryIsoCode.MA]: `Maghribi`, + [TuiCountryIsoCode.MC]: `Monaco`, + [TuiCountryIsoCode.MD]: `Moldova`, + [TuiCountryIsoCode.ME]: `Montenegro`, + [TuiCountryIsoCode.MQ]: `Martinique`, + [TuiCountryIsoCode.MG]: `Madagascar`, + [TuiCountryIsoCode.MK]: `Republik Macedonia`, + [TuiCountryIsoCode.ML]: `Mali`, + [TuiCountryIsoCode.MM]: `Burma (Myanmar)`, + [TuiCountryIsoCode.MN]: `Mongolia`, + [TuiCountryIsoCode.MO]: `Macau`, + [TuiCountryIsoCode.RE]: `Réunion`, + [TuiCountryIsoCode.MR]: `Mauritania`, + [TuiCountryIsoCode.MS]: `Montserrat`, + [TuiCountryIsoCode.MT]: `Malta`, + [TuiCountryIsoCode.MU]: `Mauritius`, + [TuiCountryIsoCode.MV]: `Maldives`, + [TuiCountryIsoCode.MW]: `Malawi`, + [TuiCountryIsoCode.MX]: `Mexico`, + [TuiCountryIsoCode.MY]: `Malaysia`, + [TuiCountryIsoCode.MZ]: `Mozambique`, + [TuiCountryIsoCode.NA]: `Namibia`, + [TuiCountryIsoCode.NC]: `New Caledonia`, + [TuiCountryIsoCode.NE]: `Niger`, + [TuiCountryIsoCode.NG]: `Nigeria`, + [TuiCountryIsoCode.NI]: `Nicaragua`, + [TuiCountryIsoCode.NL]: `Belanda`, + [TuiCountryIsoCode.NO]: `Norway`, + [TuiCountryIsoCode.NP]: `Nepal`, + [TuiCountryIsoCode.NZ]: `New Zealand`, + [TuiCountryIsoCode.OM]: `Oman`, + [TuiCountryIsoCode.PA]: `Panama`, + [TuiCountryIsoCode.PE]: `Peru`, + [TuiCountryIsoCode.PF]: `French Polynesia (Tahiti)`, + [TuiCountryIsoCode.PG]: `Papua New Guinea`, + [TuiCountryIsoCode.PH]: `Filipina`, + [TuiCountryIsoCode.PK]: `Pakistan`, + [TuiCountryIsoCode.PL]: `Poland`, + [TuiCountryIsoCode.PT]: `Portugal`, + [TuiCountryIsoCode.PW]: `Palau`, + [TuiCountryIsoCode.PY]: `Paraguay`, + [TuiCountryIsoCode.QA]: `Qatar`, + [TuiCountryIsoCode.YT]: `Mayotte`, + [TuiCountryIsoCode.RO]: `Romania`, + [TuiCountryIsoCode.RS]: `Serbia`, + [TuiCountryIsoCode.RU]: `Russia`, + [TuiCountryIsoCode.RW]: `Rwanda`, + [TuiCountryIsoCode.SA]: `Arab Saudi`, + [TuiCountryIsoCode.SB]: `Kepulauan Solomon`, + [TuiCountryIsoCode.SC]: `Seychelles`, + [TuiCountryIsoCode.SD]: `Sudan`, + [TuiCountryIsoCode.SE]: `Sweden`, + [TuiCountryIsoCode.SG]: `Singapura`, + [TuiCountryIsoCode.SH]: `Saint Helena`, + [TuiCountryIsoCode.SI]: `Slovenia`, + [TuiCountryIsoCode.SK]: `Slovakia`, + [TuiCountryIsoCode.SL]: `Sierra Leone`, + [TuiCountryIsoCode.SM]: `San Marino`, + [TuiCountryIsoCode.SN]: `Senegal`, + [TuiCountryIsoCode.SO]: `Somalia`, + [TuiCountryIsoCode.SR]: `Suriname`, + [TuiCountryIsoCode.ST]: `Sao Tome dan Principe`, + [TuiCountryIsoCode.SV]: `El Salvador`, + [TuiCountryIsoCode.SX]: `Sint Maarten`, + [TuiCountryIsoCode.SY]: `Republik Arab Syria`, + [TuiCountryIsoCode.SZ]: `Swaziland`, + [TuiCountryIsoCode.TC]: `Turki dan Caicos`, + [TuiCountryIsoCode.TD]: `Chad`, + [TuiCountryIsoCode.TG]: `Togo`, + [TuiCountryIsoCode.TH]: `Thailand`, + [TuiCountryIsoCode.TJ]: `Tajikistan`, + [TuiCountryIsoCode.TL]: `Timor Timur`, + [TuiCountryIsoCode.TM]: `Turkmenistan`, + [TuiCountryIsoCode.TN]: `Tunisia`, + [TuiCountryIsoCode.TO]: `Tonga`, + [TuiCountryIsoCode.TR]: `Turki`, + [TuiCountryIsoCode.TT]: `Trinidad dan Tobago`, + [TuiCountryIsoCode.TW]: `Taiwan`, + [TuiCountryIsoCode.TZ]: `Tanzania`, + [TuiCountryIsoCode.UA]: `Ukraine`, + [TuiCountryIsoCode.UG]: `Uganda`, + [TuiCountryIsoCode.US]: `Amerika Syarikat`, + [TuiCountryIsoCode.UY]: `Uruguay`, + [TuiCountryIsoCode.UZ]: `Uzbekistan`, + [TuiCountryIsoCode.VC]: `Saint Vincent dan Grenadines`, + [TuiCountryIsoCode.VE]: `Venezuela`, + [TuiCountryIsoCode.VG]: `British Virgin Islands`, + [TuiCountryIsoCode.VN]: `Vietnam`, + [TuiCountryIsoCode.VU]: `Vanuatu`, + [TuiCountryIsoCode.WS]: `Samoa`, + [TuiCountryIsoCode.XK]: `Kosovo`, + [TuiCountryIsoCode.YE]: `Yaman`, + [TuiCountryIsoCode.ZA]: `Afrika Selatan`, + [TuiCountryIsoCode.ZM]: `Zambia`, + [TuiCountryIsoCode.ZW]: `Zimbabwe`, +}; diff --git a/projects/i18n/languages/malay/index.ts b/projects/i18n/languages/malay/index.ts new file mode 100644 index 000000000000..b07aa2fb20ad --- /dev/null +++ b/projects/i18n/languages/malay/index.ts @@ -0,0 +1,8 @@ +export * from './addon-commerce'; +export * from './addon-editor'; +export * from './addon-preview'; +export * from './addon-table'; +export * from './core'; +export * from './countries'; +export * from './kit'; +export * from './malay'; diff --git a/projects/i18n/languages/malay/kit.ts b/projects/i18n/languages/malay/kit.ts new file mode 100644 index 000000000000..2a45a7fadf3b --- /dev/null +++ b/projects/i18n/languages/malay/kit.ts @@ -0,0 +1,64 @@ +import {TuiLanguageKit} from '@taiga-ui/i18n/interfaces'; + +export const TUI_MALAY_LANGUAGE_KIT: TuiLanguageKit = { + cancel: `Batal`, + done: `selesai`, + more: `Lebih`, + otherDate: `Tarikh lain...`, + showAll: `Tunjukkan semua`, + hide: `Sembunyi`, + mobileCalendarTexts: [`Pilih hari`, `Pilih julat`, `Pilih hari`], + range: [`dari`, `ke`], + countTexts: [`Tambah`, `Tolak`], + time: { + 'HH:MM': `HH:MM`, + 'HH:MM:SS': `HH:MM:SS`, + 'HH:MM:SS.MSS': `HH:MM:SS.MSS`, + }, + dateTexts: { + DMY: `dd.mm.yyyy`, + MDY: `mm.dd.yyyy`, + YMD: `yyyy.mm.dd`, + }, + digitalInformationUnits: [`B`, `KiB`, `MiB`], + passwordTexts: [`Tunjukkan kata laluan`, `Sembunyikan kata laluan`], + copyTexts: [`Salin`, `Disalin`], + shortCalendarMonths: [ + `Jan`, + `Feb`, + `Mac`, + `Apr`, + `Mei`, + `Jun`, + `Jul`, + `Ogo`, + `Sep`, + `Okt`, + `Nov`, + `Dis`, + ], + pagination: [`Halaman sebelumnya`, `Halaman seterusnya`], + fileTexts: { + loadingError: `Muatnaik gagal`, + preview: `Pratonton`, + remove: `Alih keluar`, + }, + inputFileTexts: { + defaultLabelSingle: `atau lepaskan\u00A0di\u00A0sini`, + defaultLabelMultiple: `atau lepaskan mereka\u00A0di\u00A0sini`, + defaultLinkSingle: `Pilih sebuah fail`, + defaultLinkMultiple: `Pilih fail`, + maxSizeRejectionReason: `Fail terlalu besar`, + formatRejectionReason: `Jenis fail salah`, + drop: `Lepaskan fail di sini`, + dropMultiple: `Lepaskan fail di sini`, + }, + multiSelectTexts: { + all: `Pilih semua`, + none: `pilih tiada`, + }, + prompt: { + yes: `Ya`, + no: `tidak`, + }, +}; diff --git a/projects/i18n/languages/malay/malay.ts b/projects/i18n/languages/malay/malay.ts new file mode 100644 index 000000000000..21b699cd3e48 --- /dev/null +++ b/projects/i18n/languages/malay/malay.ts @@ -0,0 +1,18 @@ +import {TuiLanguage} from '@taiga-ui/i18n/interfaces'; + +import {TUI_MALAY_LANGUAGE_ADDON_COMMERCE} from './addon-commerce'; +import {TUI_MALAY_LANGUAGE_ADDON_EDITOR} from './addon-editor'; +import {TUI_MALAY_LANGUAGE_ADDON_PREVIEW} from './addon-preview'; +import {TUI_MALAY_LANGUAGE_ADDON_TABLE} from './addon-table'; +import {TUI_MALAY_LANGUAGE_CORE} from './core'; +import {TUI_MALAY_LANGUAGE_KIT} from './kit'; + +export const TUI_MALAY_LANGUAGE: TuiLanguage = { + name: `malay`, + ...TUI_MALAY_LANGUAGE_CORE, + ...TUI_MALAY_LANGUAGE_KIT, + ...TUI_MALAY_LANGUAGE_ADDON_TABLE, + ...TUI_MALAY_LANGUAGE_ADDON_COMMERCE, + ...TUI_MALAY_LANGUAGE_ADDON_EDITOR, + ...TUI_MALAY_LANGUAGE_ADDON_PREVIEW, +}; diff --git a/projects/i18n/languages/malay/ng-package.json b/projects/i18n/languages/malay/ng-package.json new file mode 100644 index 000000000000..bebf62dcb5e5 --- /dev/null +++ b/projects/i18n/languages/malay/ng-package.json @@ -0,0 +1,5 @@ +{ + "lib": { + "entryFile": "index.ts" + } +}