added translatable strings

This commit is contained in:
David Kaspar 2024-12-30 14:03:28 +01:00
parent ee20508e4b
commit 7999608f28
3 changed files with 5 additions and 6 deletions

View File

@ -1197,8 +1197,7 @@ fun SaveButton(onSaveClick: (localContext: Context) -> Unit) {
Toast
.makeText(
localContext,
// stringRes(context, R.string.secret_key_copied_to_clipboard),
"Video download has started...",
stringRes(localContext, R.string.video_download_has_started_toast),
Toast.LENGTH_SHORT,
).show()
}

View File

@ -247,8 +247,7 @@ private fun DialogContent(
Toast
.makeText(
localContext,
// stringRes(context, R.string.secret_key_copied_to_clipboard),
"Media download has started...",
stringRes(localContext, R.string.media_download_has_started_toast),
Toast.LENGTH_SHORT,
).show()
}
@ -266,8 +265,7 @@ private fun DialogContent(
Toast
.makeText(
localContext,
// stringRes(context, R.string.secret_key_copied_to_clipboard),
"Media download has started...",
stringRes(localContext, R.string.media_download_has_started_toast),
Toast.LENGTH_SHORT,
).show()
}

View File

@ -126,6 +126,8 @@
<string name="ln_url_outdated">LN URL (outdated)</string>
<string name="save_to_gallery">Save to Gallery</string>
<string name="image_saved_to_the_gallery">Image saved to the phone\'s photo gallery</string>
<string name="video_download_has_started_toast">Video download has started…</string>
<string name="media_download_has_started_toast">Media download has started…</string>
<string name="failed_to_save_the_image">Failed to save the image</string>
<string name="video_saved_to_the_gallery">Video saved to the phone\'s video gallery</string>
<string name="failed_to_save_the_video">Failed to save the video</string>