Add german translation

This commit is contained in:
modulos 2017-06-01 23:06:29 +02:00
parent 06f372e56d
commit ef0589f691
2 changed files with 53 additions and 61 deletions

View file

@ -68,8 +68,6 @@ class UserHostingKeyForm(forms.ModelForm):
def __init__(self, *args, **kwargs):
self.request = kwargs.pop("request")
super(UserHostingKeyForm, self).__init__(*args, **kwargs)
# self.initial['user'].initial = self.request.user.id
# print(self.fields)
def clean_name(self):
return self.data.get('name')
@ -92,14 +90,3 @@ class UserHostingKeyForm(forms.ModelForm):
class Meta:
model = UserHostingKey
fields = ['user', 'name', 'public_key']
labels = {
'public_key': _('Writer'),
}
help_texts = {
'public_key': 'Put your shit here',
}
error_messages = {
'name': {
'max_length': _("This writer's name is too long."),
},
}

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-26 13:35+0000\n"
"POT-Creation-Date: 2017-06-01 21:03+0000\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"
@ -18,61 +18,64 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: hosting/templates/hosting/base_short.html:67
#: hosting/forms.py:63
msgid "Paste here your public key"
msgstr "Fügen Sie Ihren public key ein"
#: hosting/templates/hosting/base_short.html:68
#: hosting/templates/hosting/base_short.html:139
msgid "My Virtual Machines"
msgstr ""
#: hosting/templates/hosting/base_short.html:72
#: hosting/templates/hosting/base_short.html:73
#: hosting/templates/hosting/base_short.html:145
#: hosting/templates/hosting/orders.html:12
msgid "My Orders"
msgstr ""
#: hosting/templates/hosting/base_short.html:77
#: hosting/templates/hosting/base_short.html:78
#: hosting/templates/hosting/base_short.html:152
msgid "Keys"
msgstr ""
#: hosting/templates/hosting/base_short.html:82
#: hosting/templates/hosting/base_short.html:83
#: hosting/templates/hosting/base_short.html:158
msgid "Notifications "
msgstr ""
#: hosting/templates/hosting/base_short.html:89
#: hosting/templates/hosting/base_short.html:90
msgid "Logout"
msgstr ""
#: hosting/templates/hosting/base_short.html:94
#: hosting/templates/hosting/base_short.html:136
#: hosting/templates/hosting/base_short.html:95
msgid "How it works"
msgstr ""
#: hosting/templates/hosting/base_short.html:97
#: hosting/templates/hosting/base_short.html:139
#: hosting/templates/hosting/base_short.html:98
msgid "Your infrastructure"
msgstr ""
#: hosting/templates/hosting/base_short.html:100
#: hosting/templates/hosting/base_short.html:142
#: hosting/templates/hosting/base_short.html:101
msgid "Our inftrastructure"
msgstr ""
#: hosting/templates/hosting/base_short.html:103
#: hosting/templates/hosting/base_short.html:145
#: hosting/templates/hosting/base_short.html:104
msgid "Pricing"
msgstr ""
#: hosting/templates/hosting/base_short.html:106
#: hosting/templates/hosting/base_short.html:149
#: hosting/templates/hosting/base_short.html:107
msgid "Contact"
msgstr ""
#: hosting/templates/hosting/base_short.html:109
#: hosting/templates/hosting/login.html:29
#: hosting/templates/hosting/login.html:38
#: hosting/templates/hosting/reset_password.html:24
#: hosting/templates/hosting/signup.html:23
#: hosting/templates/hosting/base_short.html:110
#: hosting/templates/hosting/login.html:32
#: hosting/templates/hosting/login.html:41
#: hosting/templates/hosting/reset_password.html:31
#: hosting/templates/hosting/signup.html:30
msgid "Login"
msgstr ""
#: hosting/templates/hosting/base_short.html:132
#: hosting/templates/hosting/base_short.html:134
msgid "Home"
msgstr ""
@ -144,7 +147,7 @@ msgid "Customers"
msgstr ""
#: hosting/templates/hosting/bills.html:16
#: hosting/templates/hosting/virtual_machine_key.html:45
#: hosting/templates/hosting/virtual_machine_key.html:42
msgid "Name"
msgstr ""
@ -173,13 +176,13 @@ msgid "Set your new password"
msgstr ""
#: hosting/templates/hosting/confirm_reset_password.html:28
#: hosting/templates/hosting/reset_password.html:20
#: hosting/templates/hosting/reset_password.html:22
msgid "Reset"
msgstr ""
#: hosting/templates/hosting/confirm_reset_password.html:32
#: hosting/templates/hosting/reset_password.html:24
#: hosting/templates/hosting/signup.html:23
#: hosting/templates/hosting/reset_password.html:28
#: hosting/templates/hosting/signup.html:27
msgid "Already have an account ?"
msgstr ""
@ -219,21 +222,27 @@ msgstr ""
msgid "The %(site_name)s team"
msgstr ""
#: hosting/templates/hosting/login.html:22
#: hosting/templates/hosting/login.html:10
#: hosting/templates/hosting/reset_password.html:10
#: hosting/templates/hosting/signup.html:9
msgid "Your VM hosted in Switzerland"
msgstr ""
#: hosting/templates/hosting/login.html:26
msgid "You haven been logged out"
msgstr ""
#: hosting/templates/hosting/login.html:44
#: hosting/templates/hosting/login.html:49
msgid "Don't have an account yet ? "
msgstr ""
#: hosting/templates/hosting/login.html:44
#: hosting/templates/hosting/signup.html:10
#: hosting/templates/hosting/signup.html:19
#: hosting/templates/hosting/login.html:52
#: hosting/templates/hosting/signup.html:13
#: hosting/templates/hosting/signup.html:21
msgid "Sign up"
msgstr ""
#: hosting/templates/hosting/login.html:46
#: hosting/templates/hosting/login.html:54
msgid "Forgot your password ? "
msgstr ""
@ -310,7 +319,7 @@ msgstr ""
#: hosting/templates/hosting/orders.html:19
#: hosting/templates/hosting/virtual_machine_detail.html:30
#: hosting/templates/hosting/virtual_machine_key.html:47
#: hosting/templates/hosting/virtual_machine_key.html:44
#: hosting/templates/hosting/virtual_machines.html:31
msgid "Status"
msgstr ""
@ -344,7 +353,7 @@ msgstr ""
msgid "Delete"
msgstr ""
#: hosting/templates/hosting/reset_password.html:11
#: hosting/templates/hosting/reset_password.html:14
msgid "Reset your password"
msgstr ""
@ -400,50 +409,46 @@ msgstr ""
msgid "Access Key"
msgstr ""
#: hosting/templates/hosting/virtual_machine_key.html:22
#: hosting/templates/hosting/virtual_machine_key.html:25
msgid "Upload your own key. "
msgstr ""
#: hosting/templates/hosting/virtual_machine_key.html:29
msgid "Upload Key"
msgstr ""
#: hosting/templates/hosting/virtual_machine_key.html:33
msgid "Or generate a new key pair."
msgstr ""
#: hosting/templates/hosting/virtual_machine_key.html:37
#: hosting/templates/hosting/virtual_machine_key.html:31
msgid "Generate Key Pair"
msgstr ""
#: hosting/templates/hosting/virtual_machine_key.html:46
#: hosting/templates/hosting/virtual_machine_key.html:43
msgid "Created at"
msgstr ""
#: hosting/templates/hosting/virtual_machine_key.html:68
#: hosting/templates/hosting/virtual_machine_key.html:81
#: hosting/templates/hosting/virtual_machine_key.html:66
#: hosting/templates/hosting/virtual_machine_key.html:79
msgid "Warning!"
msgstr ""
#: hosting/templates/hosting/virtual_machine_key.html:68
#: hosting/templates/hosting/virtual_machine_key.html:66
msgid "You can download your SSH private key once. Don't lost your key"
msgstr ""
#: hosting/templates/hosting/virtual_machine_key.html:76
#: hosting/templates/hosting/virtual_machine_key.html:74
msgid "Copy to Clipboard"
msgstr ""
#: hosting/templates/hosting/virtual_machine_key.html:77
#: hosting/templates/hosting/virtual_machine_key.html:75
msgid "Download"
msgstr ""
#: hosting/templates/hosting/virtual_machine_key.html:81
#: hosting/templates/hosting/virtual_machine_key.html:79
msgid ""
"Your SSH private key was already generated and downloaded, if you lost it, "
"contact us. "
msgstr ""
#: hosting/templates/hosting/virtual_machine_key.html:84
#: hosting/templates/hosting/virtual_machine_key.html:82
msgid "Generate my key"
msgstr ""