Skip to content
Snippets Groups Projects
Commit d9799202 authored by Henrik Askjer's avatar Henrik Askjer
Browse files

arabic numerals for hgno aria labels

parent 916c3c5a
No related branches found
No related tags found
No related merge requests found
...@@ -83,6 +83,16 @@ export default { ...@@ -83,6 +83,16 @@ export default {
}) })
return hgnos.join(", ") return hgnos.join(", ")
}, },
hgno_arabic: function() {
let hgnos = []
this.lemmas.forEach(lemma => {
let hgint = parseInt(lemma.hgno)
if (hgint > 0) {
hgnos.push(hgint)
}
})
return hgnos.join(", ")
},
inflection_button_text: function() { inflection_button_text: function() {
return { return {
"bm": {false: "Se bøyning", true: "Skjul bøyning"}, "bm": {false: "Se bøyning", true: "Skjul bøyning"},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment