Update text

This commit is contained in:
Vic 2022-10-23 20:05:51 +08:00
parent 1715f8145d
commit 5103b2b712
2 changed files with 2 additions and 1 deletions

View file

@ -39,6 +39,7 @@
<system:String x:Key="flowlauncher_plugin_program_only_index_tip">Program Plugin will only index files that end with the following file types.</system:String>
<system:String x:Key="flowlauncher_plugin_program_update_file_suffixes">Successfully updated file suffixes</system:String>
<system:String x:Key="flowlauncher_plugin_program_suffixes_cannot_empty">File suffixes can't be empty</system:String>
<system:String x:Key="flowlauncher_plugin_protocols_cannot_empty">Protocols can't be empty</system:String>
<system:String x:Key="flowlauncher_plugin_program_suffixes_excutable_types">Excutable Types</system:String>
<system:String x:Key="flowlauncher_plugin_program_suffixes_URL_types">URL Types</system:String>

View file

@ -39,7 +39,7 @@ namespace Flow.Launcher.Plugin.Program
if (protocols.Length == 0 && _settings.UseCustomProtocols)
{
string warning = context.API.GetTranslation("flowlauncher_plugin_program_suffixes_cannot_empty"); // TODO text update
string warning = context.API.GetTranslation("flowlauncher_plugin_protocols_cannot_empty");
MessageBox.Show(warning);
return;
}