Skip to content

Commit 661f2f6

Browse files
committed
feat: show only files on this device (fixes #341)
Signed-off-by: Tommy van der Vorst <tommy@pixelspark.nl>
1 parent 405a6f9 commit 661f2f6

File tree

3 files changed

+302
-11
lines changed

3 files changed

+302
-11
lines changed

Localizable.xcstrings

Lines changed: 230 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4232,6 +4232,52 @@
42324232
}
42334233
}
42344234
},
4235+
"All files and folders" : {
4236+
"localizations" : {
4237+
"de" : {
4238+
"stringUnit" : {
4239+
"state" : "translated",
4240+
"value" : "Alle Dateien und Ordner"
4241+
}
4242+
},
4243+
"es" : {
4244+
"stringUnit" : {
4245+
"state" : "translated",
4246+
"value" : "Todos los archivos y carpetas"
4247+
}
4248+
},
4249+
"it" : {
4250+
"stringUnit" : {
4251+
"state" : "translated",
4252+
"value" : "Tutti i file e le cartelle"
4253+
}
4254+
},
4255+
"ja" : {
4256+
"stringUnit" : {
4257+
"state" : "translated",
4258+
"value" : "すべてのファイルとフォルダ"
4259+
}
4260+
},
4261+
"nl" : {
4262+
"stringUnit" : {
4263+
"state" : "translated",
4264+
"value" : "Alle bestanden en mappen"
4265+
}
4266+
},
4267+
"uk" : {
4268+
"stringUnit" : {
4269+
"state" : "translated",
4270+
"value" : "Усі файли та папки"
4271+
}
4272+
},
4273+
"zh-Hans" : {
4274+
"stringUnit" : {
4275+
"state" : "translated",
4276+
"value" : "所有文件和文件夹"
4277+
}
4278+
}
4279+
}
4280+
},
42354281
"All files in the folder will be copied to this device." : {
42364282
"localizations" : {
42374283
"de" : {
@@ -14084,6 +14130,52 @@
1408414130
}
1408514131
}
1408614132
},
14133+
"Filter" : {
14134+
"localizations" : {
14135+
"de" : {
14136+
"stringUnit" : {
14137+
"state" : "translated",
14138+
"value" : "Filter"
14139+
}
14140+
},
14141+
"es" : {
14142+
"stringUnit" : {
14143+
"state" : "translated",
14144+
"value" : "Filtro"
14145+
}
14146+
},
14147+
"it" : {
14148+
"stringUnit" : {
14149+
"state" : "translated",
14150+
"value" : "Filtro"
14151+
}
14152+
},
14153+
"ja" : {
14154+
"stringUnit" : {
14155+
"state" : "translated",
14156+
"value" : "フィルター"
14157+
}
14158+
},
14159+
"nl" : {
14160+
"stringUnit" : {
14161+
"state" : "translated",
14162+
"value" : "Filter"
14163+
}
14164+
},
14165+
"uk" : {
14166+
"stringUnit" : {
14167+
"state" : "translated",
14168+
"value" : "Фільтр"
14169+
}
14170+
},
14171+
"zh-Hans" : {
14172+
"stringUnit" : {
14173+
"state" : "translated",
14174+
"value" : "过滤器"
14175+
}
14176+
}
14177+
}
14178+
},
1408714179
"Fingerprint" : {
1408814180
"localizations" : {
1408914181
"de" : {
@@ -22124,6 +22216,98 @@
2212422216
}
2212522217
}
2212622218
},
22219+
"Only files on this device" : {
22220+
"localizations" : {
22221+
"de" : {
22222+
"stringUnit" : {
22223+
"state" : "translated",
22224+
"value" : "Nur Dateien auf diesem Gerät"
22225+
}
22226+
},
22227+
"es" : {
22228+
"stringUnit" : {
22229+
"state" : "translated",
22230+
"value" : "Solo archivos en este dispositivo"
22231+
}
22232+
},
22233+
"it" : {
22234+
"stringUnit" : {
22235+
"state" : "translated",
22236+
"value" : "Solo file su questo dispositivo"
22237+
}
22238+
},
22239+
"ja" : {
22240+
"stringUnit" : {
22241+
"state" : "translated",
22242+
"value" : "このデバイス上のファイルのみ"
22243+
}
22244+
},
22245+
"nl" : {
22246+
"stringUnit" : {
22247+
"state" : "translated",
22248+
"value" : "Alleen bestanden op dit apparaat"
22249+
}
22250+
},
22251+
"uk" : {
22252+
"stringUnit" : {
22253+
"state" : "translated",
22254+
"value" : "Лише файли на цьому пристрої"
22255+
}
22256+
},
22257+
"zh-Hans" : {
22258+
"stringUnit" : {
22259+
"state" : "translated",
22260+
"value" : "仅此设备上的文件"
22261+
}
22262+
}
22263+
}
22264+
},
22265+
"Only files that are on this device are displayed." : {
22266+
"localizations" : {
22267+
"de" : {
22268+
"stringUnit" : {
22269+
"state" : "translated",
22270+
"value" : "Es werden nur Dateien angezeigt, die sich auf diesem Gerät befinden."
22271+
}
22272+
},
22273+
"es" : {
22274+
"stringUnit" : {
22275+
"state" : "translated",
22276+
"value" : "Solo se muestran los archivos que están en este dispositivo."
22277+
}
22278+
},
22279+
"it" : {
22280+
"stringUnit" : {
22281+
"state" : "translated",
22282+
"value" : "Vengono visualizzati solo i file che sono su questo dispositivo."
22283+
}
22284+
},
22285+
"ja" : {
22286+
"stringUnit" : {
22287+
"state" : "translated",
22288+
"value" : "このデバイスにあるファイルのみが表示されます。"
22289+
}
22290+
},
22291+
"nl" : {
22292+
"stringUnit" : {
22293+
"state" : "translated",
22294+
"value" : "Alleen bestanden die op dit apparaat staan worden weergegeven."
22295+
}
22296+
},
22297+
"uk" : {
22298+
"stringUnit" : {
22299+
"state" : "translated",
22300+
"value" : "Відображаються лише файли, які є на цьому пристрої."
22301+
}
22302+
},
22303+
"zh-Hans" : {
22304+
"stringUnit" : {
22305+
"state" : "translated",
22306+
"value" : "仅显示此设备上的文件。"
22307+
}
22308+
}
22309+
}
22310+
},
2212722311
"Only files that you select will be copied to this device. You can still access all files in the folder on demand when connected to other devices that have a copy of the file." : {
2212822312
"localizations" : {
2212922313
"de" : {
@@ -34816,6 +35000,52 @@
3481635000
}
3481735001
}
3481835002
},
35003+
"There are no files in this folder to show" : {
35004+
"localizations" : {
35005+
"de" : {
35006+
"stringUnit" : {
35007+
"state" : "translated",
35008+
"value" : "In diesem Ordner gibt es keine Dateien zum Anzeigen"
35009+
}
35010+
},
35011+
"es" : {
35012+
"stringUnit" : {
35013+
"state" : "translated",
35014+
"value" : "No hay archivos en esta carpeta para mostrar"
35015+
}
35016+
},
35017+
"it" : {
35018+
"stringUnit" : {
35019+
"state" : "translated",
35020+
"value" : "Non ci sono file in questa cartella da mostrare"
35021+
}
35022+
},
35023+
"ja" : {
35024+
"stringUnit" : {
35025+
"state" : "translated",
35026+
"value" : "このフォルダには表示するファイルがありません"
35027+
}
35028+
},
35029+
"nl" : {
35030+
"stringUnit" : {
35031+
"state" : "translated",
35032+
"value" : "Er zijn geen bestanden in deze map om te tonen"
35033+
}
35034+
},
35035+
"uk" : {
35036+
"stringUnit" : {
35037+
"state" : "translated",
35038+
"value" : "У цій папці немає файлів для показу"
35039+
}
35040+
},
35041+
"zh-Hans" : {
35042+
"stringUnit" : {
35043+
"state" : "translated",
35044+
"value" : "此文件夹中没有文件可显示"
35045+
}
35046+
}
35047+
}
35048+
},
3481935049
"there is insufficient disk space free to continue" : {
3482035050
"localizations" : {
3482135051
"de" : {

Sushitrain/AppState.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ class SushitrainDelegate: NSObject {
7676
@AppStorage("streamingLimitMbitsPerSec") var streamingLimitMbitsPerSec: Int = 0
7777
@AppStorage("maxBytesForPreview") var maxBytesForPreview: Int = 2 * 1024 * 1024 // 2 MiB
7878
@AppStorage("browserViewStyle") var defaultBrowserViewStyle: BrowserViewStyle = .list
79+
@AppStorage("browserViewFilter") var defaultBrowserViewFilterAvailability: BrowserViewFilterAvailability = .all
7980
@AppStorage("browserGridColumns") var browserGridColumns: Int = 3
8081
@AppStorage("loggingEnabled") var loggingToFileEnabled: Bool = false
8182
@AppStorage("dotFilesHidden") var dotFilesHidden: Bool = true

0 commit comments

Comments
 (0)