mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Add spanish locale
This commit is contained in:
		| @@ -23,7 +23,8 @@ | ||||
| 					"pt-BR": "src/locale/messages.pt_BR.xlf", | ||||
| 					"it-IT": "src/locale/messages.it_IT.xlf", | ||||
| 					"ro-RO": "src/locale/messages.ro_RO.xlf", | ||||
| 					"ru-RU": "src/locale/messages.ru_RU.xlf" | ||||
| 					"ru-RU": "src/locale/messages.ru_RU.xlf", | ||||
| 					"es-ES": "src/locale/messages.es_ES.xlf" | ||||
| 				} | ||||
| 			}, | ||||
| 			"architect": { | ||||
|   | ||||
| @@ -1212,14 +1212,14 @@ | ||||
|         <source>View</source> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/document-list/document-card-large/document-card-large.component.html</context> | ||||
|           <context context-type="linenumber">50</context> | ||||
|           <context context-type="linenumber">52</context> | ||||
|         </context-group> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="849b42384616374df49bd8b3711ec159cb10b845" datatype="html"> | ||||
|         <source>Created: <x id="INTERPOLATION" equiv-text="{{document.created | customDate}}"/></source> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/document-list/document-card-large/document-card-large.component.html</context> | ||||
|           <context context-type="linenumber">67</context> | ||||
|           <context context-type="linenumber">71</context> | ||||
|         </context-group> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="cd6f3fd48957e1fea6545c2b2defc7b2435ebfa8" datatype="html"> | ||||
| @@ -1240,14 +1240,7 @@ | ||||
|         <source>Score:</source> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/document-list/document-card-large/document-card-large.component.html</context> | ||||
|           <context context-type="linenumber">62</context> | ||||
|         </context-group> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="2840db547019ce8c76b2cdbe3a1653c5b68b06af" datatype="html"> | ||||
|         <source>View in browser</source> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/document-list/document-card-small/document-card-small.component.html</context> | ||||
|           <context context-type="linenumber">40</context> | ||||
|           <context context-type="linenumber">66</context> | ||||
|         </context-group> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="7985804062689412812" datatype="html"> | ||||
| @@ -1724,11 +1717,18 @@ | ||||
|           <context context-type="linenumber">98</context> | ||||
|         </context-group> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="5190825892106392539" datatype="html"> | ||||
|         <source>Spanish</source> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/services/settings.service.ts</context> | ||||
|           <context context-type="linenumber">99</context> | ||||
|         </context-group> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="4912706592792948707" datatype="html"> | ||||
|         <source>ISO 8601</source> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/services/settings.service.ts</context> | ||||
|           <context context-type="linenumber">103</context> | ||||
|           <context context-type="linenumber">105</context> | ||||
|         </context-group> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="2119857572761283468" datatype="html"> | ||||
|   | ||||
| @@ -74,6 +74,7 @@ import localeIt from '@angular/common/locales/it'; | ||||
| import localeEnGb from '@angular/common/locales/en-GB'; | ||||
| import localeRo from '@angular/common/locales/ro'; | ||||
| import localeRu from '@angular/common/locales/ru'; | ||||
| import localeEs from '@angular/common/locales/es'; | ||||
|  | ||||
|  | ||||
| registerLocaleData(localeFr) | ||||
| @@ -84,6 +85,7 @@ registerLocaleData(localeIt) | ||||
| registerLocaleData(localeEnGb) | ||||
| registerLocaleData(localeRo) | ||||
| registerLocaleData(localeRu) | ||||
| registerLocaleData(localeEs) | ||||
|  | ||||
| @NgModule({ | ||||
|   declarations: [ | ||||
|   | ||||
| @@ -96,6 +96,8 @@ export class SettingsService { | ||||
|       {code: "it-it", name: $localize`Italian`, englishName: "Italian", dateInputFormat: "dd/mm/yyyy"}, | ||||
|       {code: "ro-ro", name: $localize`Romanian`, englishName: "Romanian", dateInputFormat: "dd.mm.yyyy"}, | ||||
|       {code: "ru-ru", name: $localize`Russian`, englishName: "Russian", dateInputFormat: "dd.mm.yyyy"}, | ||||
|       {code: "es-es", name: $localize`Spanish`, englishName: "Spanish", dateInputFormat: "dd/mm/yyyy"}, | ||||
|        | ||||
|     ] | ||||
|   } | ||||
|  | ||||
|   | ||||
| @@ -8,7 +8,7 @@ msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: PACKAGE VERSION\n" | ||||
| "Report-Msgid-Bugs-To: \n" | ||||
| "POT-Creation-Date: 2021-03-07 21:34+0100\n" | ||||
| "POT-Creation-Date: 2021-03-14 13:33+0100\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" | ||||
| @@ -444,6 +444,10 @@ msgstr "" | ||||
| msgid "Russian" | ||||
| msgstr "" | ||||
|  | ||||
| #: paperless/settings.py:307 | ||||
| msgid "Spanish" | ||||
| msgstr "" | ||||
|  | ||||
| #: paperless/urls.py:118 | ||||
| msgid "Paperless-ng administration" | ||||
| msgstr "" | ||||
|   | ||||
| @@ -303,7 +303,8 @@ LANGUAGES = [ | ||||
|     ("pt-br", _("Portuguese (Brazil)")), | ||||
|     ("it-it", _("Italian")), | ||||
|     ("ro-ro", _("Romanian")), | ||||
|     ("ru-ru", _("Russian")) | ||||
|     ("ru-ru", _("Russian")), | ||||
|     ("es-es", _("Spanish")) | ||||
| ] | ||||
|  | ||||
| LOCALE_PATHS = [ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 jonaswinkler
					jonaswinkler