Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(help): Add latest options to ja help message #903

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

okuramasafumi
Copy link
Contributor

No description provided.

@@ -9,8 +9,15 @@ Usage: irb.rb [options] [programfile] [arguments]
-W[level=2] ruby -W と同じ.
--context-mode n 新しいワークスペースを作成した時に関連する Binding
オブジェクトの作成方法を 0 から 3 のいずれかに設定する.
--extra-doc-dir ドキュメントダイアログにディレクトリを追加する.
Copy link
Member

Choose a reason for hiding this comment

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

I think this message is slightly incorrect.

English version is Add an extra doc dir for the doc dialog..
I think this message will be Add a directory to document dialog
How about 追加のドキュメントディレクトリを指定する. ?

@tompng
Copy link
Member

tompng commented Mar 16, 2024

Could you also add help message for --no-pager?
This is the last missing translation. Adding this will make it perfect!

@@ -9,8 +9,15 @@ Usage: irb.rb [options] [programfile] [arguments]
-W[level=2] ruby -W と同じ.
--context-mode n 新しいワークスペースを作成した時に関連する Binding
オブジェクトの作成方法を 0 から 3 のいずれかに設定する.
--extra-doc-dir ドキュメントダイアログにディレクトリを追加する.
Copy link
Member

Choose a reason for hiding this comment

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

The original text is difficult to understand little. --extra-doc-dir means the directories that are to be loaded during session startup.
ref: https://docs.ruby-lang.org/en/master/IRB.html#module-IRB-label-RI+Documentation+Directories

日本語で書くと'指定したディレクトリのドキュメントを読み込む'くらいの意味になると思います。

@okuramasafumi okuramasafumi force-pushed the ja-help-message-latest branch from e28fde4 to 391977b Compare March 17, 2024 06:51
@okuramasafumi
Copy link
Contributor Author

@tompng @ima1zumi Added --no-pager and adopted the translation idea!

Copy link
Member

@tompng tompng left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Member

@ima1zumi ima1zumi left a comment

Choose a reason for hiding this comment

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

👍

@ima1zumi ima1zumi merged commit 3c6d452 into ruby:master Mar 18, 2024
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants