Skip to content

Commit 1c8e66b

Browse files
joseph.olstadsylus
authored andcommitted
Issue #3210758 by joseph.olstad: Skip links theme configuration text is currently not translateable
1 parent fc77523 commit 1c8e66b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Plugin/Preprocess/Html.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ public function preprocess(array &$variables, $hook, array $info) {
2828

2929
// Assign skip link variables.
3030
$variables['wxt_skip_link_primary'] = $this->theme->getSetting('wxt_skip_link_primary');
31-
$variables['wxt_skip_link_primary_text'] = $this->theme->getSetting('wxt_skip_link_primary_text');
31+
$variables['wxt_skip_link_primary_text'] = t($this->theme->getSetting('wxt_skip_link_primary_text'));
3232
$variables['wxt_skip_link_secondary'] = $this->theme->getSetting('wxt_skip_link_secondary');
33-
$variables['wxt_skip_link_secondary_text'] = $this->theme->getSetting('wxt_skip_link_secondary_text');
33+
$variables['wxt_skip_link_secondary_text'] = t($this->theme->getSetting('wxt_skip_link_secondary_text'));
3434

3535
parent::preprocess($variables, $hook, $info);
3636
}

0 commit comments

Comments
 (0)