refactor: remove legacy 'Mi Carpeta' references, use 'My Folder' only

This commit is contained in:
Dionisio
2026-02-12 15:31:39 +01:00
parent ad07a5abda
commit ab8f3191cb
4 changed files with 13 additions and 19 deletions
+2 -2
View File
@@ -752,7 +752,7 @@ async function loadFiles(options = {}) {
}
// Skip other users' folders when at root
if (!app.currentPath && folder.name.startsWith('Mi Carpeta - ') && !folder.name.includes(username)) {
if (!app.currentPath && folder.name.startsWith('My Folder - ') && !folder.name.includes(username)) {
return false;
}
@@ -1709,7 +1709,7 @@ async function findUserHomeFolder(username) {
// This prevents loops when the folder can't be found
const defaultFolder = {
id: 'default-folder',
name: `Mi Carpeta - ${username}`,
name: `My Folder - ${username}`,
parent_id: null,
created_at: Date.now() / 1000,
updated_at: Date.now() / 1000
+4 -4
View File
@@ -124,11 +124,11 @@ const Modal = {
const t = window.i18n ? window.i18n.t.bind(window.i18n) : (k) => k;
return this.prompt({
title: t('dialogs.new_folder_title') || 'Nueva carpeta',
label: t('dialogs.folder_name') || 'Nombre de la carpeta',
placeholder: t('dialogs.folder_placeholder') || 'Mi carpeta',
title: t('dialogs.new_folder_title') || 'New folder',
label: t('dialogs.folder_name') || 'Folder name',
placeholder: t('dialogs.folder_placeholder') || 'My folder',
icon: 'fa-folder-plus',
confirmText: t('actions.create') || 'Crear'
confirmText: t('actions.create') || 'Create'
});
},