mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-11 17:07:07 +01:00
Remove debug stuff
This commit is contained in:
parent
78a287e7f5
commit
9041eb8081
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user