From bb462210c3c527aab263bae77e26328642b9ee96 Mon Sep 17 00:00:00 2001 From: Leilei332 Date: Mon, 30 Sep 2024 21:24:10 +0800 Subject: [PATCH] Make stability badges in add plugin modal translatable (#8642) A further implementation for #8614 --- core/ui/ControlPanel/Modals/AddPlugins.tid | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/ui/ControlPanel/Modals/AddPlugins.tid b/core/ui/ControlPanel/Modals/AddPlugins.tid index fe096d6d0b..7772f48872 100644 --- a/core/ui/ControlPanel/Modals/AddPlugins.tid +++ b/core/ui/ControlPanel/Modals/AddPlugins.tid @@ -75,13 +75,13 @@ $:/state/add-plugin-info/$(connectionTiddler)$/$(assetInfo)$

<$view tiddler=<> field="original-title"/>

<%if [get[stability]match[STABILITY_0_DEPRECATED]] %> - DEPRECATED + {{$:/language/ControlPanel/Plugins/Stability/Deprecated}} <%elseif [get[stability]match[STABILITY_1_EXPERIMENTAL]] %> - EXPERIMENTAL + {{$:/language/ControlPanel/Plugins/Stability/Experimental}} <%elseif [get[stability]match[STABILITY_2_STABLE]] %> - STABLE + {{$:/language/ControlPanel/Plugins/Stability/Stable}} <%elseif [get[stability]match[STABILITY_3_LEGACY]] %> - LEGACY + {{$:/language/ControlPanel/Plugins/Stability/Legacy}} <%endif%> <$view tiddler=<> field="version"/>
<$list filter="[get[original-title]get[version]]" variable="installedVersion">
{{$:/language/ControlPanel/Plugins/AlreadyInstalled/Hint}}