Small fixes [stage]

This commit is contained in:
crschnick
2025-01-14 13:44:27 +00:00
parent 3854f17352
commit 7afefa5403
22 changed files with 59 additions and 45 deletions
@@ -12,6 +12,7 @@ import io.xpipe.app.util.PlatformThread;
import io.xpipe.core.process.OsType;
import javafx.animation.Animation;
import javafx.application.Platform;
import javafx.collections.ListChangeListener;
import javafx.geometry.Pos;
import javafx.scene.image.ImageView;
@@ -107,7 +108,9 @@ public class AppMainWindowContentComp extends SimpleComp {
loaded.addListener((observable, oldValue, newValue) -> {
if (newValue != null) {
stage.requestFocus();
Platform.runLater(() -> {
stage.requestFocus();
});
}
});
@@ -192,18 +192,14 @@ public class StoreCategoryWrapper {
})
.toList());
var oldSize = children.getList().size();
children.setContent(StoreViewState.get().getCategories().getList().stream()
.filter(storeCategoryWrapper -> getCategory()
.getUuid()
.equals(storeCategoryWrapper.getCategory().getParentCategory()))
.toList());
var newSize = children.getList().size();
if (oldSize != newSize) {
Optional.ofNullable(getParent()).ifPresent(storeCategoryWrapper -> {
storeCategoryWrapper.update();
});
}
Optional.ofNullable(getParent()).ifPresent(storeCategoryWrapper -> {
storeCategoryWrapper.update();
});
}
private String translatedName(String original) {
@@ -12,7 +12,7 @@ import io.xpipe.core.util.XPipeInstallation;
import javafx.beans.property.SimpleObjectProperty;
public class WorkspaceCreationAlert {
public class WorkspaceCreationDialog {
public static void showAsync() {
LicenseProvider.get().getFeature("workspaces").throwIfUnsupported();
@@ -20,7 +20,7 @@ public class WorkspacesCategory extends AppPrefsCategory {
.sub(new OptionsBuilder()
.nameAndDescription("workspaceAdd")
.licenseRequirement("workspaces")
.addComp(new ButtonComp(AppI18n.observable("addWorkspace"), WorkspaceCreationAlert::showAsync)))
.addComp(new ButtonComp(AppI18n.observable("addWorkspace"), WorkspaceCreationDialog::showAsync)))
.disable(!LicenseProvider.get().getFeature("workspaces").isSupported())
.buildComp();
}
@@ -219,8 +219,8 @@ public class SimpleScriptStoreProvider implements EnabledParentStoreProvider, Da
public String summaryString(StoreEntryWrapper wrapper) {
SimpleScriptStore st = wrapper.getEntry().getStore().asNeeded();
var init = st.isInitScript() ? AppI18n.get("init") : null;
var file = st.isRunnableScript() ? AppI18n.get("file") : null;
var shell = st.isRunnableScript() ? AppI18n.get("shell") : null;
var file = st.isFileScript() ? AppI18n.get("file") : null;
var shell = st.isShellScript() ? AppI18n.get("shell") : null;
var runnable = st.isRunnableScript() ? AppI18n.get("hub") : null;
var type = st.getMinimumDialect() != null
? st.getMinimumDialect().getDisplayName() + " " + AppI18n.get("script")
@@ -15,5 +15,5 @@ $defaultCreds = [System.Net.CredentialCache]::DefaultCredentials;^
if ($defaultCreds) {^
$downloader.Credentials = $defaultCreds^
}^
$downloader.DownloadFile("https://github.com/chrisant996/clink/releases/download/v1.6.13/clink.1.6.13.eb61b2.zip", "$env:TEMP\clink.zip");^
$downloader.DownloadFile("https://github.com/chrisant996/clink/releases/download/v1.7.7/clink.1.7.7.521fa7.zip", "$env:TEMP\clink.zip");^
Expand-Archive -Force -LiteralPath "$env:TEMP\clink.zip" -DestinationPath "$env:TEMP\xpipe\scriptdata\clink"; | powershell -NoLogo >NUL
+3 -2
View File
@@ -739,6 +739,7 @@ active=Aktiv
inactive=Inaktiv
starting=Starter
remotePort=Ekstern port $PORT$
remotePortNumber=Fjernport $PORT$
userIdentity=Personlig identitet
globalIdentity=Global identitet
identityChoice=Foruddefineret identitet
@@ -753,7 +754,7 @@ keyNotSynced=Nøglefilen er ikke synkroniseret
usernameDescription=Brugernavnet til at logge ind med
identity.displayName=Identitet
identity.displayDescription=Opret en genanvendelig identitet til forbindelser
local=Personlig
local=Lokalt
shared=Global
userDescription=Brugernavn eller foruddefineret identitet til at logge ind som
identityPerUserDescription=Gør kun identiteten tilgængelig for den aktuelle vault-bruger
@@ -765,7 +766,7 @@ location=Placering
keyAuthentication=Nøglebaseret autentificering
keyAuthenticationDescription=Den autentificeringsmetode, der skal bruges, hvis nøglebaseret autentificering er påkrævet
locationDescription=Filstien til din tilsvarende private nøgle
keyFile=Identitetsfil
keyFile=Nøglefil
keyPassword=Passphrase
key=Nøgle
yubikeyPiv=Yubikey PIV
+3 -2
View File
@@ -740,6 +740,7 @@ inactive=Inaktiv
starting=Starten
#custom
remotePort=Entfernter Port
remotePortNumber=Entfernter Anschluss $PORT$
userIdentity=Persönliche Identität
globalIdentity=Globale Identität
identityChoice=Vordefinierte Identität
@@ -754,7 +755,7 @@ keyNotSynced=Schlüsseldatei wird nicht synchronisiert
usernameDescription=Der Benutzername, mit dem du dich anmeldest
identity.displayName=Identität
identity.displayDescription=Eine wiederverwendbare Identität für Verbindungen erstellen
local=Persönlich
local=Lokale
shared=Global
userDescription=Der Benutzername oder die vordefinierte Identität, mit der du dich anmeldest
identityPerUserDescription=Identität nur für den aktuellen Tresorbenutzer verfügbar machen
@@ -766,7 +767,7 @@ location=Standort
keyAuthentication=Schlüsselbasierte Authentifizierung
keyAuthenticationDescription=Die zu verwendende Authentifizierungsmethode, wenn eine schlüsselbasierte Authentifizierung erforderlich ist
locationDescription=Der Dateipfad deines entsprechenden privaten Schlüssels
keyFile=Identitätsdatei
keyFile=Schlüsseldatei
keyPassword=Passphrase
key=Schlüssel
yubikeyPiv=Yubikey PIV
+4 -3
View File
@@ -751,7 +751,8 @@ active=Active
#context: Not selected
inactive=Inactive
starting=Starting
remotePort=Remote port $PORT$
remotePort=Remote port
remotePortNumber=Remote port $PORT$
userIdentity=Personal identity
globalIdentity=Global identity
identityChoice=Predefined identity
@@ -766,7 +767,7 @@ keyNotSynced=Key file is not synced
usernameDescription=The username to log in as
identity.displayName=Identity
identity.displayDescription=Create a reusable identity for connections
local=Personal
local=Local
shared=Global
userDescription=The username or predefined identity to log in as
identityPerUserDescription=Make identity only available to current vault user
@@ -778,7 +779,7 @@ location=Location
keyAuthentication=Key-based authentication
keyAuthenticationDescription=The authentication method to use if key-based authentication is required
locationDescription=The file path of your corresponding private key
keyFile=Identity file
keyFile=Key file
keyPassword=Passphrase
key=Key
yubikeyPiv=Yubikey PIV
+3 -2
View File
@@ -716,6 +716,7 @@ active=Activo
inactive=Inactivo
starting=Iniciar
remotePort=Puerto remoto $PORT$
remotePortNumber=Puerto remoto $PORT$
userIdentity=Identidad personal
globalIdentity=Identidad global
identityChoice=Identidad predefinida
@@ -730,7 +731,7 @@ keyNotSynced=El archivo clave no está sincronizado
usernameDescription=El nombre de usuario con el que iniciar sesión
identity.displayName=Identidad
identity.displayDescription=Crear una identidad reutilizable para las conexiones
local=Personal
local=Local
shared=Global
userDescription=El nombre de usuario o identidad predefinida con la que iniciar sesión
identityPerUserDescription=Hacer que la identidad sólo esté disponible para el usuario actual de la bóveda
@@ -742,7 +743,7 @@ location=Localización
keyAuthentication=Autenticación basada en claves
keyAuthenticationDescription=El método de autenticación a utilizar si se requiere una autenticación basada en claves
locationDescription=La ruta del archivo de tu clave privada correspondiente
keyFile=Fichero de identidad
keyFile=Archivo clave
keyPassword=Frase de contraseña
key=Clave
yubikeyPiv=Yubikey PIV
+3 -2
View File
@@ -737,6 +737,7 @@ active=Actif
inactive=Inactif
starting=Démarrer
remotePort=Port distant $PORT$
remotePortNumber=Port distant $PORT$
userIdentity=Identité personnelle
globalIdentity=Identité globale
identityChoice=Identité prédéfinie
@@ -751,7 +752,7 @@ keyNotSynced=Le fichier clé n'est pas synchronisé
usernameDescription=Nom d'utilisateur pour se connecter
identity.displayName=Identité
identity.displayDescription=Créer une identité réutilisable pour les connexions
local=Personnel
local=Local
shared=Global
userDescription=Le nom d'utilisateur ou l'identité prédéfinie pour se connecter
identityPerUserDescription=Rendre l'identité uniquement accessible à l'utilisateur actuel du coffre-fort
@@ -763,7 +764,7 @@ location=Lieu de travail
keyAuthentication=Authentification par clé
keyAuthenticationDescription=La méthode d'authentification à utiliser si l'authentification par clé est requise
locationDescription=Le chemin d'accès au fichier de ta clé privée correspondante
keyFile=Fichier d'identité
keyFile=Fichier clé
keyPassword=Phrase de passe
key=Clé
yubikeyPiv=Yubikey PIV
+3 -2
View File
@@ -716,6 +716,7 @@ active=Aktif
inactive=Tidak aktif
starting=Mulai
remotePort=Port jarak jauh $PORT$
remotePortNumber=Port jarak jauh $PORT$
userIdentity=Identitas pribadi
globalIdentity=Identitas global
identityChoice=Identitas yang telah ditentukan sebelumnya
@@ -730,7 +731,7 @@ keyNotSynced=File kunci tidak disinkronkan
usernameDescription=Nama pengguna untuk masuk sebagai
identity.displayName=Identitas
identity.displayDescription=Membuat identitas yang dapat digunakan kembali untuk koneksi
local=Pribadi
local=Lokal
shared=Global
userDescription=Nama pengguna atau identitas yang telah ditetapkan sebelumnya untuk masuk sebagai
identityPerUserDescription=Membuat identitas hanya tersedia untuk pengguna brankas saat ini
@@ -742,7 +743,7 @@ location=Lokasi
keyAuthentication=Autentikasi berbasis kunci
keyAuthenticationDescription=Metode autentikasi yang digunakan jika autentikasi berbasis kunci diperlukan
locationDescription=Jalur file dari kunci pribadi Anda yang sesuai
keyFile=File identitas
keyFile=File kunci
keyPassword=Frasa sandi
key=Kunci
yubikeyPiv=Yubikey PIV
+3 -2
View File
@@ -716,6 +716,7 @@ active=Attivo
inactive=Non attivo
starting=Iniziare
remotePort=Porta remota $PORT$
remotePortNumber=Porta remota $PORT$
userIdentity=Identità personale
globalIdentity=Identità globale
identityChoice=Identità predefinita
@@ -730,7 +731,7 @@ keyNotSynced=Il file chiave non è sincronizzato
usernameDescription=Il nome utente con cui accedere
identity.displayName=Identità
identity.displayDescription=Creare un'identità riutilizzabile per le connessioni
local=Personale
local=Locale
shared=Globale
userDescription=Il nome utente o l'identità predefinita con cui effettuare il login
identityPerUserDescription=Rendere l'identità disponibile solo all'utente corrente del vault
@@ -742,7 +743,7 @@ location=Posizione
keyAuthentication=Autenticazione basata su chiavi
keyAuthenticationDescription=Il metodo di autenticazione da utilizzare se è richiesta l'autenticazione a chiave
locationDescription=Il percorso del file della chiave privata corrispondente
keyFile=File di identità
keyFile=File chiave
keyPassword=Passphrase
key=Chiave di lettura
yubikeyPiv=Yubikey PIV
+3 -2
View File
@@ -716,6 +716,7 @@ active=アクティブ
inactive=非アクティブ
starting=開始
remotePort=リモートポート$PORT$
remotePortNumber=リモートポート$PORT$
userIdentity=個人ID
globalIdentity=グローバルID
identityChoice=定義済みID
@@ -730,7 +731,7 @@ keyNotSynced=キーファイルが同期されていない
usernameDescription=ログインするユーザー名
identity.displayName=アイデンティティ
identity.displayDescription=接続用の再利用可能なIDを作成する
local=パーソナル
local=ローカル
shared=グローバル
userDescription=ログインするためのユーザー名または事前定義されたID
identityPerUserDescription=IDを現在の保管庫ユーザーにのみ公開する
@@ -742,7 +743,7 @@ location=場所
keyAuthentication=鍵ベースの認証
keyAuthenticationDescription=鍵ベースの認証が必要な場合に使用する認証方法。
locationDescription=対応する秘密鍵のファイルパス
keyFile=IDファイル
keyFile=キーファイル
keyPassword=パスフレーズ
key=キー
yubikeyPiv=ユビキーPIV
+3 -2
View File
@@ -716,6 +716,7 @@ active=Actief
inactive=Inactief
starting=Beginnen met
remotePort=Externe poort $PORT$
remotePortNumber=Externe poort $PORT$
userIdentity=Persoonlijke identiteit
globalIdentity=Globale identiteit
identityChoice=Vooraf gedefinieerde identiteit
@@ -730,7 +731,7 @@ keyNotSynced=Sleutelbestand is niet gesynchroniseerd
usernameDescription=De gebruikersnaam om als in te loggen
identity.displayName=Identiteit
identity.displayDescription=Een herbruikbare identiteit maken voor verbindingen
local=Persoonlijk
local=Lokaal
shared=Wereldwijde
userDescription=De gebruikersnaam of vooraf gedefinieerde identiteit om als in te loggen
identityPerUserDescription=Identiteit alleen beschikbaar maken voor huidige kluisgebruiker
@@ -742,7 +743,7 @@ location=Locatie
keyAuthentication=Verificatie op basis van sleutels
keyAuthenticationDescription=De te gebruiken verificatiemethode als verificatie op basis van sleutels vereist is
locationDescription=Het bestandspad van je corresponderende privésleutel
keyFile=Identiteitsbestand
keyFile=Sleutelbestand
keyPassword=Passphrase
key=Sleutel
yubikeyPiv=Yubikey PIV
+3 -2
View File
@@ -716,6 +716,7 @@ active=Aktywny
inactive=Nieaktywny
starting=Uruchamianie
remotePort=Port zdalny $PORT$
remotePortNumber=Port zdalny $PORT$
userIdentity=Tożsamość osobista
globalIdentity=Tożsamość globalna
identityChoice=Predefiniowana tożsamość
@@ -730,7 +731,7 @@ keyNotSynced=Plik klucza nie jest zsynchronizowany
usernameDescription=Nazwa użytkownika do zalogowania się
identity.displayName=Tożsamość
identity.displayDescription=Utwórz tożsamość wielokrotnego użytku dla połączeń
local=Osobisty
local=Lokalny
shared=Globalny
userDescription=Nazwa użytkownika lub predefiniowana tożsamość do zalogowania się jako
identityPerUserDescription=Udostępnij tożsamość tylko bieżącemu użytkownikowi skarbca
@@ -742,7 +743,7 @@ location=Lokalizacja
keyAuthentication=Uwierzytelnianie oparte na kluczach
keyAuthenticationDescription=Metoda uwierzytelniania używana, jeśli wymagane jest uwierzytelnianie oparte na kluczach
locationDescription=Ścieżka pliku odpowiadającego Ci klucza prywatnego
keyFile=Plik tożsamości
keyFile=Plik klucza
keyPassword=Hasło
key=Klucz
yubikeyPiv=Yubikey PIV
+3 -2
View File
@@ -716,6 +716,7 @@ active=Ativo
inactive=Inativo
starting=Iniciar
remotePort=Porta remota $PORT$
remotePortNumber=Porta remota $PORT$
userIdentity=Identidade pessoal
globalIdentity=Identidade global
identityChoice=Identidade predefinida
@@ -730,7 +731,7 @@ keyNotSynced=O ficheiro chave não está sincronizado
usernameDescription=O nome de utilizador para iniciar sessão
identity.displayName=Identifica-te
identity.displayDescription=Cria uma identidade reutilizável para ligações
local=Pessoais
local=Local
shared=Global
userDescription=O nome de utilizador ou identidade predefinida para iniciar sessão como
identityPerUserDescription=Tornar a identidade disponível apenas para o utilizador atual da abóbada
@@ -742,7 +743,7 @@ location=Localização
keyAuthentication=Autenticação baseada em chaves
keyAuthenticationDescription=O método de autenticação a utilizar se for necessária uma autenticação baseada em chaves
locationDescription=O caminho do ficheiro da tua chave privada correspondente
keyFile=Ficheiro de identidade
keyFile=Ficheiro de chaves
keyPassword=Palavra-passe
key=Chave
yubikeyPiv=Yubikey PIV
+3 -2
View File
@@ -716,6 +716,7 @@ active=Активный
inactive=Неактивный
starting=Начало
remotePort=Удаленный порт $PORT$
remotePortNumber=Удаленный порт $PORT$
userIdentity=Личная идентификация
globalIdentity=Глобальная идентичность
identityChoice=Предопределенная идентичность
@@ -730,7 +731,7 @@ keyNotSynced=Ключевой файл не синхронизируется
usernameDescription=Имя пользователя, под которым нужно войти в систему
identity.displayName=Идентификация
identity.displayDescription=Создайте многоразовую идентификацию для соединений
local=Персональный
local=Локальный
shared=Global
userDescription=Имя пользователя или предопределенный идентификатор для входа в систему
identityPerUserDescription=Сделать идентификацию доступной только для текущего пользователя хранилища
@@ -742,7 +743,7 @@ location=Расположение
keyAuthentication=Аутентификация на основе ключей
keyAuthenticationDescription=Метод аутентификации, который нужно использовать, если требуется аутентификация на основе ключей
locationDescription=Путь к файлу, в котором находится твой соответствующий закрытый ключ
keyFile=Файл идентификации
keyFile=Ключевой файл
keyPassword=Пассфраза
key=Ключ
yubikeyPiv=Yubikey PIV
+3 -2
View File
@@ -716,6 +716,7 @@ active=Aktiva
inactive=Inaktiv
starting=Startar
remotePort=Fjärrport $PORT$
remotePortNumber=Fjärrport $PORT$
userIdentity=Personlig identitet
globalIdentity=Global identitet
identityChoice=Fördefinierad identitet
@@ -730,7 +731,7 @@ keyNotSynced=Nyckelfilen är inte synkroniserad
usernameDescription=Användarnamn att logga in som
identity.displayName=Identitet
identity.displayDescription=Skapa en återanvändbar identitet för anslutningar
local=Personlig
local=Lokalt
shared=Global
userDescription=Användarnamnet eller den fördefinierade identiteten att logga in som
identityPerUserDescription=Gör identiteten tillgänglig endast för aktuell valvanvändare
@@ -742,7 +743,7 @@ location=Plats
keyAuthentication=Nyckelbaserad autentisering
keyAuthenticationDescription=Den autentiseringsmetod som ska användas om nyckelbaserad autentisering krävs
locationDescription=Filvägen till din motsvarande privata nyckel
keyFile=Identitetsfil
keyFile=Nyckel-fil
keyPassword=Lösenfras
key=Nyckel
yubikeyPiv=Yubikey PIV
+3 -2
View File
@@ -716,6 +716,7 @@ active=Aktif
inactive=Aktif değil
starting=Başlangıç
remotePort=Uzak bağlantı noktası $PORT$
remotePortNumber=Uzak bağlantı noktası $PORT$
userIdentity=Kişisel kimlik
globalIdentity=Küresel kimlik
identityChoice=Önceden tanımlanmış kimlik
@@ -730,7 +731,7 @@ keyNotSynced=Anahtar dosyası senkronize edilmedi
usernameDescription=Oturum açılacak kullanıcı adı
identity.displayName=Kimlik
identity.displayDescription=Bağlantılar için yeniden kullanılabilir bir kimlik oluşturun
local=Kişisel
local=Yerel
shared=Küresel
userDescription=Oturum açmak için kullanıcı adı veya önceden tanımlanmış kimlik
identityPerUserDescription=Kimliği yalnızca mevcut kasa kullanıcısı için kullanılabilir hale getirin
@@ -742,7 +743,7 @@ location=Konum
keyAuthentication=Anahtar tabanlı kimlik doğrulama
keyAuthenticationDescription=Anahtar tabanlı kimlik doğrulama gerekiyorsa kullanılacak kimlik doğrulama yöntemi
locationDescription=İlgili özel anahtarınızın dosya yolu
keyFile=Kimlik dosyası
keyFile=Anahtar dosyası
keyPassword=Parola
key=Anahtar
yubikeyPiv=Yubikey PIV
+3 -2
View File
@@ -716,6 +716,7 @@ active=活动
inactive=非活动
starting=开始
remotePort=远程端口$PORT$
remotePortNumber=远程端口$PORT$
userIdentity=个人身份
globalIdentity=全球身份
identityChoice=预定义身份
@@ -730,7 +731,7 @@ keyNotSynced=密钥文件未同步
usernameDescription=登录的用户名
identity.displayName=身份
identity.displayDescription=为连接创建可重复使用的标识
local=个人
local=本地
shared=全球
userDescription=登录时使用的用户名或预定义身份
identityPerUserDescription=仅向当前保险库用户提供身份信息
@@ -742,7 +743,7 @@ location=地点
keyAuthentication=基于密钥的身份验证
keyAuthenticationDescription=如果需要基于密钥的身份验证,应使用的身份验证方法
locationDescription=相应私钥的文件路径
keyFile=身份文件
keyFile=密钥文件
keyPassword=密码
key=关键字
yubikeyPiv=Yubikey PIV
+1 -1
View File
@@ -1 +1 @@
14.0-76
14.0-77