Skip to content

Language Discrepancy Within build_versioned_docs Site Script #2089

@rionmonster

Description

@rionmonster

Search before asking

  • I searched in the issues and found nothing similar.

Fluss version

0.8.0 (latest release)

Please describe the bug 🐞

There's a very minor language discrepancy within the existing build_versioned_docs.sh script which is predominately in English, however contains a single comment that is not as seen below which probably should be updated to align with the rest of the document:

...
# Remove the remote branch prefix "remotes/origin/"
clean_branch_name=$(echo "$branch" | sed 's|remotes/origin/||')
version=$(echo "$branch" | sed 's|remotes/origin/release-||')

echo "Processing branch: $clean_branch_name"

# 检出分支
git checkout "$clean_branch_name" || { echo "Failed to checkout branch: $clean_branch_name"; continue; }
...

Solution

The fix should simply be to update the existing comment to align with English in the rest of the document (or simply remove it entirely). I'd error towards translating it since you can never have too many comments in large scripts.

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions