NOW MANAGED ON CODEBERG
Lexical: Ran a deeper check on translation use
Dan Brown7e03a973d889
diff --git a/lang/en/editor.php b/lang/en/editor.phpindex a61b46042..752c6f3f7 100644--- a/lang/en/editor.php+++ b/lang/en/editor.php@@ -13,6 +13,7 @@ return ['cancel' => 'Cancel','save' => 'Save','close' => 'Close',+ 'apply' => 'Apply','undo' => 'Undo','redo' => 'Redo','left' => 'Left',@@ -147,6 +148,7 @@ return ['url' => 'URL','text_to_display' => 'Text to display','title' => 'Title',+ 'browse_links' => 'Browse links','open_link' => 'Open link','open_link_in' => 'Open link in...','open_link_current' => 'Current window',diff --git a/resources/js/wysiwyg/todo.md b/resources/js/wysiwyg/todo.mddeleted file mode 100644index 94ae0e144..000000000--- a/resources/js/wysiwyg/todo.md+++ /dev/null@@ -1,17 +0,0 @@-# Lexical based editor todo--## In progress--//--## Main Todo--//--## Secondary Todo--- Deep check of translation coverage--## Bugs--//\ No newline at end of filediff --git a/resources/js/wysiwyg/ui/defaults/buttons/controls.ts b/resources/js/wysiwyg/ui/defaults/buttons/controls.tsindex 5e3200539..6c22d3faa 100644--- a/resources/js/wysiwyg/ui/defaults/buttons/controls.ts+++ b/resources/js/wysiwyg/ui/defaults/buttons/controls.ts@@ -57,7 +57,7 @@ export const redo: EditorButtonDefinition = {export const source: EditorButtonDefinition = {- label: 'Source',+ label: 'Source code',icon: sourceIcon,async action(context: EditorUiContext) {const modal = context.manager.createModal('source');diff --git a/resources/js/wysiwyg/ui/defaults/buttons/objects.ts b/resources/js/wysiwyg/ui/defaults/buttons/objects.tsindex 63df4fea8..4eb4c5a4e 100644--- a/resources/js/wysiwyg/ui/defaults/buttons/objects.ts+++ b/resources/js/wysiwyg/ui/defaults/buttons/objects.ts@@ -165,7 +165,7 @@ export const diagramManager: EditorButtonDefinition = {};export const media: EditorButtonDefinition = {- label: 'Insert/edit Media',+ label: 'Insert/edit media',icon: mediaIcon,action(context: EditorUiContext) {context.editor.getEditorState().read(() => {diff --git a/resources/js/wysiwyg/ui/framework/blocks/color-picker.ts b/resources/js/wysiwyg/ui/framework/blocks/color-picker.tsindex c742ddc77..8e62a0e5e 100644--- a/resources/js/wysiwyg/ui/framework/blocks/color-picker.ts+++ b/resources/js/wysiwyg/ui/framework/blocks/color-picker.ts@@ -63,7 +63,7 @@ export class EditorColorPicker extends EditorUiElement {const removeButton = el('div', {class: 'editor-color-select-option','data-color': '',- title: 'Clear color',+ title: this.getContext().translate('Remove color'),}, []);removeButton.innerHTML = removeIcon;colorOptions.push(removeButton);@@ -72,7 +72,7 @@ export class EditorColorPicker extends EditorUiElement {class: 'editor-color-select-option',for: `color-select-${id}`,'data-color': '',- title: 'Custom color',+ title: this.getContext().translate('Custom color'),}, []);selectButton.innerHTML = selectIcon;colorOptions.push(selectButton);