summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-17 03:31:22 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-02-17 03:31:22 -0800
commit1aa295469003a507738adb02f9c536263909337d (patch)
treeeecf31037c41df78ebc56cfd687312f937bb570d
parent614cd4f16d13641f63709a90abdf0ae6cf3bb915 (diff)
Reformatted otherButtonTitles: due to variadic arguments.
-rw-r--r--MobileCydia.mm26
-rw-r--r--UICaboodle/BrowserView.mm4
2 files changed, 22 insertions, 8 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 81d6ff9..b2cb42f 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -4330,7 +4330,9 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
message:UCLocalize("REMOVING_ESSENTIALS_EX")
delegate:self
cancelButtonTitle:[NSString stringWithFormat:parenthetical, UCLocalize("CANCEL_OPERATION"), UCLocalize("SAFE")]
- otherButtonTitles:[NSString stringWithFormat:parenthetical, UCLocalize("FORCE_REMOVAL"), UCLocalize("UNSAFE")], nil
+ otherButtonTitles:
+ [NSString stringWithFormat:parenthetical, UCLocalize("FORCE_REMOVAL"), UCLocalize("UNSAFE")],
+ nil
];
[essential_ setContext:@"remove"];
@@ -4825,8 +4827,9 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
message:[NSString stringWithFormat:@"%@\n\n%@", UCLocalize("CONFIGURATION_UPGRADE_EX"), ofile]
delegate:self
cancelButtonTitle:UCLocalize("KEEP_OLD_COPY")
- otherButtonTitles:UCLocalize("ACCEPT_NEW_COPY"),
- // XXX: UCLocalize("SEE_WHAT_CHANGED"),
+ otherButtonTitles:
+ UCLocalize("ACCEPT_NEW_COPY"),
+ // XXX: UCLocalize("SEE_WHAT_CHANGED"),
nil
] autorelease];
@@ -7826,7 +7829,9 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
message:warning
delegate:self
cancelButtonTitle:UCLocalize("CANCEL")
- otherButtonTitles:UCLocalize("ADD_ANYWAY"), nil
+ otherButtonTitles:
+ UCLocalize("ADD_ANYWAY"),
+ nil
] autorelease];
[alert setContext:@"warning"];
@@ -8031,7 +8036,9 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
message:nil
delegate:self
cancelButtonTitle:UCLocalize("CANCEL")
- otherButtonTitles:UCLocalize("ADD_SOURCE"), nil
+ otherButtonTitles:
+ UCLocalize("ADD_SOURCE"),
+ nil
] autorelease];
[alert setContext:@"source"];
@@ -8412,7 +8419,9 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
message:UCLocalize("HALFINSTALLED_PACKAGE_EX")
delegate:self
cancelButtonTitle:UCLocalize("FORCIBLY_CLEAR")
- otherButtonTitles:UCLocalize("TEMPORARY_IGNORE"), nil
+ otherButtonTitles:
+ UCLocalize("TEMPORARY_IGNORE"),
+ nil
] autorelease];
[alert setContext:@"fixhalf"];
@@ -8425,7 +8434,10 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
message:UCLocalize("ESSENTIAL_UPGRADE_EX")
delegate:self
cancelButtonTitle:UCLocalize("TEMPORARY_IGNORE")
- otherButtonTitles:UCLocalize("UPGRADE_ESSENTIAL"), UCLocalize("COMPLETE_UPGRADE"), nil
+ otherButtonTitles:
+ UCLocalize("UPGRADE_ESSENTIAL"),
+ UCLocalize("COMPLETE_UPGRADE"),
+ nil
] autorelease];
[alert setContext:@"upgrade"];
diff --git a/UICaboodle/BrowserView.mm b/UICaboodle/BrowserView.mm
index bdb5753..3450e5e 100644
--- a/UICaboodle/BrowserView.mm
+++ b/UICaboodle/BrowserView.mm
@@ -553,7 +553,9 @@ static void $UIWebViewWebViewDelegate$webViewClose$(UIWebViewWebViewDelegate *se
message:nil
delegate:self
cancelButtonTitle:UCLocalize("CANCEL")
- otherButtonTitles:UCLocalize("SUBMIT"), nil
+ otherButtonTitles:
+ UCLocalize("SUBMIT"),
+ nil
] autorelease];
[alert setContext:@"submit"];