From f3cae0c1a59c0083150fb385ca680d9c9a0df3ce Mon Sep 17 00:00:00 2001 From: 22Alexandra Date: Thu, 5 Dec 2024 12:16:44 +0200 Subject: [PATCH] EWPP-4872: Remove Japanese logo mapping. --- oe_theme.theme | 6 ------ 1 file changed, 6 deletions(-) diff --git a/oe_theme.theme b/oe_theme.theme index bf841fbf8..e04deac62 100644 --- a/oe_theme.theme +++ b/oe_theme.theme @@ -1302,7 +1302,6 @@ function oe_theme_preprocess_block__system_branding_block(&$variables) { $map_non_eu_langcode = [ 'nb' => 'no', - 'ja' => 'jp', 'zh-hans' => 'zh', ]; @@ -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';