-
Notifications
You must be signed in to change notification settings - Fork 142
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
#10 add option to popup menu #11
base: master
Are you sure you want to change the base?
Conversation
Thank you for your contribution, but did you notice that we have a shortcut Alt +O to go to the option page directly. |
hi @henices , i haven't noticed the option. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can also right click on the extention and then click on options to get the option screen.
But I indeed think that this pr should be included because most people are used to finding the option menu by just left clicking it.
@@ -42,6 +42,11 @@ | |||
<span id="direct" class="text" data-i18n-content="direct_proxy">DIRECT</span> | |||
</div> | |||
</li> | |||
<li id="option-page" title="Open options page"> | |||
<div class="menu"> | |||
<span id="option" class="text" data-i18n-content="direct_proxy">OPTIONS</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the data-il18n is wrong. I would expect "option_page"
@@ -65,6 +65,9 @@ | |||
"direct_proxy" : { | |||
"message" : "直接连接" | |||
}, | |||
"option-page" : { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for consistency I would use a _ instead of a -
What does this PR do?
add option to popup menu
screenshots?