From 4e2d704cfda763982fdc20cdccb2f8b99e0336d2 Mon Sep 17 00:00:00 2001 From: Soren Stoutner Date: Thu, 3 Nov 2022 12:24:45 -0700 Subject: [PATCH] Switch to new tab when long-pressing bookmark. https://redmine.stoutner.com/issues/912 --- app/src/main/assets/de/guide_interface.html | 42 +++++++++++++++++++ app/src/main/assets/de/guide_javascript.html | 4 +- .../main/assets/de/guide_tracking_ids.html | 2 +- app/src/main/assets/en/guide_interface.html | 40 ++++++++++++++++++ app/src/main/assets/en/guide_javascript.html | 4 +- app/src/main/assets/es/guide_interface.html | 42 +++++++++++++++++++ app/src/main/assets/es/guide_javascript.html | 4 +- .../main/assets/es/guide_tracking_ids.html | 2 +- app/src/main/assets/fr/guide_interface.html | 42 +++++++++++++++++++ app/src/main/assets/fr/guide_javascript.html | 4 +- app/src/main/assets/it/guide_interface.html | 42 +++++++++++++++++++ app/src/main/assets/it/guide_javascript.html | 4 +- .../main/assets/it/guide_tracking_ids.html | 2 +- .../main/assets/pt-rBR/guide_interface.html | 42 +++++++++++++++++++ .../main/assets/pt-rBR/guide_javascript.html | 4 +- app/src/main/assets/ru/guide_interface.html | 40 ++++++++++++++++++ app/src/main/assets/ru/guide_javascript.html | 4 +- .../main/assets/ru/guide_tracking_ids.html | 6 +-- app/src/main/assets/tr/guide_interface.html | 40 ++++++++++++++++++ app/src/main/assets/tr/guide_javascript.html | 4 +- .../activities/GuideActivity.kt | 4 +- .../activities/MainWebViewActivity.java | 14 +++---- .../adapters/GuidePagerAdapter.kt | 7 ++-- .../fragments/GuideWebViewFragment.kt | 5 ++- app/src/main/res/values-de/strings.xml | 3 +- app/src/main/res/values-es/strings.xml | 1 - app/src/main/res/values-fr/strings.xml | 1 - app/src/main/res/values-it/strings.xml | 1 - app/src/main/res/values-pt-rBR/strings.xml | 1 - app/src/main/res/values-ru/strings.xml | 1 - app/src/main/res/values/strings.xml | 2 +- 31 files changed, 371 insertions(+), 43 deletions(-) create mode 100644 app/src/main/assets/de/guide_interface.html create mode 100644 app/src/main/assets/en/guide_interface.html create mode 100644 app/src/main/assets/es/guide_interface.html create mode 100644 app/src/main/assets/fr/guide_interface.html create mode 100644 app/src/main/assets/it/guide_interface.html create mode 100644 app/src/main/assets/pt-rBR/guide_interface.html create mode 100644 app/src/main/assets/ru/guide_interface.html create mode 100644 app/src/main/assets/tr/guide_interface.html diff --git a/app/src/main/assets/de/guide_interface.html b/app/src/main/assets/de/guide_interface.html new file mode 100644 index 00000000..61ff8871 --- /dev/null +++ b/app/src/main/assets/de/guide_interface.html @@ -0,0 +1,42 @@ + + + + + + + + + + + + + +

Bookmarks

+ +

The bookmark drawer may be opened by swiping from the right edge of the screen. + If Android's gesture navigation is enabled, + the drawer may be opened by long-pressing on the edge of the screen until the drawer peaks out and then swiping it open. + Sometimes it can be difficult to get the bookmarks drawer to reliably peak on devices with curved edges, so it is also possible to open the bookmarks drawer from the options menu.

+ +

Tapping on a bookmark opens it in the current tab and long-pressing on a bookmark opens it in a new tab. + Tapping the top floating action button in the bookmarks drawer opens the bookmarks activity, where bookmarks can be edited and reorganized.

+ + diff --git a/app/src/main/assets/de/guide_javascript.html b/app/src/main/assets/de/guide_javascript.html index 1fc1ead0..3c1caaff 100644 --- a/app/src/main/assets/de/guide_javascript.html +++ b/app/src/main/assets/de/guide_javascript.html @@ -1,5 +1,5 @@ + + + + + + + + + + + + +

Bookmarks

+ +

