Skip to content

v2.1.0 - Stable Release

Choose a tag to compare

@chrisKLP-sys chrisKLP-sys released this 23 Nov 04:49
· 14 commits to main since this release

🎉 Stable Release / 稳定版本发布

This is a stable release with new features and improvements. Recommended for production use.
这是一个稳定版本,包含新功能和改进。推荐用于生产环境。

Added / 新增

  • Left-hand traffic rule support: Supports both left-hand and right-hand traffic rules
    • 左行规则支持:支持左行规则和右行规则两种交通规则
  • Traffic rule selection: Can select traffic rule above data table
    • 交通规则选择:可在数据表格上方选择交通规则
  • Dynamic headers: 4-way intersection headers automatically adjust based on traffic rule
    • 动态表头:4路交叉口表头根据交通规则自动调整
  • File format update: Data files include traffic rule information
    • 文件格式更新:数据文件包含交通规则信息
  • Enhanced file parsing: Automatically infers intersection type from data if not declared
    • 增强的文件解析:如果未声明,自动从数据推断交叉口类型
  • Default traffic rule: Defaults to right-hand traffic if not specified
    • 默认交通规则:如果未指定,默认为右行规则
  • Multi-language support: Simplified Chinese and English interfaces
    • 多语言支持:简体中文和英文界面
  • Language selection menu: Switch interface language from menu bar
    • 语言选择菜单:可在菜单栏中切换界面语言
  • Global language switching: Language changes apply to all windows (startup dialog, main window, dialogs)
    • 全局语言切换:语言切换对所有窗口生效(启动对话框、主窗口、对话框)
  • Separated help documents: Chinese and English help documents provided separately
    • 帮助文档分离:中英文帮助文档分别提供
  • Dynamic UI updates: All interface text updates automatically when language changes
    • 动态界面更新:语言切换时所有界面文本自动更新
  • Adaptive button widths: Button widths adjust based on language (wider for English)
    • 自适应按钮宽度:按钮宽度根据语言调整(英文更宽)
  • Window size auto-adjustment: Windows resize automatically after language change
    • 窗口大小自动调整:语言切换后窗口自动调整大小
  • Configuration persistence: Automatically saves language and traffic rule settings to config.txt
    • 配置保存功能:自动保存语言和通行规则设置到config.txt文件
  • Config file format: User-friendly TXT format with bilingual instructions (Chinese and English)
    • 配置文件格式:用户友好的TXT格式,包含中英文双语说明
  • Startup dialog enhancements: Added Help and About buttons at the bottom
    • 启动界面增强:在底部添加帮助和关于按钮

Changed / 变更

  • Data file format: First line now includes traffic rule declaration
    • 数据文件格式:第一行现在包含交通规则声明
  • File format: "本交叉口为X路交叉口,实行左/右行通行规则。"
    • 文件格式:"本交叉口为X路交叉口,实行左/右行通行规则。"
  • Table header order: Changes based on traffic rule for 4-way intersections
    • 表头顺序:4路交叉口的表头顺序根据交通规则变化
  • All interface text now uses translation functions
    • 所有界面文本现在使用翻译函数
  • File export dialog: File type descriptions and default filenames are now translated
    • 文件导出对话框:文件类型描述和默认文件名现在已翻译
  • Help document loading: Automatically selects help document based on current language
    • 帮助文档加载:根据当前语言自动选择帮助文档
  • Configuration file: Changed from JSON to TXT format for better user-friendliness
    • 配置文件:从JSON格式改为TXT格式,更便于用户编辑