From e2dfa664cf0ee8503c872563f1b1cdeb727a7493 Mon Sep 17 00:00:00 2001 From: Reena-cell Date: Thu, 16 Jun 2022 12:28:52 +0200 Subject: [PATCH] feature/ internalization i18n WIP --- .../templates/apicollections/index.html | 18 +- apimanager/atms/forms.py | 12 +- apimanager/atms/templates/atms/atm_List.html | 8 +- apimanager/atms/templates/atms/update.html | 2 +- apimanager/atms/views.py | 4 +- apimanager/config/templates/config/index.html | 3 +- .../templates/entitlementrequests/index.html | 4 +- apimanager/locale/es/LC_MESSAGES/django.mo | Bin 18886 -> 21480 bytes apimanager/locale/es/LC_MESSAGES/django.po | 447 +++++++++++------- .../templates/methodrouting/index.html | 66 +-- apimanager/metrics/forms.py | 37 +- apimanager/metrics/templates/metrics/api.html | 24 +- .../templates/metrics/custom_summary.html | 2 +- apimanager/webui/templates/webui/index.html | 3 +- 14 files changed, 369 insertions(+), 261 deletions(-) diff --git a/apimanager/apicollections/templates/apicollections/index.html b/apimanager/apicollections/templates/apicollections/index.html index ae552b5..05d0a46 100644 --- a/apimanager/apicollections/templates/apicollections/index.html +++ b/apimanager/apicollections/templates/apicollections/index.html @@ -1,21 +1,21 @@ {% extends 'base.html' %} -{% load static %} +{% load static i18n %} {% block page_title %}{{ block.super }} / API Collections{% endblock page_title %} {% block content %} -

API Collections

+

{% trans "API Collections" %}

