mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-30 20:16:43 +00:00
We need to have the default language baked into the core so that we don’t have problems if no language plugins are available.
6 lines
493 B
Plaintext
6 lines
493 B
Plaintext
title: $:/snippets/minilanguageswitcher
|
|
|
|
<$linkcatcher to="$:/language">
|
|
<$list filter="[[$:/languages/en-GB]] [plugin-type[language]sort[title]]"><div><$reveal state="$:/language" type="match" text={{!!title}}>•</$reveal><$reveal state="$:/language" type="nomatch" text={{!!title}}> </$reveal> <$link to={{!!title}}><$view field="description" format="text"><$view field="name" format="text"><$view field="title" format="text"/></$view></$view></$link></div>
|
|
</$list>
|
|
</$linkcatcher> |