mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-18 10:00:48 +08:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
c8f706f18d
@ -450,7 +450,7 @@
|
||||
"workspaceList": "مساحات العمل",
|
||||
"removeWorkspaceTip": "إزالة من مساحة العمل",
|
||||
"new": "إنشاء",
|
||||
"share2LiandiConfirmTip": "هل أنت متأكد من مشاركة هذا المستند إلى المجتمع؟",
|
||||
"share2LiandiConfirmTip": "هل أنت متأكد من أنك تريد <b>نشر</b> هذا المستند في <a href=\"${accountServer}\" target=\"_blank\">المجتمع</a>؟<br>بمجرد النشر، سيتمكن الجميع من عرض هذا المستند، يرجى التأكد من أنه لا يحتوي على معلومات حساسة",
|
||||
"share2Liandi": "المشاركة إلى المجتمع",
|
||||
"noDueCard": "ممتاز! لا يوجد المزيد من مهام المراجعة في الوقت الحالي، عُد للتحقق لاحقاً!",
|
||||
"createDeck": "إنشاء شدة",
|
||||
|
@ -450,7 +450,7 @@
|
||||
"workspaceList": "Arbeitsbereiche",
|
||||
"removeWorkspaceTip": "Aus Arbeitsbereichen entfernen",
|
||||
"new": "Neu",
|
||||
"share2LiandiConfirmTip": "Sind Sie sicher, dass Sie dieses Dokument mit der Community teilen möchten?",
|
||||
"share2LiandiConfirmTip": "Sind Sie sicher, dass Sie dieses Dokument <b>veröffentlichen</b> und in der <a href=\"${accountServer}\" target=\"_blank\">Community</a> teilen möchten?<br>Nach der Veröffentlichung können alle dieses Dokument einsehen, stellen Sie sicher, dass es keine vertraulichen Informationen enthält",
|
||||
"share2Liandi": "Mit der Community teilen",
|
||||
"noDueCard": "Großartige Arbeit! Momentan sind keine weiteren Überprüfungsaufgaben vorhanden, schauen Sie später wieder vorbei!",
|
||||
"createDeck": "Deck erstellen",
|
||||
|
@ -450,7 +450,7 @@
|
||||
"workspaceList": "Workspaces",
|
||||
"removeWorkspaceTip": "Remove from Workspaces",
|
||||
"new": "New",
|
||||
"share2LiandiConfirmTip": "Are you sure to share this document to community?",
|
||||
"share2LiandiConfirmTip": "Are you sure you want to <b>publish</b> this document to the <a href=\"${accountServer}\" target=\"_blank\">community</a>?<br>Once published, everyone will be able to view this document, please ensure it does not contain sensitive information",
|
||||
"share2Liandi": "Share to community",
|
||||
"noDueCard": "Great job! There are no more review tasks at the moment, check back later!",
|
||||
"createDeck": "Create Deck",
|
||||
|
@ -450,7 +450,7 @@
|
||||
"workspaceList": "Espacio de trabajo",
|
||||
"removeWorkspaceTip": "Quitar de los espacios de trabajo",
|
||||
"new": "Nuevo",
|
||||
"share2LiandiConfirmTip": "¿Estás seguro de compartir este documento con comunidad?",
|
||||
"share2LiandiConfirmTip": "¿Estás seguro de que deseas <b>publicar</b> este documento en la <a href=\"${accountServer}\" target=\"_blank\">comunidad</a>?<br>Después de la publicación, todos podrán ver este documento, asegúrate de que no contenga información confidencial",
|
||||
"share2Liandi": "Compartir con comunidad",
|
||||
"noDueCard": "¡Buen trabajo! No hay más tareas de revisión en este momento, ¡vuelve a comprobar más tarde!",
|
||||
"createDeck": "Crear mazo",
|
||||
|
@ -450,7 +450,7 @@
|
||||
"workspaceList": "Espaces de travail",
|
||||
"removeWorkspaceTip": "Supprimer des espaces de travail",
|
||||
"new": "Nouveau",
|
||||
"share2LiandiConfirmTip": "Êtes-vous sûr de partager ce document avec communauté ?",
|
||||
"share2LiandiConfirmTip": "Êtes-vous sûr de vouloir <b>publier</b> ce document dans la <a href=\"${accountServer}\" target=\"_blank\">communauté</a> ?<br>Après la publication, tout le monde pourra voir ce document, assurez-vous qu'il ne contient pas d'informations sensibles",
|
||||
"share2Liandi": "Partager avec communauté",
|
||||
"noDueCard": "Excellent travail ! Il n'y a plus de tâches de révision pour le moment, revenez plus tard !",
|
||||
"createDeck": "Créer un deck",
|
||||
|
@ -450,7 +450,7 @@
|
||||
"workspaceList": "מקומות עבודה",
|
||||
"removeWorkspaceTip": "הסר ממקומות עבודה",
|
||||
"new": "חדש",
|
||||
"share2LiandiConfirmTip": "האם אתה בטוח שברצונך לשתף את המסמך הזה עם הקהילה?",
|
||||
"share2LiandiConfirmTip": "האם אתה בטוח שברצונך <b>לפרסם</b> את המסמך הזה ב<a href=\"${accountServer}\" target=\"_blank\">קהילה</a>?<br>לאחר הפרסום, כל אחד יוכל לצפות במסמך זה, ודא שהוא אינו מכיל מידע רגיש",
|
||||
"share2Liandi": "שיתוף עם הקהילה",
|
||||
"noDueCard": "עבודה מצוינת! לא עוד משימות לסקירה כרגע, בדוק שוב מאוחר יותר!",
|
||||
"createDeck": "צור ערמת כרטיסים",
|
||||
|
@ -450,7 +450,7 @@
|
||||
"workspaceList": "Aree di lavoro",
|
||||
"removeWorkspaceTip": "Rimuovi dalle aree di lavoro",
|
||||
"new": "Nuovo",
|
||||
"share2LiandiConfirmTip": "Sei sicuro di voler condividere questo documento con la comunità?",
|
||||
"share2LiandiConfirmTip": "Sei sicuro di voler <b>pubblicare</b> questo documento nella <a href=\"${accountServer}\" target=\"_blank\">comunità</a>?<br>Dopo la pubblicazione, tutti potranno visualizzare questo documento, assicurati che non contenga informazioni riservate",
|
||||
"share2Liandi": "Condividi con la comunità",
|
||||
"noDueCard": "Ottimo lavoro! Non ci sono altre attività di revisione al momento, ricontrolla più tardi!",
|
||||
"createDeck": "Crea mazzo",
|
||||
|
@ -450,7 +450,7 @@
|
||||
"workspaceList": "ワークスペース",
|
||||
"removeWorkspaceTip": "ワークスペースから削除",
|
||||
"new": "新規作成",
|
||||
"share2LiandiConfirmTip": "このドキュメントをコミュニティに公開してもよろしいですか?",
|
||||
"share2LiandiConfirmTip": "このドキュメントを<b>公開</b>して<a href=\"${accountServer}\" target=\"_blank\">コミュニティ</a>に共有しますか?<br>公開後、すべての人がこのドキュメントを閲覧できるようになります。ドキュメントに機密情報が含まれていないことを確認してください",
|
||||
"share2Liandi": "コミュニティに公開する",
|
||||
"noDueCard": "お疲れ様です!現在復習タスクはありません。後でまた確認してください",
|
||||
"createDeck": "デッキを作成",
|
||||
|
@ -450,7 +450,7 @@
|
||||
"workspaceList": "Obszary robocze",
|
||||
"removeWorkspaceTip": "Usuń z obszarów roboczych",
|
||||
"new": "Nowy",
|
||||
"share2LiandiConfirmTip": "Czy na pewno chcesz udostępnić ten dokument społeczności?",
|
||||
"share2LiandiConfirmTip": "Czy na pewno chcesz <b>opublikować</b> ten dokument w <a href=\"${accountServer}\" target=\"_blank\">społeczności</a>?<br>Po opublikowaniu wszyscy będą mogli zobaczyć ten dokument, upewnij się, że nie zawiera on poufnych informacji",
|
||||
"share2Liandi": "Udostępnij społeczności",
|
||||
"noDueCard": "Świetna robota! Obecnie nie ma więcej zadań do przeglądu, sprawdź później!",
|
||||
"createDeck": "Utwórz talię",
|
||||
|
@ -450,7 +450,7 @@
|
||||
"workspaceList": "Рабочие пространства",
|
||||
"removeWorkspaceTip": "Удалить из Рабочих пространств",
|
||||
"new": "Новый",
|
||||
"share2LiandiConfirmTip": "Вы уверены, что хотите поделиться этим документом с сообществом?",
|
||||
"share2LiandiConfirmTip": "Вы уверены, что хотите <b>опубликовать</b> этот документ в <a href=\"${accountServer}\" target=\"_blank\">сообществе</a>?<br>После публикации все смогут просматривать этот документ, убедитесь, что он не содержит конфиденциальной информации",
|
||||
"share2Liandi": "Поделиться с сообществом",
|
||||
"noDueCard": "Отличная работа! В данный момент нет больше заданий для обзора, проверьте позже!",
|
||||
"createDeck": "Создать колоду",
|
||||
|
@ -450,7 +450,7 @@
|
||||
"workspaceList": "工作空間",
|
||||
"removeWorkspaceTip": "從工作空間列表中移除",
|
||||
"new": "新建",
|
||||
"share2LiandiConfirmTip": "確定將該文檔分享到社區嗎?",
|
||||
"share2LiandiConfirmTip": "確定將該文檔<b>公開</b>分享到<a href=\"${accountServer}\" target=\"_blank\">社區</a>嗎?<br>公開分享後所有人都可以查看該文檔,請確保文檔內容不包含敏感信息",
|
||||
"share2Liandi": "分享到社區",
|
||||
"noDueCard": "幹得漂亮!目前已經沒有更多複習任務,過一會再來看看吧!",
|
||||
"createDeck": "建立卡包",
|
||||
|
@ -450,7 +450,7 @@
|
||||
"workspaceList": "工作空间",
|
||||
"removeWorkspaceTip": "从工作空间列表中移除",
|
||||
"new": "新建",
|
||||
"share2LiandiConfirmTip": "确定将该文档分享到社区吗?",
|
||||
"share2LiandiConfirmTip": "确定将该文档<b>公开</b>分享到<a href=\"${accountServer}\" target=\"_blank\">社区</a>吗?<br>公开分享后所有人都可以查看该文档,请确保文档内容不包含敏感信息",
|
||||
"share2Liandi": "分享到社区",
|
||||
"noDueCard": "干得漂亮!目前已经没有更多复习任务,过一会再来看看吧!",
|
||||
"createDeck": "创建卡包",
|
||||
|
@ -32,6 +32,7 @@ import {isInAndroid, isInHarmony, isIPad, isMac, updateHotkeyTip} from "../util/
|
||||
import {resize} from "../util/resize";
|
||||
import {listIndent, listOutdent} from "../wysiwyg/list";
|
||||
import {improveBreadcrumbAppearance} from "../wysiwyg/renderBacklink";
|
||||
import {getCloudURL} from "../../config/util/about";
|
||||
|
||||
export class Breadcrumb {
|
||||
public element: HTMLElement;
|
||||
@ -373,7 +374,8 @@ ${padHTML}
|
||||
label: window.siyuan.languages.share2Liandi,
|
||||
icon: "iconLiandi",
|
||||
click() {
|
||||
confirmDialog("🚀 " + window.siyuan.languages.share2Liandi, window.siyuan.languages.share2LiandiConfirmTip, () => {
|
||||
confirmDialog("🤩 " + window.siyuan.languages.share2Liandi,
|
||||
window.siyuan.languages.share2LiandiConfirmTip.replace("${accountServer}", getCloudURL("")), () => {
|
||||
fetchPost("/api/export/export2Liandi", {id: protyle.block.parentID});
|
||||
});
|
||||
}
|
||||
|
@ -501,6 +501,7 @@ func matchPackage(keywords []string, pkg *bazaar.Package) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
hitCount := 0
|
||||
for _, keyword := range keywords {
|
||||
if strings.Contains(strings.ToLower(pkg.DisplayName.Default), keyword) ||
|
||||
strings.Contains(strings.ToLower(pkg.DisplayName.ZhCN), keyword) ||
|
||||
@ -512,16 +513,16 @@ func matchPackage(keywords []string, pkg *bazaar.Package) bool {
|
||||
strings.Contains(strings.ToLower(pkg.Description.EnUS), keyword) ||
|
||||
strings.Contains(strings.ToLower(path.Base(pkg.RepoURL)), keyword) ||
|
||||
strings.Contains(strings.ToLower(pkg.Author), keyword) {
|
||||
return true
|
||||
hitCount++
|
||||
}
|
||||
|
||||
for _, pkgKeyword := range pkg.Keywords {
|
||||
if strings.Contains(strings.ToLower(pkgKeyword), keyword) {
|
||||
return true
|
||||
hitCount++
|
||||
}
|
||||
}
|
||||
}
|
||||
return false
|
||||
return hitCount == len(keywords)
|
||||
}
|
||||
|
||||
func getSearchKeywords(query string) (ret []string) {
|
||||
|
@ -847,6 +847,7 @@ func (conf *AppConf) Language(num int) (ret string) {
|
||||
ret = conf.language(num)
|
||||
subscribeURL := util.GetCloudAccountServer() + "/subscribe/siyuan"
|
||||
ret = strings.ReplaceAll(ret, "${url}", subscribeURL)
|
||||
ret = strings.ReplaceAll(ret, "${accountServer}", util.GetCloudAccountServer())
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user