From 5c08cd2c3dcbc2f1f177f7a847207a87311ee466 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 13 Nov 2023 11:12:40 +0100 Subject: [PATCH] fix more translate --- idhub/admin/views.py | 14 +- idhub/templates/idhub/base.html | 20 +- idhub/templates/idhub/base_admin.html | 34 +-- locale/ca_ES/LC_MESSAGES/django.po | 125 +++++++---- locale/es/LC_MESSAGES/django.mo | Bin 465 -> 0 bytes locale/es/LC_MESSAGES/django.po | 304 +++++++++++++++----------- 6 files changed, 300 insertions(+), 197 deletions(-) delete mode 100644 locale/es/LC_MESSAGES/django.mo diff --git a/idhub/admin/views.py b/idhub/admin/views.py index 2a9a87e..634a703 100644 --- a/idhub/admin/views.py +++ b/idhub/admin/views.py @@ -161,7 +161,7 @@ class PeopleEditView(PeopleView, UpdateView): class PeopleRegisterView(NotifyActivateUserByEmail, People, CreateView): template_name = "idhub/admin/people_register.html" - subtitle = _('People Register') + subtitle = _('Add user') icon = 'bi bi-person' model = User fields = ('first_name', 'last_name', 'email') @@ -330,7 +330,7 @@ class PeopleRolDeleteView(PeopleView): class RolesView(AccessControl): template_name = "idhub/admin/roles.html" - subtitle = _('Role Management') + subtitle = _('Manage roles') icon = '' def get_context_data(self, **kwargs): @@ -393,7 +393,7 @@ class RolDeleteView(AccessControl): class ServicesView(AccessControl): template_name = "idhub/admin/services.html" - subtitle = _('Service management') + subtitle = _('Manage services') icon = '' def get_context_data(self, **kwargs): @@ -456,7 +456,7 @@ class ServiceDeleteView(AccessControl): class CredentialsView(Credentials): template_name = "idhub/admin/credentials.html" - subtitle = _('Credential list') + subtitle = _('View credentials') icon = '' def get_context_data(self, **kwargs): @@ -542,7 +542,7 @@ class DeleteCredentialsView(Credentials): class DidsView(Credentials): template_name = "idhub/admin/dids.html" - subtitle = _('Organization Identities (DID)') + subtitle = _('Manage Identities (DID)') icon = 'bi bi-patch-check-fill' wallet = True @@ -610,7 +610,7 @@ class DidDeleteView(Credentials, DeleteView): class WalletCredentialsView(Credentials): template_name = "idhub/admin/wallet_credentials.html" - subtitle = _('Credential management') + subtitle = _('View org. credentials') icon = 'bi bi-patch-check-fill' wallet = True @@ -756,7 +756,7 @@ class SchemasImportAddView(SchemasMix): class ImportView(ImportExport, TemplateView): template_name = "idhub/admin/import.html" - subtitle = _('Import') + subtitle = _('Import data') icon = '' def get_context_data(self, **kwargs): diff --git a/idhub/templates/idhub/base.html b/idhub/templates/idhub/base.html index f279027..6ea7710 100644 --- a/idhub/templates/idhub/base.html +++ b/idhub/templates/idhub/base.html @@ -66,29 +66,29 @@