Skip to content

🌐 i18n(README): Add the simplified Chinese version of README#330

Merged
joshmedeski merged 2 commits intojoshmedeski:mainfrom
kalifun:translate
Feb 23, 2026
Merged

🌐 i18n(README): Add the simplified Chinese version of README#330
joshmedeski merged 2 commits intojoshmedeski:mainfrom
kalifun:translate

Conversation

@kalifun
Copy link
Contributor

@kalifun kalifun commented Feb 12, 2026

Hey, I added a Chinese document so that more people can know about this project.

Copy link
Owner

@joshmedeski joshmedeski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this! Glad to see this translated so others can use it.

Would you allow me to add you as a code reviewer for future PRs if/when we update the READMEs to make sure the documents don't go out of sync?

Just one suggestion about rendering callouts, but otherwise it seems okay.

README.zh-cn.md Outdated
dir_length = 2 # 使用最后两个目录:"projects/sesh" 而不是 "sesh"
```

> [!注意]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[!警告] -- the English uses > [!WARNING], which is a GitHub-specific admonition syntax.
Translating the keyword may break the rendering on GitHub. The > [!NOTE] on line 408 has the same issue
(> [!注意]). These keywords should stay in English for proper GitHub rendering.

Copy link
Owner

@joshmedeski joshmedeski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address that callout note and I'll be good to merge it.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Simplified Chinese documentation for the project and links it from the main README to improve accessibility for Chinese-speaking users.

Changes:

  • Added a new README.zh-cn.md (Simplified Chinese) translation of the README content.
  • Added a language switcher block to README.md linking to the Chinese README.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
README.zh-cn.md Introduces a full Simplified Chinese README (translation of existing docs and usage examples).
README.md Adds a centered language selector linking to README.zh-cn.md.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +291 to +293
bind-key "K" display-popup -E -w 40% "sesh connect "$(
sesh list -i | gum filter --limit 1 --no-sort --fuzzy --placeholder 'Pick a sesh' --height 50 --prompt='⚡'
)""
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The gum+tmux example has the same quoting issue as the tmux+fzf snippet: "sesh connect "$( breaks the string, and the closing quotes won’t match. Please wrap the $(...) in escaped quotes (as in README.md) so the command is valid when pasted.

Suggested change
bind-key "K" display-popup -E -w 40% "sesh connect "$(
sesh list -i | gum filter --limit 1 --no-sort --fuzzy --placeholder 'Pick a sesh' --height 50 --prompt='⚡'
)""
bind-key "K" display-popup -E -w 40% "sesh connect \"$(sesh list -i | gum filter --limit 1 --no-sort --fuzzy --placeholder 'Pick a sesh' --height 50 --prompt='⚡')\""

Copilot uses AI. Check for mistakes.
README.zh-cn.md Outdated
```

> [!注意]
> 与 [tmux-floatx](https://github.com/omerxx/tmux-floax) 配合使用效果很好
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The link text and URL don’t match: the text says tmux-floatx but the URL points to tmux-floax. Please align them to the correct project name to avoid confusing readers.

Suggested change
> [tmux-floatx](https://github.com/omerxx/tmux-floax) 配合使用效果很好
> [tmux-floax](https://github.com/omerxx/tmux-floax) 配合使用效果很好

Copilot uses AI. Check for mistakes.
@joshmedeski joshmedeski self-requested a review February 23, 2026 19:40
@joshmedeski
Copy link
Owner

谢谢 Thanks!

@joshmedeski joshmedeski merged commit 2d70fa1 into joshmedeski:main Feb 23, 2026
4 checks passed
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.

3 participants