aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/i18n.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/i18n.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/i18n.js19
1 files changed, 18 insertions, 1 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/i18n.js b/packages/meshbay-hub/src/meshbay_hub/static/i18n.js
index 2a91407..3450735 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/i18n.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/i18n.js
@@ -89,6 +89,8 @@ const en = {
'group.view': 'View',
'group.delete': 'Delete',
'group.delete_confirm': 'Delete {name}?',
+ 'group.delete_group': 'Delete group',
+ 'group.delete_group_confirm': 'Permanently delete "{name}" and remove all members? Files on the node are preserved.',
'group.err_transport': 'Transport module not loaded',
// Status
@@ -130,12 +132,25 @@ const en = {
'settings.role': 'Role',
'settings.groups': 'Group notifications',
'settings.notifications': 'Notifications',
+ 'settings.node_key': 'Link Node',
+ 'settings.node_key_desc': 'If you operate a MeshBay node, paste its Ed25519 public key here to link it to your account. You can find this key in your node\'s admin dashboard.',
+ 'settings.node_key_placeholder': 'Paste node Ed25519 public key (base64)',
+ 'settings.node_key_submit': 'Link Node',
+ 'settings.node_key_success': 'Node linked successfully',
+ 'settings.node_key_current': 'Linked node key',
// Sidebar
'sidebar.create_group': 'Create group',
'sidebar.settings': 'Settings',
'sidebar.admin': 'Admin',
+ // User menu
+ 'usermenu.language': 'Language',
+ 'usermenu.settings': 'Settings',
+ 'usermenu.theme_light': 'Light mode',
+ 'usermenu.theme_dark': 'Dark mode',
+ 'usermenu.logout': 'Logout',
+
// Admin panel
'admin.title': 'Administration',
'admin.tab_stats': 'Stats',
@@ -205,6 +220,8 @@ const en = {
'create_group.join_policy': 'Join policy',
'create_group.invite': 'Invite only',
'create_group.open': 'Open (anyone can join)',
+ 'create_group.description': 'Description',
+ 'create_group.description_hint': 'What is this group about? (optional)',
'create_group.submit': 'Create',
'create_group.hint': 'A group needs a node to host files. You can create the group now and connect a node later.',
'create_group.creating': 'Creating...',
@@ -245,7 +262,7 @@ const _strings = { en };
let _locale = 'en';
export const LOCALES = [
- { code: 'en', name: 'English' },
+ { code: 'en', name: 'English', flag: '\u{1F1EC}\u{1F1E7}' },
];
export function getLocale() { return _locale; }