Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
weblate committed Mar 5, 2024
2 parents 8946e60 + 23a9139 commit 39813ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions static/js/appbundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -93581,7 +93581,7 @@ notes_mapping = {
}
function specializeKeyword(name2, stack) {
for (const [key, value] of specializeTranslations) {
const regexString = value.replace(" ", "|");
const regexString = value.replace(/ /g, "|");
if (new RegExp(`^(${regexString})$`, "gu").test(name2)) {
if (stack.canShift(keywordToToken[level2].specialize[key])) {
return keywordToToken[level2].specialize[key];
Expand All @@ -93592,7 +93592,7 @@ notes_mapping = {
}
function extendKeyword(name2, stack) {
for (const [key, value] of extendTranslations) {
const regexString = value.replace(" ", "|");
const regexString = value.replace(/ /g, "|");
if (new RegExp(`^(${regexString})$`, "gu").test(name2)) {
if (stack.canShift(keywordToToken[level2].extend[key])) {
return keywordToToken[level2].extend[key];
Expand Down
Loading

0 comments on commit 39813ae

Please sign in to comment.