Skip to content

Commit 22c4835

Browse files
committed
Clean up messages.properties
1 parent d2783fe commit 22c4835

23 files changed

Lines changed: 64 additions & 68 deletions

src/main/resources/messages.properties

Lines changed: 30 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
########################################################################################################################
2-
# Default messages.properties as of 6.2.x, see:
3-
# https://github.com/apereo/cas/blob/6.2.x/support/cas-server-support-thymeleaf/src/main/resources/messages.properties
4-
#
5-
# Note: customized messages are commented out and their respective customizations are added to the end of this file
2+
# Default messages.properties as of 6.2.x, see: #
3+
# https://github.com/apereo/cas/blob/6.2.x/support/cas-server-support-thymeleaf/src/main/resources/messages.properties #
4+
# Note: customized messages are commented out and their respective customizations are added to the end of this file #
65
########################################################################################################################
76
#
87
screen.welcome.welcome=Congratulations on bringing CAS online! To learn how to authenticate, please review the default authentication handler configuration.
@@ -402,7 +401,7 @@ screen.mfaUnavailable.message=CAS was unable to reach your configured MFA provid
402401
# Login View
403402
#####################################################################
404403
#Resources Labels
405-
# cas.login.pagetitle=Login
404+
cas.login.pagetitle=Login
406405
cas.login.resources.header=Resources
407406
cas.login.resources.wiki=Documentation
408407
cas.login.resources.endpoints=Actuator Endpoints
@@ -485,17 +484,15 @@ passwordless.error.invalid.user=Provided username does not carry enough contact
485484

486485
noop.message=This's a noop message.
487486
#
488-
########################################################################################################################
489-
#
490-
# End of default messages.properties
491-
#
492-
########################################################################################################################
487+
######################################
488+
# End of default messages.properties #
489+
######################################
493490

494491

495492

