Oliverb has uploaded a new change for review.
https://gerrit.wikimedia.org/r/159314
Change subject: I18n for table tools.
......................................................................
I18n for table tools.
Change-Id: Ie4557f1a8bffd976a456d88d8c1433b0c4dec546
---
M i18n/de.json
M i18n/en.json
M src/ui/tools/ve.ui.TableTool.js
3 files changed, 138 insertions(+), 112 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/VisualEditor/VisualEditor
refs/changes/14/159314/1
diff --git a/i18n/de.json b/i18n/de.json
index e96be6d..6cc08c4 100644
--- a/i18n/de.json
+++ b/i18n/de.json
@@ -91,5 +91,15 @@
"visualeditor-toolbar-structure": "Struktur",
"visualeditor-toolbar-style-tooltip": "Text gestalten",
"visualeditor-toolbar-text-style": "Gestaltung",
+ "visualeditor-toolbar-table": "Tabelle",
+ "visualeditor-toolbar-table-delete": "Entfernen",
+ "visualeditor-toolbar-table-deletetable": "Tabelle",
+ "visualeditor-toolbar-table-deleterow": "Zeile",
+ "visualeditor-toolbar-table-deletecol": "Spalte",
+ "visualeditor-toolbar-table-insert": "Einfügen",
+ "visualeditor-toolbar-table-insertcolbefore": "Links",
+ "visualeditor-toolbar-table-insertcolafter": "Rechts",
+ "visualeditor-toolbar-table-insertrowbefore": "Oben",
+ "visualeditor-toolbar-table-insertrowafter": "Unten",
"visualeditor-version-label": "Version"
}
diff --git a/i18n/en.json b/i18n/en.json
index 5c14822..a602e2b 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -1,105 +1,115 @@
{
- "@metadata": {
- "authors": [
- "Trevor Parscal",
- "Ed Sanders",
- "James D. Forrester",
- "Raimond Spekking",
- "Erik Moeller",
- "Moriel Schottlender",
- "Yuki Shira",
- "Siebrand Mazeland",
- "Rob Moen",
- "Timo Tijhof",
- "Roan Kattouw",
- "Christian Williams",
- "Amir E. Aharoni"
- ]
- },
- "visualeditor": "VisualEditor",
- "visualeditor-aliennode-tooltip": "Sorry, this element can only be edited
in source mode for now.",
- "visualeditor-annotationbutton-bold-tooltip": "Bold",
- "visualeditor-annotationbutton-code-tooltip": "Computer code",
- "visualeditor-annotationbutton-italic-tooltip": "Italic",
- "visualeditor-annotationbutton-language-tooltip": "Language",
- "visualeditor-annotationbutton-link-tooltip": "Link",
- "visualeditor-annotationbutton-strikethrough-tooltip": "Strikethrough",
- "visualeditor-annotationbutton-subscript-tooltip": "Subscript",
- "visualeditor-annotationbutton-superscript-tooltip": "Superscript",
- "visualeditor-annotationbutton-underline-tooltip": "Underline",
- "visualeditor-clearbutton-tooltip": "Clear styling",
- "visualeditor-clipboard-copy": "Copy",
- "visualeditor-clipboard-cut": "Cut",
- "visualeditor-clipboard-paste": "Paste",
- "visualeditor-clipboard-paste-special": "Paste as plain text",
- "visualeditor-commentinspector-edit": "Edit comment",
- "visualeditor-commentinspector-title": "Comment",
- "visualeditor-commentinspector-tooltip": "Comment",
- "visualeditor-contextitemwidget-label-secondary": "Edit",
- "visualeditor-dialog-action-apply": "Apply changes",
- "visualeditor-dialog-action-cancel": "Cancel",
- "visualeditor-dialog-action-done": "Done",
- "visualeditor-dialog-action-goback": "Go back",
- "visualeditor-dialog-action-insert": "Insert",
- "visualeditor-dialog-command-help-title": "Keyboard shortcuts",
- "visualeditor-dialog-error": "Something went wrong…",
- "visualeditor-dialog-error-dismiss": "Go back",
- "visualeditor-dialog-language-auto-direction": "Auto",
- "visualeditor-dialog-language-search-title": "Select language",
- "visualeditor-dimensionswidget-px": "px",
- "visualeditor-dimensionswidget-times": "×",
- "visualeditor-formatdropdown-format-heading-label": "Heading (1-6)",
- "visualeditor-formatdropdown-format-heading1": "Heading 1",
- "visualeditor-formatdropdown-format-heading2": "Heading 2",
- "visualeditor-formatdropdown-format-heading3": "Heading 3",
- "visualeditor-formatdropdown-format-heading4": "Heading 4",
- "visualeditor-formatdropdown-format-heading5": "Heading 5",
- "visualeditor-formatdropdown-format-heading6": "Heading 6",
- "visualeditor-formatdropdown-format-paragraph": "Paragraph",
- "visualeditor-formatdropdown-format-preformatted": "Preformatted",
- "visualeditor-formatdropdown-title": "Change format",
- "visualeditor-help-tool": "Help",
- "visualeditor-historybutton-redo-tooltip": "Redo",
- "visualeditor-historybutton-undo-tooltip": "Undo",
- "visualeditor-indentationbutton-indent-tooltip": "Increase indentation",
- "visualeditor-indentationbutton-outdent-tooltip": "Decrease indentation",
- "visualeditor-inspector-close-tooltip": "Close",
- "visualeditor-inspector-remove-tooltip": "Remove",
- "visualeditor-language-search-input-placeholder": "Search by language name
or code",
- "visualeditor-languageannotation-description": "$1",
- "visualeditor-languageannotation-description-with-dir": "$1 ($2)",
- "visualeditor-languageinspector-title": "Language",
- "visualeditor-languageinspector-widget-changelang": "Find language",
- "visualeditor-languageinspector-widget-label-direction": "Direction",
- "visualeditor-languageinspector-widget-label-langcode": "Language code",
- "visualeditor-languageinspector-widget-label-language": "Language",
- "visualeditor-language-search-input-placeholder": "Search by language name
or code",
- "visualeditor-linkinspector-open": "Open",
- "visualeditor-linkinspector-title": "Link",
- "visualeditor-listbutton-bullet-tooltip": "Bullet list",
- "visualeditor-listbutton-number-tooltip": "Numbered list",
- "visualeditor-mediasizewidget-button-originaldimensions": "Make full size",
- "visualeditor-mediasizewidget-label-custom": "Custom",
- "visualeditor-mediasizewidget-label-defaulterror": "Size values are
invalid.",
- "visualeditor-mediasizewidget-label-scale": "Scale",
- "visualeditor-mediasizewidget-label-scale-percent": "% of thumbnail size",
- "visualeditor-mediasizewidget-sizeoptions-custom": "Custom",
- "visualeditor-mediasizewidget-sizeoptions-default": "Default",
- "visualeditor-mediasizewidget-sizeoptions-scale": "Scale",
- "visualeditor-shortcuts-clipboard": "Clipboard",
- "visualeditor-shortcuts-formatting": "Paragraph formatting",
- "visualeditor-shortcuts-history": "History",
- "visualeditor-shortcuts-other": "Other",
- "visualeditor-shortcuts-text-style": "Text styling",
- "visualeditor-specialcharacter-button-tooltip": "Special character",
- "visualeditor-specialcharacterinspector-title": "Special character",
- "visualeditor-specialcharinspector-characterlist-insert":
"{\n\t\"Symbols\": {\n\t\t\"−\": \"−\",\n\t\t\"—\": \"—\",\n\t\t\"°\":
\"°\",\n\t\t\"′\": \"′\",\n\t\t\"″\": \"″\",\n\t\t\"←\": \"←\",\n\t\t\"→\":
\"→\",\n\t\t\"« »\" : \"« »\",\n\t\t\"“”\" : \"“”\",\n\t\t\"#\" :
\"#\",\n\t\t\"@\" : \"@\",\n\t\t\"|\" : \"|\",\n\t\t\"~\" : \"~\",\n\t\t\"§\":
\"§\",\n\t\t\"•\" : \"•\",\n\t\t\"·\": \"·\",\n\t\t\"…\" : \"…\",\n\t\t\"€\" :
\"€\"\n\t},\n\t\"Accents\": {\n\t\t\"Æ\" : \"Æ\",\n\t\t\"æ\" :
\"æ\",\n\t\t\"À\" : \"À\",\n\t\t\"à\" : \"à\",\n\t\t\"Â\" : \"Â\",\n\t\t\"â\" :
\"â\",\n\t\t\"Ä\" : \"Ä\",\n\t\t\"ä\" : \"ä\",\n\t\t\"Å\" : \"Å\",\n\t\t\"å\" :
\"å\",\n\t\t\"Ç\" : \"Ç\",\n\t\t\"ç\" : \"ç\",\n\t\t\"È\" : \"È\",\n\t\t\"è\" :
\"è\",\n\t\t\"É\" : \"É\",\n\t\t\"é\" : \"é\",\n\t\t\"Ê\" : \"Ê\",\n\t\t\"ê\" :
\"ê\",\n\t\t\"Ë\" : \"Ë\",\n\t\t\"ë\" : \"ë\",\n\t\t\"Î\" : \"Î\",\n\t\t\"î\" :
\"î\",\n\t\t\"Ï\" : \"Ï\",\n\t\t\"ï\" : \"ï\",\n\t\t\"Ô\" : \"Ô\",\n\t\t\"ô\" :
\"ô\",\n\t\t\"Ö\" : \"Ö\",\n\t\t\"ö\" : \"ö\",\n\t\t\"Ø\" : \"Ø\",\n\t\t\"ø\" :
\"ø\",\n\t\t\"Ù\" : \"Ù\",\n\t\t\"ù\" : \"ù\",\n\t\t\"Û\" : \"Û\",\n\t\t\"û\" :
\"û\",\n\t\t\"Ü\" : \"Ü\",\n\t\t\"ü\" : \"ü\",\n\t\t\"Ÿ\" : \"Ÿ\",\n\t\t\"ÿ\" :
\"ÿ\",\n\t\t\"Œ\" : \"Œ\",\n\t\t\"œ\" : \"œ\"\n\t},\n\t\"Mathematical\":
{\n\t\t\"−\": \"−\",\n\t\t\"×\": \"×\",\n\t\t\"÷\": \"÷\",\n\t\t\"≈\":
\"≈\",\n\t\t\"≠\": \"≠\",\n\t\t\"≤\": \"≤\",\n\t\t\"≥\": \"≥\",\n\t\t\"±\":
\"±\",\n\t\t\"¹\" : \"¹\",\n\t\t\"²\" : \"²\",\n\t\t\"³\" : \"³\",\n\t\t\"⁴\" :
\"⁴\",\n\t\t\"⁵\" : \"⁵\",\n\t\t\"⁶\" : \"⁶\",\n\t\t\"⁷\" : \"⁷\",\n\t\t\"⁸\" :
\"⁸\",\n\t\t\"⁹\" : \"⁹\",\n\t\t\"⁰\" : \"⁰\",\n\t\t\"½\" : \"½\"\n\t}\n}",
- "visualeditor-toolbar-format-tooltip": "Format paragraph",
- "visualeditor-toolbar-history": "History",
- "visualeditor-toolbar-insert": "Insert",
- "visualeditor-toolbar-paragraph-format": "Formatting",
- "visualeditor-toolbar-structure": "Structure",
- "visualeditor-toolbar-style-tooltip": "Style text",
- "visualeditor-toolbar-text-style": "Styling",
- "visualeditor-version-label": "Version"
+ "@metadata": {
+ "authors": [
+ "Trevor Parscal",
+ "Ed Sanders",
+ "James D. Forrester",
+ "Raimond Spekking",
+ "Erik Moeller",
+ "Moriel Schottlender",
+ "Yuki Shira",
+ "Siebrand Mazeland",
+ "Rob Moen",
+ "Timo Tijhof",
+ "Roan Kattouw",
+ "Christian Williams",
+ "Amir E. Aharoni"
+ ]
+ },
+ "visualeditor": "VisualEditor",
+ "visualeditor-aliennode-tooltip": "Sorry, this element can only be
edited in source mode for now.",
+ "visualeditor-annotationbutton-bold-tooltip": "Bold",
+ "visualeditor-annotationbutton-code-tooltip": "Computer code",
+ "visualeditor-annotationbutton-italic-tooltip": "Italic",
+ "visualeditor-annotationbutton-language-tooltip": "Language",
+ "visualeditor-annotationbutton-link-tooltip": "Link",
+ "visualeditor-annotationbutton-strikethrough-tooltip": "Strikethrough",
+ "visualeditor-annotationbutton-subscript-tooltip": "Subscript",
+ "visualeditor-annotationbutton-superscript-tooltip": "Superscript",
+ "visualeditor-annotationbutton-underline-tooltip": "Underline",
+ "visualeditor-clearbutton-tooltip": "Clear styling",
+ "visualeditor-clipboard-copy": "Copy",
+ "visualeditor-clipboard-cut": "Cut",
+ "visualeditor-clipboard-paste": "Paste",
+ "visualeditor-clipboard-paste-special": "Paste as plain text",
+ "visualeditor-commentinspector-edit": "Edit comment",
+ "visualeditor-commentinspector-title": "Comment",
+ "visualeditor-commentinspector-tooltip": "Comment",
+ "visualeditor-contextitemwidget-label-secondary": "Edit",
+ "visualeditor-dialog-action-apply": "Apply changes",
+ "visualeditor-dialog-action-cancel": "Cancel",
+ "visualeditor-dialog-action-done": "Done",
+ "visualeditor-dialog-action-goback": "Go back",
+ "visualeditor-dialog-action-insert": "Insert",
+ "visualeditor-dialog-command-help-title": "Keyboard shortcuts",
+ "visualeditor-dialog-error": "Something went wrong…",
+ "visualeditor-dialog-error-dismiss": "Go back",
+ "visualeditor-dialog-language-auto-direction": "Auto",
+ "visualeditor-dialog-language-search-title": "Select language",
+ "visualeditor-dimensionswidget-px": "px",
+ "visualeditor-dimensionswidget-times": "×",
+ "visualeditor-formatdropdown-format-heading-label": "Heading (1-6)",
+ "visualeditor-formatdropdown-format-heading1": "Heading 1",
+ "visualeditor-formatdropdown-format-heading2": "Heading 2",
+ "visualeditor-formatdropdown-format-heading3": "Heading 3",
+ "visualeditor-formatdropdown-format-heading4": "Heading 4",
+ "visualeditor-formatdropdown-format-heading5": "Heading 5",
+ "visualeditor-formatdropdown-format-heading6": "Heading 6",
+ "visualeditor-formatdropdown-format-paragraph": "Paragraph",
+ "visualeditor-formatdropdown-format-preformatted": "Preformatted",
+ "visualeditor-formatdropdown-title": "Change format",
+ "visualeditor-help-tool": "Help",
+ "visualeditor-historybutton-redo-tooltip": "Redo",
+ "visualeditor-historybutton-undo-tooltip": "Undo",
+ "visualeditor-indentationbutton-indent-tooltip": "Increase indentation",
+ "visualeditor-indentationbutton-outdent-tooltip": "Decrease
indentation",
+ "visualeditor-inspector-close-tooltip": "Close",
+ "visualeditor-inspector-remove-tooltip": "Remove",
+ "visualeditor-language-search-input-placeholder": "Search by language
name or code",
+ "visualeditor-languageannotation-description": "$1",
+ "visualeditor-languageannotation-description-with-dir": "$1 ($2)",
+ "visualeditor-languageinspector-title": "Language",
+ "visualeditor-languageinspector-widget-changelang": "Find language",
+ "visualeditor-languageinspector-widget-label-direction": "Direction",
+ "visualeditor-languageinspector-widget-label-langcode": "Language code",
+ "visualeditor-languageinspector-widget-label-language": "Language",
+ "visualeditor-language-search-input-placeholder": "Search by language
name or code",
+ "visualeditor-linkinspector-open": "Open",
+ "visualeditor-linkinspector-title": "Link",
+ "visualeditor-listbutton-bullet-tooltip": "Bullet list",
+ "visualeditor-listbutton-number-tooltip": "Numbered list",
+ "visualeditor-mediasizewidget-button-originaldimensions": "Make full
size",
+ "visualeditor-mediasizewidget-label-custom": "Custom",
+ "visualeditor-mediasizewidget-label-defaulterror": "Size values are
invalid.",
+ "visualeditor-mediasizewidget-label-scale": "Scale",
+ "visualeditor-mediasizewidget-label-scale-percent": "% of thumbnail
size",
+ "visualeditor-mediasizewidget-sizeoptions-custom": "Custom",
+ "visualeditor-mediasizewidget-sizeoptions-default": "Default",
+ "visualeditor-mediasizewidget-sizeoptions-scale": "Scale",
+ "visualeditor-shortcuts-clipboard": "Clipboard",
+ "visualeditor-shortcuts-formatting": "Paragraph formatting",
+ "visualeditor-shortcuts-history": "History",
+ "visualeditor-shortcuts-other": "Other",
+ "visualeditor-shortcuts-text-style": "Text styling",
+ "visualeditor-specialcharacter-button-tooltip": "Special character",
+ "visualeditor-specialcharacterinspector-title": "Special character",
+ "visualeditor-specialcharinspector-characterlist-insert":
"{\n\t\"Symbols\": {\n\t\t\"−\": \"−\",\n\t\t\"—\": \"—\",\n\t\t\"°\":
\"°\",\n\t\t\"′\": \"′\",\n\t\t\"″\": \"″\",\n\t\t\"←\": \"←\",\n\t\t\"→\":
\"→\",\n\t\t\"« »\" : \"« »\",\n\t\t\"“”\" : \"“”\",\n\t\t\"#\" :
\"#\",\n\t\t\"@\" : \"@\",\n\t\t\"|\" : \"|\",\n\t\t\"~\" : \"~\",\n\t\t\"§\":
\"§\",\n\t\t\"•\" : \"•\",\n\t\t\"·\": \"·\",\n\t\t\"…\" : \"…\",\n\t\t\"€\" :
\"€\"\n\t},\n\t\"Accents\": {\n\t\t\"Æ\" : \"Æ\",\n\t\t\"æ\" :
\"æ\",\n\t\t\"À\" : \"À\",\n\t\t\"à\" : \"à\",\n\t\t\"Â\" : \"Â\",\n\t\t\"â\" :
\"â\",\n\t\t\"Ä\" : \"Ä\",\n\t\t\"ä\" : \"ä\",\n\t\t\"Å\" : \"Å\",\n\t\t\"å\" :
\"å\",\n\t\t\"Ç\" : \"Ç\",\n\t\t\"ç\" : \"ç\",\n\t\t\"È\" : \"È\",\n\t\t\"è\" :
\"è\",\n\t\t\"É\" : \"É\",\n\t\t\"é\" : \"é\",\n\t\t\"Ê\" : \"Ê\",\n\t\t\"ê\" :
\"ê\",\n\t\t\"Ë\" : \"Ë\",\n\t\t\"ë\" : \"ë\",\n\t\t\"Î\" : \"Î\",\n\t\t\"î\" :
\"î\",\n\t\t\"Ï\" : \"Ï\",\n\t\t\"ï\" : \"ï\",\n\t\t\"Ô\" : \"Ô\",\n\t\t\"ô\" :
\"ô\",\n\t\t\"Ö\" : \"Ö\",\n\t\t\"ö\" : \"ö\",\n\t\t\"Ø\" : \"Ø\",\n\t\t\"ø\" :
\"ø\",\n\t\t\"Ù\" : \"Ù\",\n\t\t\"ù\" : \"ù\",\n\t\t\"Û\" : \"Û\",\n\t\t\"û\" :
\"û\",\n\t\t\"Ü\" : \"Ü\",\n\t\t\"ü\" : \"ü\",\n\t\t\"Ÿ\" : \"Ÿ\",\n\t\t\"ÿ\" :
\"ÿ\",\n\t\t\"Œ\" : \"Œ\",\n\t\t\"œ\" : \"œ\"\n\t},\n\t\"Mathematical\":
{\n\t\t\"−\": \"−\",\n\t\t\"×\": \"×\",\n\t\t\"÷\": \"÷\",\n\t\t\"≈\":
\"≈\",\n\t\t\"≠\": \"≠\",\n\t\t\"≤\": \"≤\",\n\t\t\"≥\": \"≥\",\n\t\t\"±\":
\"±\",\n\t\t\"¹\" : \"¹\",\n\t\t\"²\" : \"²\",\n\t\t\"³\" : \"³\",\n\t\t\"⁴\" :
\"⁴\",\n\t\t\"⁵\" : \"⁵\",\n\t\t\"⁶\" : \"⁶\",\n\t\t\"⁷\" : \"⁷\",\n\t\t\"⁸\" :
\"⁸\",\n\t\t\"⁹\" : \"⁹\",\n\t\t\"⁰\" : \"⁰\",\n\t\t\"½\" : \"½\"\n\t}\n}",
+ "visualeditor-toolbar-format-tooltip": "Format paragraph",
+ "visualeditor-toolbar-history": "History",
+ "visualeditor-toolbar-insert": "Insert",
+ "visualeditor-toolbar-paragraph-format": "Formatting",
+ "visualeditor-toolbar-structure": "Structure",
+ "visualeditor-toolbar-style-tooltip": "Style text",
+ "visualeditor-toolbar-text-style": "Styling",
+ "visualeditor-toolbar-table": "Table",
+ "visualeditor-toolbar-table-delete": "Delete",
+ "visualeditor-toolbar-table-deletetable": "Table",
+ "visualeditor-toolbar-table-deleterow": "Row",
+ "visualeditor-toolbar-table-deletecol": "Column",
+ "visualeditor-toolbar-table-insert": "Insert",
+ "visualeditor-toolbar-table-insertcolbefore": "Left",
+ "visualeditor-toolbar-table-insertcolafter": "Right",
+ "visualeditor-toolbar-table-insertrowbefore": "Above",
+ "visualeditor-toolbar-table-insertrowafter": "Below",
+ "visualeditor-version-label": "Version"
}
diff --git a/src/ui/tools/ve.ui.TableTool.js b/src/ui/tools/ve.ui.TableTool.js
index 218e5b8..5404178 100644
--- a/src/ui/tools/ve.ui.TableTool.js
+++ b/src/ui/tools/ve.ui.TableTool.js
@@ -14,7 +14,7 @@
ve.ui.InsertTable.static.name = 'insertTable';
ve.ui.InsertTable.static.group = 'insert';
ve.ui.InsertTable.static.icon = 'table';
-ve.ui.InsertTable.static.title = 'Table';
+ve.ui.InsertTable.static.title = OO.ui.deferMsg( 'visualeditor-toolbar-table'
);
ve.ui.InsertTable.static.commandName = 'insertTable';
ve.ui.toolFactory.register( ve.ui.InsertTable );
@@ -25,8 +25,8 @@
ve.ui.DeleteTable.static.name = 'deleteTable';
ve.ui.DeleteTable.static.group = 'table';
ve.ui.DeleteTable.static.autoAddToCatchall = false;
-ve.ui.DeleteTable.static.icon = 'remove';
-ve.ui.DeleteTable.static.title = OO.ui.deferMsg(
'visualeditor-inspector-remove-tooltip' );
+ve.ui.DeleteTable.static.icon = 'table-delete';
+ve.ui.DeleteTable.static.title = OO.ui.deferMsg(
'visualeditor-toolbar-table-deletetable' );
ve.ui.DeleteTable.static.commandName = 'deleteTable';
ve.ui.toolFactory.register( ve.ui.DeleteTable );
@@ -38,7 +38,8 @@
ve.ui.InsertRowBefore.static.group = 'table';
ve.ui.InsertRowBefore.static.autoAddToCatchall = false;
ve.ui.InsertRowBefore.static.icon = 'table-insert-row-before';
-ve.ui.InsertRowBefore.static.title = 'Above';
+ve.ui.InsertRowBefore.static.title =
+ OO.ui.deferMsg( 'visualeditor-toolbar-table-insertrowbefore' );
ve.ui.InsertRowBefore.static.commandName = 'insertRowBefore';
ve.ui.toolFactory.register( ve.ui.InsertRowBefore );
@@ -50,7 +51,8 @@
ve.ui.InsertRowAfter.static.group = 'table';
ve.ui.InsertRowAfter.static.autoAddToCatchall = false;
ve.ui.InsertRowAfter.static.icon = 'table-insert-row-after';
-ve.ui.InsertRowAfter.static.title = 'Below';
+ve.ui.InsertRowAfter.static.title =
+ OO.ui.deferMsg( 'visualeditor-toolbar-table-insertrowafter' );
ve.ui.InsertRowAfter.static.commandName = 'insertRowAfter';
ve.ui.toolFactory.register( ve.ui.InsertRowAfter );
@@ -62,7 +64,8 @@
ve.ui.DeleteRow.static.group = 'table';
ve.ui.DeleteRow.static.autoAddToCatchall = false;
ve.ui.DeleteRow.static.icon = 'table-delete-row';
-ve.ui.DeleteRow.static.title = OO.ui.deferMsg(
'visualeditor-inspector-remove-tooltip' );
+ve.ui.DeleteRow.static.title =
+ OO.ui.deferMsg( 'visualeditor-toolbar-table-deleterow' );
ve.ui.DeleteRow.static.commandName = 'deleteRow';
ve.ui.toolFactory.register( ve.ui.DeleteRow );
@@ -74,7 +77,8 @@
ve.ui.InsertColumnBefore.static.group = 'table';
ve.ui.InsertColumnBefore.static.autoAddToCatchall = false;
ve.ui.InsertColumnBefore.static.icon = 'table-insert-column-before';
-ve.ui.InsertColumnBefore.static.title = 'Left';
+ve.ui.InsertColumnBefore.static.title =
+ OO.ui.deferMsg( 'visualeditor-toolbar-table-insertcolbefore' );
ve.ui.InsertColumnBefore.static.commandName = 'insertColumnBefore';
ve.ui.toolFactory.register( ve.ui.InsertColumnBefore );
@@ -86,7 +90,8 @@
ve.ui.InsertColumnAfter.static.group = 'table';
ve.ui.InsertColumnAfter.static.autoAddToCatchall = false;
ve.ui.InsertColumnAfter.static.icon = 'table-insert-column-after';
-ve.ui.InsertColumnAfter.static.title = 'Right';
+ve.ui.InsertColumnAfter.static.title =
+ OO.ui.deferMsg( 'visualeditor-toolbar-table-insertcolafter' );
ve.ui.InsertColumnAfter.static.commandName = 'insertColumnAfter';
ve.ui.toolFactory.register( ve.ui.InsertColumnAfter );
@@ -98,7 +103,8 @@
ve.ui.DeleteColumn.static.group = 'table';
ve.ui.DeleteColumn.static.autoAddToCatchall = false;
ve.ui.DeleteColumn.static.icon = 'table-delete-column';
-ve.ui.DeleteColumn.static.title = OO.ui.deferMsg(
'visualeditor-inspector-remove-tooltip' );
+ve.ui.DeleteColumn.static.title =
+ OO.ui.deferMsg( 'visualeditor-toolbar-table-deletecol' );
ve.ui.DeleteColumn.static.commandName = 'deleteColumn';
ve.ui.toolFactory.register( ve.ui.DeleteColumn );
--
To view, visit https://gerrit.wikimedia.org/r/159314
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie4557f1a8bffd976a456d88d8c1433b0c4dec546
Gerrit-PatchSet: 1
Gerrit-Project: VisualEditor/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Oliverb <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits