From f27e8745f15ecd0d15e26bec53b9d36938e8296c Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 10 Jun 2014 01:38:11 -0700 Subject: [PATCH] Add more detail in body of the Invalid URL dialog. --- MobileCydia.app/en.lproj/Localizable.strings | 1 + MobileCydia.mm | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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 -- 2.45.2