Travis Ralston
fb262596b2
Provide more helpful errors when i18n generation fails
...
Also fix TextForEvent.js so it doesn't break the script. Using a variable here is not recognized, so the object has been moved inline instead.
2018-09-27 11:55:57 -06:00
Matthew Hodgson
1157320cba
s/canonical address/main address/g for consistency
2018-09-20 11:41:59 +01:00
Matthew Hodgson
c6fa8ea24c
show canonical aliases in timeline, and set/remove implicit ones
2018-09-20 01:07:01 +01:00
Matthew Hodgson
0e1a814d23
remove RoomAliasesEvent in favour of simpler textual event
2018-09-17 18:27:17 +01:00
Matthew Hodgson
dc7212ec2b
switch back to simple TextForEvent
...
I haven't found anyone who can justify to me why we need
more complicated plurals for i18n (even in Polish) for
%(senderName)s added %(addedAddresses)s and removed %(removedAddresses)s as addresses for this room.
2018-09-17 18:20:12 +01:00
Matthew Hodgson
3b868064c7
merge in develop
2018-09-16 19:06:52 +01:00
Will Hunt
6e1f62d16a
Fix stuff
2018-07-06 20:22:37 +01:00
Matthew Hodgson
4044185cdd
add space after commas
2018-07-06 19:17:01 +01:00
Will Hunt
83221da7d7
Delint
2018-07-06 16:54:28 +01:00
Will Hunt
9a4075c637
Semicolons
2018-07-06 16:38:04 +01:00
Will Hunt
52b1d946be
Remove unused console.log
2018-07-06 16:37:52 +01:00
Will Hunt
1db803ccfc
"/n" -> " "
2018-07-06 16:37:40 +01:00
Will Hunt
1ca164f1a9
Change all ban message and move further up
2018-07-06 16:36:44 +01:00
Will Hunt
12ce7839f3
Const things
2018-07-06 16:36:26 +01:00
Will Hunt
8b9fd7ddcb
Clean up rules.
2018-07-06 15:31:21 +01:00
Will Hunt
526459a9e0
Capitalise
2018-07-06 11:06:31 +01:00
Will Hunt
a6cff4a969
Show server bans in the timeline
2018-07-06 11:06:31 +01:00
Michael Telatynski
7225f7372c
Revert " make click to insert nick work on join/parts, /me's etc"
2018-07-03 10:30:08 +01:00
Michael Telatynski
1d91469104
switch to <ClickableUsername> and use <a>
over <span>
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2018-06-29 14:52:25 +01:00
Michael Telatynski
c91e6cb530
make click to insert nick work on join/parts, /me's etc
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2018-06-07 01:02:34 +01:00
David Baker
3b85920424
Use mxid as sender name on set display name
...
As it was, "<New name> set their display name to <New name>" which
is unhelpful because you never knew them as "<New name>" before.
They would previously have been displayed with their matrix ID, so
that's what should be here.
2018-04-20 14:28:20 +01:00
David Baker
8458023bbc
Fix display name change message
...
(i18n file fixes coming separately for ease of review)
Fixes https://github.com/vector-im/riot-web/issues/5171
2018-02-06 10:24:38 +00:00
Luke Barnard
dad797d4a2
Run linting --fix
2017-11-16 13:19:36 +00:00
Travis Ralston
c34b55c6c7
Merge branch 'develop' into travis/pinned_messages
2017-10-14 16:10:32 -06:00
Michael Telatynski
152499a17d
DRY map lookup
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-10-06 12:16:54 +01:00
Michael Telatynski
91ba939e23
tiny bit of de-lint for consistency
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-10-06 12:10:07 +01:00
Michael Telatynski
6a4e3792d4
split handlers into state and non-states
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-10-06 12:07:38 +01:00
Travis Ralston
3a58e1c066
Show pinned message changes in the timeline
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-09-29 08:56:21 -06:00
Michael Telatynski
796924ef35
Fix typo as found by Luke
2017-09-25 15:49:48 +01:00
Michael Telatynski
c8922ba7f5
This file was hurting my eyes. Delint and DRY
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-09-25 09:48:00 +01:00
Michael Telatynski
bc4bb6cc48
remove redundant new line
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-09-17 13:29:05 +01:00
Michael Telatynski
ce2cdf3fa1
sanitize the i18n for fn:textForHistoryVisibilityEvent
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-09-17 13:28:17 +01:00
Michael Telatynski
755f22a7fa
shelving.
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-09-14 17:39:18 +01:00
Michael Telatynski
8ab96ae2ff
render m.room.aliases events
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-09-14 13:43:46 +01:00
Michael Telatynski
6127727267
text4event widget modified, used to show widget added each time.
2017-08-28 08:19:39 +01:00
Richard Lewis
7395f96b77
Rearrange timeline update wording for better internationalisation. Fix widget name values.
2017-08-18 18:02:50 +01:00
Luke Barnard
7a277bff3a
Add a space between widget name and "widget" in widget event tiles
2017-08-18 15:45:02 +01:00
Luke Barnard
5e0a7212d9
Don't apply case logic to app names
...
As they should have the Correct Case in integrations land now
2017-08-18 14:57:28 +01:00
Luke Barnard
1bba1f0fa6
Add comment
2017-08-18 12:04:34 +01:00
Luke Barnard
6c37a9a3af
Simplify getting of content, prev content for widget event
2017-08-18 12:03:29 +01:00
Luke Barnard
20a0ec35af
Use short form to get event URL
2017-08-18 10:45:43 +01:00
Luke Barnard
acc54b97f1
Implement TextualEvent tiles for im.vector.modular.widgets
...
E.g. "Bob added a Acme widget", "Susan removed a Giraffe widget"
The name is calculated by taking the `name` in the event content, falling back on the `type`, falling back on the previous content `type`. This is then capitalised.
2017-08-18 10:35:33 +01:00
Will Hunt
cbcca78c40
Add text for invite_timeout and fix message for ice_failed.
2017-06-11 07:19:19 +01:00
Will Hunt
2bfad52b40
Make unknown failures more helpful.
2017-06-10 14:35:11 +01:00
Will Hunt
18490377f8
Show reason for a call hanging up unexpectedly.
2017-06-10 14:27:18 +01:00
turt2live
d9d25e26d2
Say "X removed the room name" instead of showing nothing
...
Addresses vector-im/riot-web#4072
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-05-29 23:21:14 -06:00
Matthew Hodgson
f442a665c8
fix more i18n punctuation fails
2017-05-27 17:36:02 +01:00
Matthew Hodgson
6d6b14a26c
fix spurious missing translation ('Default')
2017-05-27 15:52:24 +01:00
Matthew Hodgson
398ad4798e
fix string typo
2017-05-27 15:02:20 +01:00
Matthew Hodgson
355f4974af
standardise i18n TextForEvent to include punctuation.
...
fixes lots of missing & inconsistent strings, as somehow some of the i18n files had ended up with the raw strings being inconsistent in terms of punctuation, causing problems as per https://github.com/vector-im/riot-web/issues/4045
2017-05-27 15:02:20 +01:00