Skip to content

Commit 6f2df8b

Browse files
committed
Add translation for oidc button
1 parent f391b17 commit 6f2df8b

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<!--
2+
replace "span > erb[loud]:contains('normalize_provider_name(provider).titleize')"
3+
-->
4+
<%= t(
5+
"devise.shared.links.log_in_with_provider_button",
6+
provider: normalize_provider_name(provider).titleize,
7+
default: normalize_provider_name(provider).titleize
8+
) %>

config/locales/de.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ de:
156156
devise:
157157
shared:
158158
links:
159-
sign_in_with_provider: Mit "Mein Konto" anmelden
159+
log_in_with_provider: Mit "Mein Konto" anmelden
160+
log_in_with_provider_button: Mein Konto
160161
hello: "Hello world"
161162
...

config/locales/en.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@ en:
181181
devise:
182182
shared:
183183
links:
184-
sign_in_with_provider: Log in via "Mein Konto"
184+
log_in_with_provider: Log in via "Mein Konto"
185+
log_in_with_provider_button: Mein Konto
185186
mailer:
186187
confirmation_instructions:
187188
subject: "Confirm E-Mail"

0 commit comments

Comments
 (0)