diff --git a/editions/dev/tiddlers/system/version-macros.tid b/editions/dev/tiddlers/system/version-macros.tid index 0fb7dcf12..205ac37a3 100644 --- a/editions/dev/tiddlers/system/version-macros.tid +++ b/editions/dev/tiddlers/system/version-macros.tid @@ -9,6 +9,6 @@ type: text/vnd.tiddlywiki <$link to={{{ [<__version__>addprefix[Release ]] }}} class="doc-from-version">{{$:/core/images/warning}} New in: <$text text=<<__version__>>/> \end -\define .deprecated-since(version, superseded:"TODO-Link") -<$link to="Deprecated - What does it mean" class="doc-deprecated-version tc-btn-invisible">{{$:/core/images/warning}} Deprecated since: <$text text=<<__version__>>/> (see <$link to=<<__superseded__>>><$text text=<<__superseded__>>/>) +\define .deprecated-since(version, superseded:"") +<$link to="Deprecated - What does it mean" class="doc-deprecated-version tc-btn-invisible">{{$:/core/images/warning}} Deprecated from v<$text text=<<__version__>>/> <%if [<__superseded__>else[]!match[]] %>(see <$link to=<<__superseded__>>><$text text=<<__superseded__>>/>)<%endif%> \end diff --git a/editions/fr-FR/tiddlers/$__editions_tw5.com_version-macros.tid b/editions/fr-FR/tiddlers/$__editions_tw5.com_version-macros.tid index 873ad42ed..dd36a0979 100644 --- a/editions/fr-FR/tiddlers/$__editions_tw5.com_version-macros.tid +++ b/editions/fr-FR/tiddlers/$__editions_tw5.com_version-macros.tid @@ -9,7 +9,7 @@ type: text/vnd.tiddlywiki \end \define .deprecated-since(version, superseded:"TODO-Link") -<$button to="Deprecated - What does it mean" class="doc-deprecated-version tc-btn-invisible">{{$:/core/images/warning}} Obsolète depuis<<:>> $version$ . Utilisez [[$superseded$]] à la place +<$button to="Deprecated - What does it mean" class="doc-deprecated-version tc-btn-invisible">{{$:/core/images/warning}} Obsolète depuis<<:>> $version$ . <%if [<__superseded__>else[]!match[]] %>Utilisez [[$superseded$]] à la place<%endif%> \end
<$view field="text"/>
\ No newline at end of file diff --git a/editions/tw5.com/tiddlers/system/version-macros.tid b/editions/tw5.com/tiddlers/system/version-macros.tid index 55ef03687..c03f4237c 100644 --- a/editions/tw5.com/tiddlers/system/version-macros.tid +++ b/editions/tw5.com/tiddlers/system/version-macros.tid @@ -26,13 +26,15 @@ type: text/vnd.tiddlywiki <% endif %> \end -\procedure .deprecated-since(version, superseded:"TODO-Link") +\procedure .deprecated-since(version, superseded:"") <$link to="Deprecated - What does it mean" class="doc-deprecated-version tc-btn-invisible"> {{$:/core/images/warning}} - Deprecated since: - <$text text=<>/> + Deprecated from + v<$text text=<>/> - - (see <$link class="tc-tiny-gap-left" to=<>><$text text=<>/>) - +<%if [else[]!match[]] %> + + (see <$link class="tc-tiny-gap-left" to=<>><$text text=<>/>) + +<%endif%> \end