Skip to content

Commit

Permalink
Replaced 'Leave Review' btn label in About modal w/ 'Rate Us' ↞ [auto…
Browse files Browse the repository at this point in the history
…-sync from `adamlui/chatgpt-apps`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed Sep 30, 2024
1 parent 6b93ab0 commit 805cfd9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions greasemonkey/googlegpt.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
// @description:zu Yengeza izimpendulo ze-AI ku-Google Search (inikwa amandla yi-Google Gemma + GPT-4o!)
// @author KudoAI
// @namespace https://kudoai.com
// @version 2024.9.29.1
// @version 2024.9.30
// @license MIT
// @icon https://media.googlegpt.io/images/icons/googlegpt/black/icon48.png?8652a6e
// @icon64 https://media.googlegpt.io/images/icons/googlegpt/black/icon64.png?8652a6e
Expand Down Expand Up @@ -424,7 +424,7 @@
relatedApps: 'https://github.com/adamlui/chatgpt-apps',
support: 'https://support.googlegpt.io'
},
latestAssetCommitHash: '3fb8ea0' // for cached messages.json
latestAssetCommitHash: '6b93ab0' // for cached messages.json
}
app.urls.assetHost = app.urls.gitHub.replace('github.com', 'cdn.jsdelivr.net/gh') + `@${app.latestAssetCommitHash}`
app.urls.update = app.urls.greasyFork.replace('https://', 'https://update.')
Expand Down Expand Up @@ -695,7 +695,7 @@
notif_copiedToClipboard: 'Copied to clipboard',
btnLabel_sendQueryToApp: 'Send search query to GoogleGPT',
btnLabel_moreApps: 'More ChatGPT Apps',
btnLabel_leaveReview: 'Leave Review',
btnLabel_rateUs: 'Rate Us',
btnLabel_getSupport: 'Get Support',
btnLabel_updateCheck: 'Check for Updates',
btnLabel_update: 'Update',
Expand Down Expand Up @@ -1118,7 +1118,7 @@
[ // buttons
function checkForUpdates() { updateCheck() },
function getSupport() { modals.safeWinOpen(app.urls.support) },
function leaveAReview() { modals.safeWinOpen(app.urls.greasyFork + '/feedback#post-discussion') },
function rateUs() { modals.safeWinOpen(app.urls.greasyFork + '/feedback#post-discussion') },
function moreChatGPTapps() { modals.safeWinOpen(app.urls.relatedApps) }
], '', 585) // modal width
const aboutModal = document.getElementById(aboutModalID).firstChild
Expand All @@ -1142,8 +1142,8 @@
'🚀 ' + ( app.msgs.btnLabel_updateCheck ))
else if (/support/i.test(btn.textContent)) btn.textContent = (
'🧠 ' + ( app.msgs.btnLabel_getSupport ))
else if (/review/i.test(btn.textContent)) btn.textContent = (
'⭐ ' + ( app.msgs.btnLabel_leaveReview ))
else if (/rate/i.test(btn.textContent)) btn.textContent = (
'⭐ ' + ( app.msgs.btnLabel_rateUs ))
else if (/apps/i.test(btn.textContent)) btn.textContent = (
'🤖 ' + ( app.msgs.btnLabel_moreApps ))
else btn.style.display = 'none' // hide Dismiss button
Expand Down

0 comments on commit 805cfd9

Please sign in to comment.