-
+
-
+
-
+
-
+
@@ -56,20 +56,20 @@
- +
{% endif %} {% if forloop.counter0 == 0 %}
- +
{% endif %} {% if forloop.counter0 > 0 %}
- +
{% endif %} diff --git a/apimanager/atms/forms.py b/apimanager/atms/forms.py index c7fda02..0612b4d 100644 --- a/apimanager/atms/forms.py +++ b/apimanager/atms/forms.py @@ -107,7 +107,7 @@ class CreateAtmForm(forms.Form): required=False, ) monday = forms.CharField( - label=_(' Monday'), + label=_('Monday'), widget=forms.TextInput( attrs={ 'placeholder': 'None', @@ -127,7 +127,7 @@ class CreateAtmForm(forms.Form): required=False, ) wednesday = forms.CharField( - label=_(' Wednesday'), + label=_('Wednesday'), widget=forms.TextInput( attrs={ 'placeholder': 'None', @@ -137,7 +137,7 @@ class CreateAtmForm(forms.Form): required=False, ) thursday = forms.CharField( - label=_(' Thursday'), + label=_('Thursday'), widget=forms.TextInput( attrs={ 'placeholder': 'None', @@ -147,7 +147,7 @@ class CreateAtmForm(forms.Form): required=False, ) friday = forms.CharField( - label=_(' Friday'), + label=_('Friday'), widget=forms.TextInput( attrs={ 'placeholder': 'None', @@ -157,7 +157,7 @@ class CreateAtmForm(forms.Form): required=False, ) saturday = forms.CharField( - label=_(' Saturday'), + label=_('Saturday'), widget=forms.TextInput( attrs={ 'placeholder': 'None', @@ -167,7 +167,7 @@ class CreateAtmForm(forms.Form): required=False, ) sunday = forms.CharField( - label=_(' Sunday'), + label=_('Sunday'), widget=forms.TextInput( attrs={ 'placeholder': 'None', diff --git a/apimanager/atms/templates/atms/atm_List.html b/apimanager/atms/templates/atms/atm_List.html index 297e546..946b6ad 100644 --- a/apimanager/atms/templates/atms/atm_List.html +++ b/apimanager/atms/templates/atms/atm_List.html @@ -1,7 +1,7 @@ -{% extends 'base.html' %} {% load static %} {% load i18n %} -{% block page_title %}{{ block.super }} / atms{% endblock page_title %} {% block content %} +{% extends 'base.html' %} {% load static %} {% trans load i18n %} +{% block page_title %} /atms{% endblock page_title %} {% block content %}
-

ATM Detail

+

{% trans "ATM Detail" %}

@@ -22,7 +22,7 @@ diff --git a/apimanager/locale/es/LC_MESSAGES/django.mo b/apimanager/locale/es/LC_MESSAGES/django.mo index 4a95cf6599aea37ff9872be9ae94dd9a31b3f6c7..a9464a01bca3f95f0a86e05ebd18404170b76daa 100644 GIT binary patch delta 7026 zcmZwL33L=y7RK@F7!m>rJ0Tbd4J7QN$YR(Gge?govWP6APA6%gAxXzh8bll#K|u$X z!2-7tMi9kOM6f{tcR*0a0Yy|6brf+!1w_CFm-&C)Hyl03I^6u;dsX$8`>HBA>~K9_ ztoB4cY?Qdv;mGzlP7Cap;yAZZp43RKj#HW8I8E?6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II@BrJk6O@atKUE^pbk4w z{Wd~nsA~q_U&o@iHH<{9Fbnm~3Q;f4N3C=*Duqv@Cb|JNksa2)2lXjFKn?IIYEz#? zeX^^l{z~`o`$_5%@mCO}K@&+wO<)je1ru-r&c!S|g?g^nZT`6*ftuJX?2HRh@9nqx zSEx@}vnN@`wy4vQjknI@CLZRK7jdJ&h1JBTcO|5ElqY5bAKhJ>yG#2MlzRqQ%}uMQt7xB7C)__6B{ ze;y$^`qkK(Ug8n+yb&HRiZl1yp#79=I$n(1H^l^{iEF#i? zKWf>{6#U#CxQ4rlZB{R)D$o2%CC?ge#WKV~;sOyQHWA~9;_EvK^NF!UBJVe|8#T55 z94hmOzgS~+9?u0JVun| z**{^j@;`_|H)0hrjQEDowS>4#G$NW1LkL|%iTcDkRqXmtaRIjw`-lnFb`DdBWmYey zrwaQ1t%&wSTjFivc|unPkw7#i$}r=BsOMiG`V;ZA>AH*9K-3{JiBv+@OFr&j<~wFF zH&Y0HVYM5WY#qj$g1z&@*_pGwyp-e?!2!8BlwELW=FGx;zf|bA+%>r{zaZ8!Jd~Xi zQqfzNGRdn^qq*0=#+>MfH9C~=QfkeMuC0|2h#syTAMie}lUgEox>u?0ZC*j$$a`DePp4*h-=Eh)=bFE&UHimEc7c3718>?476#w$a|-0k=Li$b6%z9HKLW8R}4g-YPBNK z>)UBtG`@4EKy*@c4%5KD_4mMXXoa7*9WJU&DL\n" "Language-Team: LANGUAGE \n" @@ -17,6 +17,44 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#: apicollections/templates/apicollections/index.html:6 +msgid "API Collections" +msgstr "Mis colecciones de API" + +#: apicollections/templates/apicollections/index.html:9 +msgid "API Collection Id" +msgstr "Mis colecciones de API" + +#: apicollections/templates/apicollections/index.html:12 +msgid "Collection Name" +msgstr "Métricas del conector" + +#: apicollections/templates/apicollections/index.html:15 +msgid "Is Sharable" +msgstr "Es Compartible" + +#: apicollections/templates/apicollections/index.html:18 +#: consumers/templates/consumers/detail.html:175 +#: consumers/templates/consumers/index.html:59 +msgid "Description" +msgstr "Descripción" + +#: apicollections/templates/apicollections/index.html:59 +msgid "Describe the purpose of the collection" +msgstr "Describir el propósito de la colección" + +#: apicollections/templates/apicollections/index.html:65 +#: dynamicendpoints/templates/dynamicendpoints/index.html:33 +msgid "Create" +msgstr "Creada" + +#: apicollections/templates/apicollections/index.html:72 +#: dynamicendpoints/templates/dynamicendpoints/index.html:40 +#: methodrouting/templates/methodrouting/index.html:129 +#: users/templates/users/detail.html:114 webui/templates/webui/index.html:48 +msgid "Delete" +msgstr "Eliminar" + #: apimanager/settings.py:175 msgid "English" msgstr "Inglés" @@ -45,7 +83,7 @@ msgstr "Id. de banco" msgid "Name" msgstr "Nombre" -#: atms/forms.py:46 branches/forms.py:43 +#: atms/forms.py:46 atms/templates/atms/atm_List.html:25 branches/forms.py:43 #: branches/templates/branches/index.html:176 #: branches/templates/branches/index.html:203 msgid "Address" @@ -72,7 +110,7 @@ msgid "Opening Hours" msgstr "Horario de atención" #: atms/forms.py:110 -msgid " Monday" +msgid "Monday" msgstr "Lunes" #: atms/forms.py:120 @@ -80,23 +118,23 @@ msgid "Tuesday" msgstr "Martes" #: atms/forms.py:130 -msgid " Wednesday" +msgid "Wednesday" msgstr "Wednesday" #: atms/forms.py:140 -msgid " Thursday" +msgid "Thursday" msgstr "Jueves" #: atms/forms.py:150 -msgid " Friday" +msgid "Friday" msgstr "Viernes" #: atms/forms.py:160 -msgid " Saturday" +msgid "Saturday" msgstr "Sábado" #: atms/forms.py:170 -msgid " Sunday" +msgid "Sunday" msgstr "Sunday" #: atms/forms.py:180 @@ -168,6 +206,10 @@ msgstr "Cargo internacional por retiro de efectivo" msgid "Balance Inquiry Fee" msgstr "Cargo por consulta de saldo" +#: atms/templates/atms/atm_List.html:4 atms/templates/atms/update.html:3 +msgid "ATM Detail" +msgstr "Descripción" + #: atms/templates/atms/atm_List.html:10 msgid "ATM Name" msgstr "Nombre del cajero automático" @@ -265,7 +307,7 @@ msgstr "Vista de cajeros automáticos" msgid "Configurations" msgstr "Configuraciones" -#: base/templates/base.html:95 config/templates/config/index.html:9 +#: base/templates/base.html:95 config/templates/config/index.html:8 msgid "Config" msgstr "Configuraciones" @@ -453,7 +495,7 @@ msgstr "Más información" msgid "Phone Number" msgstr "Número de teléfono" -#: config/templates/config/index.html:11 +#: config/templates/config/index.html:10 msgid "The configuration of the API" msgstr "La configuración de la API" @@ -469,7 +511,7 @@ msgstr "Parámetros" msgid "Update Consumer" msgstr "Consumidoras" -#: consumers/templates/consumers/detail.html:80 +#: consumers/templates/consumers/detail.html:80 metrics/forms.py:121 #: metrics/templates/metrics/api.html:165 msgid "App Name" msgstr "Nombre de la aplicación" @@ -521,11 +563,6 @@ msgstr "Límite de llamadas por semana" msgid "Per month call limit" msgstr "Límite de llamadas por mes" -#: consumers/templates/consumers/detail.html:175 -#: consumers/templates/consumers/index.html:59 -msgid "Description" -msgstr "Descripción" - #: consumers/templates/consumers/detail.html:194 #: consumers/templates/consumers/index.html:75 msgid "Disable" @@ -695,19 +732,10 @@ msgstr "ID DE PUNTO FINAL" msgid "SWAGGER STRING" msgstr "CUERDA SWAGGER" -#: dynamicendpoints/templates/dynamicendpoints/index.html:33 -msgid "Create" -msgstr "Creada" - #: dynamicendpoints/templates/dynamicendpoints/index.html:33 msgid "saved." msgstr "salvado." -#: dynamicendpoints/templates/dynamicendpoints/index.html:40 -#: users/templates/users/detail.html:114 webui/templates/webui/index.html:49 -msgid "Delete" -msgstr "Eliminar" - #: entitlementrequests/templates/entitlementrequests/index.html:27 msgid "Role Name" msgstr "Nombre del Papel" @@ -720,6 +748,14 @@ msgstr "Nombre de usuario" msgid "Bank ID" msgstr "Id. de banco" +#: entitlementrequests/templates/entitlementrequests/index.html:47 +msgid "Reject" +msgstr "Rechazar" + +#: entitlementrequests/templates/entitlementrequests/index.html:56 +msgid "Accept" +msgstr "Aceptar" + #: methodrouting/templates/methodrouting/index.html:7 msgid "Method Routing" msgstr "Enrutamiento de métodos" @@ -728,7 +764,7 @@ msgstr "Enrutamiento de métodos" msgid "Method Name" msgstr "Métricas del conector" -#: methodrouting/templates/methodrouting/index.html:13 +#: methodrouting/templates/methodrouting/index.html:13 metrics/forms.py:186 #: metrics/templates/metrics/connector.html:87 msgid "Connector Name" msgstr "Métricas del conector" @@ -753,44 +789,136 @@ msgstr "Identificación del método" #: methodrouting/templates/methodrouting/index.html:50 #: methodrouting/templates/methodrouting/index.html:55 #: methodrouting/templates/methodrouting/index.html:59 +#: methodrouting/templates/methodrouting/index.html:68 +#: methodrouting/templates/methodrouting/index.html:83 +#: methodrouting/templates/methodrouting/index.html:92 msgid "mapped" msgstr "mapeada" #: methodrouting/templates/methodrouting/index.html:42 #: methodrouting/templates/methodrouting/index.html:49 #: methodrouting/templates/methodrouting/index.html:60 +#: methodrouting/templates/methodrouting/index.html:84 +#: methodrouting/templates/methodrouting/index.html:93 msgid "internal" msgstr "interna" #: methodrouting/templates/methodrouting/index.html:43 #: methodrouting/templates/methodrouting/index.html:54 #: methodrouting/templates/methodrouting/index.html:58 +#: methodrouting/templates/methodrouting/index.html:67 +#: methodrouting/templates/methodrouting/index.html:82 +#: methodrouting/templates/methodrouting/index.html:91 msgid "kafka_vSept2018" msgstr "kafka_vseptiembre2018" #: methodrouting/templates/methodrouting/index.html:44 #: methodrouting/templates/methodrouting/index.html:56 #: methodrouting/templates/methodrouting/index.html:61 +#: methodrouting/templates/methodrouting/index.html:66 +#: methodrouting/templates/methodrouting/index.html:85 +#: methodrouting/templates/methodrouting/index.html:94 msgid "akka_vDec2018" msgstr "akka_vdiciembre2018" #: methodrouting/templates/methodrouting/index.html:45 #: methodrouting/templates/methodrouting/index.html:53 #: methodrouting/templates/methodrouting/index.html:62 +#: methodrouting/templates/methodrouting/index.html:69 +#: methodrouting/templates/methodrouting/index.html:73 +#: methodrouting/templates/methodrouting/index.html:81 +#: methodrouting/templates/methodrouting/index.html:90 msgid "rest_vMar2019" msgstr "rest_vMar2019" #: methodrouting/templates/methodrouting/index.html:46 #: methodrouting/templates/methodrouting/index.html:52 #: methodrouting/templates/methodrouting/index.html:63 +#: methodrouting/templates/methodrouting/index.html:70 +#: methodrouting/templates/methodrouting/index.html:80 +#: methodrouting/templates/methodrouting/index.html:89 msgid "kafka_vMay2019" msgstr "kafka_vmayo2019" #: methodrouting/templates/methodrouting/index.html:47 #: methodrouting/templates/methodrouting/index.html:51 +#: methodrouting/templates/methodrouting/index.html:71 +#: methodrouting/templates/methodrouting/index.html:86 +#: methodrouting/templates/methodrouting/index.html:88 msgid "stored_procedure_vDec2019" msgstr "procedimiento_almacenado_vdic2019" +#: methodrouting/templates/methodrouting/index.html:105 +#: methodrouting/templates/methodrouting/index.html:109 +msgid "False" +msgstr "Falso" + +#: methodrouting/templates/methodrouting/index.html:106 +#: methodrouting/templates/methodrouting/index.html:108 +msgid "True" +msgstr "Verdadero" + +#: methodrouting/templates/methodrouting/index.html:124 +msgid "Create New" +msgstr "Creada" + +#: methodrouting/templates/methodrouting/index.html:128 +msgid "Update" +msgstr "Botón Actualizar" + +#: metrics/forms.py:18 metrics/forms.py:174 metrics/forms.py:230 +msgid "From Date" +msgstr "desde fecha" + +#: metrics/forms.py:30 metrics/forms.py:216 +msgid "To Date" +msgstr "Fecha" + +#: metrics/forms.py:41 users/templates/users/includes/filter_pagination.html:8 +msgid "Limit" +msgstr "Límite" + +#: metrics/forms.py:51 users/templates/users/includes/filter_pagination.html:4 +msgid "Offset" +msgstr "Desplazamiento" + +#: metrics/forms.py:92 metrics/templates/metrics/api.html:166 +msgid "Consumer ID" +msgstr "identificación del consumidor" + +#: metrics/forms.py:101 metrics/templates/metrics/api.html:163 +#: users/templates/users/detail.html:11 +msgid "User ID" +msgstr "Identificación de usuario" + +#: metrics/forms.py:110 +msgid "Anonymous" +msgstr "Anónimo" + +#: metrics/forms.py:130 metrics/templates/metrics/api.html:143 +msgid "Verb" +msgstr "Verbo" + +#: metrics/forms.py:141 metrics/templates/metrics/api.html:144 +msgid "URL" +msgstr "URL" + +#: metrics/forms.py:150 +msgid "Implemented By Partial Function" +msgstr "Implementado por Función Parcial" + +#: metrics/forms.py:159 metrics/templates/metrics/api.html:168 +msgid "Implemented In Version" +msgstr "Implementado en versión" + +#: metrics/forms.py:195 metrics/templates/metrics/connector.html:88 +msgid "Function Name" +msgstr "Nombre de la función" + +#: metrics/forms.py:204 metrics/templates/metrics/connector.html:89 +msgid "Correlation ID" +msgstr "Id. de correlación" + #: metrics/templates/metrics/api.html:12 #: metrics/templates/metrics/connector.html:12 #: metrics/templates/metrics/custom_summary.html:38 @@ -802,61 +930,6 @@ msgstr "procedimiento_almacenado_vdic2019" msgid "Filter" msgstr "Filtrar" -#: metrics/templates/metrics/api.html:24 -msgid "from date" -msgstr "desde fecha" - -#: metrics/templates/metrics/api.html:31 -#: metrics/templates/metrics/connector.html:31 -#: metrics/templates/metrics/custom_summary.html:57 -#: metrics/templates/metrics/daily_summary.html:50 -#: metrics/templates/metrics/hourly_summary.html:48 -#: metrics/templates/metrics/monthly_summary.html:51 -msgid "to_date" -msgstr "fecha hasta" - -#: metrics/templates/metrics/api.html:38 -#: metrics/templates/metrics/connector.html:38 -msgid "limit" -msgstr "Límite" - -#: metrics/templates/metrics/api.html:45 -#: metrics/templates/metrics/connector.html:45 -msgid "offset" -msgstr "compensación" - -#: metrics/templates/metrics/api.html:55 -msgid "consumer id" -msgstr "identificación del consumidor" - -#: metrics/templates/metrics/api.html:63 -msgid "user_id" -msgstr "id_usuario" - -#: metrics/templates/metrics/api.html:71 -msgid "anon" -msgstr "Anón" - -#: metrics/templates/metrics/api.html:79 -msgid "app_name" -msgstr "nombre de la aplicación" - -#: metrics/templates/metrics/api.html:90 -msgid "verb" -msgstr "verbo" - -#: metrics/templates/metrics/api.html:98 -msgid "url" -msgstr "url" - -#: metrics/templates/metrics/api.html:108 -msgid "implemented by partial function" -msgstr "implementado por función parcial" - -#: metrics/templates/metrics/api.html:116 -msgid "implemented in version" -msgstr "implementado en versión" - #: metrics/templates/metrics/api.html:123 #: metrics/templates/metrics/connector.html:75 #: metrics/templates/metrics/custom_summary.html:69 @@ -879,14 +952,6 @@ msgstr "Lista" msgid "Summary by Partial Function" msgstr "Resumen por Función Parcial" -#: metrics/templates/metrics/api.html:143 -msgid "Verb" -msgstr "Verbo" - -#: metrics/templates/metrics/api.html:144 -msgid "URL" -msgstr "URL" - #: metrics/templates/metrics/api.html:145 #: metrics/templates/metrics/connector.html:86 msgid "Date" @@ -904,26 +969,30 @@ msgstr "Descripción" msgid "User Name" msgstr "Nombre de Usuario" -#: metrics/templates/metrics/api.html:163 users/templates/users/detail.html:11 -msgid "User ID" -msgstr "Identificación de usuario" - -#: metrics/templates/metrics/api.html:166 -msgid "Consumer ID" -msgstr "identificación del consumidor" - #: metrics/templates/metrics/api.html:167 msgid "Implemented by Partial Function" msgstr "Implementado por Función Parcial" -#: metrics/templates/metrics/api.html:168 -msgid "Implemented In Version" -msgstr "Implementado en versión" - #: metrics/templates/metrics/connector.html:24 msgid "from_date" msgstr "partir de la fecha" +#: metrics/templates/metrics/connector.html:31 +#: metrics/templates/metrics/custom_summary.html:57 +#: metrics/templates/metrics/daily_summary.html:50 +#: metrics/templates/metrics/hourly_summary.html:48 +#: metrics/templates/metrics/monthly_summary.html:51 +msgid "to_date" +msgstr "fecha hasta" + +#: metrics/templates/metrics/connector.html:38 +msgid "limit" +msgstr "Límite" + +#: metrics/templates/metrics/connector.html:45 +msgid "offset" +msgstr "compensación" + #: metrics/templates/metrics/connector.html:55 msgid "connector_name" msgstr "conector_nombre" @@ -936,14 +1005,6 @@ msgstr "nombre de la función" msgid "correlation_id" msgstr "correlación_id" -#: metrics/templates/metrics/connector.html:88 -msgid "Function Name" -msgstr "Nombre de la función" - -#: metrics/templates/metrics/connector.html:89 -msgid "Correlation ID" -msgstr "Id. de correlación" - #: metrics/templates/metrics/connector.html:90 msgid "Duration (ms)" msgstr "Duración (ms)" @@ -1041,6 +1102,36 @@ msgstr "desde la fecha personalizada" msgid "Include System Calls" msgstr "Incluir llamadas del sistema" +#: metrics/templates/metrics/custom_summary.html:77 +#: metrics/templates/metrics/daily_summary.html:70 +#: metrics/templates/metrics/hourly_summary.html:68 +#: metrics/templates/metrics/monthly_summary.html:80 +#: metrics/templates/metrics/quarterly_summary.html:69 +#: metrics/templates/metrics/weekly_summary.html:71 +#: metrics/templates/metrics/yearly_summary.html:71 +msgid "Period" +msgstr "Período" + +#: metrics/templates/metrics/custom_summary.html:77 +#: metrics/templates/metrics/daily_summary.html:70 +#: metrics/templates/metrics/hourly_summary.html:68 +#: metrics/templates/metrics/monthly_summary.html:80 +#: metrics/templates/metrics/quarterly_summary.html:69 +#: metrics/templates/metrics/weekly_summary.html:71 +#: metrics/templates/metrics/yearly_summary.html:71 +msgid "From" +msgstr "Desde" + +#: metrics/templates/metrics/custom_summary.html:77 +#: metrics/templates/metrics/daily_summary.html:70 +#: metrics/templates/metrics/hourly_summary.html:68 +#: metrics/templates/metrics/monthly_summary.html:80 +#: metrics/templates/metrics/quarterly_summary.html:69 +#: metrics/templates/metrics/weekly_summary.html:71 +#: metrics/templates/metrics/yearly_summary.html:71 +msgid "to" +msgstr "a" + #: metrics/templates/metrics/custom_summary.html:85 #: metrics/templates/metrics/daily_summary.html:78 #: metrics/templates/metrics/monthly_summary.html:88 @@ -1094,25 +1185,40 @@ msgstr "" "Mediana de tiempo desde el registro del consumidor hasta la primera llamada " "APIMediana de tiempo desde el registro del consumidor hasta la primera " "llamada APIMediana de tiempo desde el registro del consumidor hasta la " -"primera llamada APITiempo medio desde el registro del consumidor hasta la " -"primera llamada a la APItiempo medio hasta la primeraTiempo medio desde el " -"registro del consumidor hasta la primera llamada a la APIMediana de tiempo " -"desde el registro del consumidor hasta la primera llamada APITiempo medio " -"desde el registro del consumidor hasta la primera llamada a la APITiempo " -"medio desde el registro del consumidor hasta la primera llamada a la " -"APITiempo medio desde el registro del consumidor hasta la primera llamada a " -"la APITiempo medio desde el registro del consumidor hasta la primera llamada " -"a la APItiempo medio hasta la primeraTiempo medio desde el registro del " -"consumidor hasta la primera llamada a la APIMediana de tiempo desde el " +"primera llamada APIMediana de tiempo desde el registro del consumidor hasta " +"la primera llamada APIMediana de tiempo desde el registro del consumidor " +"hasta la primera llamada APIMediana de tiempo desde el registro del " +"consumidor hasta la primera llamada APIMediana de tiempo desde el registro " +"del consumidor hasta la primera llamada APIMediana de tiempo desde el " "registro del consumidor hasta la primera llamada APIMediana de tiempo desde " "el registro del consumidor hasta la primera llamada APIMediana de tiempo " "desde el registro del consumidor hasta la primera llamada APIMediana de " -"tiempo desde el registro del consumidor hasta la primera llamada APITiempo " -"medio desde el registro del consumidor hasta la primera llamada a la " -"APITiempo medio desde el registro del consumidor hasta la primera llamada a " -"la APIMediana de tiempo desde el registro del consumidor hasta la primera " -"llamada APITiempo medio desde el registro del consumidor hasta la primera " -"llamada a la API" +"tiempo desde el registro del consumidor hasta la primera llamada APIMediana " +"de tiempo desde el registro del consumidor hasta la primera llamada " +"APIMediana de tiempo desde el registro del consumidor hasta la primera " +"llamada APIMediana de tiempo desde el registro del consumidor hasta la " +"primera llamada APIMediana de tiempo desde el registro del consumidor hasta " +"la primera llamada APIMediana de tiempo desde el registro del consumidor " +"hasta la primera llamada APIMediana de tiempo desde el registro del " +"consumidor hasta la primera llamada APITiempo medio desde el registro del " +"consumidor hasta la primera llamada a la APItiempo medio hasta la " +"primeraTiempo medio desde el registro del consumidor hasta la primera " +"llamada a la APIMediana de tiempo desde el registro del consumidor hasta la " +"primera llamada APITiempo medio desde el registro del consumidor hasta la " +"primera llamada a la APITiempo medio desde el registro del consumidor hasta " +"la primera llamada a la APITiempo medio desde el registro del consumidor " +"hasta la primera llamada a la APITiempo medio desde el registro del " +"consumidor hasta la primera llamada a la APItiempo medio hasta la " +"primeraTiempo medio desde el registro del consumidor hasta la primera " +"llamada a la APIMediana de tiempo desde el registro del consumidor hasta la " +"primera llamada APIMediana de tiempo desde el registro del consumidor hasta " +"la primera llamada APIMediana de tiempo desde el registro del consumidor " +"hasta la primera llamada APIMediana de tiempo desde el registro del " +"consumidor hasta la primera llamada APITiempo medio desde el registro del " +"consumidor hasta la primera llamada a la APITiempo medio desde el registro " +"del consumidor hasta la primera llamada a la APIMediana de tiempo desde el " +"registro del consumidor hasta la primera llamada APITiempo medio desde el " +"registro del consumidor hasta la primera llamada a la API" #: metrics/templates/metrics/custom_summary.html:111 #: metrics/templates/metrics/daily_summary.html:105 @@ -1199,33 +1305,6 @@ msgstr "Usuarios con rol CanSearchWarehouse" msgid "N/A" msgstr "N/A" -#: metrics/templates/metrics/daily_summary.html:70 -#: metrics/templates/metrics/hourly_summary.html:68 -#: metrics/templates/metrics/monthly_summary.html:80 -#: metrics/templates/metrics/quarterly_summary.html:69 -#: metrics/templates/metrics/weekly_summary.html:71 -#: metrics/templates/metrics/yearly_summary.html:71 -msgid "Period" -msgstr "Período" - -#: metrics/templates/metrics/daily_summary.html:70 -#: metrics/templates/metrics/hourly_summary.html:68 -#: metrics/templates/metrics/monthly_summary.html:80 -#: metrics/templates/metrics/quarterly_summary.html:69 -#: metrics/templates/metrics/weekly_summary.html:71 -#: metrics/templates/metrics/yearly_summary.html:71 -msgid "From" -msgstr "Desde" - -#: metrics/templates/metrics/daily_summary.html:70 -#: metrics/templates/metrics/hourly_summary.html:68 -#: metrics/templates/metrics/monthly_summary.html:80 -#: metrics/templates/metrics/quarterly_summary.html:69 -#: metrics/templates/metrics/weekly_summary.html:71 -#: metrics/templates/metrics/yearly_summary.html:71 -msgid "to" -msgstr "a" - #: metrics/templates/metrics/daily_summary.html:87 msgid "Calls per hour" msgstr "Llamadas por Hora" @@ -1243,7 +1322,23 @@ msgstr "" "Aplicaciones con distintas direcciones de correo electrónico para " "desarrolladoresAplicaciones con distintas direcciones de correo electrónico " "para desarrolladoresAplicaciones con distintas direcciones de correo " -"electrónico para desarrolladoresDirecciones de correo " +"electrónico para desarrolladoresAplicaciones con distintas direcciones de " +"correo electrónico para desarrolladoresAplicaciones con distintas " +"direcciones de correo electrónico para desarrolladoresAplicaciones con " +"distintas direcciones de correo electrónico para desarrolladoresAplicaciones " +"con distintas direcciones de correo electrónico para " +"desarrolladoresAplicaciones con distintas direcciones de correo electrónico " +"para desarrolladoresAplicaciones con distintas direcciones de correo " +"electrónico para desarrolladoresAplicaciones con distintas direcciones de " +"correo electrónico para desarrolladoresAplicaciones con distintas " +"direcciones de correo electrónico para desarrolladoresAplicaciones con " +"distintas direcciones de correo electrónico para desarrolladoresAplicaciones " +"con distintas direcciones de correo electrónico para " +"desarrolladoresAplicaciones con distintas direcciones de correo electrónico " +"para desarrolladoresAplicaciones con distintas direcciones de correo " +"electrónico para desarrolladoresAplicaciones con distintas direcciones de " +"correo electrónico para desarrolladoresAplicaciones con distintas " +"direcciones de correo electrónico para desarrolladoresDirecciones de correo " "electrónicoAplicaciones con direcciones de correo electrónico de " "desarrollador distintasAplicaciones con direcciones de correo electrónico de " "desarrollador distintasAplicaciones con distintas direcciones de correo " @@ -1351,14 +1446,6 @@ msgstr "Derechos" msgid "Active" msgstr "Activo" -#: users/templates/users/includes/filter_pagination.html:4 -msgid "Offset" -msgstr "Desplazamiento" - -#: users/templates/users/includes/filter_pagination.html:8 -msgid "Limit" -msgstr "Límite" - #: users/templates/users/includes/filter_role.html:8 msgid "All Roles" msgstr "Todas las Funciones" @@ -1407,30 +1494,54 @@ msgstr "países" msgid "status" msgstr "estado" -#: webui/templates/webui/index.html:10 +#: webui/templates/webui/index.html:9 msgid "WEBUI" msgstr "WEBUI" -#: webui/templates/webui/index.html:13 +#: webui/templates/webui/index.html:12 msgid "Web UI Props Name" msgstr "Accesorios webui" -#: webui/templates/webui/index.html:16 +#: webui/templates/webui/index.html:15 msgid "Web UI Props Value" msgstr "Accesorios webui" -#: webui/templates/webui/index.html:19 +#: webui/templates/webui/index.html:18 msgid "Web UI Props Id" msgstr "Accesorios webui" -#: webui/templates/webui/index.html:22 +#: webui/templates/webui/index.html:21 msgid "Save Value" msgstr "Guardar valor" -#: webui/templates/webui/index.html:48 +#: webui/templates/webui/index.html:47 msgid "Save" msgstr "Ahorrar" +#~ msgid "consumer id" +#~ msgstr "identificación del consumidor" + +#~ msgid "user_id" +#~ msgstr "id_usuario" + +#~ msgid "anon" +#~ msgstr "Anón" + +#~ msgid "app_name" +#~ msgstr "nombre de la aplicación" + +#~ msgid "verb" +#~ msgstr "verbo" + +#~ msgid "url" +#~ msgstr "url" + +#~ msgid "implemented by partial function" +#~ msgstr "implementado por función parcial" + +#~ msgid "implemented in version" +#~ msgstr "implementado en versión" + #~ msgid "username" #~ msgstr "nombre de usuario" @@ -1479,8 +1590,6 @@ msgstr "Ahorrar" #~ msgid "lobby" #~ msgstr "ejercer presión" -#, fuzzy -#~| msgid "Cash Withdrawal International Fee" #~ msgid "cash_withdrawal_international_fee" #~ msgstr "Cargo internacional por retiro de efectivo" diff --git a/apimanager/methodrouting/templates/methodrouting/index.html b/apimanager/methodrouting/templates/methodrouting/index.html index c19cc15..a586f7f 100644 --- a/apimanager/methodrouting/templates/methodrouting/index.html +++ b/apimanager/methodrouting/templates/methodrouting/index.html @@ -63,35 +63,35 @@ {% elif method_routing.connector_name == "akka_vDec2018" %} - # This will be selected - - - - - + # This will be selected + + + + + {% elif method_routing.connector_name == "rest_vMar2019" %} - # This will be selected - - - - - + # This will be selected + + + + + {% elif method_routing.connector_name == "kafka_vMay2019" %} - # This will be selected - - - - - - + # This will be selected + + + + + + {% elif method_routing.connector_name == "stored_procedure_vDec2019" %} - # This will be selected - - - - - - + # This will be selected + + + + + + {% endif %} @@ -102,11 +102,11 @@
@@ -121,12 +121,12 @@
{% if method_routing.method_routing_id == "" %}
- +
{% else %}
- - + +
{% endif %}
diff --git a/apimanager/metrics/forms.py b/apimanager/metrics/forms.py index 7d78181..c58205f 100644 --- a/apimanager/metrics/forms.py +++ b/apimanager/metrics/forms.py @@ -8,13 +8,14 @@ from django.conf import settings from datetime import date from django.forms.widgets import SelectMultiple, CheckboxInput, CheckboxSelectMultiple from datetime import datetime, timedelta +from django.utils.translation import ugettext_lazy as _ from bootstrap_datepicker_plus import DatePickerInput, DateTimePickerInput class MetricsForm(forms.Form): from_date = forms.DateTimeField( - label='From Date', + label=_('From Date'), input_formats=[settings.API_DATEFORMAT], widget=forms.DateTimeInput( attrs={ @@ -26,7 +27,7 @@ class MetricsForm(forms.Form): required=False, ) to_date = forms.DateTimeField( - label='To Date', + label=_('To Date'), input_formats=[settings.API_DATEFORMAT], widget=forms.DateTimeInput( attrs={ @@ -37,7 +38,7 @@ class MetricsForm(forms.Form): required=False, ) limit = forms.IntegerField( - label='Limit', + label=_('Limit'), widget=forms.NumberInput( attrs={ 'class': 'form-control', @@ -47,7 +48,7 @@ class MetricsForm(forms.Form): required=False, ) offset = forms.IntegerField( - label='Offset', + label=_('Offset'), widget=forms.NumberInput( attrs={ 'class': 'form-control', @@ -88,7 +89,7 @@ class APIMetricsForm(MetricsForm): ) consumer_id = forms.CharField( - label='Consumer ID', + label=_('Consumer ID'), widget=forms.TextInput( attrs={ 'class': 'form-control', @@ -97,7 +98,7 @@ class APIMetricsForm(MetricsForm): required=False, ) user_id = forms.CharField( - label='User ID', + label=_('User ID'), widget=forms.TextInput( attrs={ 'class': 'form-control', @@ -106,7 +107,7 @@ class APIMetricsForm(MetricsForm): required=False, ) anon = forms.ChoiceField( - label='Anonymous', + label=_('Anonymous'), choices=ANONYMOUS, widget=forms.Select( attrs={ @@ -117,7 +118,7 @@ class APIMetricsForm(MetricsForm): required=False, ) app_name = forms.CharField( - label='App Name', + label=_('App Name'), widget=forms.TextInput( attrs={ 'class': 'form-control', @@ -126,7 +127,7 @@ class APIMetricsForm(MetricsForm): required=False, ) verb = forms.ChoiceField( - label='Verb', + label=_('Verb'), choices=VERB, widget=forms.Select( attrs={ @@ -137,7 +138,7 @@ class APIMetricsForm(MetricsForm): required=False, ) url = forms.CharField( - label='URL', + label=_('URL'), widget=forms.TextInput( attrs={ 'class': 'form-control', @@ -146,7 +147,7 @@ class APIMetricsForm(MetricsForm): required=False, ) implemented_by_partial_function = forms.CharField( - label='Implemented By Partial Function', + label=_('Implemented By Partial Function'), widget=forms.TextInput( attrs={ 'class': 'form-control', @@ -155,7 +156,7 @@ class APIMetricsForm(MetricsForm): required=False, ) implemented_in_version = forms.ChoiceField( - label='Implemented In Version', + label=_('Implemented In Version'), choices=VERSION, widget=forms.Select( attrs={ @@ -170,7 +171,7 @@ class APIMetricsForm(MetricsForm): class ConnectorMetricsForm(MetricsForm): # override from_date until API returns values without given date from_date = forms.DateTimeField( - label='From Date', + label=_('From Date'), input_formats=[settings.API_DATEFORMAT], widget=forms.DateTimeInput( attrs={ @@ -182,7 +183,7 @@ class ConnectorMetricsForm(MetricsForm): required=True, ) connector_name = forms.CharField( - label='Connector Name', + label=_('Connector Name'), widget=forms.TextInput( attrs={ 'class': 'form-control', @@ -191,7 +192,7 @@ class ConnectorMetricsForm(MetricsForm): required=False, ) function_name = forms.CharField( - label='Function Name', + label=_('Function Name'), widget=forms.TextInput( attrs={ 'class': 'form-control', @@ -200,7 +201,7 @@ class ConnectorMetricsForm(MetricsForm): required=False, ) correlation_id = forms.CharField( - label='Correlation ID', + label=_('Correlation ID'), widget=forms.TextInput( attrs={ 'class': 'form-control', @@ -212,7 +213,7 @@ class ConnectorMetricsForm(MetricsForm): class CustomSummaryForm(forms.Form): to_date = forms.DateField( - label='To Date', + label=_('To Date'), # input_formats=[settings.API_DATEFORMAT], # widget=forms.DateTimeInput( # attrs={ @@ -226,7 +227,7 @@ class CustomSummaryForm(forms.Form): ) from_date_custom = forms.DateField( - label='From Date', + label=_('From Date'), # input_formats=[settings.API_DATEFORMAT], # widget=forms.DateTimeInput( # attrs={ diff --git a/apimanager/metrics/templates/metrics/api.html b/apimanager/metrics/templates/metrics/api.html index 0dfa575..104c1c2 100644 --- a/apimanager/metrics/templates/metrics/api.html +++ b/apimanager/metrics/templates/metrics/api.html @@ -21,28 +21,28 @@
{% if form.from_date.errors %}
{{ form.from_date.errors }}
{% endif %}
- {% trans "from date" %} + {{ form.from_date.label_tag }} {{ form.from_date }}
{% if form.to_date.errors %}
{{ form.to_date.errors }}
{% endif %}
- {% trans "to_date" %} + {{ form.to_date.label_tag }} {{ form.to_date }}
{% if form.limit.errors %}
{{ form.limit.errors }}
{% endif %}
- {% trans "limit" %} + {{ form.limit.label_tag }} {{ form.limit }}
{% if form.offset.errors %}
{{ form.offset.errors }}
{% endif %}
- {% trans "offset" %} + {{ form.offset.label_tag }} {{ form.offset }}
@@ -52,7 +52,7 @@
{% if form.consumer_id.errors %}
{{ form.consumer_id.errors }}
{% endif %}
- {% trans "consumer id" %} + {{ form.consumer_id.label_tag }} {{ form.consumer_id }}
@@ -60,7 +60,7 @@
{% if form.user_id.errors %}
{{ form.user_id.errors }}
{% endif %}
- {% trans "user_id" %} + {{ form.user_id.label_tag }} {{ form.user_id }}
@@ -68,7 +68,7 @@
{% if form.anon.errors %}
{{ form.anon.errors }}
{% endif %}
- {% trans "anon" %} + {{ form.anon.label_tag }} {{ form.anon }}
@@ -76,7 +76,7 @@
{% if form.app_name.errors %}
{{ form.app_name.errors }}
{% endif %}
- {% trans "app_name" %} + {{ form.app_name.label_tag }} {{ form.app_name }}
@@ -87,7 +87,7 @@
{% if form.verb.errors %}
{{ form.verb.errors }}
{% endif %}
- {% trans "verb" %} + {{ form.verb.label_tag }} {{ form.verb }}
@@ -95,7 +95,7 @@
{% if form.url.errors %}
{{ form.url.errors }}
{% endif %}
- {% trans "url" %} + {{ form.url.label_tag }} {{ form.url }}
@@ -105,7 +105,7 @@
{% if form.implemented_by_partial_function.errors %}
{{ form.implemented_by_partial_function.errors }}
{% endif %}
- {% trans "implemented by partial function" %} + {{ form.implemented_by_partial_function.label_tag }} {{ form.implemented_by_partial_function }}
@@ -113,7 +113,7 @@
{% if form.implemented_in_version.errors %}
{{ form.implemented_in_version.errors }}
{% endif %}
- {% trans "implemented in version" %} + {{ form.implemented_in_version.label_tag }} {{ form.implemented_in_version }}
diff --git a/apimanager/metrics/templates/metrics/custom_summary.html b/apimanager/metrics/templates/metrics/custom_summary.html index a53b81a..c84bcd0 100644 --- a/apimanager/metrics/templates/metrics/custom_summary.html +++ b/apimanager/metrics/templates/metrics/custom_summary.html @@ -74,7 +74,7 @@
{% block tab_content %}
-

Period : From {{ from_date }} to {{ to_date }}

+

{% trans "Period" %}: {% trans "From" %}{{ from_date }} {% trans "to" %}{{ to_date }}

    -
  • Address: +
  • {% trans "Address" %}:
    • line1: {{atm.address.line_1}}
    diff --git a/apimanager/atms/templates/atms/update.html b/apimanager/atms/templates/atms/update.html index 8fda4b8..7248e20 100644 --- a/apimanager/atms/templates/atms/update.html +++ b/apimanager/atms/templates/atms/update.html @@ -1,6 +1,6 @@ {% extends 'base.html' %} {% load static %} {% block page_title %}{{ block.super }} / Atms{% endblock page_title %} {% block content %}
    -

    ATM Detail

    +

    {% trans "ATM Detail" %}

    {{ bank_id }} : {{ atm_id }}

    {% csrf_token %} {% if form.non_field_errors %} diff --git a/apimanager/atms/views.py b/apimanager/atms/views.py index 473a4cb..6f32009 100644 --- a/apimanager/atms/views.py +++ b/apimanager/atms/views.py @@ -281,9 +281,9 @@ class UpdateAtmsView(LoginRequiredMixin, FormView): else: fields['supported_languages'].choices = [("de", "de"),("fr", "fr"), ("en", "en")] fields['supported_languages'].initial = result['supported_languages'] - if result['supported_currencies'][0].lower()=='eur': + if result['supported_currencies'][0].lower()=='EUR': fields['supported_currencies'].choices = [("EUR", "EUR"), ("MXN", "MXN"), ("USD", "USD")] - elif result['supported_currencies'][0].lower()=='mxn': + elif result['supported_currencies'][0].lower()=='MXN': fields['supported_currencies'].choices = [("MXN", "MXN"), ("EUR", "EUR"), ("USD", "USD")] else: fields['supported_currencies'].choices = [("USD", "USD"),("MXN", "MXN"), ("EUR", "EUR")] diff --git a/apimanager/config/templates/config/index.html b/apimanager/config/templates/config/index.html index 2fbc623..72f94f4 100644 --- a/apimanager/config/templates/config/index.html +++ b/apimanager/config/templates/config/index.html @@ -1,6 +1,5 @@ {% extends 'base.html' %} -{% load static %} -{% load i18n %} +{% load static i18n %} {% block page_title %}{{ block.super }} / Users{% endblock page_title %} diff --git a/apimanager/entitlementrequests/templates/entitlementrequests/index.html b/apimanager/entitlementrequests/templates/entitlementrequests/index.html index a71dd7c..1079bc2 100644 --- a/apimanager/entitlementrequests/templates/entitlementrequests/index.html +++ b/apimanager/entitlementrequests/templates/entitlementrequests/index.html @@ -44,7 +44,7 @@ {% csrf_token %} - +
@@ -53,7 +53,7 @@ - +
diff --git a/apimanager/webui/templates/webui/index.html b/apimanager/webui/templates/webui/index.html index 927aba8..afba4dd 100644 --- a/apimanager/webui/templates/webui/index.html +++ b/apimanager/webui/templates/webui/index.html @@ -1,6 +1,5 @@ {% extends 'base.html' %} -{% load static %} -{% load i18n %} +{% load static i18n %} {% block page_title %}{{ block.super }} / Users{% endblock page_title %}