Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
8a1106a7 by wurstsalat at 2024-09-11T22:25:01+02:00
imprv: Unify usage of 'synchronise'/'synchronize' strings

- - - - -


5 changed files:

- gajim/data/gui/synchronize_accounts.ui
- gajim/gtk/accounts.py
- gajim/gtk/history_sync.py
- gajim/gtk/menus.py
- gajim/gtk/synchronize_accounts.py


Changes:

=====================================
gajim/data/gui/synchronize_accounts.ui
=====================================
@@ -16,7 +16,7 @@
           <object class="GtkLabel">
             <property name="visible">True</property>
             <property name="can-focus">False</property>
-            <property name="label" translatable="yes">Select the account with 
which you want to synchronise</property>
+            <property name="label" translatable="yes">Select the account with 
which you want to synchronize</property>
           </object>
           <packing>
             <property name="expand">False</property>
@@ -112,7 +112,7 @@
           <object class="GtkLabel">
             <property name="visible">True</property>
             <property name="can-focus">False</property>
-            <property name="label" translatable="yes">Select the contacts you 
want to synchronise</property>
+            <property name="label" translatable="yes">Select the contacts you 
want to synchronize</property>
           </object>
           <packing>
             <property name="expand">False</property>


=====================================
gajim/gtk/accounts.py
=====================================
@@ -713,7 +713,7 @@ def __init__(self, account: str) -> None:
                     _('Global Status'),
                     SettingType.ACCOUNT_CONFIG,
                     'sync_with_global_status',
-                    desc=_('Synchronise the status of all accounts')),
+                    desc=_('Synchronize the status of all accounts')),
 
             Setting(SettingKind.SWITCH,
                     _('Remember Last Status'),
@@ -1052,11 +1052,10 @@ def __init__(self, account: str) -> None:
                     desc=_('Show labels describing confidentiality of '
                            'messages, if the server supports XEP-0258')),
             Setting(SettingKind.SWITCH,
-                    _('Synchronise joined group chats'),
+                    _('Synchronize joined group chats'),
                     SettingType.ACCOUNT_CONFIG,
                     'autojoin_sync',
-                    desc=_(
-                        'Synchronize joined group chats with other devices.')),
+                    desc=_('Synchronize joined group chats with other 
devices.')),
         ]
         GenericSettingPage.__init__(self, account, settings)
 


=====================================
gajim/gtk/history_sync.py
=====================================
@@ -90,7 +90,7 @@ def __init__(self, account: str) -> None:
 
         if mam_start == ArchiveState.ALL:
             success_page.set_text(
-                _('Gajim is fully synchronised with the archive.'))
+                _('Gajim is fully synchronized with the archive.'))
             self.show_page('success')
 
         self.show_all()
@@ -210,7 +210,7 @@ def __init__(self,
         heading.set_text(_('Synchronize Chat History'))
 
         label = Gtk.Label(
-            label=_('How far back should the chat history be synchronised?'))
+            label=_('How far back should the chat history be synchronized?'))
         label.set_halign(Gtk.Align.CENTER)
         label.set_line_wrap(True)
         label.set_max_width_chars(40)


=====================================
gajim/gtk/menus.py
=====================================
@@ -190,7 +190,7 @@ def get_account_menu(account: str) -> GajimMenu:
         (_('Archiving Preferences'), f'app.{account}-archive', account),
         (_('Blocking List'), f'app.{account}-blocking', account),
         (_('PEP Configuration'), f'app.{account}-pep-config', account),
-        (_('Synchronise History…'), f'app.{account}-sync-history', account),
+        (_('Synchronize History…'), f'app.{account}-sync-history', account),
     ]
 
     if app.settings.get('developer_modus'):


=====================================
gajim/gtk/synchronize_accounts.py
=====================================
@@ -66,7 +66,7 @@ def __init__(self, account: str) -> None:
         renderer1.set_property('activatable', True)
         renderer1.connect('toggled', self._on_sync_toggled)
         self._ui.contacts_treeview.insert_column_with_attributes(
-            -1, _('Synchronise'), renderer1, active=0)
+            -1, _('Synchronize'), renderer1, active=0)
         renderer2 = Gtk.CellRendererText()
         self._ui.contacts_treeview.insert_column_with_attributes(
             -1, _('Name'), renderer2, text=1)



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/8a1106a7289d5f8fe325a338e6131ae8db101822

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


_______________________________________________
Commits mailing list -- commits@gajim.org
To unsubscribe send an email to commits-le...@gajim.org

Reply via email to