📝 更新搜索分组布局文案
This commit is contained in:
parent
3e2bddf5d8
commit
0e90c3304e
6 changed files with 24 additions and 4 deletions
|
@ -1,4 +1,8 @@
|
|||
{
|
||||
"noGroupBy": "No grouping",
|
||||
"groupByDoc": "Group by document",
|
||||
"leftRightLayout": "Left and right layout",
|
||||
"topBottomLayout": "Top and bottom layout",
|
||||
"keyword": "Keyword",
|
||||
"searchMethod": "Search Method",
|
||||
"regex": "Regex",
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
{
|
||||
"noGroupBy": "Sin agrupar",
|
||||
"groupByDoc": "Agrupar por documento",
|
||||
"leftRightLayout": "Disposición izquierda y derecha",
|
||||
"topBottomLayout": "Diseño superior e inferior",
|
||||
"keyword": "Palabra clave",
|
||||
"searchMethod": "método de búsqueda",
|
||||
"regex": "Regex",
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
{
|
||||
"noGroupBy": "Aucun regroupement",
|
||||
"groupByDoc": "Regrouper par document",
|
||||
"leftRightLayout": "Disposition gauche et droite",
|
||||
"topBottomLayout": "Disposition du haut et du bas",
|
||||
"keyword": "Mot-clé",
|
||||
"searchMethod": "méthode de recherche",
|
||||
"regex": "Regex",
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
{
|
||||
"noGroupBy": "不分組",
|
||||
"groupByDoc": "按文檔分組",
|
||||
"leftRightLayout": "左右佈局",
|
||||
"topBottomLayout": "上下佈局",
|
||||
"keyword": "關鍵字",
|
||||
"searchMethod":"搜索方式",
|
||||
"regex":"正則表達式",
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
{
|
||||
"noGroupBy": "不分组",
|
||||
"groupByDoc": "按文档分组",
|
||||
"leftRightLayout": "左右布局",
|
||||
"topBottomLayout": "上下布局",
|
||||
"keyword": "关键字",
|
||||
"searchMethod":"搜索方式",
|
||||
"regex":"正则表达式",
|
||||
|
|
|
@ -557,7 +557,7 @@ export const genSearch = (config: ISearchOption, element: Element, closeCB?: ()
|
|||
const addConfigGroupMenu = (config: ISearchOption, edit: Protyle, element: Element) => {
|
||||
window.siyuan.menus.menu.remove();
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
label: window.siyuan.languages.list1,
|
||||
label: window.siyuan.languages.noGroupBy,
|
||||
current: config.group === 0,
|
||||
click() {
|
||||
element.querySelector("#searchCollapse").parentElement.classList.add("fn__none");
|
||||
|
@ -566,7 +566,7 @@ const addConfigGroupMenu = (config: ISearchOption, edit: Protyle, element: Eleme
|
|||
}
|
||||
}).element);
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
label: window.siyuan.languages.doc,
|
||||
label: window.siyuan.languages.groupByDoc,
|
||||
current: config.group === 1,
|
||||
click() {
|
||||
element.querySelector("#searchCollapse").parentElement.classList.remove("fn__none");
|
||||
|
@ -575,7 +575,7 @@ const addConfigGroupMenu = (config: ISearchOption, edit: Protyle, element: Eleme
|
|||
}
|
||||
}).element);
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
label: window.siyuan.languages.document_properties_page_size_orientation_portrait,
|
||||
label: window.siyuan.languages.topBottomLayout,
|
||||
current: config.layout === 0,
|
||||
click() {
|
||||
element.querySelector(".search__layout").classList.remove("search__layout--row")
|
||||
|
@ -587,7 +587,7 @@ const addConfigGroupMenu = (config: ISearchOption, edit: Protyle, element: Eleme
|
|||
}
|
||||
}).element);
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
label: window.siyuan.languages.document_properties_page_size_orientation_landscape,
|
||||
label: window.siyuan.languages.leftRightLayout,
|
||||
current: config.layout === 1,
|
||||
click() {
|
||||
element.querySelector(".search__layout").classList.add("search__layout--row")
|
||||
|
|
Loading…
Add table
Reference in a new issue