From 7f096c714d0e92c93abc54942dec3c1b3da60007 Mon Sep 17 00:00:00 2001 From: linsui <2873532-linsui@users.noreply.gitlab.com> Date: Wed, 4 Sep 2024 20:40:06 +0800 Subject: [PATCH] Add TetheredNet --- .../fdroid/views/appdetails/AntiFeaturesListingView.java | 4 ++++ app/src/main/res/values/array.xml | 3 +++ app/src/main/res/values/donottranslate.xml | 1 + app/src/main/res/values/strings.xml | 2 ++ 4 files changed, 10 insertions(+) diff --git a/app/src/main/java/org/fdroid/fdroid/views/appdetails/AntiFeaturesListingView.java b/app/src/main/java/org/fdroid/fdroid/views/appdetails/AntiFeaturesListingView.java index fc9dbbc07..6b09587a3 100644 --- a/app/src/main/java/org/fdroid/fdroid/views/appdetails/AntiFeaturesListingView.java +++ b/app/src/main/java/org/fdroid/fdroid/views/appdetails/AntiFeaturesListingView.java @@ -140,6 +140,8 @@ public class AntiFeaturesListingView extends RecyclerView { return context.getString(R.string.antitracklist); } else if (antiFeatureName.equals(context.getString(R.string.antinonfreenet_key))) { return context.getString(R.string.antinonfreenetlist); + } else if (antiFeatureName.equals(context.getString(R.string.antitetherednet_key))) { + return context.getString(R.string.antitetherednetlist); } else if (antiFeatureName.equals(context.getString(R.string.antinonfreead_key))) { return context.getString(R.string.antinonfreeadlist); } else if (antiFeatureName.equals(context.getString(R.string.antinonfreedep_key))) { @@ -168,6 +170,8 @@ public class AntiFeaturesListingView extends RecyclerView { return R.drawable.ic_antifeature_tracking; } else if (antiFeatureName.equals(context.getString(R.string.antinonfreenet_key))) { return R.drawable.ic_antifeature_nonfreenet; + } else if (antiFeatureName.equals(context.getString(R.string.antitetherednet_key))) { + return R.drawable.ic_antifeature_tetherednet; } else if (antiFeatureName.equals(context.getString(R.string.antinonfreead_key))) { return R.drawable.ic_antifeature_nonfreeadd; } else if (antiFeatureName.equals(context.getString(R.string.antinonfreedep_key))) { diff --git a/app/src/main/res/values/array.xml b/app/src/main/res/values/array.xml index b716ffdb5..505d19365 100644 --- a/app/src/main/res/values/array.xml +++ b/app/src/main/res/values/array.xml @@ -20,6 +20,7 @@ @string/antitrack_key @string/antinonfreead_key @string/antinonfreenet_key + @string/antitetherednet_key @string/antinonfreedep_key @string/antiupstreamnonfree_key @string/antinonfreeassets_key @@ -35,6 +36,7 @@ @string/antitrack_key @string/antinonfreead_key @string/antinonfreenet_key + @string/antitetherednet_key @string/antinonfreedep_key @string/antiupstreamnonfree_key @string/antinonfreeassets_key @@ -49,6 +51,7 @@ @string/antitrack @string/antinonfreead @string/antinonfreenet + @string/antitetherednet @string/antinonfreedep @string/antiupstreamnonfree @string/antinonfreeassets diff --git a/app/src/main/res/values/donottranslate.xml b/app/src/main/res/values/donottranslate.xml index 2bcd4b4e3..2d527ed84 100644 --- a/app/src/main/res/values/donottranslate.xml +++ b/app/src/main/res/values/donottranslate.xml @@ -21,6 +21,7 @@ Ads Tracking NonFreeNet + TetheredNet NonFreeAdd NonFreeDep UpstreamNonFree diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index d5af95e69..04adf50e0 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -320,6 +320,7 @@ This often occurs with apps installed via Google Play or other sources, if they Tracking Non-Free Addons Non-Free Network Services + Tethered Network Services Non-Free Dependencies Upstream Non-Free Non-Free Assets @@ -332,6 +333,7 @@ This often occurs with apps installed via Google Play or other sources, if they This app tracks and reports your activity This app promotes non-free add-ons This app promotes or depends entirely on a non-free network service + This app depends entirely on a certain instance of a network service This app depends on other non-free apps The upstream source code is not entirely Free This app contains non-free assets