Add and translate "uncompressed" string

This commit is contained in:
Davide Depau 2018-09-02 02:05:54 +02:00
parent 47bf826d1c
commit 5d67191343
Signed by: depau
GPG key ID: C7D999B6A55EFE86
3 changed files with 3 additions and 1 deletions

View file

@ -81,7 +81,7 @@ class ConfirmationActivity : ActivityBase() {
val sizeStr: String?
if (StateKeeper.imageRepr?.size != null) {
imgSize = StateKeeper.imageRepr?.size
sizeStr = imgSize?.toHRSize() + " (uncompressed)"
sizeStr = imgSize?.toHRSize() + " " + getString(R.string.uncompressed)
} else {
imgSize = StateKeeper.imageFile?.getFileSize(this)
sizeStr = imgSize?.toHRSize()

View file

@ -102,4 +102,5 @@
<string name="reporting_issues_text">I problemi possono essere segnalati su GitHub:\nhttps://github.com/Depau/EtchDroid/issues</string>
<string name="write_failed">Scrittura fallita</string>
<string name="unknown_error">Errore sconosciuto. Prova a ricollegare il dispositivo USB o a riavviare il dispositivo. Per favore, segnala il problema su GitHub.</string>
<string name="uncompressed">(decompresso)</string>
</resources>

View file

@ -101,4 +101,5 @@
<string name="reporting_issues_text">Issues can be reported on GitHub:\nhttps://github.com/Depau/EtchDroid/issues</string>
<string name="write_failed">Write failed</string>
<string name="unknown_error">Unknown error. Try to reattach the USB drive or reboot the device. Please file an issue on GitHub.</string>
<string name="uncompressed">(uncompressed)</string>
</resources>