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

[MWPW-133513] FR toolbar title case fix #942

Merged
merged 1 commit into from
Jul 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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