Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,20 @@ default:
pastePlainText: true
```

## Language / locale

The editor UI language always follows the current Bolt **backend locale** — each
user sees the editor in the language they've selected for the Bolt admin, with no
configuration. The matching Redactor language file
(`assets/redactor/langs/<code>.js`) is loaded automatically; English is built in,
and locales Redactor ships no translation for fall back to English.

This is driven solely by the user's Bolt locale and is not overridable via `lang:`.

(Note: some plugins register their toolbar labels in English only; you can top up
the missing strings by extending `$R.lang['<code>']` from a small script added via
`includes:`.)

## Adding custom plugins

If you've written your own plugin for Redactor according to the documentation
Expand Down
144 changes: 111 additions & 33 deletions assets/redactor/langs/ar.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,31 @@
"image": "صورة",
"file": "ملف",
"link": "رابط",
"bold": "متين",
"bold": "غامق",
"italic": "مائل",
"deleted": "مشطوب",
"underline": "مسطر",
"superscript": "Superscript",
"subscript": "Subscript",
"bold-abbr": "B",
"italic-abbr": "I",
"deleted-abbr": "S",
"underline-abbr": "U",
"superscript-abbr": "Sup",
"subscript-abbr": "Sub",
"deleted": "يتوسطه خط",
"underline": "تحته خط",
"superscript": "نص علوي",
"subscript": "نص سفلي",
"bold-abbr": "غ",
"italic-abbr": "م",
"deleted-abbr": "ش",
"underline-abbr": "ت",
"superscript-abbr": "علوي",
"subscript-abbr": "سفلي",
"lists": "قوائم",
"link-insert": "إدراج رابط",
"link-edit": "تحرير الرابط",
"link-in-new-tab": "فتح الرابط في تبويب جديد",
"unlink": "إلغاء الرابط",
"unlink": "إزالة الرابط",
"cancel": "إلغاء",
"close": "إغلاق",
"insert": "إدراج",
"save": "حفظ",
"delete": "حذف",
"text": "النص",
"text": "نص",
"edit": "تحرير",
"title": "العنوان",
"title": "عنوان",
"paragraph": "نص عادي",
"quote": "اقتباس",
"code": "كود",
Expand All @@ -39,26 +39,104 @@
"heading4": "عنوان 4",
"heading5": "عنوان 5",
"heading6": "عنوان 6",
"small": "صغير",
"filename": "الاسم",
"optional": "اختياري",
"unorderedlist": "قائمة نقطية",
"orderedlist": "قائمة رقمية",
"outdent": "زيادة المسافة البادئة",
"indent": "إنقاض المسافة البادئة",
"unorderedlist": "قائمة غير مرتبة",
"orderedlist": "قائمة مرتبة",
"outdent": "إنقاص المسافة البادئة",
"indent": "زيادة المسافة البادئة",
"horizontalrule": "خط أفقي",
"upload": "Upload",
"upload-label": "Drop files here or click to upload",
"upload-change-label": "Drop a new image to change",
"accessibility-help-label": "محرر النص الغني",
"caption": "الشرح",
"bulletslist": "Bullets",
"numberslist": "Numbers",
"image-position": "Position",
"none": "None",
"left": "Left",
"right": "Right",
"center": "Center",
"undo": "Undo",
"redo": "Redo"
"upload": "تحميل",
"upload-label": "أسقط الملفات هنا أو انقر للتحميل",
"upload-change-label": "أسقط صورة جديدة للتغيير",
"accessibility-help-label": "محرر نص منسق",
"caption": "تسمية توضيحية",
"bulletslist": "تعداد نقطي",
"numberslist": "تعداد رقمي",
"image-position": "الموضع",
"none": "لا شيء",
"left": "يسار",
"right": "يمين",
"center": "وسط",
"undo": "تراجع",
"redo": "إعادة",

/* Alignment plugin */
"align": "محاذاة",
"align-left": "محاذاة لليسار",
"align-center": "محاذاة للوسط",
"align-right": "محاذاة لليمين",
"align-justify": "ضبط المحاذاة",

/* Clips plugin */
"clips": "مقاطع",
"clips-select": "يرجى اختيار مقطع",

/* Counter plugin */
"words": "كلمات",
"chars": "أحرف",

/* Filemanager/Imagemanager plugin */
"choose": "اختيار",

/* Font color plugin */
"fontcolor": "لون النص",
"highlight": "تمييز",

/* Font family plugin */
"fontfamily": "الخط",
"remove-font-family": "إزالة نوع الخط",

/* Font size plugin */
"size": "الحجم",
"remove-size": "إزالة حجم الخط",

/* Fullscreen plugin */
"fullscreen": "ملء الشاشة",

/* Inlinestyle plugin */
"style": "نمط",
"marked": "مميز",
"shortcut": "اختصار",

/* Properties plugin */
"properties": "خصائص",
"id": "المعرف",
"classname": "الفئة",

/* Specialchars plugin */
"specialchars": "أحرف خاصة",

/* Table plugin */
"table": "جدول",
"insert-table": "إدراج جدول",
"insert-row-above": "إدراج صف أعلى",
"insert-row-below": "إدراج صف أسفل",
"insert-column-left": "إدراج عمود إلى اليسار",
"insert-column-right": "إدراج عمود إلى اليمين",
"add-head": "إضافة رأس الجدول",
"delete-head": "حذف رأس الجدول",
"delete-column": "حذف العمود",
"delete-row": "حذف الصف",
"delete-table": "حذف الجدول",

/* Textdirection plugin */
"change-text-direction": "اتجاه النص",
"left-to-right": "من اليسار إلى اليمين",
"right-to-left": "من اليمين إلى اليسار",

/* Variable plugin */
"change": "تغيير",
"variable": "متغير",
"variable-select": "يرجى اختيار متغير",

/* Video plugin */
"video": "فيديو",
"video-html-code": "كود تضمين الفيديو أو رابط YouTube/Vimeo",

/* Widget plugin */
"widget": "ودجت",
"widget-html-code": "كود HTML للودجت"
};
})(Redactor);
})(Redactor);
206 changes: 142 additions & 64 deletions assets/redactor/langs/cs.js
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,64 +1,142 @@
(function($R)
{
$R.lang['cs'] = {
"format": "Formát",
"image": "Obrázek",
"file": "Soubor",
"link": "Odkaz",
"bold": "Tučné",
"italic": "Kurzíva",
"deleted": "Přeškrtnuté",
"underline": "Podtržené",
"superscript": "Horní index",
"subscript": "Dolní index",
"bold-abbr": "B",
"italic-abbr": "I",
"deleted-abbr": "S",
"underline-abbr": "U",
"superscript-abbr": "Sup",
"subscript-abbr": "Sub",
"lists": "Seznamy",
"link_insert": "Vložit odkaz ...",
"link_edit": "Upravit odkaz",
"link_new_tab": "Otevírat odkaz v novém okně",
"unlink": "Odstranit odkaz",
"cancel": "Zrušit",
"close": "Zavřít",
"insert": "Vložit",
"save": "Uložit",
"delete": "Smazat",
"text": "Text",
"edit": "Upravit",
"title": "Titulek",
"paragraph": "Odstavec",
"quote": "Citace",
"code": "Kód",
"header1": "Nadpis 1",
"header2": "Nadpis 2",
"header3": "Nadpis 3",
"header4": "Nadpis 4",
"header5": "Nadpis 5",
"header6": "Nadpis 6",
"filename": "Název (volitelné)",
"optional": "volitelný",
"unorderedlist": "Seznam s odrážkami",
"orderedlist": "Číslovaný seznam",
"outdent": "Zmenšit odsazení",
"indent": "Zvětšit odsazení",
"horizontalrule": "Vodorovná čára",
"upload": "Nahrát",
"upload-label": "Přesuňte sem soubory nebo klikněte pro výběr",
"upload-change-label": "Drop a new image to change",
"accessibility-help-label": "Rich textový editor",
"caption": "Titulok",
"bulletslist": "Odrážek",
"numberslist": "Číslováníe",
"image_position": "Zarovnání",
"none": "Žádné",
"left": "Vlevo",
"right": "Vpravo",
"center": "Center",
"undo": "Zpět",
"redo": "Obnovit"
};
})(Redactor);
(function($R)
{
$R.lang['cs'] = {
"format": "Formát",
"image": "Obrázek",
"file": "Soubor",
"link": "Odkaz",
"bold": "Tučné",
"italic": "Kurzíva",
"deleted": "Přeškrtnuté",
"underline": "Podtržené",
"superscript": "Horní index",
"subscript": "Dolní index",
"bold-abbr": "Tuč.",
"italic-abbr": "Kur.",
"deleted-abbr": "Př.",
"underline-abbr": "Pod.",
"superscript-abbr": "Hor.",
"subscript-abbr": "Dol.",
"lists": "Seznamy",
"link-insert": "Vložit odkaz",
"link-edit": "Upravit odkaz",
"link-in-new-tab": "Otevřít odkaz v nové kartě",
"unlink": "Odstranit odkaz",
"cancel": "Zrušit",
"close": "Zavřít",
"insert": "Vložit",
"save": "Uložit",
"delete": "Smazat",
"text": "Text",
"edit": "Upravit",
"title": "Titulek",
"paragraph": "Odstavec",
"quote": "Citace",
"code": "Kód",
"heading1": "Nadpis 1",
"heading2": "Nadpis 2",
"heading3": "Nadpis 3",
"heading4": "Nadpis 4",
"heading5": "Nadpis 5",
"heading6": "Nadpis 6",
"small": "Malé písmo",
"filename": "Název",
"optional": "volitelné",
"unorderedlist": "Seznam s odrážkami",
"orderedlist": "Číslovaný seznam",
"outdent": "Zmenšit odsazení",
"indent": "Zvětšit odsazení",
"horizontalrule": "Vodorovná čára",
"upload": "Nahrát",
"upload-label": "Přesuňte sem soubory nebo klikněte pro výběr",
"upload-change-label": "Přetáhněte sem nový obrázek pro změnu",
"accessibility-help-label": "Editor formátovaného textu",
"caption": "Popisek",
"bulletslist": "Odrážky",
"numberslist": "Číslování",
"image-position": "Pozice",
"none": "Žádné",
"left": "Vlevo",
"right": "Vpravo",
"center": "Na střed",
"undo": "Zpět",
"redo": "Znovu",

/* Alignment plugin */
"align": "Zarovnat",
"align-left": "Zarovnat vlevo",
"align-center": "Zarovnat na střed",
"align-right": "Zarovnat vpravo",
"align-justify": "Zarovnat do bloku",

/* Clips plugin */
"clips": "Úryvky",
"clips-select": "Vyberte prosím úryvek",

/* Counter plugin */
"words": "slova",
"chars": "znaky",

/* Filemanager/Imagemanager plugin */
"choose": "Vybrat",

/* Font color plugin */
"fontcolor": "Barva textu",
"highlight": "Zvýraznění",

/* Font family plugin */
"fontfamily": "Písmo",
"remove-font-family": "Odebrat písmo",

/* Font size plugin */
"size": "Velikost",
"remove-size": "Odebrat velikost písma",

/* Fullscreen plugin */
"fullscreen": "Celá obrazovka",

/* Inlinestyle plugin */
"style": "Styl",
"marked": "Označené",
"shortcut": "Zkratka",

/* Properties plugin */
"properties": "Vlastnosti",
"id": "ID",
"classname": "Třída",

/* Specialchars plugin */
"specialchars": "Speciální znaky",

/* Table plugin */
"table": "Tabulka",
"insert-table": "Vložit tabulku",
"insert-row-above": "Vložit řádek nad",
"insert-row-below": "Vložit řádek pod",
"insert-column-left": "Vložit sloupec vlevo",
"insert-column-right": "Vložit sloupec vpravo",
"add-head": "Přidat záhlaví",
"delete-head": "Odstranit záhlaví",
"delete-column": "Odstranit sloupec",
"delete-row": "Odstranit řádek",
"delete-table": "Odstranit tabulku",

/* Textdirection plugin */
"change-text-direction": "Směr textu",
"left-to-right": "Zleva doprava",
"right-to-left": "Zprava doleva",

/* Variable plugin */
"change": "Změnit",
"variable": "Proměnná",
"variable-select": "Vyberte prosím proměnnou",

/* Video plugin */
"video": "Video",
"video-html-code": "Kód pro vložení videa nebo odkaz YouTube/Vimeo",

/* Widget plugin */
"widget": "Widget",
"widget-html-code": "HTML kód widgetu"
};
})(Redactor);
Loading