mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-25 05:54:25 -04:00
(ar)(pronouns) handle arabic comma when splitting inline lists
This commit is contained in:
parent
720e000ece
commit
376a833557
@ -139,7 +139,7 @@ export const buildPronoun = (pronouns, path) => {
|
||||
export const parsePronouns = (pronounsRaw) => {
|
||||
return buildDict(function* () {
|
||||
for (let t of pronounsRaw) {
|
||||
const aliases = t.key.split(',');
|
||||
const aliases = t.key.replace(/،/g, ',').split(',');
|
||||
|
||||
yield [
|
||||
aliases[0],
|
||||
|
@ -35,7 +35,7 @@ export const pronounGroups = buildList(function* () {
|
||||
for (let g of pronounGroupsRaw) {
|
||||
yield new PronounGroup(
|
||||
g.name,
|
||||
g.pronouns ? g.pronouns.split(',') : [],
|
||||
g.pronouns ? g.pronouns.replace(/،/g, ',').split(',') : [],
|
||||
g.description,
|
||||
g.key || null,
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user