Files
ysicing dacc9cbbaa fix(calendar): 老用户沿用旧版默认值并区分小组件节假日提示
- 已有安装缺少日历选项时沿用旧版默认与周一起始,不按地区重新初始化
- “明天上班吗”区分未启用节假日与安排尚未公布,恢复“暂无法判断”译文
- 截图固定中国大陆默认值与周起始日,移除默认参数与无调用方的 defaults
2026-09-30 23:50:16 +08:00

168 lines
5.8 KiB
Swift
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// Copyright (C) 2026 ysicing
// SPDX-License-Identifier: AGPL-3.0-or-later
extension Translations {
static let calendarEnglish = #"""
日历 Calendar
月历 Month Calendar
查看整月的公历、农历与节假日。 View the whole month with Gregorian and lunar dates and holidays.
菜单栏日历 Menu Bar Calendar
日历设置… Calendar Settings…
独立显示日期,点击打开月历;不受指标合并布局影响 Show a separate date item; click to open the calendar, even when metrics are combined
每周开始于 First day of week
星期一 Monday
星期日 Sunday
农历 Lunar calendar
黄历 Chinese almanac
中国大陆节假日与调休 Mainland China holidays and makeup workdays
传统与公历节日 Festivals
节气与时令 Solar terms and seasons
三伏天 Dog days
梅雨天 Plum-rain days
初伏 Early Fu
中伏 Middle Fu
末伏 Late Fu
入梅 Plum start
出梅 Plum end
一九 Nine 1
二九 Nine 2
三九 Nine 3
四九 Nine 4
五九 Nine 5
六九 Nine 6
七九 Nine 7
八九 Nine 8
九九 Nine 9
{}第{}天 {1}, day {2}
藏历 Tibetan calendar
回历 Hijri calendar
该日期暂无藏历数据 Tibetan calendar data is unavailable for this date
该年份暂无中国法定假日与调休数据 Chinese holiday and makeup workday data is unavailable for this year
按传统历法推算,并非天气预报 Traditional calendar calculation, not a weather forecast
年份 Year
月份 Month
上个月 Previous month
下个月 Next month
班 W
休 R
调休上班 Makeup workday
放假 Holiday
上班 Workday
不上班 Day off
暂无安排 No schedule data
仅支持中国大陆节假日 Only Mainland China holidays are supported
暂无法判断 Cannot determine yet
工作日 Weekday
周末 Weekend
节假日 Public holiday
调休补班 Makeup workday
调休放假 Adjusted day off
黄道日 Auspicious day
黑道日 Inauspicious day
查看今天的节日与黄历。 See today's festivals and almanac.
明天上班吗 Work tomorrow?
查看明天是否上班或放假。 See whether tomorrow is a workday or holiday.
春节 Spring Festival
元宵节 Lantern Festival
龙头节 Dragon Head-Raising Festival
上巳节 Shangsi Festival
清明节 Qingming Festival
端午节 Dragon Boat Festival
七夕节 Qixi Festival
中元节 Ghost Festival
中秋节 Mid-Autumn Festival
重阳节 Double Ninth Festival
冬至节 Winter Solstice Festival
腊八节 Laba Festival
除夕 Lunar New Year's Eve
元旦 New Year's Day
劳动节 Labour Day
国庆节 National Day
国庆中秋 National Day / Mid-Autumn
抗战胜利日 Victory Day
立春 Start of Spring
雨水 Rain Water
惊蛰 Awakening of Insects
春分 Spring Equinox
清明 Pure Brightness
谷雨 Grain Rain
立夏 Start of Summer
小满 Grain Buds
芒种 Grain in Ear
夏至 Summer Solstice
小暑 Minor Heat
大暑 Major Heat
立秋 Start of Autumn
处暑 End of Heat
白露 White Dew
秋分 Autumn Equinox
寒露 Cold Dew
霜降 Frost's Descent
立冬 Start of Winter
小雪 Minor Snow
大雪 Major Snow
冬至 Winter Solstice
小寒 Minor Cold
大寒 Major Cold
返回月历 Back to calendar
宜 Favorable
忌 Avoid
纳音 Na Yin
冲煞 Clash / Sha
冲{} 煞{} Clash: {} · Sha: {}
值神 Day deity
建除十二神 Twelve officers
吉神宜趋 Auspicious deities
今日胎神 Fetal deity
凶神宜忌 Inauspicious deities
彭祖百忌 Peng Zu taboos
二十八星宿 Lunar mansions
时辰吉凶 Hour fortunes
子时显示当日早子时;23 点起的晚子时按次日干支计算 Zi shows 00:00–00:59; late Zi from 23:00 uses the next day's cycle
吉 Lucky
凶 Unlucky
日期与星期 Date and weekday
显示方式 Display style
日期与农历 Date and lunar date
日期格式 Date format
年:yyyy 或 yy;月:MM 或 M;日:dd 或 d。分隔符可自行填写。 Year: yyyy or yy; month: MM or M; day: dd or d. Choose your own separators.
例如 yyyy-MM-dd、M月d日、dd/MM;年份可省略。 Examples: yyyy-MM-dd, M/d, dd/MM. The year is optional.
请包含月份 M 和日期 d;年份使用 y。格式无效时暂以月/日显示。 Include M for month and d for day; use y for year. Invalid formats temporarily display month/day.
按住 ⌘ 拖动菜单栏图标可调整位置。 Hold ⌘ while dragging the menu bar icon to reposition it.
放大农历文字 Larger lunar text
增强农历对比度 Stronger lunar contrast
假期倒计时与请假建议 Holiday countdown and leave ideas
预览 Preview
悬停展开日历 Open calendar on hover
打开日历 Open calendar
重新显示入口 Show menu bar item again
日程与提醒事项 Events and reminders
显示系统日程 Show calendar events
显示到期提醒 Show due reminders
仅在本机展示日程与到期提醒,不修改内容。 Displays events and due reminders locally without modifying them.
选择列表 Choose lists
暂无可用列表 No lists available
需要授权后才能显示 Permission is needed to display content
访问未获允许,请在系统设置中开启 Access is not allowed. Enable it in System Settings.
允许访问 Allow access
打开系统设置 Open System Settings
读取失败,请重试 Could not load. Try again.
日程尚未授权 Calendar access not granted
提醒事项尚未授权 Reminders access not granted
无标题 Untitled
全天 All day
更多内容请在系统日历或提醒事项中查看 View more in Calendar or Reminders.
尚未选择任何列表 No lists selected
这一天没有日程或到期提醒 No events or due reminders on this day
假期中 Holiday in progress
还有 {} 天 In {} days
{} · 连休 {} 天 {} · {} days off
请假建议 Leave ideas
请 {} 天,连休 {} 天 Take {} leave days for {} days off
请假日期:{} Leave dates: {}
按双休及已公布的中国调休安排计算,实际请假以单位批准为准。 Based on a two-day weekend and published Chinese makeup workdays. Leave requires your employer’s approval.
有日程或提醒 Has events or reminders
续 cont.
"""#
}