Skip to content

Commit

Permalink
Make question mark localizable
Browse files Browse the repository at this point in the history
  • Loading branch information
Stypox committed Sep 22, 2023
1 parent 027b829 commit f8b756c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ protected void addMetadataItem(final LayoutInflater inflater,

private String imageSizeToText(final int heightOrWidth) {
if (heightOrWidth < 0) {
return "?";
return getString(R.string.question_mark);
} else {
return String.valueOf(heightOrWidth);
}
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -828,4 +828,5 @@
<string name="image_quality_low">Low quality</string>
<string name="image_quality_medium">Medium quality</string>
<string name="image_quality_high">High quality</string>
<string name="question_mark">\?</string>
</resources>

0 comments on commit f8b756c

Please sign in to comment.