1
0
mirror of synced 2026-05-22 15:03:15 +00:00

Use theme translations and fix login-link id (#5)

* Use theme translations and fix login-link id

Switches over to using theme translations instead of theme settings to manage the text content. This just adds a little extra flexibility for admins if they want to translate the text to other languages.

It also replaces the `login-link` id with `cta-login-link` since the `login-link` id is already used in core. The relevant CSS is added along with it.

* Run prettier
This commit is contained in:
tshenry
2022-04-13 08:51:23 -07:00
committed by GitHub
parent f344d122f2
commit 77ad4248e5
4 changed files with 16 additions and 21 deletions
-16
View File
@@ -3,19 +3,3 @@ enabled_categories:
list_type: category
default: ""
description: "Choose which categories that users need to sign up for."
heading_text:
type: string
default: "This area is for members only"
description: ""
subheading_text:
type: string
default: "Create an account to view this content"
description: ""
signup_cta_label:
type: string
default: "Sign Up"
description: ""
login_cta_label:
type: string
default: "Already have an account? Sign in"
description: ""