1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-02-08 05:57:39 +03:00

Some more minor fixes to literals & translations

This commit is contained in:
Adolfo Gómez García 2015-02-02 11:43:56 +01:00
parent ab5f51a3b1
commit 7d44bd7b65
28 changed files with 142 additions and 130 deletions

View File

@ -46,6 +46,9 @@ logger = logging.getLogger(__name__)
class Providers(ModelHandler):
'''
Providers REST handler
'''
model = Provider
detail = {'services': DetailServices}
custom_methods = [('allservices', False), ('service', False), ('maintenance', True)]
@ -58,7 +61,7 @@ class Providers(ModelHandler):
table_fields = [
{'name': {'title': _('Name'), 'type': 'iconType'}},
{'comments': {'title': _('Comments')}},
{'maintenance_state': {'title': _('Maintenance')}},
{'maintenance_state': {'title': _('Status')}},
{'services_count': {'title': _('Services'), 'type': 'numeric', 'width': '5em'}},
{'user_services_count': {'title': _('User Services'), 'type': 'numeric', 'width': '8em'}},
]
@ -98,20 +101,20 @@ class Providers(ModelHandler):
def getGui(self, type_):
try:
return self.addDefaultFields(services.factory().lookup(type_).guiDescription(), ['name', 'comments'])
except:
except Exception:
raise NotFound('type not found')
def allservices(self):
for s in Service.objects.all():
try:
yield DetailServices.serviceToDict(s, True)
except:
except Exception:
logger.exception('Passed service cause type is unknown')
def service(self):
try:
return DetailServices.serviceToDict(Service.objects.get(uuid=self._args[1]), True)
except:
except Exception:
raise RequestError(ugettext('Service not found'))
def maintenance(self, item):

View File

@ -64,6 +64,7 @@ class Services(DetailHandler):
'type_name': _(item.getType().name()),
'deployed_services_count': item.deployedServices.count(),
'user_services_count': UserService.objects.filter(deployed_service__service=item).count(),
'maintenance_mode': item.provider.maintenance_mode,
}
if full:
info = item.getType()
@ -94,6 +95,9 @@ class Services(DetailHandler):
logger.exception('itemId {}'.format(item))
self.invalidItemException()
def getRowStyle(self, parent):
return {'field': 'maintenance_mode', 'prefix': 'row-maintenance-'}
def deleteIncompleteService(self, service):
if service is not None:
try:

View File

