Skip to content

Commit

Permalink
PluginListComponent: Added missing TRANS statements
Browse files Browse the repository at this point in the history
  • Loading branch information
chrhaase authored Nov 15, 2024
1 parent 5179f4e commit 6ef311d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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]
{
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 6ef311d

Please sign in to comment.