aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/l10n/it.js4
-rw-r--r--apps/files/l10n/it.json4
-rw-r--r--apps/files/l10n/ja.js4
-rw-r--r--apps/files/l10n/ja.json4
-rw-r--r--apps/files/l10n/pl.js6
-rw-r--r--apps/files/l10n/pl.json6
-rw-r--r--apps/files/src/components/LegacyView.vue2
-rw-r--r--apps/files/src/utils/filesViews.spec.ts8
8 files changed, 32 insertions, 6 deletions
diff --git a/apps/files/l10n/it.js b/apps/files/l10n/it.js
index 1c506251652..04c42e72a56 100644
--- a/apps/files/l10n/it.js
+++ b/apps/files/l10n/it.js
@@ -202,9 +202,11 @@ OC.L10N.register(
"Sort favorites first" : "Ordina prima i preferiti",
"Sort folders before files" : "Ordina cartelle prima dei files",
"Enable folder tree" : "Abilita l'albero delle cartelle",
+ "Visual settings" : "Impostazioni visive",
"Show hidden files" : "Mostra i file nascosti",
"Show file type column" : "Mostra colonna tipo di file",
"Crop image previews" : "Ritaglia le anteprime delle immagini",
+ "Show files extensions" : "Mostra le estensioni dei file",
"Additional settings" : "Impostazioni aggiuntive",
"WebDAV" : "WebDAV",
"WebDAV URL" : "URL WebDAV",
@@ -327,6 +329,7 @@ OC.L10N.register(
"Templates" : "Modelli",
"New template folder" : "Nuova cartella dei modelli",
"In folder" : "Nella cartella",
+ "Search in all files" : "Cerca in tutti i file",
"Search in folder: {folder}" : "Cerca nella cartella: {folder}",
"One of the dropped files could not be processed" : "Impossibile elaborare uno dei file depositati",
"Your browser does not support the Filesystem API. Directories will not be uploaded" : "Il tuo browser non supporta l'API del file system. Le directory non verranno caricate",
@@ -360,6 +363,7 @@ OC.L10N.register(
"No favorites yet" : "Nessun preferito ancora",
"Files and folders you mark as favorite will show up here" : "I file e le cartelle che marchi come preferiti saranno mostrati qui",
"List of your files and folders." : "Lista dei tuoi file e cartelle.",
+ "Folder tree" : "Albero delle cartella",
"List of your files and folders that are not shared." : "Elenco dei file e delle cartelle che non sono condivisi.",
"No personal files found" : "Nessun file personale trovato",
"Files that are not shared will show up here." : "I file che non vengono condivisi verranno visualizzati qui.",
diff --git a/apps/files/l10n/it.json b/apps/files/l10n/it.json
index 1ae4466594a..b50aa0c151e 100644
--- a/apps/files/l10n/it.json
+++ b/apps/files/l10n/it.json
@@ -200,9 +200,11 @@
"Sort favorites first" : "Ordina prima i preferiti",
"Sort folders before files" : "Ordina cartelle prima dei files",
"Enable folder tree" : "Abilita l'albero delle cartelle",
+ "Visual settings" : "Impostazioni visive",
"Show hidden files" : "Mostra i file nascosti",
"Show file type column" : "Mostra colonna tipo di file",
"Crop image previews" : "Ritaglia le anteprime delle immagini",
+ "Show files extensions" : "Mostra le estensioni dei file",
"Additional settings" : "Impostazioni aggiuntive",
"WebDAV" : "WebDAV",
"WebDAV URL" : "URL WebDAV",
@@ -325,6 +327,7 @@
"Templates" : "Modelli",
"New template folder" : "Nuova cartella dei modelli",
"In folder" : "Nella cartella",
+ "Search in all files" : "Cerca in tutti i file",
"Search in folder: {folder}" : "Cerca nella cartella: {folder}",
"One of the dropped files could not be processed" : "Impossibile elaborare uno dei file depositati",
"Your browser does not support the Filesystem API. Directories will not be uploaded" : "Il tuo browser non supporta l'API del file system. Le directory non verranno caricate",
@@ -358,6 +361,7 @@
"No favorites yet" : "Nessun preferito ancora",
"Files and folders you mark as favorite will show up here" : "I file e le cartelle che marchi come preferiti saranno mostrati qui",
"List of your files and folders." : "Lista dei tuoi file e cartelle.",
+ "Folder tree" : "Albero delle cartella",
"List of your files and folders that are not shared." : "Elenco dei file e delle cartelle che non sono condivisi.",
"No personal files found" : "Nessun file personale trovato",
"Files that are not shared will show up here." : "I file che non vengono condivisi verranno visualizzati qui.",
diff --git a/apps/files/l10n/ja.js b/apps/files/l10n/ja.js
index 485685f5c24..47462ea2dd7 100644
--- a/apps/files/l10n/ja.js
+++ b/apps/files/l10n/ja.js
@@ -202,9 +202,11 @@ OC.L10N.register(
"Sort favorites first" : "お気に入りを最初に並べる",
"Sort folders before files" : "ファイルよりもフォルダを先に並べ替えます",
"Enable folder tree" : "フォルダーツリーを有効にする",
+ "Visual settings" : "ビジュアル設定",
"Show hidden files" : "隠しファイルを表示",
"Show file type column" : "ファイルの種類のカラムを表示する",
"Crop image previews" : "プレビュー画像を切り抜く",
+ "Show files extensions" : "ファイルの拡張子を表示",
"Additional settings" : "追加設定",
"WebDAV" : "WebDAV",
"WebDAV URL" : "WebDAV URL",
@@ -327,6 +329,7 @@ OC.L10N.register(
"Templates" : "テンプレート",
"New template folder" : "新しいテンプレートフォルダ",
"In folder" : "フォルダ内",
+ "Search in all files" : "すべてのファイルを検索",
"Search in folder: {folder}" : "フォルダ内を検索: {folder}",
"One of the dropped files could not be processed" : "ドロップされたファイルの1つが処理できませんでした",
"Your browser does not support the Filesystem API. Directories will not be uploaded" : "お使いのブラウザはファイルシステムAPIをサポートしていません。ディレクトリはアップロードされません",
@@ -360,6 +363,7 @@ OC.L10N.register(
"No favorites yet" : "まだお気に入りはありません",
"Files and folders you mark as favorite will show up here" : "お気に入りに登録されたファイルやフォルダーは、ここに表示されます。",
"List of your files and folders." : "ファイルやフォルダーの一覧",
+ "Folder tree" : "フォルダーツリー",
"List of your files and folders that are not shared." : "共有されていないファイルやフォルダの一覧。",
"No personal files found" : "個人ファイルは見つかりませんでした",
"Files that are not shared will show up here." : "共有されていないファイルは、ここに表示されます。",
diff --git a/apps/files/l10n/ja.json b/apps/files/l10n/ja.json
index dab642f2d08..822457c0361 100644
--- a/apps/files/l10n/ja.json
+++ b/apps/files/l10n/ja.json
@@ -200,9 +200,11 @@
"Sort favorites first" : "お気に入りを最初に並べる",
"Sort folders before files" : "ファイルよりもフォルダを先に並べ替えます",
"Enable folder tree" : "フォルダーツリーを有効にする",
+ "Visual settings" : "ビジュアル設定",
"Show hidden files" : "隠しファイルを表示",
"Show file type column" : "ファイルの種類のカラムを表示する",
"Crop image previews" : "プレビュー画像を切り抜く",
+ "Show files extensions" : "ファイルの拡張子を表示",
"Additional settings" : "追加設定",
"WebDAV" : "WebDAV",
"WebDAV URL" : "WebDAV URL",
@@ -325,6 +327,7 @@
"Templates" : "テンプレート",
"New template folder" : "新しいテンプレートフォルダ",
"In folder" : "フォルダ内",
+ "Search in all files" : "すべてのファイルを検索",
"Search in folder: {folder}" : "フォルダ内を検索: {folder}",
"One of the dropped files could not be processed" : "ドロップされたファイルの1つが処理できませんでした",
"Your browser does not support the Filesystem API. Directories will not be uploaded" : "お使いのブラウザはファイルシステムAPIをサポートしていません。ディレクトリはアップロードされません",
@@ -358,6 +361,7 @@
"No favorites yet" : "まだお気に入りはありません",
"Files and folders you mark as favorite will show up here" : "お気に入りに登録されたファイルやフォルダーは、ここに表示されます。",
"List of your files and folders." : "ファイルやフォルダーの一覧",
+ "Folder tree" : "フォルダーツリー",
"List of your files and folders that are not shared." : "共有されていないファイルやフォルダの一覧。",
"No personal files found" : "個人ファイルは見つかりませんでした",
"Files that are not shared will show up here." : "共有されていないファイルは、ここに表示されます。",
diff --git a/apps/files/l10n/pl.js b/apps/files/l10n/pl.js
index 107bd2813bd..91b14c35ee9 100644
--- a/apps/files/l10n/pl.js
+++ b/apps/files/l10n/pl.js
@@ -202,13 +202,17 @@ OC.L10N.register(
"Sort favorites first" : "Najpierw sortuj ulubione",
"Sort folders before files" : "Sortuj katalogi przed plikami",
"Enable folder tree" : "Włącz drzewo katalogów",
+ "Visual settings" : "Ustawienia wizualne",
"Show hidden files" : "Pokaż ukryte pliki",
"Show file type column" : "Pokaż kolumnę typu pliku",
"Crop image previews" : "Przytnij podglądy obrazów",
+ "Show files extensions" : "Pokaż rozszerzenia plików",
"Additional settings" : "Ustawienia dodatkowe",
"WebDAV" : "WebDAV",
"WebDAV URL" : "URL WebDAV",
"Copy to clipboard" : "Kopiuj do schowka",
+ "Use this address to access your Files via WebDAV." : "Użyj tego adresu, aby uzyskać dostęp do swoich plików przez WebDAV.",
+ "Two-Factor Authentication is enabled for your account, and therefore you need to use an app password to connect an external WebDAV client." : "Uwierzytelnianie dwuskładnikowe jest włączone dla Twojego konta, dlatego musisz użyć hasła aplikacji, aby połączyć zewnętrznego klienta WebDAV.",
"Warnings" : "Ostrzeżenie",
"Prevent warning dialogs from open or reenable them." : "Zapobiegaj otwieraniu okien dialogowych z ostrzeżeniami lub włącz je ponownie.",
"Show a warning dialog when changing a file extension." : "Pokaż okno dialogowe z ostrzeżeniem przy zmianie rozszerzenia pliku.",
@@ -325,6 +329,7 @@ OC.L10N.register(
"Templates" : "Szablony",
"New template folder" : "Nowy katalog szablonów",
"In folder" : "W katalogu",
+ "Search in all files" : "Szukaj we wszystkich plikach",
"Search in folder: {folder}" : "Szukaj w katalogu: {folder}",
"One of the dropped files could not be processed" : "Jeden z upuszczonych plików nie mógł być przetworzony",
"Your browser does not support the Filesystem API. Directories will not be uploaded" : "Twoja przeglądarka nie obsługuje interfejsu API systemu plików. Katalogi nie zostaną przesłane",
@@ -358,6 +363,7 @@ OC.L10N.register(
"No favorites yet" : "Brak ulubionych",
"Files and folders you mark as favorite will show up here" : "Pliki i katalogi, które oznaczysz jako ulubione wyświetlą się tutaj",
"List of your files and folders." : "Lista Twoich plików i katalogów.",
+ "Folder tree" : "Drzewo folderów",
"List of your files and folders that are not shared." : "Lista twoich plików i katalogów, które nie są udostępniane",
"No personal files found" : "Nie znaleziono plików osobistych",
"Files that are not shared will show up here." : "Tutaj pojawią się pliki, które nie są udostępniane.",
diff --git a/apps/files/l10n/pl.json b/apps/files/l10n/pl.json
index 763e3543115..18eac5d41da 100644
--- a/apps/files/l10n/pl.json
+++ b/apps/files/l10n/pl.json
@@ -200,13 +200,17 @@
"Sort favorites first" : "Najpierw sortuj ulubione",
"Sort folders before files" : "Sortuj katalogi przed plikami",
"Enable folder tree" : "Włącz drzewo katalogów",
+ "Visual settings" : "Ustawienia wizualne",
"Show hidden files" : "Pokaż ukryte pliki",
"Show file type column" : "Pokaż kolumnę typu pliku",
"Crop image previews" : "Przytnij podglądy obrazów",
+ "Show files extensions" : "Pokaż rozszerzenia plików",
"Additional settings" : "Ustawienia dodatkowe",
"WebDAV" : "WebDAV",
"WebDAV URL" : "URL WebDAV",
"Copy to clipboard" : "Kopiuj do schowka",
+ "Use this address to access your Files via WebDAV." : "Użyj tego adresu, aby uzyskać dostęp do swoich plików przez WebDAV.",
+ "Two-Factor Authentication is enabled for your account, and therefore you need to use an app password to connect an external WebDAV client." : "Uwierzytelnianie dwuskładnikowe jest włączone dla Twojego konta, dlatego musisz użyć hasła aplikacji, aby połączyć zewnętrznego klienta WebDAV.",
"Warnings" : "Ostrzeżenie",
"Prevent warning dialogs from open or reenable them." : "Zapobiegaj otwieraniu okien dialogowych z ostrzeżeniami lub włącz je ponownie.",
"Show a warning dialog when changing a file extension." : "Pokaż okno dialogowe z ostrzeżeniem przy zmianie rozszerzenia pliku.",
@@ -323,6 +327,7 @@
"Templates" : "Szablony",
"New template folder" : "Nowy katalog szablonów",
"In folder" : "W katalogu",
+ "Search in all files" : "Szukaj we wszystkich plikach",
"Search in folder: {folder}" : "Szukaj w katalogu: {folder}",
"One of the dropped files could not be processed" : "Jeden z upuszczonych plików nie mógł być przetworzony",
"Your browser does not support the Filesystem API. Directories will not be uploaded" : "Twoja przeglądarka nie obsługuje interfejsu API systemu plików. Katalogi nie zostaną przesłane",
@@ -356,6 +361,7 @@
"No favorites yet" : "Brak ulubionych",
"Files and folders you mark as favorite will show up here" : "Pliki i katalogi, które oznaczysz jako ulubione wyświetlą się tutaj",
"List of your files and folders." : "Lista Twoich plików i katalogów.",
+ "Folder tree" : "Drzewo folderów",
"List of your files and folders that are not shared." : "Lista twoich plików i katalogów, które nie są udostępniane",
"No personal files found" : "Nie znaleziono plików osobistych",
"Files that are not shared will show up here." : "Tutaj pojawią się pliki, które nie są udostępniane.",
diff --git a/apps/files/src/components/LegacyView.vue b/apps/files/src/components/LegacyView.vue
index d9baeeb1b07..b5a792d9029 100644
--- a/apps/files/src/components/LegacyView.vue
+++ b/apps/files/src/components/LegacyView.vue
@@ -33,7 +33,7 @@ export default {
},
methods: {
setFileInfo(fileInfo) {
- this.component.setFileInfo(new OCA.Files.FileInfoModel(fileInfo))
+ this.component.setFileInfo(fileInfo)
},
},
}
diff --git a/apps/files/src/utils/filesViews.spec.ts b/apps/files/src/utils/filesViews.spec.ts
index e8c2ab3a6c1..03b0bb9aeb0 100644
--- a/apps/files/src/utils/filesViews.spec.ts
+++ b/apps/files/src/utils/filesViews.spec.ts
@@ -26,11 +26,7 @@ describe('hasPersonalFilesView', () => {
})
describe('defaultView', () => {
- beforeEach(() => {
- document.querySelectorAll('input[type="hidden"]').forEach((el) => {
- el.remove()
- })
- })
+ beforeEach(removeInitialState)
test('Returns files view if set', () => {
mockInitialState('files', 'config', { default_view: 'files' })
@@ -57,6 +53,8 @@ function removeInitialState(): void {
document.querySelectorAll('input[type="hidden"]').forEach((el) => {
el.remove()
})
+ // clear the cache
+ delete globalThis._nc_initial_state
}
/**