From 6bf6b4e22c03680118d2283a294b6b55bce35adc Mon Sep 17 00:00:00 2001 From: "Leon.Schmidt" Date: Sat, 8 Aug 2026 22:48:13 +0200 Subject: [PATCH] ADD - localize home widget controls --- frontend/src/stores/phone.ts | 57 +++++++++++++++++++++++++++++++++ sky_phone/config/locales/en.lua | 15 ++++++++- 2 files changed, 71 insertions(+), 1 deletion(-) diff --git a/frontend/src/stores/phone.ts b/frontend/src/stores/phone.ts index 9c3fc53..0238baa 100644 --- a/frontend/src/stores/phone.ts +++ b/frontend/src/stores/phone.ts @@ -1469,6 +1469,10 @@ const defaultLocales: LocaleTree = { dock: 'Dock', noApps: 'No apps found', removeApp: 'Remove {app} from Home Screen', + addToHome: 'Add {app} to Home Screen', + addPage: 'Add Home Screen page', + deletePage: 'Delete current Home Screen page', + removedFromHome: 'Removed from Home Screen', page: 'Page', pages: 'Home screen pages', groups: { @@ -1492,6 +1496,59 @@ const defaultLocales: LocaleTree = { pause: 'Pause', }, }, + widgetSystem: { + galleryTitle: 'Widgets', + search: 'Search Widgets', + size: 'Size', + add: 'Add Widget', + addWidget: 'Add Widget', + editWidget: 'Edit Widget', + removeWidget: 'Remove Widget', + remove: 'Remove widget', + configure: 'Configure Widget', + noResults: 'No widgets found', + sizes: { small: 'Small', medium: 'Medium', large: 'Large' }, + categories: { + essentials: 'Essentials', + information: 'Information', + media: 'Media', + finance: 'Finance', + people: 'People', + }, + clock: { + name: 'Clock', + description: 'The current time, with an optional date.', + showDate: 'Show Date', + }, + date: { + name: 'Date', + description: 'Weekday, month, and date at a glance.', + }, + weather: { + name: 'Weather', + description: 'Current conditions, location, and high and low.', + }, + music: { + name: 'Now Playing', + description: 'Music controls and the current track.', + }, + wallet: { + name: 'Wallet', + description: 'Your current bank or cash balance.', + balance: 'Displayed Balance', + bank: 'Bank', + cash: 'Cash', + }, + transactions: { + name: 'Transactions', + description: 'Your latest incoming and outgoing payments.', + }, + contacts: { + name: 'Favorites', + description: 'Call or message your favorite contacts.', + choose: 'Favorite Contacts', + }, + }, }, } diff --git a/sky_phone/config/locales/en.lua b/sky_phone/config/locales/en.lua index 8194321..29b140e 100644 --- a/sky_phone/config/locales/en.lua +++ b/sky_phone/config/locales/en.lua @@ -32,7 +32,7 @@ Locales["en"] = { }, Home = { appLibrary = "App Library", appLibrarySearch = "Search apps", allApps = "All Apps", apps = "Apps", - dock = "Dock", noApps = "No apps found", removeApp = "Remove {app} from Home Screen", page = "Page", pages = "Home screen pages", + dock = "Dock", noApps = "No apps found", removeApp = "Remove {app} from Home Screen", addToHome = "Add {app} to Home Screen", addPage = "Add Home Screen page", deletePage = "Delete current Home Screen page", removedFromHome = "Removed from Home Screen", page = "Page", pages = "Home screen pages", groups = { suggestions = "Suggestions", recentlyAdded = "Recently Added", games = "Games", productivity = "Productivity", shopping = "Shopping", social = "Social Networks", utilities = "Utilities", @@ -44,6 +44,19 @@ Locales["en"] = { battery = { label = "Phone" }, media = { title = "Night Drive", artist = "Sky Radio", play = "Play", pause = "Pause" }, }, + widgetSystem = { + galleryTitle = "Widgets", search = "Search Widgets", size = "Size", add = "Add Widget", addWidget = "Add Widget", + editWidget = "Edit Widget", removeWidget = "Remove Widget", remove = "Remove widget", configure = "Configure Widget", noResults = "No widgets found", + sizes = { small = "Small", medium = "Medium", large = "Large" }, + categories = { essentials = "Essentials", information = "Information", media = "Media", finance = "Finance", people = "People" }, + clock = { name = "Clock", description = "The current time, with an optional date.", showDate = "Show Date" }, + date = { name = "Date", description = "Weekday, month, and date at a glance." }, + weather = { name = "Weather", description = "Current conditions, location, and high and low." }, + music = { name = "Now Playing", description = "Music controls and the current track." }, + wallet = { name = "Wallet", description = "Your current bank or cash balance.", balance = "Displayed Balance", bank = "Bank", cash = "Cash" }, + transactions = { name = "Transactions", description = "Your latest incoming and outgoing payments." }, + contacts = { name = "Favorites", description = "Call or message your favorite contacts.", choose = "Favorite Contacts" }, + }, }, Apps = { darkchat = {