]> git.saurik.com Git - cydia.git/commitdiff
Add more detail in body of the Invalid URL dialog.
authorJay Freeman (saurik) <saurik@saurik.com>
Tue, 10 Jun 2014 08:38:11 +0000 (01:38 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Tue, 10 Jun 2014 08:38:11 +0000 (01:38 -0700)
MobileCydia.app/en.lproj/Localizable.strings
MobileCydia.mm

index a098861fb32da3df3848191acf42ed7ea13fb488..fb79c70cf8ced4e98e16227be90ee094becaae33 100644 (file)
@@ -95,6 +95,7 @@
 "INSTALLED_DETAILS" = "Installed Package";
 "INSTALLED_FILES" = "Installed Files";
 "INVALID_URL" = "Invalid URL";
 "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";
 "KEEP_OLD_COPY" = "Keep My Old Copy";
 "LOADING" = "Loading";
 "LOADING_DATA" = "Loading Data";
index fb87a4428cd36e036ca109e67e13839595d24ee1..911dd8b43d29369d223e8e873be36ed445c22a8b 100644 (file)
@@ -8500,8 +8500,8 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi
                 static Pcre href_r("^http(s?)://[^# ]*$");
                 if (!href_r(href)) {
                     UIAlertView *alert = [[[UIAlertView alloc]
                 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
                         delegate:self
                         cancelButtonTitle:UCLocalize("OK")
                         otherButtonTitles:nil