diff --git a/plugins/tiddlywiki/menubar/items/contents.tid b/plugins/tiddlywiki/menubar/items/contents.tid index f4fbdb2c2..56bd134b7 100644 --- a/plugins/tiddlywiki/menubar/items/contents.tid +++ b/plugins/tiddlywiki/menubar/items/contents.tid @@ -1,6 +1,6 @@ title: $:/plugins/tiddlywiki/menubar/items/contents -caption: Contents -description: Table of Contents +caption: <> +description: <> is-dropdown: yes tags: $:/tags/MenuBar diff --git a/plugins/tiddlywiki/menubar/items/hamburger.tid b/plugins/tiddlywiki/menubar/items/hamburger.tid index cbacb5a26..363b5e5d0 100644 --- a/plugins/tiddlywiki/menubar/items/hamburger.tid +++ b/plugins/tiddlywiki/menubar/items/hamburger.tid @@ -1,7 +1,7 @@ title: $:/plugins/tiddlywiki/menubar/items/hamburger tags: $:/tags/MenuBar -caption: Hamburger -description: Show the full menu bar on a narrow screen +caption: <> +description: <> custom-menu-content: {{$:/plugins/tiddlywiki/menubar/items/hamburger}} show-when: narrow diff --git a/plugins/tiddlywiki/menubar/items/pagecontrols.tid b/plugins/tiddlywiki/menubar/items/pagecontrols.tid index 833d035f4..adf842c62 100644 --- a/plugins/tiddlywiki/menubar/items/pagecontrols.tid +++ b/plugins/tiddlywiki/menubar/items/pagecontrols.tid @@ -1,7 +1,7 @@ title: $:/plugins/tiddlywiki/menubar/items/pagecontrols tags: $:/tags/MenuBar -description: Page controls from the sidebar -caption: Page controls +description: <> +caption: <> custom-menu-content: <$transclude tiddler="$:/plugins/tiddlywiki/menubar/items/pagecontrols" mode="inline"/> \whitespace trim diff --git a/plugins/tiddlywiki/menubar/items/search.tid b/plugins/tiddlywiki/menubar/items/search.tid index e40f27ab5..280330214 100644 --- a/plugins/tiddlywiki/menubar/items/search.tid +++ b/plugins/tiddlywiki/menubar/items/search.tid @@ -1,7 +1,7 @@ title: $:/plugins/tiddlywiki/menubar/items/search custom-menu-content: {{$:/plugins/tiddlywiki/menubar/items/search}} -description: Search -caption: Search +description: <> +caption: <> tags: $:/tags/MenuBar \define cancel-search-actions() diff --git a/plugins/tiddlywiki/menubar/items/server.tid b/plugins/tiddlywiki/menubar/items/server.tid index 0f0e438ad..a2cf2c457 100644 --- a/plugins/tiddlywiki/menubar/items/server.tid +++ b/plugins/tiddlywiki/menubar/items/server.tid @@ -1,7 +1,7 @@ title: $:/plugins/tiddlywiki/menubar/items/server tags: $:/tags/MenuBar -description: Server options -caption: Server +description: <> +caption: <> custom-menu-content: <$transclude tiddler="$:/plugins/tiddlywiki/menubar/items/server" mode="inline"/> <$list filter="[[$:/status/IsLoggedIn]get[text]else[no]match[yes]]" variable="ignore"> diff --git a/plugins/tiddlywiki/menubar/items/sidebar.tid b/plugins/tiddlywiki/menubar/items/sidebar.tid index 616195a6a..c5e81c79e 100644 --- a/plugins/tiddlywiki/menubar/items/sidebar.tid +++ b/plugins/tiddlywiki/menubar/items/sidebar.tid @@ -1,6 +1,6 @@ title: $:/plugins/tiddlywiki/menubar/items/sidebar -caption: Sidebar -description: Sidebar +caption: <> +description: <> is-dropdown: yes tags: $:/tags/MenuBar diff --git a/plugins/tiddlywiki/menubar/items/topleftbar.tid b/plugins/tiddlywiki/menubar/items/topleftbar.tid index 2743848a6..d25c19f08 100644 --- a/plugins/tiddlywiki/menubar/items/topleftbar.tid +++ b/plugins/tiddlywiki/menubar/items/topleftbar.tid @@ -1,7 +1,7 @@ title: $:/plugins/tiddlywiki/menubar/items/topleftbar tags: $:/tags/MenuBar -description: Items from $:/tags/TopLeftBar -caption: Legacy Top Left Bar +description: <> +caption: <> custom-menu-content: <$transclude tiddler="$:/plugins/tiddlywiki/menubar/items/topleftbar" mode="inline"/> <$list filter="[all[shadows+tiddlers]tag[$:/tags/TopLeftBar]!has[draft.of]]" variable="listItem" storyview="pop"> diff --git a/plugins/tiddlywiki/menubar/items/toprightbar.tid b/plugins/tiddlywiki/menubar/items/toprightbar.tid index ae59e759b..e6bb842e4 100644 --- a/plugins/tiddlywiki/menubar/items/toprightbar.tid +++ b/plugins/tiddlywiki/menubar/items/toprightbar.tid @@ -1,7 +1,7 @@ title: $:/plugins/tiddlywiki/menubar/items/toprightbar tags: $:/tags/MenuBar -description: Items from $:/tags/TopRightBar -caption: Legacy Top Right Bar +description: <> +caption: <> custom-menu-content: <$transclude tiddler="$:/plugins/tiddlywiki/menubar/items/toprightbar" mode="inline"/> custom-menu-styles-wide: float: right; diff --git a/plugins/tiddlywiki/menubar/language/en-GB/Translations.multids b/plugins/tiddlywiki/menubar/language/en-GB/Translations.multids index c0f1a0be9..ba701ef99 100644 --- a/plugins/tiddlywiki/menubar/language/en-GB/Translations.multids +++ b/plugins/tiddlywiki/menubar/language/en-GB/Translations.multids @@ -9,4 +9,17 @@ Config/ContentsTag/Headings: Contents Tag Config/ContentsTag/Description: The tag for the ~TableOfContents used in the Contents dropdown Config/MenuBarColours/Headings: Menu Bar Colours Config/MenuBarColours/Description: To change the colour of the menu bar, define the colours `menubar-foreground` and `menubar-background` in the currently selected palette - +Items/TOC/Name: Contents +Items/TOC/Description: Table of Contents +Items/Hamburger/Name: Hamburger +Items/Hamburger/Description: Show the full menu bar on a narrow screen +Items/PageControls/Name: Page controls +Items/PageControls/Description: Page controls from the sidebar +Items/Search/Name: Search +Items/Server/Name: Server +Items/Server/Description: Server options +Items/Sidebar/Name: Sidebar +Items/TopLeftBar/Name: Legacy Top Left Bar +Items/TopLeftBar/Description: Items from $:/tags/TopLeftBar +Items/TopRightBar/Name: Legacy Top Right Bar +Items/TopRightBar/Description: Items from $:/tags/TopRightBar \ No newline at end of file diff --git a/plugins/tiddlywiki/menubar/language/zh-Hans/Translations.multids b/plugins/tiddlywiki/menubar/language/zh-Hans/Translations.multids index 46f0d2aaa..ab838ac97 100644 --- a/plugins/tiddlywiki/menubar/language/zh-Hans/Translations.multids +++ b/plugins/tiddlywiki/menubar/language/zh-Hans/Translations.multids @@ -8,4 +8,18 @@ Config/BreakpointPosition/Description: 窄屏和宽屏之间的分界点位置 Config/ContentsTag/Headings: 内容标签 Config/ContentsTag/Description: 内容下拉菜单中使用的 TOC 目录标签 Config/MenuBarColours/Headings: 菜单栏颜色 -Config/MenuBarColours/Description: 要更改菜单栏的颜色,请在当前选定的调色板中定义颜色 `menubar-foreground` 和 `menubar-background`。 \ No newline at end of file +Config/MenuBarColours/Description: 要更改菜单栏的颜色,请在当前选定的调色板中定义颜色 `menubar-foreground` 和 `menubar-background`。 +Items/TOC/Name: 内容 +Items/TOC/Description: 目录 +Items/Hamburger/Name: 抽屉 +Items/Hamburger/Description: 在窄屏幕上显示完整的菜单栏 +Items/PageControls/Name: 页面控件 +Items/PageControls/Description: 来自侧边栏的页面控件 +Items/Search/Name: 搜索 +Items/Server/Name: 服务器 +Items/Server/Description: 服务器选项 +Items/Sidebar/Name: 侧边栏 +Items/TopLeftBar/Name: 旧版左上角栏 +Items/TopLeftBar/Description: 来自 $:/tags/TopLeftBar 的项目 +Items/TopRightBar/Name: 旧版右上角栏 +Items/TopRightBar/Description: 来自 $:/tags/TopRightBar 的项目 \ No newline at end of file