From: Jay Freeman (saurik) Date: Tue, 10 Jun 2014 08:38:11 +0000 (-0700) Subject: Add more detail in body of the Invalid URL dialog. X-Git-Tag: v1.1.10~26 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/f27e8745f15ecd0d15e26bec53b9d36938e8296c?ds=inline Add more detail in body of the Invalid URL dialog. --- diff --git a/MobileCydia.app/en.lproj/Localizable.strings b/MobileCydia.app/en.lproj/Localizable.strings index a098861f..fb79c70c 100644 --- a/MobileCydia.app/en.lproj/Localizable.strings +++ b/MobileCydia.app/en.lproj/Localizable.strings @@ -95,6 +95,7 @@ "INSTALLED_DETAILS" = "Installed Package"; "INSTALLED_FILES" = "Installed Files"; "INVALID_URL" = "Invalid URL"; +"INVALID_URL_EX" = "That is not a valid source URL. Please check it and try again."; "KEEP_OLD_COPY" = "Keep My Old Copy"; "LOADING" = "Loading"; "LOADING_DATA" = "Loading Data"; diff --git a/MobileCydia.mm b/MobileCydia.mm index fb87a442..911dd8b4 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -8500,8 +8500,8 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi static Pcre href_r("^http(s?)://[^# ]*$"); if (!href_r(href)) { UIAlertView *alert = [[[UIAlertView alloc] - initWithTitle:Error_ - message:UCLocalize("INVALID_URL") + initWithTitle:[NSString stringWithFormat:Colon_, Error_, UCLocalize("INVALID_URL")] + message:UCLocalize("INVALID_URL_EX") delegate:self cancelButtonTitle:UCLocalize("OK") otherButtonTitles:nil