Skip to content

Commit a89d9a0

Browse files
committed
Merge branch 'worktree-settings-profiles-footer'
2 parents 8f8b295 + 5069588 commit a89d9a0

32 files changed

Lines changed: 268 additions & 158 deletions

anki_miner/gui/controllers/profile_controller.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,9 @@ def bootstrap(self) -> None:
241241
profiles, active_id = self._reconcile()
242242
GUIConfigManager.ACTIVE_PROFILE_ID = active_id
243243
self._active_name = next((profile.name for profile in profiles if profile.id == active_id), None)
244-
# Stays hidden at fewer than two profiles, so an existing user who never
245-
# creates one sees no change at all.
244+
# Visible from the first profile on (HeaderWidget.set_profiles owns the
245+
# rule); a reconcile that could not enumerate the directory passes () and
246+
# the block stays out of the header.
246247
self._header().set_profiles(profiles, active_id)
247248

248249
def _reconcile(self) -> tuple[tuple[Profile, ...], str | None]:
-2 Bytes
Binary file not shown.

anki_miner/gui/resources/translations/anki_miner_de.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6441,6 +6441,14 @@ Ihre installierten Wörterbücher, Audio, Häufigkeitslisten und Ihr Design blei
64416441
<source>The known words list could not be opened.</source>
64426442
<translation>Die Liste bekannter Wörter konnte nicht geöffnet werden.</translation>
64436443
</message>
6444+
<message>
6445+
<source>Settings Profiles…</source>
6446+
<translation>Einstellungsprofile…</translation>
6447+
</message>
6448+
<message>
6449+
<source>Keep several complete settings snapshots and switch between them.</source>
6450+
<translation>Mehrere vollständige Einstellungs-Schnappschüsse behalten und zwischen ihnen wechseln.</translation>
6451+
</message>
64446452
</context><context>
64456453
<name>SetupWizard</name>
64466454
<message>
@@ -7655,14 +7663,6 @@ Ihre installierten Wörterbücher, Audio, Häufigkeitslisten und Ihr Design blei
76557663
<source>Restore the theme that was active when this tab was opened.</source>
76567664
<translation>Stellt das Design wieder her, das beim Öffnen dieses Tabs aktiv war.</translation>
76577665
</message>
7658-
<message>
7659-
<source>Manage Profiles…</source>
7660-
<translation>Profile verwalten…</translation>
7661-
</message>
7662-
<message>
7663-
<source>Keep several complete settings snapshots and switch between them.</source>
7664-
<translation>Mehrere vollständige Einstellungs-Schnappschüsse behalten und zwischen ihnen wechseln.</translation>
7665-
</message>
76667666
<message>
76677667
<source>button labels %1:1</source>
76687668
<translation>Beschriftungen der Schaltflächen %1:1</translation>

anki_miner/gui/resources/translations/anki_miner_en.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6386,6 +6386,14 @@ Your installed dictionaries, audio, frequency lists, and theme are kept.</source
63866386
<source>The known words list could not be opened.</source>
63876387
<translation type="unfinished" />
63886388
</message>
6389+
<message>
6390+
<source>Settings Profiles…</source>
6391+
<translation type="unfinished" />
6392+
</message>
6393+
<message>
6394+
<source>Keep several complete settings snapshots and switch between them.</source>
6395+
<translation type="unfinished" />
6396+
</message>
63896397
</context><context>
63906398
<name>SetupWizard</name>
63916399
<message>
@@ -7598,14 +7606,6 @@ Your installed dictionaries, audio, frequency lists, and theme are kept.</source
75987606
<source>Restore the theme that was active when this tab was opened.</source>
75997607
<translation type="unfinished" />
76007608
</message>
7601-
<message>
7602-
<source>Manage Profiles…</source>
7603-
<translation type="unfinished" />
7604-
</message>
7605-
<message>
7606-
<source>Keep several complete settings snapshots and switch between them.</source>
7607-
<translation type="unfinished" />
7608-
</message>
76097609
<message>
76107610
<source>button labels %1:1</source>
76117611
<translation type="unfinished" />
-4 Bytes
Binary file not shown.

