File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -373,7 +373,7 @@ async fn test_member_add_remove() -> Result<()> {
373
373
// Alice leaves the chat.
374
374
remove_contact_from_chat ( & alice, alice_chat_id, ContactId :: SELF ) . await ?;
375
375
let sent = alice. pop_sent_msg ( ) . await ;
376
- assert_eq ! ( sent. load_from_db( ) . await . get_text( ) , "You left the group ." ) ;
376
+ assert_eq ! ( sent. load_from_db( ) . await . get_text( ) , "You left." ) ;
377
377
378
378
Ok ( ( ) )
379
379
}
Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ pub enum StockMessage {
285
285
#[ strum( props( fallback = "Member %1$s removed by %2$s." ) ) ]
286
286
MsgDelMemberBy = 131 ,
287
287
288
- #[ strum( props( fallback = "You left the group ." ) ) ]
288
+ #[ strum( props( fallback = "You left." ) ) ]
289
289
MsgYouLeftGroup = 132 ,
290
290
291
291
#[ strum( props( fallback = "Group left by %1$s." ) ) ]
@@ -685,7 +685,7 @@ pub(crate) async fn msg_group_left_remote(context: &Context) -> String {
685
685
translated ( context, StockMessage :: MsgILeftGroup ) . await
686
686
}
687
687
688
- /// Stock string: `You left the group .` or `Group left by %1$s.`.
688
+ /// Stock string: `You left.` or `Group left by %1$s.`.
689
689
pub ( crate ) async fn msg_group_left_local ( context : & Context , by_contact : ContactId ) -> String {
690
690
if by_contact == ContactId :: SELF {
691
691
translated ( context, StockMessage :: MsgYouLeftGroup ) . await
You can’t perform that action at this time.
0 commit comments