496-
########################################################################################################################
497-
# OSF CAS customized messages.properties
498-
########################################################################################################################
493+
##########################################
494+
# OSF CAS customized messages.properties #
495+
##########################################
499496
#
500497
# Header
501498
#
@@ -537,8 +534,8 @@ screen.generic.link.support=Need help signing in?
537534
#
538535
# Login page and login form submission
539536
#
540-
cas.login.pagetitle=Sign in
541-
screen.welcome.instructions=Sign in with your OSF account to continue
537+
cas.login.title=Sign in
538+
screen.welcome.tips=Sign in with your OSF account to continue
542539
screen.welcome.label.email=<span class="accesskey">E</span>mail
543540
screen.welcome.label.email.accesskey=e
544541
screen.welcome.label.password=<span class="accesskey">P</span>assword
@@ -553,20 +550,20 @@ screen.defaultserviceredirect.heading=Redirecting to OSF login
553550
#
554551
# Two factor login form submission
555552
#
556-
screen.twofactor.pagetitle=Sign in
557-
screen.twofactor.instructions.top=Enter your one-time password to finish login
553+
screen.twofactor.title=Sign in
554+
screen.twofactor.tips.top=Enter your one-time password to finish login
558555
screen.twofactor.label.email=Your OSF <span class="accesskey">a</span>ccount
559556
screen.twofactor.label.email.accesskey=a
560557
screen.twofactor.label.onetimepassword=<span class="accesskey">O</span>ne-time password (6-digit)
561558
screen.twofactor.label.onetimepassword.accesskey=o
562559
screen.twofactor.button.verify=Verify
563560
screen.twofactor.link.cancel=Cancel
564-
screen.twofactor.instructions.bottom=Open the two-factor authentication app on your device to view your authentication code and verify your identity.
561+
screen.twofactor.tips.bottom=Open the two-factor authentication app on your device to view your authentication code and verify your identity.
565562
#
566563
# Terms of service consent check login form submission
567564
#
568-
screen.tosconsent.pagetitle=Terms of service
569-
screen.tosconsent.instructions=Terms of use and privacy policy
565+
screen.tosconsent.title=Terms of service
566+
screen.tosconsent.tips=Terms of use and privacy policy
570567
screen.tosconsent.message.p1=You are seeing this page, either because this is your first-time signing into OSF via your \
571568
institution, or because we have recently updated the terms that you need to review.
572569
screen.tosconsent.message.p2=You must agree to our \
@@ -580,8 +577,8 @@ screen.tosconsent.link.cancel=Cancel and go back to OSF
580577
#
581578
# Institution login page
582579
#
583-
screen.institutionlogin.pagetitle=Institution SSO
584-
screen.institutionlogin.instructions=Sign in through your institution
580+
screen.institutionlogin.title=Institution SSO
581+
screen.institutionlogin.tips=Sign in through your institution
585582
screen.institutionlogin.message.select=If your institution has partnered with OSF, please select its name below and sign in with your institutional credentials. If you do not currently have an OSF account, this will create one for you.
586583
screen.institutionlogin.message.auto=Your institution has partnered with OSF. Please continue to sign in with your institutional credentials. If you do not currently have an OSF account, this will create one for you.
587584
screen.institutionlogin.heading.select=Select your institution
@@ -601,7 +598,7 @@ screen.generic.logoutsuccess.button.continue=Back to OSF
601598
screen.generic.logoutsuccess.link.login=Login again
602599
#
603600
screen.generic.loginsuccess.title=Signed-in
604-
screen.generic.loginsuccess.tip=Oops! Redirection didn't happen ...
601+
screen.generic.loginsuccess.tips=Oops! Redirection didn't happen ...
605602
screen.generic.loginsuccess.heading=Login successful
606603
screen.generic.loginsuccess.message=You have successfully logged into OSF! However, you are seeing this page because \
607604
the automatic redirection somehow didn't happen. Please click the button below to continue to OSF.
@@ -632,10 +629,11 @@ authenticationFailure.TermsOfServiceConsentRequiredException=
632629
# Authentication exception messages in stand-alone exception views
633630
#
634631
screen.error.page.loginagain=Log in again
635-
screen.authnerror.instructions=Oops! Something went wrong ...
636-
screen.authnerror.instructions.devmode=Developer mode only !!!
632+
screen.authnerror.title=Login Error
633+
screen.authnerror.tips=Oops! Something went wrong ...
634+
screen.authnerror.tips.devmode=Developer mode only !!!
637635
screen.authnerror.button.resendosfconfirmation=Resend confirmation email
638-
screen.authnerror.button.backtoosf=Exit and go back to OSF
636+
screen.authnerror.button.backtoosf=Exit login
639637
screen.accountdisabled.heading=Account disabled
640638
screen.accountdisabled.message=The OSF account associated with the email has been disabled. Please contact <a style=\
641639
"white-space: nowrap" href="mailto:support@osf.io">OSF Support</a> to regain access.
@@ -647,14 +645,14 @@ screen.accountnotconfirmedidp.message=The OSF account associated with the email
647645
screen.accountnotconfirmedosf.heading=Account not confirmed
648646
screen.accountnotconfirmedosf.message=The OSF account associated with the email has been registered but not confirmed. \
649647
Please check your email (and spam folder) or click the button below to resend your confirmation email.
650-
screen.unavailable.header=CAS Error
648+
screen.servererror.title=Server Error
651649
screen.unavailable.heading=CAS unavailable
652650
screen.unavailable.message=Your request cannot be completed at this time. Please return to OSF and try again later. If \
653651
this issue persists, please contact <a style="white-space: nowrap" href="mailto:support@osf.io">OSF Support</a> with \
654652
a copy of the error details below.
655653
screen.unavailable.button.viewdetails=View error details
656654
screen.unavailable.button.hidedetails=Hide error details
657-
screen.service.error.header=Service Error
655+
screen.service.error.title=Service Error
658656
screen.service.error.heading=Service not authorized
659657
screen.service.error.message=The application you attempted to authenticate to is not authorized to use OSF CAS. Please \
660658
return to OSF and try again. If this issue persists, please contact <a style="white-space: nowrap" \
@@ -669,14 +667,12 @@ screen.onetimepasswordrequired.heading=OSF Two-factor Authentication
669667
screen.onetimepasswordrequired.message=Two-factor authentication has been enabled for this OSF account. Please enter \
670668
the one-time password generated by the authentication app. If you believe this should not happen, please contact <a \
671669
style="white-space: nowrap" href="mailto:support@osf.io">OSF Support</a>.
672-
screen.institutionssofailed.pagetitle=Institution SSO Error
670+
screen.institutionssofailed.title=Institution SSO Error
673671
screen.institutionssofailed.heading=Institution login failed
674672
screen.institutionssofailed.message=Your request cannot be completed at this time. Please \
675673
<a style="white-space: nowrap" href="{0}">return to OSF</a> and try again later.</br></br>If the issue persists, \
676674
check with your institution to verify your account is entitled to authenticate to OSF.</br></br>If you believe this \
677675
is in error, please contact <a style="white-space: nowrap" href="mailto:support@osf.io">Support</a> for help.
678-
########################################################################################################################
679-
#
680-
# Enf of OSF CAS customized messages.properties
681-
#
682-
########################################################################################################################
676+
#################################################
677+
# Enf of OSF CAS customized messages.properties #
678+
# ###############################################

src/main/resources/templates/casAccountDisabledView.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
66
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
77

8-
<title th:text="#{screen.accountdisabled.heading}"></title>
8+
<title th:text="#{screen.authnerror.title}"></title>
99
<link href="../../static/css/cas.css" rel="stylesheet" th:remove="tag" />
1010
</head>
1111

@@ -20,7 +20,7 @@
2020
</div>
2121
</section>
2222
<section class="text-without-mdi text-center text-bold text-large margin-large-vertical title-danger">
23-
<span th:utext="#{screen.authnerror.instructions}"></span>
23+
<span th:utext="#{screen.authnerror.tips}"></span>
2424
</section>
2525
<hr class="my-4" />
2626
<section class="card-message">

src/main/resources/templates/casAccountNotConfirmedIdPView.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
66
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
77

8-
<title th:text="#{screen.accountnotconfirmedidp.heading}"></title>
8+
<title th:text="#{screen.authnerror.title}"></title>
99
<link href="../../static/css/cas.css" rel="stylesheet" th:remove="tag" />
1010
</head>
1111

@@ -20,7 +20,7 @@
2020
</div>
2121
</section>
2222
<section class="text-without-mdi text-center text-bold text-large margin-large-vertical title-danger">
23-
<span th:utext="#{screen.authnerror.instructions}"></span>
23+
<span th:utext="#{screen.authnerror.tips}"></span>
2424
</section>
2525
<hr class="my-4" />
2626
<section class="card-message">

src/main/resources/templates/casAccountNotConfirmedOsfView.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
66
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
77

8-
<title th:text="#{screen.accountnotconfirmedosf.heading}"></title>
8+
<title th:text="#{screen.authnerror.title}"></title>
99
<link href="../../static/css/cas.css" rel="stylesheet" th:remove="tag" />
1010
</head>
1111

@@ -20,7 +20,7 @@
2020
</div>
2121
</section>
2222
<section class="text-without-mdi text-center text-bold text-large margin-large-vertical title-danger">
23-
<span th:utext="#{screen.authnerror.instructions}"></span>
23+
<span th:utext="#{screen.authnerror.tips}"></span>
2424
</section>
2525
<hr class="my-4" />
2626
<section class="card-message">

