Inline localization strings

This commit is contained in:
John Lewin 2018-06-28 08:55:39 -07:00
parent 907a5a1844
commit 49a1d2e2c7

View file

@ -213,8 +213,8 @@ namespace MatterHackers.MatterControl.ConfigurationPage
ApplicationController.Instance.Library.NotifyContainerChanged();
}
},
rebuildThumbnailsMessage,
rebuildThumbnailsTitle,
"You are switching to a different thumbnail rendering mode. If you want, your current thumbnails can be removed and recreated in the new style. You can switch back and forth at any time. There will be some processing overhead while the new thumbnails are created.\n\nDo you want to rebuild your existing thumbnails now?".Localize(),
"Rebuild Thumbnails Now".Localize(),
StyledMessageBox.MessageType.YES_NO,
"Rebuild".Localize());
});
@ -418,9 +418,6 @@ namespace MatterHackers.MatterControl.ConfigurationPage
return container;
}
private string rebuildThumbnailsMessage = "You are switching to a different thumbnail rendering mode. If you want, your current thumbnails can be removed and recreated in the new style. You can switch back and forth at any time. There will be some processing overhead while the new thumbnails are created.\n\nDo you want to rebuild your existing thumbnails now?".Localize();
private string rebuildThumbnailsTitle = "Rebuild Thumbnails Now".Localize();
[Conditional("DEBUG")]
private void GenerateLocalizationValidationFile()
{