- Add username/password login as additional auth mechanism alongside existing token - First login must use token; password can be configured in Settings > Account - Password login returns the existing static token (no auth middleware changes) - Add account settings: setup, change password, change username, remove password - Add logout button to sidebar footer - Add version changelog popup (click version number in sidebar) - Support all 8 locales (en, zh, de, es, fr, ja, ko, pt) - Bump version to 0.4.3 Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -8,6 +8,32 @@ export default {
|
||||
tokenRequired: 'Please enter your access token',
|
||||
invalidToken: 'Invalid token',
|
||||
connectionFailed: 'Cannot connect to server',
|
||||
passwordLogin: 'Password',
|
||||
tokenLogin: 'Token',
|
||||
usernamePlaceholder: 'Username',
|
||||
passwordPlaceholder: 'Password',
|
||||
credentialsRequired: 'Please enter username and password',
|
||||
invalidCredentials: 'Invalid username or password',
|
||||
passwordMismatch: 'Passwords do not match',
|
||||
passwordTooShort: 'Password must be at least 6 characters',
|
||||
setupSuccess: 'Password login configured successfully',
|
||||
passwordChanged: 'Password changed successfully',
|
||||
passwordRemoved: 'Password login removed',
|
||||
setupPassword: 'Set Up Password Login',
|
||||
changePassword: 'Change Password',
|
||||
changeUsername: 'Change Username',
|
||||
removePasswordLogin: 'Remove',
|
||||
username: 'Username',
|
||||
currentPassword: 'Current Password',
|
||||
newPassword: 'New Password',
|
||||
confirmPassword: 'Confirm Password',
|
||||
newUsername: 'New Username',
|
||||
usernameChanged: 'Username changed successfully',
|
||||
usernameTooShort: 'Username must be at least 2 characters',
|
||||
setupDescription: 'Set up a username and password for convenient login. The access token will continue to work as a backup.',
|
||||
removeConfirm: 'Are you sure you want to remove password login? You will need to use the access token to log in.',
|
||||
passwordLoginNotConfigured: 'Password login is not configured',
|
||||
passwordLoginConfigured: 'Password login enabled ({username})',
|
||||
},
|
||||
|
||||
// Common
|
||||
@@ -69,6 +95,9 @@ export default {
|
||||
updating: 'Updating...',
|
||||
updateSuccess: 'Update complete, please restart the server',
|
||||
updateFailed: 'Update failed',
|
||||
logout: 'Sign Out',
|
||||
changelog: 'Changelog',
|
||||
noChangelog: 'No changelog available',
|
||||
},
|
||||
|
||||
// Chat
|
||||
@@ -324,6 +353,7 @@ export default {
|
||||
saveFailed: 'Save failed',
|
||||
tabs: {
|
||||
display: 'Display',
|
||||
account: 'Account',
|
||||
agent: 'Agent',
|
||||
memory: 'Memory',
|
||||
session: 'Session',
|
||||
@@ -511,4 +541,18 @@ export default {
|
||||
cost: 'Cost',
|
||||
noData: 'No usage data',
|
||||
},
|
||||
|
||||
// Changelog
|
||||
changelog: {
|
||||
new_0_4_3_1: 'Add username/password login alongside token authentication',
|
||||
new_0_4_3_2: 'Add account settings for managing credentials (setup, change password, change username)',
|
||||
new_0_4_3_3: 'Add logout button to sidebar',
|
||||
new_0_4_3_4: 'Add version changelog popup (click version number)',
|
||||
new_0_4_2_1: 'Add token usage tracking, context display, and dynamic context length',
|
||||
new_0_4_2_2: 'Add session search modal',
|
||||
new_0_4_2_3: 'Restore group chat system with Socket.IO and SQLite persistence',
|
||||
new_0_4_2_4: 'Add pinned sessions and live monitor in Chat page',
|
||||
new_0_4_2_5: 'Fix builtin provider detection and model matching',
|
||||
new_0_4_1_1: 'Fix auth bypass, SPA serving, and provider improvements',
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user