兼容版特化处理

This commit is contained in:
Spmario233 2023-10-03 02:09:23 +08:00
parent 010b596613
commit b2e0862f36
1 changed files with 2 additions and 1 deletions

View File

@ -57521,7 +57521,8 @@
if(lib.translate[str+'_ab']) str2=lib.translate[str+'_ab'];
if(!str2) return '';
if(lib.translate[str+'_prefix']&&str2.startsWith(lib.translate[str+'_prefix'])){
return `${get.prefixSpan(lib.translate[str+'_prefix'],str)}<span>${str2.slice(lib.translate[str+'_prefix'].length)}</span>`;
//兼容版特化处理
return `${get.prefixSpan(lib.translate[str+'_prefix'],str)}<span>${str2.slice(lib.translate[str+'_prefix'].length)} </span>`;
}
return str2;
},