diff --git a/components/pronouns/PronounsGrammarTables.vue b/components/pronouns/PronounsGrammarTables.vue index f0ff9c0c1..a38abe317 100644 --- a/components/pronouns/PronounsGrammarTables.vue +++ b/components/pronouns/PronounsGrammarTables.vue @@ -12,7 +12,7 @@ const props = defineProps<{ const config = useConfig(); -const grammarTables = computed((): GrammarTableDefinition[] => { +const grammarTables = computed((): (GrammarTableDefinition | string)[] => { if (!config.pronouns.grammarTables) { return []; } @@ -35,12 +35,19 @@ const examples = computed((): Example[] => { pronouns.grammarTablequotation.colon - + > +

+ +

+ + diff --git a/locale/pl/config.suml b/locale/pl/config.suml index ce6ff2883..21d97504d 100644 --- a/locale/pl/config.suml +++ b/locale/pl/config.suml @@ -40,6 +40,80 @@ pronouns: - 'verb_go' - 'verb_o' - 'honorific' + grammarTables: + - + columnHeader: + - + name: 'Mianownik' + - + name: 'Dopełniacz' + - + name: 'Celownik' + - + name: 'Biernik' + - + name: 'Narzędnik' + - + name: 'Miejscownik' + sections: + - + variants: + - + morphemeCells: + - 'pronoun_n' + - + - + morpheme: 'pronoun_g' + - + morpheme: 'pronoun_g_acc' + - + morpheme: 'pronoun_g_prep' + - + - + morpheme: 'pronoun_d' + - + morpheme: 'pronoun_d_acc' + - + morpheme: 'pronoun_d_prep' + - + - + morpheme: 'pronoun_a' + - + morpheme: 'pronoun_a_acc' + - + morpheme: 'pronoun_a_prep' + - 'pronoun_i' + - 'pronoun_l' + - > + Skąd w polszczyźnie tyle różnych form zaimków? Zapraszamy do lektury artykułu: + {/jak-dzia%C5%82aj%C4%85-zaimki=Co warto wiedzieć o używaniu (i tworzeniu) zaimków?} + - + columnHeader: + - + name: '1 os.' + - + name: '2 os.' + - + name: '3 os.' + - + name: 'Przymiotniki' + sections: + - + variants: + - + morphemeCells: + - + morpheme: 'verb_middle_inter' + prefix: '–' + - + morpheme: 'verb_middle_inter' + prefix: '–' + - + morpheme: 'verb_end_about' + prefix: '–' + - + morpheme: 'adjective_n' + prefix: '–' route: 'zaimki' any: 'dowolne' plurals: true diff --git a/src/language/grammarTables.ts b/src/language/grammarTables.ts index 4cf50d82d..781ab4596 100644 --- a/src/language/grammarTables.ts +++ b/src/language/grammarTables.ts @@ -1,7 +1,7 @@ import type { MorphemeValue } from '~/src/language/morphemes.ts'; -export type GrammarTablesDefinition = GrammarTableDefinition[] - | { simple: GrammarTableDefinition[]; comprehensive: GrammarTableDefinition[] }; +export type GrammarTablesDefinition = (GrammarTableDefinition | string)[] + | { simple: (GrammarTableDefinition | string)[]; comprehensive: (GrammarTableDefinition | string)[] }; export interface Header { name: string;