locales: the shell frame's words (wb.*) and the install screen's source line, 51 languages
- 245 wb.* messages for the shell frame (tabs, address bar, new-tab page, palette, account
switcher, decks, workspaces, chips, media panel, pane themes, backup preview), moved with every
translation from wayBetter for X's catalogs; `{site}` stands where the English said "X" (10
keys; the app passes "X", so X reads the same). English source: shell/src/frame/frameMessages.ts.
- wb.install.source.store|link|file: where an install comes from, translated in every locale
(native code's label is English only).
- runtime/tests/i18n.test.ts: en.json is the kit, shell-model, store and shell-frame source.
This commit is contained in:
parent
c3964ec378
commit
cc5a351fe9
53 changed files with 12465 additions and 51 deletions
254
packages/shell/src/frame/frameMessages.ts
Normal file
254
packages/shell/src/frame/frameMessages.ts
Normal file
|
|
@ -0,0 +1,254 @@
|
|||
// The shell frame's words in English (`wb.*`), the source of the framework catalogs
|
||||
// (`waybetter/locales/<bcp47>.json`). Placeholders: `{site}` is the site's name ("X"); the rest
|
||||
// are counts, names and paths. The frame reads the translations through the app's i18n instance
|
||||
// (setShellI18n); tests/frame.test.ts checks that every key the frame uses is here.
|
||||
|
||||
export const FRAME_MESSAGES = {
|
||||
'wb.acct.actions': '{name} actions',
|
||||
'wb.acct.add': 'Add account',
|
||||
'wb.acct.addHint': 'Signs in to {site} in a new pane',
|
||||
'wb.acct.buttonLabel': 'Accounts. This pane: {name}',
|
||||
'wb.acct.buttonTitle': "This pane: {pane}\nNew tabs: {tabs}",
|
||||
'wb.acct.goToPane': 'Go to pane',
|
||||
'wb.acct.headAfter': 'new tab',
|
||||
'wb.acct.headBefore': 'Click to open its feed beside this pane ·',
|
||||
'wb.acct.more': 'More',
|
||||
'wb.acct.moreFor': 'More for {name}',
|
||||
'wb.acct.newTabs': 'New tabs',
|
||||
'wb.acct.newTabsOpenHere': 'New tabs open here',
|
||||
'wb.acct.newTabsTitle': 'New tabs open in this account',
|
||||
'wb.acct.notRemoved': 'Not removed: a tab of this account is still open. Close it and try again.',
|
||||
'wb.acct.openBeside': 'Open beside',
|
||||
'wb.acct.openNewTab': 'Open in new tab',
|
||||
'wb.acct.remove': 'Remove from this computer…',
|
||||
'wb.acct.removeConfirm': 'Remove “{name}” from this computer? {tabs, plural, =0 {} one {Its open tab closes, } other {Its # open tabs close, }}its sign-in and site data here are deleted. The {site} account itself is not touched.',
|
||||
'wb.acct.rowLabel': '{name}. {hint}',
|
||||
'wb.acct.rowLabelNew': '{name}, not signed in. {hint}',
|
||||
'wb.acct.rowLabelOut': '{name}, signed out. {hint}',
|
||||
'wb.acct.shift': 'Shift',
|
||||
'wb.acct.shiftClick': 'Shift click',
|
||||
'wb.acct.signIn': 'Sign in on {site}',
|
||||
'wb.acct.signInBeside': 'Sign in beside',
|
||||
'wb.acct.signOut': 'Sign out on {site}…',
|
||||
'wb.acct.signOutTitle': 'Opens {site}’s own sign-out page for this account',
|
||||
'wb.acct.signedOut': 'Signed out · {handle}',
|
||||
'wb.acct.thisPane': 'This pane',
|
||||
'wb.acct.title': 'Accounts',
|
||||
'wb.acct.useForNewTabs': 'Use for new tabs',
|
||||
'wb.addcol.account': 'Account',
|
||||
'wb.addcol.add': 'add',
|
||||
'wb.addcol.close': 'close',
|
||||
'wb.addcol.signedOut': 'signed out',
|
||||
'wb.addcol.submit': 'Add column',
|
||||
'wb.addcol.to': 'to {deck}',
|
||||
'wb.addcol.type': 'Column type',
|
||||
'wb.backup.alertsOn': 'On · {count, plural, one {# keyword} other {# keywords}}',
|
||||
'wb.backup.detail.addsAccounts': 'Adds {names} (sign in again there; logins are never in a backup)',
|
||||
'wb.backup.detail.changed': '{count} changed: {names}',
|
||||
'wb.backup.detail.css': '{count, plural, one {# character} other {# characters}} (here: {here})',
|
||||
'wb.backup.detail.customizations': 'Accent or customizations differ',
|
||||
'wb.backup.detail.decks': '{count, plural, =0 {No decks} one {# deck: {names}} other {# decks: {names}}}; replaces the decks here',
|
||||
'wb.backup.detail.differs': 'Differs from this computer',
|
||||
'wb.backup.detail.drafts': '{count, plural, one {# draft} other {# drafts}}, added as new drafts (existing ones stay; exact duplicates are skipped)',
|
||||
'wb.backup.detail.importedThemes': '{count, plural, one {# imported theme} other {# imported themes}}: {names}',
|
||||
'wb.backup.detail.keywords': '{count, plural, one {# keyword} other {# keywords}}',
|
||||
'wb.backup.detail.newPlugins': '{count, plural, one {# new plugin file} other {# new plugin files}}: {names}',
|
||||
'wb.backup.detail.noneRemoved': 'No account is removed.',
|
||||
'wb.backup.detail.renames': 'Renames/recolors {names}',
|
||||
'wb.backup.detail.same': 'Same as on this computer',
|
||||
'wb.backup.detail.scopes': 'Account/pane themes',
|
||||
'wb.backup.detail.scopesAccounts': 'Account/pane themes: {count, plural, one {# account} other {# accounts}}',
|
||||
'wb.backup.detail.settingsDiffer': '{count, plural, one {# setting differs} other {# settings differ}}: {names}',
|
||||
'wb.backup.detail.theme': 'Theme: {from} → {to}',
|
||||
'wb.backup.detail.turnsOff': 'Turns off: {names}',
|
||||
'wb.backup.detail.turnsOn': 'Turns on: {names}',
|
||||
'wb.backup.detail.tweaksDiffer': '{count, plural, one {# tweak differs} other {# tweaks differ}}: {names}',
|
||||
'wb.backup.detail.workspaces': '{count, plural, one {# workspace} other {# workspaces}}; replaces the list here',
|
||||
'wb.backup.detail.workspacesNew': '{count, plural, one {# workspace} other {# workspaces}} (new: {names}); replaces the list here',
|
||||
'wb.backup.fromDevice': 'Settings from {device}',
|
||||
'wb.backup.section.accounts': 'Accounts',
|
||||
'wb.backup.section.alerts': 'Keyword alerts',
|
||||
'wb.backup.section.customCss': 'Custom CSS',
|
||||
'wb.backup.section.decks': 'Power User decks',
|
||||
'wb.backup.section.drafts': 'Drafts',
|
||||
'wb.backup.section.features': '{site} tweaks',
|
||||
'wb.backup.section.plugins': 'Plugins',
|
||||
'wb.backup.section.settings': 'Browser & links',
|
||||
'wb.backup.section.themes': 'Themes',
|
||||
'wb.backup.section.workspaces': 'Workspaces',
|
||||
'wb.chip.dev.errors': '{count, plural, one {# error} other {# errors}}',
|
||||
'wb.chip.dev.label': 'Dev',
|
||||
'wb.chip.dev.title': 'Developer mode: plugins, custom CSS and the watched theme reload on save',
|
||||
'wb.chip.sync.title': 'Settings synced from {device} {when}. Review what would change before anything is applied.',
|
||||
'wb.common.cancel': 'Cancel',
|
||||
'wb.common.close': 'Close',
|
||||
'wb.common.loading': 'Loading…',
|
||||
'wb.common.off': 'Off',
|
||||
'wb.common.open': 'Open',
|
||||
'wb.common.remove': 'Remove',
|
||||
'wb.common.removeItem': 'Remove {item}',
|
||||
'wb.common.save': 'Save',
|
||||
'wb.deck.addColumn': 'Add a column',
|
||||
'wb.deck.backTo': 'Back to {title}',
|
||||
'wb.deck.column': 'Column',
|
||||
'wb.deck.columnCount': '{count, plural, one {# column} other {# columns}}',
|
||||
'wb.deck.columnLabel': '{title} column',
|
||||
'wb.deck.emptyHint': 'Columns of {site} side by side, each in the account you pick. Every post, like and reply is {site}’s own.',
|
||||
'wb.deck.filters': 'Filters',
|
||||
'wb.deck.filters.label': 'Column filters',
|
||||
'wb.deck.gone': 'This deck is gone',
|
||||
'wb.deck.goneHint': 'It was removed in another window or from settings.',
|
||||
'wb.deck.hideReplies': 'Hide replies',
|
||||
'wb.deck.hideRepliesHint': 'Replies shown outside their thread',
|
||||
'wb.deck.hideReposts': 'Hide reposts',
|
||||
'wb.deck.hideRepostsHint': 'Only original posts',
|
||||
'wb.deck.jumpUnread': 'Jump to unread',
|
||||
'wb.deck.jumpUnreadTitle': 'Jump to unread (Alt+U)',
|
||||
'wb.deck.key.columns': 'columns',
|
||||
'wb.deck.key.jump': 'jump',
|
||||
'wb.deck.key.post': 'post',
|
||||
'wb.deck.key.read': 'mark read',
|
||||
'wb.deck.markRead': 'Mark all read',
|
||||
'wb.deck.mediaOnly': 'Media only',
|
||||
'wb.deck.mediaOnlyHint': 'Posts with photos, videos or cards',
|
||||
'wb.deck.memoryTitle': 'Each visible column is a full {site} page (about {count} fit one page; off-page columns are parked).',
|
||||
'wb.deck.menu': 'Column menu',
|
||||
'wb.deck.moveLeft': 'Move left',
|
||||
'wb.deck.moveRight': 'Move right',
|
||||
'wb.deck.muteLabel': 'Mute a word or regular expression',
|
||||
'wb.deck.mutePlaceholder': 'Mute a word or /regex/',
|
||||
'wb.deck.newCount': '{count} new',
|
||||
'wb.deck.next': 'Next page',
|
||||
'wb.deck.nextTitle': 'Next page (Alt+PageDown)',
|
||||
'wb.deck.onScreen': '{visible}/{total} on screen',
|
||||
'wb.deck.openAsTab': 'Open as tab',
|
||||
'wb.deck.page': 'Page {n}',
|
||||
'wb.deck.pages': 'Deck pages',
|
||||
'wb.deck.post': 'Post',
|
||||
'wb.deck.postTitle': 'Post (Ctrl+Alt+N)',
|
||||
'wb.deck.prev': 'Previous page',
|
||||
'wb.deck.prevTitle': 'Previous page (Alt+PageUp)',
|
||||
'wb.deck.remove': 'Remove column',
|
||||
'wb.deck.settings': 'Power User settings',
|
||||
'wb.deck.title': 'Power User Mode',
|
||||
'wb.deck.unreadLabel': '{count} unread, jump to them',
|
||||
'wb.deck.unreadTitle': 'Unread in this deck',
|
||||
'wb.deck.viewingPost': 'Viewing a post',
|
||||
'wb.deck.width': 'Width',
|
||||
'wb.deck.widthLabel': 'Column width',
|
||||
'wb.dev.reloaded': 'Reloaded {file}',
|
||||
'wb.media.add': '+ Add',
|
||||
'wb.media.addFolder': 'Add folder…',
|
||||
'wb.media.attachTitle': '{name} — attach to the composer',
|
||||
'wb.media.clickToAttach': 'Click to attach to the {site} composer',
|
||||
'wb.media.clipEmpty': 'Copy an image or some text and it appears here.',
|
||||
'wb.media.clipOff': 'Clipboard history is off. Turn it on in Settings to keep your last {count} copied images and texts on this device.',
|
||||
'wb.media.clipboard': 'Clipboard',
|
||||
'wb.media.closeTitle': 'Close (Esc)',
|
||||
'wb.media.copiedImage': 'Copied image',
|
||||
'wb.media.gallery': 'Gallery',
|
||||
'wb.media.image': 'Image',
|
||||
'wb.media.noComposer': 'Open an {site} tab with a composer first.',
|
||||
'wb.media.noImages': 'No images in these folders yet.',
|
||||
'wb.media.now': 'now',
|
||||
'wb.media.pickFolders': 'Pick folders (screenshots, exports) to see their newest images here.',
|
||||
'wb.media.putIn': 'Put into the composer',
|
||||
'wb.media.removeFromHistory': 'Remove from history',
|
||||
'wb.media.title': 'Gallery and clipboard',
|
||||
'wb.media.youPost': 'You still post it yourself',
|
||||
'wb.newtab.commands': 'Commands',
|
||||
'wb.newtab.enter': 'Enter',
|
||||
'wb.newtab.goTo': 'Go to',
|
||||
'wb.newtab.openAs': 'Open as',
|
||||
'wb.newtab.openLinksAs': 'Open links as',
|
||||
'wb.newtab.recent': 'Recently closed',
|
||||
'wb.newtab.reopen': 'Reopen tab',
|
||||
'wb.newtab.split': 'Split',
|
||||
'wb.palette.active': 'Active',
|
||||
'wb.palette.addColumn': 'Add column…',
|
||||
'wb.palette.focusColumn': 'Focus {name}',
|
||||
'wb.palette.group.deck': 'Deck',
|
||||
'wb.palette.group.profiles': 'Profiles',
|
||||
'wb.palette.group.tabs': 'Tabs',
|
||||
'wb.palette.group.workspaces': 'Workspaces',
|
||||
'wb.palette.media': 'Gallery & clipboard',
|
||||
'wb.palette.navigate': 'Navigate',
|
||||
'wb.palette.newDeck': 'New deck',
|
||||
'wb.palette.newTabAs': 'New tab as {name}',
|
||||
'wb.palette.next': 'Next',
|
||||
'wb.palette.none': 'No matches',
|
||||
'wb.palette.onStart': 'on start',
|
||||
'wb.palette.openPower': 'Open Power User Mode',
|
||||
'wb.palette.plugins': 'Plugins',
|
||||
'wb.palette.switchTo': 'Switch to {name}',
|
||||
'wb.palette.title': 'Command palette',
|
||||
'wb.pane.followAccount': 'Follow account',
|
||||
'wb.pane.followApp': 'Follow app',
|
||||
'wb.pane.theme': 'Theme for this pane',
|
||||
'wb.pane.themesLink': 'Account and pane themes…',
|
||||
'wb.shell.deck.default': 'Deck',
|
||||
'wb.shell.menu.close': 'Close tab',
|
||||
'wb.shell.menu.closeOthers': 'Close other tabs',
|
||||
'wb.shell.menu.copyLink': 'Copy link',
|
||||
'wb.shell.menu.duplicate': 'Duplicate',
|
||||
'wb.shell.menu.openBrowser': 'Open in your browser',
|
||||
'wb.shell.menu.paneTheme': 'Theme for this pane…',
|
||||
'wb.shell.menu.pin': 'Pin tab',
|
||||
'wb.shell.menu.reload': 'Reload',
|
||||
'wb.shell.menu.splitDown': 'Split down',
|
||||
'wb.shell.menu.splitRight': 'Split right',
|
||||
'wb.shell.menu.unpin': 'Unpin tab',
|
||||
'wb.shell.tab.account': 'Account: {name}',
|
||||
'wb.shell.tab.closeTitle': 'Close (Ctrl+W)',
|
||||
'wb.shell.tab.new': 'New tab',
|
||||
'wb.shell.tab.newTitle': 'New tab (Ctrl+T)',
|
||||
'wb.shell.window.maximize': 'Maximize',
|
||||
'wb.shell.window.minimize': 'Minimize',
|
||||
'wb.shell.window.restore': 'Restore',
|
||||
'wb.web.address': 'Address',
|
||||
'wb.web.addressValue': 'Address: {url}',
|
||||
'wb.web.back': 'Back',
|
||||
'wb.web.backTitle': 'Back (Alt+←)',
|
||||
'wb.web.forward': 'Forward',
|
||||
'wb.web.forwardTitle': 'Forward (Alt+→)',
|
||||
'wb.web.insecure': 'Not secure',
|
||||
'wb.web.paneAccount': 'This pane’s account: {name}',
|
||||
'wb.web.reloadTitle': 'Reload (Ctrl+R)',
|
||||
'wb.web.splitMore': 'Split and pane options',
|
||||
'wb.web.splitTitle': "Split right (Ctrl+\\)",
|
||||
'wb.web.stop': 'Stop',
|
||||
'wb.web.tabKey': 'Tab',
|
||||
'wb.ws.default': 'My workspace',
|
||||
'wb.ws.defaultN': 'My workspace {n}',
|
||||
'wb.ws.deleteConfirm': 'Delete {name}? Open tabs stay open.',
|
||||
'wb.ws.deleteNamed': 'Delete {name}',
|
||||
'wb.ws.empty': 'No saved workspaces yet. Save this layout to switch back to it any time.',
|
||||
'wb.ws.err.id': 'Invalid workspace id.',
|
||||
'wb.ws.err.noLayout': 'There is no layout to save.',
|
||||
'wb.ws.err.noTabs': 'There are no tabs to save.',
|
||||
'wb.ws.err.tooLarge': 'This layout is too large to save as a workspace.',
|
||||
'wb.ws.err.tooMany': 'At most {count} workspaces. Delete one first.',
|
||||
'wb.ws.hint': 'Tabs, splits, decks, accounts and pane themes, reopened in one click',
|
||||
'wb.ws.name': 'Workspace name',
|
||||
'wb.ws.namePlaceholder': 'Name, e.g. Launch day',
|
||||
'wb.ws.named': 'Workspace {name}',
|
||||
'wb.ws.newName': 'New name for {name}',
|
||||
'wb.ws.notReady': 'The window is not ready yet.',
|
||||
'wb.ws.onStart': 'On start',
|
||||
'wb.ws.onStartTitle': 'Opens when wayBetter starts',
|
||||
'wb.ws.openNow': 'open now',
|
||||
'wb.ws.rename': 'Rename',
|
||||
'wb.ws.renameNamed': 'Rename {name}',
|
||||
'wb.ws.save': 'Save layout as workspace…',
|
||||
'wb.ws.saveMeta': '{count, plural, one {# open tab} other {# open tabs}} · also in Ctrl+K',
|
||||
'wb.ws.setStart': 'Open this workspace when wayBetter starts',
|
||||
'wb.ws.setStartNamed': 'Open {name} on start',
|
||||
'wb.ws.stopStart': 'Stop opening on start',
|
||||
'wb.ws.stopStartNamed': 'Stop opening {name} on start',
|
||||
'wb.ws.tabs': '{count, plural, one {# tab} other {# tabs}}',
|
||||
'wb.ws.title': 'Workspaces',
|
||||
'wb.ws.update': 'Save the current layout over this workspace',
|
||||
'wb.ws.updateNamed': 'Update {name} with the current layout',
|
||||
} as const;
|
||||
|
||||
export type FrameKey = keyof typeof FRAME_MESSAGES;
|
||||
Loading…
Add table
Add a link
Reference in a new issue