Toast to show can't cancel "Prevent Closing" #1368

This commit is contained in:
ema
2025-01-01 03:34:21 +08:00
parent 190ab5f3fc
commit e4e0fe3fa6
2 changed files with 18 additions and 2 deletions

View File

@@ -224,6 +224,7 @@
<InfoPanel_File>{0} file</InfoPanel_File>
<InfoPanel_Files>{0} files</InfoPanel_Files>
<InfoPanel_FolderAndFile>({0} and {1})</InfoPanel_FolderAndFile>
<InfoPanel_CantPreventClosing>Cancellation of "Prevent Closing" is not supported</InfoPanel_CantPreventClosing>
</en>
<es>
<UI_FontFamily>Segoe UI</UI_FontFamily>
@@ -318,9 +319,14 @@
<APP_START>QuickLook はバックグラウンドで動作しています</APP_START>
<APP_SECOND>QuickLook はすでにバックグラウンドで動作しています</APP_SECOND>
<MW_BrowseFolder>{0} をブラウズ</MW_BrowseFolder>
<MW_StayTop>常に最前面に表示</MW_StayTop>
<MW_PreventClosing>閉じるのを防ぐ</MW_PreventClosing>
<MW_BrowseFolder>{0} を閲覧</MW_BrowseFolder>
<MW_Open>{0} を開く</MW_Open>
<MW_OpenWith>{0} で開く</MW_OpenWith>
<MW_OpenWithMenu>メニューから選択して開く</MW_OpenWithMenu>
<MW_Run>{0} を起動</MW_Run>
<MW_Share>シェア</MW_Share>
<Icon_RunAtStartup>スタートアップ時に起動</Icon_RunAtStartup>
<Icon_ToolTip>QuickLook v{0}</Icon_ToolTip>
<Icon_CheckUpdate>更新を確認する... (&amp;U)</Icon_CheckUpdate>
@@ -338,6 +344,7 @@
<InfoPanel_File>{0} ファイル</InfoPanel_File>
<InfoPanel_Files>{0} ファイル</InfoPanel_Files>
<InfoPanel_FolderAndFile>({0}と {1})</InfoPanel_FolderAndFile>
<InfoPanel_CantPreventClosing>「閉じるのを防ぐ」はキャンセル不可</InfoPanel_CantPreventClosing>
</ja>
<nb-NO>
<UI_FontFamily>Segoe UI</UI_FontFamily>
@@ -595,10 +602,14 @@
<APP_SECOND>另一个 QuickLook 进程正在运行</APP_SECOND>
<APP_SECOND_TEXT>在您选中文件并按下空格键时QuickLook 将提供多种格式的快速预览。</APP_SECOND_TEXT>
<APP_PATH_NOT_WRITABLE>数据目录 "{0}" 不可写。请检查您是否有足够的权限。</APP_PATH_NOT_WRITABLE>
<MW_StayTop>保持最前</MW_StayTop>
<MW_PreventClosing>阻止关闭</MW_PreventClosing>
<MW_BrowseFolder>浏览 {0}</MW_BrowseFolder>
<MW_Open>打开 {0}</MW_Open>
<MW_OpenWith>用 {0} 打开</MW_OpenWith>
<MW_OpenWithMenu>从菜单选择打开</MW_OpenWithMenu>
<MW_Run>运行 {0}</MW_Run>
<MW_Share>分享</MW_Share>
<Icon_RunAtStartup>启动时自动运行 (&amp;S)</Icon_RunAtStartup>
<Icon_ToolTip>QuickLook v{0}</Icon_ToolTip>
<Icon_CheckUpdate>检查更新... (&amp;U)</Icon_CheckUpdate>
@@ -616,6 +627,7 @@
<InfoPanel_File>{0} 个文件</InfoPanel_File>
<InfoPanel_Files>{0} 个文件</InfoPanel_Files>
<InfoPanel_FolderAndFile>(含 {0}和 {1})</InfoPanel_FolderAndFile>
<InfoPanel_CantPreventClosing>不可取消“阻止关闭”哟</InfoPanel_CantPreventClosing>
</zh-CN>
<zh-TW>
<UI_FontFamily>Segoe UI,Microsoft JhengHei UI,Microsoft JhengHei,MingLiU</UI_FontFamily>
@@ -623,10 +635,14 @@
<APP_SECOND>另一個 QuickLook 處理程序正在執行。</APP_SECOND>
<APP_SECOND_TEXT>在資料夾中選取任意檔案並按下空白鍵QuickLook 即可提供多種檔案格式的快速預覽。</APP_SECOND_TEXT>
<APP_PATH_NOT_WRITABLE>數據目錄 "{0}" 不可寫。請檢查您是否有足夠的權限。</APP_PATH_NOT_WRITABLE>
<MW_StayTop>保持最前</MW_StayTop>
<MW_PreventClosing>阻止關閉</MW_PreventClosing>
<MW_BrowseFolder>瀏覽 {0}</MW_BrowseFolder>
<MW_Open>開啟 {0}</MW_Open>
<MW_OpenWith>使用 {0} 開啟</MW_OpenWith>
<MW_OpenWithMenu>從選單選擇開啟</MW_OpenWithMenu>
<MW_Run>執行 {0}</MW_Run>
<MW_Share>分享</MW_Share>
<Icon_RunAtStartup>系統啟動時自動執行 (&amp;S)</Icon_RunAtStartup>
<Icon_ToolTip>QuickLook v{0}</Icon_ToolTip>
<Icon_CheckUpdate>檢查更新... (&amp;U)</Icon_CheckUpdate>
@@ -644,6 +660,7 @@
<InfoPanel_File>{0} 個檔案</InfoPanel_File>
<InfoPanel_Files>{0} 個檔案</InfoPanel_Files>
<InfoPanel_FolderAndFile>(包含 {0}和 {1})</InfoPanel_FolderAndFile>
<InfoPanel_CantPreventClosing>不可取消“阻止關閉”喲</InfoPanel_CantPreventClosing>
</zh-TW>
<mr>
<UI_FontFamily>Segoe UI</UI_FontFamily>

View File

@@ -72,8 +72,7 @@ public partial class ViewerWindow : Window
{
if (Pinned)
{
TranslationHelper.Get("Icon_Quit");
Toast.Information("Cancellation of Prevent Closing is not supported");
Toast.Information(TranslationHelper.Get("InfoPanel_CantPreventClosing"));
return;
}