Text owners should localize their text values

- Derived types should localize their own text rather than the base
This commit is contained in:
John Lewin 2017-12-04 10:39:08 -08:00
parent 96ef163ef3
commit ffc9ade8cb
10 changed files with 22 additions and 17 deletions

View file

@ -89,7 +89,7 @@ namespace MatterHackers.MatterControl
foreach (IExportPlugin plugin in PluginFinder.CreateInstancesOf<IExportPlugin>().OrderBy(p => p.ButtonText))
{
// Create export button for each plugin
var pluginButton = new RadioButton(new RadioImageWidget(plugin.ButtonText.Localize(), plugin.Icon))
var pluginButton = new RadioButton(new RadioImageWidget(plugin.ButtonText, plugin.Icon))
{
HAnchor = HAnchor.Left,
Margin = commonMargin,