feat: add option to show translation loading
This commit is contained in:
@@ -162,6 +162,10 @@
|
||||
}
|
||||
}
|
||||
if(translateText){
|
||||
if (!retranslate && DBState.db.showTranslationLoading) {
|
||||
lastParsed = `<div class="flex justify-center items-center"><div class="animate-spin rounded-full h-8 w-8 border-b-2 border-textcolor"></div></div>`
|
||||
}
|
||||
|
||||
let doRetranslate = retranslate
|
||||
retranslate = false
|
||||
if(DBState.db.translatorType === 'llm' && DBState.db.translateBeforeHTMLFormatting){
|
||||
|
||||
Reference in New Issue
Block a user