From 75ef5ef4deef45000a469a3336ce7bda0065298c Mon Sep 17 00:00:00 2001 From: mousebomb Date: Wed, 9 Jul 2025 12:30:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E6=A1=88=E4=BF=AE=E6=94=B9=EF=BC=9AUs?= =?UTF-8?q?e=20sentence=20case=20in=20UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lang.ts | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/lang.ts b/src/lang.ts index 59e9ddf..0c1c052 100644 --- a/src/lang.ts +++ b/src/lang.ts @@ -74,36 +74,36 @@ const en: LanguageStrings = { // 设置页面 settingsTitle: "Diary ICS", - portSetting: "HTTP Server Port", + portSetting: "HTTP server port", portDesc: "Port used by the local HTTP server", applyButton: "Apply", portApplied: "Port applied, server restarted", contentSettingsTitle: "Content", - headingLevelSetting: "Heading Level", + headingLevelSetting: "Heading level", headingLevelDesc: "Which level of headings to extract from diary as calendar entries", - h1Option: "Level 1 Heading (#)", - h2Option: "Level 2 Heading (##)", - includeSubheadingsSetting: "Include Subheadings", + h1Option: "Level 1 heading (#)", + h2Option: "Level 2 heading (##)", + includeSubheadingsSetting: "Include subheadings", includeSubheadingsDesc: "Include subheadings under the heading in the calendar event description", diarySettingsTitle: "Diary", - diaryFormatSetting: "Diary Naming Format", + diaryFormatSetting: "Diary naming format", diaryFormatDesc: "The naming format of diary files, e.g., YYYY-MM-DD", - diaryFolderSetting: "Diary Folder", + diaryFolderSetting: "Diary folder", diaryFolderDesc: "The folder path where diary files are located, leave empty for root directory", frontmatterSettingsTitle: "Frontmatter", - includeFrontmatterSetting: "Include Frontmatter", + includeFrontmatterSetting: "Include frontmatter", includeFrontmatterDesc: "Include the frontmatter content of diary files as separate calendar events", - frontmatterTitleSetting: "Frontmatter Title Template", + frontmatterTitleSetting: "Frontmatter title template", frontmatterTitleDesc: "Customize the title format of frontmatter events, use {{fieldName}} to reference specific fields, or {{filename}} to reference the current filename", - frontmatterTemplateSetting: "Frontmatter Content Template", + frontmatterTemplateSetting: "Frontmatter content template", frontmatterTemplateDesc: "Customize the display format of frontmatter content, use {{fieldName}} to reference specific fields", - templateExampleTitle: "Template Examples:", + templateExampleTitle: "Template examples:", templateExample1: "1. Using \"Weather:{{weather}} Mood:{{mood}}\" will replace specific fields", templateExample2: "2. Using \"{{filename}}'s Diary\" will replace with the current filename (without extension)", templateExample3: "3. Leave empty to use the default format (title as filename+[frontmatter], content as one field per line)", templateExample4: "4. Properties with null values will be automatically skipped", - icsLinkTitle: "ICS Subscription Link", - copyLinkButton: "Copy Link", + icsLinkTitle: "ICS subscription link", + copyLinkButton: "Copy link", instructionsTitle: "Instructions", instruction1: "1. Copy the ICS subscription link above", instruction2: "2. Add this subscription link in your system calendar application",