Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2023-08-30 10:54:23 +02:00
parent acff4c88e7
commit 29227fc00f
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7
2 changed files with 6 additions and 1 deletions

View file

@ -182,7 +182,11 @@ class ImageDetailFragment : Fragment(), Injectable {
if (metadata.make == null || metadata.model?.contains(metadata.make!!) == true) {
binding.imgTCMakeModel.text = metadata.model
} else {
binding.imgTCMakeModel.text = "${metadata.make} ${metadata.model}"
binding.imgTCMakeModel.text = String.format(
getString(R.string.make_model),
metadata.make,
metadata.model
)
}
// image taking conditions

View file

@ -1107,4 +1107,5 @@
<string name="image_preview_unit_megapixel">%s MP</string>
<string name="image_preview_filedetails">File details</string>
<string name="image_preview_image_taking_conditions">Image taking conditions</string>
<string translatable="false" name="make_model">%1$s %2$s</string>
</resources>