diff --git a/MarkDownEditor.Setup/Product.wxs b/MarkDownEditor.Setup/Product.wxs index f10af78..5ea5eca 100644 --- a/MarkDownEditor.Setup/Product.wxs +++ b/MarkDownEditor.Setup/Product.wxs @@ -2,8 +2,8 @@ - - + + diff --git a/MarkDownEditor/Properties/AssemblyInfo.cs b/MarkDownEditor/Properties/AssemblyInfo.cs index 956fdc2..a65b5e0 100644 --- a/MarkDownEditor/Properties/AssemblyInfo.cs +++ b/MarkDownEditor/Properties/AssemblyInfo.cs @@ -51,5 +51,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.3.0.0")] -[assembly: AssemblyFileVersion("0.3.0.0")] +[assembly: AssemblyVersion("0.3.1.0")] +[assembly: AssemblyFileVersion("0.3.1.0")] diff --git a/MarkDownEditor/Properties/Resources.Designer.cs b/MarkDownEditor/Properties/Resources.Designer.cs index 845b5a5..955e5cf 100644 --- a/MarkDownEditor/Properties/Resources.Designer.cs +++ b/MarkDownEditor/Properties/Resources.Designer.cs @@ -1,10 +1,10 @@ //------------------------------------------------------------------------------ // -// 此代码由工具生成。 -// 运行时版本:4.0.30319.42000 +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 // -// 对此文件的更改可能会导致不正确的行为,并且如果 -// 重新生成代码,这些更改将会丢失。 +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. // //------------------------------------------------------------------------------ @@ -13,12 +13,12 @@ namespace MarkDownEditor.Properties { /// - /// 一个强类型的资源类,用于查找本地化的字符串等。 + /// A strongly-typed resource class, for looking up localized strings, etc. /// - // 此类是由 StronglyTypedResourceBuilder - // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 - // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen - // (以 /str 作为命令选项),或重新生成 VS 项目。 + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] @@ -33,7 +33,7 @@ internal Resources() { } /// - /// 返回此类使用的缓存的 ResourceManager 实例。 + /// Returns the cached ResourceManager instance used by this class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] public static global::System.Resources.ResourceManager ResourceManager { @@ -47,8 +47,8 @@ internal Resources() { } /// - /// 使用此强类型资源类,为所有资源查找 - /// 重写当前线程的 CurrentUICulture 属性。 + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] public static global::System.Globalization.CultureInfo Culture { @@ -61,7 +61,7 @@ internal Resources() { } /// - /// 查找类似 About 的本地化字符串。 + /// Looks up a localized string similar to About. /// public static string About { get { @@ -70,7 +70,7 @@ public static string About { } /// - /// 查找类似 Accent 的本地化字符串。 + /// Looks up a localized string similar to Accent. /// public static string Accent { get { @@ -79,7 +79,16 @@ public static string Accent { } /// - /// 查找类似 Bold (Ctrl+B) 的本地化字符串。 + /// Looks up a localized string similar to Add custom css files. + /// + public static string AddCustomCSS { + get { + return ResourceManager.GetString("AddCustomCSS", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Bold (Ctrl+B). /// public static string BoldCommand { get { @@ -88,7 +97,7 @@ public static string BoldCommand { } /// - /// 查找类似 Cancel 的本地化字符串。 + /// Looks up a localized string similar to Cancel. /// public static string Cancel { get { @@ -97,7 +106,7 @@ public static string Cancel { } /// - /// 查找类似 Characters 的本地化字符串。 + /// Looks up a localized string similar to Characters. /// public static string Characters { get { @@ -106,7 +115,7 @@ public static string Characters { } /// - /// 查找类似 Close 的本地化字符串。 + /// Looks up a localized string similar to Close. /// public static string Close { get { @@ -115,7 +124,7 @@ public static string Close { } /// - /// 查找类似 Code (Ctrl+K) 的本地化字符串。 + /// Looks up a localized string similar to Code (Ctrl+K). /// public static string CodeCommand { get { @@ -124,7 +133,7 @@ public static string CodeCommand { } /// - /// 查找类似 Col 的本地化字符串。 + /// Looks up a localized string similar to Col. /// public static string Col { get { @@ -133,7 +142,7 @@ public static string Col { } /// - /// 查找类似 Completed 的本地化字符串。 + /// Looks up a localized string similar to Completed. /// public static string Completed { get { @@ -142,7 +151,7 @@ public static string Completed { } /// - /// 查找类似 Copy 的本地化字符串。 + /// Looks up a localized string similar to Copy. /// public static string Copy { get { @@ -151,7 +160,16 @@ public static string Copy { } /// - /// 查找类似 Cut 的本地化字符串。 + /// Looks up a localized string similar to Please copy your custom css file into the following folder. It'll take effect after restart.. + /// + public static string CopyCSS { + get { + return ResourceManager.GetString("CopyCSS", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cut. /// public static string Cut { get { @@ -160,7 +178,7 @@ public static string Cut { } /// - /// 查找类似 Date Stamp (Ctrl++Shift+D) 的本地化字符串。 + /// Looks up a localized string similar to Date Stamp (Ctrl++Shift+D). /// public static string DateStampCommand { get { @@ -169,7 +187,7 @@ public static string DateStampCommand { } /// - /// 查找类似 Delete 的本地化字符串。 + /// Looks up a localized string similar to Delete. /// public static string Delete { get { @@ -178,7 +196,7 @@ public static string Delete { } /// - /// 查找类似 Detail 的本地化字符串。 + /// Looks up a localized string similar to Detail. /// public static string Detail { get { @@ -187,7 +205,7 @@ public static string Detail { } /// - /// 查找类似 Document 的本地化字符串。 + /// Looks up a localized string similar to Document. /// public static string Document { get { @@ -196,7 +214,7 @@ public static string Document { } /// - /// 查找类似 Don't save 的本地化字符串。 + /// Looks up a localized string similar to Don't save. /// public static string DoNotSave { get { @@ -205,7 +223,7 @@ public static string DoNotSave { } /// - /// 查找类似 Editing 的本地化字符串。 + /// Looks up a localized string similar to Editing. /// public static string Editing { get { @@ -214,7 +232,7 @@ public static string Editing { } /// - /// 查找类似 Bold Text Area 的本地化字符串。 + /// Looks up a localized string similar to Bold Text Area. /// public static string EmptyBoldAreaText { get { @@ -223,7 +241,7 @@ public static string EmptyBoldAreaText { } /// - /// 查找类似 Code 的本地化字符串。 + /// Looks up a localized string similar to Code. /// public static string EmptyCode { get { @@ -232,7 +250,7 @@ public static string EmptyCode { } /// - /// 查找类似 Description of the link 的本地化字符串。 + /// Looks up a localized string similar to Description of the link. /// public static string EmptyHyperlinkDescription { get { @@ -241,7 +259,7 @@ public static string EmptyHyperlinkDescription { } /// - /// 查找类似 Description of the image 的本地化字符串。 + /// Looks up a localized string similar to Description of the image. /// public static string EmptyImageDescription { get { @@ -250,7 +268,7 @@ public static string EmptyImageDescription { } /// - /// 查找类似 Italic Text Area 的本地化字符串。 + /// Looks up a localized string similar to Italic Text Area. /// public static string EmptyItalicAreaText { get { @@ -259,7 +277,7 @@ public static string EmptyItalicAreaText { } /// - /// 查找类似 Title 的本地化字符串。 + /// Looks up a localized string similar to Title. /// public static string EmptyTitle { get { @@ -268,7 +286,7 @@ public static string EmptyTitle { } /// - /// 查找类似 Error 的本地化字符串。 + /// Looks up a localized string similar to Error. /// public static string Error { get { @@ -277,7 +295,7 @@ public static string Error { } /// - /// 查找类似 can't be exported in this version! 的本地化字符串。 + /// Looks up a localized string similar to can't be exported in this version!. /// public static string Error_ExportError { get { @@ -286,7 +304,7 @@ public static string Error_ExportError { } /// - /// 查找类似 Exit 的本地化字符串。 + /// Looks up a localized string similar to Exit. /// public static string Exit { get { @@ -295,7 +313,7 @@ public static string Exit { } /// - /// 查找类似 Export 的本地化字符串。 + /// Looks up a localized string similar to Export. /// public static string Export { get { @@ -304,7 +322,7 @@ public static string Export { } /// - /// 查找类似 Exporting 的本地化字符串。 + /// Looks up a localized string similar to Exporting. /// public static string Exporting { get { @@ -313,7 +331,7 @@ public static string Exporting { } /// - /// 查找类似 Export To 的本地化字符串。 + /// Looks up a localized string similar to Export To. /// public static string ExportTo { get { @@ -322,7 +340,7 @@ public static string ExportTo { } /// - /// 查找类似 Failed to export 的本地化字符串。 + /// Looks up a localized string similar to Failed to export. /// public static string FailedToExport { get { @@ -331,7 +349,7 @@ public static string FailedToExport { } /// - /// 查找类似 Find 的本地化字符串。 + /// Looks up a localized string similar to Find. /// public static string Find { get { @@ -340,7 +358,7 @@ public static string Find { } /// - /// 查找类似 Find Next 的本地化字符串。 + /// Looks up a localized string similar to Find Next. /// public static string FindNext { get { @@ -349,7 +367,7 @@ public static string FindNext { } /// - /// 查找类似 Find Previous 的本地化字符串。 + /// Looks up a localized string similar to Find Previous. /// public static string FindPrevious { get { @@ -358,7 +376,7 @@ public static string FindPrevious { } /// - /// 查找类似 Find & Replace 的本地化字符串。 + /// Looks up a localized string similar to Find & Replace. /// public static string FindReplace { get { @@ -367,7 +385,7 @@ public static string FindReplace { } /// - /// 查找类似 Font 的本地化字符串。 + /// Looks up a localized string similar to Font. /// public static string Font { get { @@ -376,7 +394,7 @@ public static string Font { } /// - /// 查找类似 Font Family 的本地化字符串。 + /// Looks up a localized string similar to Font Family. /// public static string FontFamily { get { @@ -385,7 +403,7 @@ public static string FontFamily { } /// - /// 查找类似 Font Size 的本地化字符串。 + /// Looks up a localized string similar to Font Size. /// public static string FontSize { get { @@ -394,7 +412,7 @@ public static string FontSize { } /// - /// 查找类似 Format 的本地化字符串。 + /// Looks up a localized string similar to Format. /// public static string Format { get { @@ -403,7 +421,7 @@ public static string Format { } /// - /// 查找类似 Full Screen 的本地化字符串。 + /// Looks up a localized string similar to Full Screen. /// public static string FullScreen { get { @@ -412,7 +430,7 @@ public static string FullScreen { } /// - /// 查找类似 Highlight Current Line 的本地化字符串。 + /// Looks up a localized string similar to Highlight Current Line. /// public static string HighlightCurrentLine { get { @@ -421,7 +439,7 @@ public static string HighlightCurrentLine { } /// - /// 查找类似 Horizontal Rule (Ctrl+R) 的本地化字符串。 + /// Looks up a localized string similar to Horizontal Rule (Ctrl+R). /// public static string HorizontalRuleCommand { get { @@ -430,7 +448,7 @@ public static string HorizontalRuleCommand { } /// - /// 查找类似 Hyperlink 的本地化字符串。 + /// Looks up a localized string similar to Hyperlink. /// public static string Hyperlink { get { @@ -439,7 +457,7 @@ public static string Hyperlink { } /// - /// 查找类似 Hyperlink (Ctrl+L) 的本地化字符串。 + /// Looks up a localized string similar to Hyperlink (Ctrl+L). /// public static string HyperlinkCommand { get { @@ -448,7 +466,7 @@ public static string HyperlinkCommand { } /// - /// 查找类似 Image 的本地化字符串。 + /// Looks up a localized string similar to Image. /// public static string Image { get { @@ -457,7 +475,7 @@ public static string Image { } /// - /// 查找类似 Image (Ctrl+G) 的本地化字符串。 + /// Looks up a localized string similar to Image (Ctrl+G). /// public static string ImageCommand { get { @@ -466,7 +484,7 @@ public static string ImageCommand { } /// - /// 查找类似 Images|*.bmp;*.jpg;*.gif;*.png;*.tif 的本地化字符串。 + /// Looks up a localized string similar to Images|*.bmp;*.jpg;*.gif;*.png;*.tif. /// public static string ImageFilter { get { @@ -475,7 +493,7 @@ public static string ImageFilter { } /// - /// 查找类似 The size of file is larger than 10MB, unable to upload! 的本地化字符串。 + /// Looks up a localized string similar to The size of file is larger than 10MB, unable to upload!. /// public static string ImageSizeError { get { @@ -484,7 +502,7 @@ public static string ImageSizeError { } /// - /// 查找类似 Please input an image URL 的本地化字符串。 + /// Looks up a localized string similar to Please input an image URL. /// public static string InputImage { get { @@ -493,7 +511,7 @@ public static string InputImage { } /// - /// 查找类似 Please input an URL 的本地化字符串。 + /// Looks up a localized string similar to Please input an URL. /// public static string InputLink { get { @@ -502,7 +520,7 @@ public static string InputLink { } /// - /// 查找类似 Italic (Ctrl+I) 的本地化字符串。 + /// Looks up a localized string similar to Italic (Ctrl+I). /// public static string ItalicCommand { get { @@ -511,7 +529,7 @@ public static string ItalicCommand { } /// - /// 查找类似 Language will switched after restart 的本地化字符串。 + /// Looks up a localized string similar to Language will switched after restart. /// public static string LanguageSwitch { get { @@ -520,7 +538,7 @@ public static string LanguageSwitch { } /// - /// 查找类似 Lines 的本地化字符串。 + /// Looks up a localized string similar to Lines. /// public static string Lines { get { @@ -529,7 +547,7 @@ public static string Lines { } /// - /// 查找类似 List Item 的本地化字符串。 + /// Looks up a localized string similar to List Item. /// public static string ListItem { get { @@ -538,7 +556,7 @@ public static string ListItem { } /// - /// 查找类似 Ln 的本地化字符串。 + /// Looks up a localized string similar to Ln. /// public static string Ln { get { @@ -547,7 +565,7 @@ public static string Ln { } /// - /// 查找类似 Markdown Documents|*.md;*.markdown|All Files|*.* 的本地化字符串。 + /// Looks up a localized string similar to Markdown Documents|*.md;*.markdown|All Files|*.*. /// public static string MarkDownFileFilter { get { @@ -556,7 +574,7 @@ public static string MarkDownFileFilter { } /// - /// 查找类似 Match Case 的本地化字符串。 + /// Looks up a localized string similar to Match Case. /// public static string MatchCase { get { @@ -565,7 +583,7 @@ public static string MatchCase { } /// - /// 查找类似 Match Whole Word 的本地化字符串。 + /// Looks up a localized string similar to Match Whole Word. /// public static string MatchWholeWord { get { @@ -574,7 +592,7 @@ public static string MatchWholeWord { } /// - /// 查找类似 More Options 的本地化字符串。 + /// Looks up a localized string similar to More Options. /// public static string MoreOptions { get { @@ -583,7 +601,7 @@ public static string MoreOptions { } /// - /// 查找类似 New (Ctrl+N) 的本地化字符串。 + /// Looks up a localized string similar to New (Ctrl+N). /// public static string NewCommand { get { @@ -592,7 +610,7 @@ public static string NewCommand { } /// - /// 查找类似 New Document Created 的本地化字符串。 + /// Looks up a localized string similar to New Document Created. /// public static string NewDocumentCreated { get { @@ -601,7 +619,16 @@ public static string NewDocumentCreated { } /// - /// 查找类似 Online Image 的本地化字符串。 + /// Looks up a localized string similar to No CSS. + /// + public static string NoCSS { + get { + return ResourceManager.GetString("NoCSS", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Online Image. /// public static string OnlineImage { get { @@ -610,7 +637,7 @@ public static string OnlineImage { } /// - /// 查找类似 Open 的本地化字符串。 + /// Looks up a localized string similar to Open. /// public static string Open { get { @@ -619,7 +646,7 @@ public static string Open { } /// - /// 查找类似 Open In External Browser (F6) 的本地化字符串。 + /// Looks up a localized string similar to Open In External Browser (F6). /// public static string Open_In_External_Browser { get { @@ -628,7 +655,7 @@ public static string Open_In_External_Browser { } /// - /// 查找类似 Open (Ctrl+O) 的本地化字符串。 + /// Looks up a localized string similar to Open (Ctrl+O). /// public static string OpenCommand { get { @@ -637,7 +664,7 @@ public static string OpenCommand { } /// - /// 查找类似 opened successfully 的本地化字符串。 + /// Looks up a localized string similar to opened successfully. /// public static string OpenedSuccessfully { get { @@ -646,7 +673,7 @@ public static string OpenedSuccessfully { } /// - /// 查找类似 Open file failed! 的本地化字符串。 + /// Looks up a localized string similar to Open file failed!. /// public static string OpenFileFailed { get { @@ -655,7 +682,7 @@ public static string OpenFileFailed { } /// - /// 查找类似 Open Right Now 的本地化字符串。 + /// Looks up a localized string similar to Open Right Now. /// public static string OpenRightNow { get { @@ -664,7 +691,16 @@ public static string OpenRightNow { } /// - /// 查找类似 Optional Title 的本地化字符串。 + /// Looks up a localized string similar to Open This Folder. + /// + public static string OpenThisFolder { + get { + return ResourceManager.GetString("OpenThisFolder", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Optional Title. /// public static string OptionalTitle { get { @@ -673,7 +709,7 @@ public static string OptionalTitle { } /// - /// 查找类似 Ordered List (Ctrl+Shift+O) 的本地化字符串。 + /// Looks up a localized string similar to Ordered List (Ctrl+Shift+O). /// public static string OrderedListCommand { get { @@ -682,7 +718,7 @@ public static string OrderedListCommand { } /// - /// 查找类似 Paste 的本地化字符串。 + /// Looks up a localized string similar to Paste. /// public static string Paste { get { @@ -691,7 +727,7 @@ public static string Paste { } /// - /// 查找类似 Preview 的本地化字符串。 + /// Looks up a localized string similar to Preview. /// public static string Preview { get { @@ -700,7 +736,7 @@ public static string Preview { } /// - /// 查找类似 Quote (Ctrl+Q) 的本地化字符串。 + /// Looks up a localized string similar to Quote (Ctrl+Q). /// public static string QuoteCommand { get { @@ -709,7 +745,7 @@ public static string QuoteCommand { } /// - /// 查找类似 Reading Mode/Preview Mode 的本地化字符串。 + /// Looks up a localized string similar to Reading Mode/Preview Mode. /// public static string Reading_Preview_Mode { get { @@ -718,7 +754,7 @@ public static string Reading_Preview_Mode { } /// - /// 查找类似 Redo 的本地化字符串。 + /// Looks up a localized string similar to Redo. /// public static string Redo { get { @@ -727,7 +763,7 @@ public static string Redo { } /// - /// 查找类似 Refresh (F5) 的本地化字符串。 + /// Looks up a localized string similar to Refresh (F5). /// public static string RefreshCommand { get { @@ -736,7 +772,7 @@ public static string RefreshCommand { } /// - /// 查找类似 Regular Expression 的本地化字符串。 + /// Looks up a localized string similar to Regular Expression. /// public static string RegularExpression { get { @@ -745,7 +781,7 @@ public static string RegularExpression { } /// - /// 查找类似 Replace 的本地化字符串。 + /// Looks up a localized string similar to Replace. /// public static string Replace { get { @@ -754,7 +790,7 @@ public static string Replace { } /// - /// 查找类似 Replace All 的本地化字符串。 + /// Looks up a localized string similar to Replace All. /// public static string ReplaceAll { get { @@ -763,7 +799,7 @@ public static string ReplaceAll { } /// - /// 查找类似 Replace Completed! 的本地化字符串。 + /// Looks up a localized string similar to Replace Completed!. /// public static string ReplaceCompleted { get { @@ -772,7 +808,7 @@ public static string ReplaceCompleted { } /// - /// 查找类似 Ruler 的本地化字符串。 + /// Looks up a localized string similar to Ruler. /// public static string Ruler { get { @@ -781,7 +817,7 @@ public static string Ruler { } /// - /// 查找类似 Ruler Position 的本地化字符串。 + /// Looks up a localized string similar to Ruler Position. /// public static string RulerPosition { get { @@ -790,7 +826,7 @@ public static string RulerPosition { } /// - /// 查找类似 Save 的本地化字符串。 + /// Looks up a localized string similar to Save. /// public static string Save { get { @@ -799,7 +835,7 @@ public static string Save { } /// - /// 查找类似 Save As 的本地化字符串。 + /// Looks up a localized string similar to Save As. /// public static string SaveAs { get { @@ -808,7 +844,7 @@ public static string SaveAs { } /// - /// 查找类似 Save As (Ctrl+Shift+S) 的本地化字符串。 + /// Looks up a localized string similar to Save As (Ctrl+Shift+S). /// public static string SaveAsCommand { get { @@ -817,7 +853,7 @@ public static string SaveAsCommand { } /// - /// 查找类似 Save (Ctrl+S) 的本地化字符串。 + /// Looks up a localized string similar to Save (Ctrl+S). /// public static string SaveCommand { get { @@ -826,7 +862,7 @@ public static string SaveCommand { } /// - /// 查找类似 saved successfully 的本地化字符串。 + /// Looks up a localized string similar to saved successfully. /// public static string SavedSuccessfully { get { @@ -835,7 +871,7 @@ public static string SavedSuccessfully { } /// - /// 查找类似 Save file failed! 的本地化字符串。 + /// Looks up a localized string similar to Save file failed!. /// public static string SaveFileFailed { get { @@ -844,7 +880,7 @@ public static string SaveFileFailed { } /// - /// 查找类似 Scrollbar Synchronization 的本地化字符串。 + /// Looks up a localized string similar to Scrollbar Synchronization. /// public static string Scrollbar_Synchronization { get { @@ -853,7 +889,7 @@ public static string Scrollbar_Synchronization { } /// - /// 查找类似 Select All 的本地化字符串。 + /// Looks up a localized string similar to Select All. /// public static string SelectAll { get { @@ -862,7 +898,7 @@ public static string SelectAll { } /// - /// 查找类似 Select Image Type 的本地化字符串。 + /// Looks up a localized string similar to Select Image Type. /// public static string SelectImageType { get { @@ -871,7 +907,7 @@ public static string SelectImageType { } /// - /// 查找类似 SETTINGS 的本地化字符串。 + /// Looks up a localized string similar to SETTINGS. /// public static string SETTINGS { get { @@ -880,7 +916,7 @@ public static string SETTINGS { } /// - /// 查找类似 Show Column Ruler 的本地化字符串。 + /// Looks up a localized string similar to Show Column Ruler. /// public static string ShowColumnRuler { get { @@ -889,7 +925,7 @@ public static string ShowColumnRuler { } /// - /// 查找类似 Show End Of Line 的本地化字符串。 + /// Looks up a localized string similar to Show End Of Line. /// public static string ShowEndOfLine { get { @@ -898,7 +934,7 @@ public static string ShowEndOfLine { } /// - /// 查找类似 Show Line Numbers 的本地化字符串。 + /// Looks up a localized string similar to Show Line Numbers. /// public static string ShowLineNumbers { get { @@ -907,7 +943,7 @@ public static string ShowLineNumbers { } /// - /// 查找类似 Show Preview 的本地化字符串。 + /// Looks up a localized string similar to Show Preview. /// public static string ShowPreview { get { @@ -916,7 +952,7 @@ public static string ShowPreview { } /// - /// 查找类似 Show Spaces 的本地化字符串。 + /// Looks up a localized string similar to Show Spaces. /// public static string ShowSpaces { get { @@ -925,7 +961,7 @@ public static string ShowSpaces { } /// - /// 查找类似 Show Tabs 的本地化字符串。 + /// Looks up a localized string similar to Show Tabs. /// public static string ShowTabs { get { @@ -934,7 +970,7 @@ public static string ShowTabs { } /// - /// 查找类似 Source Code 的本地化字符串。 + /// Looks up a localized string similar to Source Code. /// public static string SourceCode { get { @@ -943,7 +979,7 @@ public static string SourceCode { } /// - /// 查找类似 Successfully Exported 的本地化字符串。 + /// Looks up a localized string similar to Successfully Exported. /// public static string SuccessfullyExported { get { @@ -952,7 +988,7 @@ public static string SuccessfullyExported { } /// - /// 查找类似 Symbols 的本地化字符串。 + /// Looks up a localized string similar to Symbols. /// public static string Symbols { get { @@ -961,7 +997,7 @@ public static string Symbols { } /// - /// 查找类似 Time Stamp (Ctrl+T) 的本地化字符串。 + /// Looks up a localized string similar to Time Stamp (Ctrl+T). /// public static string TimeStampCommand { get { @@ -970,7 +1006,7 @@ public static string TimeStampCommand { } /// - /// 查找类似 Heading (Ctrl+H) 的本地化字符串。 + /// Looks up a localized string similar to Heading (Ctrl+H). /// public static string TitleCommand { get { @@ -979,7 +1015,7 @@ public static string TitleCommand { } /// - /// 查找类似 Microsoft Word|*.docx 的本地化字符串。 + /// Looks up a localized string similar to Microsoft Word|*.docx. /// public static string TypeDocxFilter { get { @@ -988,7 +1024,7 @@ public static string TypeDocxFilter { } /// - /// 查找类似 Microsoft Word 2007-2016 Document Format 的本地化字符串。 + /// Looks up a localized string similar to Microsoft Word 2007-2016 Document Format. /// public static string TypeDocxToolTip { get { @@ -997,7 +1033,7 @@ public static string TypeDocxToolTip { } /// - /// 查找类似 Electronic Publication|*.epub 的本地化字符串。 + /// Looks up a localized string similar to Electronic Publication|*.epub. /// public static string TypeEpubFilter { get { @@ -1006,7 +1042,7 @@ public static string TypeEpubFilter { } /// - /// 查找类似 Electronic Publication Format 的本地化字符串。 + /// Looks up a localized string similar to Electronic Publication Format. /// public static string TypeEpubToolTip { get { @@ -1015,7 +1051,7 @@ public static string TypeEpubToolTip { } /// - /// 查找类似 HTML Web Page|*.html 的本地化字符串。 + /// Looks up a localized string similar to HTML Web Page|*.html. /// public static string TypeHtmlFilter { get { @@ -1024,7 +1060,7 @@ public static string TypeHtmlFilter { } /// - /// 查找类似 HyperText Markup Language 的本地化字符串。 + /// Looks up a localized string similar to HyperText Markup Language. /// public static string TypeHtmlToolTip { get { @@ -1033,7 +1069,7 @@ public static string TypeHtmlToolTip { } /// - /// 查找类似 LATEX Document|*.tex 的本地化字符串。 + /// Looks up a localized string similar to LATEX Document|*.tex. /// public static string TypeLatexFilter { get { @@ -1042,7 +1078,7 @@ public static string TypeLatexFilter { } /// - /// 查找类似 We suggest to compile exported tex files using XeLatex command if CJK characters exist in document 的本地化字符串。 + /// Looks up a localized string similar to We suggest to compile exported tex files using XeLatex command if CJK characters exist in document. /// public static string TypeLatexToolTip { get { @@ -1051,7 +1087,7 @@ public static string TypeLatexToolTip { } /// - /// 查找类似 Portable Document Format|*.pdf 的本地化字符串。 + /// Looks up a localized string similar to Portable Document Format|*.pdf. /// public static string TypePdfFilter { get { @@ -1060,7 +1096,7 @@ public static string TypePdfFilter { } /// - /// 查找类似 Portable Document Format 的本地化字符串。 + /// Looks up a localized string similar to Portable Document Format. /// public static string TypePdfToolTip { get { @@ -1069,7 +1105,7 @@ public static string TypePdfToolTip { } /// - /// 查找类似 Plain HTML Web Page|*.html 的本地化字符串。 + /// Looks up a localized string similar to Plain HTML Web Page|*.html. /// public static string TypePlainHtmlFilter { get { @@ -1078,7 +1114,7 @@ public static string TypePlainHtmlFilter { } /// - /// 查找类似 HyperText Markup Language without any css 的本地化字符串。 + /// Looks up a localized string similar to HyperText Markup Language without any css. /// public static string TypePlainHtmlToolTip { get { @@ -1087,7 +1123,7 @@ public static string TypePlainHtmlToolTip { } /// - /// 查找类似 Rich Text Format|*.rtf 的本地化字符串。 + /// Looks up a localized string similar to Rich Text Format|*.rtf. /// public static string TypeRTFFilter { get { @@ -1096,7 +1132,7 @@ public static string TypeRTFFilter { } /// - /// 查找类似 Rich Text Format 的本地化字符串。 + /// Looks up a localized string similar to Rich Text Format. /// public static string TypeRTFTip { get { @@ -1105,7 +1141,7 @@ public static string TypeRTFTip { } /// - /// 查找类似 Undo 的本地化字符串。 + /// Looks up a localized string similar to Undo. /// public static string Undo { get { @@ -1114,7 +1150,7 @@ public static string Undo { } /// - /// 查找类似 Unordered List (Ctrl+U) 的本地化字符串。 + /// Looks up a localized string similar to Unordered List (Ctrl+U). /// public static string UnorderedListCommand { get { @@ -1123,7 +1159,7 @@ public static string UnorderedListCommand { } /// - /// 查找类似 Unsaved Changes 的本地化字符串。 + /// Looks up a localized string similar to Unsaved Changes. /// public static string UnsavedChanges { get { @@ -1132,7 +1168,7 @@ public static string UnsavedChanges { } /// - /// 查找类似 Untitled 的本地化字符串。 + /// Looks up a localized string similar to Untitled. /// public static string UntitledTitle { get { @@ -1141,7 +1177,7 @@ public static string UntitledTitle { } /// - /// 查找类似 Upload Images (Don't upload illegal images) 的本地化字符串。 + /// Looks up a localized string similar to Upload Images (Don't upload illegal images). /// public static string UploadImagesTitle { get { @@ -1150,7 +1186,7 @@ public static string UploadImagesTitle { } /// - /// 查找类似 Uploading 的本地化字符串。 + /// Looks up a localized string similar to Uploading. /// public static string Uploading { get { @@ -1159,7 +1195,7 @@ public static string Uploading { } /// - /// 查找类似 Upload Local Image(It's may not available in Mainland China) 的本地化字符串。 + /// Looks up a localized string similar to Upload Local Image(It's may not available in Mainland China). /// public static string UploadLocalImage { get { @@ -1168,7 +1204,7 @@ public static string UploadLocalImage { } /// - /// 查找类似 Would you want to save your changes? 的本地化字符串。 + /// Looks up a localized string similar to Would you want to save your changes?. /// public static string WhetherSaveChanges { get { @@ -1177,7 +1213,7 @@ public static string WhetherSaveChanges { } /// - /// 查找类似 Wildcards 的本地化字符串。 + /// Looks up a localized string similar to Wildcards. /// public static string Wildcards { get { @@ -1186,7 +1222,7 @@ public static string Wildcards { } /// - /// 查找类似 Words 的本地化字符串。 + /// Looks up a localized string similar to Words. /// public static string Words { get { @@ -1195,7 +1231,7 @@ public static string Words { } /// - /// 查找类似 Word Wrap 的本地化字符串。 + /// Looks up a localized string similar to Word Wrap. /// public static string WordWrap { get { diff --git a/MarkDownEditor/Properties/Resources.resx b/MarkDownEditor/Properties/Resources.resx index 02d8c63..60e3bc0 100644 --- a/MarkDownEditor/Properties/Resources.resx +++ b/MarkDownEditor/Properties/Resources.resx @@ -498,4 +498,16 @@ Replace Completed! + + Add custom css files + + + Please copy your custom css file into the following folder. It'll take effect after restart. + + + No CSS + + + Open This Folder + \ No newline at end of file diff --git a/MarkDownEditor/Properties/Resources.zh-CN.resx b/MarkDownEditor/Properties/Resources.zh-CN.resx index caf82d7..e7ae283 100644 --- a/MarkDownEditor/Properties/Resources.zh-CN.resx +++ b/MarkDownEditor/Properties/Resources.zh-CN.resx @@ -498,4 +498,16 @@ 替换完成 + + 添加自定义CSS文件 + + + 请将自定义CSS文件复制到以下文件夹(重启后生效) + + + 无CSS + + + 打开该文件夹 + \ No newline at end of file diff --git a/MarkDownEditor/ViewModel/MainViewModel.cs b/MarkDownEditor/ViewModel/MainViewModel.cs index 8a08c5e..10b818c 100644 --- a/MarkDownEditor/ViewModel/MainViewModel.cs +++ b/MarkDownEditor/ViewModel/MainViewModel.cs @@ -53,8 +53,8 @@ public MainViewModel() var css = Directory.GetFiles(Path.Combine(AppDomain.CurrentDomain.SetupInformation.ApplicationBase, "css"), "*.css") .Select(s=>Path.GetFileName(s)).ToList(); - css.Insert(0, "No CSS"); - css.Add("Add custom css files"); + css.Insert(0, Properties.Resources.NoCSS); + css.Add(Properties.Resources.AddCustomCSS); CssFiles = css; CurrentCssFileIndex = 2; @@ -87,7 +87,7 @@ public override void Cleanup() private string markdownSourceTempPath = Path.GetTempFileName(); private string previewSourceTempPath = Path.GetTempFileName() + ".html"; - public string Title => DocumentTitle + (IsModified ? "(*)" : "") + " ---- MarkDown Editor Beta"; + public string Title => DocumentTitle + (IsModified ? "(*)" : "") + " ---- MarkDownEditor"; private CultureInfo cultureInfo = new CultureInfo(Properties.Settings.Default.Language); public CultureInfo CultureInfo @@ -1178,9 +1178,9 @@ await DialogCoordinator.Instance.ShowMessageAsync(this, Properties.Resources.Sav private async void ShowCustomCSSMessage() { var path = Path.Combine(AppDomain.CurrentDomain.SetupInformation.ApplicationBase, "css"); - var ret = await DialogCoordinator.Instance.ShowMessageAsync(this, "Please copy your custom css file into the following folder. It'll take effect after restart.", + var ret = await DialogCoordinator.Instance.ShowMessageAsync(this, Properties.Resources.CopyCSS, path, MessageDialogStyle.AffirmativeAndNegative, - new MetroDialogSettings() { ColorScheme= MetroDialogColorScheme.Accented, AffirmativeButtonText="Open This Folder", + new MetroDialogSettings() { ColorScheme= MetroDialogColorScheme.Accented, AffirmativeButtonText=Properties.Resources.OpenThisFolder, NegativeButtonText = Properties.Resources.Cancel}); if (ret == MessageDialogResult.Affirmative) Process.Start(path); diff --git a/Readme.md b/Readme.md index 13f0b32..74517b8 100644 --- a/Readme.md +++ b/Readme.md @@ -57,3 +57,25 @@ For Win10 users, the .Net Framework 4.5 has been preinstalled. # Dev For a WPF project, I recommand VS2015 Community Edition to build. + +# 3rdParty + +- [Chromium Embedded Framework](https://bitbucket.org/chromiumembedded/cef) +- [CefSharp](https://github.com/cefsharp/CefSharp) +- [MahApps.Metro](https://github.com/MahApps/MahApps.Metro) +- [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) +- [AvalonEdit](https://github.com/icsharpcode/AvalonEdit) +- [MVVM Light Toolkit](http://www.mvvmlight.net/) +- [Imgur.API](http://imgurapi.readthedocs.org/en/latest/) +- [SimpleHelpers.Net](https://github.com/khalidsalomao/SimpleHelpers.Net) +- [UDE.CSharp](https://github.com/errepi/ude) +- [The WiX Toolset](http://wixtoolset.org/) + +# Thanks + +- [Making AvalonEdit MVVM compatible](http://stackoverflow.com/questions/12344367/making-avalonedit-mvvm-compatible) +- [Wix 安装部署教程](http://www.cnblogs.com/stoneniqiu/category/522235.html) +- [Markdown CSS](https://github.com/markdowncss/markdowncss.github.io) +- [Markdown CSS](https://github.com/simonlc/Markdown-CSS) +- [github.css](https://gist.github.com/andyferra/2554919) +- [分享一个Markdown css](http://www.oschina.net/question/124879_76399?fromerr=LWBSwh1E)