sillsdev / l10nsharp

A .NET localization library for Windows Forms applications.
3 stars 10 forks source link

Empty string for l10n ID causes crash #104

Open andrew-polk opened 1 year ago

andrew-polk commented 1 year ago

Adding LocalizationManager.GetString("", "Some String"); in the client causes a 0-length .xlf file to be generated which crashes the application on launch (at least in Bloom).

Clearly, this is errant code, but we should handle it more gracefully.