From d23b24b8db2e4268dd5e32b9cfda1dd6a5a3caf3 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Wed, 23 Mar 2022 14:41:54 +0000 Subject: [PATCH] Added additional missing editor translations - Also merged StyleCI fixes As per #3342 --- resources/lang/en/editor.php | 15 +++++++++++++++ tests/Entity/ExportTest.php | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/resources/lang/en/editor.php b/resources/lang/en/editor.php index 7160af22d..827120292 100644 --- a/resources/lang/en/editor.php +++ b/resources/lang/en/editor.php @@ -24,6 +24,7 @@ return [ 'width' => 'Width', 'height' => 'Height', 'More' => 'More', + 'select' => 'Select...', // Toolbar 'formats' => 'Formats', @@ -92,7 +93,10 @@ return [ 'cell_properties_title' => 'Cell Properties', 'cell_type' => 'Cell type', 'cell_type_cell' => 'Cell', + 'cell_scope' => 'Scope', 'cell_type_header' => 'Header cell', + 'merge_cells' => 'Merge cells', + 'split_cell' => 'Split cell', 'table_row_group' => 'Row Group', 'table_column_group' => 'Column Group', 'horizontal_align' => 'Horizontal align', @@ -120,6 +124,16 @@ return [ 'caption' => 'Caption', 'show_caption' => 'Show caption', 'constrain' => 'Constrain proportions', + 'cell_border_solid' => 'Solid', + 'cell_border_dotted' => 'Dotted', + 'cell_border_dashed' => 'Dashed', + 'cell_border_double' => 'Double', + 'cell_border_groove' => 'Groove', + 'cell_border_ridge' => 'Ridge', + 'cell_border_inset' => 'Inset', + 'cell_border_outset' => 'Outset', + 'cell_border_none' => 'None', + 'cell_border_hidden' => 'Hidden', // Images, links, details/summary & embed 'source' => 'Source', @@ -140,6 +154,7 @@ return [ 'toggle_label' => 'Toggle label', // About view + 'about' => 'About the editor', 'about_title' => 'About the WYSIWYG Editor', 'editor_license' => 'Editor License & Copyright', 'editor_tiny_license' => 'This editor is built using :tinyLink which is provided under an LGPL v2.1 license.', diff --git a/tests/Entity/ExportTest.php b/tests/Entity/ExportTest.php index f96ff97fa..141f072f8 100644 --- a/tests/Entity/ExportTest.php +++ b/tests/Entity/ExportTest.php @@ -435,7 +435,7 @@ class ExportTest extends TestCase $pageB->save(); $resp = $this->get($book->getUrl('/export/markdown')); - $resp->assertDontSee("hello tester# The second page in this test"); + $resp->assertDontSee('hello tester# The second page in this test'); $resp->assertSee("hello tester\n\n# The second page in this test"); }