diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2014-06-10 01:38:11 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2014-06-10 01:38:11 -0700 |
commit | f27e8745f15ecd0d15e26bec53b9d36938e8296c (patch) | |
tree | 4aebf13dc2fc927fd7389a50444701b4b8fb836d | |
parent | 6e4215dd5a1c31d2e69e79ea8ecdd413cf3418fa (diff) |
Add more detail in body of the Invalid URL dialog.
-rw-r--r-- | MobileCydia.app/en.lproj/Localizable.strings | 1 | ||||
-rw-r--r-- | 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 a098861..fb79c70 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 fb87a44..911dd8b 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 |