Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the translation for the papi quota email #7192

Merged
merged 6 commits into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
papi.rate.limit.subject=[ORCID-API] WARNING! You have exceeded the daily Public API Usage Limit - ({0})
papi.rate.limit.important.msg=This is an important message to let you know that you have exceeded your
papi.rate.limit.daily.usage.limit=daily Public API usage limit
papi.rate.limit.your.integration=with your integration:
papi.rate.limit.client.name=Client Name:
papi.rate.limit.client.id=Client ID:
papi.rate.limit.please.remember=Please remember that the ORCID Public API is free for non-commercial use by individuals as stated in the
papi.rate.limit.public.api.terms=Public APIs Terms of Service
papi.rate.limit.by.non.commercial=By "non-commercial" we mean that you may not charge any re-use fees for the Public API, and you may not make use of the Public API in connection with any revenue-generating product or service.
papi.rate.limit.based.on.your=Based on your API usage, we highly recommend you consider becoming an ORCID member for access to our
papi.rate.limit.member.api=Member API
papi.rate.limit.not.only=Not only will it allow you to access a higher Rate Limits and an unrestricted Usage Quota, but you will be able to access Trusted Party data in ORCID records and contribute data to ORCID records from your institutional systems
papi.rate.limit.to.minimize=To minimize any disruption to your ORCID integration in the future, we would recommend that you reach out to our Engagement Team by replying to this email to discuss our ORCID membership options.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
papi.rate.limit.subject=LR
papi.rate.limit.important.msg=LR
papi.rate.limit.daily.usage.limit=LR
papi.rate.limit.your.integration=LR
papi.rate.limit.client.name=LR
papi.rate.limit.client.id=LR
papi.rate.limit.please.remember=LR
papi.rate.limit.public.api.terms=LR
papi.rate.limit.by.non.commercial=LR
papi.rate.limit.based.on.your=LR
papi.rate.limit.member.api=LR
papi.rate.limit.not.only=LR
papi.rate.limit.to.minimize=LR
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
papi.rate.limit.subject=RL
papi.rate.limit.important.msg=RL
papi.rate.limit.daily.usage.limit=RL
papi.rate.limit.your.integration=RL
papi.rate.limit.client.name=RL
papi.rate.limit.client.id=RL
papi.rate.limit.please.remember=RL
papi.rate.limit.public.api.terms=RL
papi.rate.limit.by.non.commercial=RL
papi.rate.limit.based.on.your=RL
papi.rate.limit.member.api=RL
papi.rate.limit.not.only=RL
papi.rate.limit.to.minimize=RL
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
papi.rate.limit.subject=XX
papi.rate.limit.important.msg=XX
papi.rate.limit.daily.usage.limit=XX
papi.rate.limit.your.integration=XX
papi.rate.limit.client.name=XX
papi.rate.limit.client.id=XX
papi.rate.limit.please.remember=XX
papi.rate.limit.public.api.terms=XX
papi.rate.limit.by.non.commercial=XX
papi.rate.limit.based.on.your=XX
papi.rate.limit.member.api=XX
papi.rate.limit.not.only=XX
papi.rate.limit.to.minimize=XX
4 changes: 2 additions & 2 deletions orcid-core/src/main/resources/orcid-core-context.xml
Original file line number Diff line number Diff line change
Expand Up @@ -786,14 +786,14 @@

