mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-24 11:01:43 +01:00
Remove broken link to Terms of Service when none are defined (#33699)
This commit is contained in:
parent
ffaf458f99
commit
4b4de02fee
@ -72,7 +72,7 @@
|
|||||||
.fields-group
|
.fields-group
|
||||||
= f.input :agreement,
|
= f.input :agreement,
|
||||||
as: :boolean,
|
as: :boolean,
|
||||||
label: t('auth.user_agreement_html', privacy_policy_path: privacy_policy_path, terms_of_service_path: terms_of_service_path),
|
label: TermsOfService.live.exists? ? t('auth.user_agreement_html', privacy_policy_path: privacy_policy_path, terms_of_service_path: terms_of_service_path) : t('auth.user_privacy_agreement_html', privacy_policy_path: privacy_policy_path),
|
||||||
required: false,
|
required: false,
|
||||||
wrapper: :with_label
|
wrapper: :with_label
|
||||||
|
|
||||||
|
@ -1209,6 +1209,7 @@ en:
|
|||||||
too_fast: Form submitted too fast, try again.
|
too_fast: Form submitted too fast, try again.
|
||||||
use_security_key: Use security key
|
use_security_key: Use security key
|
||||||
user_agreement_html: I have read and agree to the <a href="%{terms_of_service_path}" target="_blank">terms of service</a> and <a href="%{privacy_policy_path}" target="_blank">privacy policy</a>
|
user_agreement_html: I have read and agree to the <a href="%{terms_of_service_path}" target="_blank">terms of service</a> and <a href="%{privacy_policy_path}" target="_blank">privacy policy</a>
|
||||||
|
user_privacy_agreement_html: I have read and agree to the <a href="%{privacy_policy_path}" target="_blank">privacy policy</a>
|
||||||
author_attribution:
|
author_attribution:
|
||||||
example_title: Sample text
|
example_title: Sample text
|
||||||
hint_html: Are you writing news or blog articles outside of Mastodon? Control how you get credited when they are shared on Mastodon.
|
hint_html: Are you writing news or blog articles outside of Mastodon? Control how you get credited when they are shared on Mastodon.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user