Small fixes for translations

This commit is contained in:
crschnick
2025-02-14 21:52:18 +00:00
parent d8155769d9
commit 5896ea0288
22 changed files with 28 additions and 9 deletions
@@ -81,7 +81,7 @@ public class ContextualFileReferenceChoiceComp extends Comp<CompStructure<HBox>>
var gitShareButton = new ButtonComp(null, new FontIcon("mdi2g-git"), () -> {
if (!AppPrefs.get().enableGitStorage().get()) {
AppLayoutModel.get().selectSettings();
AppPrefs.get().selectCategory("sync");
AppPrefs.get().selectCategory("vaultSync");
return;
}
@@ -86,7 +86,7 @@ public class StoreIdentitiesIntroComp extends SimpleComp {
var syncButton = new Button(null, new FontIcon("mdi2p-play-circle"));
syncButton.textProperty().bind(AppI18n.observable("setupSync"));
syncButton.setOnAction(event -> {
AppPrefs.get().selectCategory("sync");
AppPrefs.get().selectCategory("vaultSync");
event.consume();
});
@@ -78,7 +78,7 @@ public class StoreIntroComp extends SimpleComp {
var importButton = new Button(null, new FontIcon("mdi2g-git"));
importButton.textProperty().bind(AppI18n.observable("importConnections"));
importButton.setOnAction(event -> AppPrefs.get().selectCategory("sync"));
importButton.setOnAction(event -> AppPrefs.get().selectCategory("vaultSync"));
var importPane = new StackPane(importButton);
importPane.setAlignment(Pos.CENTER);
@@ -45,13 +45,17 @@ public class ConnectionFileSystem implements FileSystem {
var d = shellControl.getShellDialect().getDumbMode();
if (!d.supportsAnyPossibleInteraction()) {
shellControl.close();
d.throwIfUnsupported();
try {
d.throwIfUnsupported();
} catch (Exception e) {
throw ErrorEvent.expected(e);
}
}
if (!shellControl.getTtyState().isPreservesOutput()
|| !shellControl.getTtyState().isSupportsInput()) {
throw new UnsupportedOperationException(
"Shell has a PTY allocated and as a result does not support file system operations. For more information see " + Hyperlinks.DOCS_TTY);
throw ErrorEvent.expected(new UnsupportedOperationException(
"Shell has a PTY allocated and as a result does not support file system operations. For more information see " + Hyperlinks.DOCS_TTY));
}
shellControl.checkLicenseOrThrow();
@@ -249,8 +249,8 @@ public class AppPrefs {
new AboutCategory(),
new SystemCategory(),
new AppearanceCategory(),
new SyncCategory(),
new VaultCategory(),
new SyncCategory(),
new TerminalCategory(),
new EditorCategory(),
new RdpCategory(),
@@ -24,7 +24,7 @@ public class SyncCategory extends AppPrefsCategory {
@Override
protected String getId() {
return "sync";
return "vaultSync";
}
private static void showHelpAlert() {
@@ -74,7 +74,7 @@ public class VaultCategory extends AppPrefsCategory {
.hide(new SimpleBooleanProperty(uh.getUserCount() > 1))
.nameAndDescription("syncTeamVaults")
.addComp(new ButtonComp(AppI18n.observable("enableGitSync"), () -> AppPrefs.get()
.selectCategory("sync")))
.selectCategory("vaultSync")))
.licenseRequirement("team")
.disable(!LicenseProvider.get().getFeature("team").isSupported())
.hide(new SimpleBooleanProperty(
+1
View File
@@ -782,6 +782,7 @@ sshAgent=SSH-agent
none=Intet
otherExternal=Anden ekstern kilde
sync=Synkronisering
vaultSync=Vault-synkronisering
customUsername=Brugernavn
customUsernameDescription=Den valgfrie alternative bruger til at logge ind som
customUsernamePassword=Adgangskode
+1
View File
@@ -787,6 +787,7 @@ sshAgent=SSH-Agent
none=Nichts
otherExternal=Andere externe Quelle
sync=Sync
vaultSync=Tresor-Synchronisation
customUsername=Benutzername
customUsernameDescription=Der optionale alternative Benutzer, als der man sich anmeldet
customUsernamePassword=Passwort
+1
View File
@@ -797,6 +797,7 @@ sshAgent=SSH-Agent
none=None
otherExternal=Other external source
sync=Sync
vaultSync=Vault sync
customUsername=Username
customUsernameDescription=The optional alternate user to log in as
customUsernamePassword=Password
+1
View File
@@ -760,6 +760,7 @@ sshAgent=Agente SSH
none=Ninguno
otherExternal=Otra fuente externa
sync=Sincroniza
vaultSync=Sincronización de bóvedas
customUsername=Nombre de usuario
customUsernameDescription=El usuario alternativo opcional con el que iniciar sesión
customUsernamePassword=Contraseña
+1
View File
@@ -781,6 +781,7 @@ sshAgent=Agent SSH
none=Aucun
otherExternal=Autre source externe
sync=Sync
vaultSync=Synchronisation du coffre-fort
customUsername=Nom d'utilisateur
customUsernameDescription=L'autre utilisateur facultatif pour se connecter en tant que
customUsernamePassword=Mot de passe
+1
View File
@@ -760,6 +760,7 @@ sshAgent=Agen SSH
none=Tidak ada
otherExternal=Sumber eksternal lainnya
sync=Sinkronisasi
vaultSync=Sinkronisasi lemari besi
customUsername=Nama pengguna
customUsernameDescription=Pengguna alternatif opsional untuk masuk sebagai
customUsernamePassword=Kata sandi
+1
View File
@@ -760,6 +760,7 @@ sshAgent=Agente SSH
none=Non c'è niente
otherExternal=Altra fonte esterna
sync=Sincronizzazione
vaultSync=Sincronizzazione del vault
customUsername=Nome utente
customUsernameDescription=L'utente alternativo opzionale come cui accedere
customUsernamePassword=Password
+1
View File
@@ -760,6 +760,7 @@ sshAgent=SSHエージェント
none=なし
otherExternal=その他の外部ソース
sync=同期
vaultSync=ボールト同期
customUsername=ユーザー名
customUsernameDescription=ログインする代替ユーザー
customUsernamePassword=パスワード
+1
View File
@@ -760,6 +760,7 @@ sshAgent=SSH-agent
none=Geen
otherExternal=Andere externe bron
sync=Synchroniseren
vaultSync=Kluis sync
customUsername=Gebruikersnaam
customUsernameDescription=De optionele alternatieve gebruiker om als in te loggen
customUsernamePassword=Wachtwoord
+1
View File
@@ -760,6 +760,7 @@ sshAgent=SSH-Agent
none=Brak
otherExternal=Inne źródło zewnętrzne
sync=Synchronizacja
vaultSync=Synchronizacja skarbca
customUsername=Nazwa użytkownika
customUsernameDescription=Opcjonalny alternatywny użytkownik do zalogowania się jako
customUsernamePassword=Hasło
+1
View File
@@ -760,6 +760,7 @@ sshAgent=Agente SSH
none=Nenhum
otherExternal=Outra fonte externa
sync=Sincroniza
vaultSync=Sincronização de cofre
customUsername=Nome de utilizador
customUsernameDescription=O utilizador alternativo opcional para iniciar sessão como
customUsernamePassword=Palavra-passe
+1
View File
@@ -760,6 +760,7 @@ sshAgent=SSH-агент
none=None
otherExternal=Другой внешний источник
sync=Синхронизация
vaultSync=Синхронизация хранилища
customUsername=Имя пользователя
customUsernameDescription=Дополнительный альтернативный пользователь, под которым можно войти в систему
customUsernamePassword=Пароль
+1
View File
@@ -760,6 +760,7 @@ sshAgent=SSH-Agent
none=Inget
otherExternal=Annan extern källa
sync=Synka
vaultSync=Synkronisering av valv
customUsername=Användarnamn
customUsernameDescription=Den valfria alternativa användaren att logga in som
customUsernamePassword=Lösenord
+1
View File
@@ -760,6 +760,7 @@ sshAgent=SSH-Agent
none=Hiçbiri
otherExternal=Diğer dış kaynaklar
sync=Senkronizasyon
vaultSync=Kasa senkronizasyonu
customUsername=Kullanıcı Adı
customUsernameDescription=Oturum açmak için isteğe bağlı alternatif kullanıcı
customUsernamePassword=Şifre
+1
View File
@@ -762,6 +762,7 @@ sshAgent=SSH 代理
none=
otherExternal=其他外部来源
sync=同步
vaultSync=保险库同步
customUsername=用户名
customUsernameDescription=用于登录的可选备用用户
customUsernamePassword=密码