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

Add Thunderbird website hyperlink on contribution screen #8599

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

marcRDZ
Copy link
Contributor

@marcRDZ marcRDZ commented Nov 20, 2024

Fixes #8430

I've followed this commit c777ad5 as a guide.

  • The string is fixed with punctuation mark at the end for all translations.
  • The whole text is clickable opening Thunderbird website.

I still doubt if I should hoist the click event and handle with a side effect as I've seen for other cases or it's ok on this way.
image

@marcRDZ marcRDZ force-pushed the fix-8430_support-thunderbird-link branch 3 times, most recently from f514fa2 to 9629677 Compare November 20, 2024 19:34
Copy link
Member

@wmontwe wmontwe left a comment

Choose a reason for hiding this comment

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

Thanks, the direction is great. I just found a better way to support in-text links.

Typicaly, we just change the source translations, but as this introduces a placeholder and Weblate doesn't handle that well. I think editing them here is the safer approach. Before merging this patch, we should pull the latest translations from Weblate and update this patch to ensure all changes are included.

Depends on #8608 <- merged

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
Copy link
Member

Choose a reason for hiding this comment

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

We enabled the funding feature for K-9 Mail. These links need to be updated in the K-9 Mail constants.xml.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@marcRDZ marcRDZ force-pushed the fix-8430_support-thunderbird-link branch 2 times, most recently from 0cb881f to 16010d7 Compare November 28, 2024 17:41
@kewisch kewisch requested a review from wmontwe November 28, 2024 18:41
@marcRDZ marcRDZ force-pushed the fix-8430_support-thunderbird-link branch from 16010d7 to fe26882 Compare November 28, 2024 18:51
@@ -260,3 +294,20 @@ private fun ListErrorView(
)
}
}

private fun Context.launchThunderbirdWebsite() {
Copy link
Member

Choose a reason for hiding this comment

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

This is not necessary anymore, the url is handled by the system already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When contributions are unavailable, link the website
2 participants