5890 Commits

Author SHA1 Message Date
Valentyne Stigloher
11d291a24f (pronouns) enable translations for slash modifiers 2024-01-24 00:53:43 +01:00
Valentyne Stigloher
d792270c80 (refactor) inject translator instead of importing the singleton instance
this prevents of having a module which needs a suml-loader
which is complicated for testing and server scopes
2024-01-24 00:50:29 +01:00
Valentyne Stigloher
067a7b4dd9 (test) add cases to the suite for pronoun parsing from commas 2024-01-24 00:50:29 +01:00
Valentyne Stigloher
6309daa78c (pronouns) add support for empty and unset morphs in slash notation 2024-01-24 00:50:29 +01:00
Valentyne Stigloher
48992c53d6 (pronouns) differentiate between empty and unset morphs
empty morphs are those which have a real value, which corresponds to a suffix without additional letters,
they should still show up in example sentences
unset / null morphs are used when a pronoun does not support a specific form at all,
so their example sentences should be hidden

This reverts in part ed4049b3cc124605a3f9588b19eb63c5ff2dd961 and reintroduces the failure
when an unset morpheme is used in an interchangeable pronoun, however this needs more restructering to fix
2024-01-24 00:50:29 +01:00
Valentyne Stigloher
918e2672e4 (pronouns) escape control symbols in morphemes to support for slashes in the slash notation 2024-01-24 00:50:28 +01:00
Valentyne Stigloher
63cd06f2e4 (pronouns) allow the user to choose the generated link, defaulting to slashes
it tries to be consistent with the /u/ notation switch in a profile
otherwise, after adding at least one modifier (plural or description),
the compressed format would always be shorter
2024-01-24 00:50:13 +01:00
Valentyne Stigloher
b5d57bf19b (pronouns) add modifiers when formatting pronoun with slashes 2024-01-24 00:50:12 +01:00
Valentyne Stigloher
fd9e851214 (pronouns) add modifiers to slash links to support for description and plural 2024-01-24 00:49:07 +01:00
Andrea Vos
c27312d84b Merge branch 'misc' into 'main'
(trans) Get list of expected translations from _base

See merge request PronounsPage/PronounsPage!412
2024-01-23 22:32:46 +00:00
Theodore Dubois
ee240c43a1 (trans) Get list of expected translations from _base
This includes a series of if statements based on the config to attempt
to exclude translations that are in _base but shouldn't be on the
current language version.
2024-01-22 21:02:36 -08:00
Andrea Vos
0bef21dc25 Merge branch 'maintenance' into 'main'
various maintenance changes

