diff --git a/core/language/en-GB/Buttons.multids b/core/language/en-GB/Buttons.multids index 3a22529fc..a93da4ed4 100644 --- a/core/language/en-GB/Buttons.multids +++ b/core/language/en-GB/Buttons.multids @@ -141,6 +141,8 @@ LineWidth/Caption: line width LineWidth/Hint: Set line width for painting Link/Caption: link Link/Hint: Create wikitext link +Linkify/Caption: wikilink +Linkify/Hint: Wrap selection in square brackets ListBullet/Caption: bulleted list ListBullet/Hint: Apply bulleted list formatting to lines containing selection ListNumber/Caption: numbered list @@ -177,5 +179,7 @@ Subscript/Caption: subscript Subscript/Hint: Apply subscript formatting to selection Superscript/Caption: superscript Superscript/Hint: Apply superscript formatting to selection +Transclusion/Caption: transclusion +Transclusion/Hint: Wrap selection in curly brackets Underline/Caption: underline Underline/Hint: Apply underline formatting to selection diff --git a/core/ui/EditorToolbar/linkify.tid b/core/ui/EditorToolbar/linkify.tid new file mode 100644 index 000000000..69f9d1806 --- /dev/null +++ b/core/ui/EditorToolbar/linkify.tid @@ -0,0 +1,14 @@ +caption: {{$:/language/Buttons/Linkify/Caption}} +condition: [!has[type]] [type[text/vnd.tiddlywiki]] +description: {{$:/language/Buttons/Linkify/Hint}} +icon: $:/core/images/linkify +list-before: $:/core/ui/EditorToolbar/mono-block +shortcuts: ((linkify)) +title: $:/core/ui/EditorToolbar/linkify + +<$action-sendmessage + $message="tm-edit-text-operation" + $param="wrap-selection" + prefix="[[" + suffix="]]" +/> diff --git a/core/ui/EditorToolbar/transcludify.tid b/core/ui/EditorToolbar/transcludify.tid new file mode 100644 index 000000000..ba8e00639 --- /dev/null +++ b/core/ui/EditorToolbar/transcludify.tid @@ -0,0 +1,14 @@ +caption: {{$:/language/Buttons/Transcludify/Caption}} +condition: [!has[type]] [type[text/vnd.tiddlywiki]] +description: {{$:/language/Buttons/Transcludify/Hint}} +icon: $:/core/images/transcludify +list-before: $:/core/ui/EditorToolbar/mono-block +shortcuts: ((transcludify)) +title: $:/core/ui/EditorToolbar/transcludify + +<$action-sendmessage + $message="tm-edit-text-operation" + $param="wrap-selection" + prefix="{{" + suffix="}}" +/> diff --git a/languages/de-DE/Buttons.multids b/languages/de-DE/Buttons.multids index 0c5c07401..87d4888bf 100644 --- a/languages/de-DE/Buttons.multids +++ b/languages/de-DE/Buttons.multids @@ -139,6 +139,8 @@ LineWidth/Caption: Zeilen Länge LineWidth/Hint: Wählen Sie die Zeilenlänge Link/Caption: Link Link/Hint: Erstellt einen Wiki-Link +Linkify/Caption: Wikilink +Linkify/Hint: Den selektierten Text in eckige Klammern wickeln ListBullet/Caption: Punkteliste ListBullet/Hint: Zeilen, die eine Markierung enthalten, werden als Punkteliste formatiert ListNumber/Caption: Aufzählungsliste @@ -175,5 +177,7 @@ Subscript/Caption: Tiefsgestellt Subscript/Hint: Ausgewählten Text tiefgestellt darstellen Superscript/Caption: Hochgestellt Superscript/Hint: Ausgewählten Text hochgestellt darstellen +Transcludify/Caption: Transklusion +Transcludify/Hint: Transklusion auf den selektierten Text anwenden Underline/Caption: Unterstreichen -Underline/Hint: Ausgewählten Text unterstrichen darstellen \ No newline at end of file +Underline/Hint: Ausgewählten Text unterstrichen darstellen