Skip to content

Commit

Permalink
EWPP-4872: Remove Japanese logo mapping.
Browse files Browse the repository at this point in the history
  • Loading branch information
22Alexandra committed Dec 12, 2024
1 parent bbe9f67 commit e54649b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions oe_theme.theme
Original file line number Diff line number Diff line change
Expand Up @@ -1302,7 +1302,6 @@ function oe_theme_preprocess_block__system_branding_block(&$variables) {

$map_non_eu_langcode = [
'nb' => 'no',
'ja' => 'jp',
'zh-hans' => 'zh',
];

Expand Down Expand Up @@ -1897,11 +1896,6 @@ function _oe_theme_preprocess_footer_logo(array &$variables): void {
$variables['desktop_logo_path'] = $footer_logo_path . 'logo-' . $variables['ecl_component_library'] . '--no.svg';
return;
}
if ($variables['current_language_id'] === 'ja') {
// Set correct icon for Norwegian language.
$variables['desktop_logo_path'] = $footer_logo_path . 'logo-' . $variables['ecl_component_library'] . '--jp.svg';
return;
}
if ($variables['current_language_id'] === 'zh-hans') {
// Set correct icon for Norwegian language.
$variables['desktop_logo_path'] = $footer_logo_path . 'logo-' . $variables['ecl_component_library'] . '--zh.svg';
Expand Down

0 comments on commit e54649b

Please sign in to comment.