Flow.Launcher/Plugins/Wox.Plugin.Calculator/DecimalSeparator.cs
SysC0mp 73a264b00d Create DecimalSeperator enum
Localization is handled using the LocalizedDescription attribute and the
LocalizationConverter.
2020-02-25 17:43:12 +01:00

24 lines
No EOL
648 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wox.Core;
namespace Wox.Plugin.Caculator
{
[TypeConverter(typeof(LocalizationConverter))]
public enum DecimalSeparator
{
[LocalizedDescription("wox_plugin_calculator_decimal_seperator_use_system_locale")]
UseSystemLocale,
[LocalizedDescription("wox_plugin_calculator_decimal_seperator_dot")]
Dot,
[LocalizedDescription("wox_plugin_calculator_decimal_seperator_comma")]
Comma
}
}