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 19, 2023
1 parent 165de8e commit 9f3f9e5
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 @@ -817,4 +817,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 9f3f9e5

Please sign in to comment.