From 904746a4123d1f0a4ebc0ee63c02f79ff148f327 Mon Sep 17 00:00:00 2001 From: "Leon.Schmidt" Date: Thu, 6 Aug 2026 16:57:56 +0200 Subject: [PATCH] ADD - localize messages experience --- sky_phone/config/locales/en.lua | 39 +++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/sky_phone/config/locales/en.lua b/sky_phone/config/locales/en.lua index 55f86e2..aa43b11 100644 --- a/sky_phone/config/locales/en.lua +++ b/sky_phone/config/locales/en.lua @@ -36,6 +36,39 @@ Locales["en"] = { }, }, 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.", + }, + }, phone = { name = "Phone", recents = "Recents", contacts = "Contacts", keypad = "Keypad", noSim = "No SIM", noSimBody = "Insert a SIM card in Settings to make calls.", @@ -63,6 +96,12 @@ Locales["en"] = { calculator = { name = "Calculator" }, camera = { name = "Camera", shutter = "Take photo", 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", cinematic = "Cinematic", video = "Video", photo = "Photo", portrait = "Portrait", pano = "Pano" }, }, clock = {