mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-03-13 22:11:24 +08:00
Lexical: Ran a deeper check on translation use
Some checks failed
analyse-php / build (push) Has been cancelled
lint-php / build (push) Has been cancelled
test-js / build (push) Has been cancelled
test-migrations / build (8.2) (push) Has been cancelled
test-migrations / build (8.3) (push) Has been cancelled
test-migrations / build (8.4) (push) Has been cancelled
test-php / build (8.2) (push) Has been cancelled
test-php / build (8.3) (push) Has been cancelled
test-php / build (8.4) (push) Has been cancelled
Some checks failed
analyse-php / build (push) Has been cancelled
lint-php / build (push) Has been cancelled
test-js / build (push) Has been cancelled
test-migrations / build (8.2) (push) Has been cancelled
test-migrations / build (8.3) (push) Has been cancelled
test-migrations / build (8.4) (push) Has been cancelled
test-php / build (8.2) (push) Has been cancelled
test-php / build (8.3) (push) Has been cancelled
test-php / build (8.4) (push) Has been cancelled
This commit is contained in:
parent
d89a2fdb15
commit
7e03a973d8
@ -13,6 +13,7 @@ return [
|
|||||||
'cancel' => 'Cancel',
|
'cancel' => 'Cancel',
|
||||||
'save' => 'Save',
|
'save' => 'Save',
|
||||||
'close' => 'Close',
|
'close' => 'Close',
|
||||||
|
'apply' => 'Apply',
|
||||||
'undo' => 'Undo',
|
'undo' => 'Undo',
|
||||||
'redo' => 'Redo',
|
'redo' => 'Redo',
|
||||||
'left' => 'Left',
|
'left' => 'Left',
|
||||||
@ -147,6 +148,7 @@ return [
|
|||||||
'url' => 'URL',
|
'url' => 'URL',
|
||||||
'text_to_display' => 'Text to display',
|
'text_to_display' => 'Text to display',
|
||||||
'title' => 'Title',
|
'title' => 'Title',
|
||||||
|
'browse_links' => 'Browse links',
|
||||||
'open_link' => 'Open link',
|
'open_link' => 'Open link',
|
||||||
'open_link_in' => 'Open link in...',
|
'open_link_in' => 'Open link in...',
|
||||||
'open_link_current' => 'Current window',
|
'open_link_current' => 'Current window',
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
# Lexical based editor todo
|
|
||||||
|
|
||||||
## In progress
|
|
||||||
|
|
||||||
//
|
|
||||||
|
|
||||||
## Main Todo
|
|
||||||
|
|
||||||
//
|
|
||||||
|
|
||||||
## Secondary Todo
|
|
||||||
|
|
||||||
- Deep check of translation coverage
|
|
||||||
|
|
||||||
## Bugs
|
|
||||||
|
|
||||||
//
|
|
@ -57,7 +57,7 @@ export const redo: EditorButtonDefinition = {
|
|||||||
|
|
||||||
|
|
||||||
export const source: EditorButtonDefinition = {
|
export const source: EditorButtonDefinition = {
|
||||||
label: 'Source',
|
label: 'Source code',
|
||||||
icon: sourceIcon,
|
icon: sourceIcon,
|
||||||
async action(context: EditorUiContext) {
|
async action(context: EditorUiContext) {
|
||||||
const modal = context.manager.createModal('source');
|
const modal = context.manager.createModal('source');
|
||||||
|
@ -165,7 +165,7 @@ export const diagramManager: EditorButtonDefinition = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const media: EditorButtonDefinition = {
|
export const media: EditorButtonDefinition = {
|
||||||
label: 'Insert/edit Media',
|
label: 'Insert/edit media',
|
||||||
icon: mediaIcon,
|
icon: mediaIcon,
|
||||||
action(context: EditorUiContext) {
|
action(context: EditorUiContext) {
|
||||||
context.editor.getEditorState().read(() => {
|
context.editor.getEditorState().read(() => {
|
||||||
|
@ -63,7 +63,7 @@ export class EditorColorPicker extends EditorUiElement {
|
|||||||
const removeButton = el('div', {
|
const removeButton = el('div', {
|
||||||
class: 'editor-color-select-option',
|
class: 'editor-color-select-option',
|
||||||
'data-color': '',
|
'data-color': '',
|
||||||
title: 'Clear color',
|
title: this.getContext().translate('Remove color'),
|
||||||
}, []);
|
}, []);
|
||||||
removeButton.innerHTML = removeIcon;
|
removeButton.innerHTML = removeIcon;
|
||||||
colorOptions.push(removeButton);
|
colorOptions.push(removeButton);
|
||||||
@ -72,7 +72,7 @@ export class EditorColorPicker extends EditorUiElement {
|
|||||||
class: 'editor-color-select-option',
|
class: 'editor-color-select-option',
|
||||||
for: `color-select-${id}`,
|
for: `color-select-${id}`,
|
||||||
'data-color': '',
|
'data-color': '',
|
||||||
title: 'Custom color',
|
title: this.getContext().translate('Custom color'),
|
||||||
}, []);
|
}, []);
|
||||||
selectButton.innerHTML = selectIcon;
|
selectButton.innerHTML = selectIcon;
|
||||||
colorOptions.push(selectButton);
|
colorOptions.push(selectButton);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user