Skip to content

Commit

Permalink
Fixing google translate results
Browse files Browse the repository at this point in the history
  • Loading branch information
frianasoa committed Dec 13, 2023
1 parent 7a15005 commit b717acf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/ai.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Ai={
{
try {
// Google translate without api key
return Promise.resolve(data[0].map(function(e){return e[0]}));
return Promise.resolve([data[0].map(function(e){return e[0]}).join(" ")]);
}
catch(e)
{
Expand Down
2 changes: 1 addition & 1 deletion zenote-update.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{
"version": "0.5.7",
"update_link": "https://github.com/frianasoa/Ze-Notes/releases/download/v0.5.7/zenotes-v0.5.7.xpi",
"update_hash": "sha256:4ac0e03c6b45aa703afdff09647f3dfc4ea6389d05bb98d9e3e4efd9fe910d6b",
"update_hash": "sha256:ac0dc3635cc7108a312be4a797267320aa84c68d61ee8719d661b063f70c2e04",
"applications": {
"gecko": {
"strict_min_version": "60.0"
Expand Down

0 comments on commit b717acf

Please sign in to comment.