mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
Push translate system?
This commit is contained in:
parent
028b545374
commit
b356afe766
4 changed files with 39 additions and 4 deletions
|
@ -23,6 +23,7 @@ interface associAppWindowInterface {
|
|||
width: string;
|
||||
height: string;
|
||||
black: boolean;
|
||||
translatable: boolean;
|
||||
}
|
||||
|
||||
interface minAppWindowInterface {
|
||||
|
@ -34,6 +35,7 @@ interface minAppWindowInterface {
|
|||
width: string;
|
||||
height: string;
|
||||
black: boolean;
|
||||
translatable: boolean;
|
||||
lastpositionw: string;
|
||||
lastpositionh: string;
|
||||
}
|
||||
|
@ -347,6 +349,7 @@ const findAndOpenWindow = (windowName: string, windowTitle?: string) => {
|
|||
width: app.width || "600px",
|
||||
height: app.height || "400px",
|
||||
black: app.black || false,
|
||||
translatable: app.translatable || false,
|
||||
});
|
||||
currentOpenAppId.value++;
|
||||
// Add to navbar
|
||||
|
@ -418,6 +421,7 @@ const toggleMinWindow = (windowUUId: string) => {
|
|||
width: activeWindow.width,
|
||||
height: activeWindow.height,
|
||||
black: activeWindow.black || false,
|
||||
translatable: activeWindow.translatable || false,
|
||||
lastpositionw: "",
|
||||
lastpositionh: "",
|
||||
});
|
||||
|
@ -512,6 +516,7 @@ const toggleTranslate = (id: string) => {
|
|||
console.log("windowId", id);
|
||||
applyForTranslation.value = true;
|
||||
};
|
||||
|
||||
const translateAvailable = () => {};
|
||||
|
||||
// Load user config via HTTP requests to the server.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue