Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Commit

Permalink
FR toolbar title case fix
Browse files Browse the repository at this point in the history
  • Loading branch information
qiyundai committed Jul 6, 2023
1 parent 6356f5d commit 3f2a8fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion express/blocks/template-list/template-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ async function populateHeadingPlaceholder(locale, props) {
grammarTemplate.split(' ').forEach((word, index, words) => {
if (index + 1 < words.length) {
if (word === 'de' && wordStartsWithVowels(words[index + 1])) {
words.splice(index, 2, `d'${words[index + 1].toLowerCase()}`);
words.splice(index, 2, `d'${words[index + 1]}`);
grammarTemplate = words.join(' ');
}
}
Expand Down

0 comments on commit 3f2a8fe

Please sign in to comment.