diff --git a/src/UI/UIDesktop.js b/src/UI/UIDesktop.js index a01e3d1e..fcad9b24 100644 --- a/src/UI/UIDesktop.js +++ b/src/UI/UIDesktop.js @@ -1014,7 +1014,7 @@ async function UIDesktop(options){ $(ht).insertBefore(el_desktop); // notification container - $('body').append(`
Close all
`); + $('body').append(`
${i18n('close_all')}
`); // adjust window container to take into account the toolbar height $('.window-container').css('top', window.toolbar_height); diff --git a/src/UI/UIItem.js b/src/UI/UIItem.js index 10169c22..5ef43227 100644 --- a/src/UI/UIItem.js +++ b/src/UI/UIItem.js @@ -110,7 +110,7 @@ function UIItem(options){ // type h += `
`; if(options.is_dir) - h += `Folder`; + h += `${i18n('folder')}`; else h += `${options.type ? html_encode(options.type) : '-'}`; h += `
`; diff --git a/src/UI/UIWindow.js b/src/UI/UIWindow.js index 40823184..223a6d6a 100644 --- a/src/UI/UIWindow.js +++ b/src/UI/UIWindow.js @@ -369,7 +369,7 @@ async function UIWindow(options) { // Add 'This folder is empty' message by default h += `
This folder is empty
`; - h += `
Error message is missing
`; + h += `
${i18n('error_message_is_missing')}
`; // Loading spinner h += `
`; @@ -394,11 +394,11 @@ async function UIWindow(options) { h += `
`; h += `
`; h += ``; - h += ``; + h += ``; h += ``; + h += `button-small button-primary savefiledialog-save-btn">${i18n('save')}`; h += `
`; h += `
`; } @@ -407,8 +407,8 @@ async function UIWindow(options) { else if(options.is_openFileDialog){ h += `
`; h += `
`; - h += ``; - h += ``; + h += ``; + h += ``; h += `
`; h += `
`; } @@ -417,8 +417,8 @@ async function UIWindow(options) { else if(options.is_directoryPicker){ h += `
`; h += `
`; - h += ``; - h += ``; + h += ``; + h += ``; h += `
`; h += `
`; } @@ -3240,10 +3240,10 @@ window.set_sort_by = function(item_uid, sort_by, sort_order){ window.explore_table_headers = function(){ let h = ``; h += `
`; - h += `
Name
`; - h += `
Modified
`; - h += `
Size
`; - h += `
Type
`; + h += `
${i18n('name')}
`; + h += `
${i18n('modified')}
`; + h += `
${i18n('size')}
`; + h += `
${i18n('type')}
`; h += `
`; return h; } diff --git a/src/UI/UIWindowEmailConfirmationRequired.js b/src/UI/UIWindowEmailConfirmationRequired.js index 61defb1b..56dce005 100644 --- a/src/UI/UIWindowEmailConfirmationRequired.js +++ b/src/UI/UIWindowEmailConfirmationRequired.js @@ -32,7 +32,7 @@ function UIWindowEmailConfirmationRequired(options){ h += `
×
`; h += `
`; h += ``; - h += `

Confirm Your Email Address

`; + h += `

${i18n('confirm_your_email_address')}

`; h += `
`; h += `

To continue, please enter the 6-digit confirmation code sent to ${window.user.email}

`; h += `
`; diff --git a/src/UI/UIWindowItemProperties.js b/src/UI/UIWindowItemProperties.js index 21d46d35..a05d6283 100644 --- a/src/UI/UIWindowItemProperties.js +++ b/src/UI/UIWindowItemProperties.js @@ -31,18 +31,18 @@ async function UIWindowItemProperties(item_name, item_path, item_uid, left, top, h+= `
`; h += ``; - h += ``; - h += ``; - h += ``; - h += ``; - h += ``; + h += ``; + h += ``; + h += ``; + h += ``; + h += ``; h += ``; - h += ``; - h += ``; - h += ``; - h += ``; - h += ``; - h += ``; + h += ``; + h += ``; + h += ``; + h += ``; + h += ``; h += ``; h += `
Name
Path
Original Name
Original Path
Shortcut to
${i18n('name')}
${i18n('path')}
${i18n('original_name')}
${i18n('original_path')}
${i18n('shortcut_to')}
UID
Type
Size
Modified
Created
Versions
Associated Websites`; + h += `
${i18n('type')}
${i18n('size')}
${i18n('modified')}
${i18n('created')}
${i18n('versions')}
${i18n('associated_websites')}`; h += `
${i18n('access_granted_to')}
`; diff --git a/src/UI/UIWindowPublishWebsite.js b/src/UI/UIWindowPublishWebsite.js index 751a2ed3..619a323e 100644 --- a/src/UI/UIWindowPublishWebsite.js +++ b/src/UI/UIWindowPublishWebsite.js @@ -28,7 +28,7 @@ async function UIWindowPublishWebsite(target_dir_uid, target_dir_name, target_di h += ``; h += `

${i18n('dir_published_as_website', `${html_encode(target_dir_name)}`, false)}

`; h += `

`; - h += ``; + h += ``; h+= `
`; // form h += ``; diff --git a/src/UI/UIWindowRequestPermission.js b/src/UI/UIWindowRequestPermission.js index f890ec36..470d9492 100644 --- a/src/UI/UIWindowRequestPermission.js +++ b/src/UI/UIWindowRequestPermission.js @@ -65,8 +65,8 @@ async function UIWindowRequestPermission(options){ // todo show the real description of action h += `

${html_encode(driver.description)}

`; // Allow/Don't Allow - h += ``; - h += ``; + h += ``; + h += ``; h += `
`; h += `
`; diff --git a/src/UI/UIWindowShare.js b/src/UI/UIWindowShare.js index d62b2abf..cf4e7cee 100644 --- a/src/UI/UIWindowShare.js +++ b/src/UI/UIWindowShare.js @@ -58,12 +58,12 @@ async function UIWindowShare(items, recipient){ h += `
`; // Username/email h += `
`; - h += ``; + h += ``; h += `
`; // Username/email h += ``; // Share - h += `` + h += `` h += `
`; h += `
`; h += ``; diff --git a/src/i18n/translations/en.js b/src/i18n/translations/en.js index d9130541..b969c220 100644 --- a/src/i18n/translations/en.js +++ b/src/i18n/translations/en.js @@ -27,8 +27,10 @@ const en = { access_granted_to: "Access Granted To", add_existing_account: "Add Existing Account", all_fields_required: 'All fields are required.', + allow: 'Allow', apply: "Apply", ascending: 'Ascending', + associated_websites: "Associated Websites", auto_arrange: 'Auto Arrange', background: "Background", browse: "Browse", @@ -64,6 +66,7 @@ const en = { confirm_delete_user: "Are you sure you want to delete your account? All your files and data will be permanently deleted. This action cannot be undone.", confirm_delete_user_title: "Delete Account?", confirm_session_revoke: "Are you sure you want to revoke this session?", + confirm_your_email_address: "Confirm Your Email Address", contact_us: "Contact Us", contact_us_verification_required: "You must have a verified email address to to use this.", contain: 'Contain', @@ -83,6 +86,8 @@ const en = { clock_visible_hide: 'Hide - Always hidden', clock_visible_show: 'Show - Always visible', clock_visible_auto: 'Auto - Default, visible only in full-screen mode.', + close_all: 'Close All', + created: 'Created', date_modified: 'Date modified', default: 'Default', delete: 'Delete', @@ -100,6 +105,7 @@ const en = { disable_2fa_instructions: "Enter your password to disable 2FA.", disassociate_dir: "Disassociate Directory", documents: 'Documents', + dont_allow: 'Don\'t Allow', download: 'Download', download_file: 'Download File', downloading: "Downloading", @@ -117,6 +123,7 @@ const en = { end_soft: "End Soft", enlarged_qr_code: "Enlarged QR Code", enter_password_to_confirm_delete_user: "Enter your password to confirm account deletion", + error_message_is_missing: "Error message is missing.", error_unknown_cause: "An unknown error occurred.", error_uploading_files: "Failed to upload files", favorites: "Favorites", @@ -124,6 +131,7 @@ const en = { feedback_c2a: "Please use the form below to send us your feedback, comments, and bug reports.", feedback_sent_confirmation: "Thank you for contacting us. If you have an email associated with your account, you will hear back from us as soon as possible.", fit: "Fit", + folder: 'Folder', force_quit: 'Force Quit', forgot_pass_c2a: "Forgot password?", from: "From", @@ -155,6 +163,7 @@ const en = { menubar_style_desktop: "Desktop", menubar_style_system: "System", menubar_style_window: "Window", + modified: 'Modified', move: 'Move', moving_file: "Moving %%", my_websites: "My Websites", @@ -178,6 +187,8 @@ const en = { open_in_new_tab: "Open in New Tab", open_in_new_window: "Open in New Window", open_with: "Open With", + original_name: 'Original Name', + original_path: 'Original Path', oss_code_and_content: "Open Source Software and Content", password: "Password", password_changed: "Password changed.", @@ -249,7 +260,10 @@ const en = { session_saved: "Thank you for creating an account. This session has been saved.", settings: "Settings", set_new_password: "Set New Password", + share: "Share", share_to: "Share to", + share_with: "Share with:", + shortcut_to: "Shortcut to", show_all_windows: "Show All Windows", show_hidden: 'Show hidden', sign_in_with_puter: "Sign in with Puter",