Skip to content

Commit 20ef865

Browse files
authored
Merge branch 'main' into feat/i18n
2 parents 2c72de1 + 605230d commit 20ef865

10 files changed

Lines changed: 75 additions & 68 deletions

File tree

src/app/shared/loading/loading.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div *ngIf="!spinner">
2-
<label *ngIf="showMessage && message">{{ message }}</label>
3-
<div class="loader">
2+
<label *ngIf="showMessage && message" aria-live="polite">{{ message }}</label>
3+
<div class="loader" aria-hidden="true">
44
<span class="l-1"></span>
55
<span class="l-2"></span>
66
<span class="l-3"></span>
@@ -13,6 +13,6 @@
1313
<span class="l-10"></span>
1414
</div>
1515
</div>
16-
<div *ngIf='spinner' class="spinner spinner-border" role="status">
16+
<div *ngIf='spinner' class="spinner spinner-border" role="status" aria-live="polite">
1717
<span class="sr-only">{{ message }}</span>
1818
</div>

src/app/shared/menu/menu-item/link-menu-item.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
[queryParams]="item.queryParams"
77
(click)="$event.stopPropagation()"
88
(keyup.space)="navigate($event)"
9-
(keyup.enter)="navigate($event)"
9+
(keydown.enter)="navigate($event)"
1010
href="javascript:void(0);"
1111
>{{item.text | translate}}</a>
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
<form class="w-100" [formGroup]="formData" (ngSubmit)="submitForm(formData.value)">
2+
<div class="mb-3">
23
<div class="row">
3-
<div class="form-group input-group col-8 col-sm-12 col-md-6">
4-
<input class="form-control" [attr.aria-label]="'browse.startsWith.input' | translate" placeholder="{{'browse.startsWith.type_text' | translate}}" type="text" name="startsWith" formControlName="startsWith" [value]="getStartsWith()" />
4+
<div class="form-group input-group col-sm-12 col-md-6 col-auto">
5+
<input class="form-control" [attr.aria-label]="'browse.startsWith.input' | translate" placeholder="{{'browse.search-form.placeholder' | translate}}" type="text" name="startsWith" formControlName="startsWith" [value]="getStartsWith()" />
56
<span class="input-group-append">
67
<button class="btn btn-primary" type="submit"><i class="fas fa-book-open"></i> {{'browse.startsWith.submit' | translate}}</button>
78
</span>
89
</div>
910
</div>
11+
<small class="text-muted">{{'browse.startsWith.type_text' | translate}}</small>
12+
</div>
1013
</form>

src/app/shared/starts-with/text/starts-with-text.component.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@
33
background-color: var(--bs-input-bg);
44
color: var(--bs-input-color);
55
}
6+
7+
.form-group {
8+
margin-bottom: 0;
9+
}

src/assets/i18n/en.json5

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6737,4 +6737,6 @@
67376737
"item.page.cc.license.title": "Creative Commons license",
67386738

67396739
"item.page.cc.license.disclaimer": "Except where otherwised noted, this item's license is described as",
6740+
6741+
"browse.search-form.placeholder": "Search the repository",
67406742
}

src/assets/i18n/es.json5

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8254,6 +8254,8 @@
82548254
// "access-control-option-end-date-note": "Select the date until which the related access condition is applied",
82558255
"access-control-option-end-date-note": "Escoja la fecha hasta la cuál se aplicarán las condiciones de acceso especificadas",
82568256

8257+
//"browse.search-form.placeholder": "Search the repository",
8258+
"browse.search-form.placeholder": "Buscar en el repositorio",
82578259

82588260

82598261
}

src/assets/i18n/pt-BR.json5

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1635,7 +1635,7 @@
16351635
"browse.startsWith.type_date.label": "Ou digite na data (ano-mês) e clique no botão de Ir",
16361636

16371637
// "browse.startsWith.type_text": "Filter results by typing the first few letters",
1638-
"browse.startsWith.type_text": "Filtrar resultados informando as primeiras letras:",
1638+
"browse.startsWith.type_text": "Filtrar resultados informando as primeiras letras",
16391639

16401640
// "browse.startsWith.input": "Filter",
16411641
"browse.startsWith.input": "Filtro",
@@ -10244,4 +10244,6 @@
1024410244
// "item.page.cc.license.disclaimer": "Except where otherwised noted, this item's license is described as",
1024510245
"item.page.cc.license.disclaimer": "Exceto quando indicado de outra forma, a licença deste item é descrita como",
1024610246

10247+
//"browse.search-form.placeholder": "Search the repository",
10248+
"browse.search-form.placeholder": "Buscar no repositório",
1024710249
}

