Philipp Hörist pushed to branch serverinfo at gajim / gajim


Commits:
4fa6531a by Philipp Hörist at 2025-09-03T22:54:10+02:00
fixes

- - - - -


4 changed files:

- gajim/data/gui/preferences/connection-details.ui
- gajim/gtk/preference/account.py
- gajim/gtk/preference/dialog.py
- gajim/gtk/preference/server_info.py


Changes:

=====================================
gajim/data/gui/preferences/connection-details.ui
=====================================
@@ -2,7 +2,7 @@
 <interface>
   <requires lib="gtk" version="4.0"/>
   <template class="AccountConnectionDetailsGroup" parent="AdwPreferencesGroup">
-    <property name="title" translatable="yes">Connection Details</property>
+    <property name="title" translatable="yes">Details</property>
     <child type="header-suffix">
       <object class="GtkButton" id="_clipboard_button">
         <property name="focusable">1</property>


=====================================
gajim/gtk/preference/account.py
=====================================
@@ -415,7 +415,6 @@ def __init__(self, account: str) -> None:
                 SettingKind.SUBPAGE,
                 _("Details"),
                 SettingType.DIALOG,
-                desc=_("Connection Details"),
                 props={"subpage": f"{self.account}-connection-details"},
             ),
             Setting(
@@ -617,7 +616,9 @@ def __init__(self, account: str) -> None:
 
 class LoginGroup(GajimPreferencesGroup):
     def __init__(self, account: str) -> None:
-        GajimPreferencesGroup.__init__(self, key="login", account=account)
+        GajimPreferencesGroup.__init__(
+            self, key="login", account=account, title=_("Login")
+        )
 
         settings = [
             Setting(
@@ -668,7 +669,9 @@ def _on_save_password(self, state: bool, _data: Any) -> 
None:
 
 class HostnameGroup(GajimPreferencesGroup):
     def __init__(self, account: str) -> None:
-        GajimPreferencesGroup.__init__(self, key="hostname", account=account)
+        GajimPreferencesGroup.__init__(
+            self, key="hostname", account=account, title=_("Hostname")
+        )
 
         type_values = ["START TLS", "DIRECT TLS", "PLAIN"]
 
@@ -766,7 +769,7 @@ def __init__(self, account: str) -> None:
         GajimPreferencePage.__init__(
             self,
             key=f"{account}-connection-details",
-            title=_("Connection Details - %(account)s") % {"account": account},
+            title=_("Details - %(account)s") % {"account": account},
             groups=[],
         )
 


=====================================
gajim/gtk/preference/dialog.py
=====================================
@@ -166,8 +166,8 @@ def _add_account(self, account: str) -> None:
             AccountPrivacyPage(account),
             AccountOmemoPage(account),
             AccountConnectionPage(account),
-            AccountAdvancedPage(account),
             AccountProviderPage(account),
+            AccountAdvancedPage(account),
             # Subpages
             LoginPage(account),
             HostnamePage(account),


=====================================
gajim/gtk/preference/server_info.py
=====================================
@@ -136,7 +136,7 @@ def __init__(self, account: str) -> None:
             self,
             key=f"{account}-provider-contacts",
             account=account,
-            title=_("Contact"),
+            title=_("Contacts"),
         )
 
         client = app.get_client(account)



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/4fa6531ae280da3a71c0c02b17cb73278ec169f5

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/4fa6531ae280da3a71c0c02b17cb73278ec169f5
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to