From 31cb918c4a7dede92027a695e77ae5b0b8f818ff Mon Sep 17 00:00:00 2001 From: Fabian Braun Date: Mon, 13 Jun 2022 19:29:55 +0200 Subject: [PATCH] feat: inline editor (#606) * Fix: Tests dj4 compatible * Feature: Inline editing * Make flake (8 happy) * Fix: Inline editing js only loaded in edit mode. * Fix: Only create InlineEditor for visible elements * Fix: Keep child plugins in tact while inline editing * Fix: Tests * Fix: Flake8 and isort * Fix: Add editor condig to dom using toolbar * Refactor: unify ckeditor management * Add: Plugin editing in the inline editor * Fix: Avoid prepare single load of text * Fix: Strongly increased responsiveness. Common csrf token * Fix: isort, flake8 * Fix: isort * Add: dark mode for frontend editing * Fix: only group plugins into modules if there are any * Fix: non-placholder fields * Fix: Add cms_path to post requests * Add: show toolbar loader when saving * Fix: remove console.logs, better style * Fix: Bind CKEDITOR only after load * Fix: Reload toolbar after save to allow edits to be published * Fix: Refactor toolbar reload for better reusability * Fix: Memorize styles before first edit Fix: Admin forms w/o plugin * Fix: updated js file in widgets.py * Fix: admin htmlfields * Fix: Remove debug console.log statements * Fix: Child Plugin editor confusion. * Fix: Float ckedor diaog above cms structure board * Fix: block toolbar click manager forb ckeditor * Fix: Highligh of text plugin * Add: CKEDITOR_INLINE_EDITING setting to activate inline editing * Fix: Change setting to TEXT_INLINE_EDITING * Fix: missing comma * Fix: flake adjustments * Fix flake 2nd * Update Readme * Fix: link correct static js file * Add: Improved responsiveness by only initializing visible text areas (using Observer class) Fix: Double rendering of text child plugins * Fix: Editor initialization Add: temporary console.log statements for debugging * Fix: wrong editor init order * isort * flake8 w503 * Fix: unwanted scrolling when entering inline editor * Fix: removed unused variable * Fix: Avoid double rendering of plugins when in inline edit mode * Fix: isort * Add: Warning before navigating away from unsaved changes * Fix: Allow for custom overwrite of `cms/plugins/text.html` template Fix: Do not wrap already wrapped html * Fix: show inline-flex cms-plugins also inline and not as block * Add: Switch in admin menu bar for inline editing * fix: isort * fix: lint error * Add: Toolbar button * Fix: Remove unused imports * Fix: User HTML instead of admin HTML when inline editing is turned off * Add: title attribute for inline editing toolbar button * Some flakes * Fix: Obfuscation to avoid W503 and W504 * Fix: Keep code readable by accepting the new best practice W504 * OK, it's W503 - the new best practice W504 becomes the anti-pattern * Fix: ckeditor opening select dialog box if cmsplugin contains a select tag * Fix: Toolbar.request.get_absolute_url() does not work: use toolbar.request_path instead * Add: Simple test * Fix: test syntax * test: move test case to test_plugin.py * Test: test on github actions * Test: Test edit mode * Test: Try truning on inline-editing * Tests: Testing the inline editing switch * Some lint chocolate * Fix: Persisetence of inline_editing switch * Add: some comments * Fix: dark mode support for inline-editor Add: icon setting for cmsplugins * Fix: flake8 unused import * Fix: Remove toggle button on touch devices and in collapsed menus. * No white space before of * Fix: No white space at elf for inline.html * Fix: namespace events, unregister events * Fix: z-index to let dialog float above structure board * Update: readme.rst * NO NEWLINE AT THE END! * NO NEWLINE AT THE END * Fix: remove newlines at end of text.html and inline.html * Fix: displayStyle undefined bug --- README.rst | 36 +- djangocms_text_ckeditor/cms_plugins.py | 297 +++++++++------ djangocms_text_ckeditor/cms_toolbars.py | 75 ++++ .../locale/ar/LC_MESSAGES/django.mo | Bin 631 -> 590 bytes .../locale/ar/LC_MESSAGES/django.po | 40 +- .../locale/bn/LC_MESSAGES/django.mo | Bin 572 -> 531 bytes .../locale/bn/LC_MESSAGES/django.po | 37 +- .../locale/ca/LC_MESSAGES/django.mo | Bin 534 -> 493 bytes .../locale/ca/LC_MESSAGES/django.po | 37 +- .../locale/cs/LC_MESSAGES/django.mo | Bin 614 -> 573 bytes .../locale/cs/LC_MESSAGES/django.po | 40 +- .../locale/da/LC_MESSAGES/django.mo | Bin 535 -> 494 bytes .../locale/da/LC_MESSAGES/django.po | 37 +- .../locale/de/LC_MESSAGES/django.mo | Bin 1234 -> 1253 bytes .../locale/de/LC_MESSAGES/django.po | 38 +- .../locale/el/LC_MESSAGES/django.mo | Bin 547 -> 506 bytes .../locale/el/LC_MESSAGES/django.po | 37 +- .../locale/en/LC_MESSAGES/django.mo | Bin 1070 -> 1083 bytes .../locale/en/LC_MESSAGES/django.po | 36 +- .../locale/es/LC_MESSAGES/django.mo | Bin 1108 -> 993 bytes .../locale/es/LC_MESSAGES/django.po | 38 +- .../locale/et/LC_MESSAGES/django.mo | Bin 511 -> 470 bytes .../locale/et/LC_MESSAGES/django.po | 37 +- .../locale/eu/LC_MESSAGES/django.mo | Bin 540 -> 499 bytes .../locale/eu/LC_MESSAGES/django.po | 37 +- .../locale/fa/LC_MESSAGES/django.mo | Bin 540 -> 499 bytes .../locale/fa/LC_MESSAGES/django.po | 37 +- .../locale/fi/LC_MESSAGES/django.mo | Bin 540 -> 499 bytes .../locale/fi/LC_MESSAGES/django.po | 37 +- .../locale/fr/LC_MESSAGES/django.mo | Bin 1112 -> 1005 bytes .../locale/fr/LC_MESSAGES/django.po | 38 +- .../locale/gl/LC_MESSAGES/django.mo | Bin 538 -> 497 bytes .../locale/gl/LC_MESSAGES/django.po | 37 +- .../locale/he/LC_MESSAGES/django.mo | Bin 636 -> 595 bytes .../locale/he/LC_MESSAGES/django.po | 40 +- .../locale/hi/LC_MESSAGES/django.mo | Bin 546 -> 505 bytes .../locale/hi/LC_MESSAGES/django.po | 37 +- .../locale/hr/LC_MESSAGES/django.mo | Bin 611 -> 570 bytes .../locale/hr/LC_MESSAGES/django.po | 40 +- .../locale/hu/LC_MESSAGES/django.mo | Bin 542 -> 501 bytes .../locale/hu/LC_MESSAGES/django.po | 37 +- .../locale/is/LC_MESSAGES/django.mo | Bin 565 -> 524 bytes .../locale/is/LC_MESSAGES/django.po | 37 +- .../locale/it/LC_MESSAGES/django.mo | Bin 537 -> 496 bytes .../locale/it/LC_MESSAGES/django.po | 37 +- .../locale/ja/LC_MESSAGES/django.mo | Bin 539 -> 498 bytes .../locale/ja/LC_MESSAGES/django.po | 37 +- .../locale/lt/LC_MESSAGES/django.mo | Bin 1257 -> 1142 bytes .../locale/lt/LC_MESSAGES/django.po | 42 ++- .../locale/nl/LC_MESSAGES/django.mo | Bin 1101 -> 993 bytes .../locale/nl/LC_MESSAGES/django.po | 38 +- .../locale/no/LC_MESSAGES/django.mo | Bin 541 -> 500 bytes .../locale/no/LC_MESSAGES/django.po | 37 +- .../locale/pl/LC_MESSAGES/django.mo | Bin 684 -> 643 bytes .../locale/pl/LC_MESSAGES/django.po | 41 +- .../locale/pt/LC_MESSAGES/django.mo | Bin 540 -> 499 bytes .../locale/pt/LC_MESSAGES/django.po | 37 +- .../locale/ro/LC_MESSAGES/django.mo | Bin 577 -> 536 bytes .../locale/ro/LC_MESSAGES/django.po | 40 +- .../locale/ru/LC_MESSAGES/django.mo | Bin 683 -> 642 bytes .../locale/ru/LC_MESSAGES/django.po | 41 +- .../locale/sv/LC_MESSAGES/django.mo | Bin 540 -> 499 bytes .../locale/sv/LC_MESSAGES/django.po | 37 +- .../locale/tr/LC_MESSAGES/django.mo | Bin 537 -> 496 bytes .../locale/tr/LC_MESSAGES/django.po | 37 +- .../locale/uk/LC_MESSAGES/django.mo | Bin 769 -> 728 bytes .../locale/uk/LC_MESSAGES/django.po | 42 ++- djangocms_text_ckeditor/settings.py | 7 +- .../ckeditor/build-config.js | 4 +- .../ckeditor/ckeditor.js | 2 +- .../ckeditor/plugins/dialog/styles/dialog.css | 36 +- .../ckeditor_plugins/cmsdialog/plugin.js | 6 +- .../cmsplugins/icons/cmsplugins.svg | 2 +- .../ckeditor_plugins/cmsplugins/plugin.js | 189 +++++----- .../ckeditor_plugins/cmswidget/plugin.js | 4 +- .../css/cms.inline-ckeditor.css | 7 + .../js/cms.ckeditor.js | 354 +++++++++++++++--- ... => bundle-1c5205cc04.cms.ckeditor.min.js} | 13 +- .../templates/cms/plugins/inline.html | 1 + .../cms/plugins/widgets/ckeditor.html | 50 +-- .../templates/cms/toolbar/icon-button.html | 1 + djangocms_text_ckeditor/widgets.py | 70 +++- setup.cfg | 2 +- tests/settings.py | 1 + tests/test_plugin.py | 26 ++ tests/test_widget.py | 8 +- 86 files changed, 1446 insertions(+), 965 deletions(-) create mode 100644 djangocms_text_ckeditor/cms_toolbars.py create mode 100644 djangocms_text_ckeditor/static/djangocms_text_ckeditor/css/cms.inline-ckeditor.css rename djangocms_text_ckeditor/static/djangocms_text_ckeditor/js/dist/{bundle-fb7663a06e.cms.ckeditor.min.js => bundle-1c5205cc04.cms.ckeditor.min.js} (93%) create mode 100644 djangocms_text_ckeditor/templates/cms/plugins/inline.html create mode 100644 djangocms_text_ckeditor/templates/cms/toolbar/icon-button.html diff --git a/README.rst b/README.rst index 72f489a10..3d9fdebdb 100644 --- a/README.rst +++ b/README.rst @@ -57,7 +57,7 @@ One of the easiest contributions you can make is helping to translate this addon Documentation ============= -See ``REQUIREMENTS`` in the `setup.py `_ +See ``REQUIREMENTS`` in the `setup.py `_ file for additional dependencies listed in the The current integrated Version of CKEditor is: **4.17.2** @@ -88,6 +88,32 @@ Upgrading from ``cms.plugins.text`` Configuration ------------- +Inline editing feature +********************** + +Inline editing allows editors to directly click on a text plugin and change +the contents in django CMS' edit mode. The CKEditor appears directly around +the text field and can be used normally. Changes are saved as soon as the +text field leaves focus. + +Inline editing requires to encapsulate the HTML text in a ``
`` in +edit mode. This might cause some side effects with a site's CSS, e.g. direct +child rules. + +To activate inline editing add the following line in your project's +``settings.py``:: + + TEXT_INLINE_EDITING = True + +This will add a toggle button to the toolbar to allow to switch inline editing +on and off for the current session. + +When inline editing is active the editor will save the plugin's content each time it loses +focus. If only text has changed the user can immediately continue to edit. If +a text-enabled plugin was changed, added, or removed he page will refresh to +update the page tree and get the correctly rendered version of the changed +plugin. + Default content in Placeholder ****************************** @@ -97,7 +123,7 @@ If you use Django-CMS >= 3.0, you can use ``TextPlugin`` in "default_plugins" HTML content. If you want to add some "default children" to your automagically added plugin (i.e. a ``LinkPlugin``), you have to put children references in the body. References are ``"%(_tag_child_)s"`` with the -inserted order of chidren. For example:: +inserted order of children. For example:: CMS_PLACEHOLDER_CONF = { 'content': { @@ -212,7 +238,7 @@ configuration parameter in your settings:: #. Add `configuration='MYSETTING'` to the `HTMLField` usage(s) you want to customize; #. Define a setting parameter named as the string used in the `configuration` - argument of the `HTMLField` instance with the desidered configuration; + argument of the `HTMLField` instance with the desired configuration; Values not specified in your custom configuration will be taken from the global ``CKEDITOR_SETTINGS``. @@ -252,7 +278,7 @@ to note: .. _add styles and js configuration: https://github.com/divio/django-cms-demo/blob/7a104acaa749c52a8ed4870a74898e38daf20e46/src/settings.py#L318-L324 .. _stop CKEditor from removing empty spans: https://github.com/divio/django-cms-explorer/blob/908a88afa4e1d1176e267e77eb5c61e31ef0f9e5/static/js/addons/ckeditor.wysiwyg.js#L73 .. _allowedContent: http://docs.ckeditor.com/#!/guide/dev_allowed_content_rules -.. _to contain: https://github.com/divio/djangocms-text-ckeditor/issues/405#issuecomment-276814197 +.. _to contain: https://github.com/django-cms/djangocms-text-ckeditor/issues/405#issuecomment-276814197 Drag & Drop Images @@ -262,7 +288,7 @@ In IE and Firefox based browsers it is possible to drag and drop a picture into This image is base64 encoded and lives in the 'src' attribute as a 'data' tag. We detect this images, encode them and convert them to picture plugins. -If you want to overwirite this behavior for your own picture plugin: +If you want to overwrite this behavior for your own picture plugin: There is a setting called:: diff --git a/djangocms_text_ckeditor/cms_plugins.py b/djangocms_text_ckeditor/cms_plugins.py index 6bb048996..efb07d34a 100644 --- a/djangocms_text_ckeditor/cms_plugins.py +++ b/djangocms_text_ckeditor/cms_plugins.py @@ -1,4 +1,5 @@ import json +import operator import re from distutils.version import LooseVersion @@ -14,6 +15,7 @@ from django.utils.decorators import method_decorator from django.utils.encoding import force_str from django.utils.translation import gettext +from django.utils.translation.trans_real import get_language from django.views.decorators.clickjacking import xframe_options_sameorigin from django.views.decorators.http import require_POST @@ -21,7 +23,7 @@ from cms.models import CMSPlugin from cms.plugin_base import CMSPluginBase from cms.plugin_pool import plugin_pool -from cms.utils.placeholder import get_toolbar_plugin_struct +from cms.utils.placeholder import get_placeholder_conf from cms.utils.urlutils import admin_reverse from . import settings @@ -34,7 +36,7 @@ from .widgets import TextEditorWidget -CMS_34 = LooseVersion(cms.__version__) >= LooseVersion('3.4') +CMS_34 = LooseVersion(cms.__version__) >= LooseVersion("3.4") def _user_can_change_placeholder(request, placeholder): @@ -48,7 +50,7 @@ def post_add_plugin(operation, **kwargs): from djangocms_history.helpers import get_bound_plugins, get_plugin_data from djangocms_history.models import dump_json - text_plugin = kwargs['plugin'] + text_plugin = kwargs["plugin"] new_plugin_ids = set(text_plugin._get_inline_plugin_ids()) if not new_plugin_ids: @@ -59,21 +61,21 @@ def post_add_plugin(operation, **kwargs): new_plugins = get_bound_plugins(new_plugins) # Extend the recorded added plugins to include the inline plugins (if any) - action = operation.actions.only('post_action_data').get(action=ADD_PLUGIN, order=1) + action = operation.actions.only("post_action_data").get(action=ADD_PLUGIN, order=1) post_data = json.loads(action.post_action_data) - post_data['plugins'].extend(get_plugin_data(plugin) for plugin in new_plugins) + post_data["plugins"].extend(get_plugin_data(plugin) for plugin in new_plugins) action.post_action_data = dump_json(post_data) - action.save(update_fields=['post_action_data']) + action.save(update_fields=["post_action_data"]) def pre_change_plugin(operation, **kwargs): from djangocms_history.actions import ADD_PLUGIN, DELETE_PLUGIN from djangocms_history.helpers import get_bound_plugins, get_plugin_data - old_text_plugin = kwargs['old_plugin'] + old_text_plugin = kwargs["old_plugin"] old_plugin_ids = set(old_text_plugin._get_inline_plugin_ids()) - new_text_plugin = kwargs['new_plugin'] + new_text_plugin = kwargs["new_plugin"] new_plugin_ids = set(new_text_plugin._get_inline_plugin_ids()) added_plugin_ids = new_plugin_ids.difference(old_plugin_ids) @@ -91,20 +93,16 @@ def pre_change_plugin(operation, **kwargs): # have already been set on the database when this pre operation # is executed. old_tree = ( - old_text_plugin - .cmsplugin_set - .filter(pk__in=old_plugin_ids) - .order_by('position') - .values_list('pk', flat=True) + old_text_plugin.cmsplugin_set.filter(pk__in=old_plugin_ids) + .order_by("position") + .values_list("pk", flat=True) ) old_tree = list(old_tree) new_tree = ( - new_text_plugin - .cmsplugin_set - .filter(pk__in=new_plugin_ids) - .order_by('position') - .values_list('pk', flat=True) + new_text_plugin.cmsplugin_set.filter(pk__in=new_plugin_ids) + .order_by("position") + .values_list("pk", flat=True) ) new_tree = list(new_tree) @@ -115,22 +113,25 @@ def pre_change_plugin(operation, **kwargs): order += 1 pre_action_data = { - 'order': old_tree, - 'parent_id': old_text_plugin.pk, + "order": old_tree, + "parent_id": old_text_plugin.pk, } - post_plugin_data = [get_plugin_data(plugin) for plugin in bound_plugins - if plugin.pk in added_plugin_ids] + post_plugin_data = [ + get_plugin_data(plugin) + for plugin in bound_plugins + if plugin.pk in added_plugin_ids + ] post_action_data = { - 'order': new_tree, - 'parent_id': old_text_plugin.pk, - 'plugins': post_plugin_data, + "order": new_tree, + "parent_id": old_text_plugin.pk, + "plugins": post_plugin_data, } operation.create_action( action=ADD_PLUGIN, language=old_text_plugin.language, - placeholder=kwargs['placeholder'], + placeholder=kwargs["placeholder"], pre_data=pre_action_data, post_data=post_action_data, order=order, @@ -138,25 +139,29 @@ def pre_change_plugin(operation, **kwargs): if deleted_plugin_ids: order += 1 - deleted_plugins = [plugin for plugin in bound_plugins if plugin.pk in deleted_plugin_ids] + deleted_plugins = [ + plugin for plugin in bound_plugins if plugin.pk in deleted_plugin_ids + ] pre_plugin_data = [get_plugin_data(plugin) for plugin in deleted_plugins] pre_action_data = { - 'order': old_tree, - 'parent_id': old_text_plugin.pk, - 'plugins': pre_plugin_data, + "order": old_tree, + "parent_id": old_text_plugin.pk, + "plugins": pre_plugin_data, } - post_plugin_data = [get_plugin_data(plugin, only_meta=True) for plugin in deleted_plugins] + post_plugin_data = [ + get_plugin_data(plugin, only_meta=True) for plugin in deleted_plugins + ] post_action_data = { - 'order': new_tree, - 'parent_id': old_text_plugin.pk, - 'plugins': post_plugin_data, + "order": new_tree, + "parent_id": old_text_plugin.pk, + "plugins": post_plugin_data, } operation.create_action( action=DELETE_PLUGIN, language=old_text_plugin.language, - placeholder=kwargs['placeholder'], + placeholder=kwargs["placeholder"], pre_data=pre_action_data, post_data=post_action_data, order=order, @@ -168,16 +173,18 @@ class TextPlugin(CMSPluginBase): name = settings.TEXT_PLUGIN_NAME module = settings.TEXT_PLUGIN_MODULE_NAME form = TextForm - render_template = 'cms/plugins/text.html' - change_form_template = 'cms/plugins/text_plugin_change_form.html' + render_template = "cms/plugins/text.html" + inline_editing_template = "cms/plugins/inline.html" + change_form_template = "cms/plugins/text_plugin_change_form.html" ckeditor_configuration = settings.TEXT_CKEDITOR_CONFIGURATION disable_child_plugins = True + fieldsets = ((None, {"fields": ("body",)}),) # These are executed by the djangocms-history app # We use them to inject inline plugin data operation_handler_callbacks = { - 'post_add_plugin': post_add_plugin, - 'pre_change_plugin': pre_change_plugin, + "post_add_plugin": post_add_plugin, + "pre_change_plugin": pre_change_plugin, } if CMS_34: @@ -196,17 +203,22 @@ def do_post_copy(cls, instance, source_map): def get_translation_export_content(field, plugin_data): def _render_plugin_with_content(obj, match): from djangocms_translations.utils import get_text_field_child_label + field = get_text_field_child_label(obj.plugin_type) - content = getattr(obj, field) if field else '' + content = getattr(obj, field) if field else "" return plugin_to_tag(obj, content) - content = _plugin_tags_to_html(plugin_data[field], output_func=_render_plugin_with_content) + content = _plugin_tags_to_html( + plugin_data[field], output_func=_render_plugin_with_content + ) subplugins_within_this_content = plugin_tags_to_id_list(content) return content, subplugins_within_this_content @staticmethod def set_translation_import_content(content, plugin): - data = [x.groups() for x in re.finditer(OBJ_ADMIN_WITH_CONTENT_RE_PATTERN, content)] + data = [ + x.groups() for x in re.finditer(OBJ_ADMIN_WITH_CONTENT_RE_PATTERN, content) + ] data = {int(pk): value for pk, value in data} return { @@ -219,23 +231,24 @@ def get_editor_widget(self, request, plugins, plugin): Returns the Django form Widget to be used for the text area """ - cancel_url_name = self.get_admin_url_name('delete_on_cancel') - cancel_url = reverse('admin:%s' % cancel_url_name) + cancel_url_name = self.get_admin_url_name("delete_on_cancel") + cancel_url = reverse("admin:%s" % cancel_url_name) - render_plugin_url_name = self.get_admin_url_name('render_plugin') - render_plugin_url = reverse('admin:%s' % render_plugin_url_name) + render_plugin_url_name = self.get_admin_url_name("render_plugin") + render_plugin_url = reverse("admin:%s" % render_plugin_url_name) action_token = self.get_action_token(request, plugin) # should we delete the text plugin when # the user cancels? delete_text_on_cancel = ( - 'delete-on-cancel' in request.GET and # noqa - not plugin.get_plugin_instance()[0] + "delete-on-cancel" in request.GET + and not plugin.get_plugin_instance()[0] # noqa ) widget = TextEditorWidget( - installed_plugins=plugins, pk=plugin.pk, + installed_plugins=plugins, + pk=plugin.pk, placeholder=plugin.placeholder, plugin_language=plugin.language, configuration=self.ckeditor_configuration, @@ -248,7 +261,9 @@ def get_editor_widget(self, request, plugins, plugin): return widget def _get_body_css_classes_from_parent_plugins( - self, plugin_instance: CMSPlugin, css_classes: str = '', + self, + plugin_instance: CMSPlugin, + css_classes: str = "", ) -> str: """ Recursion that collects CMSPluginBase.child_ckeditor_body_css_class attribute values, @@ -260,17 +275,22 @@ def _get_body_css_classes_from_parent_plugins( for plugin_name, plugin_class in plugin_pool.plugins.items(): is_current_parent_found = plugin_name == parent_current.plugin_type if is_current_parent_found: - body_css_class = '' - if getattr(plugin_class, 'child_ckeditor_body_css_class', False): + body_css_class = "" + if getattr(plugin_class, "child_ckeditor_body_css_class", False): body_css_class = plugin_class.child_ckeditor_body_css_class - if getattr(plugin_class, 'get_child_ckeditor_body_css_class', False): - body_css_class = plugin_class.get_child_ckeditor_body_css_class(parent_current) + if getattr( + plugin_class, "get_child_ckeditor_body_css_class", False + ): + body_css_class = plugin_class.get_child_ckeditor_body_css_class( + parent_current + ) if body_css_class and (body_css_class not in css_classes): - css_classes += ' ' + body_css_class + css_classes += " " + body_css_class css_classes_collected = self._get_body_css_classes_from_parent_plugins( - parent_current, css_classes, + parent_current, + css_classes, ) if css_classes_collected not in css_classes: css_classes += css_classes_collected @@ -290,7 +310,7 @@ def get_form_class(self, request, plugins, plugin): if instance: context = RequestContext(request) - context['request'] = request + context["request"] = request rendered_text = plugin_tags_to_admin_html( text=instance.body, context=context, @@ -303,26 +323,29 @@ class TextPluginForm(self.form): body = CharField(widget=widget, required=False) def __init__(self, *args, **kwargs): - initial = kwargs.pop('initial', {}) + initial = kwargs.pop("initial", {}) if rendered_text: - initial['body'] = rendered_text + initial["body"] = rendered_text super().__init__(*args, initial=initial, **kwargs) + return TextPluginForm @xframe_options_sameorigin - def add_view(self, request, form_url='', extra_context=None): - if 'plugin' in request.GET: + def add_view(self, request, form_url="", extra_context=None): + if "plugin" in request.GET: # CMS >= 3.4 compatibility - self.cms_plugin_instance = self._get_plugin_or_404(request.GET['plugin']) + self.cms_plugin_instance = self._get_plugin_or_404(request.GET["plugin"]) - if getattr(self, 'cms_plugin_instance', None): + if getattr(self, "cms_plugin_instance", None): # This can happen if the user did not properly cancel the plugin # and so a "ghost" plugin instance is left over. # The instance is a record that points to the Text plugin # but is not a real text plugin instance. return super().add_view( - request, form_url, extra_context, + request, + form_url, + extra_context, ) if not self.has_add_permission(request): @@ -331,7 +354,7 @@ def add_view(self, request, form_url='', extra_context=None): # This is NOT the normal workflow because we create a plugin # on GET request to the /add/ endpoint and so we bypass # django's add_view, thus bypassing permission check. - message = gettext('You do not have permission to add a plugin.') + message = gettext("You do not have permission to add a plugin.") return HttpResponseForbidden(force_str(message)) try: @@ -341,16 +364,16 @@ def add_view(self, request, form_url='', extra_context=None): # CMS >= 3.4 compatibility _data = self._cms_initial_attributes data = { - 'plugin_language': _data['language'], - 'placeholder_id': _data['placeholder'], - 'parent': _data['parent'], - 'position': _data['position'], - 'plugin_type': _data['plugin_type'], - 'plugin_parent': _data['parent'], + "plugin_language": _data["language"], + "placeholder_id": _data["placeholder"], + "parent": _data["parent"], + "position": _data["position"], + "plugin_type": _data["plugin_type"], + "plugin_parent": _data["parent"], } except PermissionDenied: - message = gettext('You do not have permission to add a plugin.') + message = gettext("You do not have permission to add a plugin.") return HttpResponseForbidden(force_str(message)) except ValidationError as error: return HttpResponseBadRequest(error.message) @@ -359,20 +382,20 @@ def add_view(self, request, form_url='', extra_context=None): # because we need this record in order to allow the user to add # child plugins to the text (image, link, etc..) plugin = CMSPlugin.objects.create( - language=data['plugin_language'], - plugin_type=data['plugin_type'], - position=data['position'], - placeholder=data['placeholder_id'], - parent=data.get('plugin_parent'), + language=data["plugin_language"], + plugin_type=data["plugin_type"], + position=data["position"], + placeholder=data["placeholder_id"], + parent=data.get("plugin_parent"), ) query = request.GET.copy() - query['plugin'] = str(plugin.pk) + query["plugin"] = str(plugin.pk) - success_url = admin_reverse('cms_page_add_plugin') + success_url = admin_reverse("cms_page_add_plugin") # Because we've created the cmsplugin record # we need to delete the plugin when a user cancels. - success_url += '?delete-on-cancel&' + query.urlencode() + success_url += "?delete-on-cancel&" + query.urlencode() return HttpResponseRedirect(success_url) def get_plugin_urls(self): @@ -381,14 +404,14 @@ def pattern(regex, func): return re_path(regex, func, name=name) url_patterns = [ - pattern(r'^render-plugin/$', self.render_plugin), - pattern(r'^delete-on-cancel/$', self.delete_on_cancel), + pattern(r"^render-plugin/$", self.render_plugin), + pattern(r"^delete-on-cancel/$", self.delete_on_cancel), ] return url_patterns def get_admin_url_name(self, name): plugin_type = self.__class__.__name__.lower() - url_name = f'{self.model._meta.app_label}_{plugin_type}_{name}' + url_name = f"{self.model._meta.app_label}_{plugin_type}_{name}" return url_name def _get_text_plugin_from_request(self, request, data): @@ -403,7 +426,7 @@ def _get_text_plugin_from_request(self, request, data): if text_plugin_id: return self._get_plugin_or_404(text_plugin_id) - message = gettext('Unable to process your request. Invalid token.') + message = gettext("Unable to process your request. Invalid token.") raise ValidationError(message=force_str(message)) @random_comment_exempt @@ -417,15 +440,17 @@ def render_plugin(self, request): form = RenderPluginForm(request.GET, text_plugin=text_plugin) if not form.is_valid(): - message = gettext('Unable to process your request.') + message = gettext("Unable to process your request.") return HttpResponseBadRequest(message) plugin_class = text_plugin.get_plugin_class_instance() # The following is needed for permission checking plugin_class.opts = plugin_class.model._meta - if not (plugin_class.has_change_permission(request, obj=text_plugin) and # noqa - _user_can_change_placeholder(request, text_plugin.placeholder)): + if not ( + plugin_class.has_change_permission(request, obj=text_plugin) + and _user_can_change_placeholder(request, text_plugin.placeholder) # noqa + ): raise PermissionDenied return HttpResponse(form.render_plugin(request)) @@ -449,7 +474,7 @@ def delete_on_cancel(self, request): form = DeleteOnCancelForm(request.POST, text_plugin=text_plugin) if not form.is_valid(): - message = gettext('Unable to process your request.') + message = gettext("Unable to process your request.") return HttpResponseBadRequest(message) plugin_class = text_plugin.get_plugin_class_instance() @@ -459,8 +484,10 @@ def delete_on_cancel(self, request): # Check for add permissions because this view is meant # only for plugins created through the ckeditor # and the ckeditor plugin itself. - if not (plugin_class.has_add_permission(request) and # noqa - _user_can_change_placeholder(request, text_plugin.placeholder)): + if not ( + plugin_class.has_add_permission(request) + and _user_can_change_placeholder(request, text_plugin.placeholder) # noqa + ): raise PermissionDenied # Token is validated after checking permissions # to avoid non-auth users from triggering validation mechanism. @@ -478,40 +505,87 @@ def get_child_plugin_candidates(cls, slot, page): ) return text_enabled_plugins - def get_form(self, request, obj=None, **kwargs): - plugin = getattr(self, 'cms_plugin_instance', None) or obj + def get_plugins(self, obj=None): + plugin = getattr(self, "cms_plugin_instance", None) or obj get_plugin = plugin_pool.get_plugin child_plugin_types = self.get_child_classes( slot=plugin.placeholder.slot, page=self.page, ) child_plugins = (get_plugin(name) for name in child_plugin_types) - plugins = get_toolbar_plugin_struct( - child_plugins, - plugin.placeholder.slot, - self.page, - ) + template = getattr(self.page, "template", None) + + modules = get_placeholder_conf("plugin_modules", plugin.placeholder.slot, template, default={}) + names = get_placeholder_conf("plugin_labels", plugin.placeholder.slot, template, default={}) + main_list = [] + + # plugin.value points to the class name of the plugin + # It's added on registration. TIL. + for plugin in child_plugins: + main_list.append({'value': plugin.value, + 'name': names.get(plugin.value, plugin.name), + 'icon': getattr(plugin, "text_icon", None), + 'module': modules.get(plugin.value, plugin.module)}) + return sorted(main_list, key=operator.itemgetter("module")) + + def get_form(self, request, obj=None, **kwargs): + plugin = getattr(self, "cms_plugin_instance", None) or obj + plugins = self.get_plugins(obj) form = self.get_form_class( request=request, plugins=plugins, plugin=plugin, ) - kwargs['form'] = form # override standard form + kwargs["form"] = form # override standard form return super().get_form(request, obj, **kwargs) + def get_render_template(self, context, instance, placeholder): + if hasattr(context["request"], "toolbar") and context["request"].toolbar.edit_mode_active: + return self.inline_editing_template + else: + return self.render_template + + def inline_editing_active(self, request): + return ( + settings.TEXT_INLINE_EDITING + and hasattr(request, "toolbar") + and request.toolbar.edit_mode_active + and request.session.get("inline_editing", True) + ) + def render(self, context, instance, placeholder): - context.update({ - 'body': plugin_tags_to_user_html( - instance.body, - context, - ), - 'placeholder': placeholder, - 'object': instance, - }) + if self.inline_editing_active(context["request"]): + ckeditor_settings = self.get_editor_widget( + context["request"], self.get_plugins(instance), instance + ).get_ckeditor_settings(get_language().split("-")[0]) + + context.update( + { + "body": plugin_tags_to_admin_html( + instance.body, + context, + ), + "placeholder": placeholder, + "object": instance, + "ckeditor_settings": ckeditor_settings, + "ckeditor_settings_id": "ck-cfg-" + str(instance.pk), + } + ) + else: + context.update( + { + "body": plugin_tags_to_user_html( + instance.body, + context, + ), + "placeholder": placeholder, + "object": instance, + } + ) return context def save_model(self, request, obj, form, change): - if getattr(self, 'cms_plugin_instance', None): + if getattr(self, "cms_plugin_instance", None): # Because the plugin was created by manually # creating the CMSPlugin record, it's important # to assign all the values from the CMSPlugin record @@ -540,11 +614,8 @@ def get_action_token(self, request, obj): def _get_plugin_or_404(self, pk): plugin_type = self.__class__.__name__ - plugins = ( - CMSPlugin - .objects - .select_related('placeholder', 'parent') - .filter(plugin_type=plugin_type) + plugins = CMSPlugin.objects.select_related("placeholder", "parent").filter( + plugin_type=plugin_type ) field = self.model._meta.pk @@ -552,7 +623,7 @@ def _get_plugin_or_404(self, pk): try: object_id = field.to_python(unquote(pk)) except (ValidationError, ValueError): - raise Http404('Invalid plugin id') + raise Http404("Invalid plugin id") return get_object_or_404(plugins, pk=object_id) diff --git a/djangocms_text_ckeditor/cms_toolbars.py b/djangocms_text_ckeditor/cms_toolbars.py new file mode 100644 index 000000000..4a4a6f163 --- /dev/null +++ b/djangocms_text_ckeditor/cms_toolbars.py @@ -0,0 +1,75 @@ +from urllib.parse import urlparse, urlunparse + +from django import forms +from django.http import QueryDict +from django.utils.functional import cached_property +from django.utils.safestring import mark_safe +from django.utils.translation import gettext_lazy as _ + +from cms.cms_toolbars import CMSToolbar +from cms.toolbar.items import BaseItem, Button, ButtonList +from cms.toolbar_pool import toolbar_pool + +from . import settings +from .widgets import PATH_TO_JS + + +class IconButton(Button): + template = "cms/toolbar/icon-button.html" + + +class InlineEditingItem(BaseItem): + """Make ckeditor base path available for inline editing""" + def render(self): + return mark_safe( + f'') + + +class InlineEditingToolbar(CMSToolbar): + @property + def media(self): + if self.toolbar.edit_mode_active and self.inline_editing: + return forms.Media( + css={'screen': ('djangocms_text_ckeditor/css/cms.inline-ckeditor.css',)}, + js=(PATH_TO_JS,), + ) + return forms.Media() + + @cached_property + def inline_editing(self): + inline_editing = self.request.session.get("inline_editing", True) # Activated by default + change = self.request.GET.get("inline_editing", None) # can be changed by query param + if change is not None: + inline_editing = change == "1" + self.request.session["inline_editing"] = inline_editing # store in session + return inline_editing + + def populate(self): + if self.toolbar.edit_mode_active: + item = ButtonList(side = self.toolbar.RIGHT) + item.add_item( + IconButton( + name=_("Toggle inline editing mode for text plugins"), + url=self.get_full_path_with_param("inline_editing", int(not self.inline_editing)), + active=self.inline_editing, + extra_classes=["cms-icon cms-icon-pencil"], + ), + ) + self.toolbar.add_item(item) + if self.inline_editing: + self.toolbar.add_item(InlineEditingItem(), position=None) # Loads js and css for inline editing + + def get_full_path_with_param(self, key, value): + """ + Adds key=value to the query parameters, replacing an existing key if necessary + """ + url = urlparse(self.toolbar.request_path) + query_dict = QueryDict(url.query).copy() + query_dict[key] = value + url = url._replace(query=query_dict.urlencode()) + return urlunparse(url) + + +if settings.TEXT_INLINE_EDITING: # Only register if explicitly required from settings + toolbar_pool.register(InlineEditingToolbar) diff --git a/djangocms_text_ckeditor/locale/ar/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/ar/LC_MESSAGES/django.mo index 9b6d929f5dab4985b6bee5dee8708bc92f807d54..6edb74eb26eeb7c875fe77efa7b200f7ab2cac41 100644 GIT binary patch delta 55 zcmey)a*kz!iRdXt28L_~1_llwHe+I7-~-b36FuW6UR=TBlbDxYnwXwyrI1)Oxq>lz I@&m@{0Cfxxd;kCd delta 94 zcmX@d@||UZiRfoW28L_~1_llwj%Q+E-~-Yb6FuYALUf&rQWHxu^Ye6F5=&C86pRcE uEp-hHb&X6E3=OOdjkOI74GbnOT|GILF^b10F)zI|F&(HZv1sx(#u)%R78zmy diff --git a/djangocms_text_ckeditor/locale/ar/LC_MESSAGES/django.po b/djangocms_text_ckeditor/locale/ar/LC_MESSAGES/django.po index 5a25b08c8..5268b0da4 100644 --- a/djangocms_text_ckeditor/locale/ar/LC_MESSAGES/django.po +++ b/djangocms_text_ckeditor/locale/ar/LC_MESSAGES/django.po @@ -2,66 +2,66 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: Arabic (https://www.transifex.com/divio/teams/58664/ar/)\n" +"Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: ar\n" -"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " +"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "المحتوى" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "النص" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "" - -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "" diff --git a/djangocms_text_ckeditor/locale/bn/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/bn/LC_MESSAGES/django.mo index 336f794cb04740cb5bd03d5346ba11687c25ef66..eddfc6b8ed02c23efe93ca5b3aedd672ebc084b0 100644 GIT binary patch delta 56 zcmdnPGMQz9iC6_A14A|g1A`C{KLN6(f%JFAiC%FNFRtYANz6+xO-xUE?qM@jxmbICowO*G%+2hEGcjDcE%V0)O#1+ diff --git a/djangocms_text_ckeditor/locale/bn/LC_MESSAGES/django.po b/djangocms_text_ckeditor/locale/bn/LC_MESSAGES/django.po index d61b817c7..4d8840178 100644 --- a/djangocms_text_ckeditor/locale/bn/LC_MESSAGES/django.po +++ b/djangocms_text_ckeditor/locale/bn/LC_MESSAGES/django.po @@ -2,66 +2,65 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: Bengali (https://www.transifex.com/divio/teams/58664/bn/)\n" +"Language: bn\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: bn\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "বিষয়বস্তু" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "টেক্সট" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "" - -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "" diff --git a/djangocms_text_ckeditor/locale/ca/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/ca/LC_MESSAGES/django.mo index dfd9feae313cc5a27c8144008b0a49e8df3a631e..ca0001e2438b57646347dbc3d29d046020ebe412 100644 GIT binary patch delta 56 zcmbQn@|JmmiC6_A14A|g0|N^XKLN6tf%HqpiC%FNFRtYANz6+xO-xUE?qM@jxmbICowO*G%+2hEID!Vc1AM**nAhO diff --git a/djangocms_text_ckeditor/locale/ca/LC_MESSAGES/django.po b/djangocms_text_ckeditor/locale/ca/LC_MESSAGES/django.po index 18cd56eb7..a8c351852 100644 --- a/djangocms_text_ckeditor/locale/ca/LC_MESSAGES/django.po +++ b/djangocms_text_ckeditor/locale/ca/LC_MESSAGES/django.po @@ -2,66 +2,65 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: Catalan (https://www.transifex.com/divio/teams/58664/ca/)\n" +"Language: ca\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: ca\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "cos" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "Text" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "" - -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "" diff --git a/djangocms_text_ckeditor/locale/cs/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/cs/LC_MESSAGES/django.mo index 6adc5eab3ebd83d568a4cf0a2f3c4ca70ac7844c..a86d3555cb8f769974ab312e1b4f3626a0e94916 100644 GIT binary patch delta 55 zcmaFHvX^CoiRdv#28L_~1_l-&HezC6U, YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: Czech (https://www.transifex.com/divio/teams/58664/cs/)\n" +"Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: cs\n" -"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n " +"<= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "tělo" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "Text" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "" - -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "" diff --git a/djangocms_text_ckeditor/locale/da/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/da/LC_MESSAGES/django.mo index cf4dc024e6790e25969cb6c77238c4f73334db30..cc248e029421e9118b3d6245ec583faa69caf43d 100644 GIT binary patch delta 56 zcmbQv@{W0eiC8%!14A|g0|P4%KL)Z{fb>hoiC%FNFRtM6Nz6+xO-xUR delta 95 zcmaFIJe_5NiP!>028L_~1_o9j=3!!BU;)xXOcTB0)IxNfi&7IyGV}9vT@p)DtrUz5 v3@vpH40Vl66bucl42`u73=Iq>E?qr2mNAOQCowO*G%+2hEG2RBHbx5o*#{S` diff --git a/djangocms_text_ckeditor/locale/da/LC_MESSAGES/django.po b/djangocms_text_ckeditor/locale/da/LC_MESSAGES/django.po index 2dfd1e6b1..01f6127b6 100644 --- a/djangocms_text_ckeditor/locale/da/LC_MESSAGES/django.po +++ b/djangocms_text_ckeditor/locale/da/LC_MESSAGES/django.po @@ -2,66 +2,65 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: Danish (https://www.transifex.com/divio/teams/58664/da/)\n" +"Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: da\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "body" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "Tekst" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "" - -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "" diff --git a/djangocms_text_ckeditor/locale/de/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/de/LC_MESSAGES/django.mo index 9aaebb47ce9a194d1d3f422e45a6e21ea7ab3795..90637cd1987df8452861ab9560ea56829ec97c1b 100644 GIT binary patch delta 307 zcmcb_`IK{lPdy6*14AJr1A{h@E(6l?Kzb37)&tUqpyD5aG)SE+69YpzkgWuy#en=- z%nS_NKzbvPHU!dpfwTyaeh;KMfiw$H6G$H)kO0XG18Gel?FyuAfOI|!&=_MNV+~LM zh!`FK384853=3aKfXC7F5Y3c2|y zsS0WNMG7TAH3|herRkY@#gp3@_f5`aTEXL!n3rCfn4W5-kdiuCggJV04f6ssuxXxP rV{~01#_0Oyr<4{eq#fQjCNIKw29}UxUgsF)=VK0J7PEv=~r) z1v3K!H;~>Bqz!@eX&@~Er2hhGP9QA=G!$gM43GwyuL~qJfwU2jwgJ*HEI?z7fsC0@ z1!sXY(0m5=i4TogfiwfhWJ$&d(cqHAyp+VE6or7C()7%{Vup~^ijv6-8TYA$=sFjr zCYEI8=jpm6mZVxK7#SE^>KYj88kr~<8dw<`Ya19E7)*{~T0L2WIf}<8F)zI|F&(Hb XC3SKx^Fo-(C8#Fnv1m=sV<`s!OWHT_ diff --git a/djangocms_text_ckeditor/locale/de/LC_MESSAGES/django.po b/djangocms_text_ckeditor/locale/de/LC_MESSAGES/django.po index 806fe228b..5593d1aa0 100644 --- a/djangocms_text_ckeditor/locale/de/LC_MESSAGES/django.po +++ b/djangocms_text_ckeditor/locale/de/LC_MESSAGES/django.po @@ -2,66 +2,68 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: German (https://www.transifex.com/divio/teams/58664/de/)\n" +"Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "Sie haben keine Rechte um ein Plugin hinzuzufügen." -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "Die Anfrage kann nicht bearbeitet werden. Inkorrektes Token." -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "Die Anfrage kann nicht bearbeitet werden." -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "Inline-Editing-Modus für Text-Plugins umschalten" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "Gespeichertes Plugin kann nicht gelöscht werden." -#: models.py:43 +#: models.py:37 msgid "body" msgstr "Body" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "Text" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "Generisch" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "CMS Plugins" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "CMS Plugin hinzufügen" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "CMS Plugin editieren" -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "Standart Plugins" +#~ msgid "Standard Plugins" +#~ msgstr "Standart Plugins" diff --git a/djangocms_text_ckeditor/locale/el/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/el/LC_MESSAGES/django.mo index 436032b22194f5dd66bfe16d51813198ad0c5d20..57ac6652836bf8488b7f3b79d476b3f8f1834832 100644 GIT binary patch delta 56 zcmZ3?@{4(biC7sU14A|g0|OrrKLWBjfb>VkiC%FNFD~ctNz6+xO-xUE?qS_hB1oACowO*G%+2hEH!8HRz_C<=U^A^ diff --git a/djangocms_text_ckeditor/locale/el/LC_MESSAGES/django.po b/djangocms_text_ckeditor/locale/el/LC_MESSAGES/django.po index 658b64567..037572e79 100644 --- a/djangocms_text_ckeditor/locale/el/LC_MESSAGES/django.po +++ b/djangocms_text_ckeditor/locale/el/LC_MESSAGES/django.po @@ -2,66 +2,65 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: Greek (https://www.transifex.com/divio/teams/58664/el/)\n" +"Language: el\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: el\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "σώμα" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "Κείμενο" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "" - -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "" diff --git a/djangocms_text_ckeditor/locale/en/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/en/LC_MESSAGES/django.mo index 6da141dbdd8355ffe49270dd957953afafa52128..04660c93581402a19fbee43eef9a53da67c9293b 100644 GIT binary patch delta 303 zcmbWv!3qIE7zglgcWF0@8!0lmDk)k=HN)g^1(9P&*}!%zsHGpT&3 zIO8)JOC?wk&N!Qg5sQ&w3qKK3t@PE|Y1i)Rz)mv#sS?Rl@D9^2d!m^&_^a;&Q)@sK delta 285 zcmdnZv5sScPrU#G14AJr0|N_?ZUWNsK)M}B>jCNIKw29}UxUgsF)=VW0NLz7nhz-M z!OXzG4Wz??v<#3=2GaaMx&cVD1L+As8f5+qAPq8qC6ET0zYa))%sAO^PJFI0gh zP!-U82KI>$jah*-1IJ`Z#t6~ilEl1}#G(|1fSl6w%)DZTkkpEj$qO0xsfFk|7o{ea zWaj7Tx+IpQS}7PA7+UHY80s3CC>R=885(OF7#bK%j$x{pe4i, YEAR. -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: \n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "You do not have permission to add a plugin." -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "Unable to process your request. Invalid token." -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "Unable to process your request." -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "Toggle inline editing mode for text plugins" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "Can't delete a saved plugin." -#: models.py:43 +#: models.py:37 msgid "body" msgstr "body" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "Text" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "Generic" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "CMS Plugins" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "Add CMS Plugin" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "Edit CMS Plugin" -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "Standard Plugins" +#~ msgid "Standard Plugins" +#~ msgstr "Standard Plugins" diff --git a/djangocms_text_ckeditor/locale/es/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/es/LC_MESSAGES/django.mo index 13edde133ef5a088c28f5fca2958ea0ae89bc85a..6838a20a1abb06ab42e36b37d6c96d6397e1ef26 100644 GIT binary patch delta 297 zcmXxf%L)Ne9DwmNGw#>OQcPJ$N{J0Sloh2cEi`3jQc}o57V-=y7WOut!DCoiC@&!1 zz;|5!_4S)Mb2^>51n&OLE$P__CPZnPP?XN3=1DPnQJ94G-50?)uLbmD4L#VvEVi+P z&ToB(D>_h;^_1~BZzJ+N6j`WX0*4sH8G3PzIox6ukLbfIa+ZM4esu{oI;rpKGXGIO x7a(<>XpBZ?tJ^nwlchVB8LcJf+Fq9RQ>0@}-KFK)b<V&=3l3B1wwiQu+cEBuZ!9 zeF4sbOC9SfI63L$3-Eif{^7^xxclGJM`>CfzE{mVK`oIrl9CE}CAzGF5GzXhZ@${rNvgt*iaXA6ZxD3DB-<;D zH`{J2_Ep-ALU&)Ke$%N-Z`YNcTW>g?YhpU diff --git a/djangocms_text_ckeditor/locale/es/LC_MESSAGES/django.po b/djangocms_text_ckeditor/locale/es/LC_MESSAGES/django.po index 70bbd2c71..a02ef80a1 100644 --- a/djangocms_text_ckeditor/locale/es/LC_MESSAGES/django.po +++ b/djangocms_text_ckeditor/locale/es/LC_MESSAGES/django.po @@ -2,67 +2,69 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2019 # Luis Zárate , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Luis Zárate , 2019\n" "Language-Team: Spanish (https://www.transifex.com/divio/teams/58664/es/)\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: es\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "No se puede procesar esta petición. Token inválido" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "No se puede procesar esta petición" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "No se puede eliminar un complemento salvado" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "cuerpo" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "Texto" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "Genérico" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "CMS Plugins" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "Agregar CMS Plugin" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "Editar CMS Plugin" -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "Complementos estándares" +#~ msgid "Standard Plugins" +#~ msgstr "Complementos estándares" diff --git a/djangocms_text_ckeditor/locale/et/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/et/LC_MESSAGES/django.mo index 4de1dc9fe109834ed5c25d132d861b5d2274768d..be52b90c6f51c7cdc080249e0ef54f90d671bc5a 100644 GIT binary patch delta 47 zcmey*e2sa64sRtR149@C0|P4%UzlhaHF3`>9-qX#^wPxiR4awllF6xz(UZ?I8UX-D CR}QZL delta 85 zcmcb{{GWM(4(}pH28J*O1_o9j{yEVyN-ad!xhOTUBr`ux*Cnwe)k?w0z|d0Hz);u7 nM8VL&%FtNbz|g>8;)J!6y%?joeG>E1OB2(9%2FpUVl)8&-T@c) diff --git a/djangocms_text_ckeditor/locale/et/LC_MESSAGES/django.po b/djangocms_text_ckeditor/locale/et/LC_MESSAGES/django.po index 07ee25a5b..6da856737 100644 --- a/djangocms_text_ckeditor/locale/et/LC_MESSAGES/django.po +++ b/djangocms_text_ckeditor/locale/et/LC_MESSAGES/django.po @@ -2,66 +2,65 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: Estonian (https://www.transifex.com/divio/teams/58664/et/)\n" +"Language: et\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: et\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "Tekst" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "" - -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "" diff --git a/djangocms_text_ckeditor/locale/eu/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/eu/LC_MESSAGES/django.mo index af4fa44b6ac60340b6302d4a1cf8dc949cd555b1..f0595837c3326c58b93f7e9e422e21654609c404 100644 GIT binary patch delta 56 zcmbQk@|k&piC8%!14A|g0|OfnKL)Znfb=WIiC%FNFRtM6Nz6+xO-xU028L_~1_m}D=3!!B-~iIXOcTB0)IxNfi&7IyGV}9vT@p)DtrUz5 v3@vpH40Vl66bucl42`u73=Iq>E?qr2mNAOQCowO*G%+2hEVXp, YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: Basque (https://www.transifex.com/divio/teams/58664/eu/)\n" +"Language: eu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: eu\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "gorputza" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "Testua" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "" - -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "" diff --git a/djangocms_text_ckeditor/locale/fa/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/fa/LC_MESSAGES/django.mo index 985b9f577723486302aea301eead88bc9a368d47..e21f7133b41c12b6a3f0ee76fb7ba4855ed63562 100644 GIT binary patch delta 56 zcmbQk@|k&piC8%!14A|g0|OfnKL)Znfb=WIiC%FNFRtYANz6+xO-xU028L_~1_m}D=3!!B-~iIXOcTB0)IxNfi&7IyGV}9vT@p)DtrUz5 v3@vpH40Vl66bucl42`u73=Iq>E?qM@jxmbICowO*G%+2hEG=>Jc19Zj-lP}C diff --git a/djangocms_text_ckeditor/locale/fa/LC_MESSAGES/django.po b/djangocms_text_ckeditor/locale/fa/LC_MESSAGES/django.po index 1e5714c69..87ae77721 100644 --- a/djangocms_text_ckeditor/locale/fa/LC_MESSAGES/django.po +++ b/djangocms_text_ckeditor/locale/fa/LC_MESSAGES/django.po @@ -2,66 +2,65 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: Persian (https://www.transifex.com/divio/teams/58664/fa/)\n" +"Language: fa\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: fa\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "بدنه" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "متن" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "" - -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "" diff --git a/djangocms_text_ckeditor/locale/fi/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/fi/LC_MESSAGES/django.mo index 107d3573593f5c3d7a8a6b7941eeeccfd9d689de..15470075fafaaf1d25e7b6925454c85c6f36cd48 100644 GIT binary patch delta 56 zcmbQk@|k&piC6_A14A|g0|OfnKLN7Yf%I#}iC%FNFRtYANz6+xO-xUE?qM@jxmbICowO*G%+2hEG={Lc19Zj-)tAq diff --git a/djangocms_text_ckeditor/locale/fi/LC_MESSAGES/django.po b/djangocms_text_ckeditor/locale/fi/LC_MESSAGES/django.po index b079b7250..83e7cc6be 100644 --- a/djangocms_text_ckeditor/locale/fi/LC_MESSAGES/django.po +++ b/djangocms_text_ckeditor/locale/fi/LC_MESSAGES/django.po @@ -2,66 +2,65 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: Finnish (https://www.transifex.com/divio/teams/58664/fi/)\n" +"Language: fi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: fi\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "vartalo" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "Teksti" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "" - -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "" diff --git a/djangocms_text_ckeditor/locale/fr/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/fr/LC_MESSAGES/django.mo index f1a9225fcdd3b7791f7e6a7928427dd5892f08f4..12dff8334bbebbf7440a2c54200c9cb93549beee 100644 GIT binary patch delta 297 zcmXw!y$eB67>CdO@cmW9B<^6bD8;~rGEvHCQrEqyn?WgMFq%v!28-Qj_J_z|H7WcB zp5x57EwW;?9QdsBSq^dC>>5Y3$|8aNZ~2A|n6* delta 395 zcmXxfKTE?v7{~ET8g2c9rh=UmGpLJ3F13rrLC{5T5Y3|7L1QRrgqWgR2X{pd>8dZl z!8hROqN9S7;N;ZB$ebil)ay z)3=P1xQ%5zKo=D{nBp9s;|lhQ{b#%, YEAR. -# +# # Translators: # Angelo Dini , 2019 # Nicolas PASCAL , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Nicolas PASCAL , 2019\n" "Language-Team: French (https://www.transifex.com/divio/teams/58664/fr/)\n" +"Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: fr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "Impossible de traiter votre demande. Jeton invalide." -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "Impossible de traiter votre demande." -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "Impossible de supprimer le plugin enregistré." -#: models.py:43 +#: models.py:37 msgid "body" msgstr "corps" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "Texte" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "Générique" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "CMS Plugins" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "Ajouter un plugin CMS" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "Modifier le plugin CMS" -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "Plugins Standard" +#~ msgid "Standard Plugins" +#~ msgstr "Plugins Standard" diff --git a/djangocms_text_ckeditor/locale/gl/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/gl/LC_MESSAGES/django.mo index 66d362f5065a34c632cb141a9d3653b1ebf5e849..4aeaa6b4a947061ac3ae09f04cede4e98be4a4ec 100644 GIT binary patch delta 56 zcmbQm@{xIhiC85g14A|g0|P4%KLxTu^lQe6UU3sIuHx}Y%u6p#Oi#5^NY9yE#TY&L H5u*hFhyM@f delta 95 zcmey!Jd0(5iP$1W28L_~1_o9j=3|1;B1{v#;?zQPor_WvOEUBGbX^ilQmqt>3=A!G s4GeXSOcV?atPG8{4GawoCN5n&Ii4|!$0so_y)-c$s4P8a@(xBz0NwW&&j0`b diff --git a/djangocms_text_ckeditor/locale/gl/LC_MESSAGES/django.po b/djangocms_text_ckeditor/locale/gl/LC_MESSAGES/django.po index a2c9e87e4..12a43c6dd 100644 --- a/djangocms_text_ckeditor/locale/gl/LC_MESSAGES/django.po +++ b/djangocms_text_ckeditor/locale/gl/LC_MESSAGES/django.po @@ -2,66 +2,65 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: Galician (https://www.transifex.com/divio/teams/58664/gl/)\n" +"Language: gl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: gl\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "corpo" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "Texto" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "" - -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "" diff --git a/djangocms_text_ckeditor/locale/he/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/he/LC_MESSAGES/django.mo index c623e56948eff6931ea7a588b2fd764763e39f2e..d9edd2ccf5ed7e221b04be3cd072bcbeae246bf3 100644 GIT binary patch delta 55 zcmeyva+zgE?qr2mNAOQCowO*G%+2hEF*RDHpaOCM$;LF diff --git a/djangocms_text_ckeditor/locale/he/LC_MESSAGES/django.po b/djangocms_text_ckeditor/locale/he/LC_MESSAGES/django.po index 8cdf618c8..bad6f577d 100644 --- a/djangocms_text_ckeditor/locale/he/LC_MESSAGES/django.po +++ b/djangocms_text_ckeditor/locale/he/LC_MESSAGES/django.po @@ -2,66 +2,66 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: Hebrew (https://www.transifex.com/divio/teams/58664/he/)\n" +"Language: he\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: he\n" -"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % " +"1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "תוכן" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "טקסט" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "" - -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "" diff --git a/djangocms_text_ckeditor/locale/hi/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/hi/LC_MESSAGES/django.mo index cd3935a7e74b1f6321854a65d6c34237039fcca0..ec513707a11786683978da2542971947c0b42792 100644 GIT binary patch delta 56 zcmZ3)@{@UjiC7sU14A|g0|O@zKLWCOfb<*2iC%FNFD~ctNz6+xO-xUE?qS_hB1oACowO*G%+2hEF*LBRz?>9, YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: Hindi (https://www.transifex.com/divio/teams/58664/hi/)\n" +"Language: hi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: hi\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "शरीर" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "पाठ" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "" - -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "" diff --git a/djangocms_text_ckeditor/locale/hr/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/hr/LC_MESSAGES/django.mo index 1c1e8c048ec7bac3347a4797da540e6a06705be7..74003be34093ecfd196c9793647940f7482093a8 100644 GIT binary patch delta 55 zcmaFNvWsPciReK_28L_~1_o9j)@5Q~U<1;|6FuW6UR=fFlbDxYnwXwyrI1lHxr#A* I@*~DZ0B2ASA^-pY delta 94 zcmdnR@|b0UiRddv28L_~1_o9j4r5|qU<1-I6FuYALUf&rQWHxu^Ye6F5=&C86pRcE uEp-hHb&X6E3=OOdjkOI74GbnOT{}6RF^b10F)zI|F&(HZqiFID#wGwE0T~DY diff --git a/djangocms_text_ckeditor/locale/hr/LC_MESSAGES/django.po b/djangocms_text_ckeditor/locale/hr/LC_MESSAGES/django.po index c902ae54b..d2daa7c48 100644 --- a/djangocms_text_ckeditor/locale/hr/LC_MESSAGES/django.po +++ b/djangocms_text_ckeditor/locale/hr/LC_MESSAGES/django.po @@ -2,66 +2,66 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: Croatian (https://www.transifex.com/divio/teams/58664/hr/)\n" +"Language: hr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: hr\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "tijelo" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "Tekst" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "" - -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "" diff --git a/djangocms_text_ckeditor/locale/hu/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/hu/LC_MESSAGES/django.mo index 7ce387489949bc4edef30678c29cfb0365c017ba..3e35ac1649a2820cefc368f02b960380285449b0 100644 GIT binary patch delta 56 zcmbQo@|AgliC7gQ14A|g0|Pq{KLfJafb=`YiC%FNFRteCNz6+xO-xUE?qY{fia55CowO*G%+2hETeStPDUF5, YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: Hungarian (https://www.transifex.com/divio/teams/58664/hu/)\n" +"Language: hu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: hu\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "törzs" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "Szöveg" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "" - -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "" diff --git a/djangocms_text_ckeditor/locale/is/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/is/LC_MESSAGES/django.mo index 1ff619dd3c819b40304b63a9187994c880fafff6..e3b73856dc1321a695f236c8bd3471f2e89f6383 100644 GIT binary patch delta 55 zcmdnW(!(;rM05fp14A|g0|P4%{{gZ&fi%-Z&-jTKSM&HJ=B1Y=rl(pdWEM}ZW{jTv Hm@xY#Z~|%ViJtLlA-c{*sfi_-`FXl7i6yC43PuKo umbwOpx<)1nh6YxK#@Ysk1_l$CuA7{|7{%k0n3rCfm=08ySv+|sV=w^Jj~DU) diff --git a/djangocms_text_ckeditor/locale/is/LC_MESSAGES/django.po b/djangocms_text_ckeditor/locale/is/LC_MESSAGES/django.po index 712cff08c..df160d39b 100644 --- a/djangocms_text_ckeditor/locale/is/LC_MESSAGES/django.po +++ b/djangocms_text_ckeditor/locale/is/LC_MESSAGES/django.po @@ -2,66 +2,65 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: Icelandic (https://www.transifex.com/divio/teams/58664/is/)\n" +"Language: is\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: is\n" "Plural-Forms: nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "meginmál" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "Texti" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "" - -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "" diff --git a/djangocms_text_ckeditor/locale/it/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/it/LC_MESSAGES/django.mo index d164d0b5d7d2e0e6950f00f9ccc4ab9cb85e751e..603caf185b6d7581cbfdbc876f573dc1eb763f85 100644 GIT binary patch delta 56 zcmbQq@_~7RiC6_A14A|g0|P4%KLN5q^ee`RUU3sIuH^Aa%u6p#Oi#5^$Sj#$$rwHP HA)^HVhguKm delta 93 zcmeysJd3=A!G q4GeXSOcV?atPG8{4GawoCN5nwIgT-k%O^1}y)-c$sBH39Mr#19o)+=| diff --git a/djangocms_text_ckeditor/locale/it/LC_MESSAGES/django.po b/djangocms_text_ckeditor/locale/it/LC_MESSAGES/django.po index d61bf7d49..94196743a 100644 --- a/djangocms_text_ckeditor/locale/it/LC_MESSAGES/django.po +++ b/djangocms_text_ckeditor/locale/it/LC_MESSAGES/django.po @@ -2,66 +2,65 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: Italian (https://www.transifex.com/divio/teams/58664/it/)\n" +"Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: it\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "corpo" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "Testo" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "" - -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "" diff --git a/djangocms_text_ckeditor/locale/ja/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/ja/LC_MESSAGES/django.mo index 07ca424f9b7508028f8a312dec444581b1231189..22a3bf03e89a84ddecd6d15afba7c2455e3d8af6 100644 GIT binary patch delta 56 zcmbQu@`-tZiC7UM14A|g0|O5b-vhGQfb?s|iC%FNFRtS8Nz6+xO-xUE?ql0o-vBYCowO*G%+2hEGu#H4n`{g+=~~) diff --git a/djangocms_text_ckeditor/locale/ja/LC_MESSAGES/django.po b/djangocms_text_ckeditor/locale/ja/LC_MESSAGES/django.po index 59fb4cded..2c5b10dbe 100644 --- a/djangocms_text_ckeditor/locale/ja/LC_MESSAGES/django.po +++ b/djangocms_text_ckeditor/locale/ja/LC_MESSAGES/django.po @@ -2,66 +2,65 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: Japanese (https://www.transifex.com/divio/teams/58664/ja/)\n" +"Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: ja\n" "Plural-Forms: nplurals=1; plural=0;\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "本文" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "テキスト" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "" - -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "" diff --git a/djangocms_text_ckeditor/locale/lt/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/lt/LC_MESSAGES/django.mo index c44a5f7887dda8aa0035d057c96a43a40e1eb06f..de76cd16c2205f0eca56de182355cab2b4272692 100644 GIT binary patch delta 298 zcmX|+KkGqJ9EZ=ju0Pk`7-SH4F<6v^*mTQ8DWgf@rY^%THswW}NZx|MV3jxWD>EC5 zO?eLTt*7Ul&-wPLbG06!%s!PtH*!<@cbM7 yxe)ku(ijYEr`@$X-rOCloOINmT&uFNi?;exciwl0b=#Y%f1`JBe6~~zbMgZ3YazS< delta 393 zcmeyy@shLto)F7a1|Z-DVi_PV0b)TQJ_E!cAi&7Lzz3uSfiy^s0+0r&(*e@_K-v>X zvjgc!AT0o-6M-}fkS+q!@<6&ANb3RV=}_@wKw6E7f#Ece7Gq$jXZXYnv49h(OB1M2 z0!T{$X(u2JGB_H_PlobqfV3)5yah;`0qIpx@rOVfXeL+>&`2=g1d^;!Hi+Vave|$% z$TMIs038Dc96*v~;@c2`;F83=l*FPGg@ByW^vt~C$qtOu)k1Wgi&7IyGV}9vT@p)D ztrUz53@vpH40Vl66bucl42`u73=Iq>UtwG~xt}SD+b1zEy)-c$s4i#ob0#H538eN7iVXt766%(Iau-l6aYC( diff --git a/djangocms_text_ckeditor/locale/lt/LC_MESSAGES/django.po b/djangocms_text_ckeditor/locale/lt/LC_MESSAGES/django.po index 8ff35e645..18419ef03 100644 --- a/djangocms_text_ckeditor/locale/lt/LC_MESSAGES/django.po +++ b/djangocms_text_ckeditor/locale/lt/LC_MESSAGES/django.po @@ -2,67 +2,71 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2019 # Matas Dailyda , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Matas Dailyda , 2019\n" "Language-Team: Lithuanian (https://www.transifex.com/divio/teams/58664/lt/)\n" +"Language: lt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: lt\n" -"Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n" +"Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < " +"11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? " +"1 : n % 1 != 0 ? 2: 3);\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "Negalima apdoroti jūsų užklausos. Netinkama žymė." -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "Negalima apdoroti jūsų užklausos. " -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "Negalima pašalinti išsaugoto įskiepio." -#: models.py:43 +#: models.py:37 msgid "body" msgstr "turinys" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "Tekstas" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "Bendras" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "TVS įskiepiai" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "Pridėti TVS įskiepį" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "Redaguotis TVS įskiepį" -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "Standartiniai įskiepiai" +#~ msgid "Standard Plugins" +#~ msgstr "Standartiniai įskiepiai" diff --git a/djangocms_text_ckeditor/locale/nl/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/nl/LC_MESSAGES/django.mo index 1399df8cc2cd9ba1ffb4c8209b257ebbf486b3ba..6fd26d781467a9296a0ef71cd8c74cc9650c1c28 100644 GIT binary patch delta 297 zcmXxfv1-CV7{Ku_iPc!6f@l||W(|nYMTnayP6~o!7lYbR2pI}Op@TT}0S*;hU44YU zf-g{{-~$Nt4g4SK2Y-IaT`R}3f zOkfME*u^@&-PV`*MH?!y{$z8S8g12L6VXY*OoHgiT`Pi}1Vs=W1iR>V&=LwImYCvLCub#;`T^Yi z1gTym{~LyZBb>e=T?eLCujBl9GVD5?j6_#5@LQdqT8* zn^?gkEaDmZXwbt1SMdtBa5#DYj1T06ED6yU-GUHh8g6hMGhD$F{pY`CCkxweFOy%v%@^a%yt`4uKTS>CG)Xf&>GYy@e3|Vz z!?lLoPg*8zU&Qjjq^){bReDz{Evwt1R&`z5P+F<%!+FeZ-ShIXiKCv0=!-kqk9!}C OhcdOxP-&-L7t9|X-8j7f diff --git a/djangocms_text_ckeditor/locale/nl/LC_MESSAGES/django.po b/djangocms_text_ckeditor/locale/nl/LC_MESSAGES/django.po index 1079baf9a..02ad54fc0 100644 --- a/djangocms_text_ckeditor/locale/nl/LC_MESSAGES/django.po +++ b/djangocms_text_ckeditor/locale/nl/LC_MESSAGES/django.po @@ -2,67 +2,69 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2019 # Heimen Stoffels , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Heimen Stoffels , 2019\n" "Language-Team: Dutch (https://www.transifex.com/divio/teams/58664/nl/)\n" +"Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: nl\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "Kan verzoek niet verwerken; ongeldige toegangssleutel." -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "Kan verzoek niet verwerken." -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "Kan geen opgeslagen plug-ins verwijderen." -#: models.py:43 +#: models.py:37 msgid "body" msgstr "inhoud" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "Tekst" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "Algemeen" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "CMS-plug-ins" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "CMS-plug-in toevoegen" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "CMS-plug-in bewerken" -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "Standaardplug-ins" +#~ msgid "Standard Plugins" +#~ msgstr "Standaardplug-ins" diff --git a/djangocms_text_ckeditor/locale/no/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/no/LC_MESSAGES/django.mo index ac8a1e443ddb26199cb2dc61889721ede61367b2..263ef9833f6b4b076933872b5a7e94de4f167cc7 100644 GIT binary patch delta 56 zcmbQs@`ZVViC7gQ14A|g0|P4%KLfJaf%F^3iC%FNFRteCNz6+xO-xUE?qY{fia55CowO*G%+2hEH8iZPDX10;tLn) diff --git a/djangocms_text_ckeditor/locale/no/LC_MESSAGES/django.po b/djangocms_text_ckeditor/locale/no/LC_MESSAGES/django.po index 15ff6da05..6b83bc2cd 100644 --- a/djangocms_text_ckeditor/locale/no/LC_MESSAGES/django.po +++ b/djangocms_text_ckeditor/locale/no/LC_MESSAGES/django.po @@ -2,66 +2,65 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: Norwegian (https://www.transifex.com/divio/teams/58664/no/)\n" +"Language: no\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: no\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "innhold" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "Tekst" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "" - -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "" diff --git a/djangocms_text_ckeditor/locale/pl/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/pl/LC_MESSAGES/django.mo index 562054b2b607dd9757e28cd36ea48e4ecfd34be5..20ce990f1293d8733b9b9ea7f462e5bf7b61615a 100644 GIT binary patch delta 55 zcmZ3(+RQq^M3j?>fgziLfq@l>OMz^5AYDDtGk)U56+AwPdFiEz>8Vx<1v!%|7^5dY HU_1i=Kza_> delta 94 zcmZo>UBf!TMAV3hfgziLfq@l>=K;EUFV|I#FEVXJYAQ>l2j`NBLhQA tT?0d1BNGKf11m#gZ39CCgNaL5PmX1b;_*q$OD|1K2P!MbnY@khECA!Y7`*@h diff --git a/djangocms_text_ckeditor/locale/pl/LC_MESSAGES/django.po b/djangocms_text_ckeditor/locale/pl/LC_MESSAGES/django.po index 4a5369942..bcb08541a 100644 --- a/djangocms_text_ckeditor/locale/pl/LC_MESSAGES/django.po +++ b/djangocms_text_ckeditor/locale/pl/LC_MESSAGES/django.po @@ -2,66 +2,67 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: Polish (https://www.transifex.com/divio/teams/58664/pl/)\n" +"Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: pl\n" -"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n" +"%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n" +"%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "treść" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "Tekst" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "" - -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "" diff --git a/djangocms_text_ckeditor/locale/pt/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/pt/LC_MESSAGES/django.mo index b5405ce1b1285856b08e127d3d731f9e56cd80a9..4a809042430be6543371f99dc7acaa4192bd5869 100644 GIT binary patch delta 56 zcmbQk@|k&piC8rw14A|g0|P4%KL@fw^jpS>UU3sIuHo@X%u6p#Oi#5^C@7g+!x%mJ H38Mu7ilYz+ delta 94 zcmey&Jcnh1iP#cG28L_~1_o9j7GQ$VVoVdg;?zQPor_WvOEUBGbX^ilQmqt>3=A!G r4GeXSOcV?atPG8{4GawoCN5n+Igv4n+b1zEy)-c$sH|Y}PDU#L$*dQ9 diff --git a/djangocms_text_ckeditor/locale/pt/LC_MESSAGES/django.po b/djangocms_text_ckeditor/locale/pt/LC_MESSAGES/django.po index 0f645a251..98bd1e31f 100644 --- a/djangocms_text_ckeditor/locale/pt/LC_MESSAGES/django.po +++ b/djangocms_text_ckeditor/locale/pt/LC_MESSAGES/django.po @@ -2,66 +2,65 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: Portuguese (https://www.transifex.com/divio/teams/58664/pt/)\n" +"Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: pt\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "corpo" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "Texto" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "" - -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "" diff --git a/djangocms_text_ckeditor/locale/ro/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/ro/LC_MESSAGES/django.mo index be5897407bdf469e66132121c6cb9388093b8747..0af1cdae17194cff5dee5ba4d5d15c2a93b6c67f 100644 GIT binary patch delta 55 zcmX@eGJ|D;iRdCm28L_~1_l-&=3|1;!V^8?Cth5|uAdh#R2 FcmPWa4q^ZR delta 94 zcmbQia*$<$iRfuY28L_~1_l-&HfMs+HWNML)k1Wgi&7IyGV}9vT@p)DtrUz53@vpH r40Vl66bucl42`u73=Iq>E?ql0o-vBYCowO*G%+2htSEo-4#ork>uwlG diff --git a/djangocms_text_ckeditor/locale/ro/LC_MESSAGES/django.po b/djangocms_text_ckeditor/locale/ro/LC_MESSAGES/django.po index 0bbe3590a..0e8f25a57 100644 --- a/djangocms_text_ckeditor/locale/ro/LC_MESSAGES/django.po +++ b/djangocms_text_ckeditor/locale/ro/LC_MESSAGES/django.po @@ -2,66 +2,66 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: Romanian (https://www.transifex.com/divio/teams/58664/ro/)\n" +"Language: ro\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: ro\n" -"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?" +"2:1));\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "corp" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "Text" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "" - -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "" diff --git a/djangocms_text_ckeditor/locale/ru/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/ru/LC_MESSAGES/django.mo index a491b37f76b66b8532bbe7fe59244fec896a3bec..c17f83d1be49d27a49950a1ca8e5de9835ae5f3d 100644 GIT binary patch delta 55 zcmZ3@+Qd4+M3jk%fgziLfq@H%^MGs)AYD1pGk)U5l{`L)dFiEz>8VxKzh+c&v>;EUFV|I#FEVXJYAQ>l2j`NBLhQA tT?0d1BNGKf11m#gZ39CCgNaMmOparW;_*q$OD|1K2P!KnoxGj#Gyvd47`*@h diff --git a/djangocms_text_ckeditor/locale/ru/LC_MESSAGES/django.po b/djangocms_text_ckeditor/locale/ru/LC_MESSAGES/django.po index 7937e57c5..474baeb79 100644 --- a/djangocms_text_ckeditor/locale/ru/LC_MESSAGES/django.po +++ b/djangocms_text_ckeditor/locale/ru/LC_MESSAGES/django.po @@ -2,66 +2,67 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: Russian (https://www.transifex.com/divio/teams/58664/ru/)\n" +"Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: ru\n" -"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n" +"%100>=11 && n%100<=14)? 2 : 3);\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "тело" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "Текст" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "" - -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "" diff --git a/djangocms_text_ckeditor/locale/sv/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/sv/LC_MESSAGES/django.mo index 3e0b0373d8d33a562410ab0819e172bfd587891a..289bf88285480c88829216f02c932fa4d899fa8b 100644 GIT binary patch delta 56 zcmbQk@|k&piC6_A14A|g0|N^XKLN5if%HqpiC%FNFRtYANz6+xO-xUE?qM@jxmbICowO*G%+2hthj9Qc19Zj-(wf( diff --git a/djangocms_text_ckeditor/locale/sv/LC_MESSAGES/django.po b/djangocms_text_ckeditor/locale/sv/LC_MESSAGES/django.po index 1d224fc58..88fedc2c0 100644 --- a/djangocms_text_ckeditor/locale/sv/LC_MESSAGES/django.po +++ b/djangocms_text_ckeditor/locale/sv/LC_MESSAGES/django.po @@ -2,66 +2,65 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: Swedish (https://www.transifex.com/divio/teams/58664/sv/)\n" +"Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: sv\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "innehåll" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "Text" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "" - -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "" diff --git a/djangocms_text_ckeditor/locale/tr/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/tr/LC_MESSAGES/django.mo index 2d1dcbdcd962fe4e42b96e506407c2e74f54fc47..226221c12bc82279fbfbf0595ab43230187d6dc8 100644 GIT binary patch delta 56 zcmbQq@_~7RiC8%!14A|g0|P4%KL)bdfb>hoiC%FNFRtYANz6+xO-xU028L_~1_o9j=3!!BU<1-ZOcTB0)IxNfi&7IyGV}9vT@p)DtrUz5 v3@vpH40Vl66bucl42`u73=Iq>E?qM@jxmbICowO*G%+2htfXl2c1BA8+wvFK diff --git a/djangocms_text_ckeditor/locale/tr/LC_MESSAGES/django.po b/djangocms_text_ckeditor/locale/tr/LC_MESSAGES/django.po index 260a36c3a..2be10410d 100644 --- a/djangocms_text_ckeditor/locale/tr/LC_MESSAGES/django.po +++ b/djangocms_text_ckeditor/locale/tr/LC_MESSAGES/django.po @@ -2,66 +2,65 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: Turkish (https://www.transifex.com/divio/teams/58664/tr/)\n" +"Language: tr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: tr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "gövde" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "Metin" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "" - -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "" diff --git a/djangocms_text_ckeditor/locale/uk/LC_MESSAGES/django.mo b/djangocms_text_ckeditor/locale/uk/LC_MESSAGES/django.mo index 4f53cbb11b6dd48923132b1f4556dbb18dd6a4fb..0d227b9852338518cb519a405b3f1359f6ace231 100644 GIT binary patch delta 56 zcmZoGYd&-jTKSM&HJ=B1Y=rl(pdlx9z^W{lqa Im{E=q0DR>SdH?_b delta 95 zcmcb?+Q>G+M6{8KfgziLfq@H%-vZejK>Ei-&v>;EUFV|I#FEVXJYAQ>l2j`NBLhQA uT?0d1BNGKf11m#gZ39CCgNaMmO-^8p;_*q$OD|1K2P!Mg-n^4ho)G|7h8bW0 diff --git a/djangocms_text_ckeditor/locale/uk/LC_MESSAGES/django.po b/djangocms_text_ckeditor/locale/uk/LC_MESSAGES/django.po index 316a56a8d..58b8ecd89 100644 --- a/djangocms_text_ckeditor/locale/uk/LC_MESSAGES/django.po +++ b/djangocms_text_ckeditor/locale/uk/LC_MESSAGES/django.po @@ -2,66 +2,68 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# # Translators: # Angelo Dini , 2019 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-24 10:13+0100\n" +"POT-Creation-Date: 2022-05-14 17:00+0200\n" "PO-Revision-Date: 2019-01-23 16:28+0000\n" "Last-Translator: Angelo Dini , 2019\n" "Language-Team: Ukrainian (https://www.transifex.com/divio/teams/58664/uk/)\n" +"Language: uk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: uk\n" -"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != " +"11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % " +"100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || " +"(n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n" -#: cms_plugins.py:314 cms_plugins.py:333 +#: cms_plugins.py:356 cms_plugins.py:375 msgid "You do not have permission to add a plugin." msgstr "" -#: cms_plugins.py:386 +#: cms_plugins.py:428 msgid "Unable to process your request. Invalid token." msgstr "" -#: cms_plugins.py:400 cms_plugins.py:432 +#: cms_plugins.py:442 cms_plugins.py:476 msgid "Unable to process your request." msgstr "" -#: forms.py:70 +#: cms_toolbars.py:53 +msgid "Toggle inline editing mode for text plugins" +msgstr "" + +#: forms.py:69 msgid "Can't delete a saved plugin." msgstr "" -#: models.py:43 +#: models.py:37 msgid "body" msgstr "тіло" -#: settings.py:38 +#: settings.py:36 msgid "Text" msgstr "Текст" -#: settings.py:39 +#: settings.py:37 msgid "Generic" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:25 -#: templates/cms/plugins/widgets/ckeditor.html:28 +#: widgets.py:114 widgets.py:117 msgid "CMS Plugins" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:26 +#: widgets.py:115 msgid "Add CMS Plugin" msgstr "" -#: templates/cms/plugins/widgets/ckeditor.html:27 +#: widgets.py:116 msgid "Edit CMS Plugin" msgstr "" - -#: templates/cms/plugins/widgets/ckeditor.html:33 -msgid "Standard Plugins" -msgstr "" diff --git a/djangocms_text_ckeditor/settings.py b/djangocms_text_ckeditor/settings.py index 627bf8e62..781e96a8c 100644 --- a/djangocms_text_ckeditor/settings.py +++ b/djangocms_text_ckeditor/settings.py @@ -6,12 +6,14 @@ # See http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html # for all settings -CKEDITOR_SETTINGS = getattr(settings, 'CKEDITOR_SETTINGS', { +CKEDITOR_SETTINGS = { 'language': '{{ language }}', 'toolbar': 'CMS', 'skin': 'moono-lisa', + 'baseFloatZIndex': 10000000, 'toolbarCanCollapse': False, -}) + **getattr(settings, 'CKEDITOR_SETTINGS', {}), +} INSTALLED_APPS = getattr(settings, 'INSTALLED_APPS', []) if 'cms.plugins.picture' in INSTALLED_APPS or 'djangocms_picture' in INSTALLED_APPS: @@ -37,3 +39,4 @@ ALLOW_TOKEN_PARSERS = ( 'djangocms_text_ckeditor.attribute_parsers.DataAttributeParser', ) +TEXT_INLINE_EDITING = getattr(settings, 'TEXT_INLINE_EDITING', False) diff --git a/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor/build-config.js b/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor/build-config.js index 6d562ff93..07e1d96ff 100644 --- a/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor/build-config.js +++ b/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor/build-config.js @@ -71,7 +71,7 @@ var CKBUILDER_CONFIG = { 'entities' : 1, 'filebrowser' : 1, 'find' : 1, - 'flash' : 1, +// 'flash' : 1, 'floatingspace' : 1, 'font' : 1, 'format' : 1, @@ -187,4 +187,4 @@ var CKBUILDER_CONFIG = { 'zh' : 1, 'zh-cn' : 1 } -}; \ No newline at end of file +}; diff --git a/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor/ckeditor.js b/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor/ckeditor.js index cf1ba9334..b3ec627e6 100644 --- a/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor/ckeditor.js +++ b/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor/ckeditor.js @@ -1379,4 +1379,4 @@ this.editor.widgets.destroyAll(!1,this);this._.initialSetData=!1;a=this.editor.d Q={37:1,38:1,39:1,40:1,8:1,46:1};Q[CKEDITOR.SHIFT+121]=1;var u=CKEDITOR.tools.createClass({$:function(a,b){this._.createCopyBin(a,b);this._.createListeners(b)},_:{createCopyBin:function(a){var b=a.document,c=CKEDITOR.env.edge&&16<=CKEDITOR.env.version,d=!a.blockless&&!CKEDITOR.env.ie||c?"div":"span",c=b.createElement(d),b=b.createElement(d);b.setAttributes({id:"cke_copybin","data-cke-temp":"1"});c.setStyles({position:"absolute",width:"1px",height:"1px",overflow:"hidden"});c.setStyle("ltr"==a.config.contentsLangDirection? "left":"right","-5000px");this.editor=a;this.copyBin=c;this.container=b},createListeners:function(a){a&&(a.beforeDestroy&&(this.beforeDestroy=a.beforeDestroy),a.afterDestroy&&(this.afterDestroy=a.afterDestroy))}},proto:{handle:function(a){var b=this.copyBin,c=this.editor,d=this.container,e=CKEDITOR.env.ie&&9>CKEDITOR.env.version,f=c.document.getDocumentElement().$,g=c.createRange(),h=this,k=CKEDITOR.env.mac&&CKEDITOR.env.webkit,n=k?100:0,m=window.requestAnimationFrame&&!k?requestAnimationFrame:setTimeout, p,r,q;b.setHtml('\x3cspan data-cke-copybin-start\x3d"1"\x3e​\x3c/span\x3e'+a+'\x3cspan data-cke-copybin-end\x3d"1"\x3e​\x3c/span\x3e');c.fire("lockSnapshot");d.append(b);c.editable().append(d);p=c.on("selectionChange",K,null,null,0);r=c.widgets.on("checkSelection",K,null,null,0);e&&(q=f.scrollTop);g.selectNodeContents(b);g.select();e&&(f.scrollTop=q);return new CKEDITOR.tools.promise(function(a){m(function(){h.beforeDestroy&&h.beforeDestroy();d.remove();p.removeListener();r.removeListener();c.fire("unlockSnapshot"); -h.afterDestroy&&h.afterDestroy();a()},n)})}},statics:{hasCopyBin:function(a){return!!u.getCopyBin(a)},getCopyBin:function(a){return a.document.getById("cke_copybin")}}});CKEDITOR.plugins.widget=h;h.repository=q;h.nestedEditable=t})();CKEDITOR.config.widget_keystrokeInsertLineBefore=CKEDITOR.SHIFT+CKEDITOR.ALT+13;CKEDITOR.config.widget_keystrokeInsertLineAfter=CKEDITOR.SHIFT+13;CKEDITOR.config.plugins='dialogui,dialog,about,a11yhelp,dialogadvtab,basicstyles,bidi,blockquote,notification,button,toolbar,clipboard,panelbutton,panel,floatpanel,colorbutton,colordialog,xml,ajax,templates,menu,contextmenu,copyformatting,div,resize,elementspath,enterkey,entities,popup,filetools,filebrowser,find,flash,floatingspace,listblock,richcombo,font,fakeobjects,forms,format,horizontalrule,htmlwriter,iframe,wysiwygarea,image,indent,indentblock,indentlist,smiley,justify,menubutton,language,link,list,liststyle,magicline,maximize,newpage,pagebreak,pastetext,pastetools,pastefromword,preview,print,removeformat,save,selectall,showblocks,showborders,sourcearea,specialchar,scayt,stylescombo,tab,table,tabletools,undo,wsc,lineutils,widgetselection,widget';CKEDITOR.config.skin='moono-lisa';(function() {var setIcons = function(icons, strip) {var path = CKEDITOR.getUrl( 'plugins/' + strip );icons = icons.split( ',' );for ( var i = 0; i < icons.length; i++ )CKEDITOR.skin.icons[ icons[ i ] ] = { path: path, offset: -icons[ ++i ], bgsize : icons[ ++i ] };};if (CKEDITOR.env.hidpi) setIcons('about,0,,bold,24,,italic,48,,strike,72,,subscript,96,,superscript,120,,underline,144,,bidiltr,168,,bidirtl,192,,blockquote,216,,copy-rtl,240,,copy,264,,cut-rtl,288,,cut,312,,paste-rtl,336,,paste,360,,bgcolor,384,,textcolor,408,,templates-rtl,432,,templates,456,,copyformatting,480,,creatediv,504,,find-rtl,528,,find,552,,replace,576,,button,600,,checkbox,624,,form,648,,hiddenfield,672,,imagebutton,696,,radio,720,,select-rtl,744,,select,768,,textarea-rtl,792,,textarea,816,,textfield-rtl,840,,textfield,864,,horizontalrule,888,,iframe,912,,image,936,,indent-rtl,960,,indent,984,,outdent-rtl,1008,,outdent,1032,,smiley,1056,,justifyblock,1080,,justifycenter,1104,,justifyleft,1128,,justifyright,1152,,language,1176,,anchor-rtl,1200,,anchor,1224,,link,1248,,unlink,1272,,bulletedlist-rtl,1296,,bulletedlist,1320,,numberedlist-rtl,1344,,numberedlist,1368,,maximize,1392,,newpage-rtl,1416,,newpage,1440,,pagebreak-rtl,1464,,pagebreak,1488,,pastetext-rtl,1512,,pastetext,1536,,pastefromword-rtl,1560,,pastefromword,1584,,preview-rtl,1608,,preview,1632,,print,1656,,removeformat,1680,,save,1704,,selectall,1728,,showblocks-rtl,1752,,showblocks,1776,,source-rtl,1800,,source,1824,,specialchar,1848,,scayt,1872,,table,1896,,redo-rtl,1920,,redo,1944,,undo-rtl,1968,,undo,1992,,spellchecker,2016,','icons_hidpi.png');else setIcons('about,0,auto,bold,24,auto,italic,48,auto,strike,72,auto,subscript,96,auto,superscript,120,auto,underline,144,auto,bidiltr,168,auto,bidirtl,192,auto,blockquote,216,auto,copy-rtl,240,auto,copy,264,auto,cut-rtl,288,auto,cut,312,auto,paste-rtl,336,auto,paste,360,auto,bgcolor,384,auto,textcolor,408,auto,templates-rtl,432,auto,templates,456,auto,copyformatting,480,auto,creatediv,504,auto,find-rtl,528,auto,find,552,auto,replace,576,auto,button,600,auto,checkbox,624,auto,form,648,auto,hiddenfield,672,auto,imagebutton,696,auto,radio,720,auto,select-rtl,744,auto,select,768,auto,textarea-rtl,792,auto,textarea,816,auto,textfield-rtl,840,auto,textfield,864,auto,horizontalrule,888,auto,iframe,912,auto,image,936,auto,indent-rtl,960,auto,indent,984,auto,outdent-rtl,1008,auto,outdent,1032,auto,smiley,1056,auto,justifyblock,1080,auto,justifycenter,1104,auto,justifyleft,1128,auto,justifyright,1152,auto,language,1176,auto,anchor-rtl,1200,auto,anchor,1224,auto,link,1248,auto,unlink,1272,auto,bulletedlist-rtl,1296,auto,bulletedlist,1320,auto,numberedlist-rtl,1344,auto,numberedlist,1368,auto,maximize,1392,auto,newpage-rtl,1416,auto,newpage,1440,auto,pagebreak-rtl,1464,auto,pagebreak,1488,auto,pastetext-rtl,1512,auto,pastetext,1536,auto,pastefromword-rtl,1560,auto,pastefromword,1584,auto,preview-rtl,1608,auto,preview,1632,auto,print,1656,auto,removeformat,1680,auto,save,1704,auto,selectall,1728,auto,showblocks-rtl,1752,auto,showblocks,1776,auto,source-rtl,1800,auto,source,1824,auto,specialchar,1848,auto,scayt,1872,auto,table,1896,auto,redo-rtl,1920,auto,redo,1944,auto,undo-rtl,1968,auto,undo,1992,auto,spellchecker,2016,auto','icons.png');})();CKEDITOR.lang.languages={"af":1,"sq":1,"ar":1,"az":1,"eu":1,"bn":1,"bs":1,"bg":1,"ca":1,"zh-cn":1,"zh":1,"hr":1,"cs":1,"da":1,"nl":1,"en":1,"en-au":1,"en-ca":1,"en-gb":1,"eo":1,"et":1,"fo":1,"fi":1,"fr":1,"fr-ca":1,"gl":1,"ka":1,"de":1,"de-ch":1,"el":1,"gu":1,"he":1,"hi":1,"hu":1,"is":1,"id":1,"it":1,"ja":1,"km":1,"ko":1,"ku":1,"lv":1,"lt":1,"mk":1,"ms":1,"mn":1,"no":1,"nb":1,"oc":1,"fa":1,"pl":1,"pt-br":1,"pt":1,"ro":1,"ru":1,"sr":1,"sr-latn":1,"si":1,"sk":1,"sl":1,"es":1,"sv":1,"tt":1,"th":1,"tr":1,"ug":1,"uk":1,"vi":1,"cy":1};}()); \ No newline at end of file +h.afterDestroy&&h.afterDestroy();a()},n)})}},statics:{hasCopyBin:function(a){return!!u.getCopyBin(a)},getCopyBin:function(a){return a.document.getById("cke_copybin")}}});CKEDITOR.plugins.widget=h;h.repository=q;h.nestedEditable=t})();CKEDITOR.config.widget_keystrokeInsertLineBefore=CKEDITOR.SHIFT+CKEDITOR.ALT+13;CKEDITOR.config.widget_keystrokeInsertLineAfter=CKEDITOR.SHIFT+13;CKEDITOR.config.plugins='dialogui,dialog,about,a11yhelp,dialogadvtab,basicstyles,bidi,blockquote,notification,button,toolbar,clipboard,panelbutton,panel,floatpanel,colorbutton,colordialog,xml,ajax,templates,menu,contextmenu,copyformatting,div,resize,elementspath,enterkey,entities,popup,filetools,filebrowser,find,floatingspace,listblock,richcombo,font,fakeobjects,forms,format,horizontalrule,htmlwriter,iframe,wysiwygarea,image,indent,indentblock,indentlist,smiley,justify,menubutton,language,link,list,liststyle,magicline,maximize,newpage,pagebreak,pastetext,pastetools,pastefromword,preview,print,removeformat,save,selectall,showblocks,showborders,sourcearea,specialchar,scayt,stylescombo,tab,table,tabletools,undo,wsc,lineutils,widgetselection,widget';CKEDITOR.config.skin='moono-lisa';(function() {var setIcons = function(icons, strip) {var path = CKEDITOR.getUrl( 'plugins/' + strip );icons = icons.split( ',' );for ( var i = 0; i < icons.length; i++ )CKEDITOR.skin.icons[ icons[ i ] ] = { path: path, offset: -icons[ ++i ], bgsize : icons[ ++i ] };};if (CKEDITOR.env.hidpi) setIcons('about,0,,bold,24,,italic,48,,strike,72,,subscript,96,,superscript,120,,underline,144,,bidiltr,168,,bidirtl,192,,blockquote,216,,copy-rtl,240,,copy,264,,cut-rtl,288,,cut,312,,paste-rtl,336,,paste,360,,bgcolor,384,,textcolor,408,,templates-rtl,432,,templates,456,,copyformatting,480,,creatediv,504,,find-rtl,528,,find,552,,replace,576,,button,600,,checkbox,624,,form,648,,hiddenfield,672,,imagebutton,696,,radio,720,,select-rtl,744,,select,768,,textarea-rtl,792,,textarea,816,,textfield-rtl,840,,textfield,864,,horizontalrule,888,,iframe,912,,image,936,,indent-rtl,960,,indent,984,,outdent-rtl,1008,,outdent,1032,,smiley,1056,,justifyblock,1080,,justifycenter,1104,,justifyleft,1128,,justifyright,1152,,language,1176,,anchor-rtl,1200,,anchor,1224,,link,1248,,unlink,1272,,bulletedlist-rtl,1296,,bulletedlist,1320,,numberedlist-rtl,1344,,numberedlist,1368,,maximize,1392,,newpage-rtl,1416,,newpage,1440,,pagebreak-rtl,1464,,pagebreak,1488,,pastetext-rtl,1512,,pastetext,1536,,pastefromword-rtl,1560,,pastefromword,1584,,preview-rtl,1608,,preview,1632,,print,1656,,removeformat,1680,,save,1704,,selectall,1728,,showblocks-rtl,1752,,showblocks,1776,,source-rtl,1800,,source,1824,,specialchar,1848,,scayt,1872,,table,1896,,redo-rtl,1920,,redo,1944,,undo-rtl,1968,,undo,1992,,spellchecker,2016,','icons_hidpi.png');else setIcons('about,0,auto,bold,24,auto,italic,48,auto,strike,72,auto,subscript,96,auto,superscript,120,auto,underline,144,auto,bidiltr,168,auto,bidirtl,192,auto,blockquote,216,auto,copy-rtl,240,auto,copy,264,auto,cut-rtl,288,auto,cut,312,auto,paste-rtl,336,auto,paste,360,auto,bgcolor,384,auto,textcolor,408,auto,templates-rtl,432,auto,templates,456,auto,copyformatting,480,auto,creatediv,504,auto,find-rtl,528,auto,find,552,auto,replace,576,auto,button,600,auto,checkbox,624,auto,form,648,auto,hiddenfield,672,auto,imagebutton,696,auto,radio,720,auto,select-rtl,744,auto,select,768,auto,textarea-rtl,792,auto,textarea,816,auto,textfield-rtl,840,auto,textfield,864,auto,horizontalrule,888,auto,iframe,912,auto,image,936,auto,indent-rtl,960,auto,indent,984,auto,outdent-rtl,1008,auto,outdent,1032,auto,smiley,1056,auto,justifyblock,1080,auto,justifycenter,1104,auto,justifyleft,1128,auto,justifyright,1152,auto,language,1176,auto,anchor-rtl,1200,auto,anchor,1224,auto,link,1248,auto,unlink,1272,auto,bulletedlist-rtl,1296,auto,bulletedlist,1320,auto,numberedlist-rtl,1344,auto,numberedlist,1368,auto,maximize,1392,auto,newpage-rtl,1416,auto,newpage,1440,auto,pagebreak-rtl,1464,auto,pagebreak,1488,auto,pastetext-rtl,1512,auto,pastetext,1536,auto,pastefromword-rtl,1560,auto,pastefromword,1584,auto,preview-rtl,1608,auto,preview,1632,auto,print,1656,auto,removeformat,1680,auto,save,1704,auto,selectall,1728,auto,showblocks-rtl,1752,auto,showblocks,1776,auto,source-rtl,1800,auto,source,1824,auto,specialchar,1848,auto,scayt,1872,auto,table,1896,auto,redo-rtl,1920,auto,redo,1944,auto,undo-rtl,1968,auto,undo,1992,auto,spellchecker,2016,auto','icons.png');})();CKEDITOR.lang.languages={"af":1,"sq":1,"ar":1,"az":1,"eu":1,"bn":1,"bs":1,"bg":1,"ca":1,"zh-cn":1,"zh":1,"hr":1,"cs":1,"da":1,"nl":1,"en":1,"en-au":1,"en-ca":1,"en-gb":1,"eo":1,"et":1,"fo":1,"fi":1,"fr":1,"fr-ca":1,"gl":1,"ka":1,"de":1,"de-ch":1,"el":1,"gu":1,"he":1,"hi":1,"hu":1,"is":1,"id":1,"it":1,"ja":1,"km":1,"ko":1,"ku":1,"lv":1,"lt":1,"mk":1,"ms":1,"mn":1,"no":1,"nb":1,"oc":1,"fa":1,"pl":1,"pt-br":1,"pt":1,"ro":1,"ru":1,"sr":1,"sr-latn":1,"si":1,"sk":1,"sl":1,"es":1,"sv":1,"tt":1,"th":1,"tr":1,"ug":1,"uk":1,"vi":1,"cy":1};}()); diff --git a/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor/plugins/dialog/styles/dialog.css b/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor/plugins/dialog/styles/dialog.css index 9fbcaba3e..add83eb22 100644 --- a/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor/plugins/dialog/styles/dialog.css +++ b/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor/plugins/dialog/styles/dialog.css @@ -1,18 +1,18 @@ -.cke_dialog_open { - overflow: hidden; -} - -.cke_dialog_container { - position: fixed; - overflow-y: auto; - overflow-x: auto; - width: 100%; - height: 100%; - top: 0; - left: 0; - z-index: 10010; -} - -.cke_dialog_body { - position: relative; -} +.cke_dialog_open { + overflow: hidden; +} + +.cke_dialog_container { + position: fixed; + overflow-y: auto; + overflow-x: auto; + width: 100%; + height: 100%; + top: 0; + left: 0; + z-index: 10010; +} + +.cke_dialog_body { + position: relative; +} diff --git a/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor_plugins/cmsdialog/plugin.js b/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor_plugins/cmsdialog/plugin.js index d14f6c10d..9a031c677 100644 --- a/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor_plugins/cmsdialog/plugin.js +++ b/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor_plugins/cmsdialog/plugin.js @@ -876,7 +876,7 @@ CKEDITOR.DIALOG_STATE_BUSY = 2; var element = this._.element, definition = this.definition, documentBody = CKEDITOR.document.getBody(), - baseFloatZIndex = this._.editor.config.baseFloatZIndex; + baseFloatZIndex = this._.editor.config.baseFloatZIndex + 10000000; if ( !( element.getParent() && element.getParent().equals( documentBody ) ) ) { element.appendTo( documentBody ); @@ -902,7 +902,7 @@ CKEDITOR.DIALOG_STATE_BUSY = 2; if ( CKEDITOR.dialog._.currentZIndex === null ) { CKEDITOR.dialog._.currentZIndex = baseFloatZIndex; } - this._.element.getFirst().setStyle( 'z-index', CKEDITOR.dialog._.currentZIndex += 10 ); + this._.element.getFirst().setStyle( 'z-index', CKEDITOR.dialog._.currentZIndex += 10 ); // to cover CMS' structure board this.getElement().setStyle( 'z-index', CKEDITOR.dialog._.currentZIndex ); // Maintain the dialog ordering and dialog cover. @@ -2306,7 +2306,7 @@ CKEDITOR.DIALOG_STATE_BUSY = 2; skinName = ( CKEDITOR.skinName || editor.config.skin ), backgroundColorStyle = config.dialog_backgroundCoverColor || ( skinName == 'moono-lisa' ? 'black' : 'white' ), backgroundCoverOpacity = config.dialog_backgroundCoverOpacity, - baseFloatZIndex = config.baseFloatZIndex, + baseFloatZIndex = config.baseFloatZIndex + 10000000, coverKey = CKEDITOR.tools.genKey( backgroundColorStyle, backgroundCoverOpacity, baseFloatZIndex ), coverElement = covers[ coverKey ]; diff --git a/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor_plugins/cmsplugins/icons/cmsplugins.svg b/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor_plugins/cmsplugins/icons/cmsplugins.svg index 0577e7d6d..8ee30c821 100644 --- a/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor_plugins/cmsplugins/icons/cmsplugins.svg +++ b/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor_plugins/cmsplugins/icons/cmsplugins.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor_plugins/cmsplugins/plugin.js b/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor_plugins/cmsplugins/plugin.js index 2620737ef..e84d80cd4 100644 --- a/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor_plugins/cmsplugins/plugin.js +++ b/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor_plugins/cmsplugins/plugin.js @@ -63,62 +63,59 @@ init: function (editor) { var that = this; - this.options = CMS.CKEditor.options.settings; - this.editor = editor; - /** * populated with _fresh_ child plugins */ this.child_plugins = []; - this.setupCancelCleanupCallback(this.options); + var settings = CMS.CKEditor.editors[editor.id].settings; + this.setupCancelCleanupCallback(settings); // don't do anything if there are no plugins defined - if (this.options === undefined || this.options.plugins === undefined) { + if (settings === undefined || settings.plugins === undefined) { return false; } - this.setupDialog(); + this.setupDialog(editor); // add the button - this.editor.ui.add('cmsplugins', CKEDITOR.UI_PANELBUTTON, { + editor.ui.add('cmsplugins', CKEDITOR.UI_PANELBUTTON, { toolbar: 'cms,0', - label: this.options.lang.toolbar, - title: this.options.lang.toolbar, + label: settings.lang.toolbar, + title: settings.lang.toolbar, className: 'cke_panelbutton__cmsplugins', modes: { wysiwyg: 1 }, editorFocus: 0, panel: { - css: [CKEDITOR.skin.getPath('editor')].concat(that.editor.config.contentsCss), - attributes: { 'role': 'cmsplugins', 'aria-label': this.options.lang.aria } + css: [CKEDITOR.skin.getPath('editor')].concat(editor.config.contentsCss), + attributes: { 'role': 'cmsplugins', 'aria-label': settings.lang.aria } }, // this is called when creating the dropdown list onBlock: function (panel, block) { - block.element.setHtml(that.editor.plugins.cmsplugins.setupDropdown()); + block.element.setHtml(editor.plugins.cmsplugins.setupDropdown(editor)); var anchors = $(block.element.$).find('.cke_panel_listItem a'); anchors.bind('click', function (e) { e.preventDefault(); - that.addPlugin($(this), panel); + that.addPlugin($(this), panel, editor); }); } }); // handle edit event via context menu - if (this.editor.contextMenu) { - this.setupContextMenu(); + if (editor.contextMenu) { + this.setupContextMenu(editor); } - this.editor.addCommand('cmspluginsEdit', { + editor.addCommand('cmspluginsEdit', { exec: function () { - var element = that.getElementFromSelection(); + var element = that.getElementFromSelection(editor); var plugin = that.getPluginWidget(element); - if (plugin) { - that.editPlugin(plugin); + that.editPlugin(plugin, editor); } } }); @@ -127,10 +124,11 @@ // if event is a jQuery event (touchend), than we mutate // event a bit so we make the payload similar to what ckeditor.event produces var handleEdit = function (event) { - var element; + event.stop(); if (event.type === 'touchend' || event.type === 'click') { var cmsPluginNode = $(event.currentTarget).closest('cms-plugin')[0]; + var element; // pick cke_widget span // eslint-disable-next-line new-cap @@ -138,23 +136,32 @@ event.data = event.data || {}; // have to fake selection to be able to replace markup after editing - that.editor.getSelection().fake(element); + editor.getSelection().fake(element); } - that.editor.execCommand('cmspluginsEdit'); + editor.execCommand('cmspluginsEdit'); }; - this.editor.on('doubleclick', handleEdit); - this.editor.on('instanceReady', function () { + editor.on('doubleclick', handleEdit); + + editor.on('instanceReady', function () { +/* + var context = CMS.$('iframe.cke_wysiwyg_frame'); + if (context.length > 0) { + context = context.contentWindow.document.documentElement; + } else { + context = null; + } CMS.$('cms-plugin', CMS.$('iframe.cke_wysiwyg_frame')[0] .contentWindow.document.documentElement).on('click touchend', handleEdit); +*/ }); - this.setupDataProcessor(); + this.setupDataProcessor(editor); }, - getElementFromSelection: function () { - var selection = this.editor.getSelection(); + getElementFromSelection: function (editor) { + var selection = editor.getSelection(); var element = selection.getSelectedElement() || selection.getCommonAncestor().getAscendant('cms-plugin', true); @@ -168,7 +175,7 @@ return element.getAscendant('cms-plugin', true) || element.findOne('cms-plugin'); }, - setupDialog: function () { + setupDialog: function (editor) { var that = this; var definition = function () { return { @@ -183,7 +190,7 @@ } ] }], - onOk: function () { + onOk: function (dialog) { var iframe = $(CKEDITOR.dialog.getCurrent().parts.contents.$).find('iframe').contents(); var iframeUrl = iframe[0].URL; @@ -202,11 +209,10 @@ } // in case it's a fresh text plugin children don't have to be // deleted separately - if (!that.options.delete_on_cancel && addedChildPlugin) { + if (!editor.config.settings.delete_on_cancel && addedChildPlugin) { that.child_plugins.push(data.plugin_id); } - - that.insertPlugin(data); + that.insertPlugin(data, dialog.sender._.editor); CMS.API.Helpers.onPluginSave = onSave; return false; @@ -220,11 +226,11 @@ CKEDITOR.dialog.add('cmspluginsDialog', definition); }, - setupDropdown: function () { + setupDropdown: function (editor) { var tpl = '
'; // loop through the groups - $.each(this.options.plugins, function (i, group) { + $.each(editor.config.settings.plugins, function (i, group) { // add template tpl += '

' + group.group + '

'; tpl += '