diff --git a/meson.build b/meson.build index 024aa5a..8494fb6 100644 --- a/meson.build +++ b/meson.build @@ -13,6 +13,7 @@ project( add_project_arguments( '-Wno-unused-parameter', + '-D_DEFAULT_SOURCE', '-D_POSIX_C_SOURCE=200112L', '-DWL_HIDE_DEPRECATED', # Hide the deprecated parts of the Wayland API '-DWLR_USE_UNSTABLE', diff --git a/po/af.po b/po/af.po index 7d4b7d1..c516608 100644 --- a/po/af.po +++ b/po/af.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 14:03-0400\n" "Last-Translator: aspersieman \n" "Language-Team: Afrikaans\n" @@ -27,7 +27,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/ar.po b/po/ar.po index f4b09de..71961d9 100644 --- a/po/ar.po +++ b/po/ar.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 14:03-0400\n" "Last-Translator: كريم اولاد الشلحة \n" "Language-Team: Arabic \n" @@ -30,7 +30,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/be.po b/po/be.po index 45f373e..fda9440 100644 --- a/po/be.po +++ b/po/be.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 14:03-0400\n" "Last-Translator: Mikalai Udodau \n" "Language-Team: Belarusian \n" @@ -28,7 +28,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/bn_IN.po b/po/bn_IN.po index cade65c..657e267 100644 --- a/po/bn_IN.po +++ b/po/bn_IN.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 14:06-0400\n" "Last-Translator: Runa Bhattacharjee \n" "Language-Team: Bengali (India) \n" @@ -27,7 +27,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/ca.po b/po/ca.po index 90bfa15..5b70e0a 100644 --- a/po/ca.po +++ b/po/ca.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 14:06-0400\n" "Last-Translator: David Majà Martínez \n" "Language-Team: catalan\n" @@ -26,7 +26,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/cs.po b/po/cs.po index 56cb893..9ceacb3 100644 --- a/po/cs.po +++ b/po/cs.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 14:06-0400\n" "Last-Translator: David Kolibac \n" "Language-Team: Czech \n" @@ -28,7 +28,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/da.po b/po/da.po index fe12c2e..6ee7092 100644 --- a/po/da.po +++ b/po/da.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2022-02-18 17:43-0500\n" "Last-Translator: Jesper Sander \n" "Language-Team: None\n" @@ -26,7 +26,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/de.po b/po/de.po index 09f1750..9ad72bc 100644 --- a/po/de.po +++ b/po/de.po @@ -11,8 +11,8 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" -"PO-Revision-Date: 2022-02-18 18:05-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" +"PO-Revision-Date: 2022-02-20 20:21-0500\n" "Last-Translator: Volker Ribbert \n" "Language-Team: \n" "Language: de\n" @@ -30,8 +30,10 @@ msgstr "Kein nodesetval" msgid "No nodeset" msgstr "Kein nodeset" -msgid "Unable to parse XML file" -msgstr "Konnte die XML-Datei nicht analisieren" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." +msgstr "" +"Kann nicht die Einstullungsdatei analisieren. Für mehr Informationen die Standardfehlerausgabe lesen." msgid "Couldn't create new context!" msgstr "Konnte einen neuen Zusammenhang nicht erstellen" @@ -116,7 +118,7 @@ msgid "New output device detected" msgstr "Neue Ausgabegerät entdeckt" msgid "Couldn't commit pending frame to output" -msgstr "Konnte sich nicht an den anstehenden Rahmen an die Ausgabe festlegen" +msgstr "Konnte sich nicht an den anstehenden Rahmen an die Ausgabe eintragen" msgid "New keyboard detected" msgstr "Neue Tastatur entdeckt" @@ -148,6 +150,9 @@ msgstr "Fokussiert jetzige Ansicht" msgid "Focusing next view" msgstr "Fokussiert nächste Ansicht" +#~ msgid "Unable to parse XML file" +#~ msgstr "Konnte die XML-Datei nicht analisieren" + #, c-format #~ msgid "Invalid action \"%s\" requested. No such action exists." #~ msgstr "Ungültige Aktion \"%s\" angefordert. Es gibt keine solche." diff --git a/po/el.po b/po/el.po index 4ee6224..88b9d33 100644 --- a/po/el.po +++ b/po/el.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 14:07-0400\n" "Last-Translator: Efstathios Iosifidis \n" "Language-Team: Ελληνικά, Σύγχρονα \n" @@ -26,7 +26,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/eo.po b/po/eo.po index 7e400a3..352ccd7 100644 --- a/po/eo.po +++ b/po/eo.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" -"PO-Revision-Date: 2022-02-18 18:05-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" +"PO-Revision-Date: 2022-02-20 20:22-0500\n" "Last-Translator: Keith \n" "Language-Team: Esperanto\n" "Language: eo\n" @@ -26,8 +26,10 @@ msgstr "Neniu nodara valoro" msgid "No nodeset" msgstr "Neniu nodaro" -msgid "Unable to parse XML file" -msgstr "Ne povas analizi XML-dosieron" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." +msgstr "" +"Ne eblas analizi la agordo-dosieron. Legu la erareligujon por pliaj informoj." msgid "Couldn't create new context!" msgstr "Ne povis krei novan kuntekston!" @@ -114,7 +116,7 @@ msgid "New output device detected" msgstr "Nova enigilo malkovrita" msgid "Couldn't commit pending frame to output" -msgstr "Ne povis surmeti atendantan framon al eligo" +msgstr "Ne povis surmeti atendantan framon sur eligon" msgid "New keyboard detected" msgstr "Nova klavaro malkovrita" @@ -146,6 +148,9 @@ msgstr "Fokusas nunan vidon" msgid "Focusing next view" msgstr "Fokusas la sekvan vidon" +#~ msgid "Unable to parse XML file" +#~ msgstr "Ne povas analizi XML-dosieron" + #, c-format #~ msgid "Invalid action \"%s\" requested. No such action exists." #~ msgstr "Nevalida ago \"%s\" petita. Ne ekzistas tia ago." @@ -318,7 +323,7 @@ msgstr "Fokusas la sekvan vidon" #~ "configuration files. See stdout for more information. The last error " #~ "seen was in file \"%s\" line %d, with message: %s" #~ msgstr "" -#~ "Unu aŭ pli sintaksaj eraroj de XML estis trovitaj dum analizo de la " +#~ "Unu aŭ pli da sintaksaj eraroj de XML estis trovitaj dum analizo de la " #~ "agordaj dosieroj de Waybox. Legu la eneligilon por pliaj inforomoj. La " #~ "lasta eraro vidita estis en dosiero \"%s\", linio %d, kun mesaĝo: %s" diff --git a/po/es.po b/po/es.po index 265ee75..b652559 100644 --- a/po/es.po +++ b/po/es.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 14:07-0400\n" "Last-Translator: Nicolás de la Torre \n" "Language-Team: español \n" @@ -30,7 +30,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/et.po b/po/et.po index ea58b86..675e211 100644 --- a/po/et.po +++ b/po/et.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 14:07-0400\n" "Last-Translator: mihkel \n" "Language-Team: Estonian \n" @@ -28,7 +28,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/eu.po b/po/eu.po index 551ac2b..440bf5a 100644 --- a/po/eu.po +++ b/po/eu.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 14:07-0400\n" "Last-Translator: Inko I. A. \n" "Language-Team: Inko I. A. \n" @@ -26,7 +26,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/fi.po b/po/fi.po index 259f976..669a9fb 100644 --- a/po/fi.po +++ b/po/fi.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 14:07-0400\n" "Last-Translator: Lauri Hakko \n" "Language-Team: None\n" @@ -29,7 +29,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/fr.po b/po/fr.po index 558b976..20828ca 100644 --- a/po/fr.po +++ b/po/fr.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 14:07-0400\n" "Last-Translator: Cyrille Bagard \n" "Language-Team: franais \n" @@ -30,7 +30,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/gl_ES.po b/po/gl_ES.po index fb7c9be..d692b86 100644 --- a/po/gl_ES.po +++ b/po/gl_ES.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 19:33-0400\n" "Last-Translator: Javier Mancebo \n" "Language-Team: Galician\n" @@ -25,7 +25,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/he.po b/po/he.po index 49765f3..5661f1c 100644 --- a/po/he.po +++ b/po/he.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 10:30-0400\n" "Last-Translator: Eli Zaretskii \n" "Language-Team: Rahut \n" @@ -29,7 +29,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/hr.po b/po/hr.po index 5998c5a..c87fb46 100644 --- a/po/hr.po +++ b/po/hr.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 14:07-0400\n" "Last-Translator: boljsa \n" "Language-Team: \n" @@ -25,7 +25,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/hu.po b/po/hu.po index 4968a4a..f7c6da4 100644 --- a/po/hu.po +++ b/po/hu.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 18:42-0400\n" "Last-Translator: Laszlo Dvornik \n" "Language-Team: Hungarian\n" @@ -27,7 +27,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/ia.po b/po/ia.po index 85cb2bb..964feff 100644 --- a/po/ia.po +++ b/po/ia.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 18:42-0400\n" "Last-Translator: Nik Kalach \n" "Language-Team: Interlingua (International Auxiliary Language Association) " @@ -27,7 +27,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/it.po b/po/it.po index 52e8bc5..8fff461 100644 --- a/po/it.po +++ b/po/it.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 14:08-0400\n" "Last-Translator: Davide Truffa \n" "Language-Team: Italian \n" @@ -28,7 +28,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/ja.po b/po/ja.po index a9a7ed3..620c416 100644 --- a/po/ja.po +++ b/po/ja.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 14:08-0400\n" "Last-Translator: Ryoichiro Suzuki \n" "Language-Team: Japanese \n" @@ -27,7 +27,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/lt.po b/po/lt.po index acb35f6..a668ce5 100644 --- a/po/lt.po +++ b/po/lt.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 18:42-0400\n" "Last-Translator: Algimantas Margevičius \n" "Language-Team: Lietuvių <>\n" @@ -30,7 +30,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/lv.po b/po/lv.po index 7dde0d8..1a44fe1 100644 --- a/po/lv.po +++ b/po/lv.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 14:08-0400\n" "Last-Translator: Einars Sprugis \n" "Language-Team: Latvian \n" @@ -28,7 +28,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/nl.po b/po/nl.po index 09473a2..d0e7de7 100644 --- a/po/nl.po +++ b/po/nl.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 14:08-0400\n" "Last-Translator: Pjotr \n" "Language-Team: Dutch \n" @@ -30,7 +30,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/no.po b/po/no.po index 12b62b8..28bdb7a 100644 --- a/po/no.po +++ b/po/no.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 18:23-0400\n" "Last-Translator: Michael Kjelbergvik Thung \n" "Language-Team: None\n" @@ -26,7 +26,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/pl.po b/po/pl.po index 925cd6d..593083b 100644 --- a/po/pl.po +++ b/po/pl.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 14:08-0400\n" "Last-Translator: Jakub Błażejczyk\n" "Language-Team: polski \n" @@ -31,7 +31,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/pt.po b/po/pt.po index 809f38f..feb96df 100644 --- a/po/pt.po +++ b/po/pt.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 18:42-0400\n" "Last-Translator: Sérgio Marques \n" "Language-Team: \n" @@ -29,7 +29,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/pt_BR.po b/po/pt_BR.po index ba75023..264b33d 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 18:45-0400\n" "Last-Translator: Og Maciel \n" "Language-Team: Brazilian Portuguese \n" @@ -27,7 +27,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/ro.po b/po/ro.po index 2741de1..c34ecfa 100644 --- a/po/ro.po +++ b/po/ro.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 14:09-0400\n" "Last-Translator: Radu Feflea \n" "Language-Team: none\n" @@ -26,7 +26,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/ru.po b/po/ru.po index dbb6baf..1ea03e8 100644 --- a/po/ru.po +++ b/po/ru.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 14:09-0400\n" "Last-Translator: Moroz Sergey L. \n" "Language-Team: None\n" @@ -28,7 +28,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/sk.po b/po/sk.po index 5b7971f..33352ad 100644 --- a/po/sk.po +++ b/po/sk.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 14:09-0400\n" "Last-Translator: Frantisek Elias \n" "Language-Team: Slovak \n" @@ -27,7 +27,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/sr.po b/po/sr.po index d0d3b07..dfe92df 100644 --- a/po/sr.po +++ b/po/sr.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 14:09-0400\n" "Last-Translator: Jay Alexander Fleming \n" "Language-Team: None\n" @@ -28,7 +28,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/sr@latin.po b/po/sr@latin.po index 9d43f6d..deb9768 100644 --- a/po/sr@latin.po +++ b/po/sr@latin.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 14:09-0400\n" "Last-Translator: Jay A. Fleming \n" "Language-Team: None\n" @@ -28,7 +28,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/sv.po b/po/sv.po index 5a4821c..ee99502 100644 --- a/po/sv.po +++ b/po/sv.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 18:42-0400\n" "Last-Translator: Mikael Magnusson \n" "Language-Team: None\n" @@ -26,7 +26,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/tr.po b/po/tr.po index 90dd8c5..5a28d6a 100644 --- a/po/tr.po +++ b/po/tr.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 14:09-0400\n" "Last-Translator: Muhammet Kara \n" "Language-Team: Turkish \n" @@ -27,7 +27,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/uk.po b/po/uk.po index c000b20..ceaa6f2 100644 --- a/po/uk.po +++ b/po/uk.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 14:10-0400\n" "Last-Translator: Serhiy Lysovenko \n" "Language-Team: Ukrainian \n" @@ -26,7 +26,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/vi.po b/po/vi.po index 3462159..37923bb 100644 --- a/po/vi.po +++ b/po/vi.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2022-02-01 21:17-0500\n" "Last-Translator: Quan Tran \n" "Language-Team: None\n" @@ -26,7 +26,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/waybox.pot b/po/waybox.pot index a32de6d..1dd4f46 100644 --- a/po/waybox.pot +++ b/po/waybox.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: waybox\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -26,7 +26,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/zh_CN.po b/po/zh_CN.po index 8e982d6..a35c899 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2020-03-10 14:10-0400\n" "Last-Translator: zhou sf \n" "Language-Team: Simplified Chinese\n" @@ -28,7 +28,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/po/zh_TW.po b/po/zh_TW.po index 3224177..5fbd766 100644 --- a/po/zh_TW.po +++ b/po/zh_TW.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Waybox 0.0.1\n" "Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n" -"POT-Creation-Date: 2022-02-18 17:31-0500\n" +"POT-Creation-Date: 2022-02-20 20:16-0500\n" "PO-Revision-Date: 2022-02-01 21:14-0500\n" "Last-Translator: 洪任諭 \n" "Language-Team: Chinese (traditional) \n" @@ -27,7 +27,8 @@ msgstr "" msgid "No nodeset" msgstr "" -msgid "Unable to parse XML file" +msgid "" +"Unable to parse the configuration file. Consult stderr for more information." msgstr "" msgid "Couldn't create new context!" diff --git a/waybox/config.c b/waybox/config.c index bc8b560..7af4631 100644 --- a/waybox/config.c +++ b/waybox/config.c @@ -110,7 +110,6 @@ static bool parse_key_bindings(struct wb_config *config, xmlXPathContextPtr ctxt } if (strcmp((char *) cur_node->name, "execute") == 0) { - /* Bad things can happen if the command is greater than 1024 characters */ key_bind->cmd = (char *) xmlStrdup(cur_node->children->content); if (key_bind->action) break; @@ -144,7 +143,7 @@ bool init_config(struct wb_server *server) { } if (doc == NULL) { - wlr_log(WLR_INFO, "%s", _("Unable to parse XML file")); + wlr_log(WLR_ERROR, "%s", _("Unable to parse the configuration file. Consult stderr for more information.")); return false; } xmlXPathContextPtr ctxt = xmlXPathNewContext(doc); diff --git a/waybox/layer_shell.c b/waybox/layer_shell.c index e32a4b6..25d66b4 100644 --- a/waybox/layer_shell.c +++ b/waybox/layer_shell.c @@ -1,3 +1,9 @@ +/* + * More or less taken verbatim from wio , so in + * accordance with its MIT license: + * + * Copyright 2019 Drew DeVault + */ #include #include "waybox/xdg_shell.h" @@ -196,13 +202,7 @@ void arrange_layers(struct wb_output *output) { } } - /* Focus the topmost layer */ - if (topmost != NULL) - { - struct wb_view *view = - wl_container_of(output->server->views.next, view, link); - focus_view(view, view->xdg_toplevel->base->surface); - } + /* TODO: Focus topmost layer */ } static void handle_output_destroy(struct wl_listener *listener, void *data) { diff --git a/waybox/main.c b/waybox/main.c index 7575007..3c1c34a 100644 --- a/waybox/main.c +++ b/waybox/main.c @@ -110,6 +110,7 @@ int main(int argc, char **argv) { struct sigaction sa; sigemptyset(&sa.sa_mask); + sa.sa_flags = SA_RESTART; sa.sa_handler = signal_handler; sigaction(SIGINT, &sa, NULL); sigaction(SIGTERM, &sa, NULL); diff --git a/waybox/seat.c b/waybox/seat.c index 92cf3b4..f3ad5ec 100644 --- a/waybox/seat.c +++ b/waybox/seat.c @@ -29,7 +29,7 @@ static bool cycle_views_reverse(struct wb_server *server) { struct wb_view *next_view = wl_container_of( current_view->link.next, next_view, link); focus_view(next_view, next_view->xdg_toplevel->base->surface); - /* Move the previous view to the end of the list */ + /* Move the current view to after the previous view in the list */ wl_list_remove(¤t_view->link); wl_list_insert(server->views.prev, ¤t_view->link); return true; @@ -45,20 +45,23 @@ static bool handle_keybinding(struct wb_server *server, xkb_keysym_t sym, uint32 * client. */ - struct wb_key_binding *key_binding; if (!server->config) { + /* Some default key bindings, when the rc.xml file can't be + * parsed. */ if (modifiers & WLR_MODIFIER_ALT && sym == XKB_KEY_Tab) cycle_views(server); else if (modifiers & (WLR_MODIFIER_ALT|WLR_MODIFIER_SHIFT) && sym == XKB_KEY_Tab) cycle_views_reverse(server); else if (sym == XKB_KEY_Escape && modifiers & WLR_MODIFIER_CTRL) - wl_display_terminate(server->wl_display); + wl_display_terminate(server->wl_display); else return false; return true; } + + struct wb_key_binding *key_binding; wl_list_for_each(key_binding, &server->config->key_bindings, link) { if (sym == key_binding->sym && modifiers == key_binding->modifiers) { diff --git a/waybox/xdg_shell.c b/waybox/xdg_shell.c index b657a7f..79ac656 100644 --- a/waybox/xdg_shell.c +++ b/waybox/xdg_shell.c @@ -58,10 +58,8 @@ static void xdg_surface_ack_configure(struct wl_listener *listener, void *data) struct wlr_box geo_box; wlr_xdg_surface_get_geometry(view->xdg_toplevel->base, &geo_box); if (geo_box.y < 0) - { view->y = geo_box.y * -1; - view->configured = true; - } + view->configured = view->y > 0; /* Set size here, so the view->y value will be known */ wlr_xdg_toplevel_set_size(view->xdg_toplevel, geo_box.width - view->x, geo_box.height - view->y);