Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

chore(frontend): adjust auth page padding and translation fixes

johaven0889bd188608
diff --git a/backend/src/applications/sync/services/sync-clients-manager.service.ts b/backend/src/applications/sync/services/sync-clients-manager.service.ts
index 0bf1e659..6de4a503 100644
--- a/backend/src/applications/sync/services/sync-clients-manager.service.ts
+++ b/backend/src/applications/sync/services/sync-clients-manager.service.ts
@@ -56,7 +56,7 @@ export class SyncClientsManager {
tag: this.register.name,
msg: `user *${user.login}* (${user.id}) does not have permission : ${USER_PERMISSION.DESKTOP_APP}`
})
- throw new HttpException('Missing permission', HttpStatus.FORBIDDEN)
+ throw new HttpException('Desktop app permission required', HttpStatus.FORBIDDEN)
}
if (configuration.auth.mfa.totp.enabled && user.twoFaEnabled) {
// Checking TOTP code and recovery code
diff --git a/frontend/src/app/applications/users/components/user-account.component.html b/frontend/src/app/applications/users/components/user-account.component.html
index 27f8f789..11d78b14 100755
--- a/frontend/src/app/applications/users/components/user-account.component.html
+++ b/frontend/src/app/applications/users/components/user-account.component.html
@@ -222,7 +222,7 @@
</div>
<div class="row g-2 align-items-center">
- <label for="" class="form-label col-12 col-md-6 mb-0" l10nTranslate>{{ 'new password' | translate:locale.language | capitalize }}</label>
+ <label for="" class="form-label col-12 col-md-6 mb-0">{{ 'new password' | translate:locale.language | capitalize }}</label>
<div class="col-12 col-md-6">
<app-input-password [(password)]="newPassword"
[disabled]="!oldPassword?.length"
@@ -279,8 +279,7 @@
<div class="col-12 col-md-6 d-flex align-items-center">
<button (click)="manageAppPasswords()"
class="btn btn-primary"
- type="button"
- l10nTranslate>
+ type="button">
@if (user.appPasswords > 0) {
<div class="d-flex align-items-center gap-2">
<span l10nTranslate>Manage</span>
diff --git a/frontend/src/i18n/de.json b/frontend/src/i18n/de.json
index 0ea722a1..2f7ec6a7 100644
--- a/frontend/src/i18n/de.json
+++ b/frontend/src/i18n/de.json
@@ -245,6 +245,7 @@
"The file is locked": "Die Datei ist gesperrt",
"This access is protected by a password": "Dieser Zugriff ist durch ein Passwort geschützt",
"You do not have share permission": "Sie haben keine Berechtigung zum Freigeben",
+ "Desktop app permission required": "Berechtigung für Desktop-App erforderlich",
"You can not share a space": "Sie können keinen Bereich freigeben",
"You can not remove an anchored file": "Sie können eine angeheftete Datei nicht entfernen",
"You are not allowed to write here": "Sie dürfen hier nicht schreiben",
@@ -647,5 +648,6 @@
"Filter value": "Filterwert",
"No filter configured": "Kein Filter konfiguriert",
"checksums are not identical": "Prüfsummen sind nicht identisch",
- "size has changed since parsing": "Die Größe hat sich seit dem Parsen geändert"
+ "size has changed since parsing": "Die Größe hat sich seit dem Parsen geändert",
+ "No synchronized folder": "Kein synchronisierter Ordner"
}
diff --git a/frontend/src/i18n/es.json b/frontend/src/i18n/es.json
index de5a5220..caa72dcf 100644
--- a/frontend/src/i18n/es.json
+++ b/frontend/src/i18n/es.json
@@ -245,6 +245,7 @@
"The file is locked": "El archivo está bloqueado",
"This access is protected by a password": "Este acceso está protegido por una contraseña",
"You do not have share permission": "No tiene permiso para compartir",
+ "Desktop app permission required": "Se requiere permiso para la aplicación de escritorio",
"You can not share a space": "No puede compartir un espacio",
"You can not remove an anchored file": "No puede eliminar un archivo anclado",
"You are not allowed to write here": "No está autorizado a escribir aquí",
@@ -647,5 +648,6 @@
"Filter value": "Valor del filtro",
"No filter configured": "Ningún filtro configurado",
"checksums are not identical": "Las sumas de comprobación no son idénticas",
- "size has changed since parsing": "El tamaño ha cambiado desde el análisis"
+ "size has changed since parsing": "El tamaño ha cambiado desde el análisis",
+ "No synchronized folder": "Ninguna carpeta sincronizada"
}
diff --git a/frontend/src/i18n/fr.json b/frontend/src/i18n/fr.json
index 4cfae581..2a5412c9 100644
--- a/frontend/src/i18n/fr.json
+++ b/frontend/src/i18n/fr.json
@@ -245,6 +245,7 @@
"The file is locked": "Le fichier est verrouillé",
"This access is protected by a password": "Cet accès est protégé par un mot de passe",
"You do not have share permission": "Vous n'avez pas la permission de partager",
+ "Desktop app permission required": "Permission pour l'application de bureau requise",
"You can not share a space": "Vous ne pouvez pas partager un espace",
"You can not remove an anchored file": "vous ne pouvez pas supprimer un fichier ancré",
"You are not allowed to write here": "Vous n'êtes pas autorisé à écrire ici",
@@ -647,5 +648,6 @@
"Filter value": "Valeur du filtre",
"No filter configured": "Aucun filtre configuré",
"checksums are not identical": "Les sommes de contrôle ne sont pas identiques",
- "size has changed since parsing": "La taille a changé depuis l'analyse"
+ "size has changed since parsing": "La taille a changé depuis l'analyse",
+ "No synchronized folder": "Aucun dossier synchronisé"
}
diff --git a/frontend/src/i18n/hi.json b/frontend/src/i18n/hi.json
index cc2f39d8..ae129ef7 100644
--- a/frontend/src/i18n/hi.json
+++ b/frontend/src/i18n/hi.json
@@ -245,6 +245,7 @@
"The file is locked": "फ़ाइल लॉक है",
"This access is protected by a password": "यह एक्सेस पासवर्ड से संरक्षित है",
"You do not have share permission": "आपके पास साझा करने की अनुमति नहीं है",
+ "Desktop app permission required": "डेस्कटॉप ऐप की अनुमति आवश्यक है",
"You can not share a space": "आप किसी स्पेस को साझा नहीं कर सकते",
"You can not remove an anchored file": "आप एंकर की गई फ़ाइल नहीं हटा सकते",
"You are not allowed to write here": "आपको यहाँ लिखने की अनुमति नहीं है",
@@ -647,5 +648,6 @@
"Filter value": "फ़िल्टर मान",
"No filter configured": "कोई फ़िल्टर कॉन्फ़िगर नहीं है",
"checksums are not identical": "चेकसम एक जैसे नहीं हैं",
- "size has changed since parsing": "पार्सिंग के बाद से आकार बदल गया है"
+ "size has changed since parsing": "पार्सिंग के बाद से आकार बदल गया है",
+ "No synchronized folder": "कोई सिंक्रोनाइज़्ड फ़ोल्डर नहीं"
}
diff --git a/frontend/src/i18n/it.json b/frontend/src/i18n/it.json
index 61837c21..40ab9b3a 100644
--- a/frontend/src/i18n/it.json
+++ b/frontend/src/i18n/it.json
@@ -245,6 +245,7 @@
"The file is locked": "Il file è bloccato",
"This access is protected by a password": "Questo accesso è protetto da password",
"You do not have share permission": "Non hai il permesso di condividere",
+ "Desktop app permission required": "Autorizzazione per l'app desktop richiesta",
"You can not share a space": "Non puoi condividere uno spazio",
"You can not remove an anchored file": "Non puoi rimuovere un file ancorato",
"You are not allowed to write here": "Non sei autorizzato a scrivere qui",
@@ -647,5 +648,6 @@
"Filter value": "Valore del filtro",
"No filter configured": "Nessun filtro configurato",
"checksums are not identical": "I checksum non sono identici",
- "size has changed since parsing": "La dimensione è cambiata dall'analisi"
+ "size has changed since parsing": "La dimensione è cambiata dall'analisi",
+ "No synchronized folder": "Nessuna cartella sincronizzata"
}
diff --git a/frontend/src/i18n/ja.json b/frontend/src/i18n/ja.json
index 23eaa5ca..002b2dcd 100644
--- a/frontend/src/i18n/ja.json
+++ b/frontend/src/i18n/ja.json
@@ -245,6 +245,7 @@
"The file is locked": "ファイルはロックされています",
"This access is protected by a password": "このアクセスはパスワードで保護されています",
"You do not have share permission": "共有する権限がありません",
+ "Desktop app permission required": "デスクトップアプリの権限が必要です",
"You can not share a space": "スペースは共有できません",
"You can not remove an anchored file": "アンカーされたファイルは削除できません",
"You are not allowed to write here": "ここに書き込む権限がありません",
@@ -647,5 +648,6 @@
"Filter value": "フィルター値",
"No filter configured": "フィルターが設定されていません",
"checksums are not identical": "チェックサムが一致しません",
- "size has changed since parsing": "解析後にサイズが変更されました"
+ "size has changed since parsing": "解析後にサイズが変更されました",
+ "No synchronized folder": "同期されたフォルダーはありません"
}
diff --git a/frontend/src/i18n/ko.json b/frontend/src/i18n/ko.json
index 74a7884f..190c2de7 100644
--- a/frontend/src/i18n/ko.json
+++ b/frontend/src/i18n/ko.json
@@ -245,6 +245,7 @@
"The file is locked": "파일이 잠겨 있습니다",
"This access is protected by a password": "이 액세스는 비밀번호로 보호됩니다",
"You do not have share permission": "공유할 권한이 없습니다",
+ "Desktop app permission required": "데스크톱 앱 권한이 필요합니다",
"You can not share a space": "스페이스는 공유할 수 없습니다",
"You can not remove an anchored file": "고정된 파일은 삭제할 수 없습니다",
"You are not allowed to write here": "여기에 쓸 권한이 없습니다",
@@ -647,5 +648,6 @@
"Filter value": "필터 값",
"No filter configured": "구성된 필터가 없습니다",
"checksums are not identical": "체크섬이 동일하지 않습니다",
- "size has changed since parsing": "파싱 이후 크기가 변경되었습니다"
+ "size has changed since parsing": "파싱 이후 크기가 변경되었습니다",
+ "No synchronized folder": "동기화된 폴더 없음"
}
diff --git a/frontend/src/i18n/nl.json b/frontend/src/i18n/nl.json
index ff0f1f64..25d915ef 100644
--- a/frontend/src/i18n/nl.json
+++ b/frontend/src/i18n/nl.json
@@ -245,6 +245,7 @@
"The file is locked": "Het bestand is vergrendeld",
"This access is protected by a password": "Deze toegang is beveiligd met een wachtwoord",
"You do not have share permission": "U heeft geen machtiging tot deze share",
+ "Desktop app permission required": "Machtiging voor desktop-app vereist",
"You can not share a space": "U kunt een ruimte niet delen",
"You can not remove an anchored file": "U kunt een gekoppeld bestand niet verwijderen",
"You are not allowed to write here": "U heeft geen toestemming om hier te schrijven",
@@ -647,5 +648,6 @@
"Filter value": "Filterwaarde",
"No filter configured": "Geen filter ingesteld",
"checksums are not identical": "controlesommen komen niet overeen",
- "size has changed since parsing": "grootte is gewijzigd sinds verwerking"
+ "size has changed since parsing": "grootte is gewijzigd sinds verwerking",
+ "No synchronized folder": "Geen gesynchroniseerde map"
}
diff --git a/frontend/src/i18n/pl.json b/frontend/src/i18n/pl.json
index 1f219ee5..57666998 100644
--- a/frontend/src/i18n/pl.json
+++ b/frontend/src/i18n/pl.json
@@ -245,6 +245,7 @@
"The file is locked": "Plik jest zablokowany",
"This access is protected by a password": "Ten dostęp jest chroniony hasłem",
"You do not have share permission": "Nie masz uprawnień do udostępniania",
+ "Desktop app permission required": "Wymagane uprawnienie do aplikacji desktopowej",
"You can not share a space": "Nie możesz udostępnić przestrzeni",
"You can not remove an anchored file": "Nie możesz usunąć zakotwiczonego pliku",
"You are not allowed to write here": "Nie masz uprawnień do zapisu tutaj",
@@ -647,5 +648,6 @@
"Filter value": "Wartość filtra",
"No filter configured": "Brak skonfigurowanych filtrów",
"checksums are not identical": "Sumy kontrolne nie są identyczne",
- "size has changed since parsing": "Rozmiar zmienił się od czasu parsowania"
+ "size has changed since parsing": "Rozmiar zmienił się od czasu parsowania",
+ "No synchronized folder": "Brak zsynchronizowanego folderu"
}
diff --git a/frontend/src/i18n/pt-BR.json b/frontend/src/i18n/pt-BR.json
index 51f927b4..b9fa1413 100644
--- a/frontend/src/i18n/pt-BR.json
+++ b/frontend/src/i18n/pt-BR.json
@@ -245,6 +245,7 @@
"The file is locked": "O arquivo está bloqueado",
"This access is protected by a password": "Este acesso é protegido por senha",
"You do not have share permission": "Você não tem permissão para compartilhar",
+ "Desktop app permission required": "Permissão para o aplicativo desktop necessária",
"You can not share a space": "Você não pode compartilhar um espaço",
"You can not remove an anchored file": "Você não pode remover um arquivo ancorado",
"You are not allowed to write here": "Você não tem permissão para escrever aqui",
@@ -647,5 +648,6 @@
"Filter value": "Valor do filtro",
"No filter configured": "Nenhum filtro configurado",
"checksums are not identical": "As somas de verificação não são idênticas",
- "size has changed since parsing": "O tamanho mudou desde a análise"
+ "size has changed since parsing": "O tamanho mudou desde a análise",
+ "No synchronized folder": "Nenhuma pasta sincronizada"
}
diff --git a/frontend/src/i18n/pt.json b/frontend/src/i18n/pt.json
index 19ec3186..900f046a 100644
--- a/frontend/src/i18n/pt.json
+++ b/frontend/src/i18n/pt.json
@@ -245,6 +245,7 @@
"The file is locked": "O arquivo está bloqueado",
"This access is protected by a password": "Este acesso está protegido por senha",
"You do not have share permission": "Você não tem permissão para compartilhar",
+ "Desktop app permission required": "Permissão para o aplicativo desktop necessária",
"You can not share a space": "Você não pode compartilhar um espaço",
"You can not remove an anchored file": "Você não pode remover um arquivo ancorado",
"You are not allowed to write here": "Você não está autorizado a escrever aqui",
@@ -647,5 +648,6 @@
"Filter value": "Valor do filtro",
"No filter configured": "Nenhum filtro configurado",
"checksums are not identical": "As somas de verificação não são idênticas",
- "size has changed since parsing": "O tamanho mudou desde a análise"
+ "size has changed since parsing": "O tamanho mudou desde a análise",
+ "No synchronized folder": "Nenhuma pasta sincronizada"
}
diff --git a/frontend/src/i18n/ru.json b/frontend/src/i18n/ru.json
index 6e61faa1..69ed098f 100644
--- a/frontend/src/i18n/ru.json
+++ b/frontend/src/i18n/ru.json
@@ -245,6 +245,7 @@
"The file is locked": "Файл заблокирован",
"This access is protected by a password": "Этот доступ защищён паролем",
"You do not have share permission": "У вас нет прав на предоставление общего доступа",
+ "Desktop app permission required": "Требуется разрешение для настольного приложения",
"You can not share a space": "Нельзя предоставить общий доступ к пространству",
"You can not remove an anchored file": "Нельзя удалить закреплённый файл",
"You are not allowed to write here": "Вам запрещено писать сюда",
@@ -647,5 +648,6 @@
"Filter value": "Значение фильтра",
"No filter configured": "Фильтры не настроены",
"checksums are not identical": "Контрольные суммы не совпадают",
- "size has changed since parsing": "Размер изменился с момента разбора"
+ "size has changed since parsing": "Размер изменился с момента разбора",
+ "No synchronized folder": "Нет синхронизированной папки"
}
diff --git a/frontend/src/i18n/tr.json b/frontend/src/i18n/tr.json
index 99b3d440..82d055a1 100644
--- a/frontend/src/i18n/tr.json
+++ b/frontend/src/i18n/tr.json
@@ -245,6 +245,7 @@
"The file is locked": "Dosya kilitli",
"This access is protected by a password": "Bu erişim parola ile korunuyor",
"You do not have share permission": "Paylaşma izniniz yok",
+ "Desktop app permission required": "Masaüstü uygulaması izni gerekli",
"You can not share a space": "Bir alanı paylaşamazsınız",
"You can not remove an anchored file": "Sabitlenmiş bir dosyayı kaldıramazsınız",
"You are not allowed to write here": "Buraya yazma izniniz yok",
@@ -647,5 +648,6 @@
"Filter value": "Filtre değeri",
"No filter configured": "Yapılandırılmış filtre yok",
"checksums are not identical": "Sağlama toplamları aynı değil",
- "size has changed since parsing": "Boyut ayrıştırmadan beri değişti"
+ "size has changed since parsing": "Boyut ayrıştırmadan beri değişti",
+ "No synchronized folder": "Senkronize edilmiş klasör yok"
}
diff --git a/frontend/src/i18n/zh.json b/frontend/src/i18n/zh.json
index e1ca514f..0a4942fd 100644
--- a/frontend/src/i18n/zh.json
+++ b/frontend/src/i18n/zh.json
@@ -245,6 +245,7 @@
"The file is locked": "文件已锁定",
"This access is protected by a password": "此访问受密码保护",
"You do not have share permission": "您没有共享权限",
+ "Desktop app permission required": "需要桌面应用权限",
"You can not share a space": "您不能共享空间",
"You can not remove an anchored file": "您不能删除已锚定的文件",
"You are not allowed to write here": "您无权在此写入",
@@ -647,5 +648,6 @@
"Filter value": "过滤器值",
"No filter configured": "未配置过滤器",
"checksums are not identical": "校验和不一致",
- "size has changed since parsing": "自解析后大小已更改"
+ "size has changed since parsing": "自解析后大小已更改",
+ "No synchronized folder": "没有同步文件夹"
}
diff --git a/frontend/src/styles/components/_app.scss b/frontend/src/styles/components/_app.scss
index db5a89ef..49b4d5d9 100755
--- a/frontend/src/styles/components/_app.scss
+++ b/frontend/src/styles/components/_app.scss
@@ -15,9 +15,9 @@
display: flex;
flex-direction: column;
background: rgba(0, 0, 0, 0.5);
- padding: clamp(2.125rem, 3.5vw, 2.625rem) clamp(1.875rem, 5vw, 3.625rem);
+ padding: clamp(2.125rem, 3.5vw, 1.625rem) clamp(1.25rem, 4vw, 1.875rem);
border-radius: 8px;
- width: min(100%, 400px);
+ width: min(100%, 380px);
min-width: 0;
.content {