mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-02 12:19:11 +00:00
Use different wording for unfolding vs folding
Apologies for making more work @BramChen!
This commit is contained in:
parent
16c69bb419
commit
4152fbbfeb
@ -30,8 +30,10 @@ ExportTiddler/Caption: export tiddler
|
||||
ExportTiddler/Hint: Export tiddler
|
||||
ExportTiddlers/Caption: export tiddlers
|
||||
ExportTiddlers/Hint: Export tiddlers
|
||||
Fold/Caption: fold/unfold tiddler
|
||||
Fold/Hint: Fold/unfold the body of this tiddler
|
||||
Fold/Caption: fold tiddler
|
||||
Fold/Hint: Fold the body of this tiddler
|
||||
Unfold/Caption: unfold tiddler
|
||||
Unfold/Hint: Unfold the body of this tiddler
|
||||
FoldOthers/Caption: fold other tiddlers
|
||||
FoldOthers/Hint: Fold the bodies of other opened tiddlers
|
||||
FullScreen/Caption: full-screen
|
||||
|
@ -7,17 +7,30 @@ description: {{$:/language/Buttons/Fold/Hint}}
|
||||
$:/state/folded/$(currentTiddler)$
|
||||
\end
|
||||
|
||||
<$reveal type="nomatch" state=<<folded-state>> text="hide" default="show">
|
||||
<$button tooltip={{$:/language/Buttons/Fold/Hint}} aria-label={{$:/language/Buttons/Fold/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$action-sendmessage $message="tm-fold-tiddler" $param=<<currentTiddler>> foldedState=<<folded-state>>/>
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]" variable="listItem">
|
||||
<$reveal type="nomatch" state=<<folded-state>> text="hide" default="show">
|
||||
{{$:/core/images/fold-button}}
|
||||
</$reveal>
|
||||
<$reveal type="match" state=<<folded-state>> text="hide" default="show">
|
||||
{{$:/core/images/unfold-button}}
|
||||
</$reveal>
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Fold/Caption}}/></span>
|
||||
<span class="tc-btn-text">
|
||||
<$text text={{$:/language/Buttons/Fold/Caption}}/>
|
||||
</span>
|
||||
</$list>
|
||||
</$button>
|
||||
</$reveal>
|
||||
|
||||
<$reveal type="match" state=<<folded-state>> text="hide" default="show">
|
||||
<$button tooltip={{$:/language/Buttons/Unfold/Hint}} aria-label={{$:/language/Buttons/Unfold/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$action-sendmessage $message="tm-fold-tiddler" $param=<<currentTiddler>> foldedState=<<folded-state>>/>
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]" variable="listItem">
|
||||
{{$:/core/images/unfold-button}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<span class="tc-btn-text">
|
||||
<$text text={{$:/language/Buttons/Unfold/Caption}}/>
|
||||
</span>
|
||||
</$list>
|
||||
</$button>
|
||||
</$reveal>
|
||||
|
@ -11,3 +11,5 @@ core/ui/Buttons/open-window: hide
|
||||
core/ui/Buttons/permalink: hide
|
||||
core/ui/Buttons/permaview: hide
|
||||
core/ui/Buttons/delete: hide
|
||||
core/ui/Buttons/fold: hide
|
||||
core/ui/Buttons/fold-others: hide
|
||||
|
Loading…
Reference in New Issue
Block a user