mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-11-23 02:35:21 +01:00
Make question mark localizable
This commit is contained in:
parent
027b829c38
commit
f8b756c8bc
@ -186,7 +186,7 @@ public abstract class BaseDescriptionFragment extends BaseFragment {
|
|||||||
|
|
||||||
private String imageSizeToText(final int heightOrWidth) {
|
private String imageSizeToText(final int heightOrWidth) {
|
||||||
if (heightOrWidth < 0) {
|
if (heightOrWidth < 0) {
|
||||||
return "?";
|
return getString(R.string.question_mark);
|
||||||
} else {
|
} else {
|
||||||
return String.valueOf(heightOrWidth);
|
return String.valueOf(heightOrWidth);
|
||||||
}
|
}
|
||||||
|
@ -828,4 +828,5 @@
|
|||||||
<string name="image_quality_low">Low quality</string>
|
<string name="image_quality_low">Low quality</string>
|
||||||
<string name="image_quality_medium">Medium quality</string>
|
<string name="image_quality_medium">Medium quality</string>
|
||||||
<string name="image_quality_high">High quality</string>
|
<string name="image_quality_high">High quality</string>
|
||||||
|
<string name="question_mark">\?</string>
|
||||||
</resources>
|
</resources>
|
Loading…
Reference in New Issue
Block a user