mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-18 21:18:07 +01:00
🎨 Improve text https://github.com/siyuan-note/siyuan/issues/14447
This commit is contained in:
parent
69642e3bac
commit
3ebfdf6c5b
21 changed files with 77 additions and 72 deletions
|
|
@ -11,6 +11,7 @@ import {addClearButton} from "../util/addClearButton";
|
|||
import {isPaidUser} from "../util/needSubscribe";
|
||||
import {showMessage} from "../dialog/message";
|
||||
import {saveAssetKeyList} from "./toggleHistory";
|
||||
import {getCloudURL} from "../config/util/about";
|
||||
|
||||
export const openSearchAsset = (element: HTMLElement, isStick: boolean) => {
|
||||
/// #if !MOBILE
|
||||
|
|
@ -170,7 +171,7 @@ export const assetInputEvent = (element: Element, localSearch?: ISearchAssetOpti
|
|||
element.querySelector(".search__drag")?.classList.add("fn__none");
|
||||
element.querySelector("#searchAssetPreview").classList.add("fn__none");
|
||||
element.querySelector("#searchAssetList").innerHTML = `<div class="search__empty">
|
||||
${window.siyuan.languages["_kernel"][214]}
|
||||
${window.siyuan.languages["_kernel"][214].replaceAll("${accountServer}", getCloudURL(""))}
|
||||
</div>`;
|
||||
return;
|
||||
}
|
||||
|
|
@ -450,7 +451,7 @@ export const assetMoreMenu = (target: Element, element: Element, cb: () => void)
|
|||
label: window.siyuan.languages.rebuildIndex,
|
||||
click() {
|
||||
if (!isPaidUser()) {
|
||||
showMessage(window.siyuan.languages["_kernel"][214]);
|
||||
showMessage(window.siyuan.languages["_kernel"][214].replaceAll("${accountServer}", getCloudURL("")));
|
||||
return;
|
||||
}
|
||||
element.parentElement.querySelector(".fn__loading--top").classList.remove("fn__none");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue