Skip to content

Commit

Permalink
add report option in MacOS Help menu
Browse files Browse the repository at this point in the history
  • Loading branch information
antonok-edm committed Sep 23, 2019
1 parent 52ac915 commit fbc5b5e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app/generated_resources.grd
Original file line number Diff line number Diff line change
Expand Up @@ -7747,6 +7747,9 @@ Please help our engineers fix this problem. Tell us what happened right before y
<message name="IDS_FEEDBACK_MAC" desc="The Mac menu item to report a bug in the Help menu.">
Report an Issue...
</message>
<message name="IDS_REPORT_BROKEN_SITE_MAC" desc="The Mac menu item to report a broken site in the Help menu.">
Report a Broken Site
</message>
<message name="IDS_HELP_MAC" desc="The Mac menu item to show help in the Help menu.">
<ph name="PRODUCT_NAME">$1<ex>Brave</ex></ph> Help
</message>
Expand Down
10 changes: 9 additions & 1 deletion patches/chrome-browser-ui-cocoa-main_menu_builder.mm.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/chrome/browser/ui/cocoa/main_menu_builder.mm b/chrome/browser/ui/cocoa/main_menu_builder.mm
index 158d63677d0e6f4b81ae26c0b2fd69f31872857a..26a6afdae1b156365bdfb9150471d889f1fa11b9 100644
index 158d63677d0e6f4b81ae26c0b2fd69f31872857a..fdf9a9474d6883f43be8c01e400e8ca64df81bcc 100644
--- a/chrome/browser/ui/cocoa/main_menu_builder.mm
+++ b/chrome/browser/ui/cocoa/main_menu_builder.mm
@@ -97,6 +97,8 @@ base::scoped_nsobject<NSMenuItem> BuildFileMenu(
Expand All @@ -11,3 +11,11 @@ index 158d63677d0e6f4b81ae26c0b2fd69f31872857a..26a6afdae1b156365bdfb9150471d889
Item(IDS_REOPEN_CLOSED_TABS_MAC)
.command_id(IDC_RESTORE_TAB)
.remove_if(is_pwa),
@@ -418,6 +420,7 @@ base::scoped_nsobject<NSMenuItem> BuildHelpMenu(
#if defined(GOOGLE_CHROME_BUILD)
Item(IDS_FEEDBACK_MAC).command_id(IDC_FEEDBACK),
#endif
+ Item(IDS_REPORT_BROKEN_SITE_MAC).command_id(IDC_SHOW_BRAVE_WEBCOMPAT_REPORTER),
Item(IDS_HELP_MAC)
.string_format_1(product_name)
.command_id(IDC_HELP_PAGE_VIA_MENU),

0 comments on commit fbc5b5e

Please sign in to comment.