The bookmark drawer may be opened by swiping from the right edge of the screen. + If Android's gesture navigation is enabled, + the drawer may be opened by long-pressing on the edge of the screen until the drawer peaks out and then swiping it open. + Sometimes it can be difficult to get the bookmarks drawer to reliably peak on devices with curved edges, so it is also possible to open the bookmarks drawer from the options menu.

+ +

Tapping on a bookmark opens it in the current tab and long-pressing on a bookmark opens it in a new tab. + Tapping the top floating action button in the bookmarks drawer opens the bookmarks activity, where bookmarks can be edited and reorganized.

+ + diff --git a/app/src/main/assets/en/guide_javascript.html b/app/src/main/assets/en/guide_javascript.html index 0b08e220..d4aadac2 100644 --- a/app/src/main/assets/en/guide_javascript.html +++ b/app/src/main/assets/en/guide_javascript.html @@ -1,5 +1,5 @@ + + + + + + + + + + + + +

Bookmarks

+ +

The bookmark drawer may be opened by swiping from the right edge of the screen. + If Android's gesture navigation is enabled, + the drawer may be opened by long-pressing on the edge of the screen until the drawer peaks out and then swiping it open. + Sometimes it can be difficult to get the bookmarks drawer to reliably peak on devices with curved edges, so it is also possible to open the bookmarks drawer from the options menu.

+ +

Tapping on a bookmark opens it in the current tab and long-pressing on a bookmark opens it in a new tab. + Tapping the top floating action button in the bookmarks drawer opens the bookmarks activity, where bookmarks can be edited and reorganized.

+ + diff --git a/app/src/main/assets/es/guide_javascript.html b/app/src/main/assets/es/guide_javascript.html index 4b1f5039..686ffafb 100644 --- a/app/src/main/assets/es/guide_javascript.html +++ b/app/src/main/assets/es/guide_javascript.html @@ -1,5 +1,5 @@ + + + + + + + + + + + + +

Bookmarks

+ +

The bookmark drawer may be opened by swiping from the right edge of the screen. + If Android's gesture navigation is enabled, + the drawer may be opened by long-pressing on the edge of the screen until the drawer peaks out and then swiping it open. + Sometimes it can be difficult to get the bookmarks drawer to reliably peak on devices with curved edges, so it is also possible to open the bookmarks drawer from the options menu.

+ +

Tapping on a bookmark opens it in the current tab and long-pressing on a bookmark opens it in a new tab. + Tapping the top floating action button in the bookmarks drawer opens the bookmarks activity, where bookmarks can be edited and reorganized.

+ + diff --git a/app/src/main/assets/fr/guide_javascript.html b/app/src/main/assets/fr/guide_javascript.html index d10de1c4..0edd7914 100644 --- a/app/src/main/assets/fr/guide_javascript.html +++ b/app/src/main/assets/fr/guide_javascript.html @@ -1,5 +1,5 @@ + + + + + + + + + + + + +

Bookmarks

+ +

The bookmark drawer may be opened by swiping from the right edge of the screen. + If Android's gesture navigation is enabled, + the drawer may be opened by long-pressing on the edge of the screen until the drawer peaks out and then swiping it open. + Sometimes it can be difficult to get the bookmarks drawer to reliably peak on devices with curved edges, so it is also possible to open the bookmarks drawer from the options menu.

+ +

Tapping on a bookmark opens it in the current tab and long-pressing on a bookmark opens it in a new tab. + Tapping the top floating action button in the bookmarks drawer opens the bookmarks activity, where bookmarks can be edited and reorganized.

+ + diff --git a/app/src/main/assets/it/guide_javascript.html b/app/src/main/assets/it/guide_javascript.html index 5e57f6d1..333e0ba5 100644 --- a/app/src/main/assets/it/guide_javascript.html +++ b/app/src/main/assets/it/guide_javascript.html @@ -1,5 +1,5 @@ + + + + + + + + + + + + +

Bookmarks

+ +

The bookmark drawer may be opened by swiping from the right edge of the screen. + If Android's gesture navigation is enabled, + the drawer may be opened by long-pressing on the edge of the screen until the drawer peaks out and then swiping it open. + Sometimes it can be difficult to get the bookmarks drawer to reliably peak on devices with curved edges, so it is also possible to open the bookmarks drawer from the options menu.

+ +

