Skip to content

Commit a7ae5b2

Browse files
fix: issue with copying previous translation (#43)
* remove: bugs url in package.json * fix: #42 when copying previously requested word isn't working
1 parent 06eac8b commit a7ae5b2

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{
22
"name": "alfred-translayta",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"description": "Alfred workflow, which translates in uk-en/en-uk directions, save words to favorites.",
5+
"license": "MIT",
6+
"homepage": "https://github.com/dev99problems/alfred-translayta#readme",
57
"main": "index.js",
68
"scripts": {
79
"postinstall": "alfy-init",
@@ -31,11 +33,6 @@
3133
"macos",
3234
"osx"
3335
],
34-
"license": "MIT",
35-
"bugs": {
36-
"url": "https://github.com/dev99problems/alfred-translayta/issues"
37-
},
38-
"homepage": "https://github.com/dev99problems/alfred-translayta#readme",
3936
"dependencies": {
4037
"@vitalets/google-translate-api": "5.1.0",
4138
"alfy": "0.11.1",

src/output.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,6 @@ exports.formatAutoCorrection = (correctedValue, targetLang) => ({
4040
exports.formatLastSearch = (lastUserInput, targetLang) => ({
4141
title: lastUserInput,
4242
subtitle: intl.lastSearch[targetLang],
43+
...createCopyPasteActions(lastUserInput),
4344
icon: { path: './icons/history.png' }
4445
})

0 commit comments

Comments
 (0)