Updated localization items (#3726)
Updated the i18n and default messages for the network failure and entire channel message alert.
This commit is contained in:
parent
e9a2ab37a4
commit
b65fc8100d
6 changed files with 10 additions and 10 deletions
|
|
@ -25,7 +25,7 @@ export default class FailedNetworkAction extends PureComponent {
|
|||
actionId: t('mobile.failed_network_action.retry'),
|
||||
actionDefaultMessage: 'try again',
|
||||
errorId: t('mobile.failed_network_action.shortDescription'),
|
||||
errorDefaultMessage: 'Messages will load when you have an internet connection or {refresh}.',
|
||||
errorDefaultMessage: 'Messages will load when you have an internet connection or {tryAgainAction}.',
|
||||
};
|
||||
|
||||
render() {
|
||||
|
|
@ -54,7 +54,7 @@ export default class FailedNetworkAction extends PureComponent {
|
|||
defaultMessage={errorDefaultMessage}
|
||||
style={style.description}
|
||||
values={{
|
||||
refresh: (
|
||||
tryAgainAction: (
|
||||
<FormattedText
|
||||
id={actionId}
|
||||
defaultMessage={actionDefaultMessage}
|
||||
|
|
|
|||
|
|
@ -459,7 +459,7 @@ export default class PostTextBoxBase extends PureComponent {
|
|||
intl.formatMessage(
|
||||
{
|
||||
id: 'mobile.post_textbox.entire_channel.message.with_timezones',
|
||||
defaultMessage: 'By using @all or @channel you are about to send notifications to {totalMembers} people in {timezones, number} {timezones, plural, one {timezone} other {timezones}}. Are you sure you want to do this?',
|
||||
defaultMessage: 'By using @all or @channel you are about to send notifications to {totalMembers, number} {totalMembers, plural, one {person} other {people}} in {timezones, number} {timezones, plural, one {timezone} other {timezones}}. Are you sure you want to do this?',
|
||||
},
|
||||
{
|
||||
totalMembers: currentMembersCount - 1,
|
||||
|
|
@ -472,7 +472,7 @@ export default class PostTextBoxBase extends PureComponent {
|
|||
intl.formatMessage(
|
||||
{
|
||||
id: 'mobile.post_textbox.entire_channel.message',
|
||||
defaultMessage: 'By using @all or @channel you are about to send notifications to {totalMembers} people. Are you sure you want to do this?',
|
||||
defaultMessage: 'By using @all or @channel you are about to send notifications to {totalMembers, number} {totalMembers, plural, one {person} other {people}}. Are you sure you want to do this?',
|
||||
},
|
||||
{
|
||||
totalMembers: currentMembersCount - 1,
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ exports[`ErrorTeamsList should match snapshot 1`] = `
|
|||
<FailedNetworkAction
|
||||
actionDefaultMessage="try again"
|
||||
actionId="mobile.failed_network_action.retry"
|
||||
errorDefaultMessage="Messages will load when you have an internet connection or {refresh}."
|
||||
errorDefaultMessage="Messages will load when you have an internet connection or {tryAgainAction}."
|
||||
errorId="mobile.failed_network_action.shortDescription"
|
||||
onRetry={[Function]}
|
||||
theme={
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ exports[`SelectTeam should match snapshot for fail of teams 1`] = `
|
|||
<FailedNetworkAction
|
||||
actionDefaultMessage="try again"
|
||||
actionId="mobile.failed_network_action.retry"
|
||||
errorDefaultMessage="Messages will load when you have an internet connection or {refresh}."
|
||||
errorDefaultMessage="Messages will load when you have an internet connection or {tryAgainAction}."
|
||||
errorId="mobile.failed_network_action.shortDescription"
|
||||
onRetry={[Function]}
|
||||
theme={
|
||||
|
|
|
|||
|
|
@ -291,7 +291,7 @@ exports[`TermsOfService should match snapshot for fail of get terms 1`] = `
|
|||
<FailedNetworkAction
|
||||
actionDefaultMessage="try again"
|
||||
actionId="mobile.failed_network_action.retry"
|
||||
errorDefaultMessage="Messages will load when you have an internet connection or {refresh}."
|
||||
errorDefaultMessage="Messages will load when you have an internet connection or {tryAgainAction}."
|
||||
errorId="mobile.failed_network_action.shortDescription"
|
||||
onRetry={[Function]}
|
||||
theme={
|
||||
|
|
|
|||
|
|
@ -254,7 +254,7 @@
|
|||
"mobile.extension.permission": "Mattermost needs access to the device storage to share files.",
|
||||
"mobile.extension.title": "Share in Mattermost",
|
||||
"mobile.failed_network_action.retry": "try again",
|
||||
"mobile.failed_network_action.shortDescription": "Messages will load when you have an internet connection or {refresh}.",
|
||||
"mobile.failed_network_action.shortDescription": "Messages will load when you have an internet connection or {tryAgainAction}.",
|
||||
"mobile.failed_network_action.title": "No internet connection",
|
||||
"mobile.file_upload.browse": "Browse Files",
|
||||
"mobile.file_upload.camera_photo": "Take Photo",
|
||||
|
|
@ -370,8 +370,8 @@
|
|||
"mobile.post_pre_header.pinned_flagged": "Pinned and Flagged",
|
||||
"mobile.post_textbox.entire_channel.cancel": "Cancel",
|
||||
"mobile.post_textbox.entire_channel.confirm": "Confirm",
|
||||
"mobile.post_textbox.entire_channel.message": "By using @all or @channel you are about to send notifications to {totalMembers} people. Are you sure you want to do this?",
|
||||
"mobile.post_textbox.entire_channel.message.with_timezones": "By using @all or @channel you are about to send notifications to {totalMembers} people in {timezones, number} {timezones, plural, one {timezone} other {timezones}}. Are you sure you want to do this?",
|
||||
"mobile.post_textbox.entire_channel.message": "By using @all or @channel you are about to send notifications to {totalMembers, number} {totalMembers, plural, one {person} other {people}}. Are you sure you want to do this?",
|
||||
"mobile.post_textbox.entire_channel.message.with_timezones": "By using @all or @channel you are about to send notifications to {totalMembers, number} {totalMembers, plural, one {person} other {people}} in {timezones, number} {timezones, plural, one {timezone} other {timezones}}. Are you sure you want to do this?",
|
||||
"mobile.post_textbox.entire_channel.title": "Confirm sending notifications to entire channel",
|
||||
"mobile.post_textbox.uploadFailedDesc": "Some attachments failed to upload to the server. Are you sure you want to post the message?",
|
||||
"mobile.post_textbox.uploadFailedTitle": "Attachment failure",
|
||||
|
|
|
|||
Loading…
Reference in a new issue