src/main/resources/templates/casGenericSuccessView.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</div>
2121
</section>
2222
<section class="text-without-mdi text-center text-bold text-large margin-large-vertical title-danger">
23-
<span th:utext="#{screen.generic.loginsuccess.tip}"></span>
23+
<span th:utext="#{screen.generic.loginsuccess.tips}"></span>
2424
</section>
2525
<hr class="my-4" />
2626
<section class="card-message">
@@ -41,7 +41,7 @@ <h2 th:utext="#{screen.generic.loginsuccess.heading}"></h2>
4141
<!-- <section th:if="${osfCasLoginContext.devMode}"> -->
4242
<hr class="my-4" />
4343
<section class="text-without-mdi text-center text-bold text-large margin-large-vertical title-danger">
44-
<span th:utext="#{screen.authnerror.instructions.devmode}"></span>
44+
<span th:utext="#{screen.authnerror.tips.devmode}"></span>
4545
</section>
4646
<section class="form-button">
4747
<button id="buttonViewAuthenticationDetails" type="button"

src/main/resources/templates/casInstitutionLoginView.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
66
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
77

8-
<title th:text="#{screen.institutionlogin.pagetitle}"></title>
8+
<title th:text="#{screen.institutionlogin.title}"></title>
99
<link href="../../static/css/cas.css" rel="stylesheet" th:remove="tag"/>
1010
</head>
1111

@@ -31,7 +31,7 @@
3131
</section>
3232

3333
<section class="text-without-mdi text-center text-bold text-large margin-large-vertical">
34-
<span th:utext="#{screen.institutionlogin.instructions}"></span>
34+
<span th:utext="#{screen.institutionlogin.tips}"></span>
3535
</section>
3636

3737
<section class="card-message">

src/main/resources/templates/casInstitutionSsoFailedView.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
66
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
77

8-
<title th:text="#{screen.institutionssofailed.pagetitle}"></title>
8+
<title th:text="#{screen.institutionssofailed.title}"></title>
99
<link href="../../static/css/cas.css" rel="stylesheet" th:remove="tag" />
1010
</head>
1111

@@ -20,7 +20,7 @@
2020
</div>
2121
</section>
2222
<section class="text-without-mdi text-center text-bold text-large margin-large-vertical title-danger">
23-
<span th:utext="#{screen.authnerror.instructions}"></span>
23+
<span th:utext="#{screen.authnerror.tips}"></span>
2424
</section>
2525
<hr class="my-4" />
2626
<section class="card-message">

src/main/resources/templates/casInvalidUserStatusView.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
66
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
77

8-
<title th:text="#{screen.invaliduserstatus.heading}"></title>
8+
<title th:text="#{screen.authnerror.title}"></title>
99
<link href="../../static/css/cas.css" rel="stylesheet" th:remove="tag" />
1010
</head>
1111

@@ -20,7 +20,7 @@
2020
</div>
2121
</section>
2222
<section class="text-without-mdi text-center text-bold text-large margin-large-vertical title-danger">
23-
<span th:utext="#{screen.authnerror.instructions}"></span>
23+
<span th:utext="#{screen.authnerror.tips}"></span>
2424
</section>
2525
<hr class="my-4" />
2626
<section class="card-message">

src/main/resources/templates/casInvalidVerificationKeyView.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
66
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
77

8-
<title th:text="#{screen.invalidverificationkey.heading}"></title>
8+
<title th:text="#{screen.authnerror.title}"></title>
99
<link href="../../static/css/cas.css" rel="stylesheet" th:remove="tag" />
1010
</head>
1111

@@ -20,7 +20,7 @@
2020
</div>
2121
</section>
2222
<section class="text-without-mdi text-center text-bold text-large margin-large-vertical title-danger">
23-
<span th:utext="#{screen.authnerror.instructions}"></span>
23+
<span th:utext="#{screen.authnerror.tips}"></span>
2424
</section>
2525
<hr class="my-4" />
2626
<section class="card-message">

src/main/resources/templates/casLoginView.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
66
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
77

8-
<title th:text="#{cas.login.pagetitle}"></title>
8+
<title th:text="#{cas.login.title}"></title>
99
<link href="../../static/css/cas.css" rel="stylesheet" th:remove="tag" />
1010

1111
</head>

0 commit comments

Comments
 (0)