@ -32,7 +32,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 11:30+0100\n"
"POT-Creation-Date: 2015-02-02 11:42+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -64,7 +64,7 @@ msgstr "Aktuelle Authentifikatoren"
#: REST/methods/authenticators.py:58 REST/methods/images.py:58
#: REST/methods/networks.py:59 REST/methods/osmanagers.py:57
#: REST/methods/providers.py:59 REST/methods/services_pools.py:65
#: REST/methods/providers.py:62 REST/methods/services_pools.py:65
#: REST/methods/transports.py:55 REST/methods/user_services.py:203
#: REST/methods/user_services.py:232 REST/methods/users_groups.py:94
#: REST/model.py:108 templates/uds/admin/tmpl/user.html:29
@ -73,7 +73,7 @@ msgid "Name"
msgstr "Name"
#: REST/methods/authenticators.py:59 REST/methods/osmanagers.py:58
#: REST/methods/providers.py:60 REST/methods/services.py:155
#: REST/methods/providers.py:63 REST/methods/services.py:159
#: REST/methods/services_pools.py:69 REST/methods/transports.py:56
#: REST/methods/user_services.py:234 REST/methods/users_groups.py:95
#: REST/methods/users_groups.py:208 REST/model.py:115
@ -159,15 +159,16 @@ msgstr ""
"Kann nicht geändert werden ein OS-Manager mit Dienstleistungen verbundenen "
"Pools"
#: REST/methods/providers.py:55
#: REST/methods/providers.py:58
msgid "Service providers"
msgstr "Service-Provider"
#: REST/methods/providers.py:61
msgid "Maintenance"
msgstr "Wartung"
#: REST/methods/providers.py:64
#| msgid "State"
msgid "Status"
msgstr "Status"
#: REST/methods/providers.py:62 templates/uds/admin/snippets/navbar.html:18
#: REST/methods/providers.py:65 templates/uds/admin/snippets/navbar.html:18
#: templates/uds/admin/tmpl/dashboard.html:61
#: templates/uds/admin/tmpl/providers.html:4
#: templates/uds/admin/tmpl/providers.html:7
@ -176,45 +177,45 @@ msgstr "Wartung"
msgid "Services"
msgstr "Dienstleistungen"
#: REST/methods/providers.py:63
#: REST/methods/providers.py:66
msgid "User Services"
msgstr "Benutzerdienste"
#: REST/methods/providers.py:115 web/errors.py:70
#: REST/methods/providers.py:118 web/errors.py:70
msgid "Service not found"
msgstr "-Dienst nicht gefunden"
#: REST/methods/services.py:122
#: REST/methods/services.py:126
msgid "Element already exists (duplicate key error)"
msgstr "Element ist bereits vorhanden (doppelte Schlüsselfehler)"
#: REST/methods/services.py:125
#: REST/methods/services.py:129
#, python-brace-format
msgid "Input error: {0}"
msgstr "Eingabefehler: {0}"
#: REST/methods/services.py:148
#: REST/methods/services.py:152
#, python-brace-format
msgid "Services of {0}"
msgstr "Dienstleistungen von {0}"
#: REST/methods/services.py:150
#: REST/methods/services.py:154
msgid "Current services"
msgstr "Aktuelle Dienstleistungen"
#: REST/methods/services.py:154
#: REST/methods/services.py:158
msgid "Service name"
msgstr "Dienstnamen"
#: REST/methods/services.py:156 REST/methods/user_services.py:233
#: REST/methods/services.py:160 REST/methods/user_services.py:233
msgid "Type"
msgstr "Typ"
#: REST/methods/services.py:157
#: REST/methods/services.py:161
msgid "Deployed services"
msgstr "Bereitgestellten Dienste"
#: REST/methods/services.py:158 templates/uds/admin/tmpl/dashboard.html:88
#: REST/methods/services.py:162 templates/uds/admin/tmpl/dashboard.html:88
msgid "User services"
msgstr "Benutzerdienste"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 11:31+0100\n"
"POT-Creation-Date: 2015-02-02 11:43+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -322,8 +322,8 @@ msgid "In Maintenance"
msgstr "In der Pflege"
#: static/tmp_js/gui-d-services.js:67
msgid "Enabled"
msgstr "Aktiviert"
msgid "Normal"
msgstr "Normal"
#: static/tmp_js/gui-d-services.js:114
msgid "Edit service"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 11:30+0100\n"
"POT-Creation-Date: 2015-02-02 11:42+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -39,7 +39,7 @@ msgstr ""
#: REST/methods/authenticators.py:58 REST/methods/images.py:58
#: REST/methods/networks.py:59 REST/methods/osmanagers.py:57
#: REST/methods/providers.py:59 REST/methods/services_pools.py:65
#: REST/methods/providers.py:62 REST/methods/services_pools.py:65
#: REST/methods/transports.py:55 REST/methods/user_services.py:203
#: REST/methods/user_services.py:232 REST/methods/users_groups.py:94
#: REST/model.py:108 templates/uds/admin/tmpl/user.html:29
@ -48,7 +48,7 @@ msgid "Name"
msgstr ""
#: REST/methods/authenticators.py:59 REST/methods/osmanagers.py:58
#: REST/methods/providers.py:60 REST/methods/services.py:155
#: REST/methods/providers.py:63 REST/methods/services.py:159
#: REST/methods/services_pools.py:69 REST/methods/transports.py:56
#: REST/methods/user_services.py:234 REST/methods/users_groups.py:95
#: REST/methods/users_groups.py:208 REST/model.py:115
@ -128,15 +128,15 @@ msgstr ""
msgid "Can't modify an OS Manager with services pools associated"
msgstr ""
#: REST/methods/providers.py:55
#: REST/methods/providers.py:58
msgid "Service providers"
msgstr ""
#: REST/methods/providers.py:61
msgid "Maintenance"
#: REST/methods/providers.py:64
msgid "Status"
msgstr ""
#: REST/methods/providers.py:62 templates/uds/admin/snippets/navbar.html:18
#: REST/methods/providers.py:65 templates/uds/admin/snippets/navbar.html:18
#: templates/uds/admin/tmpl/dashboard.html:61
#: templates/uds/admin/tmpl/providers.html:4
#: templates/uds/admin/tmpl/providers.html:7
@ -145,45 +145,45 @@ msgstr ""
msgid "Services"
msgstr ""
#: REST/methods/providers.py:63
#: REST/methods/providers.py:66
msgid "User Services"
msgstr ""
#: REST/methods/providers.py:115 web/errors.py:70
#: REST/methods/providers.py:118 web/errors.py:70
msgid "Service not found"
msgstr ""
#: REST/methods/services.py:122
#: REST/methods/services.py:126
msgid "Element already exists (duplicate key error)"
msgstr ""
#: REST/methods/services.py:125
#: REST/methods/services.py:129
#, python-brace-format
msgid "Input error: {0}"
msgstr ""
#: REST/methods/services.py:148
#: REST/methods/services.py:152
#, python-brace-format
msgid "Services of {0}"
msgstr ""
#: REST/methods/services.py:150
#: REST/methods/services.py:154
msgid "Current services"
msgstr ""
#: REST/methods/services.py:154
#: REST/methods/services.py:158
msgid "Service name"
msgstr ""
#: REST/methods/services.py:156 REST/methods/user_services.py:233
#: REST/methods/services.py:160 REST/methods/user_services.py:233
msgid "Type"
msgstr ""
#: REST/methods/services.py:157
#: REST/methods/services.py:161
msgid "Deployed services"
msgstr ""
#: REST/methods/services.py:158 templates/uds/admin/tmpl/dashboard.html:88
#: REST/methods/services.py:162 templates/uds/admin/tmpl/dashboard.html:88
msgid "User services"
msgstr ""

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 11:31+0100\n"
"POT-Creation-Date: 2015-02-02 11:43+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -321,7 +321,7 @@ msgid "In Maintenance"
msgstr ""
#: static/tmp_js/gui-d-services.js:67
msgid "Enabled"
msgid "Normal"
msgstr ""
#: static/tmp_js/gui-d-services.js:114