See merge request PronounsPage/PronounsPage!411
2024-01-22 16:17:55 +00:00
Andrea Vos
2650952a9c (bug) #379 Username character limit not respected 2024-01-22 17:00:53 +01:00
Andrea Vos
d14fa7c266 (ua)(trans) 2024-01-22 17:00:13 +01:00
Andrea Vos
f352cee85e (tok)(trans) 2024-01-22 16:59:58 +01:00
Theodore Dubois
b3d5326496 (tok)(trans) 2024-01-21 19:59:54 -08:00
Theodore Dubois
0e5369f403 (tok) two columns of default words 2024-01-21 19:40:25 -08:00
Theodore Dubois
6a88873b75 (tok) trans 2024-01-21 14:23:32 -08:00
Theodore Dubois
9aab5a0d4c (tok) trans 2024-01-21 14:23:01 -08:00
Theodore Dubois
18e7f592ac (tok) trans 2024-01-21 13:38:42 -08:00
Theodore Dubois
61b7fa253c typo fix in css class 2024-01-21 12:31:21 -08:00
Valentyne Stigloher
a22981eb79 (fmt) indent switch case clauses 2024-01-21 13:55:34 +01:00
Valentyne Stigloher
5f38d833e4 (ci) fix check for fixable lint problems 2024-01-21 13:36:25 +01:00
Valentyne Stigloher
6963425947 (scss) reference style.scss globally in nuxt config instead of in components / layouts
this resulted in a larger bundle size (~200kB gzipped)
2024-01-21 12:44:35 +01:00
Valentyne Stigloher
b64c113dbb (dependencies) downgrade webpack 5 to 4 as this version is used in Nuxt
move all loaders into devDependencies for convention
also downgrade string-replace-loader to 2.3.0 as this supports webpack 4
2024-01-21 12:19:56 +01:00
Andrea Vos
db2bac2381 (ar)(config) 2024-01-18 19:50:31 +01:00
Andrea Vos
0390428c53 (ar)(trans) 2024-01-18 19:48:24 +01:00
Andrea Vos
0d15a38e1b <PronunciationSpeaker> reuse the sound object 2024-01-18 19:29:45 +01:00
Andrea Vos
731feaf711 (bug) fix publift call 2024-01-18 19:29:01 +01:00
Andrea Vos
fcb07f3da4 (bug) fix <PronunciationSpeaker/> causing "A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received" for some profiles; also add state indicator (useful when loading is slower) 2024-01-18 18:53:30 +01:00
Andrea Vos
07e4d9781c (bug) <LinkedText/> should open files in new tab (nuxt router messes it up) 2024-01-17 18:03:35 +01:00
Andrea Vos
3488ec3b9f (pl)(translingwistyka) Natalia Krata 2024-01-17 17:53:26 +01:00
Andrea Vos
ef8d8da228 Merge remote-tracking branch 'origin/main' 2024-01-15 23:36:43 +01:00
Andrea Vos
3b3f0e3e40 (fix) circle mentions break when one is mentioned in an unpublished version 2024-01-15 23:36:36 +01:00
Valentyne Stigloher
3b7631e41f Merge branch 'contributing' into 'main'
Contributing

See merge request PronounsPage/PronounsPage!407
2024-01-15 19:14:30 +00:00
Valentyne Stigloher
a59ec73338 (vsc) update settings 2024-01-15 20:10:55 +01:00
Valentyne Stigloher
89ce8c05eb (doc) update contribution info 2024-01-15 20:10:54 +01:00
Valentyne Stigloher
20886dd79a (vsc) add recommended extensions 2024-01-15 12:56:48 +01:00
Valentyne Stigloher
beea8387f4 Merge branch 'linting-widget' into 'main'
Linting widget

See merge request PronounsPage/PronounsPage!410
2024-01-13 18:37:33 +00:00
Valentyne Stigloher
4b89fb2d7d (ci) disable cache because it takes longer with it 2024-01-13 18:40:58 +01:00
Valentyne Stigloher
9aed991a67 (ci) call yarn only once and add some collapsible sections 2024-01-13 18:37:19 +01:00
Valentyne Stigloher
220f4503ee (ci) display lint results 2024-01-13 18:34:07 +01:00
Andrea Vos
90f679edc0 (ar)(trans) - fix miscommit 2024-01-13 15:13:38 +01:00
Andrea Vos
f1d1141ed8 (pronounce) give [target=_blank] to the progressive enhancement link 2024-01-13 15:02:00 +01:00
Andrea Vos
953731c611 Merge remote-tracking branch 'origin/main' 2024-01-13 14:35:26 +01:00
Andrea Vos
99d4edb53c (pl)(trans) 2024-01-13 14:35:19 +01:00
Andrea Vos
647e0197e5 (ar)(trans) 2024-01-13 14:34:20 +01:00
Valentyne Stigloher
816407acdf Merge branch 'name-pronunciation-fixes' into 'main'
Name pronunciation fixes

See merge request PronounsPage/PronounsPage!408
2024-01-11 21:20:16 +00:00
Valentyne Stigloher
77d3cb5818 (fix) deep copy prototype to prevent that it is modified 2024-01-11 22:07:08 +01:00
Valentyne Stigloher
ebcf86732f (fix) do not pass null to Base64.encodeURI 2024-01-11 22:06:37 +01:00