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

streamline help menu #3556

Merged
merged 1 commit into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public boolean onOptionsItemSelected(MenuItem item) {
openOnlineUrl("https://delta.chat/gdpr");
return true;
case R.id.contribute:
openOnlineUrl("https://github.com/deltachat/deltachat-android");
openOnlineUrl("https://delta.chat/contribute");
return true;
case R.id.report_issue:
openOnlineUrl("https://github.com/deltachat/deltachat-android/issues");
Expand Down
4 changes: 2 additions & 2 deletions src/main/res/menu/local_help.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<item android:title="@string/menu_scroll_to_top"
android:id="@+id/log_scroll_up" />

<item android:title="@string/global_menu_help_learn_desktop"
<item android:title="@string/delta_chat_homepage"
android:id="@+id/learn_more"
app:showAsAction="never"/>

<item android:title="@string/privacy_policy"
android:id="@+id/privacy_policy"
app:showAsAction="never"/>

<item android:title="@string/global_menu_help_contribute_desktop"
<item android:title="@string/contribute"
android:id="@+id/contribute"
app:showAsAction="never"/>

Expand Down
4 changes: 4 additions & 0 deletions src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1085,8 +1085,12 @@
<string name="global_menu_view_developer_desktop">Developer</string>
<string name="global_menu_view_developer_tools_desktop">Developer Tools</string>
<string name="global_menu_help_desktop">Help</string>
<!-- deprecated, use delta_chat_homepage instead -->
<string name="global_menu_help_learn_desktop">Learn more about Delta Chat</string>
<string name="delta_chat_homepage">Delta Chat Homepage</string>
<!-- deprecated, use contribute instead -->
<string name="global_menu_help_contribute_desktop">Contribute on GitHub</string>
<string name="contribute">Contribute</string>
<string name="global_menu_help_report_desktop">Report an Issue</string>
<string name="global_menu_help_about_desktop">About Delta Chat</string>
<string name="global_menu_file_open_desktop">Open Delta Chat</string>
Expand Down
Loading