Don't use a confusing "royal you" in the sync messages
authorKevin Ottens <kevin.ottens@nextcloud.com>
Wed, 9 Sep 2020 15:43:22 +0000 (17:43 +0200)
committerKevin Ottens <ervin@ipsquad.net>
Thu, 10 Sep 2020 13:40:05 +0000 (15:40 +0200)
commit01986df8ca1e96d28301b4923a4acd04c5b1301c
tree5874c98509bfffde35ce0ca65105efaa4f326e2e
parent9ab256b4b43cc4461fc06c774d5e5e00f1bce11b
Don't use a confusing "royal you" in the sync messages

Users get rightfully confused with the "You changed ..." messages in the
activity list for syncs. Indeed, some of those changes might be coming
from the server in which case we don't really know who did the change.

So now we use the old "Synced ..." messages for changes pulled from the
server and we have a more precise "You changed ..." (renamed, deleted,
created) when the changes were initiated locally (since there we know
the user reading the message did it).

Also changed how the messages are constructed so that they can be
properly translated.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/gui/tray/UserModel.cpp