Skip to content

Commit

Permalink
AdwPreferencesPage & Translation
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLauinger77 committed Feb 14, 2025
1 parent 8eb5d57 commit 4d8e5e3
Show file tree
Hide file tree
Showing 6 changed files with 884 additions and 301 deletions.
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ [email protected]/ui/%-gtk4.ui: [email protected]/ui.in/%-
gtk4-builder-tool simplify --3to4 $< > $@

[email protected]: schemas ui ./[email protected]/*
gnome-extensions pack --force --extra-source=./lib/ --extra-source=./ui/ ./[email protected]/
gnome-extensions pack --podir=../po/ --force --extra-source=./lib/ --extra-source=./ui/ ./[email protected]/

[email protected]/schemas/gschemas.compiled: [email protected]/schemas/*.gschema.xml
glib-compile-schemas ./[email protected]/schemas/
Expand Down Expand Up @@ -44,3 +44,11 @@ start: install
start-prefs: install
gnome-extensions prefs [email protected]
.PHONY: start-prefs

translate:
xgettext --from-code=UTF-8 --output=po/smartautomove.pot smart-auto-move\@khimaros.com/*.js smart-auto-move\@khimaros.com/ui/*.ui smart-auto-move\@khimaros.com/schemas/*.xml
for pofile in po/*.po; do \
echo "Updating: $$pofile"; \
msgmerge -U "$$pofile" "po/smartautomove.pot" --backup=off; \
done
.PHONY: translate
221 changes: 221 additions & 0 deletions po/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,221 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-02-14 19:45+0100\n"
"PO-Revision-Date: 2025-02-13 18:59+0100\n"
"Last-Translator: Christian Lauinger <[email protected]>\n"
"Language-Team: \n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.5\n"

#: [email protected]/prefs.js:165
msgid "ANY"
msgstr "BELIEBIG"

#: [email protected]/prefs.js:194
#: [email protected]/ui/prefs-adw.ui:25
#: [email protected]/ui/prefs-gtk4.ui:127
#: [email protected]/ui/templates-gtk4.ui:44
msgid "IGNORE"
msgstr "IGNORIEREN"

#: [email protected]/prefs.js:195
#: [email protected]/ui/prefs-adw.ui:26
#: [email protected]/ui/prefs-gtk4.ui:128
#: [email protected]/ui/templates-gtk4.ui:45
msgid "RESTORE"
msgstr "WIEDERHERSTELLEN"

#: [email protected]/prefs.js:196
#: [email protected]/ui/templates-gtk4.ui:46
msgid "DEFAULT"
msgstr "STANDARD"

#: [email protected]/prefs.js:212
#: [email protected]/prefs.js:270
msgid "Delete"
msgstr "Löschen"

#: [email protected]/prefs.js:268
msgid "Not occupied"
msgstr "Nicht besetzt"

#: [email protected]/prefs.js:284
msgid "OVERRIDE"
msgstr "ÜBERSCHREIBEN"

#: [email protected]/prefs.js:302
msgid "OVERRIDE (ANY)"
msgstr "ÜBERSCHREIBEN (BELIEBIG)"

#: [email protected]/ui/prefs-adw.ui:5
msgid "General"
msgstr "Allgemein"

#: [email protected]/ui/prefs-adw.ui:9
msgid "Settings"
msgstr "Einstellungen"

#: [email protected]/ui/prefs-adw.ui:12
#: [email protected]/schemas/org.gnome.shell.extensions.smart-auto-move.gschema.xml:14
msgid "Debug Logging"
msgstr "Debug-Logging"

#: [email protected]/ui/prefs-adw.ui:13
#: [email protected]/ui/prefs-adw.ui:14
#: [email protected]/schemas/org.gnome.shell.extensions.smart-auto-move.gschema.xml:15
msgid "Write detailed logs about extension behavior."
msgstr "Detaillierte Protokolle über das Verhalten der Erweiterung schreiben."

#: [email protected]/ui/prefs-adw.ui:19
msgid "Default Synchronization Mode"
msgstr "Standard-Synchronisationsmodus"

#: [email protected]/ui/prefs-adw.ui:20
#: [email protected]/ui/prefs-adw.ui:21
#: [email protected]/schemas/org.gnome.shell.extensions.smart-auto-move.gschema.xml:40
msgid "Default mode when synchronizing windows."
msgstr "Standardmodus beim Synchronisieren von Fenstern."

#: [email protected]/ui/prefs-adw.ui:34
#: [email protected]/schemas/org.gnome.shell.extensions.smart-auto-move.gschema.xml:34
msgid "Match Threshold"
msgstr "Übereinstimmungsschwelle"

#: [email protected]/ui/prefs-adw.ui:50
msgid "Sync Frequency (milliseconds)"
msgstr "Synchronisationsfrequenz (Millisekunden)"

#: [email protected]/ui/prefs-adw.ui:66
msgid "Save Frequency (milliseconds)"
msgstr "Speicherfrequenz (Millisekunden)"

#: [email protected]/ui/prefs-adw.ui:82
#: [email protected]/schemas/org.gnome.shell.extensions.smart-auto-move.gschema.xml:49
msgid "Freeze Saves"
msgstr "Speichern einfrieren"

#: [email protected]/ui/prefs-adw.ui:89
#: [email protected]/schemas/org.gnome.shell.extensions.smart-auto-move.gschema.xml:54
msgid "Activate Workspace"
msgstr "Arbeitsbereich aktivieren"

#: [email protected]/ui/prefs-adw.ui:96
msgid "Ignore Position"
msgstr "Position ignorieren"

#: [email protected]/ui/prefs-adw.ui:103
msgid "Ignore Workspace"
msgstr "Arbeitsbereich ignorieren"

#: [email protected]/ui/prefs-adw.ui:113
#: [email protected]/schemas/org.gnome.shell.extensions.smart-auto-move.gschema.xml:9
msgid "Saved Windows"
msgstr "Gespeicherte Fenster"

#: [email protected]/ui/prefs-adw.ui:120
msgid "Cleanup Non-occupied Windows"
msgstr "NICHT BESETZTE FENSTER AUFRÄUMEN"

#: [email protected]/ui/prefs-adw.ui:128
#: [email protected]/schemas/org.gnome.shell.extensions.smart-auto-move.gschema.xml:44
msgid "Overrides"
msgstr "Überschreibungen"

#: [email protected]/ui/prefs-adw.ui:138
msgid "Add Application"
msgstr "ANWENDUNG HINZUFÜGEN"

#: [email protected]/schemas/org.gnome.shell.extensions.smart-auto-move.gschema.xml:10
msgid "Persisted window data serialized to JSON."
msgstr "Persistierte Fensterdaten, die in JSON serialisiert wurden."

#: [email protected]/schemas/org.gnome.shell.extensions.smart-auto-move.gschema.xml:19
msgid "Startup Delay (ms)"
msgstr "Startverzögerung (ms)"

#: [email protected]/schemas/org.gnome.shell.extensions.smart-auto-move.gschema.xml:20
msgid ""
"Period of time in milliseconds to wait between seeing a window and writing "
"it to the in-memory store."
msgstr ""
"Zeitraum in Millisekunden, der zwischen dem Erkennen eines Fensters und dem "
"Schreiben in den In-Memory-Speicher gewartet wird."

#: [email protected]/schemas/org.gnome.shell.extensions.smart-auto-move.gschema.xml:24
msgid "Sync Frequency (ms)"
msgstr "Synchronisationsfrequenz (ms)"

#: [email protected]/schemas/org.gnome.shell.extensions.smart-auto-move.gschema.xml:25
msgid ""
"Frequency in milliseconds to synchronize changes to active windows into the "
"in-memory store."
msgstr ""
"Frequenz in Millisekunden, um Änderungen an aktiven Fenstern in den In-"
"Memory-Speicher zu synchronisieren."

#: [email protected]/schemas/org.gnome.shell.extensions.smart-auto-move.gschema.xml:29
msgid "Save Frequency (ms)"
msgstr "Speicherfrequenz (ms)"

#: [email protected]/schemas/org.gnome.shell.extensions.smart-auto-move.gschema.xml:30
msgid "Frequency in milliseconds to persist the in-memory store to disk."
msgstr ""
"Frequenz in Millisekunden, um den In-Memory-Speicher auf die Festplatte zu "
"persistieren."

#: [email protected]/schemas/org.gnome.shell.extensions.smart-auto-move.gschema.xml:35
msgid "Minimum threshold for matching restored windows."
msgstr "Mindestschwelle für die Übereinstimmung wiederhergestellter Fenster."

#: [email protected]/schemas/org.gnome.shell.extensions.smart-auto-move.gschema.xml:39
msgid "Sync Mode"
msgstr "Synchronisationsmodus"

#: [email protected]/schemas/org.gnome.shell.extensions.smart-auto-move.gschema.xml:45
msgid "Overrides for restored window data."
msgstr "Überschreibungen für wiederhergestellte Fensterdaten."

#: [email protected]/schemas/org.gnome.shell.extensions.smart-auto-move.gschema.xml:50
msgid "Do not update saved window data."
msgstr "Gespeicherte Fensterdaten nicht aktualisieren."

#: [email protected]/schemas/org.gnome.shell.extensions.smart-auto-move.gschema.xml:55
msgid "Follow apps when they are moved to another workspace."
msgstr ""
"Apps folgen, wenn sie in einen anderen Arbeitsbereich verschoben werden."

#: [email protected]/schemas/org.gnome.shell.extensions.smart-auto-move.gschema.xml:59
msgid "Ignore position"
msgstr "Position ignorieren"

#: [email protected]/schemas/org.gnome.shell.extensions.smart-auto-move.gschema.xml:60
msgid "Do not restore windows' position."
msgstr "Fensterposition nicht wiederherstellen."

#: [email protected]/schemas/org.gnome.shell.extensions.smart-auto-move.gschema.xml:64
msgid "Ignore workspace"
msgstr "Arbeitsbereich ignorieren"

#: [email protected]/schemas/org.gnome.shell.extensions.smart-auto-move.gschema.xml:65
msgid "Do not restore windows' workspace."
msgstr "Arbeitsbereich der Fenster nicht wiederherstellen."

#~ msgid "Email"
#~ msgstr "E-Mail"

#~ msgid "Name of .desktop files without .desktop ending"
#~ msgstr "Name der .desktop-Dateien ohne .desktop-Endung"

#~ msgid "Chat"
#~ msgstr "Chat"
Loading

0 comments on commit 4d8e5e3

Please sign in to comment.