mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 20:57:22 +02:00
Fix "NoTranslation" bug for plugins
1. fix #475 2. remove GetLanguagesFolder, part of #468 3. bug introduced since 1f939ff3
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Text.RegularExpressions;
|
||||
using Wox.Infrastructure;
|
||||
|
||||
namespace Wox.Plugin.Url
|
||||
{
|
||||
@@ -103,11 +101,6 @@ namespace Wox.Plugin.Url
|
||||
this.context = context;
|
||||
}
|
||||
|
||||
public string GetLanguagesFolder()
|
||||
{
|
||||
return Path.Combine(WoxDirectroy.Executable, "Languages");
|
||||
}
|
||||
|
||||
public string GetTranslatedPluginTitle()
|
||||
{
|
||||
return context.API.GetTranslation("wox_plugin_url_plugin_name");
|
||||
|
||||
Reference in New Issue
Block a user