diff --git a/app/src/main/kotlin/com/dot/gallery/feature_node/presentation/mediaview/components/BottomBar.kt b/app/src/main/kotlin/com/dot/gallery/feature_node/presentation/mediaview/components/BottomBar.kt index 900fa4cd8..f072452b8 100644 --- a/app/src/main/kotlin/com/dot/gallery/feature_node/presentation/mediaview/components/BottomBar.kt +++ b/app/src/main/kotlin/com/dot/gallery/feature_node/presentation/mediaview/components/BottomBar.kt @@ -304,12 +304,12 @@ fun MediaViewDetails( } }, headlineContent = { - Text("Delete Location") + Text(stringResource(R.string.delete_location)) }, leadingContent = { Icon( imageVector = Icons.Outlined.GpsOff, - contentDescription = "Delete Location" + contentDescription = stringResource(R.string.delete_location) ) }, colors = ListItemDefaults.colors( @@ -337,12 +337,12 @@ fun MediaViewDetails( } }, headlineContent = { - Text("Delete Metadata") + Text(stringResource(R.string.delete_metadata)) }, leadingContent = { Icon( imageVector = Icons.Outlined.LocalFireDepartment, - contentDescription = "Delete Metadata" + contentDescription = stringResource(R.string.delete_metadata) ) }, colors = ListItemDefaults.colors( diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 73feff7c3..ace554dec 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -268,6 +268,8 @@ Hide UI on Video Play Hides the UI after 2 seconds when playing videos Up-to-date + Delete Location + Delete Metadata %s item %s items