Merge branch 'master' into fluent

This commit is contained in:
Paddy Xu
2017-08-12 20:55:33 +03:00
committed by GitHub
3 changed files with 4 additions and 15 deletions

View File

@@ -33,18 +33,7 @@ namespace QuickLook.Plugin.ImageViewer.AnimatedImage
using (var image = new MagickImage(path)) using (var image = new MagickImage(path))
{ {
switch (image.Orientation) image.AutoOrient();
{
case OrientationType.RightTop:
image.Rotate(90);
break;
case OrientationType.BottomRight:
image.Rotate(180);
break;
case OrientationType.LeftBotom:
image.Rotate(270);
break;
}
animator.KeyFrames.Add(new DiscreteObjectKeyFrame(image.ToBitmapSource(), TimeSpan.Zero)); animator.KeyFrames.Add(new DiscreteObjectKeyFrame(image.ToBitmapSource(), TimeSpan.Zero));
animator.Duration = Duration.Forever; animator.Duration = Duration.Forever;

View File

@@ -8,7 +8,7 @@
<Editor_FontFamily>Consolas,Microsoft Yahei UI,Microsoft Yahei,SimSun</Editor_FontFamily> <Editor_FontFamily>Consolas,Microsoft Yahei UI,Microsoft Yahei,SimSun</Editor_FontFamily>
</zh-CN> </zh-CN>
<zh-TW> <zh-TW>
<Editor_FontFamily>Segoe UI,Microsoft JhengHei UI,Microsoft JhengHei,SimSun</Editor_FontFamily> <Editor_FontFamily>Consolas,Microsoft JhengHei UI,Microsoft JhengHei,MingLiU</Editor_FontFamily>
</zh-TW> </zh-TW>
<ja-JP> <ja-JP>
<Editor_FontFamily>Consolas,Meiryo UI,MS UI Gothic,MS Gothic</Editor_FontFamily> <Editor_FontFamily>Consolas,Meiryo UI,MS UI Gothic,MS Gothic</Editor_FontFamily>

View File

@@ -48,7 +48,7 @@
<InfoPanel_FolderAndFile>(含 {0}和 {1})</InfoPanel_FolderAndFile> <InfoPanel_FolderAndFile>(含 {0}和 {1})</InfoPanel_FolderAndFile>
</zh-CN> </zh-CN>
<zh-TW> <zh-TW>
<UI_FontFamily>Segoe UI,Microsoft JhengHei UI,Microsoft JhengHei,SimSun</UI_FontFamily> <UI_FontFamily>Segoe UI,Microsoft JhengHei UI,Microsoft JhengHei,MingLiU</UI_FontFamily>
<APP_START>QuickLook 正在背景執行。</APP_START> <APP_START>QuickLook 正在背景執行。</APP_START>
<APP_SECOND>另一個 QuickLook 處理程序正在執行。</APP_SECOND> <APP_SECOND>另一個 QuickLook 處理程序正在執行。</APP_SECOND>
<MW_BrowseFolder>瀏覽 {0}</MW_BrowseFolder> <MW_BrowseFolder>瀏覽 {0}</MW_BrowseFolder>
@@ -60,7 +60,7 @@
<Icon_CheckUpdate>檢查更新... (&amp;U)</Icon_CheckUpdate> <Icon_CheckUpdate>檢查更新... (&amp;U)</Icon_CheckUpdate>
<Icon_Quit>結束程式 (&amp;Q)</Icon_Quit> <Icon_Quit>結束程式 (&amp;Q)</Icon_Quit>
<Update_NoUpdate>您已使用了最新版本。</Update_NoUpdate> <Update_NoUpdate>您已使用了最新版本。</Update_NoUpdate>
<Update_Found>QuickLook {0} 已發佈。點選這裡開啟下載頁面。</Update_Found> <Update_Found>QuickLook {0} 已釋出。點選這裡開啟下載頁面。</Update_Found>
<Update_Error>檢查更新時發生錯誤:{0}</Update_Error> <Update_Error>檢查更新時發生錯誤:{0}</Update_Error>
<InfoPanel_LastModified>最後變更於 {0}</InfoPanel_LastModified> <InfoPanel_LastModified>最後變更於 {0}</InfoPanel_LastModified>
<InfoPanel_DriveSize>總容量 {0},可用 {1}</InfoPanel_DriveSize> <InfoPanel_DriveSize>總容量 {0},可用 {1}</InfoPanel_DriveSize>