<bean id="messageSource"
class="org.springframework.context.support.ReloadableResourceBundleMessageSource">
<property name="basenames" value="classpath:i18n/about,classpath:i18n/api,classpath:i18n/email_admin_delegate_request,classpath:i18n/email_added_as_delegate,classpath:i18n/email_auto_deprecate,classpath:i18n/email_new_claim_reminder,classpath:i18n/email_common,classpath:i18n/email_deactivate,classpath:i18n/email_digest,classpath:i18n/email_forgotten_id,classpath:i18n/email_institutional_connection,classpath:i18n/email_locked,classpath:i18n/email_notification,classpath:i18n/email_reactivation,classpath:i18n/email_removed,classpath:i18n/email_reset_password,classpath:i18n/email_reset_password_not_found,classpath:i18n/email_subject,classpath:i18n/email_tips,classpath:i18n/email_verify,classpath:i18n/email_welcome,classpath:i18n/javascript,classpath:i18n/messages,classpath:i18n/admin,classpath:i18n/identifiers,classpath:i18n/notranslate,classpath:i18n/2019-07-emailVisibilitySettings,classpath:i18n/ng_orcid,classpath:i18n/ng_orcid_signin,classpath:i18n/email2faDisabled,classpath:i18n/layout,classpath:i18n/notification_share,classpath:i18n/notification_digest,classpath:i18n/notification_delegate,classpath:i18n/notification_announcement,classpath:i18n/notification_admin_delegate,classpath:i18n/email_add_works_to_record" />
<property name="basenames" value="classpath:i18n/about,classpath:i18n/api,classpath:i18n/email_admin_delegate_request,classpath:i18n/email_added_as_delegate,classpath:i18n/email_auto_deprecate,classpath:i18n/email_new_claim_reminder,classpath:i18n/email_common,classpath:i18n/email_deactivate,classpath:i18n/email_digest,classpath:i18n/email_forgotten_id,classpath:i18n/email_institutional_connection,classpath:i18n/email_locked,classpath:i18n/email_notification,classpath:i18n/email_reactivation,classpath:i18n/email_removed,classpath:i18n/email_reset_password,classpath:i18n/email_reset_password_not_found,classpath:i18n/email_subject,classpath:i18n/email_tips,classpath:i18n/email_verify,classpath:i18n/email_welcome,classpath:i18n/javascript,classpath:i18n/messages,classpath:i18n/admin,classpath:i18n/identifiers,classpath:i18n/notranslate,classpath:i18n/2019-07-emailVisibilitySettings,classpath:i18n/ng_orcid,classpath:i18n/ng_orcid_signin,classpath:i18n/email2faDisabled,classpath:i18n/layout,classpath:i18n/notification_share,classpath:i18n/notification_digest,classpath:i18n/notification_delegate,classpath:i18n/notification_announcement,classpath:i18n/notification_admin_delegate,classpath:i18n/email_add_works_to_record,classpath:i18n/papi_rate_limit_email" />
<property name="defaultEncoding" value="UTF-8" />
<property name="cacheSeconds" value="${org.orcid.core.messages.cacheSeconds:5}" />
</bean>

<bean id="messageSourceNoFallback"
class="org.springframework.context.support.ReloadableResourceBundleMessageSource">
<property name="basenames" value="classpath:i18n/about,classpath:i18n/api,classpath:i18n/email_admin_delegate_request,classpath:i18n/email_added_as_delegate,classpath:i18n/email_auto_deprecate,classpath:i18n/email_new_claim_reminder,classpath:i18n/email_common,classpath:i18n/email_deactivate,classpath:i18n/email_digest,classpath:i18n/email_forgotten_id,classpath:i18n/email_institutional_connection,classpath:i18n/email_locked,classpath:i18n/email_notification,classpath:i18n/email_reactivation,classpath:i18n/email_removed,classpath:i18n/email_reset_password,classpath:i18n/email_reset_password_not_found,classpath:i18n/email_subject,classpath:i18n/email_tips,classpath:i18n/email_verify,classpath:i18n/email_welcome,classpath:i18n/javascript,classpath:i18n/messages,classpath:i18n/admin,classpath:i18n/identifiers,classpath:i18n/notranslate,classpath:i18n/2019-07-emailVisibilitySettings,classpath:i18n/ng_orcid,classpath:i18n/ng_orcid_signin,classpath:i18n/email2faDisabled,classpath:i18n/layout,classpath:i18n/notification_share,classpath:i18n/notification_digest,classpath:i18n/notification_delegate,classpath:i18n/notification_announcement,classpath:i18n/notification_admin_delegate,classpath:i18n/email_add_works_to_record" />
<property name="basenames" value="classpath:i18n/about,classpath:i18n/api,classpath:i18n/email_admin_delegate_request,classpath:i18n/email_added_as_delegate,classpath:i18n/email_auto_deprecate,classpath:i18n/email_new_claim_reminder,classpath:i18n/email_common,classpath:i18n/email_deactivate,classpath:i18n/email_digest,classpath:i18n/email_forgotten_id,classpath:i18n/email_institutional_connection,classpath:i18n/email_locked,classpath:i18n/email_notification,classpath:i18n/email_reactivation,classpath:i18n/email_removed,classpath:i18n/email_reset_password,classpath:i18n/email_reset_password_not_found,classpath:i18n/email_subject,classpath:i18n/email_tips,classpath:i18n/email_verify,classpath:i18n/email_welcome,classpath:i18n/javascript,classpath:i18n/messages,classpath:i18n/admin,classpath:i18n/identifiers,classpath:i18n/notranslate,classpath:i18n/2019-07-emailVisibilitySettings,classpath:i18n/ng_orcid,classpath:i18n/ng_orcid_signin,classpath:i18n/email2faDisabled,classpath:i18n/layout,classpath:i18n/notification_share,classpath:i18n/notification_digest,classpath:i18n/notification_delegate,classpath:i18n/notification_announcement,classpath:i18n/notification_admin_delegate,classpath:i18n/email_add_works_to_record,classpath:i18n/papi_rate_limit_email" />
<property name="defaultEncoding" value="UTF-8" />
<property name="cacheSeconds" value="${org.orcid.core.messages.cacheSeconds:5}" />
<property name="fallbackToSystemLocale" value="false" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<#import "email_macros.ftl" as emailMacros />
Dear ${emailName},
<@emailMacros.msg "email.common.dear" /><@emailMacros.space />${emailName},

