Add german translation
This commit is contained in:
		
					parent
					
						
							
								06f372e56d
							
						
					
				
			
			
				commit
				
					
						ef0589f691
					
				
			
		
					 2 changed files with 53 additions and 61 deletions
				
			
		|  | @ -68,8 +68,6 @@ class UserHostingKeyForm(forms.ModelForm): | ||||||
|     def __init__(self, *args, **kwargs): |     def __init__(self, *args, **kwargs): | ||||||
|         self.request = kwargs.pop("request") |         self.request = kwargs.pop("request") | ||||||
|         super(UserHostingKeyForm, self).__init__(*args, **kwargs) |         super(UserHostingKeyForm, self).__init__(*args, **kwargs) | ||||||
|         # self.initial['user'].initial = self.request.user.id |  | ||||||
|         # print(self.fields) |  | ||||||
| 
 | 
 | ||||||
|     def clean_name(self): |     def clean_name(self): | ||||||
|         return self.data.get('name') |         return self.data.get('name') | ||||||
|  | @ -92,14 +90,3 @@ class UserHostingKeyForm(forms.ModelForm): | ||||||
|     class Meta: |     class Meta: | ||||||
|         model = UserHostingKey |         model = UserHostingKey | ||||||
|         fields = ['user', 'name', 'public_key'] |         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."), |  | ||||||
|             }, |  | ||||||
|         } |  | ||||||
|  |  | ||||||
|  | @ -8,7 +8,7 @@ msgid "" | ||||||
| msgstr "" | msgstr "" | ||||||
| "Project-Id-Version: PACKAGE VERSION\n" | "Project-Id-Version: PACKAGE VERSION\n" | ||||||
| "Report-Msgid-Bugs-To: \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" | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||||||
| "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||||
| "Language-Team: LANGUAGE <LL@li.org>\n" | "Language-Team: LANGUAGE <LL@li.org>\n" | ||||||
|  | @ -18,61 +18,64 @@ msgstr "" | ||||||
| "Content-Transfer-Encoding: 8bit\n" | "Content-Transfer-Encoding: 8bit\n" | ||||||
| "Plural-Forms: nplurals=2; plural=(n != 1);\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" | msgid "My Virtual Machines" | ||||||
| msgstr "" | 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 | #: hosting/templates/hosting/orders.html:12 | ||||||
| msgid "My Orders" | msgid "My Orders" | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/base_short.html:77 | #: hosting/templates/hosting/base_short.html:78 | ||||||
|  | #: hosting/templates/hosting/base_short.html:152 | ||||||
| msgid "Keys" | msgid "Keys" | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/base_short.html:82 | #: hosting/templates/hosting/base_short.html:83 | ||||||
|  | #: hosting/templates/hosting/base_short.html:158 | ||||||
| msgid "Notifications " | msgid "Notifications " | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/base_short.html:89 | #: hosting/templates/hosting/base_short.html:90 | ||||||
| msgid "Logout" | msgid "Logout" | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/base_short.html:94 | #: hosting/templates/hosting/base_short.html:95 | ||||||
| #: hosting/templates/hosting/base_short.html:136 |  | ||||||
| msgid "How it works" | msgid "How it works" | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/base_short.html:97 | #: hosting/templates/hosting/base_short.html:98 | ||||||
| #: hosting/templates/hosting/base_short.html:139 |  | ||||||
| msgid "Your infrastructure" | msgid "Your infrastructure" | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/base_short.html:100 | #: hosting/templates/hosting/base_short.html:101 | ||||||
| #: hosting/templates/hosting/base_short.html:142 |  | ||||||
| msgid "Our inftrastructure" | msgid "Our inftrastructure" | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/base_short.html:103 | #: hosting/templates/hosting/base_short.html:104 | ||||||
| #: hosting/templates/hosting/base_short.html:145 |  | ||||||
| msgid "Pricing" | msgid "Pricing" | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/base_short.html:106 | #: hosting/templates/hosting/base_short.html:107 | ||||||
| #: hosting/templates/hosting/base_short.html:149 |  | ||||||
| msgid "Contact" | msgid "Contact" | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/base_short.html:109 | #: hosting/templates/hosting/base_short.html:110 | ||||||
| #: hosting/templates/hosting/login.html:29 | #: hosting/templates/hosting/login.html:32 | ||||||
| #: hosting/templates/hosting/login.html:38 | #: hosting/templates/hosting/login.html:41 | ||||||
| #: hosting/templates/hosting/reset_password.html:24 | #: hosting/templates/hosting/reset_password.html:31 | ||||||
| #: hosting/templates/hosting/signup.html:23 | #: hosting/templates/hosting/signup.html:30 | ||||||
| msgid "Login" | msgid "Login" | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/base_short.html:132 | #: hosting/templates/hosting/base_short.html:134 | ||||||
| msgid "Home" | msgid "Home" | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
|  | @ -144,7 +147,7 @@ msgid "Customers" | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/bills.html:16 | #: hosting/templates/hosting/bills.html:16 | ||||||
| #: hosting/templates/hosting/virtual_machine_key.html:45 | #: hosting/templates/hosting/virtual_machine_key.html:42 | ||||||
| msgid "Name" | msgid "Name" | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
|  | @ -173,13 +176,13 @@ msgid "Set your new password" | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/confirm_reset_password.html:28 | #: hosting/templates/hosting/confirm_reset_password.html:28 | ||||||
| #: hosting/templates/hosting/reset_password.html:20 | #: hosting/templates/hosting/reset_password.html:22 | ||||||
| msgid "Reset" | msgid "Reset" | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/confirm_reset_password.html:32 | #: hosting/templates/hosting/confirm_reset_password.html:32 | ||||||
| #: hosting/templates/hosting/reset_password.html:24 | #: hosting/templates/hosting/reset_password.html:28 | ||||||
| #: hosting/templates/hosting/signup.html:23 | #: hosting/templates/hosting/signup.html:27 | ||||||
| msgid "Already have an account ?" | msgid "Already have an account ?" | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
|  | @ -219,21 +222,27 @@ msgstr "" | ||||||
| msgid "The %(site_name)s team" | msgid "The %(site_name)s team" | ||||||
| msgstr "" | 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" | msgid "You haven been logged out" | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/login.html:44 | #: hosting/templates/hosting/login.html:49 | ||||||
| msgid "Don't have an account yet ? " | msgid "Don't have an account yet ? " | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/login.html:44 | #: hosting/templates/hosting/login.html:52 | ||||||
| #: hosting/templates/hosting/signup.html:10 | #: hosting/templates/hosting/signup.html:13 | ||||||
| #: hosting/templates/hosting/signup.html:19 | #: hosting/templates/hosting/signup.html:21 | ||||||
| msgid "Sign up" | msgid "Sign up" | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/login.html:46 | #: hosting/templates/hosting/login.html:54 | ||||||
| msgid "Forgot your password ? " | msgid "Forgot your password ? " | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
|  | @ -310,7 +319,7 @@ msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/orders.html:19 | #: hosting/templates/hosting/orders.html:19 | ||||||
| #: hosting/templates/hosting/virtual_machine_detail.html:30 | #: 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 | #: hosting/templates/hosting/virtual_machines.html:31 | ||||||
| msgid "Status" | msgid "Status" | ||||||
| msgstr "" | msgstr "" | ||||||
|  | @ -344,7 +353,7 @@ msgstr "" | ||||||
| msgid "Delete" | msgid "Delete" | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/reset_password.html:11 | #: hosting/templates/hosting/reset_password.html:14 | ||||||
| msgid "Reset your password" | msgid "Reset your password" | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
|  | @ -400,50 +409,46 @@ msgstr "" | ||||||
| msgid "Access Key" | msgid "Access Key" | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/virtual_machine_key.html:22 | #: hosting/templates/hosting/virtual_machine_key.html:25 | ||||||
| msgid "Upload your own key. " | msgid "Upload your own key. " | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/virtual_machine_key.html:29 | #: 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." | msgid "Or generate a new key pair." | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/virtual_machine_key.html:37 | #: hosting/templates/hosting/virtual_machine_key.html:31 | ||||||
| msgid "Generate Key Pair" | msgid "Generate Key Pair" | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/virtual_machine_key.html:46 | #: hosting/templates/hosting/virtual_machine_key.html:43 | ||||||
| msgid "Created at" | msgid "Created at" | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/virtual_machine_key.html:68 | #: hosting/templates/hosting/virtual_machine_key.html:66 | ||||||
| #: hosting/templates/hosting/virtual_machine_key.html:81 | #: hosting/templates/hosting/virtual_machine_key.html:79 | ||||||
| msgid "Warning!" | msgid "Warning!" | ||||||
| msgstr "" | 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" | msgid "You can download your SSH  private key once. Don't lost your key" | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/virtual_machine_key.html:76 | #: hosting/templates/hosting/virtual_machine_key.html:74 | ||||||
| msgid "Copy to Clipboard" | msgid "Copy to Clipboard" | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/virtual_machine_key.html:77 | #: hosting/templates/hosting/virtual_machine_key.html:75 | ||||||
| msgid "Download" | msgid "Download" | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/virtual_machine_key.html:81 | #: hosting/templates/hosting/virtual_machine_key.html:79 | ||||||
| msgid "" | msgid "" | ||||||
| "Your SSH private key was already generated and downloaded, if you lost it, " | "Your SSH private key was already generated and downloaded, if you lost it, " | ||||||
| "contact us. " | "contact us. " | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
| #: hosting/templates/hosting/virtual_machine_key.html:84 | #: hosting/templates/hosting/virtual_machine_key.html:82 | ||||||
| msgid "Generate my key" | msgid "Generate my key" | ||||||
| msgstr "" | msgstr "" | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue