Fix "NoTranslation" bug for plugins

1. fix #475
2. remove GetLanguagesFolder, part of #468
3. bug introduced since 1f939ff3
This commit is contained in:
bao-qian
2016-02-17 15:49:55 +00:00
parent e885cb6c45
commit 79b4716b95
16 changed files with 30 additions and 85 deletions

View File

@@ -1,9 +1,7 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Wox.Core.Plugin;
using Wox.Core.UserSettings;
using Wox.Infrastructure;
namespace Wox.Plugin.PluginIndicator
{
@@ -39,11 +37,6 @@ namespace Wox.Plugin.PluginIndicator
this.context = context;
}
public string GetLanguagesFolder()
{
return Path.Combine(WoxDirectroy.Executable, "Languages");
}
public string GetTranslatedPluginTitle()
{
return context.API.GetTranslation("wox_plugin_pluginindicator_plugin_name");