Skip to content

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

Merged
ima1zumi merged 1 commit into
ruby:masterfrom
okuramasafumi:ja-help-message-latest
Mar 18, 2024
Merged

ima1zumi merged 1 commit into
ruby:masterfrom
okuramasafumi:ja-help-message-latest

Conversation

@okuramasafumi

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread lib/irb/lc/ja/help-message Outdated
-W[level=2] ruby -W と同じ.
--context-mode n 新しいワークスペースを作成した時に関連する Binding
オブジェクトの作成方法を 0 から 3 のいずれかに設定する.
--extra-doc-dir ドキュメントダイアログにディレクトリを追加する.

Copy link
Copy Markdown
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

tompng commented Mar 16, 2024

Copy link
Copy Markdown
Member

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

Comment thread lib/irb/lc/ja/help-message Outdated
-W[level=2] ruby -W と同じ.
--context-mode n 新しいワークスペースを作成した時に関連する Binding
オブジェクトの作成方法を 0 から 3 のいずれかに設定する.
--extra-doc-dir ドキュメントダイアログにディレクトリを追加する.

Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

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

@tompng tompng left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👍

@ima1zumi ima1zumi left a comment

Copy link
Copy Markdown
Member

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants