Add language string for activeTabChange
This commit is contained in:
@@ -559,4 +559,5 @@ export const languageEnglish = {
|
||||
updateRealm: "Update to RisuRealm",
|
||||
updateRealmDesc: "You are trying to update your character to RisuRealm. this will update your character to RisuRealm, and you can't revert it back.",
|
||||
antiClaudeOverload: "Anti-Claude Overload",
|
||||
activeTabChange: "Current tab is inactivated since other tab is active. to activate this tab, click OK"
|
||||
}
|
||||
@@ -29,6 +29,7 @@ import { save } from "@tauri-apps/api/dialog";
|
||||
import type { RisuModule } from "../process/modules";
|
||||
import { listen } from '@tauri-apps/api/event'
|
||||
import { registerPlugin } from '@capacitor/core';
|
||||
import { language } from "src/lang";
|
||||
|
||||
//@ts-ignore
|
||||
export const isTauri = !!window.__TAURI__
|
||||
@@ -267,7 +268,7 @@ export async function saveDb(){
|
||||
}
|
||||
if(!gotChannel){
|
||||
gotChannel = true
|
||||
await alertNormalWait("Current tab is inactivated since other tab is active. to activate this tab, click OK")
|
||||
await alertNormalWait(language.activeTabChange)
|
||||
gotChannel = false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user