mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-01 21:47:57 +01:00
Merge pull request #7916 from jwangyangls/modifyMultilingualism
Fix bug when we use language with pt-br; change the harbor version from 1.7.x to 1.8
This commit is contained in:
commit
731ac5cf32
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@harbor/ui",
|
"name": "@harbor/ui",
|
||||||
"version": "1.7.4-rc2",
|
"version": "1.8.0-rc2",
|
||||||
"description": "Harbor shared UI components based on Clarity and Angular7",
|
"description": "Harbor shared UI components based on Clarity and Angular7",
|
||||||
"author": "CNCF",
|
"author": "CNCF",
|
||||||
"module": "index.js",
|
"module": "index.js",
|
||||||
|
2
src/portal/package-lock.json
generated
2
src/portal/package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "harbor",
|
"name": "harbor",
|
||||||
"version": "1.7.1",
|
"version": "1.8.0",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "harbor",
|
"name": "harbor",
|
||||||
"version": "1.7.1",
|
"version": "1.8.0",
|
||||||
"description": "Harbor UI with Clarity",
|
"description": "Harbor UI with Clarity",
|
||||||
"angular-cli": {},
|
"angular-cli": {},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -32,6 +32,7 @@ import { ProjectConfigComponent } from './project/project-config/project-config.
|
|||||||
import zh from '@angular/common/locales/zh-Hans';
|
import zh from '@angular/common/locales/zh-Hans';
|
||||||
import es from '@angular/common/locales/es';
|
import es from '@angular/common/locales/es';
|
||||||
import localeFr from '@angular/common/locales/fr';
|
import localeFr from '@angular/common/locales/fr';
|
||||||
|
import localePt from '@angular/common/locales/pt-PT';
|
||||||
import { DevCenterComponent } from './dev-center/dev-center.component';
|
import { DevCenterComponent } from './dev-center/dev-center.component';
|
||||||
import { VulnerabilityPageComponent } from './vulnerability-page/vulnerability-page.component';
|
import { VulnerabilityPageComponent } from './vulnerability-page/vulnerability-page.component';
|
||||||
import { GcPageComponent } from './gc-page/gc-page.component';
|
import { GcPageComponent } from './gc-page/gc-page.component';
|
||||||
@ -39,6 +40,7 @@ import { OidcOnboardModule } from './oidc-onboard/oidc-onboard.module';
|
|||||||
registerLocaleData(zh, 'zh-cn');
|
registerLocaleData(zh, 'zh-cn');
|
||||||
registerLocaleData(es, 'es-es');
|
registerLocaleData(es, 'es-es');
|
||||||
registerLocaleData(localeFr, 'fr-fr');
|
registerLocaleData(localeFr, 'fr-fr');
|
||||||
|
registerLocaleData(localePt, 'pt-br');
|
||||||
|
|
||||||
|
|
||||||
export function initConfig(configService: AppConfigService, skinableService: SkinableConfig) {
|
export function initConfig(configService: AppConfigService, skinableService: SkinableConfig) {
|
||||||
|
@ -41,7 +41,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.nav-icon-width {
|
.nav-icon-width {
|
||||||
width: 98px !important;
|
width: auto !important;
|
||||||
|
padding-left: 18px !important;
|
||||||
.icon-left {
|
.icon-left {
|
||||||
left: -8px;
|
left: -8px;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user