Skip to content

Commit 29ddc73

Browse files
committed
[Discopower] Add login_with key in discopower definitions
1 parent ac08232 commit 29ddc73

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

dictionaries/discopower.definition.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,8 @@
2525
},
2626
"cookies_link_url": {
2727
"en": "../themevanilla/policy.php"
28+
},
29+
"login_with": {
30+
"en": "Log in with"
2831
}
2932
}

themes/ssp/discopower/disco.tpl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ function getTranslatedName($t, $metadata) {
141141
<input type="hidden" name="returnIDParam" value="' . htmlspecialchars($this->data['returnIDParam']) . '" />
142142
<input type="hidden" name="idpentityid" value="' . htmlspecialchars($faventry['entityid']) . '" />
143143
<input type="submit" name="formsubmit" id="favouritesubmit" class="ssp-btn ssp-btn__action text-uppercase" value="'
144-
. $this->t('login_at') . ' ' . htmlspecialchars(getTranslatedName($this, $faventry)) . '" />
144+
. $this->t('{themevanilla:discopower:login_with}') . ' ' . htmlspecialchars(getTranslatedName($this, $faventry)) . '" />
145145
</form>
146146
</div>
147147
<div class="row text-center ssp-modal-or">' . (strpos($this->t('{themevanilla:discopower:or}'), 'not translated') === FALSE ? $this->t('{themevanilla:discopower:or}') : '') . '</div>

0 commit comments

Comments
 (0)