Skip to content

Commit 90a0903

Browse files
authored
fix(bugs): fixed some small bugs (#488)
1 parent ae9d0c7 commit 90a0903

File tree

5 files changed

+5
-13
lines changed

5 files changed

+5
-13
lines changed

src/app/features/auth/pages/sign-up/sign-up.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ <h2 class="text-center">{{ 'auth.signUp.title' | translate }}</h2>
6363

6464
<div class="flex flex-column">
6565
<label for="password">
66-
{{ 'auth.common.password.new' | translate }}
66+
{{ 'auth.common.password.title' | translate }}
6767
</label>
6868
<p-password
6969
id="password"

src/app/features/preprints/components/preprint-details/preprint-file-section/preprint-file-section.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ export class PreprintFileSectionComponent {
7171

7272
dateLabel = computed(() => {
7373
const reviewsWorkflow = this.providerReviewsWorkflow();
74-
if (!reviewsWorkflow) return '';
7574

7675
return reviewsWorkflow === ProviderReviewsWorkflow.PreModeration
7776
? 'preprints.details.file.submitted'

src/app/features/settings/account-settings/components/share-indexing/share-indexing.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ <h2>{{ 'settings.accountSettings.shareIndexing.title' | translate }}</h2>
33

44
<p class="mt-4">
55
{{ 'settings.accountSettings.shareIndexing.description' | translate }} <br />
6-
<a class="font-semibold" href="https://share.osf.io/" target="_blank">
6+
<a class="font-semibold" href="https://help.osf.io/article/588-getting-started-with-osf-search" target="_blank">
77
{{ 'settings.accountSettings.shareIndexing.learnMore' | translate }}
88
</a>
99
</p>

src/app/shared/constants/social-links.const.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,13 @@ import { SocialLinksModel } from '../models';
22

33
export const SOCIAL_LINKS: SocialLinksModel[] = [
44
{
5-
id: 0,
5+
id: 1,
66
label: 'settings.profileSettings.social.labels.researcherId',
77
address: 'http://researchers.com/rid/',
88
placeholder: 'x-xxxx-xxxx',
99
key: 'researcherId',
1010
icon: 'researcherID.png',
1111
},
12-
{
13-
id: 1,
14-
label: 'settings.profileSettings.social.labels.orcid',
15-
address: 'http://orcid.org/',
16-
placeholder: 'xxxx-xxxx-xxxx',
17-
key: 'orcid',
18-
icon: 'orcid.svg',
19-
},
2012
{
2113
id: 2,
2214
label: 'settings.profileSettings.social.labels.linkedIn',

src/assets/i18n/en.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,11 @@
234234
"confirmEmail": "Confirm email",
235235
"emailPlaceholder": "email@example.com",
236236
"password": {
237+
"title": "Password",
237238
"new": "New Password",
238239
"confirm": "Confirm New Password",
239240
"mismatch": "Passwords must match.",
240-
"requirements": "Your password needs to be at least 8 characters long, include both lower- and upper-case characters, and have at least one number or special character"
241+
"requirements": "Your password needs to be at least 8 characters long, include both lower- and upper-case characters, and have at least one number and special character"
241242
}
242243
},
243244
"forgotPassword": {

0 commit comments

Comments
 (0)