Skip to content

Commit

Permalink
Updated localized msg handling to merge w/ instead of replace `app.ms…
Browse files Browse the repository at this point in the history
…gs` ↞ [auto-sync from `adamlui/chatgpt-apps`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed Sep 22, 2024
1 parent 8376183 commit 712ad3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions greasemonkey/amazongpt.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// @description Adds the magic of AI to Amazon shopping
// @author KudoAI
// @namespace https://kudoai.com
// @version 2024.9.22.6
// @version 2024.9.22.7
// @license MIT
// @icon https://amazongpt.kudoai.com/assets/images/icons/amazongpt/black-gold-teal/icon48.png?v=0fddfc7
// @icon64 https://amazongpt.kudoai.com/assets/images/icons/amazongpt/black-gold-teal/icon64.png?v=0fddfc7
Expand Down Expand Up @@ -378,7 +378,7 @@
}
fetchMsgs()
})
if (Object.keys(localizedMsgs).length > 0) app.msgs = localizedMsgs
if (Object.keys(localizedMsgs).length > 0) Object.assign(app.msgs, localizedMsgs)
}
log.debug(`Success! app.msgs = ${log.prettifyObj(app.msgs)}`)

Expand Down

0 comments on commit 712ad3c

Please sign in to comment.