feature internalization i18n (label)

This commit is contained in:
Reena-cell 2022-06-10 12:42:55 +02:00
parent 08720a0e16
commit 602f3be981
8 changed files with 719 additions and 581 deletions

View File

@ -3,6 +3,7 @@ Forms of ATMs app
"""
from django import forms
from django.utils.translation import ugettext_lazy as _
import random
@ -10,7 +11,7 @@ import random
class CreateAtmForm(forms.Form):
atm_id = forms.CharField(
label='ATM Id',
label=_('ATM Id'),
widget=forms.TextInput(
attrs={
'placeholder': 'atm-id-{}'.format(random.randint(1,1000)),
@ -21,7 +22,7 @@ class CreateAtmForm(forms.Form):
)
bank_id = forms.ChoiceField(
label='Bank',
label=_('Bank Id'),
widget=forms.Select(
attrs={
'class': 'form-control',
@ -31,7 +32,7 @@ class CreateAtmForm(forms.Form):
)
name = forms.CharField(
label='Name',
label=_('Name'),
widget=forms.TextInput(
attrs={
'placeholder': 'The name of the ATM',
@ -42,7 +43,7 @@ class CreateAtmForm(forms.Form):
)
address = forms.CharField(
label='Address',
label=_('Address'),
widget=forms.Textarea(
attrs={
'class': 'form-control',
@ -52,7 +53,7 @@ class CreateAtmForm(forms.Form):
)
location_latitude = forms.FloatField(
label='Latitude',
label=_('Latitude'),
widget=forms.TextInput(
attrs={
'placeholder': " ",
@ -63,7 +64,7 @@ class CreateAtmForm(forms.Form):
)
location_longitude = forms.FloatField(
label='Longitude',
label=_('Longitude'),
widget=forms.TextInput(
attrs={
'placeholder': " ",
@ -74,7 +75,7 @@ class CreateAtmForm(forms.Form):
)
meta_license_id = forms.CharField(
label='meta_license_id',
label=_('Meta License Id'),
widget=forms.TextInput(
attrs={
'placeholder': 'PDDL',
@ -85,7 +86,7 @@ class CreateAtmForm(forms.Form):
)
meta_license_name = forms.CharField(
label='meta_license_name',
label=_('Meta License Name'),
widget=forms.TextInput(
attrs={
'placeholder': 'Open Data Commons Public Domain Dedication and License',
@ -96,7 +97,7 @@ class CreateAtmForm(forms.Form):
)
lobby = forms.CharField(
label='Opening Hours',
label=_('Opening Hours'),
widget=forms.Textarea(
attrs={
'placeholder': 'None',
@ -106,7 +107,7 @@ class CreateAtmForm(forms.Form):
required=False,
)
monday = forms.CharField(
label=' Monday',
label=_(' Monday'),
widget=forms.TextInput(
attrs={
'placeholder': 'None',
@ -116,7 +117,7 @@ class CreateAtmForm(forms.Form):
required=False,
)
tuesday = forms.CharField(
label='Tuesday',
label=_('Tuesday'),
widget=forms.TextInput(
attrs={
'placeholder': 'None',
@ -126,7 +127,7 @@ class CreateAtmForm(forms.Form):
required=False,
)
wednesday = forms.CharField(
label=' Wednesday',
label=_(' Wednesday'),
widget=forms.TextInput(
attrs={
'placeholder': 'None',
@ -136,7 +137,7 @@ class CreateAtmForm(forms.Form):
required=False,
)
thursday = forms.CharField(
label=' Thursday',
label=_(' Thursday'),
widget=forms.TextInput(
attrs={
'placeholder': 'None',
@ -146,7 +147,7 @@ class CreateAtmForm(forms.Form):
required=False,
)
friday = forms.CharField(
label=' Friday',
label=_(' Friday'),
widget=forms.TextInput(
attrs={
'placeholder': 'None',
@ -156,7 +157,7 @@ class CreateAtmForm(forms.Form):
required=False,
)
saturday = forms.CharField(
label=' Saturday',
label=_(' Saturday'),
widget=forms.TextInput(
attrs={
'placeholder': 'None',
@ -166,7 +167,7 @@ class CreateAtmForm(forms.Form):
required=False,
)
sunday = forms.CharField(
label=' Sunday',
label=_(' Sunday'),
widget=forms.TextInput(
attrs={
'placeholder': 'None',
@ -176,7 +177,7 @@ class CreateAtmForm(forms.Form):
required=False,
)
is_accessible = forms.ChoiceField(
label='is accessible',
label=_('Is Accessible'),
widget=forms.Select(
attrs={
'class': 'form-control',
@ -185,7 +186,7 @@ class CreateAtmForm(forms.Form):
required=False,
)
located_at = forms.CharField(
label='ATM location',
label=_('ATM location'),
widget=forms.TextInput(
attrs={
'placeholder': 'OBP',
@ -195,7 +196,7 @@ class CreateAtmForm(forms.Form):
required=False,
)
more_info = forms.CharField(
label='More information',
label=_('More information'),
widget=forms.TextInput(
attrs={
'placeholder': 'short walk to the lake from here',
@ -205,7 +206,7 @@ class CreateAtmForm(forms.Form):
required=False,
)
has_deposit_capability = forms.ChoiceField(
label='Deposit Capabilities',
label=_('Deposit Capabilities'),
widget=forms.Select(
attrs={
'class': 'form-control',
@ -214,7 +215,7 @@ class CreateAtmForm(forms.Form):
required=False,
)
supported_languages = forms.ChoiceField(
label='Supported Languages',
label=_('Supported Languages'),
widget=forms.Select(
attrs={
'class': 'form-control',
@ -223,7 +224,7 @@ class CreateAtmForm(forms.Form):
required=False,
)
services = forms.CharField(
label='Services',
label=_('Services'),
widget=forms.TextInput(
attrs={
'placeholder': 'Service store',
@ -233,7 +234,7 @@ class CreateAtmForm(forms.Form):
required=False,
)
accessibility_features = forms.CharField(
label='Accessible Features',
label=_('Accessible Features'),
widget=forms.TextInput(
attrs={
'placeholder': 'wheelchair, atm usuable by the visually impaired',
@ -243,7 +244,7 @@ class CreateAtmForm(forms.Form):
required=False,
)
supported_currencies = forms.ChoiceField(
label='Supported Currencies',
label=_('Supported Currencies'),
widget=forms.Select(
attrs={
'class': 'form-control',
@ -252,7 +253,7 @@ class CreateAtmForm(forms.Form):
required=False,
)
notes = forms.ChoiceField(
label='Write Notes',
label=_('Write Notes'),
widget=forms.Select(
attrs={
'class': 'form-control',
@ -261,7 +262,7 @@ class CreateAtmForm(forms.Form):
required=False,
)
location_categories = forms.ChoiceField(
label='Write location Category',
label=_('Write location Category'),
widget=forms.Select(
attrs={
'class': 'form-control',
@ -270,7 +271,7 @@ class CreateAtmForm(forms.Form):
required=False,
)
minimum_withdrawal = forms.CharField(
label='Minimum Withdrawal',
label=_('Minimum Withdrawal'),
widget=forms.TextInput(
attrs={
'placeholder': '5',
@ -280,7 +281,7 @@ class CreateAtmForm(forms.Form):
required=False,
)
branch_identification = forms.CharField(
label='Branch Identification',
label=_('Branch Identification'),
widget=forms.TextInput(
attrs={
'placeholder': 'Enter your Branch Identification',
@ -290,7 +291,7 @@ class CreateAtmForm(forms.Form):
required=False,
)
site_identification = forms.CharField(
label='Site Identification',
label=_('Site Identification'),
widget=forms.TextInput(
attrs={
'placeholder': 'Enter your Site Identification',
@ -300,7 +301,7 @@ class CreateAtmForm(forms.Form):
required=False,
)
site_name = forms.CharField(
label='Site Name',
label=_('Site Name'),
widget=forms.TextInput(
attrs={
'placeholder': 'Enter your Site Name ',
@ -320,7 +321,7 @@ class CreateAtmForm(forms.Form):
required=False,
)"""
cash_withdrawal_national_fee = forms.CharField(
label='Cash Withdrawal National fee',
label=_('Cash Withdrawal National fee'),
widget=forms.TextInput(
attrs={
'placeholder': 'Cash withdrawal national fee',
@ -330,7 +331,7 @@ class CreateAtmForm(forms.Form):
required=False,
)
cash_withdrawal_international_fee = forms.CharField(
label='Cash Withdrawal international fee',
label=_('Cash Withdrawal international fee'),
widget=forms.TextInput(
attrs={
'placeholder': 'Cash withdrawal international fee',
@ -340,7 +341,7 @@ class CreateAtmForm(forms.Form):
required=False,
)
balance_inquiry_fee = forms.CharField(
label='Balance Inquiry Fee',
label=_('Balance Inquiry Fee'),
widget=forms.TextInput(
attrs={
'placeholder': 'Balance Inquiry Fee',

View File

@ -1,222 +1,260 @@
{% extends 'base.html' %} {% load static i18n %}
{% block page_title %}{{ block.super }} / atms{% endblock page_title %} {% block content %}
{% extends 'base.html' %} {% load static i18n %} {% block page_title %}{{
block.super }} / atms{% endblock page_title %} {% block content %}
<div id="atms_list">
<h1>{% trans "ATMs" %}</h1>
<h1>{% trans "ATMs" %}</h1>
<form method="post">
{% csrf_token %} {% if form.non_field_errors %}
<form method="post">
{% csrf_token %} {% if form.non_field_errors %}
<div class="alert alert-danger">{{ form.non_field_errors }}</div>
{% endif %}
<div class="row">
<div class="col-xs-12 col-sm-4">
{% if form.atm_id.errors %}
<div class="alert alert-danger">{{ form.atm_id.errors }}</div>
{% endif %}
<div class="form-group">
{{ form.atm_id.label_tag }} {{ form.atm_id }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.bank_id.errors %}
<div class="alert alert-danger">{{ form.bank_id.errors }}</div>
{% endif %}
<div class="form-group">
{{ form.bank_id.label_tag }} {{ form.bank_id }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.name.errors %}
<div class="alert alert-danger">{{ form.name.errors }}</div>
{% endif %}
<div class="form-group">{{ form.name.label_tag }} {{ form.name }}</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-sm-4">
{% if form.services.errors %}
<div class="alert alert-danger">{{ form.services.errors }}</div>
{% endif %}
<div class="form-group">
{{ form.services.label_tag }} {{ form.services }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.location_latitude.errors %}
<div class="alert alert-danger">
{{ form.non_field_errors }}
{{ form.location_latitude.errors }}
</div>
{% endif %}
<div class="row">
<div class="col-xs-12 col-sm-4">
{% if form.atm_id.errors %}
<div class="alert alert-danger">{{ form.atm_id.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "ATM Id" %} </strong>{{ form.atm_id }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.bank_id.errors %}
<div class="alert alert-danger">{{ form.bank_id.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "Bank Id" %}</strong> {{ form.bank_id }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.name.errors %}
<div class="alert alert-danger">{{ form.name.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "Name" %}</strong> {{ form.name }}
</div>
</div>
<div class="form-group">
{{ form.location_latitude.label_tag }} {{ form.location_latitude }}
</div>
<div class="row">
<div class="col-xs-12 col-sm-4">
{% if form.services.errors %}
<div class="alert alert-danger">{{ form.services.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "Services" %}</strong> {{ form.services }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.location_latitude.errors %}
<div class="alert alert-danger">{{ form.location_latitude.errors }}
</div>{% endif %}
<div class="form-group">
<strong>{% trans "Location Latitude" %}</strong> {{ form.location_latitude }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.location_longitude.errors %}
<div class="alert alert-danger">{{ form.location_longitude.errors }}
</div>{% endif %}
<div class="form-group">
<strong>{% trans "Location Longitude" %}</strong> {{ form.location_longitude }}
</div>
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.location_longitude.errors %}
<div class="alert alert-danger">
{{ form.location_longitude.errors }}
</div>
<div class="row">
<div class="col-xs-12 col-sm-4">
{% if form.meta_license_name.errors %}
<div class="alert alert-danger">{{ form.meta_license_name.errors }}
</div>{% endif %}
<div class="form-group">
<strong>{% trans "Meta License Name" %}</strong> {{ form.meta_license_name }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.located_at.errors %}
<div class="alert alert-danger">{{ form.located_at.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "Located At" %}</strong> {{ form.located_at }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.has_deposit_capability.errors %}
<div class="alert alert-danger">{{ form.has_deposit_capability.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "Has Deposit Capability" %}</strong> {{ form.has_deposit_capability }}
</div>
</div>
{% endif %}
<div class="form-group">
{{ form.location_longitude.label_tag }} {{ form.location_longitude }}
</div>
<div class="row">
<div class="col-xs-12 col-sm-4">
{% if form.is_accessible.errors %}
<div class="alert alert-danger">{{ form.is_accessible.errors }}</div>
{% endif %}
<div class="form-group">
<strong>{% trans "Is Accessible" %}</strong> {{ form.is_accessible }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.accessibility_features.errors %}
<div class="alert alert-danger">{{ form.accessibility_features.errors }}
</div>{% endif %}
<div class="form-group">
<strong>{% trans "Accessibility Features" %}</strong> {{ form.accessibility_features }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.more_info.errors %}
<div class="alert alert-danger">{{ form.more_info.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "More Info" %}</strong> {{ form.more_info }}
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-sm-4">
{% if form.meta_license_name.errors %}
<div class="alert alert-danger">
{{ form.meta_license_name.errors }}
</div>
<div class="row">
<div class="col-xs-12 col-sm-4">
{% if form.notes.errors %}
<div class="alert alert-danger">{{ form.notes.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "Notes" %}</strong> {{ form.notes }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.supported_languages.errors %}
<div class="alert alert-danger">{{ form.supported_languages.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "Supported Languages" %}</strong> {{ form.supported_languages }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.supported_currencies.errors %}
<div class="alert alert-danger">{{ form.supported_currencies.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "Supported Currencies" %}</strong> {{ form.supported_currencies }}
</div>
</div>
{% endif %}
<div class="form-group">
{{ form.meta_license_name.label_tag }} {{ form.meta_license_name }}
</div>
<div class="row">
<div class="col-xs-12 col-sm-4">
{% if form.location_categories.errors %}
<div class="alert alert-danger">{{ form.location_categories.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "Location Categories" %}</strong> {{ form.location_categories }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.minimum_withdrawal.errors %}
<div class="alert alert-danger">{{ form.minimum_withdrawal.errors }}
</div>{% endif %}
<div class="form-group">
<strong>{% trans "Minimum Withdrawal" %}</strong> {{ form.minimum_withdrawal }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.site_name.errors %}
<div class="alert alert-danger">{{ form.site_name.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "Site Name" %}</strong> {{ form.site_name }}
</div>
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.located_at.errors %}
<div class="alert alert-danger">{{ form.located_at.errors }}</div>
{% endif %}
<div class="form-group">
{{ form.located_at.label_tag }} {{ form.located_at }}
</div>
<div class="row">
<div class="col-xs-12 col-sm-4">
{% if form.branch_identification.errors %}
<div class="alert alert-danger">{{ form.branch_identification.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "Branch Identification" %}</strong> {{ form.branch_identification }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.site_identification.errors %}
<div class="alert alert-danger">{{ form.site_identification.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "Site Identification" %}</strong> {{ form.site_identification }}
</div>
</div>
<div class="col-xs-12 col-sm-4"> {% if form.cash_withdrawal_national_fee.errors %}
<div class="alert alert-danger">{{ form.cash_withdrawal_national_fee.errors }}</div>{% endif %}
<div class="form-group"><strong>{% trans "Cash Withdrawal National Fee" %}</strong> {{ form.cash_withdrawal_national_fee }}
</div>
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.has_deposit_capability.errors %}
<div class="alert alert-danger">
{{ form.has_deposit_capability.errors }}
</div>
<div class="row">
<div class="col-xs-12 col-sm-4">
{% if form.balance_inquiry_fee.errors %}
<div class="alert alert-danger">{{ form.balance_inquiry_fee.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "Balance Inquiry Fee" %}</strong> {{ form.balance_inquiry_fee }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.cash_withdrawal_international_fee.errors %}
<div class="alert alert-danger">{{ form.cash_withdrawal_international_fee.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "Cash Withdrawal International Fee" %}</strong> {{ form.cash_withdrawal_international_fee }}
</div>
</div>
{% endif %}
<div class="form-group">
{{ form.has_deposit_capability.label_tag }} {{ form.has_deposit_capability }}
</div>
<div class="row">
<div class="col-xs-12 col-sm-6">
{% if form.address.errors %}
<div class="alert alert-danger">{{ form.address.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "Address" %}</strong> {{ form.address }}
</div>
</div>
<div class="col-xs-12 col-sm-6">
{% if form.lobby.errors %}
<div class="alert alert-danger">{{ form.lobby.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "Lobby" %}</strong> {{ form.lobby }}
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-sm-4">
{% if form.is_accessible.errors %}
<div class="alert alert-danger">{{ form.is_accessible.errors }}</div>
{% endif %}
<div class="form-group">
{{ form.is_accessible.label_tag }} {{ form.is_accessible }}
</div>
<div class="row">
<div class="col-sm-12 hidden-xs">
<div class="form-group">
<button type="submit" class="btn btn-primary btn-green">{% trans "Add" %}</button>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.accessibility_features.errors %}
<div class="alert alert-danger">
{{ form.accessibility_features.errors }}
</div>
</form>
{% endif %}
<div class="form-group">
{{ form.accessibility_features.label_tag }} {{ form.accessibility_features }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.more_info.errors %}
<div class="alert alert-danger">{{ form.more_info.errors }}</div>
{% endif %}
<div class="form-group">
{{ form.more_info.label_tag }} {{ form.more_info }}
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-sm-4">
{% if form.notes.errors %}
<div class="alert alert-danger">{{ form.notes.errors }}</div>
{% endif %}
<div class="form-group">
{{ form.notes.label_tag }} {{ form.notes }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.supported_languages.errors %}
<div class="alert alert-danger">
{{ form.supported_languages.errors }}
</div>
{% endif %}
<div class="form-group">
{{ form.supported_languages.label_tag }} {{ form.supported_languages }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.supported_currencies.errors %}
<div class="alert alert-danger">
{{ form.supported_currencies.errors }}
</div>
{% endif %}
<div class="form-group">
{{ form.supported_currencies.label_tag }} {{ form.supported_currencies }}
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-sm-4">
{% if form.location_categories.errors %}
<div class="alert alert-danger">
{{ form.location_categories.errors }}
</div>
{% endif %}
<div class="form-group">
{{ form.location_categories.label_tag }} {{ form.location_categories }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.minimum_withdrawal.errors %}
<div class="alert alert-danger">
{{ form.minimum_withdrawal.errors }}
</div>
{% endif %}
<div class="form-group">
{{ form.minimum_withdrawal.label_tag }} {{ form.minimum_withdrawal }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.site_name.errors %}
<div class="alert alert-danger">{{ form.site_name.errors }}</div>
{% endif %}
<div class="form-group">
{{ form.site_name.label_tag }} {{ form.site_name }}
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-sm-4">
{% if form.branch_identification.errors %}
<div class="alert alert-danger">
{{ form.branch_identification.errors }}
</div>
{% endif %}
<div class="form-group">
{{ form.branch_identification.label_tag }} {{ form.branch_identification }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.site_identification.errors %}
<div class="alert alert-danger">
{{ form.site_identification.errors }}
</div>
{% endif %}
<div class="form-group">
{{ form.site_identification.label_tag }} {{ form.site_identification }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.cash_withdrawal_national_fee.errors %}
<div class="alert alert-danger">
{{ form.cash_withdrawal_national_fee.errors }}
</div>
{% endif %}
<div class="form-group">
{{ form.cash_withdrawal_national_fee.label_tag }} {{ form.cash_withdrawal_national_fee }}
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-sm-4">
{% if form.balance_inquiry_fee.errors %}
<div class="alert alert-danger">
{{ form.balance_inquiry_fee.errors }}
</div>
{% endif %}
<div class="form-group">
{{ form.balance_inquiry_fee.label_tag }} {{ form.balance_inquiry_fee }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.cash_withdrawal_international_fee.errors %}
<div class="alert alert-danger">
{{ form.cash_withdrawal_international_fee.errors }}
</div>
{% endif %}
<div class="form-group">
{{ form.cash_withdrawal_international_fee.label_tag }}
{{ form.cash_withdrawal_international_fee }}
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-sm-6">
{% if form.address.errors %}
<div class="alert alert-danger">{{ form.address.errors }}</div>
{% endif %}
<div class="form-group">
{{ form.address.label_tag }} {{ form.address }}
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12 hidden-xs">
<div class="form-group">
<button type="submit" class="btn btn-primary btn-green">
{% trans "Add" %}
</button>
</div>
</div>
</div>
</form>
</div>
{% endblock %} {% block extrajs %} {% endblock extrajs %} {% block extracss %}
<link href="{% static 'atms/css/atms.css' %}" rel="stylesheet"> {% endblock extracss %}
<link href="{% static 'atms/css/atms.css' %}" rel="stylesheet" /> {% endblock extracss %}

View File

@ -3,14 +3,14 @@ Forms of branches app
"""
from django import forms
from django.utils.translation import ugettext_lazy as _
import random
class CreateBranchForm(forms.Form):
branch_id = forms.CharField(
label='Branch Id',
label=_('Branch Id'),
widget=forms.TextInput(
attrs={
'placeholder': 'branch-id-{}'.format(random.randint(1,1000)),
@ -21,7 +21,7 @@ class CreateBranchForm(forms.Form):
)
bank_id = forms.ChoiceField(
label='Bank',
label=_('Bank'),
widget=forms.Select(
attrs={
'class': 'form-control',
@ -30,7 +30,7 @@ class CreateBranchForm(forms.Form):
choices=[],
)
name = forms.CharField(
label='Name',
label=_('Name'),
widget=forms.TextInput(
attrs={
'placeholder': 'The name of the branch',
@ -40,7 +40,7 @@ class CreateBranchForm(forms.Form):
required=True
)
address = forms.CharField(
label='Address',
label=_('Address'),
widget=forms.Textarea(
attrs={
'class': 'form-control',
@ -50,7 +50,7 @@ class CreateBranchForm(forms.Form):
)
location_latitude = forms.FloatField(
label='Latitude',
label=_('Latitude'),
widget=forms.TextInput(
attrs={
'placeholder': 37.0,
@ -61,7 +61,7 @@ class CreateBranchForm(forms.Form):
)
location_longitude = forms.FloatField(
label='Longitude',
label=_('Longitude'),
widget=forms.TextInput(
attrs={
'placeholder': 110.0,
@ -72,7 +72,7 @@ class CreateBranchForm(forms.Form):
)
meta_license_id = forms.CharField(
label='meta_license_id',
label=_('meta_license_id'),
widget=forms.TextInput(
attrs={
'placeholder': 'PDDL',
@ -83,7 +83,7 @@ class CreateBranchForm(forms.Form):
)
meta_license_name = forms.CharField(
label='meta_license_name',
label=_('meta_license_name'),
widget=forms.TextInput(
attrs={
'placeholder': 'Open Data Commons Public Domain Dedication and License',
@ -94,7 +94,7 @@ class CreateBranchForm(forms.Form):
)
lobby = forms.CharField(
label=' Lobby Opening Hours',
label=_(' Lobby Opening Hours'),
widget=forms.Textarea(
attrs={
'placeholder': 'None',
@ -104,7 +104,7 @@ class CreateBranchForm(forms.Form):
required=False,
)
drive_up = forms.CharField(
label='Drive Up',
label=_('Drive Up'),
widget=forms.Textarea(
attrs={
'placeholder': 'None', # noqa
@ -114,7 +114,7 @@ class CreateBranchForm(forms.Form):
required=False,
)
branch_routing_scheme = forms.CharField(
label='Branch Routing Scheme',
label=_('Branch Routing Scheme'),
widget=forms.TextInput(
attrs={
'placeholder': 'OBP',
@ -124,7 +124,7 @@ class CreateBranchForm(forms.Form):
required=False,
)
branch_routing_address = forms.CharField(
label='Branch Routing Address',
label=_('Branch Routing Address'),
widget=forms.TextInput(
attrs={
'placeholder': '123abc',
@ -134,7 +134,7 @@ class CreateBranchForm(forms.Form):
required=False,
)
is_accessible = forms.ChoiceField(
label='is accessible',
label=_('is accessible'),
widget=forms.Select(
attrs={
'class': 'form-control',
@ -143,7 +143,7 @@ class CreateBranchForm(forms.Form):
required=False,
)
accessibleFeatures = forms.CharField(
label='Accessible Features',
label=_('Accessible Features'),
widget=forms.TextInput(
attrs={
'placeholder': 'wheelchair, atm usuable by the visually impaired',
@ -153,7 +153,7 @@ class CreateBranchForm(forms.Form):
required=False,
)
branch_type = forms.CharField(
label='Branch type',
label=_('Branch type'),
widget=forms.TextInput(
attrs={
'placeholder': 'Full service store',
@ -163,7 +163,7 @@ class CreateBranchForm(forms.Form):
required=False,
)
more_info = forms.CharField(
label='More information',
label=_('More information'),
widget=forms.TextInput(
attrs={
'placeholder': 'short walk to the lake from here',
@ -174,7 +174,7 @@ class CreateBranchForm(forms.Form):
)
phone_number = forms.CharField(
label='Mobile Phone Number',
label=_('Mobile Phone Number'),
widget=forms.TextInput(
attrs={
'placeholder': 'E.g. +49 123 456 78 90 12',

View File

@ -19,7 +19,7 @@
<div class="col-xs-12 col-sm-4">
{% if form.branch_id.errors %}<div class="alert alert-danger">{{ form.branch_id.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "Branch_Id" %}</strong>
{{ form.branch_id.label_tag }}
{{ form.branch_id }}
</div>
</div>
@ -33,7 +33,7 @@
<div class="col-xs-12 col-sm-4">
{% if form.name.errors %}<div class="alert alert-danger">{{ form.name.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "name" %} </strong>
{{ form.name.label_tag }}
{{ form.name }}
</div>
</div>
@ -43,7 +43,7 @@
<div class="col-xs-12 col-sm-4">
{% if form.branch_type.errors %}<div class="alert alert-danger">{{ form.branch_type.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "branch_type" %} </strong>
{{ form.branch_type.label_tag }}
{{ form.branch_type }}
</div>
</div>
@ -57,7 +57,7 @@
<div class="col-xs-12 col-sm-4">
{% if form.location_longitude.errors %}<div class="alert alert-danger">{{ form.location_longitude.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "location_longitude" %} </strong>
{{ form.location_longitude.label_tag }}
{{ form.location_longitude }}
</div>
</div>
@ -67,21 +67,21 @@
<div class="col-xs-12 col-sm-4">
{% if form.meta_license_name.errors %}<div class="alert alert-danger">{{ form.meta_license_name.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "meta_license_name" %} </strong>
{{ form.meta_license_name.label_tag }}
{{ form.meta_license_name }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.branch_routing_scheme.errors %}<div class="alert alert-danger">{{ form.branch_routing_scheme.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "branch_routing_scheme" %} </strong>
{{ form.branch_routing_scheme.label_tag }}
{{ form.branch_routing_scheme }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.branch_routing_address.errors %}<div class="alert alert-danger">{{ form.branch_routing_address.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "branch_routing_address" %} </strong>
{{ form.branch_routing_address.label_tag }}
{{ form.branch_routing_address }}
</div>
</div>
@ -91,21 +91,21 @@
<div class="col-xs-12 col-sm-4">
{% if form.is_accessible.errors %}<div class="alert alert-danger">{{ form.is_accessible.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "is_accessible" %} </strong>
{{ form.is_accessible.label_tag }}
{{ form.is_accessible }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.accessibleFeatures.errors %}<div class="alert alert-danger">{{ form.accessibleFeatures.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "accessibleFeatures" %} </strong>
{{ form.accessibleFeatures.label_tag }}
{{ form.accessibleFeatures }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.more_info.errors %}<div class="alert alert-danger">{{ form.more_info.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "more_info" %} </strong>
{{ form.more_info.label_tag }}
{{ form.more_info }}
</div>
</div>
@ -115,7 +115,7 @@
<div class="col-xs-12 col-sm-4">
{% if form.phone_number.errors %}<div class="alert alert-danger">{{ form.phone_number.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "phone_number" %} </strong>
{{ form.phone_number.label_tag }}
{{ form.phone_number }}
</div>
</div>
@ -125,21 +125,21 @@
<div class="col-xs-12 col-sm-4">
{% if form.address.errors %}<div class="alert alert-danger">{{ form.address.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "address" %} </strong>
{{ form.address.label_tag }}
{{ form.address }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.lobby.errors %}<div class="alert alert-danger">{{ form.lobby.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "lobby" %} </strong>
{{ form.lobby.label_tag }}
{{ form.lobby }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.drive_up.errors %}<div class="alert alert-danger">{{ form.drive_up.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "drive_up" %} </strong>
{{ form.drive_up.label_tag }}
{{ form.drive_up }}
</div>
</div>

View File

@ -5,13 +5,14 @@ Forms of customers app
from django import forms
from django.conf import settings
from django.utils.translation import ugettext_lazy as _
from obp.api import APIError
class CreateCustomerForm(forms.Form):
bank_id = forms.ChoiceField(
label='Bank',
label=_('Bank'),
widget=forms.Select(
attrs={
'class': 'form-control',
@ -20,7 +21,7 @@ class CreateCustomerForm(forms.Form):
choices=[],
)
username = forms.CharField(
label='Username',
label=_('Username'),
widget=forms.TextInput(
attrs={
'placeholder': 'The name of the user',
@ -29,7 +30,7 @@ class CreateCustomerForm(forms.Form):
),
)
customer_number = forms.CharField(
label='Customer Number',
label=_('Customer Number'),
widget=forms.TextInput(
attrs={
'placeholder': 'E.g. `007`',
@ -38,7 +39,7 @@ class CreateCustomerForm(forms.Form):
),
)
legal_name = forms.CharField(
label='Legal Name',
label=_('Legal Name'),
widget=forms.TextInput(
attrs={
'placeholder': 'NONE',
@ -48,7 +49,7 @@ class CreateCustomerForm(forms.Form):
required=False,
)
mobile_phone_number = forms.CharField(
label='Mobile Phone Number',
label=_('Mobile Phone Number'),
widget=forms.TextInput(
attrs={
'placeholder': 'E.g. +49 123 456 78 90 12',
@ -58,7 +59,7 @@ class CreateCustomerForm(forms.Form):
required=False,
)
email = forms.CharField(
label='Email',
label=_('Email'),
widget=forms.TextInput(
attrs={
'placeholder': 'E.g. person@example.com',
@ -68,7 +69,7 @@ class CreateCustomerForm(forms.Form):
required=False,
)
face_image_url = forms.CharField(
label='Face Image URL',
label=_('Face Image URL'),
widget=forms.TextInput(
attrs={
'placeholder': 'https://static.openbankproject.com/images/OBP/favicon.png', # noqa
@ -78,7 +79,7 @@ class CreateCustomerForm(forms.Form):
required=False,
)
face_image_date = forms.DateTimeField(
label='Face Image Date',
label=_('Face Image Date'),
input_formats=[settings.API_DATETIMEFORMAT],
widget=forms.DateTimeInput(
attrs={
@ -89,7 +90,7 @@ class CreateCustomerForm(forms.Form):
required=False,
)
date_of_birth = forms.DateTimeField(
label='Date of Birth',
label=_('Date of Birth'),
input_formats=[settings.API_DATETIMEFORMAT],
widget=forms.DateTimeInput(
attrs={
@ -100,7 +101,7 @@ class CreateCustomerForm(forms.Form):
required=True,
)
relationship_status = forms.CharField(
label='Relationship Status',
label=_('Relationship Status'),
widget=forms.TextInput(
attrs={
'placeholder': 'Single',
@ -110,7 +111,7 @@ class CreateCustomerForm(forms.Form):
required=False,
)
dependants = forms.IntegerField(
label='Dependants',
label=_('Dependants'),
widget=forms.TextInput(
attrs={
'placeholder': '0',
@ -121,7 +122,7 @@ class CreateCustomerForm(forms.Form):
required=True,
)
dob_of_dependants = forms.CharField(
label='Date of Birth of Dependants',
label=_('Date of Birth of Dependants'),
widget=forms.TextInput(
attrs={
'placeholder': '2013-01-22T00:08:00Z, 2010-01-22T00:08:00Z',
@ -131,7 +132,7 @@ class CreateCustomerForm(forms.Form):
required=False,
)
credit_rating_rating = forms.CharField(
label='Credit Rating (Rating)',
label=_('Credit Rating (Rating)'),
widget=forms.TextInput(
attrs={
'placeholder': 'OBP',
@ -141,7 +142,7 @@ class CreateCustomerForm(forms.Form):
required=False,
)
credit_rating_source = forms.CharField(
label='Credit Rating (Source)',
label=_('Credit Rating (Source)'),
widget=forms.TextInput(
attrs={
'placeholder': 'OBP',
@ -151,7 +152,7 @@ class CreateCustomerForm(forms.Form):
required=False,
)
credit_limit_currency = forms.CharField(
label='Credit Limit (Currency)',
label=_('Credit Limit (Currency)'),
widget=forms.TextInput(
attrs={
'placeholder': 'EUR',
@ -161,7 +162,7 @@ class CreateCustomerForm(forms.Form):
required=False,
)
credit_limit_amount = forms.CharField(
label='Credit Limit (Amount)',
label=_('Credit Limit (Amount)'),
widget=forms.TextInput(
attrs={
'placeholder': '10',
@ -171,7 +172,7 @@ class CreateCustomerForm(forms.Form):
required=False,
)
highest_education_attained = forms.CharField(
label='Highest Education Attained',
label=_('Highest Education Attained'),
widget=forms.TextInput(
attrs={
'placeholder': 'Bachelors Degree',
@ -181,7 +182,7 @@ class CreateCustomerForm(forms.Form):
required=False,
)
employment_status = forms.CharField(
label='Employment Status',
label=_('Employment Status'),
widget=forms.TextInput(
attrs={
'placeholder': 'Employed',
@ -191,7 +192,7 @@ class CreateCustomerForm(forms.Form):
required=False,
)
kyc_status = forms.BooleanField(
label='KYC Status',
label=_('KYC Status'),
widget=forms.CheckboxInput(
attrs={
'class': 'form-control',
@ -201,7 +202,7 @@ class CreateCustomerForm(forms.Form):
required=False,
)
last_ok_date = forms.DateTimeField(
label='Last OK Date',
label=_('Last OK Date'),
input_formats=[settings.API_DATETIMEFORMAT],
widget=forms.DateTimeInput(
attrs={

View File

@ -21,21 +21,21 @@
<div class="col-xs-12 col-sm-4">
{% if form.bank_id.errors %}<div class="alert alert-danger">{{ form.bank_id.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "Bank Id" %}</strong>
{{ form.bank_id.label_tag }}
{{ form.bank_id }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.username.errors %}<div class="alert alert-danger">{{ form.username.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "username" %}</strong>
{{ form.username.label_tag }}
{{ form.username }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.customer_number.errors %}<div class="alert alert-danger">{{ form.customer_number.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "customer number" %}</strong>
{{ form.customer_number.label_tag }}
{{ form.customer_number }}
</div>
</div>
@ -45,21 +45,21 @@
<div class="col-xs-12 col-sm-4">
{% if form.legal_name.errors %}<div class="alert alert-danger">{{ form.legal_name.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "legal name" %}</strong>
{{ form.legal_name.label_tag }}
{{ form.legal_name }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.mobile_phone_number.errors %}<div class="alert alert-danger">{{ form.mobile_phone_number.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "mobile phone number" %}</strong>
{{ form.mobile_phone_number.label_tag }}
{{ form.mobile_phone_number }}
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.email.errors %}<div class="alert alert-danger">{{ form.email.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "email" %}</strong>
{{ form.email.label_tag }}
{{ form.email }}
</div>
</div>
@ -69,14 +69,14 @@
<div class="col-xs-12 col-sm-6">
{% if form.face_image_url.errors %}<div class="alert alert-danger">{{ form.face_image_url.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "face_image_url" %}</strong>
{{ form.face_image_url.label_tag }}
{{ form.face_image_url }}
</div>
</div>
<div class="col-xs-12 col-sm-6">
{% if form.face_image_date.errors %}<div class="alert alert-danger">{{ form.face_image_date.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "face image date" %}</strong>
{{ form.face_image_date.label_tag }}
{{ form.face_image_date }}
</div>
</div>
@ -86,14 +86,14 @@
<div class="col-xs-12 col-sm-6">
{% if form.date_of_birth.errors %}<div class="alert alert-danger">{{ form.date_of_birth.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "date of birth" %}</strong>
{{ form.date_of_birth.label_tag }}
{{ form.date_of_birth }}
</div>
</div>
<div class="col-xs-12 col-sm-6">
{% if form.relationship_status.errors %}<div class="alert alert-danger">{{ form.relationship_status.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "relationship status" %}</strong>
{{ form.relationship_status.label_tag }}
{{ form.relationship_status }}
</div>
</div>
@ -103,14 +103,14 @@
<div class="col-xs-12 col-sm-6">
{% if form.dependants.errors %}<div class="alert alert-danger">{{ form.dependants.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "dependants" %}</strong>
{{ form.dependants.label_tag }}
{{ form.dependants }}
</div>
</div>
<div class="col-xs-12 col-sm-6">
{% if form.dob_of_dependants.errors %}<div class="alert alert-danger">{{ form.dob_of_dependants.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "dob of dependants" %}</strong>
{{ form.dob_of_dependants.label_tag }}
{{ form.dob_of_dependants }}
</div>
</div>
@ -120,14 +120,14 @@
<div class="col-xs-12 col-sm-6 col-md-3">
{% if form.credit_rating_rating.errors %}<div class="alert alert-danger">{{ form.credit_rating_rating.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "credit rating rating" %}</strong>
{{ form.credit_rating_rating.label_tag }}
{{ form.credit_rating_rating }}
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-3">
{% if form.credit_rating_source.errors %}<div class="alert alert-danger">{{ form.credit_rating_source.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "credit rating source" %}</strong>
{{ form.credit_rating_source.label_tag }}
{{ form.credit_rating_source }}
</div>
</div>
@ -135,14 +135,14 @@
<div class="col-xs-12 col-sm-6 col-md-3">
{% if form.credit_limit_currency.errors %}<div class="alert alert-danger">{{ form.credit_limit_currency.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "credit limit currency" %}</strong>
{{ form.credit_limit_currency.label_tag }}
{{ form.credit_limit_currency }}
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-3">
{% if form.credit_limit_amount.errors %}<div class="alert alert-danger">{{ form.credit_limit_amount.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "credit limit amount" %}</strong>
{{ form.credit_limit_amount.label_tag }}
{{ form.credit_limit_amount }}
</div>
</div>
@ -152,14 +152,14 @@
<div class="col-xs-12 col-sm-6">
{% if form.highest_education_attained.errors %}<div class="alert alert-danger">{{ form.highest_education_attained.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "highest education attained" %}</strong>
{{ form.highest_education_attained.label_tag }}
{{ form.highest_education_attained }}
</div>
</div>
<div class="col-xs-12 col-sm-6">
{% if form.employment_status.errors %}<div class="alert alert-danger">{{ form.employment_status.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "employment status" %}</strong>
{{ form.employment_status.label_tag }}
{{ form.employment_status }}
</div>
</div>
@ -169,14 +169,14 @@
<div class="col-xs-12 col-sm-6">
{% if form.kyc_status.errors %}<div class="alert alert-danger">{{ form.kyc_status.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "kyc status" %}</strong>
{{ form.kyc_status.label_tag }}
{{ form.kyc_status }}
</div>
</div>
<div class="col-xs-12 col-sm-6">
{% if form.last_ok_date.errors %}<div class="alert alert-danger">{{ form.last_ok_date.errors }}</div>{% endif %}
<div class="form-group">
<strong>{% trans "last ok date" %}</strong>
{{ form.last_ok_date.label_tag }}
{{ form.last_ok_date }}
</div>
</div>

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-06-09 06:06+0200\n"
"POT-Creation-Date: 2022-06-10 12:39+0200\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"
@ -29,18 +29,145 @@ msgstr "francés"
msgid "Spanish"
msgstr "español"
#: atms/templates/atms/atm_List.html:8 atms/templates/atms/index.html:17
#: atms/forms.py:14 atms/templates/atms/atm_List.html:8
msgid "ATM Id"
msgstr "ID del cajero automático"
#: atms/templates/atms/atm_List.html:9 atms/templates/atms/index.html:24
#: atms/forms.py:25 atms/templates/atms/atm_List.html:9
#: branches/templates/branches/index.html:161
#: customers/templates/customers/create.html:24
#: users/templates/users/detail.html:99
#: users/templates/users/invitation.html:22
msgid "Bank Id"
msgstr "Id. de banco"
#: atms/forms.py:35 branches/forms.py:33
#: consumers/templates/consumers/index.html:58
msgid "Name"
msgstr "Nombre"
#: atms/forms.py:46 branches/forms.py:43
#: branches/templates/branches/index.html:176
#: branches/templates/branches/index.html:203
msgid "Address"
msgstr "Dirección"
#: atms/forms.py:56 branches/forms.py:53
msgid "Latitude"
msgstr "latitud"
#: atms/forms.py:67 branches/forms.py:64
msgid "Longitude"
msgstr "longitud"
#: atms/forms.py:78
msgid "Meta License Id"
msgstr "Meta Licencia"
#: atms/forms.py:89
msgid "Meta License Name"
msgstr "Nombre de la Licencia"
#: atms/forms.py:100
msgid "Opening Hours"
msgstr "Horario de atención"
#: atms/forms.py:110
msgid " Monday"
msgstr "Lunes"
#: atms/forms.py:120
msgid "Tuesday"
msgstr "Martes"
#: atms/forms.py:130
msgid " Wednesday"
msgstr "Wednesday"
#: atms/forms.py:140
msgid " Thursday"
msgstr "Jueves"
#: atms/forms.py:150
msgid " Friday"
msgstr "Viernes"
#: atms/forms.py:160
msgid " Saturday"
msgstr "Sábado"
#: atms/forms.py:170
msgid " Sunday"
msgstr "Sunday"
#: atms/forms.py:180
msgid "Is Accessible"
msgstr "producción y validación es"
#: atms/forms.py:189
msgid "ATM location"
msgstr "Ubicación"
#: atms/forms.py:199 branches/forms.py:166
msgid "More information"
msgstr "Más información"
#: atms/forms.py:209
msgid "Deposit Capabilities"
msgstr "Tiene capacidad de depósito"
#: atms/forms.py:218
msgid "Supported Languages"
msgstr "Idiomas admitidos"
#: atms/forms.py:227
msgid "Services"
msgstr "Servicios"
#: atms/forms.py:237 branches/forms.py:146
#: branches/templates/branches/index.html:209
msgid "Accessible Features"
msgstr "Características accesibles"
#: atms/forms.py:247
msgid "Supported Currencies"
msgstr "Divisas Soportadas"
#: atms/forms.py:256
msgid "Write Notes"
msgstr "Notas:"
#: atms/forms.py:265
msgid "Write location Category"
msgstr "Categorías de ubicación"
#: atms/forms.py:274
msgid "Minimum Withdrawal"
msgstr "El retiro mínimo"
#: atms/forms.py:284
msgid "Branch Identification"
msgstr "Identificación de la sucursal"
#: atms/forms.py:294
msgid "Site Identification"
msgstr "IDENTIFICACIÓN DEL LUGAR"
#: atms/forms.py:304
msgid "Site Name"
msgstr "Nobre del sitio"
#: atms/forms.py:324
msgid "Cash Withdrawal National fee"
msgstr "Cargo Nacional por Retiro de Efectivo"
#: atms/forms.py:334
msgid "Cash Withdrawal international fee"
msgstr "Cargo internacional por retiro de efectivo"
#: atms/forms.py:344
msgid "Balance Inquiry Fee"
msgstr "Cargo por consulta de saldo"
#: atms/templates/atms/atm_List.html:10
msgid "ATM Name"
msgstr "Nombre del cajero automático"
@ -58,103 +185,7 @@ msgstr "Botón Actualizar"
msgid "ATMs"
msgstr "cajeros automáticos"
#: atms/templates/atms/index.html:31
#: consumers/templates/consumers/index.html:58
msgid "Name"
msgstr "Nombre"
#: atms/templates/atms/index.html:40
msgid "Services"
msgstr "Servicios"
#: atms/templates/atms/index.html:48
msgid "Location Latitude"
msgstr "Ubicación Latitud"
#: atms/templates/atms/index.html:56
msgid "Location Longitude"
msgstr "Longitud de la ubicación"
#: atms/templates/atms/index.html:66
msgid "Meta License Name"
msgstr "Nombre de la Licencia"
#: atms/templates/atms/index.html:73
msgid "Located At"
msgstr "La página de presentación, que está ubicada en"
#: atms/templates/atms/index.html:80
msgid "Has Deposit Capability"
msgstr "Tiene capacidad de depósito"
#: atms/templates/atms/index.html:90
msgid "Is Accessible"
msgstr "producción y validación es"
#: atms/templates/atms/index.html:98
msgid "Accessibility Features"
msgstr "Características de accesibilidad"
#: atms/templates/atms/index.html:105
#: branches/templates/branches/index.html:207
msgid "More Info"
msgstr "Más información"
#: atms/templates/atms/index.html:114
msgid "Notes"
msgstr "Notas:"
#: atms/templates/atms/index.html:121
msgid "Supported Languages"
msgstr "Idiomas admitidos"
#: atms/templates/atms/index.html:128
msgid "Supported Currencies"
msgstr "Divisas Soportadas"
#: atms/templates/atms/index.html:137
msgid "Location Categories"
msgstr "Categorías de ubicación"
#: atms/templates/atms/index.html:145
msgid "Minimum Withdrawal"
msgstr "El retiro mínimo"
#: atms/templates/atms/index.html:152
msgid "Site Name"
msgstr "Nobre del sitio"
#: atms/templates/atms/index.html:161
msgid "Branch Identification"
msgstr "Identificación de la sucursal"
#: atms/templates/atms/index.html:168
msgid "Site Identification"
msgstr "IDENTIFICACIÓN DEL LUGAR"
#: atms/templates/atms/index.html:173
msgid "Cash Withdrawal National Fee"
msgstr "Cargo Nacional por Retiro de Efectivo"
#: atms/templates/atms/index.html:183
msgid "Balance Inquiry Fee"
msgstr "Cargo por consulta de saldo"
#: atms/templates/atms/index.html:190
msgid "Cash Withdrawal International Fee"
msgstr "Cargo internacional por retiro de efectivo"
#: atms/templates/atms/index.html:199
#: branches/templates/branches/index.html:176
#: branches/templates/branches/index.html:203
msgid "Address"
msgstr "Dirección"
#: atms/templates/atms/index.html:206
msgid "Lobby"
msgstr "Sala de espera"
#: atms/templates/atms/index.html:213
#: atms/templates/atms/index.html:251
#: branches/templates/branches/index.html:151
#: users/templates/users/detail.html:83 users/templates/users/detail.html:88
msgid "Add"
@ -286,75 +317,58 @@ msgstr ""
"El usuario que inició sesión debe tener roles específicos otorgados para "
"usar la funcionalidad."
#: branches/templates/branches/index.html:22
msgid "Branch_Id"
msgstr "ID_sucursal"
#: branches/forms.py:13 branches/templates/branches/index.html:160
msgid "Branch Id"
msgstr "Identificación de la sucursal"
#: branches/forms.py:24 customers/forms.py:15
msgid "Bank"
msgstr "Banco"
#: branches/forms.py:75
msgid "meta_license_id"
msgstr "nombre de la metalicencia"
#: branches/forms.py:86
msgid "meta_license_name"
msgstr "nombre de la metalicencia"
#: branches/forms.py:97
msgid " Lobby Opening Hours"
msgstr "Horario de atención"
#: branches/forms.py:107
msgid "Drive Up"
msgstr "subir"
#: branches/forms.py:117
msgid "Branch Routing Scheme"
msgstr "Enrutamiento de sucursales"
#: branches/forms.py:127
msgid "Branch Routing Address"
msgstr "Enrutamiento de sucursales"
#: branches/forms.py:137
msgid "is accessible"
msgstr "producción y validación es"
#: branches/forms.py:156
msgid "Branch type"
msgstr "Sucursales"
#: branches/forms.py:177 customers/forms.py:52
msgid "Mobile Phone Number"
msgstr "teléfono móvil"
#: branches/templates/branches/index.html:29
msgid "bank_id"
msgstr "bank_id"
#: branches/templates/branches/index.html:36
#: branches/templates/branches/index.html:197
msgid "name"
msgstr "nombre"
#: branches/templates/branches/index.html:46
msgid "branch_type"
msgstr "Sucursales"
msgstr "id_banco"
#: branches/templates/branches/index.html:53
msgid "location_latitude"
msgstr "ubicación_latitud"
#: branches/templates/branches/index.html:60
msgid "location_longitude"
msgstr "ubicación longitud"
#: branches/templates/branches/index.html:70
msgid "meta_license_name"
msgstr "nombre de la metalicencia"
#: branches/templates/branches/index.html:77
msgid "branch_routing_scheme"
msgstr "esquema_de_rama_de_enrutamiento"
#: branches/templates/branches/index.html:84
msgid "branch_routing_address"
msgstr "dirección_enrutamiento_sucursal"
#: branches/templates/branches/index.html:94
msgid "is_accessible"
msgstr "producción y validación es"
#: branches/templates/branches/index.html:101
msgid "accessibleFeatures"
msgstr "Funciones accesibles"
#: branches/templates/branches/index.html:108
msgid "more_info"
msgstr "más información"
#: branches/templates/branches/index.html:118
msgid "phone_number"
msgstr "número_de_teléfono"
#: branches/templates/branches/index.html:128
msgid "address"
msgstr "dirección"
#: branches/templates/branches/index.html:135
msgid "lobby"
msgstr "ejercer presión"
#: branches/templates/branches/index.html:142
msgid "drive_up"
msgstr "subir"
#: branches/templates/branches/index.html:160
msgid "Branch Id"
msgstr "Identificación de la sucursal"
#: branches/templates/branches/index.html:162
msgid "Branch Name"
msgstr "Nombre de la sucursal"
@ -415,6 +429,10 @@ msgstr "Meta Licencia"
msgid "id"
msgstr "identificación"
#: branches/templates/branches/index.html:197
msgid "name"
msgstr "nombre"
#: branches/templates/branches/index.html:200
msgid "Branch Routing"
msgstr "Enrutamiento de sucursales"
@ -427,14 +445,14 @@ msgstr "Pauta"
msgid "Branch Type"
msgstr "Sucursales"
#: branches/templates/branches/index.html:207
msgid "More Info"
msgstr "Más información"
#: branches/templates/branches/index.html:208
msgid "Phone Number"
msgstr "Número de teléfono"
#: branches/templates/branches/index.html:209
msgid "Accessible Features"
msgstr "Características accesibles"
#: config/templates/config/index.html:11
msgid "The configuration of the API"
msgstr "La configuración de la API"
@ -509,10 +527,12 @@ msgid "Description"
msgstr "Descripción"
#: consumers/templates/consumers/detail.html:194
#: consumers/templates/consumers/index.html:75
msgid "Disable"
msgstr "Deshabilitado"
#: consumers/templates/consumers/detail.html:196
#: consumers/templates/consumers/index.html:75
msgid "Enable"
msgstr "Habilitado"
@ -585,87 +605,88 @@ msgstr "Identificación"
msgid "Action"
msgstr "Acción"
#: consumers/templates/consumers/index.html:76
#: users/templates/users/index.html:69
msgid "View"
msgstr "Ver"
#: customers/forms.py:24 users/templates/users/index.html:58
msgid "Username"
msgstr "Nombre de usuario"
#: customers/forms.py:33
msgid "Customer Number"
msgstr "número de cliente"
#: customers/forms.py:42
msgid "Legal Name"
msgstr "Nombre_juridico"
#: customers/forms.py:62 users/templates/users/detail.html:16
#: users/templates/users/index.html:59 users/templates/users/invitation.html:71
msgid "Email"
msgstr "Correo electrónico"
#: customers/forms.py:72
msgid "Face Image URL"
msgstr "fecha de la imagen de la cara"
#: customers/forms.py:82
msgid "Face Image Date"
msgstr "fecha de la imagen de la cara"
#: customers/forms.py:93
msgid "Date of Birth"
msgstr "fecha de nacimiento"
#: customers/forms.py:104
msgid "Relationship Status"
msgstr "estado civil"
#: customers/forms.py:114
msgid "Dependants"
msgstr "personas a cargo"
#: customers/forms.py:125
msgid "Date of Birth of Dependants"
msgstr "dob de dependientes"
#: customers/forms.py:135
msgid "Credit Rating (Rating)"
msgstr "calificación crediticia"
#: customers/forms.py:145
msgid "Credit Rating (Source)"
msgstr "fuente de calificación crediticia"
#: customers/forms.py:155
msgid "Credit Limit (Currency)"
msgstr "moneda límite de crédito"
#: customers/forms.py:165
msgid "Credit Limit (Amount)"
msgstr "importe del límite de crédito"
#: customers/forms.py:175
msgid "Highest Education Attained"
msgstr "mayor_educación_alcanzada"
#: customers/forms.py:185
msgid "Employment Status"
msgstr "Estado de Empleo"
#: customers/forms.py:195
msgid "KYC Status"
msgstr "estado"
#: customers/forms.py:205
msgid "Last OK Date"
msgstr "Último día"
#: customers/templates/customers/create.html:10
msgid "Create Customer"
msgstr "Crear cliente"
#: customers/templates/customers/create.html:31
msgid "username"
msgstr "nombre de usuario"
#: customers/templates/customers/create.html:38
msgid "customer number"
msgstr "número de cliente"
#: customers/templates/customers/create.html:48
msgid "legal name"
msgstr "Nombre_juridico"
#: customers/templates/customers/create.html:55
msgid "mobile phone number"
msgstr "teléfono móvil"
#: customers/templates/customers/create.html:62
#: users/templates/users/invitation.html:45
msgid "email"
msgstr "Email"
#: customers/templates/customers/create.html:72
msgid "face_image_url"
msgstr "URL de la imagen de la cara"
#: customers/templates/customers/create.html:79
msgid "face image date"
msgstr "fecha de la imagen de la cara"
#: customers/templates/customers/create.html:89
msgid "date of birth"
msgstr "fecha de nacimiento"
#: customers/templates/customers/create.html:96
msgid "relationship status"
msgstr "estado civil"
#: customers/templates/customers/create.html:106
msgid "dependants"
msgstr "personas a cargo"
#: customers/templates/customers/create.html:113
msgid "dob of dependants"
msgstr "dob de dependientes"
#: customers/templates/customers/create.html:123
msgid "credit rating rating"
msgstr "calificación crediticia"
#: customers/templates/customers/create.html:130
msgid "credit rating source"
msgstr "fuente de calificación crediticia"
#: customers/templates/customers/create.html:138
msgid "credit limit currency"
msgstr "moneda límite de crédito"
#: customers/templates/customers/create.html:145
msgid "credit limit amount"
msgstr "importe del límite de crédito"
#: customers/templates/customers/create.html:155
msgid "highest education attained"
msgstr "mayor_educación_alcanzada"
#: customers/templates/customers/create.html:162
msgid "employment status"
msgstr "Estado de Empleo"
#: customers/templates/customers/create.html:172
msgid "kyc status"
msgstr "estado de kyc"
#: customers/templates/customers/create.html:179
msgid "last ok date"
msgstr "última fecha aceptable"
#: dynamicendpoints/templates/dynamicendpoints/index.html:10
msgid "ENDPOINT ID"
msgstr "ID DE PUNTO FINAL"
@ -1070,12 +1091,19 @@ msgstr "Tiempo de Respuesta Promedio(ms)"
#: metrics/templates/metrics/yearly_summary.html:101
msgid "Median time from consumer registration to first API call"
msgstr ""
"Tiempo medio desde el registro del consumidor hasta la primera llamada a la "
"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 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 "
"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 "
@ -1212,20 +1240,28 @@ msgstr "Número promedio de llamadas"
#: metrics/templates/metrics/weekly_summary.html:110
msgid "Apps with distinct developer email addresses"
msgstr ""
"Aplicaciones con direcciones de correo electrónico de desarrollador "
"distintasAplicaciones con direcciones de correo electrónico de desarrollador "
"distintasAplicaciones con direcciones de correo electrónico de desarrollador "
"distintasDirecciones de correo electrónicoAplicaciones con direcciones de "
"correo electrónico de desarrollador distintasDirecciones de correo "
"electrónicoAplicaciones con distintas direcciones de correo electrónico para "
"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 desarrolladoresAplicaciones con distintas direcciones de "
"correo electrónico para desarrolladoresAplicaciones con direcciones de "
"correo electrónico de desarrollador distintasAplicaciones con direcciones de "
"correo electrónico de desarrollador distintasAplicaciones con distintas "
"direcciones de correo electrónico para desarrolladoresAplicaciones con "
"distintas direcciones de correo electrónico de desarrollador"
"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 "
"electrónico para desarrolladoresAplicaciones con direcciones de correo "
"electrónico de desarrollador distintasAplicaciones con direcciones de correo "
"electrónico de desarrollador distintasAplicaciones con direcciones de correo "
"electrónico de desarrollador distintasDirecciones de correo "
"electrónicoAplicaciones con direcciones de correo electrónico de "
"desarrollador distintasDirecciones de correo electrónicoAplicaciones 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 direcciones de correo "
"electrónico de desarrollador distintasAplicaciones con direcciones de correo "
"electrónico de desarrollador distintasAplicaciones con distintas direcciones "
"de correo electrónico para desarrolladoresAplicaciones con distintas "
"direcciones de correo electrónico de desarrollador"
#: metrics/templates/metrics/hourly_summary.html:20
msgid "Hour"
@ -1270,11 +1306,6 @@ msgstr "llamadas por mes"
msgid "User"
msgstr "Usuaria"
#: users/templates/users/detail.html:16 users/templates/users/index.html:59
#: users/templates/users/invitation.html:71
msgid "Email"
msgstr "Correo electrónico"
#: users/templates/users/detail.html:21
msgid "Provider"
msgstr "Proveedor"
@ -1348,14 +1379,6 @@ msgstr "Total de usuarios"
msgid "User Id"
msgstr "Identificación de usuario"
#: users/templates/users/index.html:58
msgid "Username"
msgstr "Nombre de usuario"
#: users/templates/users/index.html:69
msgid "View"
msgstr "Ver"
#: users/templates/users/invitation.html:29
#: users/templates/users/invitation.html:69
msgid "First Name"
@ -1366,6 +1389,10 @@ msgstr "Nombre"
msgid "Last Name"
msgstr "Apellido"
#: users/templates/users/invitation.html:45
msgid "email"
msgstr "Email"
#: users/templates/users/invitation.html:52
#: users/templates/users/invitation.html:72
msgid "company"
@ -1403,3 +1430,74 @@ msgstr "Guardar valor"
#: webui/templates/webui/index.html:48
msgid "Save"
msgstr "Ahorrar"
#~ msgid "username"
#~ msgstr "nombre de usuario"
#~ msgid "mobile phone number"
#~ msgstr "teléfono móvil"
#~ msgid "face_image_url"
#~ msgstr "URL de la imagen de la cara"
#~ msgid "kyc status"
#~ msgstr "estado de kyc"
#~ msgid "last ok date"
#~ msgstr "última fecha aceptable"
#~ msgid "Branch_Id"
#~ msgstr "ID_sucursal"
#~ msgid "branch_type"
#~ msgstr "Sucursales"
#~ msgid "location_longitude"
#~ msgstr "ubicación longitud"
#~ msgid "branch_routing_scheme"
#~ msgstr "esquema_de_rama_de_enrutamiento"
#~ msgid "branch_routing_address"
#~ msgstr "dirección_enrutamiento_sucursal"
#~ msgid "is_accessible"
#~ msgstr "producción y validación es"
#~ msgid "accessibleFeatures"
#~ msgstr "Funciones accesibles"
#~ msgid "more_info"
#~ msgstr "más información"
#~ msgid "phone_number"
#~ msgstr "número_de_teléfono"
#~ msgid "address"
#~ msgstr "dirección"
#~ msgid "lobby"
#~ msgstr "ejercer presión"
#, fuzzy
#~| msgid "Cash Withdrawal International Fee"
#~ msgid "cash_withdrawal_international_fee"
#~ msgstr "Cargo internacional por retiro de efectivo"
#~ msgid "Cash Withdrawal International Fee"
#~ msgstr "Cargo internacional por retiro de efectivo"
#~ msgid "Location Latitude"
#~ msgstr "Ubicación Latitud"
#~ msgid "Location Longitude"
#~ msgstr "Longitud de la ubicación"
#~ msgid "Located At"
#~ msgstr "La página de presentación, que está ubicada en"
#~ msgid "Accessibility Features"
#~ msgstr "Características de accesibilidad"
#~ msgid "Lobby"
#~ msgstr "Sala de espera"