locale updates, added Italian

This commit is contained in:
Eugene Pankov
2022-02-10 16:24:24 +01:00
parent 762ee85773
commit 46a9b655fc
10 changed files with 1553 additions and 24 deletions

View File

@@ -1,4 +1,5 @@
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker'
import axios from 'axios'
import { marked } from 'marked'
import { Component } from '@angular/core'
@@ -23,7 +24,7 @@ export class ReleaseNotesComponent extends BaseTabComponent {
constructor (translate: TranslateService) {
super()
this.setTitle(translate.instant('Release notes'))
this.setTitle(translate.instant(_('Release notes')))
this.loadReleases(1)
}

View File

@@ -1,4 +1,5 @@
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker'
import * as yaml from 'js-yaml'
import { debounce } from 'utils-decorators/dist/esm/debounce/debounce'
import { Component, Inject, Input, HostBinding, NgZone } from '@angular/core'
@@ -52,7 +53,7 @@ export class SettingsTabComponent extends BaseTabComponent {
translate: TranslateService,
) {
super()
this.setTitle(translate.instant('Settings'))
this.setTitle(translate.instant(_('Settings')))
this.settingsProviders = config.enabledServices(this.settingsProviders)
this.settingsProviders = this.settingsProviders.filter(x => !!x.getComponentType())
this.settingsProviders.sort((a, b) => a.weight - b.weight + a.title.localeCompare(b.title))