View File

@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: OpenUDS\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 11:30+0100\n"
"POT-Creation-Date: 2015-02-02 11:42+0100\n"
"PO-Revision-Date: 2014-06-03 11:05+0000\n"
"Last-Translator: blafuente <blafuente@virtualcable.es>\n"
"Language-Team: Spanish (http://www.transifex.com/projects/p/openuds/language/"
@ -45,7 +45,7 @@ msgstr "Autenticadores actuales"
#: REST/methods/authenticators.py:58 REST/methods/images.py:58
#: REST/methods/networks.py:59 REST/methods/osmanagers.py:57
#: REST/methods/providers.py:59 REST/methods/services_pools.py:65
#: REST/methods/providers.py:62 REST/methods/services_pools.py:65
#: REST/methods/transports.py:55 REST/methods/user_services.py:203
#: REST/methods/user_services.py:232 REST/methods/users_groups.py:94
#: REST/model.py:108 templates/uds/admin/tmpl/user.html:29
@ -54,7 +54,7 @@ msgid "Name"
msgstr "Nombre"
#: REST/methods/authenticators.py:59 REST/methods/osmanagers.py:58
#: REST/methods/providers.py:60 REST/methods/services.py:155
#: REST/methods/providers.py:63 REST/methods/services.py:159
#: REST/methods/services_pools.py:69 REST/methods/transports.py:56
#: REST/methods/user_services.py:234 REST/methods/users_groups.py:95
#: REST/methods/users_groups.py:208 REST/model.py:115
@ -136,15 +136,16 @@ msgstr "No se puede eliminar un gestor de OS servicios de piscinas asociados"
msgid "Can't modify an OS Manager with services pools associated"
msgstr "No se puede modificar un gestor de OS servicios de piscinas asociados"
#: REST/methods/providers.py:55
#: REST/methods/providers.py:58
msgid "Service providers"
msgstr "Proveedores de servicios"
#: REST/methods/providers.py:61
msgid "Maintenance"
msgstr "Mantenimiento"
#: REST/methods/providers.py:64
#| msgid "State"
msgid "Status"
msgstr "Estado"
#: REST/methods/providers.py:62 templates/uds/admin/snippets/navbar.html:18
#: REST/methods/providers.py:65 templates/uds/admin/snippets/navbar.html:18
#: templates/uds/admin/tmpl/dashboard.html:61
#: templates/uds/admin/tmpl/providers.html:4
#: templates/uds/admin/tmpl/providers.html:7
@ -153,45 +154,45 @@ msgstr "Mantenimiento"
msgid "Services"
msgstr "Servicios"
#: REST/methods/providers.py:63
#: REST/methods/providers.py:66
msgid "User Services"
msgstr "Servicios de usuario"
#: REST/methods/providers.py:115 web/errors.py:70
#: REST/methods/providers.py:118 web/errors.py:70
msgid "Service not found"
msgstr "Servicio no encontrado"
#: REST/methods/services.py:122
#: REST/methods/services.py:126
msgid "Element already exists (duplicate key error)"
msgstr "Elemento ya existe (error de clave duplicada)"
#: REST/methods/services.py:125
#: REST/methods/services.py:129
#, python-brace-format
msgid "Input error: {0}"
msgstr "Error de entrada: {0}"
#: REST/methods/services.py:148
#: REST/methods/services.py:152
#, python-brace-format
msgid "Services of {0}"
msgstr "Servicios de {0}"
#: REST/methods/services.py:150
#: REST/methods/services.py:154
msgid "Current services"
msgstr "Servicios actuales"
#: REST/methods/services.py:154
#: REST/methods/services.py:158
msgid "Service name"
msgstr "Nombre del servicio"
#: REST/methods/services.py:156 REST/methods/user_services.py:233
#: REST/methods/services.py:160 REST/methods/user_services.py:233
msgid "Type"
msgstr "Tipo"
#: REST/methods/services.py:157
#: REST/methods/services.py:161
msgid "Deployed services"
msgstr "Servicios desplegados"
#: REST/methods/services.py:158 templates/uds/admin/tmpl/dashboard.html:88
#: REST/methods/services.py:162 templates/uds/admin/tmpl/dashboard.html:88
msgid "User services"
msgstr "Servicios de usuario"

