mirror of https://github.com/oxen-io/session-ios
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
	
	
		
			72 lines
		
	
	
		
			3.9 KiB
		
	
	
	
		
			Swift
		
	
		
		
			
		
	
	
			72 lines
		
	
	
		
			3.9 KiB
		
	
	
	
		
			Swift
		
	
| 
											9 years ago
										 | // | ||
| 
											8 years ago
										 | //  Copyright (c) 2018 Open Whisper Systems. All rights reserved. | ||
| 
											9 years ago
										 | // | ||
| 
											9 years ago
										 | 
 | ||
|  | import Foundation | ||
|  | 
 | ||
| 
											9 years ago
										 | /**
 | ||
|  |  * Strings re-used in multiple places should be added here. | ||
|  |  */ | ||
| 
											8 years ago
										 | 
 | ||
| 
											8 years ago
										 | @objc public class CommonStrings: NSObject { | ||
|  |     @objc | ||
|  |     static public let dismissButton = NSLocalizedString("DISMISS_BUTTON_TEXT", comment: "Short text to dismiss current modal / actionsheet / screen") | ||
|  |     @objc | ||
| 
											8 years ago
										 |     static public let cancelButton = NSLocalizedString("TXT_CANCEL_TITLE", comment: "Label for the cancel button in an alert or action sheet.") | ||
| 
											8 years ago
										 |     @objc | ||
| 
											8 years ago
										 |     static public let retryButton = NSLocalizedString("RETRY_BUTTON_TEXT", comment: "Generic text for button that retries whatever the last action was.") | ||
| 
											8 years ago
										 |     @objc | ||
|  |     static public let openSettingsButton = NSLocalizedString("OPEN_SETTINGS_BUTTON", comment: "Button text which opens the settings app") | ||
| 
											8 years ago
										 |     @objc | ||
|  |     static public let errorAlertTitle = NSLocalizedString("ALERT_ERROR_TITLE", comment: "") | ||
| 
											8 years ago
										 | } | ||
|  | 
 | ||
| 
											8 years ago
										 | @objc public class MessageStrings: NSObject { | ||
|  |     @objc | ||
|  |     static public let newGroupDefaultTitle = NSLocalizedString("NEW_GROUP_DEFAULT_TITLE", comment: "Used in place of the group name when a group has not yet been named.") | ||
| 
											8 years ago
										 | } | ||
|  | 
 | ||
| 
											8 years ago
										 | @objc public class CallStrings: NSObject { | ||
|  |     @objc | ||
|  |     static public let callStatusFormat = NSLocalizedString("CALL_STATUS_FORMAT", comment: "embeds {{Call Status}} in call screen label. For ongoing calls, {{Call Status}} is a seconds timer like 01:23, otherwise {{Call Status}} is a short text like 'Ringing', 'Busy', or 'Failed Call'") | ||
| 
											9 years ago
										 | 
 | ||
| 
											8 years ago
										 |     @objc | ||
|  |     static public let confirmAndCallButtonTitle = NSLocalizedString("SAFETY_NUMBER_CHANGED_CONFIRM_CALL_ACTION", comment: "alert button text to confirm placing an outgoing call after the recipients Safety Number has changed.") | ||
| 
											9 years ago
										 | 
 | ||
| 
											8 years ago
										 |     @objc | ||
|  |     static public let callBackAlertTitle = NSLocalizedString("CALL_USER_ALERT_TITLE", comment: "Title for alert offering to call a user.") | ||
|  |     @objc | ||
|  |     static public let callBackAlertMessageFormat = NSLocalizedString("CALL_USER_ALERT_MESSAGE_FORMAT", comment: "Message format for alert offering to call a user. Embeds {{the user's display name or phone number}}.") | ||
|  |     @objc | ||
|  |     static public let callBackAlertCallButton = NSLocalizedString("CALL_USER_ALERT_CALL_BUTTON", comment: "Label for call button for alert offering to call a user.") | ||
| 
											9 years ago
										 | 
 | ||
| 
											9 years ago
										 |     // MARK: Notification actions | ||
| 
											8 years ago
										 |     @objc | ||
|  |     static public let callBackButtonTitle = NSLocalizedString("CALLBACK_BUTTON_TITLE", comment: "notification action") | ||
|  |     @objc | ||
|  |     static public let showThreadButtonTitle = NSLocalizedString("SHOW_THREAD_BUTTON_TITLE", comment: "notification action") | ||
| 
											9 years ago
										 | 
 | ||
|  |     // MARK: Missed Call Notification | ||
| 
											8 years ago
										 |     @objc | ||
|  |     static public let missedCallNotificationBodyWithoutCallerName = NSLocalizedString("MISSED_CALL", comment: "notification title") | ||
|  |     @objc | ||
|  |     static public let missedCallNotificationBodyWithCallerName = NSLocalizedString("MSGVIEW_MISSED_CALL_WITH_NAME", comment: "notification title. Embeds {{caller's name or phone number}}") | ||
| 
											9 years ago
										 | 
 | ||
| 
											9 years ago
										 |     // MARK: Missed with changed identity notification (for not previously verified identity) | ||
| 
											8 years ago
										 |     @objc | ||
|  |     static public let missedCallWithIdentityChangeNotificationBodyWithoutCallerName =  NSLocalizedString("MISSED_CALL_WITH_CHANGED_IDENTITY_BODY_WITHOUT_CALLER_NAME", comment: "notification title") | ||
|  |     @objc | ||
|  |     static public let missedCallWithIdentityChangeNotificationBodyWithCallerName =  NSLocalizedString("MISSED_CALL_WITH_CHANGED_IDENTITY_BODY_WITH_CALLER_NAME", comment: "notification title. Embeds {{caller's name or phone number}}") | ||
| 
											9 years ago
										 | } | ||
| 
											9 years ago
										 | 
 | ||
| 
											8 years ago
										 | @objc public class MediaStrings: NSObject { | ||
| 
											8 years ago
										 |     @objc | ||
| 
											8 years ago
										 |     static public let allMedia = NSLocalizedString("MEDIA_DETAIL_VIEW_ALL_MEDIA_BUTTON", comment: "nav bar button item") | ||
|  | } | ||
|  | 
 | ||
| 
											8 years ago
										 | @objc public class SafetyNumberStrings: NSObject { | ||
|  |     @objc | ||
|  |     static public let confirmSendButton = NSLocalizedString("SAFETY_NUMBER_CHANGED_CONFIRM_SEND_ACTION", | ||
| 
											9 years ago
										 |                                                       comment: "button title to confirm sending to a recipient whose safety number recently changed") | ||
|  | } |