--- a/Plugins/Bonjour/libezv/Private Classes/AWEzvContactManagerRendezvous.m Fri Jun 07 13:17:03 2013 -0400
+++ b/Plugins/Bonjour/libezv/Private Classes/AWEzvContactManagerRendezvous.m Fri Jun 07 13:19:15 2013 -0400
@@ -182,7 +182,7 @@
[fDomainBrowser addToCurrentRunLoop];
avDNSReference = servRef;
- [[client client] reportError:@"Could not register DNS service: _presence._tcp" ofLevel:AWEzvConnectionError];
+ [[client client] reportError:AILocalizedString(@"Could not register DNS service: _presence._tcp", nil) ofLevel:AWEzvConnectionError]; @@ -296,7 +296,7 @@
if (updateError != kDNSServiceErr_NoError) {
- [[client client] reportError:@"Error updating TXT Record" ofLevel:AWEzvConnectionError];
+ [[client client] reportError:AILocalizedString(@"Error updating TXT Record", nil) ofLevel:AWEzvConnectionError]; @@ -416,7 +416,7 @@
fServiceBrowser = [[ServiceController alloc] initWithServiceRef:browsRef forContactManager:self];
[fServiceBrowser addToCurrentRunLoop];
- [[client client] reportError:@"Could not browse for _presence._tcp instances" ofLevel:AWEzvConnectionError];
+ [[client client] reportError:AILocalizedString(@"Could not browse for _presence._tcp instances", nil) ofLevel:AWEzvConnectionError]; @@ -478,7 +478,7 @@
[[contact resolveServiceController] addToCurrentRunLoop];
- [[client client] reportError:@"Could not search for TXT records" ofLevel:AWEzvConnectionError];
+ [[client client] reportError:AILocalizedString(@"Could not search for TXT records", nil) ofLevel:AWEzvConnectionError]; @@ -739,17 +739,16 @@
// Recover if there was an error
if (errorCode != kDNSServiceErr_NoError) {
-#warning Localize and report through the connection error system
case kDNSServiceErr_Unknown:
- [[[self client] client] reportError:@"Unknown error in Bonjour Registration"
+ [[[self client] client] reportError:AILocalizedString(@"Unknown error in Bonjour Registration", nil) ofLevel:AWEzvConnectionError];
case kDNSServiceErr_NameConflict:
- [[[self client] client] reportError:@"A user with your Bonjour data is already online"
+ [[[self client] client] reportError:AILocalizedString(@"A user with your Bonjour data is already online", nil) ofLevel:AWEzvConnectionError];
- [[[self client] client] reportError:@"An internal error occurred"
+ [[[self client] client] reportError:AILocalizedString(@"An internal error occurred", nil) ofLevel:AWEzvConnectionError];
AWEzvLog(@"Internal error: rendezvous code %d", errorCode);
@@ -769,7 +768,7 @@
- (void)serviceControllerReceivedFatalError:(ServiceController *)serviceController
- [[[self client] client] reportError:@"An unrecoverable connection error occurred"
+ [[[self client] client] reportError:AILocalizedString(@"An unrecoverable connection error occurred", nil) ofLevel:AWEzvConnectionError];