mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
- ugettext functions will be removed in Django 4.0. Each use emits a warning when running with Django 3.2. Since we have warnings enabled in developer mode, we see quite a few messages because of this. - ugettext is already a simple alias of gettext. So, no regressions are expected. Tests: - Accessing an affected app in UI with Django 3.2 and Django 2.2 works fine. - Using Django 3.2 there are no warnings related to removal of ugettext functions. - Ran regular unit tests. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
45 lines
1.1 KiB
Python
45 lines
1.1 KiB
Python
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
from plinth import cfg
|
|
from plinth.utils import format_lazy
|
|
|
|
clients = [{
|
|
'name':
|
|
_('Gobby'),
|
|
'description':
|
|
_('Gobby is a collaborative text editor'),
|
|
'usage':
|
|
format_lazy(
|
|
_('Start Gobby and select "Connect to Server" and '
|
|
'enter your {box_name}\'s domain name.'),
|
|
box_name=_(cfg.box_name)),
|
|
'platforms': [{
|
|
'type': 'download',
|
|
'os': 'gnu-linux',
|
|
'url': 'https://github.com/gobby/gobby/wiki/Download'
|
|
}, {
|
|
'type': 'download',
|
|
'os': 'windows',
|
|
'url': 'https://github.com/gobby/gobby/wiki/Download'
|
|
}, {
|
|
'type': 'package',
|
|
'format': 'deb',
|
|
'name': 'gobby'
|
|
}]
|
|
}]
|
|
|
|
backup = {
|
|
'data': {
|
|
'directories': ['/var/lib/infinoted/']
|
|
},
|
|
'secrets': {
|
|
'files': [
|
|
'/etc/infinoted/infinoted-cert.pem',
|
|
'/etc/infinoted/infinoted-key.pem'
|
|
],
|
|
},
|
|
'services': ['infinoted']
|
|
}
|