import type { I18n } from '@toast-ui/editor'; export function addLangs(i18n: I18n) { i18n.setLanguage('ar', { 'Text color': 'لون النص', }); i18n.setLanguage(['cs', 'cs-CZ'], { 'Text color': 'Barva textu', }); i18n.setLanguage(['de', 'de-DE'], { 'Text color': 'Textfarbe', }); i18n.setLanguage(['en', 'en-US'], { 'Text color': 'Text color', }); i18n.setLanguage(['es', 'es-ES'], { 'Text color': 'Color del texto', }); i18n.setLanguage(['fi', 'fi-FI'], { 'Text color': 'Tekstin väri', }); i18n.setLanguage(['fr', 'fr-FR'], { 'Text color': 'Couleur du texte', }); i18n.setLanguage(['gl', 'gl-ES'], { 'Text color': 'Cor do texto', }); i18n.setLanguage(['hr', 'hr-HR'], { 'Text color': 'Boja teksta', }); i18n.setLanguage(['it', 'it-IT'], { 'Text color': 'Colore del testo', }); i18n.setLanguage(['ja', 'ja-JP'], { 'Text color': '文字色相', }); i18n.setLanguage(['ko', 'ko-KR'], { 'Text color': '글자 색상', }); i18n.setLanguage(['nb', 'nb-NO'], { 'Text color': 'Tekstfarge', }); i18n.setLanguage(['nl', 'nl-NL'], { 'Text color': 'Tekstkleur', }); i18n.setLanguage(['pl', 'pl-PL'], { 'Text color': 'Kolor tekstu', }); i18n.setLanguage(['pt', 'pt-BR'], { 'Text color': 'Cor do texto', }); i18n.setLanguage(['ru', 'ru-RU'], { 'Text color': 'Цвет текста', }); i18n.setLanguage(['sv', 'sv-SE'], { 'Text color': 'Textfärg', }); i18n.setLanguage(['tr', 'tr-TR'], { 'Text color': 'Metin rengi', }); i18n.setLanguage(['uk', 'uk-UA'], { 'Text color': 'Колір тексту', }); i18n.setLanguage('zh-CN', { 'Text color': '文字颜色', }); i18n.setLanguage('zh-TW', { 'Text color': '文字顏色', }); }