Tapping on a bookmark opens it in the current tab and long-pressing on a bookmark opens it in a new tab. + Tapping the top floating action button in the bookmarks drawer opens the bookmarks activity, where bookmarks can be edited and reorganized.

+ + diff --git a/app/src/main/assets/pt-rBR/guide_javascript.html b/app/src/main/assets/pt-rBR/guide_javascript.html index 62a80b9f..4e651f39 100644 --- a/app/src/main/assets/pt-rBR/guide_javascript.html +++ b/app/src/main/assets/pt-rBR/guide_javascript.html @@ -1,5 +1,5 @@ + + + + + + + + + + + + +

Bookmarks

+ +

The bookmark drawer may be opened by swiping from the right edge of the screen. + If Android's gesture navigation is enabled, + the drawer may be opened by long-pressing on the edge of the screen until the drawer peaks out and then swiping it open. + Sometimes it can be difficult to get the bookmarks drawer to reliably peak on devices with curved edges, so it is also possible to open the bookmarks drawer from the options menu.

+ +

Tapping on a bookmark opens it in the current tab and long-pressing on a bookmark opens it in a new tab. + Tapping the top floating action button in the bookmarks drawer opens the bookmarks activity, where bookmarks can be edited and reorganized.

+ + diff --git a/app/src/main/assets/ru/guide_javascript.html b/app/src/main/assets/ru/guide_javascript.html index 2ec3e356..739bbde7 100644 --- a/app/src/main/assets/ru/guide_javascript.html +++ b/app/src/main/assets/ru/guide_javascript.html @@ -1,5 +1,5 @@ + + + + + + + + + + + + +

Bookmarks

+ +

The bookmark drawer may be opened by swiping from the right edge of the screen. + If Android's gesture navigation is enabled, + the drawer may be opened by long-pressing on the edge of the screen until the drawer peaks out and then swiping it open. + Sometimes it can be difficult to get the bookmarks drawer to reliably peak on devices with curved edges, so it is also possible to open the bookmarks drawer from the options menu.

+ +

Tapping on a bookmark opens it in the current tab and long-pressing on a bookmark opens it in a new tab. + Tapping the top floating action button in the bookmarks drawer opens the bookmarks activity, where bookmarks can be edited and reorganized.

+ + diff --git a/app/src/main/assets/tr/guide_javascript.html b/app/src/main/assets/tr/guide_javascript.html index eb421aef..523a0162 100644 --- a/app/src/main/assets/tr/guide_javascript.html +++ b/app/src/main/assets/tr/guide_javascript.html @@ -1,5 +1,5 @@ Lesezeichen Lesezeichen-Übersicht - Das Lesezeichen wurde in einem Tab im Hintergrund geöffnet. Lesezeichen erstellen Ordner erstellen Symbol für das aktuelle Lesezeichen @@ -416,6 +415,8 @@ WebView-Version: Orbot: I2P: + (F-Droid-Version) + (Google-Play-Version) OpenKeychain: Speicher-Nutzung von der App genutzter Speicher: diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 88c2b54e..772bd806 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -230,7 +230,6 @@ Favoritos Vista de base de datos - El favorito se abrió en una pestaña de fondo. Crear favorito Crear carpeta Icono de favorito actual diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 19bab3ff..ed44a4a9 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -230,7 +230,6 @@ Favoris Voir base de données - Le favori a été ouvert dans un onglet en arrière-plan. Créer un favori Créer un dossier Icône actuelle diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index ec137c41..748e983f 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -229,7 +229,6 @@ Segnalibri Vista Database - Il segnalibro è stato aperto in una scheda in background. Crea Segnalibro Crea Cartella Icona Segnalibro diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index 349a1b6c..f6fc08c2 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -227,7 +227,6 @@ Favoritos Visualização do banco de dados - O favorito foi aberto em uma aba em segundo plano. Criar marcador Criar pasta Ícone de favorito atual diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index f6ba4bf1..016c7a4d 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -226,7 +226,6 @@ Закладки Просмотр базы данных - Закладка была открыта в фоновой вкладке. Создание закладки Создание папки Текущий значок закладки diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 1f9ff1aa..34f15a63 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -236,7 +236,6 @@ Bookmarks Database View - The bookmark was opened in a background tab. Create Bookmark Create Folder Current bookmark icon @@ -389,6 +388,7 @@ SSL Certificates Proxies Tracking IDs + Interface Proxy not installed dialog -- 2.45.2