mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
Add plugin title translations
This commit is contained in:
@@ -220,5 +220,15 @@ namespace Wox.Plugin.Folder
|
||||
{
|
||||
return Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "Languages");
|
||||
}
|
||||
|
||||
public string GetTranslatedPluginTitle()
|
||||
{
|
||||
return context.API.GetTranslation("wox_plugin_folder_plugin_name");
|
||||
}
|
||||
|
||||
public string GetTranslatedPluginDescription()
|
||||
{
|
||||
return context.API.GetTranslation("wox_plugin_folder_plugin_description");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8,5 +8,8 @@
|
||||
<system:String x:Key="wox_plugin_folder_folder_path">Folder Path</system:String>
|
||||
<system:String x:Key="wox_plugin_folder_select_folder_link_warning">Please select a folder link</system:String>
|
||||
<system:String x:Key="wox_plugin_folder_delete_folder_link">Are your sure to delete {0}?</system:String>
|
||||
|
||||
|
||||
<system:String x:Key="wox_plugin_folder_plugin_name">Folder</system:String>
|
||||
<system:String x:Key="wox_plugin_folder_plugin_description">Open favorite folder from wox directorily</system:String>
|
||||
|
||||
</ResourceDictionary>
|
||||
@@ -1,12 +1,15 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:system="clr-namespace:System;assembly=mscorlib">
|
||||
|
||||
<system:String x:Key="wox_plugin_folder_delete">删除</system:String>
|
||||
<system:String x:Key="wox_plugin_folder_edit">编辑</system:String>
|
||||
<system:String x:Key="wox_plugin_folder_add">添加</system:String>
|
||||
<system:String x:Key="wox_plugin_folder_folder_path">文件夹路径</system:String>
|
||||
<system:String x:Key="wox_plugin_folder_select_folder_link_warning">请选择一个文件夹</system:String>
|
||||
<system:String x:Key="wox_plugin_folder_delete_folder_link">你确定要删除{0}吗?</system:String>
|
||||
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:system="clr-namespace:System;assembly=mscorlib">
|
||||
|
||||
<system:String x:Key="wox_plugin_folder_delete">删除</system:String>
|
||||
<system:String x:Key="wox_plugin_folder_edit">编辑</system:String>
|
||||
<system:String x:Key="wox_plugin_folder_add">添加</system:String>
|
||||
<system:String x:Key="wox_plugin_folder_folder_path">文件夹路径</system:String>
|
||||
<system:String x:Key="wox_plugin_folder_select_folder_link_warning">请选择一个文件夹</system:String>
|
||||
<system:String x:Key="wox_plugin_folder_delete_folder_link">你确定要删除{0}吗?</system:String>
|
||||
|
||||
<system:String x:Key="wox_plugin_folder_plugin_name">文件夹</system:String>
|
||||
<system:String x:Key="wox_plugin_folder_plugin_description">在Wox中直接打开收藏的文件夹</system:String>
|
||||
|
||||
</ResourceDictionary>
|
||||
@@ -1,12 +1,15 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:system="clr-namespace:System;assembly=mscorlib">
|
||||
|
||||
<system:String x:Key="wox_plugin_folder_delete">刪除</system:String>
|
||||
<system:String x:Key="wox_plugin_folder_edit">編輯</system:String>
|
||||
<system:String x:Key="wox_plugin_folder_add">添加</system:String>
|
||||
<system:String x:Key="wox_plugin_folder_folder_path">文件夾路徑</system:String>
|
||||
<system:String x:Key="wox_plugin_folder_select_folder_link_warning">請選擇一個文件夾</system:String>
|
||||
<system:String x:Key="wox_plugin_folder_delete_folder_link">你確認要刪除{0}嗎?</system:String>
|
||||
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:system="clr-namespace:System;assembly=mscorlib">
|
||||
|
||||
<system:String x:Key="wox_plugin_folder_delete">刪除</system:String>
|
||||
<system:String x:Key="wox_plugin_folder_edit">編輯</system:String>
|
||||
<system:String x:Key="wox_plugin_folder_add">添加</system:String>
|
||||
<system:String x:Key="wox_plugin_folder_folder_path">文件夾路徑</system:String>
|
||||
<system:String x:Key="wox_plugin_folder_select_folder_link_warning">請選擇一個文件夾</system:String>
|
||||
<system:String x:Key="wox_plugin_folder_delete_folder_link">你確認要刪除{0}嗎?</system:String>
|
||||
|
||||
<system:String x:Key="wox_plugin_folder_plugin_name">文件夾</system:String>
|
||||
<system:String x:Key="wox_plugin_folder_plugin_description">在Wox中直接打開收藏的文件夾</system:String>
|
||||
|
||||
</ResourceDictionary>
|
||||
@@ -2,7 +2,7 @@
|
||||
"ID":"B4D3B69656E14D44865C8D818EAE47C4",
|
||||
"ActionKeyword":"*",
|
||||
"Name":"Folder",
|
||||
"Description":"Provide opening folder from wox directorily. You can add your favorite folders.",
|
||||
"Description":"Open favorite folder from wox directorily",
|
||||
"Author":"qianlifeng",
|
||||
"Version":"1.0.0",
|
||||
"Language":"csharp",
|
||||
|
||||
Reference in New Issue
Block a user