diff --git a/greasemonkey/googlegpt.user.js b/greasemonkey/googlegpt.user.js index 047fc022..dcf6ea17 100644 --- a/greasemonkey/googlegpt.user.js +++ b/greasemonkey/googlegpt.user.js @@ -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.8.8.2 +// @version 2024.8.8.3 // @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 @@ -426,7 +426,7 @@ appURL: 'https://www.googlegpt.io', gitHubURL: 'https://github.com/KudoAI/googlegpt', greasyForkURL: 'https://greasyfork.org/scripts/478597-googlegpt', minFontSize: 11, maxFontSize: 24, lineHeightRatio: isMobile ? 1.357 : 1.375, - latestAssetCommitHash: '52359df' } // for cached messages.json + latestAssetCommitHash: '63f76bb' } // for cached messages.json config.updateURL = config.greasyForkURL.replace('https://', 'https://update.') .replace(/(\d+)-?([a-zA-Z-]*)$/, (_, id, name) => `${ id }/${ !name ? 'script' : name }.meta.js`) config.supportURL = config.gitHubURL + '/issues/new' @@ -665,8 +665,8 @@ if (!config.userLanguage.startsWith('en')) { const updateAlert = document.querySelector(`[id="${ updateModalID }"]`), updateBtns = updateAlert.querySelectorAll('button') - updateBtns[1].textContent = msgs.buttonLabel_update || 'Update' - updateBtns[0].textContent = msgs.buttonLabel_dismiss || 'Dismiss' + updateBtns[1].textContent = msgs.btnLabel_update || 'Update' + updateBtns[0].textContent = msgs.btnLabel_dismiss || 'Dismiss' } modals.init(updateModal) // add classes/stars, disable wheel-scrolling, dim bg, glowup btns @@ -868,13 +868,13 @@ // Emojize/localize label if (/updates/i.test(btn.textContent)) btn.textContent = ( - '🚀 ' + ( msgs.buttonLabel_updateCheck || 'Check for Updates' )) + '🚀 ' + ( msgs.btnLabel_updateCheck || 'Check for Updates' )) else if (/support/i.test(btn.textContent)) btn.textContent = ( - '🧠 ' + ( msgs.buttonLabel_getSupport || 'Get Support' )) + '🧠 ' + ( msgs.btnLabel_getSupport || 'Get Support' )) else if (/review/i.test(btn.textContent)) btn.textContent = ( - '⭐ ' + ( msgs.buttonLabel_leaveReview || 'Leave a Review' )) + '⭐ ' + ( msgs.btnLabel_leaveReview || 'Leave a Review' )) else if (/apps/i.test(btn.textContent)) btn.textContent = ( - '🤖 ' + ( msgs.buttonLabel_moreApps || 'More ChatGPT Apps' )) + '🤖 ' + ( msgs.btnLabel_moreApps || 'More ChatGPT Apps' )) else btn.style.display = 'none' // hide Dismiss button }) @@ -3045,7 +3045,7 @@ if (answer == 'standby') { const standbyBtn = document.createElement('button') standbyBtn.className = 'standby-btn' - standbyBtn.textContent = msgs.buttonLabel_sendQueryToApp || `Send search query to ${config.appName}` + standbyBtn.textContent = msgs.btnLabel_sendQueryToApp || `Send search query to ${config.appName}` appDiv.append(standbyBtn) show.reply.standbyBtnClickHandler = function() { appAlert('waitingResponse')