Changeset 274
- Timestamp:
- 17-04-2008 18:56:56 (5 years ago)
- Files:
-
- 1 modified
-
trunk/lilypad/Sources/LPUIController.m (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lilypad/Sources/LPUIController.m
r268 r274 1574 1574 1575 1575 [authAlert setMessageText:[NSString stringWithFormat: 1576 NSLocalizedString(@"Authorize %@ to see your online status ?", @"presence subscription alert"),1577 contactReference ]];1576 NSLocalizedString(@"Authorize %@ to see your online status on account \"%@\"?", @"presence subscription alert"), 1577 contactReference, [entry account]]]; 1578 1578 1579 1579 [authAlert setInformativeText:[NSString stringWithFormat: 1580 1580 NSLocalizedString(@"The contact %@ has added your address to their contact list and wants to ask " 1581 @"for your authorization to see when you are online .\n\n"1581 @"for your authorization to see when you are online on account \"%@\".\n\n" 1582 1582 @"%@" 1583 1583 @"Do you want to allow this person to see your " 1584 1584 @"online status?", @"presence subscription alert"), 1585 1585 contactReference, 1586 [entry account], 1586 1587 ( [reason length] > 0 ? 1587 1588 [NSString stringWithFormat: … … 1613 1614 1614 1615 [authAlert setMessageText:[NSString stringWithFormat: 1615 NSLocalizedString(@"Authorization to see the online status of %@ was denied!", @"presence subscription alert"),1616 contactReference ]];1616 NSLocalizedString(@"Authorization to see the online status of %@ on account \"%@\" was denied!", @"presence subscription alert"), 1617 contactReference, [entry account]]]; 1617 1618 1618 1619 if ([humanReadableJID isEqualToString:[[entry contact] name]]) { 1619 1620 [authAlert setInformativeText:[NSString stringWithFormat: 1620 NSLocalizedString(@"Your authorization to see the online status of the address \"%@\" has been denied. "1621 NSLocalizedString(@"Your authorization to see the online status of the address \"%@\" on account \"%@\" has been denied. " 1621 1622 @"You may either remove this address from your contact list or try to renew the authorization.", @"presence subscription alert"), 1622 humanReadableJID ]];1623 humanReadableJID, [entry account]]]; 1623 1624 } 1624 1625 else { 1625 1626 [authAlert setInformativeText:[NSString stringWithFormat: 1626 NSLocalizedString(@"The contact \"%@\" has denied your authorization to see the online status of the address \"%@\" . "1627 NSLocalizedString(@"The contact \"%@\" has denied your authorization to see the online status of the address \"%@\" on account \"%@\". " 1627 1628 @"You may either remove this address from your contact list or try to renew the authorization.", @"presence subscription alert"), 1628 1629 [[entry contact] name], 1629 [entry humanReadableAddress]]]; 1630 [entry humanReadableAddress], 1631 [entry account]]]; 1630 1632 } 1631 1633 [authAlert setFirstButtonTitle:NSLocalizedString(@"Remove Address", @"presence subscription alert")];