1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-29 11:30:28 +00:00
TiddlyWiki5/core/wiki/encryptionstatus.tid
Jermolene e051eb7d90 Making more things translateable
Now we’re done with the text that lives in tiddlers, and we’ll need to
get on with the text that is embedded in code modules.
2014-02-16 09:46:43 +00:00

12 lines
589 B
Plaintext

title: $:/snippets/encryptionstatus
\define lingo-base() $:/language/ControlPanel/Tools/Encryption/
<$reveal type="match" state="$:/isEncrypted" text="yes">
<<lingo Enabled/Prompt>>
<$button message="tw-clear-password" class="btn btn-danger"><<lingo ClearPassword/Button>></$button>
<$button message="tw-set-password" class="btn btn-warning"><<lingo ChangePassword/Button>></$button>
</$reveal>
<$reveal type="nomatch" state="$:/isEncrypted" text="yes">
<<lingo Disabled/Prompt>>
<$button message="tw-set-password" class="btn btn-warning"><<lingo SetPassword/Button>></$button>
</$reveal>