From bfa3ddd077404ad4627b9161bcadf3d5a539c1dc Mon Sep 17 00:00:00 2001 From: Simon Huber Date: Sat, 12 Oct 2019 15:10:06 +0200 Subject: [PATCH] Add two missing tooltips: add-tag button and add-field button (#4306) * add tooltip to field add button * Update EditTemplate.multids * Update EditTemplate.multids * add tooltip to tag-picker add button --- core/language/en-GB/EditTemplate.multids | 2 ++ core/ui/EditTemplate/fields.tid | 2 +- core/wiki/macros/tag-picker.tid | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/core/language/en-GB/EditTemplate.multids b/core/language/en-GB/EditTemplate.multids index 9a80300f0..90ee4975f 100644 --- a/core/language/en-GB/EditTemplate.multids +++ b/core/language/en-GB/EditTemplate.multids @@ -8,6 +8,7 @@ Field/Remove/Hint: Remove field Field/Dropdown/Caption: field list Field/Dropdown/Hint: Show field list Fields/Add/Button: add +Fields/Add/Button/Hint: add field Fields/Add/Name/Placeholder: field name Fields/Add/Prompt: Add a new field: Fields/Add/Value/Placeholder: field value @@ -16,6 +17,7 @@ Fields/Add/Dropdown/User: User fields Shadow/Warning: This is a shadow tiddler. Any changes you make will override the default version from the plugin <> Shadow/OverriddenWarning: This is a modified shadow tiddler. You can revert to the default version in the plugin <> by deleting this tiddler Tags/Add/Button: add +Tags/Add/Button/Hint: add tag Tags/Add/Placeholder: tag name Tags/Dropdown/Caption: tag list Tags/Dropdown/Hint: Show tag list diff --git a/core/ui/EditTemplate/fields.tid b/core/ui/EditTemplate/fields.tid index ad0c78214..6923fac17 100644 --- a/core/ui/EditTemplate/fields.tid +++ b/core/ui/EditTemplate/fields.tid @@ -13,7 +13,7 @@ $:/config/EditTemplateFields/Visibility/$(currentField)$ \define new-field() <$vars name={{$:/temp/newfieldname}}> <$reveal type="nomatch" text="" default=<>> -<$button> +<$button tooltip=<>> <$action-sendmessage $message="tm-add-field" $name=<> $value={{$:/temp/newfieldvalue}}/> diff --git a/core/wiki/macros/tag-picker.tid b/core/wiki/macros/tag-picker.tid index b0c1543cb..952aaf0c5 100644 --- a/core/wiki/macros/tag-picker.tid +++ b/core/wiki/macros/tag-picker.tid @@ -7,7 +7,7 @@ tags: $:/tags/Macro \end \define tag-button() -<$button class="tc-btn-invisible" tag="a"> +<$button class="tc-btn-invisible" tag="a" tooltip={{$:/language/EditTemplate/Tags/Add/Button/Hint}}> $(actions)$ <$action-deletetiddler $tiddler="$:/temp/NewTagName"/> <$macrocall $name="tag-pill" tag=<>/>