David Baker
1aa9860743
Fix the state shown for call in rooms ( #10833 )
...
* Fix the state shown for call in rooms
We split out a separate state for 'missed' separate to 'ended' which
caused confusion as the state got set to this when it shouldn't have,
so calls that wouldn't have been shown as missed were.
Remove the csutom call state and just have the missed state as a
variant of the ended state. Re-order the if clauses so they hit the
right ones. Also don't pass the callState variable into renderContent()
which is a class method and so has access to the same info anyway.
* Fix test
* i18n (reorder only)
* Fix test
* Fix types
* Add test for legacy call event tile
2023-05-15 08:37:40 +00:00
Michael Telatynski
f3534b42df
Add string for membership event where both displayname & avatar change ( #10880 )
...
* Add string for membership event where both displayname & avatar change
* i18n and tests
2023-05-12 11:54:24 +00:00
Michael Telatynski
e6421fded5
Use brand variable consistently ( #10867 )
2023-05-12 10:25:20 +00:00
Michael Telatynski
684141d310
Add tooltip to disabled invite button due to lack of permissions ( #10869 )
2023-05-12 10:25:16 +00:00
Michael Telatynski
82e32035fd
Conform more of the codebase to strictNullChecks
( #10842 )
2023-05-11 09:56:56 +01:00
Michael Telatynski
456c66db5b
Conform more of the codebase to strictNullChecks ( #10800 )
2023-05-10 08:41:55 +01:00
Michael Telatynski
02de2f5ba9
Add better error for email invites without identity server ( #10739 )
2023-05-05 12:04:13 +01:00
Michael Telatynski
4dd214506b
Move reaction message previews out of labs ( #10601 )
...
* Update reaction message previews to match designs
* Delabs reaction message previews
* tsc strict
* Iterate
* Add test
* Iterate
2023-05-05 07:45:14 +00:00
Michael Telatynski
0a22ed90ef
Consolidate login errors ( #10722 )
2023-04-27 09:05:31 +01:00
Richard van der Hoff
d7bb8043ea
Replace uses of checkDeviceTrust
with getDeviceVerificationStatus
( #10663 )
...
matrix-org/matrix-js-sdk#3287 and matrix-org/matrix-js-sdk#3303 added a new API called getDeviceVerificationStatus. Let's use it.
2023-04-24 14:19:46 +01:00
Eric Eastwood
16ab5e9db0
Properly translate errors in ChangePassword.tsx
so they show up translated to the user but not in our logs ( #10615 )
...
* Properly translate errors in `ChangePassword.tsx`
So they show up translated to the user but not in our logs.
Part of https://github.com/vector-im/element-web/issues/9597 and also fixes it
since it's the last piece mentioned (there could be other cases we log translated strings)
Fix https://github.com/vector-im/element-web/issues/9597
* Make more useful
* Update i18n strings
* No need to checkPassword since field validation already covers this
See https://github.com/matrix-org/matrix-react-sdk/pull/10615#discussion_r1167363765
Both of the error cases are covered by the logic in `verifyFieldsBeforeSubmit()` just above
and there is no way `checkPassword` would ever throw one of these errors since they are
already valid by the time it reaches here.
* Update i18n strings
* Revert "No need to checkPassword since field validation already covers this"
This reverts commit 7786dd151028e6fbf04d1a38a9c2cd47a3fbfc4b.
* Update i18n strings
* Add todo context to note that we can remove this logic in the future
* Ensure is an error
* Remove else
See https://github.com/matrix-org/matrix-react-sdk/pull/10615#discussion_r1173477053
2023-04-24 09:41:09 +01:00
Michael Telatynski
782060a26e
ARIA Accessibility improvements ( #10674 )
...
* Add missing aria-expanded attributes
* Improve autoComplete for phone numbers & email addresses
* Fix room summary card heading order
* Fix missing label on timeline search field
* Use appropriate semantic elements for dropdown listbox
* Use semantic list elements in keyboard settings tab
* Use semantic list elements in spotlight
* Fix types and i18n
* Improve types
* Update tests
* Add snapshot test
2023-04-20 17:13:30 +00:00
Michael Telatynski
483b53c148
Translate credits in help about section ( #10676 )
2023-04-20 12:18:13 +00:00
Element Translate Bot
ac2855789f
Translations update from Weblate ( #10636 )
...
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/
* Translated using Weblate (German)
Currently translated at 99.9% (3765 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
* Translated using Weblate (Albanian)
Currently translated at 99.6% (3751 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
* Translated using Weblate (Indonesian)
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/id/
* Translated using Weblate (Czech)
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
* Translated using Weblate (Estonian)
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
* Translated using Weblate (French)
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
* Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/
* Translated using Weblate (German)
Currently translated at 100.0% (3762 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
* Translated using Weblate (Hungarian)
Currently translated at 100.0% (3762 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/
* Translated using Weblate (Czech)
Currently translated at 100.0% (3762 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (3762 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3762 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
* Translated using Weblate (French)
Currently translated at 100.0% (3762 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
* Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3762 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
* Translated using Weblate (Albanian)
Currently translated at 99.6% (3748 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
* Translated using Weblate (Estonian)
Currently translated at 100.0% (3762 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 99.9% (3761 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 99.9% (3761 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 99.9% (3761 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 99.9% (3761 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3762 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
* Translated using Weblate (Italian)
Currently translated at 100.0% (3762 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
* Translated using Weblate (Indonesian)
Currently translated at 100.0% (3762 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/id/
* Translated using Weblate (Hebrew)
Currently translated at 72.0% (2709 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/he/
* Translated using Weblate (Hungarian)
Currently translated at 100.0% (3762 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3762 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
* Translated using Weblate (Swedish)
Currently translated at 98.4% (3704 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
* Translated using Weblate (Hebrew)
Currently translated at 72.0% (2712 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/he/
* Translated using Weblate (Swedish)
Currently translated at 98.6% (3712 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
* Translated using Weblate (Swedish)
Currently translated at 98.8% (3720 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
* Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3763 of 3763 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
* Translated using Weblate (Czech)
Currently translated at 100.0% (3763 of 3763 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
* Translated using Weblate (German)
Currently translated at 99.9% (3763 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
* Translated using Weblate (German)
Currently translated at 100.0% (3765 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
* Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3765 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (3765 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
* Translated using Weblate (Albanian)
Currently translated at 99.6% (3750 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3765 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
* Translated using Weblate (French)
Currently translated at 100.0% (3765 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
* Translated using Weblate (Indonesian)
Currently translated at 100.0% (3765 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/id/
* Translated using Weblate (Hungarian)
Currently translated at 99.9% (3763 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
* Translated using Weblate (Italian)
Currently translated at 100.0% (3765 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
* Translated using Weblate (Czech)
Currently translated at 100.0% (3765 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
* Translated using Weblate (Norwegian Nynorsk)
Currently translated at 27.4% (1032 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nn/
* Translated using Weblate (Estonian)
Currently translated at 100.0% (3765 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
* Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/
* Translated using Weblate (Italian)
Currently translated at 100.0% (3765 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
* Translated using Weblate (German)
Currently translated at 100.0% (3765 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
* Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3765 of 3765 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
* Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3768 of 3768 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
* Translated using Weblate (Italian)
Currently translated at 99.9% (3767 of 3768 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
* Translated using Weblate (German)
Currently translated at 100.0% (3768 of 3768 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
* Translated using Weblate (French)
Currently translated at 100.0% (3768 of 3768 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
* Translated using Weblate (Hungarian)
Currently translated at 100.0% (3768 of 3768 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
* Translated using Weblate (Italian)
Currently translated at 100.0% (3768 of 3768 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
* Translated using Weblate (Indonesian)
Currently translated at 100.0% (3768 of 3768 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/id/
* Translated using Weblate (Czech)
Currently translated at 100.0% (3768 of 3768 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (3768 of 3768 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
* Translated using Weblate (Estonian)
Currently translated at 100.0% (3768 of 3768 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3768 of 3768 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3769 of 3769 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
* Translated using Weblate (Czech)
Currently translated at 100.0% (3769 of 3769 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
* Translated using Weblate (German)
Currently translated at 100.0% (3769 of 3769 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (3769 of 3769 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
* Translated using Weblate (Estonian)
Currently translated at 100.0% (3769 of 3769 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
* Translated using Weblate (Italian)
Currently translated at 100.0% (3769 of 3769 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
* Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3769 of 3769 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
* Translated using Weblate (Estonian)
Currently translated at 100.0% (3771 of 3771 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3771 of 3771 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
* Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3771 of 3771 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (3771 of 3771 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
* Translated using Weblate (French)
Currently translated at 100.0% (3771 of 3771 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
---------
Co-authored-by: Weblate <translate@riot.im>
Co-authored-by: Vri <element@vrifox.cc>
Co-authored-by: Jozef Gaal <preklady@mayday.sk>
Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Co-authored-by: Peter Chen <petercpg@gmail.com>
Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: waclaw66 <waclaw66@seznam.cz>
Co-authored-by: Priit Jõerüüt <riot@joeruut.com>
Co-authored-by: Glandos <bugs-github@antipoul.fr>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Szimszon <github@oregpreshaz.eu>
Co-authored-by: Jeff Huang <s8321414@gmail.com>
Co-authored-by: random <dictionary@tutamail.com>
Co-authored-by: SPiRiT <such.a.lost.spirit@gmail.com>
Co-authored-by: Balázs Meskó <meskobalazs@gmail.com>
Co-authored-by: LinAGKar <linus.kardell@gmail.com>
Co-authored-by: Bjørn I.Svindseth <bjorni.svindseth@yahoo.com>
2023-04-18 10:06:45 +00:00
Michael Telatynski
1a0e5c1805
Fix multiple accessibility defects identified by AXE ( #10606 )
...
* Mark effects overlay canvas as aria hidden
* Ensure date separators aren't seen as focusable aria separators
* Fix
* Fix font slider not having aria label
* Add missing aria labels
* Fix settings flags setting aria-checked={null}
* Update snapshots
2023-04-17 16:09:45 +00:00
Rashmit Pankhania
7751f9c622
#21451 Fix WebGL disabled error message ( #10589 )
...
* #21451 Fix WebGl disabled error message
* #21451 Fix WebGl disabled error message
Signed-off-by: Rashmit Pankhania <rashmitpankhania@gmail.com>
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
* Fix message
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
* Fix ordering of cases in LocationShareErrors.ts
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
* Fix linting LocationPicker.tsx
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
* Fix eslint
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
* Fix file encoding for i18n CI issue
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
* Fix ts strict CI issue
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
---------
Signed-off-by: Rashmit Pankhania <rashmitpankhania@gmail.com>
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
Co-authored-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
Co-authored-by: Kerry <kerrya@element.io>
2023-04-17 04:25:04 +00:00
Eric Eastwood
c1e7905ddc
Properly translate errors in AddThreepid.ts
( #10432 )
...
* Properly translate errors in AddThreepid.ts
Part of https://github.com/vector-im/element-web/issues/9597
* Use translated message
* Avoid returning undefined ever
* More usage
* Introduce UserFriendlyError
* Use UserFriendlyError
* Add more usage instead of normal error
* Use types and translatedMessage
* Fix lints
* Update i18n although it's wrong
* Use unknown for easier creation from try/catch
* Use types
* Use error types
* Use types
* Update i18n strings
* Remove generic re-label of HTTPError
See https://github.com/matrix-org/matrix-react-sdk/pull/10432#discussion_r1156468143
The HTTPError already has a good label and it isn't even translated if we re-label it here in this way generically
Probably best to just remove in favor of thinking about a translations in general from the `matrix-js-sdk`, see https://github.com/matrix-org/matrix-js-sdk/issues/1309
* Make error message extraction generic
* Update i18n strings
* Add tests for email addresses
* More consistent error logging to actually see error in logs
* Consistent error handling
* Any is okay because we have a fallback
* Check error type
* Use dedicated mockResolvedValue function
See https://github.com/matrix-org/matrix-react-sdk/pull/10432#discussion_r1163344034
2023-04-14 15:40:19 +01:00
Michael Telatynski
1ae0662872
Update setting description to match reality ( #10600 )
2023-04-14 08:58:08 +00:00
Andy Balaam
c496985ff3
Show a tile for an unloaded predecessor room if it has via_servers ( #10483 )
...
* Improve typing in constructor of RoomPermalinkCreator
* Provide via servers if present when navigating to predecessor room from Advanced Room Settings
* Show an error tile when the predecessor room is not found
* Test for MatrixToPermalinkConstructor.forRoom
* Test for MatrixToPermalinkConstructor.forEvent
* Display a tile for predecessor event if it contains via servers
* Fix missing case where event id is provided as well as via servers
* Refactor RoomPredecessor tests
* Return lost filterConsole to its home
* Comments for IState in AdvancedRoomSettingsTab
* Explain why we might render a tile even without prevRoom
* Guess the old room's via servers if they are not provided
* Fix TypeScript errors
* Adjust regular expression (hopefully) to avoid potential catastrophic backtracking
* Another attempt at avoiding super-liner regex performance
* Tests for guessServerNameFromRoomId and better implementation
* Further attempt to prevent backtracking
---------
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-12 15:26:45 +00:00
Michael Telatynski
e5b1b7b632
Make composer format bar an aria toolbar ( #10583 )
...
* Make composer format bar an aria toolbar
* Iterate
* Iterate
* Update snapshot
2023-04-12 13:58:38 +00:00
Michael Telatynski
09eefe14ea
Remove feedback buttons from onboarding, search, and spaces ( #10506 )
2023-04-05 12:17:25 +01:00
Michael Weimann
df89d2ce28
Check profiles before starting a DM ( #10472 )
2023-04-05 13:13:51 +02:00
Janne Mareike Koschinski
52eec283b3
Quick settings: Change the copy / labels on the options ( #10427 )
...
* Quick settings: Change the copy / labels on the options
* Update i18n
2023-04-04 21:00:57 +02:00
Peter Chen
2b3eb9e132
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2023-04-04 07:46:41 +00:00
LinAGKar
6a0ec8cebd
Translated using Weblate (Swedish)
...
Currently translated at 98.5% (3710 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2023-04-04 07:46:38 +00:00
Glandos
d342b47af2
Translated using Weblate (French)
...
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2023-04-02 12:33:53 +00:00
Priit Jõerüüt
4133d56c4a
Translated using Weblate (Estonian)
...
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2023-03-31 13:15:17 +00:00
Jozef Gaal
a53f7dac3f
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
2023-03-31 13:15:15 +00:00
waclaw66
0b99450168
Translated using Weblate (Czech)
...
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2023-03-31 13:15:13 +00:00
random
d96b93a148
Translated using Weblate (Italian)
...
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2023-03-31 13:15:10 +00:00
Olivier D
39e789a04e
Translated using Weblate (French)
...
Currently translated at 99.8% (3762 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2023-03-31 13:15:08 +00:00
Vri
72cbb3bc4a
Translated using Weblate (German)
...
Currently translated at 100.0% (3766 of 3766 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2023-03-31 13:15:06 +00:00
Ihor Hordiichuk
b0bb865d1c
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (3763 of 3763 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2023-03-31 09:16:03 +00:00
Weblate
d93469f143
Merge branch 'origin/develop' into Weblate.
2023-03-31 09:08:55 +00:00
Priit Jõerüüt
48b93f545b
Translated using Weblate (Estonian)
...
Currently translated at 100.0% (3763 of 3763 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2023-03-31 09:08:54 +00:00
Michael Telatynski
404c412bcb
Handle IDB closed
event by showing modal with prompt to reload app ( #10395
...
* Handle IDB `closed` event by showing modal with prompt to reload app
* Iterate
* Skip the modal for guests, e.g. during registration
* Iterate
* Add tests
2023-03-31 10:08:45 +01:00
Weblate
15f94d7bfb
Merge branch 'origin/develop' into Weblate.
2023-03-31 08:20:27 +00:00
waclaw66
f033c0c62f
Translated using Weblate (Czech)
...
Currently translated at 100.0% (3763 of 3763 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2023-03-31 08:20:27 +00:00
Vri
5f7143b42f
Translated using Weblate (German)
...
Currently translated at 100.0% (3763 of 3763 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2023-03-31 08:20:25 +00:00
Michael Weimann
af151700c9
Strictify src/components/structures/Space*
( #10481 )
2023-03-31 10:20:15 +02:00
Weblate
b7326ebf21
Merge branch 'origin/develop' into Weblate.
2023-03-31 07:30:51 +00:00
Eric Eastwood
ff1468b6d3
Replace newTranslatableError
with UserFriendlyError
( #10440
...
* Introduce UserFriendlyError
* Replace newTranslatableError with UserFriendlyError
* Remove ITranslatableError
* Fix up some strict lints
* Document when we/why we can remove
* Update matrix-web-i18n
Includes changes to find `new UserFriendlyError`,
see https://github.com/matrix-org/matrix-web-i18n/pull/6
* Include room ID in error
* Translate fallback error
* Translate better
* Update i18n strings
* Better re-use
* Minor comment fixes
2023-03-31 08:30:43 +01:00
Balázs Meskó
edb80e57ed
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (3762 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2023-03-29 21:47:18 +00:00
random
409c161323
Translated using Weblate (Italian)
...
Currently translated at 100.0% (3762 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2023-03-29 14:00:58 +00:00
Glandos
23e3219402
Translated using Weblate (French)
...
Currently translated at 100.0% (3762 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2023-03-29 11:53:09 +00:00
Priit Jõerüüt
3613a73e33
Translated using Weblate (Estonian)
...
Currently translated at 100.0% (3762 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2023-03-29 07:22:44 +00:00
Jozef Gaal
615c3a6190
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (3762 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
2023-03-29 06:47:23 +00:00
waclaw66
bb8319adfa
Translated using Weblate (Czech)
...
Currently translated at 100.0% (3762 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2023-03-29 06:47:21 +00:00
Linerly
ab94089f44
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (3762 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/id/
2023-03-29 06:47:19 +00:00
Ihor Hordiichuk
b0554b90bd
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (3762 of 3762 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2023-03-29 06:47:18 +00:00