Explorar o código

Added contexts.json file.

Aleksander Nowodzinski %!s(int64=6) %!d(string=hai) anos
pai
achega
e09e680e74

+ 7 - 0
packages/ckeditor5-restricted-editing/lang/contexts.json

@@ -0,0 +1,7 @@
+{
+	"Disable editing": "A label of the button indicating that using this button will make a selected text non–editable.",
+	"Enable editing": "A label of the button indicating that using this button will make a selected text editable.",
+	"Previous editable region": "A label of the button that moves selection to the previous editable region in the content.",
+	"Next editable region": "A label of the button that moves selection to the next editable region in the content.",
+	"Navigate editable regions": "A label of the dropdown that provides controls to navigate editable regions in the content."
+}

+ 1 - 1
packages/ckeditor5-restricted-editing/src/restrictededitingui.js

@@ -41,7 +41,7 @@ export default class RestrictedEditingUI extends Plugin {
 			addListToDropdown( dropdownView, listItems );
 
 			dropdownView.buttonView.set( {
-				label: t( 'Browse editable regions' ),
+				label: t( 'Navigate editable regions' ),
 				icon: lockIcon,
 				tooltip: true,
 				isEnabled: true,

+ 1 - 1
packages/ckeditor5-restricted-editing/tests/restrictededitingui.js

@@ -59,7 +59,7 @@ describe( 'RestrictedEditingUI', () => {
 		it( 'the button should have basic properties', () => {
 			const button = dropdown.buttonView;
 
-			expect( button ).to.have.property( 'label', 'Browse editable regions' );
+			expect( button ).to.have.property( 'label', 'Navigate editable regions' );
 			expect( button ).to.have.property( 'tooltip', true );
 			expect( button ).to.have.property( 'icon', lockIcon );
 			expect( button ).to.have.property( 'isEnabled', true );