[MM-13824] add one_you strings for better translatability in team/channel related messages. (#2604)
This commit is contained in:
parent
5794a0da4d
commit
0a2bbb73e7
1 changed files with 16 additions and 0 deletions
|
|
@ -25,6 +25,10 @@ const postTypeMessage = {
|
|||
id: t('combined_system_message.joined_channel.one'),
|
||||
defaultMessage: '{firstUser} **joined the channel**.',
|
||||
},
|
||||
one_you: {
|
||||
id: t('combined_system_message.joined_channel.one_you'),
|
||||
defaultMessage: 'You **joined the channel**.',
|
||||
},
|
||||
two: {
|
||||
id: t('combined_system_message.joined_channel.two'),
|
||||
defaultMessage: '{firstUser} and {secondUser} **joined the channel**.',
|
||||
|
|
@ -75,6 +79,10 @@ const postTypeMessage = {
|
|||
id: t('combined_system_message.left_channel.one'),
|
||||
defaultMessage: '{firstUser} **left the channel**.',
|
||||
},
|
||||
one_you: {
|
||||
id: t('combined_system_message.left_channel.one_you'),
|
||||
defaultMessage: 'You **left the channel**.',
|
||||
},
|
||||
two: {
|
||||
id: t('combined_system_message.left_channel.two'),
|
||||
defaultMessage: '{firstUser} and {secondUser} **left the channel**.',
|
||||
|
|
@ -89,6 +97,10 @@ const postTypeMessage = {
|
|||
id: t('combined_system_message.joined_team.one'),
|
||||
defaultMessage: '{firstUser} **joined the team**.',
|
||||
},
|
||||
one_you: {
|
||||
id: t('combined_system_message.joined_team.one_you'),
|
||||
defaultMessage: 'You **joined the team**.',
|
||||
},
|
||||
two: {
|
||||
id: t('combined_system_message.joined_team.two'),
|
||||
defaultMessage: '{firstUser} and {secondUser} **joined the team**.',
|
||||
|
|
@ -139,6 +151,10 @@ const postTypeMessage = {
|
|||
id: t('combined_system_message.left_team.one'),
|
||||
defaultMessage: '{firstUser} **left the team**.',
|
||||
},
|
||||
one_you: {
|
||||
id: t('combined_system_message.left_team.one_you'),
|
||||
defaultMessage: 'You **left the team**.',
|
||||
},
|
||||
two: {
|
||||
id: t('combined_system_message.left_team.two'),
|
||||
defaultMessage: '{firstUser} and {secondUser} **left the team**.',
|
||||
|
|
|
|||
Loading…
Reference in a new issue