more translations fixed
This commit is contained in:
parent
a2f705f012
commit
1087620ae8
5 changed files with 70 additions and 1243 deletions
|
@ -78,7 +78,7 @@ class UserHostingKeyForm(forms.ModelForm):
|
|||
def __init__(self, *args, **kwargs):
|
||||
self.request = kwargs.pop("request")
|
||||
super(UserHostingKeyForm, self).__init__(*args, **kwargs)
|
||||
self.fields['name'].label = "Key name"
|
||||
self.fields['name'].label = _('Key name')
|
||||
|
||||
def clean_name(self):
|
||||
return self.data.get('name')
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -259,7 +259,7 @@ h2,h3,h4,h5{
|
|||
.underform-contaner button{
|
||||
font-family: Lato;
|
||||
font-weight: 600;
|
||||
width: 120px;
|
||||
min-width: 120px;
|
||||
height: 35px;
|
||||
}
|
||||
.underform-contaner .btn-default{
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
<ul id="g-account-menu" class="dropdown-menu" role="menu">
|
||||
<li>
|
||||
<a href="{% url 'hosting:ssh_keys' %}">
|
||||
<i class="fa fa-key"></i> {% trans "Keys"%}
|
||||
<i class="fa fa-key"></i> SSH Keys
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<div class="ssh-header-container">
|
||||
<p>{% trans "To generate a new key pair or to upload your existing key, click 'Add Key'" %}</p>
|
||||
<a class="btn btn-primary btn-custom-download" href="{% url 'hosting:choice_ssh_keys' %}" >
|
||||
<span class="fa fa-plus"></span> {% trans "Add Key"%}
|
||||
<span class="fa fa-plus"></span> {% trans "Add SSH Key"%}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue