extract edit_download_saved_download_item_size_not_match

This commit is contained in:
AmirHossein Abdolmotallebi 2024-11-11 09:19:50 +03:30
parent 4ccd40423c
commit f4c730f8a0
2 changed files with 8 additions and 1 deletions

View File

@ -31,7 +31,13 @@ sealed interface CanEditWarnings {
val newSize: Long,
) : CanEditWarnings {
override fun asStringSource(): StringSource {
return "The saved item have size of $currentSize and now will change to $newSize".asStringSource()
return Res.string.edit_download_saved_download_item_size_not_match
.asStringSourceWithARgs(
Res.string.edit_download_saved_download_item_size_not_match_createArgs(
currentSize = "$currentSize",
newSize = "$newSize",
)
)
}
}

View File

@ -290,6 +290,7 @@ warning_you_may_have_to_restart_the_download_later=You may have to restart the d
edit_download_title=Edit Download
edit_download_update_from_download_page=Update from Download Page
edit_download_update_from_download_page_description=When this window is open, you can go to the Download Page and click the download button. The app will capture and update the new download credentials so you can save them.
edit_download_saved_download_item_size_not_match=The saved download item has a size of {{currentSize}} and will now change to {{newSize}}
translators_page_thanks=With Gratitude to Those Who Helped Translate This Project ❤️
translators=Translators
language=Language