Draw a US title inside the drawn sex, and name the Swedish prefix field title
This commit is contained in:
@@ -2,6 +2,6 @@
|
|||||||
"format": "{prefix}{first} {last}",
|
"format": "{prefix}{first} {last}",
|
||||||
"first": "{.first-name.name}",
|
"first": "{.first-name.name}",
|
||||||
"last": "{.last-name.name}",
|
"last": "{.last-name.name}",
|
||||||
"prefix": ["", { "format": "{title} ", "title": ["Dr", "Mx", "Prof"], "weight": 0.1 }],
|
"prefix": ["", { "format": "{.title.name} ", "weight": 0.1 }],
|
||||||
"sex": "{.sex.name}"
|
"sex": "{.sex.name}"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
{ "format": "{name}", "rows": "title.tsv", "name": "name", "parent": "sex", "weight": "share" }
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
name sex share
|
||||||
|
Dr f 6
|
||||||
|
Dr m 6
|
||||||
|
Miss f 4
|
||||||
|
Mr m 60
|
||||||
|
Mrs f 22
|
||||||
|
Ms f 30
|
||||||
|
Mx f 1
|
||||||
|
Mx m 1
|
||||||
|
Prof f 3
|
||||||
|
Prof m 3
|
||||||
|
@@ -2,6 +2,6 @@
|
|||||||
"format": "{prefix}{first} {last}",
|
"format": "{prefix}{first} {last}",
|
||||||
"first": "{.first-name.name}",
|
"first": "{.first-name.name}",
|
||||||
"last": "{.last-name.name}",
|
"last": "{.last-name.name}",
|
||||||
"prefix": ["", { "format": "{string} ", "string": ["dr", "prof"], "weight": 0.05 }],
|
"prefix": ["", { "format": "{title} ", "title": ["dr", "prof"], "weight": 0.05 }],
|
||||||
"sex": "{.sex.name}"
|
"sex": "{.sex.name}"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user