Skip to content

Commit

Permalink
fix: issue with copying previous translation (#43)
Browse files Browse the repository at this point in the history
* remove: bugs url in package.json

* fix: #42 when copying previously requested word isn't working
  • Loading branch information
dev99problems authored Jan 27, 2023
1 parent 06eac8b commit a7ae5b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"name": "alfred-translayta",
"version": "2.1.0",
"version": "2.1.1",
"description": "Alfred workflow, which translates in uk-en/en-uk directions, save words to favorites.",
"license": "MIT",
"homepage": "https://github.com/dev99problems/alfred-translayta#readme",
"main": "index.js",
"scripts": {
"postinstall": "alfy-init",
Expand Down Expand Up @@ -31,11 +33,6 @@
"macos",
"osx"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/dev99problems/alfred-translayta/issues"
},
"homepage": "https://github.com/dev99problems/alfred-translayta#readme",
"dependencies": {
"@vitalets/google-translate-api": "5.1.0",
"alfy": "0.11.1",
Expand Down
1 change: 1 addition & 0 deletions src/output.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@ exports.formatAutoCorrection = (correctedValue, targetLang) => ({
exports.formatLastSearch = (lastUserInput, targetLang) => ({
title: lastUserInput,
subtitle: intl.lastSearch[targetLang],
...createCopyPasteActions(lastUserInput),
icon: { path: './icons/history.png' }
})

0 comments on commit a7ae5b2

Please sign in to comment.