src/styles/_custom_variables.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,4 +146,7 @@
146146
--ds-process-overview-table-user-column-width: 200px;
147147
--ds-process-overview-table-info-column-width: 250px;
148148
--ds-process-overview-table-actions-column-width: 80px;
149+
150+
--green1: #1FB300; // This variable represents the success color for the Klaro cookie banner
151+
--button-text-color-cookie: #333; // This variable represents the text color for buttons in the Klaro cookie banner
149152
}

src/styles/_global-styles.scss

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,25 @@ body {
3737
z-index: 0;
3838
}
3939

40+
.klaro
41+
.cookie-notice {
42+
.cn-buttons {
43+
.cm-btn.cm-btn-success {
44+
color: var(--button-text-color-cookie);
45+
background-color: var(--green1);
46+
}
47+
.cm-btn.cm-btn-success.cm-btn-accept-all {
48+
color: var(--button-text-color-cookie);
49+
background-color: var(--green1);
50+
}
51+
}
52+
}
53+
54+
.klaro .cookie-modal a, .klaro .context-notice a, .klaro .cookie-notice a
55+
{
56+
color: var(--green1);
57+
}
58+
4059
.media-viewer
4160
.change-gallery
4261
.ngx-gallery

yarn.lock

Lines changed: 33 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -4112,11 +4112,11 @@ brace-expansion@^2.0.1:
41124112
balanced-match "^1.0.0"
41134113

41144114
braces@^3.0.2, braces@~3.0.2:
4115-
version "3.0.2"
4116-
resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107"
4117-
integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==
4115+
version "3.0.3"
4116+
resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789"
4117+
integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==
41184118
dependencies:
4119-
fill-range "^7.0.1"
4119+
fill-range "^7.1.1"
41204120

41214121
browser-sync-client@^3.0.2:
41224122
version "3.0.2"
@@ -4669,11 +4669,6 @@ cookie@0.4.1:
46694669
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.1.tgz#afd713fe26ebd21ba95ceb61f9a8116e50a537d1"
46704670
integrity sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==
46714671

4672-
cookie@0.5.0:
4673-
version "0.5.0"
4674-
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b"
4675-
integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==
4676-
46774672
cookie@0.6.0:
46784673
version "0.6.0"
46794674
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.6.0.tgz#2798b04b071b0ecbff0dbb62a505a8efa4e19051"
@@ -5964,44 +5959,7 @@ express-static-gzip@^2.1.7:
59645959
dependencies:
59655960
serve-static "^1.14.1"
59665961

5967-
express@^4.17.3:
5968-
version "4.18.3"
5969-
resolved "https://registry.yarnpkg.com/express/-/express-4.18.3.tgz#6870746f3ff904dee1819b82e4b51509afffb0d4"
5970-
integrity sha512-6VyCijWQ+9O7WuVMTRBTl+cjNNIzD5cY5mQ1WM8r/LEkI2u8EYpOotESNwzNlyCn3g+dmjKYI6BmNneSr/FSRw==
5971-
dependencies:
5972-
accepts "~1.3.8"
5973-
array-flatten "1.1.1"
5974-
body-parser "1.20.2"
5975-
content-disposition "0.5.4"
5976-
content-type "~1.0.4"
5977-
cookie "0.5.0"
5978-
cookie-signature "1.0.6"
5979-
debug "2.6.9"
5980-
depd "2.0.0"
5981-
encodeurl "~1.0.2"
5982-
escape-html "~1.0.3"
5983-
etag "~1.8.1"
5984-
finalhandler "1.2.0"
5985-
fresh "0.5.2"
5986-
http-errors "2.0.0"
5987-
merge-descriptors "1.0.1"
5988-
methods "~1.1.2"
5989-
on-finished "2.4.1"
5990-
parseurl "~1.3.3"
5991-
path-to-regexp "0.1.7"
5992-
proxy-addr "~2.0.7"
5993-
qs "6.11.0"
5994-
range-parser "~1.2.1"
5995-
safe-buffer "5.2.1"
5996-
send "0.18.0"
5997-
serve-static "1.15.0"
5998-
setprototypeof "1.2.0"
5999-
statuses "2.0.1"
6000-
type-is "~1.6.18"
6001-
utils-merge "1.0.1"
6002-
vary "~1.1.2"
6003-
6004-
express@^4.19.2:
5962+
express@^4.17.3, express@^4.19.2:
60055963
version "4.19.2"
60065964
resolved "https://registry.yarnpkg.com/express/-/express-4.19.2.tgz#e25437827a3aa7f2a827bc8171bbbb664a356465"
60075965
integrity sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==
@@ -6168,10 +6126,10 @@ filesize@^6.1.0:
61686126
resolved "https://registry.yarnpkg.com/filesize/-/filesize-6.4.0.tgz#914f50471dd66fdca3cefe628bd0cde4ef769bcd"
61696127
integrity sha512-mjFIpOHC4jbfcTfoh4rkWpI31mF7viw9ikj/JyLoKzqlwG/YsefKfvYlYhdYdg/9mtK2z1AzgN/0LvVQ3zdlSQ==
61706128

