freedombox Debian release 23.6

-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmQP3C4ACgkQd8DHXntl
 CAjrRQ//ZC6MI99tEHtDvYmvrd0QiiDH24+bTMSLojXkcj9p/ignKRcsW2G0a8jS
 jc0aEADPTOBpGMBr2lMCdXeANLnJH5hyO/qp9nx5xWD6Wmml8pfj1MWVFVMJLCSj
 FYGYtDem4uwHtcex0zS4Fpp+ezqIjFyG+tXSzHLpE0uMa+Tkwe5SB+zcET5qUCAM
 eT4ftul6bYwdz7ARQNEA9N1Qb+oE+q9EkBRguW6i33B2D2SPj/mCapOu7FqN1hfi
 rQnG2dETAgNRIhwpb3bGcblQCrfkrU6asaI0r8Y7lENPoxDQ8+hrZU0qVMoXt0hZ
 NOEupZI05sIs5qp37UUxXk9keh5OhgEFUB7FPGGVEqS3/cCpzMrriqJYrbIZtfhh
 ZRYpUi8du/WGZDmMU+EvppzZOpRxFl3XCi/zO/YLpmj8SBhKlsVXhugNjAUgI3Lj
 FnRXc4r57lnUvyTlCRomRiOhspBcmRW4Fmip9wffivDkLdXuhCJIQG8LLySV3tZL
 EBuwCCe57gvnt1OO3CjijzJ/l38TCrWN0n4Uw0cFAgfTd4LnuFUHwBnY2YgqgYBu
 gP/76vMG0Nao5Vctw6SpNSGAdKEttSnlAWhU8wwuPmz1tLgzrUFy3Wjf4VDuRKwW
 8nfgWjApgEEbRI4wY6RobO4Op0TezNGY1+nnCr8OU0woYEMVSos=
 =rKrr
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmQrWFIACgkQd8DHXntl
 CAhYnA//TxlkxXaq+cgHEgMmXmJaquw85N3lQxzC92MCIet0mP07GsV41l1p2b5r
 IBqhBO1jOJ3ZFS1UHlrnfwgzCk+uBlMTAsauMgW7yrLcxvfJwKH3Q5VpWxVVw6tS
 Y8Yb2hBPVntalb+jWKhIdsaYQXGiADnPg+b1aeWkfWnwOV/BsxtpwnD8vghMdBRu
 ei6AK2P+cD+4B9L7nGQ9LvTP4xitL9RPLDi0hw1WutoZ/vNlSvBMZqClHU8VFTAh
 yteyNUeWy/SOlBYt4Kwrbo4VDgmH32f7KZpH3GPZC8uS7yuhmBS8ytLZDDchyW9A
 Bs+uGzS6FqsiHtvFUfh5TmX1FnCP2tlwfYZ4mcjrpKtJ1THKMYxm3xQ4+mz6CwOt
 VYj+ey9oRGq/8BhSLMWA7+UkR8PUwnGoGKAtKd3+bVy9acqKS1/ip1JrFGkY4R50
 rr4y/AniZZDAGCM5mf7VJDSBeaQGUZ4ON/FynLT8UQeUg3wUL4ay/3OdL0m5kObI
 c4vWcqtsyR1II40ZppZFhtVHVfdyb2yEM+UOMs3bPFLH8G0ruoAb/17itxzQMroq
 EwADBqusMchevFMNVrnzA2N4+0R/6/5+YISUC6ytWnpdTwvQKTTXyhjOGFW3bJso
 8ul4XUNKvX1xHW6Oh2zr6Egz/+0KP5QhGMOD11y8P5IalKLCPWE=
 =cRO0
 -----END PGP SIGNATURE-----

Merge tag 'v23.6' into debian/bullseye-backports

freedombox Debian release 23.6

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
James Valleroy 2023-04-03 18:50:56 -04:00
commit 6bfefdd27e
50 changed files with 179 additions and 131 deletions

View File

@ -25,4 +25,4 @@ RUN apt-get install -y build-essential \
RUN apt-get install -y $(./run --list-dependencies) RUN apt-get install -y $(./run --list-dependencies)
# Coverage should know that test_functional.py files are tests # Coverage should know that test_functional.py files are tests
RUN pip3 install splinter pytest-bdd RUN pip3 install --break-system-packages splinter pytest-bdd

View File

@ -7,5 +7,4 @@ http://\n.local/
http://\4/ http://\4/
http://[\6]/ http://[\6]/
Only administrators can login unless otherwise configured in Security section.
FreedomBox also provides a web console for system administration using Cockpit. FreedomBox also provides a web console for system administration using Cockpit.