anki_miner/gui/resources/translations/anki_miner_es.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6441,6 +6441,14 @@ Sus diccionarios instalados, audio, listas de frecuencia y tema se conservan.</t
64416441
<source>The known words list could not be opened.</source>
64426442
<translation>No se pudo abrir la lista de palabras conocidas.</translation>
64436443
</message>
6444+
<message>
6445+
<source>Settings Profiles…</source>
6446+
<translation>Perfiles de ajustes…</translation>
6447+
</message>
6448+
<message>
6449+
<source>Keep several complete settings snapshots and switch between them.</source>
6450+
<translation>Conserve varias instantáneas completas de ajustes y cambie entre ellas.</translation>
6451+
</message>
64446452
</context><context>
64456453
<name>SetupWizard</name>
64466454
<message>
@@ -7655,14 +7663,6 @@ Sus diccionarios instalados, audio, listas de frecuencia y tema se conservan.</t
76557663
<source>Restore the theme that was active when this tab was opened.</source>
76567664
<translation>Restaura el tema que estaba activo cuando se abrió esta pestaña.</translation>
76577665
</message>
7658-
<message>
7659-
<source>Manage Profiles…</source>
7660-
<translation>Gestionar perfiles…</translation>
7661-
</message>
7662-
<message>
7663-
<source>Keep several complete settings snapshots and switch between them.</source>
7664-
<translation>Conserve varias instantáneas completas de ajustes y cambie entre ellas.</translation>
7665-
</message>
76667666
<message>
76677667
<source>button labels %1:1</source>
76687668
<translation>etiquetas de botones %1:1</translation>
2 Bytes
Binary file not shown.

anki_miner/gui/resources/translations/anki_miner_fr.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6441,6 +6441,14 @@ Vos dictionnaires installés, l'audio, les listes de fréquence et le thème son
64416441
<source>The known words list could not be opened.</source>
64426442
<translation>La liste de mots connus n'a pas pu être ouverte.</translation>
64436443
</message>
6444+
<message>
6445+
<source>Settings Profiles…</source>
6446+
<translation>Profils de paramètres…</translation>
6447+
</message>
6448+
<message>
6449+
<source>Keep several complete settings snapshots and switch between them.</source>
6450+
<translation>Conservez plusieurs instantanés complets des paramètres et basculez entre eux.</translation>
6451+
</message>
64446452
</context><context>
64456453
<name>SetupWizard</name>
64466454
<message>
@@ -7655,14 +7663,6 @@ Vos dictionnaires installés, l'audio, les listes de fréquence et le thème son
76557663
<source>Restore the theme that was active when this tab was opened.</source>
76567664
<translation>Restaurer le thème qui était actif à l'ouverture de cet onglet.</translation>
76577665
</message>
7658-
<message>
7659-
<source>Manage Profiles…</source>
7660-
<translation>Gérer les profils…</translation>
7661-
</message>
7662-
<message>
7663-
<source>Keep several complete settings snapshots and switch between them.</source>
7664-
<translation>Conservez plusieurs instantanés complets des paramètres et basculez entre eux.</translation>
7665-
</message>
76667666
<message>
76677667
<source>button labels %1:1</source>
76687668
<translation>libellés des boutons %1:1</translation>
2 Bytes
Binary file not shown.

anki_miner/gui/resources/translations/anki_miner_id.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6429,6 +6429,14 @@ Kamus, audio, daftar frekuensi yang terpasang, dan tema Anda tetap dipertahankan
64296429
<source>The known words list could not be opened.</source>
64306430
<translation>Daftar kata yang dikenal tidak dapat dibuka.</translation>
64316431
</message>
6432+
<message>
6433+
<source>Settings Profiles…</source>
6434+
<translation>Profil Pengaturan…</translation>
6435+
</message>
6436+
<message>
6437+
<source>Keep several complete settings snapshots and switch between them.</source>
6438+
<translation>Simpan beberapa snapshot pengaturan lengkap dan beralihlah di antaranya.</translation>
6439+
</message>
64326440
</context><context>
64336441
<name>SetupWizard</name>
64346442
<message>
@@ -7641,14 +7649,6 @@ Kamus, audio, daftar frekuensi yang terpasang, dan tema Anda tetap dipertahankan
76417649
<source>Restore the theme that was active when this tab was opened.</source>
76427650
<translation>Pulihkan tema yang aktif saat tab ini dibuka.</translation>
76437651
</message>
7644-
<message>
7645-
<source>Manage Profiles…</source>
7646-
<translation>Kelola Profil…</translation>
7647-
</message>
7648-
<message>
7649-
<source>Keep several complete settings snapshots and switch between them.</source>
7650-
<translation>Simpan beberapa snapshot pengaturan lengkap dan beralihlah di antaranya.</translation>
7651-
</message>
76527652
<message>
76537653
<source>button labels %1:1</source>
76547654
<translation>label tombol %1:1</translation>

0 commit comments

Comments
 (0)