5810 Commits

Author SHA1 Message Date
Andrea Vos
7181ec43e2 Merge branch 'spis-2024' into 'main'
Spis 2024

See merge request PronounsPage/PronounsPage!415
2024-01-29 20:34:05 +00:00
Andrea Vos
17908029ab (lint) fix 2024-01-29 20:41:09 +01:00
Andrea Vos
90bcd26337 (pl)(census) final date 2024-01-29 20:01:57 +01:00
Andrea Vos
ea1318785c (bug) fix refactoring issues 2024-01-29 20:00:50 +01:00
Andrea Vos
a9eaea2284 (pl)(census) 2024 pedał_ka / cw 2024-01-29 19:33:37 +01:00
Andrea Vos
f3feba15d4 Merge branch 'main' into spis-2024
# Conflicts:
#	locale/pl/config.suml
#	routes/census.vue
2024-01-29 19:20:16 +01:00
Andrea Vos
88661eb5ed Merge remote-tracking branch 'origin/main' 2024-01-29 18:57:21 +01:00
Andrea Vos
2b3ddd4a83 (bug) fix refactoring issues 2024-01-29 18:47:11 +01:00
Valentyne Stigloher
c0a4c41d4b (fix) reload sound in <PronunciationSpeaker> if an error occured or the input changed 2024-01-29 15:33:50 +01:00
Valentyne Stigloher
760636ad2f (fix) use for-of instead of for-in 2024-01-29 15:19:56 +01:00
Andrea Vos
ea506eabb7 (bug) minor fix for potentially missing config values in <Header> 2024-01-28 14:53:42 +01:00
Andrea Vos
999281fea9 Merge branch '374-vue-prototype-convention' into 'main'
Use $ convention for Vue.prototype

Closes #374

See merge request PronounsPage/PronounsPage!413
2024-01-26 15:11:43 +00:00
Valentyne Stigloher
13cbc104e0 (refactor) reference config from prototype instead of importing it 2024-01-26 14:41:24 +01:00
Valentyne Stigloher
17ee6de8c3 (refactor) move buildImageUrl from globals to helpers 2024-01-26 14:30:12 +01:00
Valentyne Stigloher
a065029cb5 (refactor) rename $config and $locale Vue globals to have a dollar sign per convention 2024-01-26 14:30:12 +01:00
Valentyne Stigloher
dac647d3e3 Merge branch '138-pronoun-parsing-improvements' into 'main'
Improvements to slash pronoun parsing

Closes #138

See merge request PronounsPage/PronounsPage!409
2024-01-26 12:34:22 +00:00
Theodore Dubois
344bf33031 Revert "(tok)(trans)"
This reverts commit 38dd3747e29d999151fbc1e442093aae5faf0626.

added duplicate line ?? why did i do this
2024-01-23 20:14:00 -08:00
Theodore Dubois
38dd3747e2 (tok)(trans) 2024-01-23 20:08:15 -08:00
Theodore Dubois
bc846d9a9d (tok)(trans) Remove untranslated strings 2024-01-23 20:08:15 -08:00
Theodore Dubois
8e71e742d8 Upgrade nan module to fix compatiblity with node 21 2024-01-23 20:08:15 -08:00
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