This is an important message to let you know that you have exceeded your daily Public API usage limit with your integration (https://info.orcid.org/ufaqs/what-are-the-api-limits/):
<@emailMacros.msg "papi.rate.limit.important.msg" /><@emailMacros.space /><@emailMacros.msg "papi.rate.limit.daily.usage.limit" /><@emailMacros.space /><@emailMacros.msg "papi.rate.limit.your.integration" /><@emailMacros.space />(https://info.orcid.org/ufaqs/what-are-the-api-limits/):

Client Name: ${clientName}
Client ID: ${clientId}
<@emailMacros.msg "papi.rate.limit.client.name" /><@emailMacros.space />${clientName}
<@emailMacros.msg "papi.rate.limit.client.id" /><@emailMacros.space />${clientId}

Please remember that the ORCID Public API is free for non-commercial use by individuals as stated in the Public APIs Terms of Service (https://info.orcid.org/public-client-terms-of-service). By "non-commercial" we mean that you may not charge any re-use fees for the Public API, and you may not make use of the Public API in connection with any revenue-generating product or service.
<@emailMacros.msg "papi.rate.limit.please.remember" /><@emailMacros.space /><@emailMacros.msg "papi.rate.limit.public.api.terms" /><@emailMacros.space />(https://info.orcid.org/public-client-terms-of-service).<@emailMacros.space /><@emailMacros.msg "papi.rate.limit.by.non.commercial" />

Based on your API usage, we highly recommend you consider becoming an ORCID member for access to our Member API (https://info.orcid.org/what-is-orcid/services/member-api/). Not only will it allow you to access a higher Rate Limits and an unrestricted Usage Quota, but you will be able to access Trusted Party data in ORCID records and contribute data to ORCID records from your institutional systems.
<@emailMacros.msg "papi.rate.limit.based.on.your" /><@emailMacros.space /><@emailMacros.msg "papi.rate.limit.member.api" /><@emailMacros.space />(https://info.orcid.org/what-is-orcid/services/member-api/).<@emailMacros.space /><@emailMacros.msg "papi.rate.limit.not.only" />

To minimize any disruption to your ORCID integration in the future, we would recommend that you reach out to our Engagement Team by replying to this email to discuss our ORCID membership options.
<@emailMacros.msg "papi.rate.limit.to.minimize" />

<#include "email_footer.ftl"/>
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
<div style="padding: 20px; padding-top: 10px; width: 700px; margin: auto;">
<img src="https://orcid.org/sites/all/themes/orcid/img/orcid-logo.png" alt="ORCID.org"/>
<hr />
<span style="font-family: arial, helvetica, sans-serif; font-size: 15px; color: #494A4C; font-weight: bold;">Dear ${emailName},</span>
<p style="font-family: arial, helvetica, sans-serif;font-size: 15px;color: #494A4C; white-space: pre;">This is an important message to let you know that you have exceeded your <a href="https://info.orcid.org/ufaqs/what-are-the-api-limits/" target="_blank">daily Public API usage limit</a> with your integration:</p>
<p style="font-family: arial, helvetica, sans-serif;font-size: 15px;color: #494A4C; white-space: pre;">Client Name: ${clientName}</p>
<p style="font-family: arial, helvetica, sans-serif;font-size: 15px;color: #494A4C; white-space: pre;">Client ID: ${clientId}</p>
<span style="font-family: arial, helvetica, sans-serif; font-size: 15px; color: #494A4C; font-weight: bold;" ><@emailMacros.msg "email.common.dear" /> ${emailName},</span>
<p style="font-family: arial, helvetica, sans-serif;font-size: 15px;color: #494A4C; white-space: pre;"><@emailMacros.msg "papi.rate.limit.important.msg" /><@emailMacros.space /><a href="https://info.orcid.org/ufaqs/what-are-the-api-limits/" target="_blank"><@emailMacros.msg "papi.rate.limit.daily.usage.limit" /></a><@emailMacros.space /><@emailMacros.msg "papi.rate.limit.your.integration" /></p>
<p style="font-family: arial, helvetica, sans-serif;font-size: 15px;color: #494A4C; white-space: pre;"><@emailMacros.msg "papi.rate.limit.client.name" /><@emailMacros.space /> ${clientName}</p>
<p style="font-family: arial, helvetica, sans-serif;font-size: 15px;color: #494A4C; white-space: pre;"><@emailMacros.msg "papi.rate.limit.client.id" /><@emailMacros.space />${clientId}</p>
<br/>
<p style="font-family: arial, helvetica, sans-serif;font-size: 15px;color: #494A4C; white-space: pre;">Please remember that the ORCID Public API is free for non-commercial use by individuals as stated in the <a href="https://info.orcid.org/public-client-terms-of-service/" target="_blank">Public APIs Terms of Service</a>. By "non-commercial" we mean that you may not charge any re-use fees for the Public API, and you may not make use of the Public API in connection with any revenue-generating product or service.</p>
<p style="font-family: arial, helvetica, sans-serif;font-size: 15px;color: #494A4C; white-space: pre;">Based on your API usage, we highly recommend you consider becoming an ORCID member for access to our <a href="https://info.orcid.org/what-is-orcid/services/member-api/" target="_blank">Member API</a>. Not only will it allow you to access a higher Rate Limits and an unrestricted Usage Quota, but you will be able to access Trusted Party data in ORCID records and contribute data to ORCID records from your institutional systems.</p>
<p style="font-family: arial, helvetica, sans-serif;font-size: 15px;color: #494A4C; white-space: pre;">To minimize any disruption to your ORCID integration in the future, we would recommend that you reach out to our Engagement Team by replying to this email to discuss our ORCID membership options.
<p style="font-family: arial, helvetica, sans-serif;font-size: 15px;color: #494A4C; white-space: pre;"><@emailMacros.msg "papi.rate.limit.please.remember" /><@emailMacros.space /><a href="https://info.orcid.org/public-client-terms-of-service/" target="_blank"><@emailMacros.msg "papi.rate.limit.public.api.terms" /></a>.<@emailMacros.space /><@emailMacros.msg "papi.rate.limit.by.non.commercial" /></p>
<p style="font-family: arial, helvetica, sans-serif;font-size: 15px;color: #494A4C; white-space: pre;"><@emailMacros.msg "papi.rate.limit.based.on.your" /><@emailMacros.space /><a href="https://info.orcid.org/what-is-orcid/services/member-api/" target="_blank"><@emailMacros.msg "papi.rate.limit.member.api" /></a>.<@emailMacros.space /><@emailMacros.msg "papi.rate.limit.not.only" /></p>
<p style="font-family: arial, helvetica, sans-serif;font-size: 15px;color: #494A4C; white-space: pre;"><@emailMacros.msg "papi.rate.limit.to.minimize" />
<p style="font-family: arial, helvetica, sans-serif;font-size: 15px;color: #494A4C;">
<#include "email_footer_html.ftl"/>
</p>
Expand Down
Loading
Loading