5637 Commits

Author SHA1 Message Date
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
Andrea Vos
f3ade21f50 (en)(trans) better wording for "approximate location" 2024-01-11 21:57:32 +01:00
Andrea Vos
4cd23d5636 remove duplication of isGranted in notify.js (was blocked by .mjs changes) 2024-01-11 21:46:37 +01:00
Andrea Vos
e57fed22b8 Merge remote-tracking branch 'origin/main' 2024-01-11 21:43:33 +01:00
Andrea Vos
c644305370 (ar)(design) pick a font 2024-01-11 21:43:27 +01:00
Valentyne Stigloher
b8535c9627 Merge branch 'format-linting' into 'main'
Format linting

See merge request PronounsPage/PronounsPage!401
2024-01-11 19:50:40 +00:00
PronounsPage
fa14ab79d9 (lint) automatically fix lints via yarn lint --fix 2024-01-11 20:36:05 +01:00
Valentyne Stigloher
4872d9b522 (ci) fail the build when fixable warnings are encountered 2024-01-11 20:33:04 +01:00
Valentyne Stigloher
9543c86975 (vsc) automatically fix lints on save 2024-01-11 20:33:04 +01:00
Valentyne Stigloher
8e1a40d74f (lint) add .js extension on imports in .vue 2024-01-11 20:33:04 +01:00
Valentyne Stigloher
8b6320fff3 (lint) manually apply fixes
locale/ar/translation.suml: remove duplicated user.accountSwitch (same string value)
locale/de/config.suml: explicitely made sources.mergePronouns an empty mapping
locale/et/config.suml: explicitely set pronouns.emoji to false and remove empty pronouns.mirror
locale/ja/config.suml: add missing comma in profile.defaultWords (suml parser is fine without it)
locale/ko/translations.suml: integrate duplicated profile.verifiedLinks
locale/pt/translations.suml: remove duplicated profile.sensitive and superfluos footer.stats.stats
locale/tok/translations.suml: remove duplicated profile.linkRecommended, profile.column, profile.editor
2024-01-11 20:33:04 +01:00
Valentyne Stigloher
a6465f5fce (lint) add lints for .suml and .yml files
as .suml is a subset of .yaml, the linter may be too lenient on the syntax,
but its rules should be applicable
2024-01-11 20:33:04 +01:00
Valentyne Stigloher
2a8287fc0c (lint) mirror stylistic lints for .json files, using eslint-plugin-jsonc
there exists a jsonc/auto rule, but this apparently does not take @stylistic rules into account,
so they had to be manually mirrored
2024-01-11 20:33:04 +01:00
Valentyne Stigloher
5f4cab576a (lint) tweak vue rules to dominant style 2024-01-11 20:33:04 +01:00
Valentyne Stigloher
999dce46ff (lint) mirror stylistic lints in eslint-plugin-vue
different rules are used inside <template>
and to my knowledge no easy configuration exists to automatically mirror them
2024-01-11 20:33:04 +01:00
Valentyne Stigloher
c87db9b7ca (lint) add stylistic rules for consistent javascript code style 2024-01-11 20:33:04 +01:00
Andrea Vos
571815e955 Merge remote-tracking branch 'origin/main' 2024-01-11 20:31:33 +01:00
Andrea Vos
27ea75daf9 (ar)(trans) 2024-01-11 20:31:22 +01:00
Andrea Vos
1c84c6fe61 Merge branch 'pronunciation-fix' into 'main'
Pronunciation fix

See merge request PronounsPage/PronounsPage!406
2024-01-11 19:29:13 +00:00
Andrea Vos
ad7905e485 (en)(links) add genderlessvoice.com 2024-01-11 20:06:28 +01:00
Andrea Vos
348a20a179 (ar)(trans) 2024-01-11 19:51:21 +01:00
Andrea Vos
922966f18d (profile) another potential fix for name pronunciation 2024-01-11 19:39:21 +01:00
Andrea Vos
2d5fb669ad (profile) potential fix for name pronunciation 2024-01-11 19:19:16 +01:00
Andrea Vos
8f6c799608 (profile) temporarily disable name pronunciation 2024-01-11 18:52:07 +01:00
Valentyne Stigloher
44d28fc78b Merge branch '334-name-pronunciation' into 'main'
Name pronunciation

