Localize all the things

Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
Roopesh Chander
2018-12-21 18:34:09 +05:30
parent e47a8232d8
commit 0552d75aa1
13 changed files with 408 additions and 135 deletions
@@ -11,11 +11,11 @@ enum ZipArchiveError: WireGuardAppError {
var alertText: AlertText {
switch self {
case .cantOpenInputZipFile:
return ("Unable to read zip archive", "The zip archive could not be read.")
return (tr("alertCantOpenInputZipFileTitle"), tr("alertCantOpenInputZipFileMessage"))
case .cantOpenOutputZipFileForWriting:
return ("Unable to create zip archive", "Could not open zip file for writing.")
return (tr("alertCantOpenOutputZipFileForWritingTitle"), tr("alertCantOpenOutputZipFileForWritingMessage"))
case .badArchive:
return ("Unable to read zip archive", "Bad or corrupt zip archive.")
return (tr("alertBadArchiveTitle"), tr("alertBadArchiveMessage"))
}
}
}