Skip to content

Commit

Permalink
Fix website not using correct localized icon titles (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
kj415j45 authored May 20, 2024
1 parent b061150 commit 78b1744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const getIconLocalizedTitles = (iconData, languages) => {
if (iconData.aliases && iconData.aliases.loc) {
for (const locale of Object.keys(iconData.aliases.loc)) {
if (languages.includes(locale)) {
localizedTitles[locale] = iconData.aliases.loc;
localizedTitles[locale] = iconData.aliases.loc[locale];
}

const universalLocale = locale.slice(
Expand Down

0 comments on commit 78b1744

Please sign in to comment.