See merge request PronounsPage/PronounsPage!387
2024-01-11 15:22:39 +00:00
Valentyne Stigloher
fd58ab3fe3 (profile) style pronunciation
remove bold text weight from pronunciation text
prevent wrapping when name and pronunciation would cause the pronunciation speaker to be on a new line
2024-01-11 16:15:04 +01:00
Valentyne Stigloher
0435f28e21 (profile) allow optional pronunciation for names
keep in mind that newly added properties won’t be reactive,
so both on profile parsing and on creating a new row from the prototype
the new pronunciation property must be included
2024-01-11 16:15:04 +01:00
Valentyne Stigloher
60b788bf3c (pronouns) display pronunciation speaker on morphemes in grammar table 2024-01-11 16:15:04 +01:00
Valentyne Stigloher
eb916934f5 (refactor) factor out PronunciationSpeaker component 2024-01-11 16:15:04 +01:00
Valentyne Stigloher
f82344eb0c (refactor) decouble pronunciation API from pronouns to allow more flexible use 2024-01-11 16:15:04 +01:00
Valentyne Stigloher
fa5bb609ec (refactor) use build.transpile inside of nuxt.config.js for esm-only dependencies
https://v2.nuxt.com/docs/configuration-glossary/configuration-build#transpile
2024-01-11 16:15:04 +01:00
Andrea Vos
92e051efb7 Merge branch 'german-pronoun-groups' into 'main'
(de) Pronoun Groups

See merge request PronounsPage/PronounsPage!396
2024-01-11 12:37:31 +00:00
Valentyne Stigloher
e55296f37c (de) add new combinations with neutrum and other forms 2024-01-11 00:28:35 +01:00
Valentyne Stigloher
125aef931f (profile) use short names in profile like in the pronouns list 2024-01-11 00:28:35 +01:00
Valentyne Stigloher
eb2c455de2 (profile) strictly validate any pronoun groups 2024-01-11 00:24:06 +01:00
Valentyne Stigloher
27cbf91e04 (de) add custom translations for some any pronoun groups 2024-01-11 00:24:05 +01:00
Valentyne Stigloher
c7735a522c (test) add tests for merging pronoun groups by key 2024-01-11 00:21:21 +01:00
Valentyne Stigloher
541013a558 (de) add keys to pronoun groups to enable any pronouns for a group 2024-01-11 00:21:21 +01:00
Andrea Vos
8725637b38 Merge branch 'misc' into 'main'
Improvements

See merge request PronounsPage/PronounsPage!405
2024-01-10 21:26:45 +00:00
Theodore Dubois
4de49a1824 Add unapprove button for translations
Meant for misclicks, especially since there's no confirmation on accept.
2024-01-10 13:22:27 -08:00
Theodore Dubois
8f8ce79de3 Always mark new translations as awaiting approval
It's useful to have approval as a separate step in the workflow even
when the translator is also able to do the approval.
2024-01-10 13:22:27 -08:00
Theodore Dubois
b4f47ca60b Disable mail sending for development 2024-01-10 13:22:27 -08:00
Andrea Vos
f51561a0c1 (ko)(trans) merge with the gdocs file 2024-01-10 21:35:36 +01:00
Andrea Vos
e0f68b595c (ko)(trans) 2024-01-10 21:24:39 +01:00
Andrea Vos
ea4fb418d5 Merge remote-tracking branch 'origin/main' 2024-01-10 20:39:45 +01:00
Andrea Vos
5fd0248a83 (tok)(trans) 2024-01-10 20:39:40 +01:00
Theodore Dubois
3eb7091e15 Fix translation buttons inside file upload buttons
The invisible input element covering the button also covered the
translation text. I found a post on stackoverflow that suggested hiding
the input element entirely and instead attaching a label to it and
styling that. This seems to still work for uploads and can be translated
now.

https://stackoverflow.com/questions/572768/styling-an-input-type-file-button
2024-01-09 17:12:33 -08:00
Theodore Dubois
b1b790979d (tok) trans 2024-01-09 16:34:02 -08:00