View File

@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: OpenUDS\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 11:31+0100\n"
"POT-Creation-Date: 2015-02-02 11:43+0100\n"
"PO-Revision-Date: 2014-06-03 11:17+0000\n"
"Last-Translator: blafuente <blafuente@virtualcable.es>\n"
"Language-Team: Spanish (http://www.transifex.com/projects/p/openuds/language/"
@ -326,8 +326,8 @@ msgid "In Maintenance"
msgstr "En mantenimiento"
#: static/tmp_js/gui-d-services.js:67
msgid "Enabled"
msgstr "Habilitado"
msgid "Normal"
msgstr "Normal"
#: static/tmp_js/gui-d-services.js:114
msgid "Edit service"

View File

@ -32,7 +32,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 11:30+0100\n"
"POT-Creation-Date: 2015-02-02 11:42+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -64,7 +64,7 @@ msgstr "Authentificateurs actuels"
#: REST/methods/authenticators.py:58 REST/methods/images.py:58
#: REST/methods/networks.py:59 REST/methods/osmanagers.py:57
#: REST/methods/providers.py:59 REST/methods/services_pools.py:65
#: REST/methods/providers.py:62 REST/methods/services_pools.py:65
#: REST/methods/transports.py:55 REST/methods/user_services.py:203
#: REST/methods/user_services.py:232 REST/methods/users_groups.py:94
#: REST/model.py:108 templates/uds/admin/tmpl/user.html:29
@ -73,7 +73,7 @@ msgid "Name"
msgstr "Nom"
#: REST/methods/authenticators.py:59 REST/methods/osmanagers.py:58
#: REST/methods/providers.py:60 REST/methods/services.py:155
#: REST/methods/providers.py:63 REST/methods/services.py:159
#: REST/methods/services_pools.py:69 REST/methods/transports.py:56
#: REST/methods/user_services.py:234 REST/methods/users_groups.py:95
#: REST/methods/users_groups.py:208 REST/model.py:115
@ -155,15 +155,16 @@ msgstr "Impossible de supprimer un gestionnaire d'OS avec services associés"
msgid "Can't modify an OS Manager with services pools associated"
msgstr "Impossible de modifier un gestionnaire de l'OS avec services associés"
#: REST/methods/providers.py:55
#: REST/methods/providers.py:58
msgid "Service providers"
msgstr "Fournisseurs de services"
#: REST/methods/providers.py:61
msgid "Maintenance"
msgstr "Entretien"
#: REST/methods/providers.py:64
#| msgid "State"
msgid "Status"
msgstr "Statut"
#: REST/methods/providers.py:62 templates/uds/admin/snippets/navbar.html:18
#: REST/methods/providers.py:65 templates/uds/admin/snippets/navbar.html:18
#: templates/uds/admin/tmpl/dashboard.html:61
#: templates/uds/admin/tmpl/providers.html:4
#: templates/uds/admin/tmpl/providers.html:7
@ -172,45 +173,45 @@ msgstr "Entretien"
msgid "Services"
msgstr "Services"
#: REST/methods/providers.py:63
#: REST/methods/providers.py:66
msgid "User Services"
msgstr "Services aux utilisateurs"
#: REST/methods/providers.py:115 web/errors.py:70
#: REST/methods/providers.py:118 web/errors.py:70
msgid "Service not found"
msgstr "Service introuvable"
#: REST/methods/services.py:122
#: REST/methods/services.py:126
msgid "Element already exists (duplicate key error)"
msgstr "Élément existe déjà (erreur de clé en double)"
#: REST/methods/services.py:125
#: REST/methods/services.py:129
#, python-brace-format
msgid "Input error: {0}"
msgstr "Erreur d'entrée : {0}"
#: REST/methods/services.py:148
#: REST/methods/services.py:152
#, python-brace-format
msgid "Services of {0}"
msgstr "Services de {0}"
#: REST/methods/services.py:150
#: REST/methods/services.py:154
msgid "Current services"
msgstr "Services actuels"
#: REST/methods/services.py:154
#: REST/methods/services.py:158
msgid "Service name"
msgstr "Nom du service"
#: REST/methods/services.py:156 REST/methods/user_services.py:233
#: REST/methods/services.py:160 REST/methods/user_services.py:233
msgid "Type"
msgstr "Type"
#: REST/methods/services.py:157
#: REST/methods/services.py:161
msgid "Deployed services"
msgstr "Services déployés"
#: REST/methods/services.py:158 templates/uds/admin/tmpl/dashboard.html:88
#: REST/methods/services.py:162 templates/uds/admin/tmpl/dashboard.html:88
msgid "User services"
msgstr "Services aux utilisateurs"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 11:31+0100\n"
"POT-Creation-Date: 2015-02-02 11:43+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -323,8 +323,8 @@ msgid "In Maintenance"
msgstr "Dans l'entretien"
#: static/tmp_js/gui-d-services.js:67
msgid "Enabled"
msgstr "Activé"
msgid "Normal"
msgstr "Normal"
#: static/tmp_js/gui-d-services.js:114
msgid "Edit service"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 11:30+0100\n"
"POT-Creation-Date: 2015-02-02 11:42+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -40,7 +40,7 @@ msgstr "Autenticatori correnti"
#: REST/methods/authenticators.py:58 REST/methods/images.py:58
#: REST/methods/networks.py:59 REST/methods/osmanagers.py:57
#: REST/methods/providers.py:59 REST/methods/services_pools.py:65
#: REST/methods/providers.py:62 REST/methods/services_pools.py:65
#: REST/methods/transports.py:55 REST/methods/user_services.py:203
#: REST/methods/user_services.py:232 REST/methods/users_groups.py:94
#: REST/model.py:108 templates/uds/admin/tmpl/user.html:29
@ -49,7 +49,7 @@ msgid "Name"
msgstr "Nome"
#: REST/methods/authenticators.py:59 REST/methods/osmanagers.py:58
#: REST/methods/providers.py:60 REST/methods/services.py:155
#: REST/methods/providers.py:63 REST/methods/services.py:159
#: REST/methods/services_pools.py:69 REST/methods/transports.py:56
#: REST/methods/user_services.py:234 REST/methods/users_groups.py:95
#: REST/methods/users_groups.py:208 REST/model.py:115
@ -131,15 +131,16 @@ msgstr "Non è possibile eliminare un OS Manager con servizi piscine associate"
msgid "Can't modify an OS Manager with services pools associated"
msgstr "Non è possibile modificare un OS Manager con servizi piscine associate"
#: REST/methods/providers.py:55
#: REST/methods/providers.py:58
msgid "Service providers"
msgstr "Fornitori di servizi"
#: REST/methods/providers.py:61
msgid "Maintenance"
msgstr "Manutenzione"
#: REST/methods/providers.py:64
#| msgid "State"
msgid "Status"
msgstr "Stato"
#: REST/methods/providers.py:62 templates/uds/admin/snippets/navbar.html:18
#: REST/methods/providers.py:65 templates/uds/admin/snippets/navbar.html:18
#: templates/uds/admin/tmpl/dashboard.html:61
#: templates/uds/admin/tmpl/providers.html:4
#: templates/uds/admin/tmpl/providers.html:7
@ -148,45 +149,45 @@ msgstr "Manutenzione"
msgid "Services"
msgstr "Servizi"
#: REST/methods/providers.py:63
#: REST/methods/providers.py:66
msgid "User Services"
msgstr "Servizi utente"
#: REST/methods/providers.py:115 web/errors.py:70
#: REST/methods/providers.py:118 web/errors.py:70
msgid "Service not found"
msgstr "Servizio non trovato"
#: REST/methods/services.py:122
#: REST/methods/services.py:126
msgid "Element already exists (duplicate key error)"
msgstr "Elemento già esistente (errore chiave duplicata)"
#: REST/methods/services.py:125
#: REST/methods/services.py:129
#, python-brace-format
msgid "Input error: {0}"
msgstr "Errore di input: {0}"
#: REST/methods/services.py:148
#: REST/methods/services.py:152
#, python-brace-format
msgid "Services of {0}"
msgstr "Servizi di {0}"
#: REST/methods/services.py:150
#: REST/methods/services.py:154
msgid "Current services"
msgstr "Servizi attuali"
#: REST/methods/services.py:154
#: REST/methods/services.py:158
msgid "Service name"
msgstr "Nome servizio"
#: REST/methods/services.py:156 REST/methods/user_services.py:233
#: REST/methods/services.py:160 REST/methods/user_services.py:233
msgid "Type"
msgstr "Tipo"
#: REST/methods/services.py:157
#: REST/methods/services.py:161
msgid "Deployed services"
msgstr "Servizi distribuiti"
#: REST/methods/services.py:158 templates/uds/admin/tmpl/dashboard.html:88
#: REST/methods/services.py:162 templates/uds/admin/tmpl/dashboard.html:88
msgid "User services"
msgstr "Servizi utente"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 11:31+0100\n"
"POT-Creation-Date: 2015-02-02 11:43+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -322,8 +322,8 @@ msgid "In Maintenance"
msgstr "In manutenzione"
#: static/tmp_js/gui-d-services.js:67
msgid "Enabled"
msgstr "Abilitato"
msgid "Normal"
msgstr "Normale"
#: static/tmp_js/gui-d-services.js:114
msgid "Edit service"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 11:30+0100\n"
"POT-Creation-Date: 2015-02-02 11:42+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -40,7 +40,7 @@ msgstr "Autenticadores atuais"
#: REST/methods/authenticators.py:58 REST/methods/images.py:58
#: REST/methods/networks.py:59 REST/methods/osmanagers.py:57
#: REST/methods/providers.py:59 REST/methods/services_pools.py:65
#: REST/methods/providers.py:62 REST/methods/services_pools.py:65
#: REST/methods/transports.py:55 REST/methods/user_services.py:203
#: REST/methods/user_services.py:232 REST/methods/users_groups.py:94
#: REST/model.py:108 templates/uds/admin/tmpl/user.html:29
@ -49,7 +49,7 @@ msgid "Name"
msgstr "Nome"
#: REST/methods/authenticators.py:59 REST/methods/osmanagers.py:58
#: REST/methods/providers.py:60 REST/methods/services.py:155
#: REST/methods/providers.py:63 REST/methods/services.py:159
#: REST/methods/services_pools.py:69 REST/methods/transports.py:56
#: REST/methods/user_services.py:234 REST/methods/users_groups.py:95
#: REST/methods/users_groups.py:208 REST/model.py:115
@ -135,15 +135,16 @@ msgstr ""
"Não é possível modificar um Gerenciador de sistema operacional com serviços "
"de piscinas associadas"
#: REST/methods/providers.py:55
#: REST/methods/providers.py:58
msgid "Service providers"
msgstr "Prestadores de serviços"
#: REST/methods/providers.py:61
msgid "Maintenance"
msgstr "Manutenção"
#: REST/methods/providers.py:64
#| msgid "State"
msgid "Status"
msgstr "Status"
#: REST/methods/providers.py:62 templates/uds/admin/snippets/navbar.html:18
#: REST/methods/providers.py:65 templates/uds/admin/snippets/navbar.html:18
#: templates/uds/admin/tmpl/dashboard.html:61
#: templates/uds/admin/tmpl/providers.html:4
#: templates/uds/admin/tmpl/providers.html:7
@ -152,45 +153,45 @@ msgstr "Manutenção"
msgid "Services"
msgstr "Serviços"
#: REST/methods/providers.py:63
#: REST/methods/providers.py:66
msgid "User Services"
msgstr "Serviços de usuário"
#: REST/methods/providers.py:115 web/errors.py:70
#: REST/methods/providers.py:118 web/errors.py:70
msgid "Service not found"
msgstr "Serviço não encontrado"
#: REST/methods/services.py:122
#: REST/methods/services.py:126
msgid "Element already exists (duplicate key error)"
msgstr "Elemento já existe (erro de chave duplicado)"
#: REST/methods/services.py:125
#: REST/methods/services.py:129
#, python-brace-format
msgid "Input error: {0}"
msgstr "Erro de entrada: {0}"
#: REST/methods/services.py:148
#: REST/methods/services.py:152
#, python-brace-format
msgid "Services of {0}"
msgstr "Serviços de {0}"
#: REST/methods/services.py:150
#: REST/methods/services.py:154
msgid "Current services"
msgstr "Serviços atuais"
#: REST/methods/services.py:154
#: REST/methods/services.py:158
msgid "Service name"
msgstr "Nome do serviço"
#: REST/methods/services.py:156 REST/methods/user_services.py:233
#: REST/methods/services.py:160 REST/methods/user_services.py:233
msgid "Type"
msgstr "Tipo"
#: REST/methods/services.py:157
#: REST/methods/services.py:161
msgid "Deployed services"
msgstr "Serviços implantados"
#: REST/methods/services.py:158 templates/uds/admin/tmpl/dashboard.html:88
#: REST/methods/services.py:162 templates/uds/admin/tmpl/dashboard.html:88
msgid "User services"
msgstr "Serviços de usuário"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 11:31+0100\n"
"POT-Creation-Date: 2015-02-02 11:43+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -328,8 +328,8 @@ msgstr ""
"Translate.22213748"
#: static/tmp_js/gui-d-services.js:67
msgid "Enabled"
msgstr "Habilitado"
msgid "Normal"
msgstr "Normal"
#: static/tmp_js/gui-d-services.js:114
msgid "Edit service"

View File

@ -111,7 +111,7 @@ tr.row-state-M:nth-child(2n) > td, tr.row-state-R:nth-child(2n) > td, tr.row-sta
color: #858585 !important;
}
tr.row-maintenance-true:nth-child(2n) > td {
tr.row-maintenance-true > td {
color: #FF6600 !important;
}

View File

@ -71,7 +71,7 @@ gui.providers.link = (event) ->
if value.maintenance_mode is true
value.maintenance_state = gettext('In Maintenance')
else
value.maintenance_state = gettext('Enabled')
value.maintenance_state = gettext('Normal')
return