mirror of
https://github.com/sky-systems/sky_phone.git
synced 2026-09-04 09:13:24 +00:00
ADD - provide messages locale fallbacks
This commit is contained in:
@@ -27,6 +27,86 @@ const namespaceQueues = new Map<string, Promise<void>>()
|
||||
|
||||
const defaultLocales: LocaleTree = {
|
||||
Apps: {
|
||||
messages: {
|
||||
name: 'Messages',
|
||||
newMessage: 'New message from {sender}',
|
||||
compose: 'New Message',
|
||||
search: 'Search',
|
||||
to: 'To:',
|
||||
message: 'Message',
|
||||
send: 'Send',
|
||||
details: 'Details',
|
||||
filterUnread: 'Show Unread Messages',
|
||||
smsLabel: 'Text Message · SMS',
|
||||
photo: 'Photo',
|
||||
gif: 'GIF',
|
||||
video: 'Video',
|
||||
attachPhoto: 'Attach Photo',
|
||||
takePhoto: 'Take Photo',
|
||||
attachGif: 'Attach GIF',
|
||||
attachVideo: 'Attach Video',
|
||||
photos: 'Photos',
|
||||
gifs: 'GIFs',
|
||||
videos: 'Videos',
|
||||
noPhotos: 'Take a photo first to attach it here.',
|
||||
noVideos: 'Record a video in Camera first.',
|
||||
searchGifs: 'Search GIPHY',
|
||||
loadMore: 'Load More',
|
||||
moreActions: 'More Actions',
|
||||
contactDetails: 'Contact Details',
|
||||
contactName: 'Name',
|
||||
phoneNumber: 'Phone Number',
|
||||
call: 'Call',
|
||||
messageAction: 'Message',
|
||||
addContact: 'Add Contact',
|
||||
deleteContact: 'Delete Contact',
|
||||
selectedCount: '{count} Selected',
|
||||
deleteSelected: 'Delete',
|
||||
contactSaveFailed: 'The contact could not be saved.',
|
||||
contactDeleteFailed: 'The contact could not be deleted.',
|
||||
callFailed: 'The call could not be started.',
|
||||
emoji: 'Emoji',
|
||||
voiceMessage: 'Audio Message',
|
||||
recordVoice: 'Record Audio',
|
||||
playAudio: 'Play Audio',
|
||||
pauseAudio: 'Pause Audio',
|
||||
recording: 'Recording',
|
||||
stopAndSend: 'Stop and Send',
|
||||
cancelRecording: 'Cancel Recording',
|
||||
sending: 'Sending...',
|
||||
delivered: 'Delivered',
|
||||
notDelivered: 'Not Delivered',
|
||||
microphoneUnavailable: 'The microphone is unavailable.',
|
||||
recordingTooLarge: 'The recording is too large.',
|
||||
noSim: 'No SIM',
|
||||
noSimBody: 'Insert a SIM card in Settings to send and receive messages.',
|
||||
noMessages: 'No Messages',
|
||||
noMessagesBody: 'Start a conversation with a phone number.',
|
||||
noResults: 'No Results',
|
||||
today: 'Today',
|
||||
yesterday: 'Yesterday',
|
||||
errors: {
|
||||
invalid_number: 'Enter a valid phone number.',
|
||||
invalid_message: 'Enter a message.',
|
||||
invalid_voice: 'The audio message is invalid.',
|
||||
invalid_attachment: 'The attachment is invalid.',
|
||||
media_provider_unconfigured: 'Photo uploads are not configured.',
|
||||
capture_provider_unavailable: 'The screenshot resource is unavailable.',
|
||||
capture_failed: 'The photo could not be captured.',
|
||||
video_provider_unavailable: 'Video capture requires the screencapture resource.',
|
||||
video_capture_failed: 'The video could not be recorded.',
|
||||
recording_in_progress: 'A video is already being recorded.',
|
||||
recording_not_found: 'No active video recording was found.',
|
||||
gif_provider_unconfigured: 'GIF search is not configured.',
|
||||
gif_provider_failed: 'GIF search is temporarily unavailable.',
|
||||
self_message: 'You cannot message your own number.',
|
||||
recipient_not_found: 'That number is unavailable.',
|
||||
no_sim: 'This phone has no SIM card.',
|
||||
rate_limited: 'Too many messages. Try again in a minute.',
|
||||
request_failed: 'Messages are temporarily unavailable.',
|
||||
default: 'The message could not be sent.',
|
||||
},
|
||||
},
|
||||
appStore: {
|
||||
name: 'App Store',
|
||||
eyebrow: 'Discover',
|
||||
@@ -188,6 +268,15 @@ const defaultLocales: LocaleTree = {
|
||||
flip: 'Flip camera',
|
||||
flash: 'Toggle flash',
|
||||
controls: 'Camera controls',
|
||||
errors: {
|
||||
media_provider_unconfigured: 'Photo uploads are not configured.',
|
||||
capture_provider_unavailable: 'The screenshot resource is unavailable.',
|
||||
capture_failed: 'The photo could not be captured.',
|
||||
video_provider_unavailable: 'Video capture requires the screencapture resource.',
|
||||
video_capture_failed: 'The video could not be recorded.',
|
||||
recording_in_progress: 'A video is already being recorded.',
|
||||
recording_not_found: 'No active video recording was found.',
|
||||
},
|
||||
modes: {
|
||||
timelapse: 'Timelapse',
|
||||
slowMo: 'Slow-Mo',
|
||||
|
||||
Reference in New Issue
Block a user