Skip to content

Comments

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

Open
kalifun wants to merge 1 commit intojoshmedeski:mainfrom
kalifun:translate
Open

🌐 i18n(README): Add the simplified Chinese version of README#330
kalifun wants to merge 1 commit intojoshmedeski:mainfrom
kalifun:translate

Conversation

@kalifun
Copy link

@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.

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.

#### Bash/Zsh:
ssession=$(sesh l -t -T -d -H | walker -d -f -k -p "Sesh sessions"); sesh cn --switch $ssession

##### 对于 dmenu 启动器,请将 walker -dfk 替换为 dmenu 或 rofi)
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.

This line has an extra trailing ) after rofi, which makes the sentence look like it has unbalanced punctuation. Please remove the stray ) (or add the matching opening one if intended).

Suggested change
##### 对于 dmenu 启动器,请将 walker -dfk 替换为 dmenu 或 rofi)
##### 对于 dmenu 启动器,请将 walker -dfk 替换为 dmenu 或 rofi

Copilot uses AI. Check for mistakes.

## gum + tmux

如果您更喜欢使用 [charmblacelet's gum](https://github.com/charmbracelet/gum),那么您可以使用以下命令连接到会话:
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 project name is misspelled as “charmblacelet's”. Please correct it to “charmbracelet's” to match the actual GitHub org/repo name.

Suggested change
如果您更喜欢使用 [charmblacelet's gum](https://github.com/charmbracelet/gum),那么您可以使用以下命令连接到会话:
如果您更喜欢使用 [charmbracelet's gum](https://github.com/charmbracelet/gum),那么您可以使用以下命令连接到会话:

Copilot uses AI. Check for mistakes.
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.
```

> [!注意]
> 与 [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.
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