From f8b756c8bcaca8c45b41d7434db0b221ab3027d4 Mon Sep 17 00:00:00 2001 From: Stypox Date: Tue, 19 Sep 2023 18:40:14 +0200 Subject: [PATCH] Make question mark localizable --- .../newpipe/fragments/detail/BaseDescriptionFragment.java | 2 +- app/src/main/res/values/strings.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/org/schabi/newpipe/fragments/detail/BaseDescriptionFragment.java b/app/src/main/java/org/schabi/newpipe/fragments/detail/BaseDescriptionFragment.java index ffd10d827..e3bdc6592 100644 --- a/app/src/main/java/org/schabi/newpipe/fragments/detail/BaseDescriptionFragment.java +++ b/app/src/main/java/org/schabi/newpipe/fragments/detail/BaseDescriptionFragment.java @@ -186,7 +186,7 @@ public abstract class BaseDescriptionFragment extends BaseFragment { private String imageSizeToText(final int heightOrWidth) { if (heightOrWidth < 0) { - return "?"; + return getString(R.string.question_mark); } else { return String.valueOf(heightOrWidth); } diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 2ccc6a412..9a533f6b8 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -828,4 +828,5 @@ Low quality Medium quality High quality + \? \ No newline at end of file