Logo
Explore Help
Register Sign In
yv01p/Umbraco-CMS
1
0
Fork 0
You've already forked Umbraco-CMS
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
3eba5e5c19a8eef8df9227c84338980267457da7
Umbraco-CMS/src/Umbraco.Web.UI.Client/lib/tinymce/plugins/codemirror/langs/ja.js

9 lines
216 B
JavaScript
Raw Normal View History

Fixed issue: U4-8664 TnyMCE RTE is not in the scope of UI localization. The rich text editor previously had no knowledge of the current localisation region. The complexity arrived from the $locale regions not having a direct mapping to TinyMce regions. $locale regions are in the format of "de-de", "ru-ru", "en-gb", "en-us", etc. The TinyMce locales are in the format of "de", "ru" and "en". I've added some code in rte.controller.js to map from the former to the latter, but a fallback to "en" will need to be added if the current locale isn't supported by TinyMce, otherwise a runtime crash will occur. The same is true of the codemirror plugin for TinyMce. Language files don't exist for the plugin, but they are expected when different locales are provided. I have therefore created placeholders that are equivalent to the TinyMce language files, but all are currently copied from english.
2016-11-03 16:13:03 +00:00
tinymce.addI18n('en',{
'HTML source code': 'HTML source code',
'Start search': 'Start search',
'Find next': 'Find next',
'Find previous': 'Find previous',
'Replace': 'Replace',
'Replace all': 'Replace all'
});
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 1185ms Template: 104ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API