mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-01 07:36:18 +00:00
753a820945
* change aria-label from caption to hint to make it more descriptive * add indentation
25 lines
713 B
Plaintext
25 lines
713 B
Plaintext
title: $:/core/ui/Buttons/save
|
|
tags: $:/tags/EditToolbar
|
|
caption: {{$:/core/images/done-button}} {{$:/language/Buttons/Save/Caption}}
|
|
description: {{$:/language/Buttons/Save/Hint}}
|
|
|
|
\whitespace trim
|
|
\procedure save-tiddler-button()
|
|
<$fieldmangler>
|
|
<$button
|
|
tooltip={{$:/language/Buttons/Save/Hint}}
|
|
aria-label={{$:/language/Buttons/Save/Hint}}
|
|
class=<<tv-config-toolbar-class>>
|
|
>
|
|
<<save-tiddler-actions>>
|
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
|
{{$:/core/images/done-button}}
|
|
<%endif%>
|
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
|
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Save/Caption}}/></span>
|
|
<%endif%>
|
|
</$button>
|
|
</$fieldmangler>
|
|
\end
|
|
<<save-tiddler-button>>
|