Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
chore(i18n): add missing translation for "of" across supported languages and update image viewer to use localized string
johaven2bd33ca2a788
diff --git a/frontend/src/app/applications/files/components/viewers/files-viewer-image.component.html b/frontend/src/app/applications/files/components/viewers/files-viewer-image.component.htmlindex d1cfe66d..85fa8ce7 100644--- a/frontend/src/app/applications/files/components/viewers/files-viewer-image.component.html+++ b/frontend/src/app/applications/files/components/viewers/files-viewer-image.component.html@@ -51,7 +51,7 @@<fa-icon [icon]="icons.faExpand"></fa-icon></button></div>- <div>{{ imageIndex() + 1 }} of {{ imageCount() }}</div>+ <div class="px-2">{{ imageIndex() + 1 }}<span class="px-1" l10nTranslate>of</span>{{ imageCount() }}</div><buttonbtnCheckbox[(ngModel)]="isInfoboxOpen"diff --git a/frontend/src/app/applications/files/components/viewers/files-viewer-image.component.ts b/frontend/src/app/applications/files/components/viewers/files-viewer-image.component.tsindex 993ab815..25fc8b94 100755--- a/frontend/src/app/applications/files/components/viewers/files-viewer-image.component.ts+++ b/frontend/src/app/applications/files/components/viewers/files-viewer-image.component.ts@@ -9,7 +9,7 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop'import { FormsModule } from '@angular/forms'import { FaIconComponent } from '@fortawesome/angular-fontawesome'import { faAngleLeft, faAngleRight, faExpand, faInfo, faPlay, faStop } from '@fortawesome/free-solid-svg-icons'-import { L10N_LOCALE, L10nLocale, L10nTranslatePipe } from 'angular-l10n'+import { L10N_LOCALE, L10nLocale, L10nTranslateDirective, L10nTranslatePipe } from 'angular-l10n'import { ButtonCheckboxDirective } from 'ngx-bootstrap/buttons'import { TooltipModule } from 'ngx-bootstrap/tooltip'import { Subscription, timer } from 'rxjs'@@ -17,7 +17,7 @@ import { FileModel } from '../../models/file.model'@Component({selector: 'app-files-viewer-image',- imports: [FormsModule, TooltipModule, FaIconComponent, ButtonCheckboxDirective, L10nTranslatePipe],+ imports: [FormsModule, TooltipModule, FaIconComponent, ButtonCheckboxDirective, L10nTranslatePipe, L10nTranslateDirective],templateUrl: 'files-viewer-image.component.html',changeDetection: ChangeDetectionStrategy.OnPush})diff --git a/frontend/src/i18n/de.json b/frontend/src/i18n/de.jsonindex 4e41b572..97be96b5 100644--- a/frontend/src/i18n/de.json+++ b/frontend/src/i18n/de.json@@ -632,5 +632,6 @@"Ask Me": "Mich fragen","Used when both editors support the file type.": "Wird verwendet, wenn beide Editoren den Dateityp unterstützen.","Enable content indexation for personal files.": "Inhaltsindexierung für persönliche Dateien aktivieren.",- "Preferences": "Einstellungen"+ "Preferences": "Einstellungen",+ "of": "von"}\ No newline at end of filediff --git a/frontend/src/i18n/es.json b/frontend/src/i18n/es.jsonindex 78548c13..7995cc27 100644--- a/frontend/src/i18n/es.json+++ b/frontend/src/i18n/es.json@@ -632,5 +632,6 @@"Ask Me": "Preguntarme","Used when both editors support the file type.": "Se usa cuando ambos editores admiten el tipo de archivo.","Enable content indexation for personal files.": "Habilitar la indexación de contenido para archivos personales.",- "Preferences": "Preferencias"+ "Preferences": "Preferencias",+ "of": "de"}\ No newline at end of filediff --git a/frontend/src/i18n/fr.json b/frontend/src/i18n/fr.jsonindex 9f1a6891..4a48d0b0 100644--- a/frontend/src/i18n/fr.json+++ b/frontend/src/i18n/fr.json@@ -632,5 +632,6 @@"Ask Me": "Me demander","Used when both editors support the file type.": "Utilisé lorsque les deux éditeurs prennent en charge le type de fichier.","Enable content indexation for personal files.": "Activer l'indexation du contenu pour les fichiers personnels.",- "Preferences": "Préférences"+ "Preferences": "Préférences",+ "of": "de"}\ No newline at end of filediff --git a/frontend/src/i18n/hi.json b/frontend/src/i18n/hi.jsonindex 68fe545e..76db7078 100644--- a/frontend/src/i18n/hi.json+++ b/frontend/src/i18n/hi.json@@ -632,5 +632,6 @@"Ask Me": "मुझसे पूछें","Used when both editors support the file type.": "जब दोनों संपादक फ़ाइल प्रकार का समर्थन करते हैं तो उपयोग किया जाता है।","Enable content indexation for personal files.": "व्यक्तिगत फ़ाइलों के लिए सामग्री अनुक्रमण सक्षम करें।",- "Preferences": "वरीयताएँ"+ "Preferences": "वरीयताएँ",+ "of": "का"}\ No newline at end of filediff --git a/frontend/src/i18n/it.json b/frontend/src/i18n/it.jsonindex 24d61b86..b31219e7 100644--- a/frontend/src/i18n/it.json+++ b/frontend/src/i18n/it.json@@ -632,5 +632,6 @@"Ask Me": "Chiedimelo","Used when both editors support the file type.": "Usato quando entrambi gli editor supportano il tipo di file.","Enable content indexation for personal files.": "Abilita l'indicizzazione dei contenuti per i file personali.",- "Preferences": "Preferenze"+ "Preferences": "Preferenze",+ "of": "di"}\ No newline at end of filediff --git a/frontend/src/i18n/ja.json b/frontend/src/i18n/ja.jsonindex d77e372d..4f8cbb98 100644--- a/frontend/src/i18n/ja.json+++ b/frontend/src/i18n/ja.json@@ -632,5 +632,6 @@"Ask Me": "毎回確認","Used when both editors support the file type.": "両方のエディタがファイルタイプをサポートしている場合に使用されます。","Enable content indexation for personal files.": "個人ファイルのコンテンツインデックス作成を有効にする。",- "Preferences": "環境設定"+ "Preferences": "環境設定",+ "of": "の"}\ No newline at end of filediff --git a/frontend/src/i18n/ko.json b/frontend/src/i18n/ko.jsonindex 11028218..a944fd83 100644--- a/frontend/src/i18n/ko.json+++ b/frontend/src/i18n/ko.json@@ -632,5 +632,6 @@"Ask Me": "매번 물어보기","Used when both editors support the file type.": "두 편집기 모두 파일 유형을 지원할 때 사용됩니다.","Enable content indexation for personal files.": "개인 파일에 대한 콘텐츠 인덱싱을 활성화합니다.",- "Preferences": "환경 설정"+ "Preferences": "환경 설정",+ "of": "의"}\ No newline at end of filediff --git a/frontend/src/i18n/pl.json b/frontend/src/i18n/pl.jsonindex a48fca1f..eb4480b3 100644--- a/frontend/src/i18n/pl.json+++ b/frontend/src/i18n/pl.json@@ -632,5 +632,6 @@"Ask Me": "Pytaj mnie","Used when both editors support the file type.": "Używane, gdy oba edytory obsługują typ pliku.","Enable content indexation for personal files.": "Włącz indeksowanie treści dla plików osobistych.",- "Preferences": "Preferencje"+ "Preferences": "Preferencje",+ "of": "z"}\ No newline at end of filediff --git a/frontend/src/i18n/pt-BR.json b/frontend/src/i18n/pt-BR.jsonindex 708911aa..d662fe8e 100644--- a/frontend/src/i18n/pt-BR.json+++ b/frontend/src/i18n/pt-BR.json@@ -632,5 +632,6 @@"Ask Me": "Perguntar sempre","Used when both editors support the file type.": "Usado quando ambos os editores suportam o tipo de arquivo.","Enable content indexation for personal files.": "Ativar indexação de conteúdo para arquivos pessoais.",- "Preferences": "Preferências"+ "Preferences": "Preferências",+ "of": "de"}\ No newline at end of filediff --git a/frontend/src/i18n/pt.json b/frontend/src/i18n/pt.jsonindex 39fed5cb..466f28e9 100644--- a/frontend/src/i18n/pt.json+++ b/frontend/src/i18n/pt.json@@ -632,5 +632,6 @@"Ask Me": "Perguntar sempre","Used when both editors support the file type.": "Usado quando ambos os editores suportam o tipo de arquivo.","Enable content indexation for personal files.": "Ativar indexação de conteúdo para ficheiros pessoais.",- "Preferences": "Preferências"+ "Preferences": "Preferências",+ "of": "de"}\ No newline at end of filediff --git a/frontend/src/i18n/ru.json b/frontend/src/i18n/ru.jsonindex 70f2a06e..06d4f9c3 100644--- a/frontend/src/i18n/ru.json+++ b/frontend/src/i18n/ru.json@@ -632,5 +632,6 @@"Ask Me": "Спрашивать каждый раз","Used when both editors support the file type.": "Используется, когда оба редактора поддерживают тип файла.","Enable content indexation for personal files.": "Включить индексацию содержимого для личных файлов.",- "Preferences": "Настройки"+ "Preferences": "Настройки",+ "of": "из"}\ No newline at end of filediff --git a/frontend/src/i18n/tr.json b/frontend/src/i18n/tr.jsonindex ebc962ed..c823c114 100644--- a/frontend/src/i18n/tr.json+++ b/frontend/src/i18n/tr.json@@ -632,5 +632,6 @@"Ask Me": "Bana sor","Used when both editors support the file type.": "Her iki editör de dosya türünü desteklediğinde kullanılır.","Enable content indexation for personal files.": "Kişisel dosyalar için içerik indekslemeyi etkinleştir.",- "Preferences": "Tercihler"+ "Preferences": "Tercihler",+ "of": "/"}\ No newline at end of filediff --git a/frontend/src/i18n/zh.json b/frontend/src/i18n/zh.jsonindex dd295daa..3a583c57 100644--- a/frontend/src/i18n/zh.json+++ b/frontend/src/i18n/zh.json@@ -632,5 +632,6 @@"Ask Me": "询问我","Used when both editors support the file type.": "当两个编辑器都支持该文件类型时使用。","Enable content indexation for personal files.": "启用个人文件内容索引。",- "Preferences": "偏好设置"+ "Preferences": "偏好设置",+ "of": "的"}\ No newline at end of file