diff --git a/CHANGELOG.md b/CHANGELOG.md index c8e011d..7be1a4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,20 +2,6 @@ #### More aligned with GitHub style -- Optimize the selection style of items in the menu. -- Optimize code block styles. -- Optimize some element styles on Issue/PR page. -- Optimize the width of the left side of the workflow details page in different zoom levels. - ##### Template File -- Synchronized repository commit page layout and styles. -- Synchronized repository code list page layout and styles. -- Synchronized repository add file button menu styles. - ### 🐞 Fix - -- Fixed extra lines under heatmap. -- Supplement the PR operation panel status style in PR. -- Fixed avatar size for approving users in PR -- Fixed bot label styles in Issue/PR \ No newline at end of file diff --git a/README.md b/README.md index 218fb03..499475f 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,16 @@ For details, please refer to the Gitea documentation > > The template modifies Gitea's layout to make it closer to GitHub's layout. Do not use template files across versions, > as this may lead to missing functionality and other issues. +> Template layout is bound to the Gitea instance and will affect all themes, impacting the experience of other non-project themes. + +### Translation File Installation (Optional) + +> [!TIP] +> +> Translation files are only needed when using this project's template files to provide support for non-English languages. + +1. Download the latest translation files from the release page and place them in the `data/gitea/options/locale` directory (This directory may not be available by default and needs to be manually created) +2. Restart Gitea ## Screenshots diff --git a/README_CN.md b/README_CN.md index de683eb..141b5e4 100644 --- a/README_CN.md +++ b/README_CN.md @@ -70,6 +70,20 @@ THEMES = gitea-auto, gitea-light, gitea-dark, github-auto, github-light, github- > [!IMPORTANT] > > 模板修改了 Gitea 的布局, 使其更接近 GitHub 的布局, 请勿跨版本使用模板文件, 可能会导致功能缺失等问题 +> 模板布局跟 Gitea 实例绑定, 所有主题都会生效, 会影响其他非本项目的主题的体验 + +### 翻译文件安装 (可选) + +> [!TIP] +> +> 仅在使用本项目的模板文件时需要安装翻译文件以提供非英文语言的支持 + +1. 在发布页下载最新的翻译文件放入 `data/gitea/options/locale` 目录下 (默认可能没有此目录需手动创建) +2. 重启 Gitea + +> [!NOTE] +> +> 中文翻译中还额外将 "工单" 替换为 "议题", "合并请求" 替换为 "拉取请求", 以与 GitHub 手机版中文保持一致 ## 截图 diff --git a/package.json b/package.json index f620770..5970c79 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gitea-github-theme", - "version": "1.25.3", + "version": "1.25.4.rc", "type": "module", "scripts": { "dev": "vite build --mode dev",