mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Adds Ukranian translation
This commit is contained in:
		| @@ -39,6 +39,7 @@ | ||||
|           "sr-CS": "src/locale/messages.sr_CS.xlf", | ||||
|           "sv-SE": "src/locale/messages.sv_SE.xlf", | ||||
|           "tr-TR": "src/locale/messages.tr_TR.xlf", | ||||
|           "uk-UA": "src/locale/messages.uk_UA.xlf", | ||||
|           "zh-CN": "src/locale/messages.zh_CN.xlf" | ||||
|         } | ||||
|       }, | ||||
|   | ||||
| @@ -5421,39 +5421,46 @@ | ||||
|           <context context-type="linenumber">301</context> | ||||
|         </context-group> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="830844828423138653" datatype="html"> | ||||
|         <source>Ukranian</source> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/services/settings.service.ts</context> | ||||
|           <context context-type="linenumber">307</context> | ||||
|         </context-group> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="4689443708886954687" datatype="html"> | ||||
|         <source>Chinese Simplified</source> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/services/settings.service.ts</context> | ||||
|           <context context-type="linenumber">307</context> | ||||
|           <context context-type="linenumber">313</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">324</context> | ||||
|           <context context-type="linenumber">330</context> | ||||
|         </context-group> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="313643372755303297" datatype="html"> | ||||
|         <source>Successfully completed one-time migratration of settings to the database!</source> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/services/settings.service.ts</context> | ||||
|           <context context-type="linenumber">435</context> | ||||
|           <context context-type="linenumber">441</context> | ||||
|         </context-group> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="5558341108007064934" datatype="html"> | ||||
|         <source>Unable to migrate settings to the database, please try saving manually.</source> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/services/settings.service.ts</context> | ||||
|           <context context-type="linenumber">436</context> | ||||
|           <context context-type="linenumber">442</context> | ||||
|         </context-group> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="1168781785897678748" datatype="html"> | ||||
|         <source>You can restart the tour from the settings page.</source> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/services/settings.service.ts</context> | ||||
|           <context context-type="linenumber">510</context> | ||||
|           <context context-type="linenumber">516</context> | ||||
|         </context-group> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="5037437391296624618" datatype="html"> | ||||
|   | ||||
| @@ -30,6 +30,7 @@ import localeSl from '@angular/common/locales/sl' | ||||
| import localeSr from '@angular/common/locales/sr' | ||||
| import localeSv from '@angular/common/locales/sv' | ||||
| import localeTr from '@angular/common/locales/tr' | ||||
| import localeUk from '@angular/common/locales/uk' | ||||
| import localeZh from '@angular/common/locales/zh' | ||||
|  | ||||
| registerLocaleData(localeAr) | ||||
| @@ -55,6 +56,7 @@ registerLocaleData(localeSl) | ||||
| registerLocaleData(localeSr) | ||||
| registerLocaleData(localeSv) | ||||
| registerLocaleData(localeTr) | ||||
| registerLocaleData(localeUk) | ||||
| registerLocaleData(localeZh) | ||||
|  | ||||
| /* global mocks for jsdom */ | ||||
|   | ||||
| @@ -115,6 +115,7 @@ import localeSl from '@angular/common/locales/sl' | ||||
| import localeSr from '@angular/common/locales/sr' | ||||
| import localeSv from '@angular/common/locales/sv' | ||||
| import localeTr from '@angular/common/locales/tr' | ||||
| import localeUk from '@angular/common/locales/uk' | ||||
| import localeZh from '@angular/common/locales/zh' | ||||
|  | ||||
| registerLocaleData(localeAr) | ||||
| @@ -140,6 +141,7 @@ registerLocaleData(localeSl) | ||||
| registerLocaleData(localeSr) | ||||
| registerLocaleData(localeSv) | ||||
| registerLocaleData(localeTr) | ||||
| registerLocaleData(localeUk) | ||||
| registerLocaleData(localeZh) | ||||
|  | ||||
| function initializeApp(settings: SettingsService) { | ||||
|   | ||||
| @@ -302,6 +302,12 @@ export class SettingsService { | ||||
|         englishName: 'Turkish', | ||||
|         dateInputFormat: 'yyyy-mm-dd', | ||||
|       }, | ||||
|       { | ||||
|         code: 'uk-ua', | ||||
|         name: $localize`Ukranian`, | ||||
|         englishName: 'Ukranian', | ||||
|         dateInputFormat: 'dd.mm.yyyy', | ||||
|       }, | ||||
|       { | ||||
|         code: 'zh-cn', | ||||
|         name: $localize`Chinese Simplified`, | ||||
|   | ||||
| @@ -586,6 +586,7 @@ LANGUAGES = [ | ||||
|     ("sr-cs", _("Serbian")), | ||||
|     ("sv-se", _("Swedish")), | ||||
|     ("tr-tr", _("Turkish")), | ||||
|     ("uk-ua", _("Ukranian")), | ||||
|     ("zh-cn", _("Chinese Simplified")), | ||||
| ] | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 shamoon
					shamoon