17
debian/changelog vendored
View File

@ -1,3 +1,20 @@
freedombox (23.6) unstable; urgency=medium
[ Sunil Mohan Adapa ]
* ci: Force pip to install packages to system environment
* /etc/issue: Update message to reflect that all users can login
* datetime: Use timedatectl to read current timezone
[ nbenedek ]
* samba: make sure shares are not accessible from the internet
* ttrss: fix failing backup
[ James Valleroy ]
* locale: Update translation strings
* doc: Fetch latest manual
-- James Valleroy <jvalleroy@mailbox.org> Mon, 13 Mar 2023 21:52:56 -0400
freedombox (23.5~bpo11+1) bullseye-backports; urgency=medium freedombox (23.5~bpo11+1) bullseye-backports; urgency=medium
* Rebuild for bullseye-backports. * Rebuild for bullseye-backports.

View File

@ -8,6 +8,14 @@ For more technical details, see the [[https://salsa.debian.org/freedombox-team/f
The following are the release notes for each !FreedomBox version. The following are the release notes for each !FreedomBox version.
== FreedomBox 23.6 (2023-03-13) ==
* /etc/issue: Update message to reflect that all users can login
* ci: Force pip to install packages to system environment
* datetime: Use timedatectl to read current timezone
* samba: Make sure shares are not accessible from the internet
* ttrss: Fix failing backup
== FreedomBox 23.5 (2023-02-27) == == FreedomBox 23.5 (2023-02-27) ==
* mediawiki: Fix app view error * mediawiki: Fix app view error

View File

@ -8,6 +8,14 @@ For more technical details, see the [[https://salsa.debian.org/freedombox-team/f
The following are the release notes for each !FreedomBox version. The following are the release notes for each !FreedomBox version.
== FreedomBox 23.6 (2023-03-13) ==
* /etc/issue: Update message to reflect that all users can login
* ci: Force pip to install packages to system environment
* datetime: Use timedatectl to read current timezone
* samba: Make sure shares are not accessible from the internet
* ttrss: Fix failing backup
== FreedomBox 23.5 (2023-02-27) == == FreedomBox 23.5 (2023-02-27) ==
* mediawiki: Fix app view error * mediawiki: Fix app view error

View File

@ -3,4 +3,4 @@
Package init file. Package init file.
""" """
__version__ = '23.5' __version__ = '23.6'

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2022-03-31 09:12+0000\n" "PO-Revision-Date: 2022-03-31 09:12+0000\n"
"Last-Translator: abidin toumi <abidin24@disroot.org>\n" "Last-Translator: abidin toumi <abidin24@disroot.org>\n"
"Language-Team: Arabic <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Arabic <https://hosted.weblate.org/projects/freedombox/"
@ -1284,12 +1284,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "" msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2020-06-10 15:41+0000\n" "PO-Revision-Date: 2020-06-10 15:41+0000\n"
"Last-Translator: aiman an <an1f3@hotmail.com>\n" "Last-Translator: aiman an <an1f3@hotmail.com>\n"
"Language-Team: Arabic (Saudi Arabia) <https://hosted.weblate.org/projects/" "Language-Team: Arabic (Saudi Arabia) <https://hosted.weblate.org/projects/"
@ -1284,12 +1284,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "" msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2023-02-16 19:39+0000\n" "PO-Revision-Date: 2023-02-16 19:39+0000\n"
"Last-Translator: 109247019824 <stoyan@gmx.com>\n" "Last-Translator: 109247019824 <stoyan@gmx.com>\n"
"Language-Team: Bulgarian <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Bulgarian <https://hosted.weblate.org/projects/freedombox/"
@ -1376,12 +1376,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "— не е избран часови пояс —" msgstr "— не е избран часови пояс —"
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "Грешка при задаване на часовия пояс: {exception}" msgstr "Грешка при задаване на часовия пояс: {exception}"
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "Часовият пояс е зададен" msgstr "Часовият пояс е зададен"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2021-06-16 07:33+0000\n" "PO-Revision-Date: 2021-06-16 07:33+0000\n"
"Last-Translator: Oymate <dhruboadittya96@gmail.com>\n" "Last-Translator: Oymate <dhruboadittya96@gmail.com>\n"
"Language-Team: Bengali <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Bengali <https://hosted.weblate.org/projects/freedombox/"
@ -1283,12 +1283,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "" msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2023-02-20 15:36+0000\n" "PO-Revision-Date: 2023-02-20 15:36+0000\n"
"Last-Translator: Jiří Podhorecký <j.podhorecky@volny.cz>\n" "Last-Translator: Jiří Podhorecký <j.podhorecky@volny.cz>\n"
"Language-Team: Czech <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Czech <https://hosted.weblate.org/projects/freedombox/"
@ -1409,12 +1409,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "-- není nastavena časová zóna --" msgstr "-- není nastavena časová zóna --"
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "Chyba při nastavování časové zóny: {exception}" msgstr "Chyba při nastavování časové zóny: {exception}"
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "Nastavení časové zóny" msgstr "Nastavení časové zóny"

View File

@ -9,7 +9,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: FreedomBox UI\n" "Project-Id-Version: FreedomBox UI\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2022-09-14 17:19+0000\n" "PO-Revision-Date: 2022-09-14 17:19+0000\n"
"Last-Translator: ikmaak <info@ikmaak.nl>\n" "Last-Translator: ikmaak <info@ikmaak.nl>\n"
"Language-Team: Danish <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Danish <https://hosted.weblate.org/projects/freedombox/"
@ -1424,12 +1424,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "-- ingen tidszone valgt --" msgstr "-- ingen tidszone valgt --"
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "Kunne ikke sætte tidszone: {exception}" msgstr "Kunne ikke sætte tidszone: {exception}"
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "Tidszone gemt" msgstr "Tidszone gemt"

View File

@ -9,7 +9,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: FreedomBox UI\n" "Project-Id-Version: FreedomBox UI\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2023-02-16 19:39+0000\n" "PO-Revision-Date: 2023-02-16 19:39+0000\n"
"Last-Translator: ikmaak <info@ikmaak.nl>\n" "Last-Translator: ikmaak <info@ikmaak.nl>\n"
"Language-Team: German <https://hosted.weblate.org/projects/freedombox/" "Language-Team: German <https://hosted.weblate.org/projects/freedombox/"
@ -1445,12 +1445,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "-- keine Zeitzone gesetzt --" msgstr "-- keine Zeitzone gesetzt --"
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "Fehler beim Setzen der Zeitzone: {exception}" msgstr "Fehler beim Setzen der Zeitzone: {exception}"
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "Zeitzone gesetzt" msgstr "Zeitzone gesetzt"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -1281,12 +1281,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "" msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2022-09-14 17:20+0000\n" "PO-Revision-Date: 2022-09-14 17:20+0000\n"
"Last-Translator: ikmaak <info@ikmaak.nl>\n" "Last-Translator: ikmaak <info@ikmaak.nl>\n"
"Language-Team: Greek <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Greek <https://hosted.weblate.org/projects/freedombox/"
@ -1459,12 +1459,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "--Δεν έχει οριστεί ζώνη ώρας--" msgstr "--Δεν έχει οριστεί ζώνη ώρας--"
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "Σφάλμα κατά τη ρύθμιση ζώνης ώρας: {exception}" msgstr "Σφάλμα κατά τη ρύθμιση ζώνης ώρας: {exception}"
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "H ζώνη ώρας ρυθμίστηκε" msgstr "H ζώνη ώρας ρυθμίστηκε"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2023-02-16 19:39+0000\n" "PO-Revision-Date: 2023-02-16 19:39+0000\n"
"Last-Translator: gallegonovato <fran-carro@hotmail.es>\n" "Last-Translator: gallegonovato <fran-carro@hotmail.es>\n"
"Language-Team: Spanish <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Spanish <https://hosted.weblate.org/projects/freedombox/"
@ -1433,12 +1433,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "-- Zona horaria no definida --" msgstr "-- Zona horaria no definida --"
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "Error al definir zona horaria: {exception}" msgstr "Error al definir zona horaria: {exception}"
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "Zona horaria asignada" msgstr "Zona horaria asignada"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2022-09-14 17:19+0000\n" "PO-Revision-Date: 2022-09-14 17:19+0000\n"
"Last-Translator: ikmaak <info@ikmaak.nl>\n" "Last-Translator: ikmaak <info@ikmaak.nl>\n"
"Language-Team: Persian <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Persian <https://hosted.weblate.org/projects/freedombox/"
@ -1419,12 +1419,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "-- منطقهٔ زمانی تعیین نشده --" msgstr "-- منطقهٔ زمانی تعیین نشده --"
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "خطا در هنگام تنظیم منطقهٔ زمانی: {exception}" msgstr "خطا در هنگام تنظیم منطقهٔ زمانی: {exception}"
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "منطقهٔ زمانی تنظیم شد" msgstr "منطقهٔ زمانی تنظیم شد"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Plinth 0.6\n" "Project-Id-Version: Plinth 0.6\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2016-01-31 22:24+0530\n" "PO-Revision-Date: 2016-01-31 22:24+0530\n"
"Last-Translator: Sunil Mohan Adapa <sunil@medhas.org>\n" "Last-Translator: Sunil Mohan Adapa <sunil@medhas.org>\n"
"Language-Team: Plinth Developers <freedombox-discuss@lists.alioth.debian." "Language-Team: Plinth Developers <freedombox-discuss@lists.alioth.debian."
@ -1473,12 +1473,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "-- NO TIME ZONE SET --" msgstr "-- NO TIME ZONE SET --"
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "ERROR SETTING TIME ZONE: {exception}" msgstr "ERROR SETTING TIME ZONE: {exception}"
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "TIME ZONE SET" msgstr "TIME ZONE SET"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: FreedomBox UI\n" "Project-Id-Version: FreedomBox UI\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2022-10-30 11:00+0000\n" "PO-Revision-Date: 2022-10-30 11:00+0000\n"
"Last-Translator: Coucouf <coucouf@coucouf.fr>\n" "Last-Translator: Coucouf <coucouf@coucouf.fr>\n"
"Language-Team: French <https://hosted.weblate.org/projects/freedombox/" "Language-Team: French <https://hosted.weblate.org/projects/freedombox/"
@ -1455,12 +1455,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "-- fuseau horaire non renseigné --" msgstr "-- fuseau horaire non renseigné --"
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "Erreur lors de la modification du fuseau horaire : {exception}" msgstr "Erreur lors de la modification du fuseau horaire : {exception}"
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "Fuseau horaire modifié" msgstr "Fuseau horaire modifié"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2022-12-30 10:51+0000\n" "PO-Revision-Date: 2022-12-30 10:51+0000\n"
"Last-Translator: gallegonovato <fran-carro@hotmail.es>\n" "Last-Translator: gallegonovato <fran-carro@hotmail.es>\n"
"Language-Team: Galician <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Galician <https://hosted.weblate.org/projects/freedombox/"
@ -1287,12 +1287,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "" msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2021-01-18 12:32+0000\n" "PO-Revision-Date: 2021-01-18 12:32+0000\n"
"Last-Translator: ikmaak <info@ikmaak.nl>\n" "Last-Translator: ikmaak <info@ikmaak.nl>\n"
"Language-Team: Gujarati <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Gujarati <https://hosted.weblate.org/projects/freedombox/"
@ -1371,12 +1371,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "-- કોઈ સમય વિસ્તાર ગોઠવેલ નથી --" msgstr "-- કોઈ સમય વિસ્તાર ગોઠવેલ નથી --"
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "સમય વિસ્તાર ગોઠવતા ભૂલ થઇ: {exception}" msgstr "સમય વિસ્તાર ગોઠવતા ભૂલ થઇ: {exception}"
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "સમય વિસ્તાર ગોઠવ્યો" msgstr "સમય વિસ્તાર ગોઠવ્યો"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2021-01-18 12:32+0000\n" "PO-Revision-Date: 2021-01-18 12:32+0000\n"
"Last-Translator: ikmaak <info@ikmaak.nl>\n" "Last-Translator: ikmaak <info@ikmaak.nl>\n"
"Language-Team: Hindi <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Hindi <https://hosted.weblate.org/projects/freedombox/"
@ -1458,12 +1458,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "-- समय क्षेत्र सेट नहीं है --" msgstr "-- समय क्षेत्र सेट नहीं है --"
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "समय क्षेत्र सेट करने में एरर: {exception}" msgstr "समय क्षेत्र सेट करने में एरर: {exception}"
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "समय क्षेत्र सेट" msgstr "समय क्षेत्र सेट"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2022-10-24 18:39+0000\n" "PO-Revision-Date: 2022-10-24 18:39+0000\n"
"Last-Translator: Sunil Mohan Adapa <sunil@medhas.org>\n" "Last-Translator: Sunil Mohan Adapa <sunil@medhas.org>\n"
"Language-Team: Hungarian <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Hungarian <https://hosted.weblate.org/projects/freedombox/"
@ -1431,12 +1431,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "-- nincs időzóna beállítva --" msgstr "-- nincs időzóna beállítva --"
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "Hiba az időzóna beállítása során: {exception}" msgstr "Hiba az időzóna beállítása során: {exception}"
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "Időzóna beállítva" msgstr "Időzóna beállítva"

View File

@ -2,7 +2,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Indonesian (FreedomBox)\n" "Project-Id-Version: Indonesian (FreedomBox)\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2022-09-14 17:19+0000\n" "PO-Revision-Date: 2022-09-14 17:19+0000\n"
"Last-Translator: ikmaak <info@ikmaak.nl>\n" "Last-Translator: ikmaak <info@ikmaak.nl>\n"
"Language-Team: Indonesian <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Indonesian <https://hosted.weblate.org/projects/freedombox/"
@ -1414,12 +1414,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "- Tidak ada set zona waktu -" msgstr "- Tidak ada set zona waktu -"
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "Kesalahan pengaturan zona waktu: {exception}" msgstr "Kesalahan pengaturan zona waktu: {exception}"
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "Set zona waktu" msgstr "Set zona waktu"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2022-09-14 17:19+0000\n" "PO-Revision-Date: 2022-09-14 17:19+0000\n"
"Last-Translator: ikmaak <info@ikmaak.nl>\n" "Last-Translator: ikmaak <info@ikmaak.nl>\n"
"Language-Team: Italian <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Italian <https://hosted.weblate.org/projects/freedombox/"
@ -1397,12 +1397,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "-- fuso orario non impostato --" msgstr "-- fuso orario non impostato --"
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "Errore impostazione fuso orario: {exception}" msgstr "Errore impostazione fuso orario: {exception}"
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
#, fuzzy #, fuzzy
msgid "Time zone set" msgid "Time zone set"
msgstr "Impostazione fuso orario" msgstr "Impostazione fuso orario"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2021-05-20 12:32+0000\n" "PO-Revision-Date: 2021-05-20 12:32+0000\n"
"Last-Translator: Jacque Fresco <aidter@use.startmail.com>\n" "Last-Translator: Jacque Fresco <aidter@use.startmail.com>\n"
"Language-Team: Japanese <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Japanese <https://hosted.weblate.org/projects/freedombox/"
@ -1283,12 +1283,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "" msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2020-07-16 16:41+0000\n" "PO-Revision-Date: 2020-07-16 16:41+0000\n"
"Last-Translator: Yogesh <yogesh@karnatakaeducation.org.in>\n" "Last-Translator: Yogesh <yogesh@karnatakaeducation.org.in>\n"
"Language-Team: Kannada <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Kannada <https://hosted.weblate.org/projects/freedombox/"
@ -1283,12 +1283,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "" msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2022-09-14 17:19+0000\n" "PO-Revision-Date: 2022-09-14 17:19+0000\n"
"Last-Translator: ikmaak <info@ikmaak.nl>\n" "Last-Translator: ikmaak <info@ikmaak.nl>\n"
"Language-Team: Lithuanian <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Lithuanian <https://hosted.weblate.org/projects/freedombox/"
@ -1285,12 +1285,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "" msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2022-09-14 17:20+0000\n" "PO-Revision-Date: 2022-09-14 17:20+0000\n"
"Last-Translator: ikmaak <info@ikmaak.nl>\n" "Last-Translator: ikmaak <info@ikmaak.nl>\n"
"Language-Team: Latvian <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Latvian <https://hosted.weblate.org/projects/freedombox/"
@ -1284,12 +1284,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "" msgstr ""

View File

@ -15,7 +15,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: FreedomBox UI\n" "Project-Id-Version: FreedomBox UI\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2022-11-07 10:05+0000\n" "PO-Revision-Date: 2022-11-07 10:05+0000\n"
"Last-Translator: Petter Reinholdtsen <pere-weblate@hungry.com>\n" "Last-Translator: Petter Reinholdtsen <pere-weblate@hungry.com>\n"
"Language-Team: Norwegian Bokmål <https://hosted.weblate.org/projects/" "Language-Team: Norwegian Bokmål <https://hosted.weblate.org/projects/"
@ -1435,12 +1435,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr " ingen tidssone satt " msgstr " ingen tidssone satt "
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "Feil ved setting av tidssone: {exception}" msgstr "Feil ved setting av tidssone: {exception}"
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "Tidssone satt" msgstr "Tidssone satt"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2023-02-16 19:39+0000\n" "PO-Revision-Date: 2023-02-16 19:39+0000\n"
"Last-Translator: ikmaak <info@ikmaak.nl>\n" "Last-Translator: ikmaak <info@ikmaak.nl>\n"
"Language-Team: Dutch <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Dutch <https://hosted.weblate.org/projects/freedombox/"
@ -1429,12 +1429,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "-- geen tijdzone ingesteld --" msgstr "-- geen tijdzone ingesteld --"
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "Fout bij tijdzone instellen: {exception}" msgstr "Fout bij tijdzone instellen: {exception}"
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "Tijdzone ingesteld" msgstr "Tijdzone ingesteld"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2022-09-14 17:19+0000\n" "PO-Revision-Date: 2022-09-14 17:19+0000\n"
"Last-Translator: ikmaak <info@ikmaak.nl>\n" "Last-Translator: ikmaak <info@ikmaak.nl>\n"
"Language-Team: Polish <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Polish <https://hosted.weblate.org/projects/freedombox/"
@ -1411,12 +1411,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "-- Strefa czasowa nie ustawiona --" msgstr "-- Strefa czasowa nie ustawiona --"
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "Błąd ustawiania strefy czaowej:{exception}" msgstr "Błąd ustawiania strefy czaowej:{exception}"
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "Strefa czasowa ustawiona" msgstr "Strefa czasowa ustawiona"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2022-09-14 17:19+0000\n" "PO-Revision-Date: 2022-09-14 17:19+0000\n"
"Last-Translator: ikmaak <info@ikmaak.nl>\n" "Last-Translator: ikmaak <info@ikmaak.nl>\n"
"Language-Team: Portuguese <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Portuguese <https://hosted.weblate.org/projects/freedombox/"
@ -1372,12 +1372,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "" msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2022-10-10 18:05+0000\n" "PO-Revision-Date: 2022-10-10 18:05+0000\n"
"Last-Translator: Nikita Epifanov <nikgreens@protonmail.com>\n" "Last-Translator: Nikita Epifanov <nikgreens@protonmail.com>\n"
"Language-Team: Russian <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Russian <https://hosted.weblate.org/projects/freedombox/"
@ -1427,12 +1427,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "-- не выбран часовой пояс --" msgstr "-- не выбран часовой пояс --"
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "Ошибка установки часового пояса: {exception}" msgstr "Ошибка установки часового пояса: {exception}"
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "Смена часового пояса" msgstr "Смена часового пояса"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2021-04-27 13:32+0000\n" "PO-Revision-Date: 2021-04-27 13:32+0000\n"
"Last-Translator: HelaBasa <R45XvezA@protonmail.ch>\n" "Last-Translator: HelaBasa <R45XvezA@protonmail.ch>\n"
"Language-Team: Sinhala <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Sinhala <https://hosted.weblate.org/projects/freedombox/"
@ -1283,12 +1283,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "" msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2022-09-14 17:19+0000\n" "PO-Revision-Date: 2022-09-14 17:19+0000\n"
"Last-Translator: ikmaak <info@ikmaak.nl>\n" "Last-Translator: ikmaak <info@ikmaak.nl>\n"
"Language-Team: Slovenian <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Slovenian <https://hosted.weblate.org/projects/freedombox/"
@ -1433,12 +1433,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "" msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2023-02-25 11:36+0000\n" "PO-Revision-Date: 2023-02-25 11:36+0000\n"
"Last-Translator: Besnik Bleta <besnik@programeshqip.org>\n" "Last-Translator: Besnik Bleta <besnik@programeshqip.org>\n"
"Language-Team: Albanian <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Albanian <https://hosted.weblate.org/projects/freedombox/"
@ -1426,12 +1426,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "-- pa zonë kohore të ujdisur --" msgstr "-- pa zonë kohore të ujdisur --"
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "Gabim në ujdisje zone kohore: {exception}" msgstr "Gabim në ujdisje zone kohore: {exception}"
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "Zona kohore u caktua" msgstr "Zona kohore u caktua"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2022-09-14 17:20+0000\n" "PO-Revision-Date: 2022-09-14 17:20+0000\n"
"Last-Translator: ikmaak <info@ikmaak.nl>\n" "Last-Translator: ikmaak <info@ikmaak.nl>\n"
"Language-Team: Serbian <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Serbian <https://hosted.weblate.org/projects/freedombox/"
@ -1364,12 +1364,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "" msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2023-02-26 18:38+0000\n" "PO-Revision-Date: 2023-02-26 18:38+0000\n"
"Last-Translator: Michael Breidenbach <leahc@tutanota.com>\n" "Last-Translator: Michael Breidenbach <leahc@tutanota.com>\n"
"Language-Team: Swedish <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Swedish <https://hosted.weblate.org/projects/freedombox/"
@ -1420,12 +1420,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "-- ingen tidszon inställd --" msgstr "-- ingen tidszon inställd --"
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "Fel i inställning av tidszon: {exception}" msgstr "Fel i inställning av tidszon: {exception}"
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "Tidszon inställd" msgstr "Tidszon inställd"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -1282,12 +1282,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "" msgstr ""
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "" msgstr ""

View File

@ -9,7 +9,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: FreedomBox UI\n" "Project-Id-Version: FreedomBox UI\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2022-03-02 12:27+0000\n" "PO-Revision-Date: 2022-03-02 12:27+0000\n"
"Last-Translator: James Valleroy <jvalleroy@mailbox.org>\n" "Last-Translator: James Valleroy <jvalleroy@mailbox.org>\n"
"Language-Team: Telugu <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Telugu <https://hosted.weblate.org/projects/freedombox/"
@ -1382,12 +1382,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "-- ఏ సమయమండలం అమర్చలేదు --" msgstr "-- ఏ సమయమండలం అమర్చలేదు --"
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "సమయమండలం అమర్పులోపం: {exception}" msgstr "సమయమండలం అమర్పులోపం: {exception}"
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "సమయమండలం ఏర్పాటు చేయబడినది" msgstr "సమయమండలం ఏర్పాటు చేయబడినది"

View File

@ -6,7 +6,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2023-02-16 19:39+0000\n" "PO-Revision-Date: 2023-02-16 19:39+0000\n"
"Last-Translator: Burak Yavuz <hitowerdigit@hotmail.com>\n" "Last-Translator: Burak Yavuz <hitowerdigit@hotmail.com>\n"
"Language-Team: Turkish <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Turkish <https://hosted.weblate.org/projects/freedombox/"
@ -1413,12 +1413,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "-- ayarlı saat dilimi yok --" msgstr "-- ayarlı saat dilimi yok --"
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "Saat dilimi ayarlanırken hata oldu: {exception}" msgstr "Saat dilimi ayarlanırken hata oldu: {exception}"
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "Saat dilimi ayarlandı" msgstr "Saat dilimi ayarlandı"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2023-02-16 19:39+0000\n" "PO-Revision-Date: 2023-02-16 19:39+0000\n"
"Last-Translator: Ihor Hordiichuk <igor_ck@outlook.com>\n" "Last-Translator: Ihor Hordiichuk <igor_ck@outlook.com>\n"
"Language-Team: Ukrainian <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Ukrainian <https://hosted.weblate.org/projects/freedombox/"
@ -1421,12 +1421,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "-- часовий пояс не обрано --" msgstr "-- часовий пояс не обрано --"
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "Помилка задавання часового поясу: {exception}" msgstr "Помилка задавання часового поясу: {exception}"
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "Часовий пояс задано" msgstr "Часовий пояс задано"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2021-07-28 08:34+0000\n" "PO-Revision-Date: 2021-07-28 08:34+0000\n"
"Last-Translator: bruh <quangtrung02hn16@gmail.com>\n" "Last-Translator: bruh <quangtrung02hn16@gmail.com>\n"
"Language-Team: Vietnamese <https://hosted.weblate.org/projects/freedombox/" "Language-Team: Vietnamese <https://hosted.weblate.org/projects/freedombox/"
@ -1427,12 +1427,12 @@ msgstr ""
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "-- không có múi giờ nào được đặt --" msgstr "-- không có múi giờ nào được đặt --"
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "Lỗi khi đặt múi giờ: {exception}" msgstr "Lỗi khi đặt múi giờ: {exception}"
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "Đã đặt múi giờ" msgstr "Đã đặt múi giờ"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Plinth\n" "Project-Id-Version: Plinth\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2022-12-07 20:48+0000\n" "PO-Revision-Date: 2022-12-07 20:48+0000\n"
"Last-Translator: Eric <hamburger1024@duck.com>\n" "Last-Translator: Eric <hamburger1024@duck.com>\n"
"Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects/" "Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects/"
@ -1349,12 +1349,12 @@ msgstr "设置您的时区来得到准确的时间戳。这将影响全系统时
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "-- 时区未设置 --" msgstr "-- 时区未设置 --"
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "设置时区错误:{exception}" msgstr "设置时区错误:{exception}"
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "时区设置" msgstr "时区设置"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-27 20:10-0500\n" "POT-Creation-Date: 2023-03-13 21:32-0400\n"
"PO-Revision-Date: 2021-12-23 12:50+0000\n" "PO-Revision-Date: 2021-12-23 12:50+0000\n"
"Last-Translator: pesder <j_h_liau@yahoo.com.tw>\n" "Last-Translator: pesder <j_h_liau@yahoo.com.tw>\n"
"Language-Team: Chinese (Traditional) <https://hosted.weblate.org/projects/" "Language-Team: Chinese (Traditional) <https://hosted.weblate.org/projects/"
@ -1362,12 +1362,12 @@ msgstr "設定您的時區以取得正確的時刻戳記。這會設定系統層
msgid "-- no time zone set --" msgid "-- no time zone set --"
msgstr "-- 尚未設定時區 --" msgstr "-- 尚未設定時區 --"
#: plinth/modules/datetime/views.py:49 #: plinth/modules/datetime/views.py:53
#, python-brace-format #, python-brace-format
msgid "Error setting time zone: {exception}" msgid "Error setting time zone: {exception}"
msgstr "設定時區時發生錯誤︰{exception}" msgstr "設定時區時發生錯誤︰{exception}"
#: plinth/modules/datetime/views.py:52 #: plinth/modules/datetime/views.py:56
msgid "Time zone set" msgid "Time zone set"
msgstr "時區設定" msgstr "時區設定"

View File

@ -2,7 +2,7 @@
"""FreedomBox app for configuring date and time.""" """FreedomBox app for configuring date and time."""
import logging import logging
import pathlib import subprocess
from django.contrib import messages from django.contrib import messages
from django.utils.translation import gettext as _ from django.utils.translation import gettext as _
@ -24,15 +24,19 @@ class DateTimeAppView(AppView):
def get_initial(self): def get_initial(self):
"""Return the values to fill in the form.""" """Return the values to fill in the form."""
status = super().get_initial() status = super().get_initial()
status['time_zone'] = self.get_current_time_zone() status['time_zone'] = self.get_current_time_zone() or 'none'
return status return status
@staticmethod @staticmethod
def get_current_time_zone(): def get_current_time_zone():
"""Get current time zone.""" """Get current time zone."""
path = pathlib.Path('/etc/timezone') try:
time_zone = path.read_text(encoding='utf-8').rstrip() process = subprocess.run(
return time_zone or 'none' ['timedatectl', 'show', '--property', 'Timezone', '--value'],
stdout=subprocess.PIPE, check=True)
return process.stdout.decode().strip()
except subprocess.CalledProcessError:
return None
def form_valid(self, form): def form_valid(self, form):
"""Change the timezone.""" """Change the timezone."""

View File

@ -41,7 +41,7 @@ class SambaApp(app_module.App):
app_id = 'samba' app_id = 'samba'
_version = 2 _version = 3
def __init__(self): def __init__(self):
"""Create components for the app.""" """Create components for the app."""
@ -99,7 +99,8 @@ class SambaApp(app_module.App):
"""Install and configure the app.""" """Install and configure the app."""
super().setup(old_version) super().setup(old_version)
privileged.setup() privileged.setup()
self.enable() if not old_version:
self.enable()
class SambaBackupRestore(BackupRestore): class SambaBackupRestore(BackupRestore):

View File

@ -39,6 +39,14 @@ CONF = r'''
deadtime = 5 deadtime = 5
# enable registry based shares # enable registry based shares
registry shares = yes registry shares = yes
# Make sure Samba isn't available over the Internet.
# https://en.wikipedia.org/wiki/localhost
# https://en.wikipedia.org/wiki/Private_network
# https://en.wikipedia.org/wiki/Link-local_address
# https://en.wikipedia.org/wiki/Unique_local_address
access control = yes
hosts allow = 127.0.0.0/8 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 169.254.0.0/16 [::1] [fc00::]/7 [fe80::]
hosts deny = all
''' # noqa: E501 ''' # noqa: E501

View File

@ -113,7 +113,10 @@ def dump_database():
"""Dump database to file.""" """Dump database to file."""
os.makedirs(os.path.dirname(DB_BACKUP_FILE), exist_ok=True) os.makedirs(os.path.dirname(DB_BACKUP_FILE), exist_ok=True)
with open(DB_BACKUP_FILE, 'w', encoding='utf-8') as db_backup_file: with open(DB_BACKUP_FILE, 'w', encoding='utf-8') as db_backup_file:
_run_as_postgres(['pg_dump', 'ttrss'], stdout=db_backup_file) # XXX: Currently, ttrss is the only app that uses
# PostgreSQL. If another app was using it, then its data would
# be included in the backup here.
_run_as_postgres(['pg_dumpall'], stdout=db_backup_file)
@privileged @privileged