6171-
fill-range@^7.0.1:
6172-
version "7.0.1"
6173-
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40"
6174-
integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==
6129+
fill-range@^7.1.1:
6130+
version "7.1.1"
6131+
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292"
6132+
integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==
61756133
dependencies:
61766134
to-regex-range "^5.0.1"
61776135

@@ -9620,7 +9578,7 @@ postcss-value-parser@^4.0.0, postcss-value-parser@^4.1.0, postcss-value-parser@^
96209578
resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514"
96219579
integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==
96229580

9623-
postcss@8.4.35, postcss@^8.2.14, postcss@^8.3.11, postcss@^8.4, postcss@^8.4.23, postcss@^8.4.33, postcss@^8.4.35:
9581+
postcss@8.4.35:
96249582
version "8.4.35"
96259583
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.35.tgz#60997775689ce09011edf083a549cea44aabe2f7"
96269584
integrity sha512-u5U8qYpBCpN13BsiEB0CbR1Hhh4Gc0zLFuedrHJKMctHCHAGrMdG0PRM/KErzAL3CU6/eckEtmHNB3x6e3c0vA==
@@ -9646,6 +9604,15 @@ postcss@^7.0.14:
96469604
picocolors "^0.2.1"
96479605
source-map "^0.6.1"
96489606

9607+
postcss@^8.2.14, postcss@^8.3.11, postcss@^8.4, postcss@^8.4.23, postcss@^8.4.33, postcss@^8.4.35:
9608+
version "8.4.38"
9609+
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.38.tgz#b387d533baf2054288e337066d81c6bee9db9e0e"
9610+
integrity sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==
9611+
dependencies:
9612+
nanoid "^3.3.7"
9613+
picocolors "^1.0.0"
9614+
source-map-js "^1.2.0"
9615+
96499616
prelude-ls@^1.2.1:
96509617
version "1.2.1"
96519618
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
@@ -10927,6 +10894,11 @@ source-list-map@^2.0.0:
1092710894
resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c"
1092810895
integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==
1092910896

10897+
source-map-js@^1.2.0:
10898+
version "1.2.0"
10899+
resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.0.tgz#16b809c162517b5b8c3e7dcd315a2a5c2612b2af"
10900+
integrity sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==
10901+
1093010902
source-map-loader@5.0.0:
1093110903
version "5.0.0"
1093210904
resolved "https://registry.yarnpkg.com/source-map-loader/-/source-map-loader-5.0.0.tgz#f593a916e1cc54471cfc8851b905c8a845fc7e38"
@@ -11293,9 +11265,9 @@ tar-stream@~2.2.0:
1129311265
readable-stream "^3.1.1"
1129411266

1129511267
tar@^6.0.2, tar@^6.1.11, tar@^6.1.2:
11296-
version "6.2.0"
11297-
resolved "https://registry.yarnpkg.com/tar/-/tar-6.2.0.tgz#b14ce49a79cb1cd23bc9b016302dea5474493f73"
11298-
integrity sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==
11268+
version "6.2.1"
11269+
resolved "https://registry.yarnpkg.com/tar/-/tar-6.2.1.tgz#717549c541bc3c2af15751bea94b1dd068d4b03a"
11270+
integrity sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==
1129911271
dependencies:
1130011272
chownr "^2.0.0"
1130111273
fs-minipass "^2.0.0"
@@ -12244,14 +12216,14 @@ wrappy@1:
1224412216
integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==
1224512217

1224612218
ws@^7.3.1:
12247-
version "7.5.9"
12248-
resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591"
12249-
integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==
12219+
version "7.5.10"
12220+
resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.10.tgz#58b5c20dc281633f6c19113f39b349bd8bd558d9"
12221+
integrity sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==
1225012222

1225112223
ws@^8.13.0:
12252-
version "8.16.0"
12253-
resolved "https://registry.yarnpkg.com/ws/-/ws-8.16.0.tgz#d1cd774f36fbc07165066a60e40323eab6446fd4"
12254-
integrity sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==
12224+
version "8.17.1"
12225+
resolved "https://registry.yarnpkg.com/ws/-/ws-8.17.1.tgz#9293da530bb548febc95371d90f9c878727d919b"
12226+
integrity sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==
1225512227

1225612228
ws@~8.11.0:
1225712229
version "8.11.0"

0 commit comments

Comments
 (0)