Skip to content

Commit be6e33b

Browse files
chrisbobbecybernova2
authored andcommitted
recent_dm_conversations: show '(you)' for self-DMs at 50% opacity
1 parent 97776b2 commit be6e33b

22 files changed

+159
-39
lines changed

assets/l10n/app_en.arb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,10 @@
665665
"@unknownUserName": {
666666
"description": "Name placeholder to use for a user when we don't know their name."
667667
},
668+
"youLabel": "(you)",
669+
"@youLabel": {
670+
"description": "Label shown after the current user's display name in direct messages."
671+
},
668672
"dmsWithYourselfPageTitle": "DMs with yourself",
669673
"@dmsWithYourselfPageTitle": {
670674
"description": "Message list page title for a DM group that only includes yourself."

lib/generated/l10n/zulip_localizations.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,6 +1041,12 @@ abstract class ZulipLocalizations {
10411041
/// **'(unknown user)'**
10421042
String get unknownUserName;
10431043

1044+
/// Label shown after the current user's display name in direct messages.
1045+
///
1046+
/// In en, this message translates to:
1047+
/// **'(you)'**
1048+
String get youLabel;
1049+
10441050
/// Message list page title for a DM group that only includes yourself.
10451051
///
10461052
/// In en, this message translates to:

lib/generated/l10n/zulip_localizations_ar.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,9 @@ class ZulipLocalizationsAr extends ZulipLocalizations {
552552
@override
553553
String get unknownUserName => '(unknown user)';
554554

555+
@override
556+
String get youLabel => '(you)';
557+
555558
@override
556559
String get dmsWithYourselfPageTitle => 'DMs with yourself';
557560

lib/generated/l10n/zulip_localizations_de.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,9 @@ class ZulipLocalizationsDe extends ZulipLocalizations {
571571
@override
572572
String get unknownUserName => '(Nutzer:in unbekannt)';
573573

574+
@override
575+
String get youLabel => '(you)';
576+
574577
@override
575578
String get dmsWithYourselfPageTitle => 'DNs mit dir selbst';
576579

lib/generated/l10n/zulip_localizations_el.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,9 @@ class ZulipLocalizationsEl extends ZulipLocalizations {
552552
@override
553553
String get unknownUserName => '(unknown user)';
554554

555+
@override
556+
String get youLabel => '(you)';
557+
555558
@override
556559
String get dmsWithYourselfPageTitle => 'DMs with yourself';
557560

lib/generated/l10n/zulip_localizations_en.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,9 @@ class ZulipLocalizationsEn extends ZulipLocalizations {
552552
@override
553553
String get unknownUserName => '(unknown user)';
554554

555+
@override
556+
String get youLabel => '(you)';
557+
555558
@override
556559
String get dmsWithYourselfPageTitle => 'DMs with yourself';
557560

lib/generated/l10n/zulip_localizations_es.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,9 @@ class ZulipLocalizationsEs extends ZulipLocalizations {
552552
@override
553553
String get unknownUserName => '(unknown user)';
554554

555+
@override
556+
String get youLabel => '(you)';
557+
555558
@override
556559
String get dmsWithYourselfPageTitle => 'DMs with yourself';
557560

lib/generated/l10n/zulip_localizations_fr.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,9 @@ class ZulipLocalizationsFr extends ZulipLocalizations {
568568
@override
569569
String get unknownUserName => '(unknown user)';
570570

571+
@override
572+
String get youLabel => '(you)';
573+
571574
@override
572575
String get dmsWithYourselfPageTitle => 'DMs with yourself';
573576

lib/generated/l10n/zulip_localizations_he.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,9 @@ class ZulipLocalizationsHe extends ZulipLocalizations {
552552
@override
553553
String get unknownUserName => '(unknown user)';
554554

555+
@override
556+
String get youLabel => '(you)';
557+
555558
@override
556559
String get dmsWithYourselfPageTitle => 'DMs with yourself';
557560

lib/generated/l10n/zulip_localizations_hu.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,9 @@ class ZulipLocalizationsHu extends ZulipLocalizations {
552552
@override
553553
String get unknownUserName => '(unknown user)';
554554

555+
@override
556+
String get youLabel => '(you)';
557+
555558
@override
556559
String get dmsWithYourselfPageTitle => 'DMs with yourself';
557560

0 commit comments

Comments
 (0)