refactor(ui): i18n: add missing + correct keys

This commit is contained in:
Edouard Vanbelle
2026-04-25 23:51:08 +02:00
parent 75d3984b8f
commit 5c19564102
3 changed files with 19 additions and 10 deletions
+2 -2
View File
@@ -710,7 +710,7 @@ const musicView = {
<div class="music-picker-modal">
<div class="music-picker-header">
<h3><i class="fas fa-music"></i> ${i18n.t('music.add_tracks')}</h3>
<button class="music-picker-close" title="${i18n.t('common.close')}">&times;</button>
<button class="music-picker-close" title="${i18n.t('actions.close')}">&times;</button>
</div>
<div class="music-picker-search">
<i class="fas fa-search"></i>
@@ -723,7 +723,7 @@ const musicView = {
<div class="music-picker-footer">
<span class="music-picker-selected-count" id="music-picker-count">0 ${i18n.t('music.selected')}</span>
<div class="music-picker-actions">
<button class="btn btn-secondary music-picker-cancel">${i18n.t('common.cancel')}</button>
<button class="btn btn-secondary music-picker-cancel">${i18n.t('actions.cancel')}</button>
<button class="btn btn-primary music-picker-add" id="music-picker-add-btn" disabled>
<i class="fas fa-plus"></i> ${i18n.t('music.add')}
</button>
+4 -4
View File
@@ -178,14 +178,14 @@ const sharedView = {
<label><input type="checkbox" id="sv-permission-reshare"> <span data-i18n="share.permissionReshare">Reshare</span></label>
</div>
<div class="share-password-section">
<label><input type="checkbox" id="sv-enable-password"> <span data-i18n="share.enablePassword">Password protection</span></label>
<label><input type="checkbox" id="sv-enable-password"> <span data-i18n="share.password">Password protection</span></label>
<div class="password-input-group">
<input type="text" id="sv-share-password" disabled placeholder="Enter password">
<button id="sv-generate-password" class="button small" data-i18n="share.generatePassword">Generate</button>
</div>
</div>
<div class="share-expiration-section">
<label><input type="checkbox" id="sv-enable-expiration"> <span data-i18n="share.enableExpiration">Set expiration</span></label>
<label><input type="checkbox" id="sv-enable-expiration"> <span data-i18n="share.expiration">Set expiration</span></label>
<input type="date" id="sv-share-expiration" disabled>
</div>
<div class="share-actions">
@@ -205,11 +205,11 @@ const sharedView = {
</div>
<div class="notification-form">
<div class="form-group">
<label data-i18n="share.notifyEmail">Email:</label>
<label data-i18n="share.notifyEmailLabel">Email:</label>
<input type="email" id="sv-notification-email" placeholder="recipient@example.com">
</div>
<div class="form-group">
<label data-i18n="share.notifyMessage">Message (optional):</label>
<label data-i18n="share.notifyMessageLabel">Message (optional):</label>
<textarea id="sv-notification-message" rows="3"></textarea>
</div>
</div>
+13 -4
View File
@@ -307,7 +307,8 @@
"generated_link": "Generated Link",
"notify": "Send Notification",
"recipient": "Recipient",
"message": "Message"
"message": "Message",
"move_to_home": "Move to Home folder"
},
"dropzone": {
"drag_files": "Drag files here or click to select",
@@ -439,7 +440,9 @@
"item_deleted_permanently": "Item permanently deleted",
"trash_emptied": "Trash emptied successfully",
"title": "Notifications",
"empty": "No notifications"
"empty": "No notifications",
"link_created": "Link created",
"share_success": "Shared link created successfully"
},
"batch": {
"one_selected": "1 item selected",
@@ -670,5 +673,11 @@
"error_create_pw": "Failed to create app password",
"confirm_revoke": "Revoke app password \"{{label}}\"? Clients using this password will stop working.",
"error_revoke": "Failed to revoke app password"
}
}
},
"upload": {
"uploading": "Uploading...",
"files": "files",
"complete": "{{count}} / {{total}} uploaded"
},
"storage_quota_exceeded": "Storage quota exceeded"
}