diff --git a/.gitattributes b/.gitattributes index 396df1d1..ed96c64c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -21,5 +21,5 @@ packaging/debian/DEBIAN/* text eol=lf *.dll filter=lfs diff=lfs merge=lfs -text # Preserve upstream-distributed vendor runtime contents verbatim. -office_addin/public/vendor/mathlive.min.mjs -whitespace -office_addin/public/vendor/mathlive.LICENSE.txt -whitespace +src/assets/mathlive/vendor/mathlive.min.mjs -whitespace +src/assets/mathlive/vendor/mathlive.LICENSE.txt -whitespace diff --git a/.gitignore b/.gitignore index 656aead3..2ff989d2 100644 --- a/.gitignore +++ b/.gitignore @@ -16,9 +16,7 @@ office_plugin/**/bin/ office_plugin/**/obj/ office_plugin/**/obj-handler/ office_plugin/**/*.user.props -office_plugin/**/*.pfx office_plugin/installer/vsto-signing.cer -office_plugin/installer/devcert.cer office_plugin/tests/**/artifacts/ !LaTeXSnipper-linux.spec !LaTeXSnipper-macos.spec @@ -39,14 +37,12 @@ office_plugin/release/InstallerAssets/ # Embedded runtime (do not version) tools/deps/python311/ tools/deps/python311-*/ -tools/deps/translation_env/ tools/deps/pandoc/ # Local runtime components (do not version) -python311/ +/python311/ python-*.exe crash_log.txt -src/assets/MathJax-4.1.2/ # Logs *.log @@ -76,9 +72,4 @@ WECHAT_ARTICLE.md RELEASE_NOTES*.md release_v*.md release*.md -packaging/msix/image/ - -# IDE / editor config -.opencode/ -opencode.json diff --git a/office_plugin/hosts/PowerPointAddIn/PowerPointAddInText.cs b/office_plugin/hosts/PowerPointAddIn/PowerPointAddInText.cs index 4896791c..6bf28fed 100644 --- a/office_plugin/hosts/PowerPointAddIn/PowerPointAddInText.cs +++ b/office_plugin/hosts/PowerPointAddIn/PowerPointAddInText.cs @@ -36,9 +36,9 @@ private static string GetEnglish(string key) "InsertFormulaTip" => "Open the formula editor.", "ScreenshotOcrTip" => "Wait for the next capture; click again to cancel.", "LoadSelectedTip" => "Load the selected formula into the editor.", - "DeleteSelectedTip" => "Delete the selected managed formula.", - "ToOleTip" => "Convert the selected PNG formula to OLE.", - "ToPngTip" => "Convert the selected OLE formula to PNG.", + "DeleteSelectedTip" => "Delete the selected managed formulas.", + "ToOleTip" => "Convert the selected PNG formulas to OLE.", + "ToPngTip" => "Convert the selected OLE formulas to PNG.", "FormatSelectedTip" => "Reset selected formulas to the default font, color, and natural size.", "FormatAllTip" => "Restore formulas with modified dimensions to their natural size.", "ShowTaskPaneTip" => "Show the status pane.", @@ -71,7 +71,7 @@ private static string GetEnglish(string key) "NoConversionNeededStatus" => "The selected formulas already use the target format.", "FormattedStatus" => "Formatted {count} formulas.", "FormattedWithSkippedStatus" => "Formatted {count} formulas; skipped {skipped} missing formulas.", - "NoFormattingNeededStatus" => "The selected formula already uses the default style.", + "NoFormattingNeededStatus" => "No formulas need formatting.", "BatchConvertingStatus" => "Converting formulas: {processed}/{total}.", "BatchFormattingStatus" => "Formatting formulas: {processed}/{total}.", "OcrWaitingStatus" => "Waiting for screenshot OCR.", @@ -148,7 +148,7 @@ private static string GetChinese(string key) "NoConversionNeededStatus" => "所选公式已经是目标格式。", "FormattedStatus" => "已格式化 {count} 个公式。", "FormattedWithSkippedStatus" => "已格式化 {count} 个公式,跳过 {skipped} 个已不存在的公式。", - "NoFormattingNeededStatus" => "所选公式已经是默认样式。", + "NoFormattingNeededStatus" => "没有需要格式化的公式。", "BatchConvertingStatus" => "正在转换公式:{processed}/{total}。", "BatchFormattingStatus" => "正在格式化公式:{processed}/{total}。", "OcrWaitingStatus" => "正在等待截图识别。", diff --git a/office_plugin/hosts/WordAddIn/EditorAssets/settings.html b/office_plugin/hosts/WordAddIn/EditorAssets/settings.html index 3d2f443f..a57042f9 100644 --- a/office_plugin/hosts/WordAddIn/EditorAssets/settings.html +++ b/office_plugin/hosts/WordAddIn/EditorAssets/settings.html @@ -68,7 +68,7 @@

带编号公式默认布局

公式默认属性

-

这些设置仅影响新插入的公式。

+

这些设置应用于新插入公式和格式化命令。