From 5af8541363790085cfe211f8cbd3f574429ddbf6 Mon Sep 17 00:00:00 2001 From: "LINING-PC\\lining" Date: Tue, 23 Dec 2025 12:20:45 +0800 Subject: [PATCH] v1.6.2 - bugfix I18n --- CHANGELOG.md | 6 + README-EN.md | 214 ++++++++++++++++++++------ README.md | 212 ++++++++++++++++++++----- demo/version-history.json | 10 ++ npm-demo/src/components/GanttTest.vue | 20 ++- package.json | 2 +- src/composables/useI18n.ts | 26 +++- src/index.ts | 3 + 8 files changed, 400 insertions(+), 93 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index be1dc89..978e24b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.6.2] - 2025-12-23 + +### Fixed +- 🔧 修复:I18n外部使用的问题 +- 🔧 Fixed: Issue with using I18n externally + ## [1.6.1] - 2025-12-15 ### Fixed diff --git a/README-EN.md b/README-EN.md index e4d0c42..793d3c2 100644 --- a/README-EN.md +++ b/README-EN.md @@ -2026,7 +2026,7 @@ const handleLanguageChange = (lang: 'zh-CN' | 'en-US') => { #### Custom Translations -Override or extend default translations via `localeMessages` prop: +Pass custom multilingual text via the `localeMessages` prop, which will be automatically merged into the default translations: ```vue