Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/omnichannel/directory/ChatTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const ChatTable = () => {
FlowRouter.go('live', { id: _id });
});

const { value: data } = useEndpointData('livechat/rooms', query) || {};
const { value: data } = useEndpointData('livechat/rooms', query);

const header = useMemo(() => [
<GenericTable.HeaderCell key={'fname'} direction={sort[1]} active={sort[0] === 'fname'} onClick={onHeaderClick} sort='fname' w='x400'>{t('Contact_Name')}</GenericTable.HeaderCell>,
Expand Down
4 changes: 2 additions & 2 deletions client/omnichannel/directory/ContactForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export function ContactNewEdit({ id, data, reload, close }) {
<Field>
<Field.Label>{t('Name')}*</Field.Label>
<Field.Row>
<TextInput error={nameError} flexGrow={1} value={name} onChange={handleName} placeholder={t('Insert_Contact_Name')} />
<TextInput error={nameError} flexGrow={1} value={name} onChange={handleName} />
</Field.Row>
<Field.Error>
{nameError}
Expand All @@ -190,7 +190,7 @@ export function ContactNewEdit({ id, data, reload, close }) {
<Field>
<Field.Label>{t('Email')}</Field.Label>
<Field.Row>
<TextInput error={emailError} flexGrow={1} value={email} onChange={handleEmail} placeholder='[email protected]' addon={<Icon name='mail' size='x20'/>}/>
<TextInput error={emailError} flexGrow={1} value={email} onChange={handleEmail} addon={<Icon name='mail' size='x20'/>}/>
</Field.Row>
<Field.Error>
{t(emailError)}
Expand Down
2 changes: 1 addition & 1 deletion client/omnichannel/directory/ContactInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export function ContactInfo({ id }) {
<VerticalBar.ScrollableContent p='x24'>
<Margins block='x4'>
{username && username !== name && <>
<Label>{t('Name/Username')}</Label>
<Label>{`${ t('Name') } / ${ t('Username') }`}</Label>
<Info>{`${ name }/${ username }`}</Info>
</>}
{visitorEmails && visitorEmails.length && <>
Expand Down
2 changes: 1 addition & 1 deletion client/omnichannel/directory/ContactTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function ContactTable({ setContactReload }) {
id,
}));

const { value: data, reload } = useEndpointData('livechat/visitors.search', query) || {};
const { value: data, reload } = useEndpointData('livechat/visitors.search', query);

useEffect(() => {
setContactReload(() => reload);
Expand Down
2 changes: 1 addition & 1 deletion client/omnichannel/directory/OmnichannelDirectoryPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const OmnichannelDirectoryPage = () => {

return <Page flexDirection='row'>
<Page>
<Page.Header title={t('Omnichannel')} />
<Page.Header title={t('Omnichannel_Contact_Center')}/>
<Tabs flexShrink={0} >
<Tabs.Item selected={tab === 'contacts'} onClick={handleTabClick('contacts')}>{t('Contacts')}</Tabs.Item>
<Tabs.Item selected={tab === 'chats'} onClick={handleTabClick('chats')}>{t('Chats')}</Tabs.Item>
Expand Down
2 changes: 1 addition & 1 deletion client/sidebar/sections/Omnichannel.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const OmnichannelSection = React.memo((props) => {
};

const directoryIcon = {
title: t('Directory'),
title: t('Contact_Center'),
icon: 'contact',
};

Expand Down
4 changes: 4 additions & 0 deletions packages/rocketchat-i18n/i18n/en.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,9 @@
"Consulting": "Consulting",
"Consumer_Goods": "Consumer Goods",
"Contact": "Contact",
"Contacts": "Contacts",
"Contact_Name": "Contact Name",
"Contact_Center": "Contact Center",
"Contact_Chat_History": "Contact Chat History",
"Contains_Security_Fixes": "Contains Security Fixes",
"Contact_Manager": "Contact Manager",
Expand Down Expand Up @@ -2832,6 +2834,7 @@
"Older_than": "Older than",
"Omnichannel_Directory": "Omnichannel Directory",
"Omnichannel_appearance": "Omnichannel Appearance",
"Omnichannel_Contact_Center": "Omnichannel Contact Center",
"Omnichannel_External_Frame": "External Frame",
"Omnichannel_External_Frame_Enabled": "External frame enabled",
"Omnichannel_External_Frame_Encryption_JWK": "Encryption key (JWK)",
Expand Down Expand Up @@ -2905,6 +2908,7 @@
"Permalink": "Permalink",
"Permissions": "Permissions",
"Personal_Access_Tokens": "Personal Access Tokens",
"Phone": "Phone",
"Phone_number": "Phone number",
"Pin": "Pin",
"Pin_Message": "Pin Message",
Expand Down
10 changes: 10 additions & 0 deletions packages/rocketchat-i18n/i18n/pt-BR.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,7 @@
"Chatpal_created_key_successfully": "API-Key criada com sucesso",
"Chatpal_Default_Result_Type": "Tipo de resultado padrão",
"Chatpal_Default_Result_Type_Description": "Define qual tipo de resultado é mostrado por resultado. Tudo significa que uma visão geral para todos os tipos é fornecida.",
"Chat_Duration": "Duração do Chat",
"Chatpal_Email_Address": "Endereço de e-mail",
"Chatpal_ERROR_Email_must_be_set": "E-mail deve ser definido",
"Chatpal_ERROR_Email_must_be_valid": "E-mail deve ser válido",
Expand Down Expand Up @@ -739,9 +740,14 @@
"Consulting": "Consultar",
"Consumer_Goods": "Bens de consumo",
"Contact": "Contato",
"Contacts": "Contatos",
"Contact_Name": "Nome do Contato",
"Contact_Center": "Central de Contatos",
"Contact_Chat_History": "Histórico do bate-papo do contato",
"Contact_not_found": "Contato não encontrado",
"Contact_Profile": "Informações do Contato",
"Contains_Security_Fixes": "Contém correções de segurança",
"Contact_Manager": "Gerente do Contato",
"Content": "Conteúdo",
"Continue": "Continuar",
"Continuous_sound_notifications_for_new_livechat_room": "Notificações sonoras contínuas, para nova sala de omnichannel",
Expand Down Expand Up @@ -1204,6 +1210,7 @@
"E2E_password_reveal_text": "Agora você pode criar grupos privados e mensagens diretas criptografados. Você também pode alterar os grupos privados ou DMs existentes para criptografados. <br/><br/>Esta é uma criptografia de ponta a ponta, logo a chave para codificar / decodificar suas mensagens não será salva no servidor. Por esse motivo, você precisa armazenar sua senha em algum lugar seguro. Será solicitada a inserção de senha em outros dispositivos nos quais deseja usar a criptografia E2E. <a href=\"https://rocket.chat/docs/user-guides/end-to-end-encryption/\" target=\"_blank\">Saiba mais aqui!</a><br/><br/>Sua senha é: <span style=\"font-weight: bold;\">%s</span><br/><br/>Esta é uma senha gerada automaticamente, você pode configurar uma nova senha para sua chave de criptografia a qualquer momento, a partir de qualquer navegador onde utilizou a senha existente. <br/>Esta senha só é armazenada neste navegador até que você armazene a senha e feche esta mensagem.",
"Edit": "Editar",
"Edit_Business_Hour": "Editar horário de expediente",
"Edit_Contact_Profile": "Editar Contato",
"Edit_Custom_Field": "Editar Campo Personalizado",
"Edit_Department": "Editar Departamento",
"Edit_Invite": "Editar Convite",
Expand Down Expand Up @@ -2335,6 +2342,7 @@
"New_chat_in_queue": "Novo chat na fila",
"New_chat_priority": "Prioridade da sala alterada: __user__ alterou a prioridade para __priority__",
"New_chat_transfer": "Nova Transferência de conversa: __transfer__",
"New_Contact": "Novo Contato",
"New_Custom_Field": "Novo Campo Personalizado",
"New_Department": "Novo Departamento",
"New_discussion": "Nova discussão",
Expand Down Expand Up @@ -2441,6 +2449,7 @@
"Old Colors": "Cores antigas",
"Old Colors (minor)": "Cores antigas (menores)",
"Older_than": "Mais velho que",
"Omnichannel_Contact_Center": "Central de Contatos Omnichannel",
"Omnichannel_Directory": "Diretório Omnichannel",
"Omnichannel_External_Frame": "Frame Externo",
"Omnichannel_External_Frame_Enabled": "Frame Externo habilitado",
Expand Down Expand Up @@ -2507,6 +2516,7 @@
"Permalink": "Link permanente",
"Permissions": "Permissões",
"Personal_Access_Tokens": "Tokens de acesso pessoal",
"Phone": "Telefone",
"Phone_number": "Telefone",
"Pin": "Fixar",
"Pin_Message": "Fixar Mensagem",
Expand Down