diff --git a/src/background/copy.js b/src/background/copy.js index bee5c76..d0ea198 100644 --- a/src/background/copy.js +++ b/src/background/copy.js @@ -87,7 +87,7 @@ M.formats.textTabs = { } }; -M.formats.textTabsSwap = { +M.formats.textTabsTranspose = { opts: {method: 'clipboard', withSelection: true, keepStyles: false, keepHidden: false}, exec: function (t) { clipboard.copyText(asTabs(matrix.transpose(t.textMatrix()))) @@ -101,7 +101,7 @@ M.formats.textCSV = { } }; -M.formats.textCSVSwap = { +M.formats.textCSVTranspose = { opts: {method: 'clipboard', withSelection: true, keepStyles: false, keepHidden: false}, exec: function (t) { clipboard.copyText(asCSV(matrix.transpose(t.textMatrix()))) diff --git a/src/lib/preferences.js b/src/lib/preferences.js index b383771..a57be4f 100644 --- a/src/lib/preferences.js +++ b/src/lib/preferences.js @@ -25,11 +25,11 @@ var defaults = { 'copy.format.enabled.richHTML': true, 'copy.format.enabled.richHTMLCSS': true, 'copy.format.enabled.textCSV': true, - 'copy.format.enabled.textCSVSwap': true, + 'copy.format.enabled.textCSVTranspose': true, 'copy.format.enabled.textHTML': true, 'copy.format.enabled.textHTMLCSS': true, 'copy.format.enabled.textTabs': true, - 'copy.format.enabled.textTabsSwap': true, + 'copy.format.enabled.textTabsTranspose': true, 'copy.format.enabled.textTextile': true, 'copy.format.default.richHTMLCSS': true, @@ -78,9 +78,9 @@ var copyFormats = [ "desc": "Copy as tab-delimited text" }, { - "id": "textTabsSwap", - "name": "Text+Swap", - "desc": "Copy as tab-delimited text, swap columns and rows" + "id": "textTabsTranspose", + "name": "Text+Transpose", + "desc": "Copy as tab-delimited text, transpose columns and rows" }, { "id": "textCSV", @@ -88,9 +88,9 @@ var copyFormats = [ "desc": "Copy as comma-separated text" }, { - "id": "textCSVSwap", - "name": "CSV+Swap", - "desc": "Copy as comma-separated text, swap columns and rows" + "id": "textCSVTranspose", + "name": "CSV+Transpose", + "desc": "Copy as comma-separated text, transpose columns and rows" }, { "id": "textHTMLCSS",