Various fixes

This commit is contained in:
crschnick 2024-04-14 00:58:11 +00:00
parent 4c26c84a70
commit 6c0b3cb58c
13 changed files with 15 additions and 3 deletions

View file

@ -49,7 +49,7 @@ public interface StoreSortMode {
StoreSortMode DATE_DESC = new StoreSortMode() {
@Override
public StoreSection representative(StoreSection s) {
return Stream.concat(s.getShownChildren().stream().map(this::representative), Stream.of(s))
return Stream.concat(s.getShownChildren().stream().filter(section -> section.getWrapper().getEntry().getValidity().isUsable()).map(this::representative), Stream.of(s))
.max(Comparator.comparing(
section -> section.getWrapper().getEntry().getLastAccess()))
.orElseThrow();
@ -70,7 +70,7 @@ public interface StoreSortMode {
StoreSortMode DATE_ASC = new StoreSortMode() {
@Override
public StoreSection representative(StoreSection s) {
return Stream.concat(s.getShownChildren().stream().map(this::representative), Stream.of(s))
return Stream.concat(s.getShownChildren().stream().filter(section -> section.getWrapper().getEntry().getValidity().isUsable()).map(this::representative), Stream.of(s))
.max(Comparator.comparing(
section -> section.getWrapper().getEntry().getLastAccess()))
.orElseThrow();

View file

@ -21,7 +21,8 @@ newDirectory=Neues Verzeichnis
copyShareLink=Link kopieren
selectStore=Laden auswählen
saveSource=Für später speichern
execute=Führen Sie aus
#custom
execute=Ausführen
deleteChildren=Alle Kinder entfernen
descriptionDescription=Gib dieser Gruppe eine optionale Beschreibung
selectSource=Quelle auswählen

View file

@ -299,3 +299,4 @@ openInWSL=In WSL öffnen
launch=Starten
sshTrustKeyHeader=Der Hostschlüssel ist nicht bekannt und du hast die manuelle Überprüfung des Hostschlüssels aktiviert.
sshTrustKeyTitle=Unbekannter Host-Schlüssel
vnc=VNC-Verbindungen

View file

@ -298,3 +298,4 @@ openInWSL=Open in WSL
launch=Launch
sshTrustKeyHeader=The host key is not known, and you have enabled manual host key verification.
sshTrustKeyTitle=Unknown host key
vnc=VNC connections

View file

@ -297,3 +297,4 @@ openInWSL=Abrir en WSL
launch=Inicia
sshTrustKeyHeader=No se conoce la clave del host y has activado la verificación manual de la clave del host.
sshTrustKeyTitle=Clave de host desconocida
vnc=Conexiones VNC

View file

@ -297,3 +297,4 @@ openInWSL=Ouvrir en WSL
launch=Lancer
sshTrustKeyHeader=La clé de l'hôte n'est pas connue et tu as activé la vérification manuelle de la clé de l'hôte.
sshTrustKeyTitle=Clé d'hôte inconnue
vnc=Connexions VNC

View file

@ -297,3 +297,4 @@ openInWSL=Aprire in WSL
launch=Lancio
sshTrustKeyHeader=La chiave host non è nota e hai attivato la verifica manuale della chiave host.
sshTrustKeyTitle=Chiave host sconosciuta
vnc=Connessioni VNC

View file

@ -297,3 +297,4 @@ openInWSL=WSLで開く
launch=起動
sshTrustKeyHeader=ホスト鍵が不明で、手動ホスト鍵検証を有効にしている。
sshTrustKeyTitle=不明なホストキー
vnc=VNC接続

View file

@ -297,3 +297,4 @@ openInWSL=Openen in WSL
launch=Start
sshTrustKeyHeader=De hostsleutel is niet bekend en je hebt handmatige hostsleutelverificatie ingeschakeld.
sshTrustKeyTitle=Onbekende hostsleutel
vnc=VNC-verbindingen

View file

@ -297,3 +297,4 @@ openInWSL=Abre em WSL
launch=Lança
sshTrustKeyHeader=A chave do anfitrião não é conhecida e activaste a verificação manual da chave do anfitrião.
sshTrustKeyTitle=Chave de anfitrião desconhecida
vnc=Ligações VNC

View file

@ -297,3 +297,4 @@ openInWSL=Открыть в WSL
launch=Запустите
sshTrustKeyHeader=Ключ хоста неизвестен, и ты включил ручную проверку ключа хоста.
sshTrustKeyTitle=Неизвестный ключ хоста
vnc=VNC-соединения

View file

@ -297,3 +297,4 @@ openInWSL=WSL'de Açık
launch=Fırlatma
sshTrustKeyHeader=Ana bilgisayar anahtarı bilinmiyor ve manuel ana bilgisayar anahtarı doğrulamasını etkinleştirdiniz.
sshTrustKeyTitle=Bilinmeyen ana bilgisayar anahtarı
vnc=VNC bağlantıları

View file

@ -297,3 +297,4 @@ openInWSL=在 WSL 中打开
launch=启动
sshTrustKeyHeader=主机密钥未知,您已启用手动主机密钥验证。
sshTrustKeyTitle=未知主机密钥
vnc=VNC 连接