This commit is contained in:
parent
95bbde0b6d
commit
156168205f
6 changed files with 23 additions and 3 deletions
|
@ -6,6 +6,10 @@
|
|||
"relatedTo": "Relation to",
|
||||
"relation": "Relation",
|
||||
"rollup": "Rollup",
|
||||
"rollupProperty": "Property",
|
||||
"rollupCalc": "Calculate",
|
||||
"searchRelation": "Search for a relation property",
|
||||
"searchRollupProperty": "Search for a property",
|
||||
"replaceTypes": {
|
||||
"text": "Normal text",
|
||||
"imgText": "Image alt text",
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
"relatedTo": "Relación con",
|
||||
"relation": "Relación",
|
||||
"rollup": "Acumular",
|
||||
"rollupProperty": "Propiedad",
|
||||
"rollupCalc": "Calcular",
|
||||
"searchRelation": "Buscar una propiedad de relación",
|
||||
"searchRollupProperty": "Buscar una propiedad",
|
||||
"replaceTypes": {
|
||||
"text": "Texto normal",
|
||||
"imgText": "Texto alternativo de la imagen",
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
"relatedTo" : " Relation avec ",
|
||||
"relation": "Relation",
|
||||
"rollup": "Rollup",
|
||||
"rollupProperty": "Propriété",
|
||||
"rollupCalc": "Calculer",
|
||||
"searchRelation": "Rechercher une propriété de relation",
|
||||
"searchRollupProperty": "Rechercher une propriété",
|
||||
"replaceTypes": {
|
||||
"text": "Texte normal",
|
||||
"imgText": "Texte alternatif de l'image",
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
"relatedTo": "關聯至",
|
||||
"relation": "關聯",
|
||||
"rollup": "匯總",
|
||||
"rollupProperty": "總計欄位",
|
||||
"rollupCalc": "彙總方式",
|
||||
"searchRelation": "搜尋關聯列",
|
||||
"searchRollupProperty": "搜尋總計欄位",
|
||||
"replaceTypes": {
|
||||
"text": "普通文字",
|
||||
"imgText": "圖片提示文字",
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
"relatedTo": "关联至",
|
||||
"relation": "关联",
|
||||
"rollup": "汇总",
|
||||
"rollupProperty": "汇总字段",
|
||||
"rollupCalc": "汇总方式",
|
||||
"searchRelation": "搜索关联列",
|
||||
"searchRollupProperty": "搜索汇总字段",
|
||||
"replaceTypes": {
|
||||
"text": "普通文本",
|
||||
"imgText": "图片提示文本",
|
||||
|
|
|
@ -96,7 +96,7 @@ export const goSearchRollupCol = (options: {
|
|||
iconHTML: "",
|
||||
type: "empty",
|
||||
label: `<div class="fn__flex-column" style = "min-width: 260px;max-width:420px;max-height: 50vh">
|
||||
<input class="b3-text-field fn__flex-shrink"/>
|
||||
<input class="b3-text-field fn__flex-shrink" placeholder="${window.siyuan.languages[options.isRelation ? "searchRelation" : "searchRollupProperty"]}"/>
|
||||
<div class="fn__hr"></div>
|
||||
<div class="b3-list fn__flex-1 b3-list--background">
|
||||
<img style="margin: 0 auto;display: block;width: 64px;height: 64px" src="/stage/loading-pure.svg">
|
||||
|
@ -164,12 +164,12 @@ export const getRollupHTML = (options: { data?: IAV, cellElements?: HTMLElement[
|
|||
<svg class="b3-menu__icon b3-menu__icon--small"><use xlink:href="#iconRight"></use></svg>
|
||||
</button>
|
||||
<button class="b3-menu__item" data-type="goSearchRollupTarget">
|
||||
<span class="b3-menu__label">${window.siyuan.languages.attr}</span>
|
||||
<span class="b3-menu__label">${window.siyuan.languages.rollupProperty}</span>
|
||||
<span class="b3-menu__accelerator"></span>
|
||||
<svg class="b3-menu__icon b3-menu__icon--small"><use xlink:href="#iconRight"></use></svg>
|
||||
</button>
|
||||
<button class="b3-menu__item" data-type="goSearchRollupCalc">
|
||||
<span class="b3-menu__label">${window.siyuan.languages.calc}</span>
|
||||
<span class="b3-menu__label">${window.siyuan.languages.rollupCalc}</span>
|
||||
<span class="b3-menu__accelerator">${getNameByOperator(colData.rollup?.calc?.operator, true)}</span>
|
||||
<svg class="b3-menu__icon b3-menu__icon--small"><use xlink:href="#iconRight"></use></svg>
|
||||
</button>`;
|
||||
|
|
Loading…
Add table
Reference in a new issue