Skip to content

feat: 双语日记分栏显示 + 语言标签标准化(squash merge from PR #6)#7

Merged
CyberYui merged 1 commit into
mainfrom
copilot/copilotfix-daily-check-in-issue
Jun 15, 2026
Merged

feat: 双语日记分栏显示 + 语言标签标准化(squash merge from PR #6)#7
CyberYui merged 1 commit into
mainfrom
copilot/copilotfix-daily-check-in-issue

Conversation

Copilot AI commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

PR #6 (fix/language-display) could not merge cleanly due to conflicts in logs/2026/06/2026-06-13.md and web/logs.json caused by daily log commits to main after the branch diverged.

Changes

Language tag standardization (config.py, composer.py, web_exporter.py)

  • New format: ZH + XX (e.g. ZH + JP) replacing bare language names
  • Backward-compat parsing of legacy full-name tags via LEGACY_LANGUAGE_NAMES mapping

Bilingual split-column display (web/app.js, web/styles.css)

  • Front-end renders Chinese original and translated version side-by-side
  • Responsive grid layout via .bilingual CSS class

Data + conflict resolution (web/logs.json, logs/2026/06/)

Branch cleanup (already done)

8 stale/orphan branches deleted: all merged copilot/* feature branches (PR #1–5) plus two unassociated orphans (fix-daily-check-in-issue, fix-daily-journal-submission).

- 修改语言标签格式:从单一语言名称改为 'ZH + XX' 格式
- 前端双语分栏:左侧中文原版,右侧翻译版本
- 兼容旧日志格式,自动转换语言全称到短名称
- 完善代码注释和文档
- 包含2026-06-14日记条目的双语数据

Closes #6
@CyberYui CyberYui marked this pull request as ready for review June 15, 2026 02:54
@CyberYui CyberYui merged commit acdc52f into main Jun 15, 2026
@CyberYui CyberYui deleted the copilot/copilotfix-daily-check-in-issue branch June 15, 2026 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants