Skip to content

Commit

Permalink
feat: add explanation for context menu functionality (#486)
Browse files Browse the repository at this point in the history
  • Loading branch information
svenjacobs authored Oct 19, 2024
1 parent 9180c83 commit f12cce4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The benefits of removing tracking parameters are:
- Improves readability of links
- Saves characters (in Tweets for example)

<img src="etc/painting_mondstern.jpg" width="400" />
<img src="./etc/painting_mondstern.jpg" width="400" />

_Painting by [Mondstern](https://mastodon.green/@mondstern/111993655182793928) (CC BY-SA)_

Expand All @@ -31,6 +31,11 @@ Cleaner share the cleaned URL to the actual target application.

<img src="./app/src/main/res/drawable-nodpi/howto_pixel_5.webp" width="250" />

It's also possible to select editable text in any application which supports it, then in the
context menu choose Léon to sanitize text in place.

<img src="./etc/context_menu.png" />

## Issues & feedback

Did you find a bug or have an idea of how the app could be improved? Please report
Expand All @@ -39,7 +44,8 @@ Did you find a bug or have an idea of how the app could be improved? Please repo

## API

It is possible to call Léon programmatically from other applications. See [API.md](./API.md) for details.
It is possible to call Léon programmatically from other applications. See [API.md](./API.md) for
details.

## Technical implementation

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<string name="clipboard_message">Link in Zwischenablage kopiert</string>
<string name="clipboard_empty_message">Zwischenablage ist leer</string>
<string name="how_to_title">Anleitung</string>
<string name="how_to_text">Wähle die App \"URL Cleaner\" beim Teilen von Text aus. Klicke anschließend in dieser App auf \"Teilen\", um den Text an die Ziel-App zu schicken. Alternativ, klicke die Schaltflächte oben, um den Inhalt aus der Zwischenablage zu importieren.</string>
<string name="how_to_text">Wähle die App \"URL Cleaner\" beim Teilen von Text aus. Klicke anschließend in dieser App auf \"Teilen\", um den Text an die Ziel-App zu schicken. Alternativ, klicke die Schaltflächte oben, um den Inhalt aus der Zwischenablage zu importieren.\n\nEs ist auch möglich editierbaren Text in einer App auszuwählen und anschließend in dem Kontextmenü Léon zu wählen, um den Text and Ort und Stelle zu reinigen.</string>
<string name="cleaned_url">Gesäuberte URL</string>
<string name="original_url">Original URL</string>
<string name="sanitizers">Reiniger</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<string name="clipboard_message">Link copied to clipboard</string>
<string name="clipboard_empty_message">Clipboard is empty</string>
<string name="how_to_title">How-to</string>
<string name="how_to_text">When sharing text, choose \"URL Cleaner\". Then click on \"Share\" in this app to send text to target app. Alternatively, click the button above to import contents from the clipboard.</string>
<string name="how_to_text">When sharing text, choose \"URL Cleaner\". Then click on \"Share\" in this app to send text to target app. Alternatively, click the button above to import contents from the clipboard.\n\nIt\'s also possible to select editable text in an application, then in the context menu choose Léon to sanitize text in place.</string>
<string name="cleaned_url">Cleaned URL</string>
<string name="original_url">Original URL</string>
<string name="sanitizers">Sanitizers</string>
Expand Down
Binary file added etc/context_menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f12cce4

Please sign in to comment.