From 6ef311da656be0e99ec85c2ff68378523a28bbdc Mon Sep 17 00:00:00 2001 From: Christian Haase Date: Fri, 15 Nov 2024 10:09:06 +0100 Subject: [PATCH] PluginListComponent: Added missing `TRANS` statements --- .../scanning/juce_PluginListComponent.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/juce_audio_processors/scanning/juce_PluginListComponent.cpp b/modules/juce_audio_processors/scanning/juce_PluginListComponent.cpp index 3c748685d9ec..e1484c151877 100644 --- a/modules/juce_audio_processors/scanning/juce_PluginListComponent.cpp +++ b/modules/juce_audio_processors/scanning/juce_PluginListComponent.cpp @@ -404,7 +404,7 @@ PluginListComponent::PluginListComponent (AudioPluginFormatManager& manager, Kno : formatManager (manager), list (listToEdit), deadMansPedalFile (deadMansPedal), - optionsButton ("Options..."), + optionsButton (TRANS ("Options...")), propertiesToUse (props), allowAsync (allowPluginsWhichRequireAsynchronousInstantiation), numThreads (allowAsync ? 1 : 0) @@ -554,7 +554,7 @@ PopupMenu PluginListComponent::createOptionsMenu() for (auto format : formatManager.getFormats()) if (format->canScanForPlugins()) - menu.addItem (PopupMenu::Item ("Remove all " + format->getName() + " plug-ins") + menu.addItem (PopupMenu::Item (TRANS ("Remove all XFMTX plug-ins").replace ("XFMTX", format->getName())) .setEnabled (! list.getTypesForFormat (*format).isEmpty()) .setAction ([this, format] { @@ -583,7 +583,7 @@ PopupMenu PluginListComponent::createOptionsMenu() for (auto format : formatManager.getFormats()) if (format->canScanForPlugins()) - menu.addItem (PopupMenu::Item ("Scan for new or updated " + format->getName() + " plug-ins") + menu.addItem (PopupMenu::Item (TRANS ("Scan for new or updated XFMTX plug-ins").replace ("XFMTX", format->getName())) .setAction ([this, format] { scanFor (*format); })); return menu;