From 0552d75aa1d9e4e496bd066973fdf59726a4f235 Mon Sep 17 00:00:00 2001 From: Roopesh Chander Date: Tue, 18 Dec 2018 16:30:16 +0530 Subject: Localize all the things Signed-off-by: Roopesh Chander --- WireGuard/WireGuard/ZipArchive/ZipArchive.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'WireGuard/WireGuard/ZipArchive/ZipArchive.swift') diff --git a/WireGuard/WireGuard/ZipArchive/ZipArchive.swift b/WireGuard/WireGuard/ZipArchive/ZipArchive.swift index 66c99f5..df0ec73 100644 --- a/WireGuard/WireGuard/ZipArchive/ZipArchive.swift +++ b/WireGuard/WireGuard/ZipArchive/ZipArchive.swift @@ -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")) } } } -- cgit v1.2.3-59-g8ed1b