Skip to content
Snippets Groups Projects
Commit 6618d593 authored by Ole Voldsæter's avatar Ole Voldsæter
Browse files

lokalisering bokmål/nynorsk

parent 6050c44f
No related branches found
No related tags found
No related merge requests found
<template>
<table>
<tr>
<th rowspan="2">Adjektiv</th><th colspan="3">Entall</th><th>Flertall</th><th colspan="3">Gradbøying</th>
<th rowspan="2">Adjektiv</th>
<th colspan="3">{{i18n[0]}}</th>
<th>{{i18n[1]}}</th>
<th colspan="3">Gradbøying</th>
</tr>
<tr>
<th>Hankjønn og hunkjønn</th>
<th>Intetkjønn</th>
<th>Bestemt form</th>
<th>Han/{{i18n[2]}}kjønn</th>
<th>{{i18n[3]}}kjønn</th>
<th>B{{i18n[4]}} form</th>
<th></th>
<th>Komparativ</th>
<th>Superlativ</th>
<th>Superlativ, bestemt form</th>
<th>Superlativ, b{{i18n[4]}} form</th>
</tr>
<tr v-for="(std, index) in standardisations" :key="index">
<td></td>
......@@ -30,6 +33,14 @@ export default {
name: "ADJ",
props: {
standardisations: Array
},
computed: {
i18n: function() {
return {
bob: ['Entall', 'Flertall', 'Hun', 'Intet', 'estemt'],
nob: ['Eintal', 'Fleirtal', 'Ho', 'Inkje', 'unden']
}[this.$route.params.lang]
}
}
}
</script>
<template>
<table>
<tr>
<th rowspan="2">Adjektiv</th><th colspan="4">Entall</th><th>Flertall</th><th colspan="3">Gradbøying</th>
<th rowspan="2">Adjektiv</th>
<th colspan="4">{{i18n[0]}}</th>
<th>{{i18n[1]}}</th>
<th colspan="3">Gradbøying</th>
</tr>
<tr>
<th>Hankjønn</th>
<th>Hokjønn</th>
<th>Inkjekjønn</th>
<th>Bunden form</th>
<th>{{i18n[2]}}kjønn</th>
<th>{{i18n[3]}}kjønn</th>
<th>B{{i18n[4]}} form</th>
<th></th>
<th>Komparativ</th>
<th>Superlativ</th>
<th>Superlativ, bunden form</th>
<th>Superlativ, b{{i18n[4]}} form</th>
</tr>
<tr v-for="(std, index) in standardisations" :key="index">
<td></td>
......@@ -32,6 +35,14 @@ export default {
name: "ADJ_masc_fem",
props: {
standardisations: Array
},
computed: {
i18n: function() {
return {
bob: ['Entall', 'Flertall', 'Hun', 'Intet', 'estemt'],
nob: ['Eintal', 'Fleirtal', 'Ho', 'Inkje', 'unden']
}[this.$route.params.lang]
}
}
}
</script>
<template>
<table>
<tr>
<th rowspan="2">Determinativ</th><th colspan="3">Entall</th><th rowspan="2">Flertall</th>
<th rowspan="2">Determinativ</th><th colspan="3">{{i18n[0]}}</th><th rowspan="2">{{i18n[1]}}</th>
</tr>
<tr>
<th>Hankjønn</th><th>Hunkjønn</th><th>Intetkjønn</th>
<th>Hankjønn</th><th>{{i18n[2]}}kjønn</th><th>{{i18n[3]}}kjønn</th>
</tr>
<tr v-for="(std, index) in standardisations" :key="index">
<td></td>
......@@ -21,6 +21,14 @@ export default {
name: "DET",
props: {
standardisations: Array
},
computed: {
i18n: function() {
return {
bob: ['Entall', 'Flertall', 'Hun', 'Intet'],
nob: ['Eintal', 'Fleirtal', 'Ho', 'Inkje']
}[this.$route.params.lang]
}
}
}
</script>
<template>
<table>
<tr>
<th rowspan="2">Substantiv</th><th colspan="2">Entall</th><th colspan="2">Flertall</th>
<th rowspan="2">Substantiv</th><th colspan="2">{{i18n[0]}}</th><th colspan="2">{{i18n[1]}}</th>
</tr>
<tr>
<th>Ubestemt</th><th>Bestemt</th><th>Ubestemt</th><th>Bestemt</th>
<th>{{i18n[2]}}</th><th>{{i18n[3]}}</th><th>{{i18n[2]}}</th><th>{{i18n[3]}}</th>
</tr>
<tr v-for="(std, index) in standardisations" :key="index">
<th>{{std.tags[1]}}</th>
<td>{{std.inflection[0].word_form}}</td>
<th>{{i18n[4][std.tags[1]][0]}}</th>
<td>{{i18n[4][std.tags[1]][1]}} {{std.inflection[0].word_form}}</td>
<td>{{std.inflection[1].word_form}}</td>
<td>{{std.inflection[2].word_form}}</td>
<td>{{std.inflection[3].word_form}}</td>
......@@ -21,6 +21,14 @@ export default {
name: "NOUN",
props: {
standardisations: Array
},
computed: {
i18n: function() {
return {
bob: ['Entall', 'Flertall', 'Ubestemt', 'Bestemt', {Masc: ['mask.', 'en'], Fem: ['fem.', 'ei'], Neuter: ['nøytr.', 'et']}],
nob: ['Eintal', 'Fleirtal', 'Ubunden', 'Bunden', {Masc: ['mask.', 'ein'], Fem: ['fem.', 'ei'], Neuter: ['nøytr.', 'eit']}]
}[this.$route.params.lang]
}
}
}
</script>
......@@ -11,14 +11,14 @@
<th rowspan="2">Presens partisipp</th>
</tr>
<tr>
<th>Hankjønn/hunkjønn</th>
<th>Intetkjønn</th>
<th>Bestemt form</th>
<th>Flertall</th>
<th>Han/{{i18n[0]}}kjønn</th>
<th>{{i18n[1]}}kjønn</th>
<th>{{i18n[2]}} form</th>
<th>{{i18n[3]}}</th>
</tr>
<tr v-for="(std, index) in standardisations" :key="index">
<th></th>
<td>å {{std.inflection[0].word_form + (std.inflection[1].word_form ? '/' + std.inflection[1].word_form : '')}}</td>
<td>å<span v-html="'&nbsp;'"></span>{{std.inflection[0].word_form + (std.inflection[1].word_form ? '/' + std.inflection[1].word_form : '')}}</td>
<td>{{std.inflection[2].word_form}}</td>
<td>{{std.inflection[5].word_form}}</td>
<td>har {{std.inflection[6].word_form}}</td>
......@@ -37,6 +37,14 @@ export default {
name: "VERB",
props: {
standardisations: Array
},
computed: {
i18n: function() {
return {
bob: ['hun', 'Intet', 'Bestemt', 'Flertall'],
nob: ['ho', 'Inkje', 'Bunden', 'Fleirtal']
}[this.$route.params.lang]
}
}
}
</script>
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