Remove debug stuff

This commit is contained in:
Yokayo 2024-09-28 21:54:44 +07:00 committed by GitHub
parent 78a287e7f5
commit 9041eb8081
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,9 +50,6 @@ const observer = new MutationObserver(mutations => {
* @returns {string} Translated and formatted string * @returns {string} Translated and formatted string
*/ */
export function t(strings, ...values) { export function t(strings, ...values) {
if (strings == 'Select Horde models') {
console.log('strings = ' + strings);
}
let str = strings.reduce((result, string, i) => result + string + (values[i] !== undefined ? `\${${i}}` : ''), ''); let str = strings.reduce((result, string, i) => result + string + (values[i] !== undefined ? `\${${i}}` : ''), '');
let translatedStr = translate(str); let translatedStr = translate(str);