Review fixes
This commit is contained in:
parent
77a1f79790
commit
0164c1b1f1
3 changed files with 18 additions and 22 deletions
|
|
@ -7,7 +7,6 @@ import {useIntl} from 'react-intl';
|
|||
import FloatingTextInput from '@components/floating_text_input_label';
|
||||
import {Channel} from '@constants';
|
||||
import {useTheme} from '@context/theme';
|
||||
import {t} from '@i18n';
|
||||
import {getKeyboardAppearanceFromTheme} from '@utils/theme';
|
||||
|
||||
type Props = {
|
||||
|
|
@ -19,8 +18,8 @@ export const ChannelNameInput = ({error, onChange}: Props) => {
|
|||
const {formatMessage} = useIntl();
|
||||
const theme = useTheme();
|
||||
|
||||
const labelDisplayName = formatMessage({id: t('channel_modal.name'), defaultMessage: 'Name'});
|
||||
const placeholder = formatMessage({id: t('"channel_modal.name": "Name",'), defaultMessage: 'Channel Name'});
|
||||
const labelDisplayName = formatMessage({id: 'channel_modal.name', defaultMessage: 'Name'});
|
||||
const placeholder = formatMessage({id: 'channel_modal.name', defaultMessage: 'Channel Name'});
|
||||
|
||||
return (
|
||||
<FloatingTextInput
|
||||
|
|
|
|||
|
|
@ -14,10 +14,6 @@ import {useServerUrl} from '@context/server';
|
|||
|
||||
import ConvertGMToChannelForm from './convert_gm_to_channel_form';
|
||||
|
||||
// import {Loader} from './loader';
|
||||
|
||||
import type UserProfile from '../user_profile/user_profile';
|
||||
|
||||
type Props = {
|
||||
channelId: string;
|
||||
currentUserId?: string;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"\"channel_modal.name\": \"Name\",": "",
|
||||
"about.date": "Build Date:",
|
||||
"about.enterpriseEditione1": "Enterprise Edition",
|
||||
"about.enterpriseEditionLearn": "Learn more about Enterprise Edition at ",
|
||||
|
|
@ -119,6 +120,17 @@
|
|||
"channel_info.close_gm": "Close group message",
|
||||
"channel_info.close_gm_channel": "Are you sure you want to close this group message? This will remove it from your home screen, but you can always open it again.",
|
||||
"channel_info.convert_failed": "We were unable to convert {displayName} to a private channel.",
|
||||
"channel_info.convert_gm_to_channel": "Convert to a Private Channel",
|
||||
"channel_info.convert_gm_to_channel.button_text": "Convert to Private Channel",
|
||||
"channel_info.convert_gm_to_channel.conversion_error": "Something went wrong. Failed to convert Group Message to Private Channel.",
|
||||
"channel_info.convert_gm_to_channel.loading.footer": "Fetching details...",
|
||||
"channel_info.convert_gm_to_channel.screen_title": "Convert to Private Channel",
|
||||
"channel_info.convert_gm_to_channel.team_selector_list.title": "Select Team",
|
||||
"channel_info.convert_gm_to_channel.warning.body.yourself": "yourself",
|
||||
"channel_info.convert_gm_to_channel.warning.bodyXXXX": "You are about to convert the Group Message with {memberNames} to a Channel. This cannot be undone.",
|
||||
"channel_info.convert_gm_to_channel.warning.header": "Conversation history will be visible to any channel members",
|
||||
"channel_info.convert_gm_to_channel.warning.no_teams.body": "Group Message cannot be converted to a channel because members are not a part of the same team. Add all members to a single team to convert this group message to a channel.",
|
||||
"channel_info.convert_gm_to_channel.warning.no_teams.header": "Unable to convert to a channel because group members are part of different teams",
|
||||
"channel_info.convert_private": "Convert to private channel",
|
||||
"channel_info.convert_private_description": "When you convert {displayName} to a private channel, history and membership are preserved. Publicly shared files remain accessible to anyone with the link. Membership in a private channel is by invitation only.\n\nThe change is permanent and cannot be undone.\n\nAre you sure you want to convert {displayName} to a private channel?",
|
||||
"channel_info.convert_private_success": "{displayName} is now a private channel.",
|
||||
|
|
@ -158,6 +170,8 @@
|
|||
"channel_info.unarchive_description": "Are you sure you want to unarchive the {term} {name}?",
|
||||
"channel_info.unarchive_failed": "An error occurred trying to unarchive the channel {displayName}",
|
||||
"channel_info.unarchive_title": "Unarchive {term}",
|
||||
"channel_into.convert_gm_to_channel.team_selector.label": "Team",
|
||||
"channel_into.convert_gm_to_channel.team_selector.placeholder": "Select a Team",
|
||||
"channel_intro.createdBy": "Created by {user} on {date}",
|
||||
"channel_intro.createdOn": "Created on {date}",
|
||||
"channel_list.channels_category": "Channels",
|
||||
|
|
@ -320,6 +334,7 @@
|
|||
"general_settings.help": "Help",
|
||||
"general_settings.notifications": "Notifications",
|
||||
"general_settings.report_problem": "Report a problem",
|
||||
"generic.back": "Back",
|
||||
"get_post_link_modal.title": "Copy Link",
|
||||
"global_threads.allThreads": "All Your Threads",
|
||||
"global_threads.emptyThreads.message": "Any threads you are mentioned in or have participated in will show here along with any threads you have followed.",
|
||||
|
|
@ -1088,19 +1103,5 @@
|
|||
"video.download": "Download video",
|
||||
"video.download_description": "This video must be downloaded to play it.",
|
||||
"video.failed_description": "An error occurred while trying to play the video.",
|
||||
"your.servers": "Your servers",
|
||||
"channel_info.convert_gm_to_channel": "Convert to a Private Channel",
|
||||
"channel_info.convert_gm_to_channel.screen_title": "Convert to Private Channel",
|
||||
"channel_info.convert_gm_to_channel.warning.header": "Conversation history will be visible to any channel members",
|
||||
"channel_info.convert_gm_to_channel.warning.body": "You are about to convert the Group Message with {memberNames} to a Channel. This cannot be undone.",
|
||||
"channel_info.convert_gm_to_channel.warning.no_teams.header": "Unable to convert to a channel because group members are part of different teams",
|
||||
"channel_info.convert_gm_to_channel.warning.no_teams.body": "Group Message cannot be converted to a channel because members are not a part of the same team. Add all members to a single team to convert this group message to a channel.",
|
||||
"channel_info.convert_gm_to_channel.warning.body.yourself": "yourself",
|
||||
"channel_into.convert_gm_to_channel.team_selector.label": "Team",
|
||||
"channel_into.convert_gm_to_channel.team_selector.placeholder": "Select a Team",
|
||||
"channel_info.convert_gm_to_channel.button_text": "Convert to Private Channel",
|
||||
"channel_info.convert_gm_to_channel.conversion_error": "Something went wrong. Failed to convert Group Message to Private Channel.",
|
||||
"channel_info.convert_gm_to_channel.team_selector_list.title": "Select Team",
|
||||
"channel_info.convert_gm_to_channel.loading.footer": "Fetching details...",
|
||||
"generic.back": "Back"
|
||||
"your.servers": "Your servers"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue