From c38641157088fdd76b357edf0a71fe250eed2937 Mon Sep 17 00:00:00 2001 From: Leilei332 Date: Tue, 17 Sep 2024 20:16:18 +0800 Subject: [PATCH] Make stability badge text translatable (#8614) --- core/language/en-GB/ControlPanel.multids | 4 ++++ core/ui/Components/plugin-info.tid | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/core/language/en-GB/ControlPanel.multids b/core/language/en-GB/ControlPanel.multids index a1b164c5c87..7adf4aa04b1 100644 --- a/core/language/en-GB/ControlPanel.multids +++ b/core/language/en-GB/ControlPanel.multids @@ -96,6 +96,10 @@ Plugins/PluginWillRequireReload: (requires reload) Plugins/Plugins/Caption: Plugins Plugins/Plugins/Hint: Plugins Plugins/Reinstall/Caption: reinstall +Plugins/Stability/Deprecated: DEPRECATED +Plugins/Stability/Experimental: EXPERIMENTAL +Plugins/Stability/Legacy: LEGACY +Plugins/Stability/Stable: STABLE Plugins/Themes/Caption: Themes Plugins/Themes/Hint: Theme plugins Plugins/Update/Caption: update diff --git a/core/ui/Components/plugin-info.tid b/core/ui/Components/plugin-info.tid index d7f408bd91e..50766e51de9 100644 --- a/core/ui/Components/plugin-info.tid +++ b/core/ui/Components/plugin-info.tid @@ -47,13 +47,13 @@ $:/config/Plugins/Disabled/$(currentTiddler)$

<%if [get[stability]match[STABILITY_0_DEPRECATED]] %> - DEPRECATED + <> <%elseif [get[stability]match[STABILITY_1_EXPERIMENTAL]] %> - EXPERIMENTAL + <> <%elseif [get[stability]match[STABILITY_2_STABLE]] %> - STABLE + <> <%elseif [get[stability]match[STABILITY_3_LEGACY]] %> - LEGACY + <> <%endif%> <$view field="version"/>