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
16 changes: 16 additions & 0 deletions app/i18n/locales/pt-BR.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,10 @@ export default {
are_typing: 'estão digitando',
Are_you_sure_question_mark: 'Você tem certeza?',
Are_you_sure_you_want_to_leave_the_room: 'Tem certeza de que deseja sair da sala {{room}}?',
Audio: 'Áudio',
Authenticating: 'Autenticando',
Automatic: 'Automático',
Auto_Translate: 'Tradução automática',
Avatar_changed_successfully: 'Avatar alterado com sucesso!',
Avatar_Url: 'Avatar URL',
Away: 'Ausente',
Expand Down Expand Up @@ -172,6 +174,7 @@ export default {
DELETE: 'EXCLUIR',
deleting_room: 'excluindo sala',
Direct_Messages: 'Mensagens Diretas',
DESKTOP_OPTIONS: 'OPÇÕES DE ÁREA DE TRABALHO',
Directory: 'Diretório',
description: 'descrição',
Description: 'Descrição',
Expand All @@ -192,6 +195,7 @@ export default {
Email: 'Email',
email: 'e-mail',
Empty_title: 'Título vazio',
Enable_Auto_Translate: 'Ativar a tradução automática',
Enable_notifications: 'Habilitar notificações',
Everyone_can_access_this_channel: 'Todos podem acessar este canal',
Error_uploading: 'Erro subindo',
Expand Down Expand Up @@ -234,6 +238,7 @@ export default {
Message_HideType_room_unarchived: 'Sala desarquivada',
IP: 'IP',
In_app: 'No app',
In_App_and_Desktop_Alert_info: 'Exibe um banner na parte superior da tela quando o aplicativo é aberto e exibe uma notificação na área de trabalho',
Invisible: 'Invisível',
Invite: 'Convidar',
is_typing: 'está digitando',
Expand Down Expand Up @@ -299,6 +304,9 @@ export default {
Nothing_to_save: 'Nada para salvar!',
Notify_active_in_this_room: 'Notificar usuários ativos nesta sala',
Notify_all_in_this_room: 'Notificar todos nesta sala',
Notifications: 'Notificações',
Notification_Duration: 'Duração da notificação',
Notification_Preferences: 'Preferências de notificação',
Not_RC_Server: 'Este não é um servidor Rocket.Chat.\n{{contact}}',
No_available_agents_to_transfer: 'Nenhum agente disponível para transferência',
Offline: 'Offline',
Expand Down Expand Up @@ -340,6 +348,7 @@ export default {
Profile: 'Perfil',
Public_Channel: 'Canal Público',
Public: 'Público',
Push_Notifications_Alert_Info: 'Essas notificações são entregues a você quando o aplicativo não está aberto',
Quote: 'Citar',
Reactions_are_disabled: 'Reagir está desabilitado',
Reactions_are_enabled: 'Reagir está habilitado',
Expand All @@ -348,13 +357,17 @@ export default {
Read_External_Permission: 'Permissão de acesso à arquivos',
Read_Only_Channel: 'Canal Somente Leitura',
Read_Only: 'Somente Leitura',
Receive_Group_Mentions: 'Receber menções de grupo',
Receive_Group_Mentions_Info: 'Receber menções @all e @here',
Register: 'Registrar',
Read_Receipt: 'Lida por',
Repeat_Password: 'Repetir Senha',
Replied_on: 'Respondido em:',
replies: 'respostas',
reply: 'resposta',
Reply: 'Responder',
Receive_Notification: 'Receber Notificação',
Receive_notifications_from: 'Receber notificação de {{name}}',
Resend: 'Reenviar',
Reset_password: 'Resetar senha',
resetting_password: 'redefinindo senha',
Expand Down Expand Up @@ -411,10 +424,13 @@ export default {
Share: 'Compartilhar',
Share_Link: 'Share Link',
Show_more: 'Mostrar mais..',
Show_Unread_Counter: 'Mostrar contador não lido',
Show_Unread_Counter_Info: 'O contador não lido é exibido como um emblema à direita do canal, na lista',
Sign_in_your_server: 'Entrar no seu servidor',
Sign_Up: 'Registrar',
Some_field_is_invalid_or_empty: 'Algum campo está inválido ou vazio',
Sorting_by: 'Ordenando por {{key}}',
Sound: 'Som da notificação',
Star_room: 'Favoritar sala',
Star: 'Favorito',
Starred_Messages: 'Mensagens Favoritas',
Expand Down
7 changes: 4 additions & 3 deletions app/views/AutoTranslateView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,14 @@ SectionSeparator.propTypes = {
};

class AutoTranslateView extends React.Component {
static navigationOptions = {
static navigationOptions = () => ({
title: I18n.t('Auto_Translate')
}
})

static propTypes = {
route: PropTypes.object,
theme: PropTypes.string
theme: PropTypes.string,
navigation: PropTypes.object
}

constructor(props) {
Expand Down
4 changes: 2 additions & 2 deletions app/views/CreateChannelView.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ const styles = StyleSheet.create({
});

class CreateChannelView extends React.Component {
static navigationOptions = {
static navigationOptions = () => ({
title: I18n.t('Create_Channel')
}
});

static propTypes = {
navigation: PropTypes.object,
Expand Down
4 changes: 2 additions & 2 deletions app/views/DefaultBrowserView.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ const styles = StyleSheet.create({
});

class DefaultBrowserView extends React.Component {
static navigationOptions = {
static navigationOptions = () => ({
title: I18n.t('Default_browser')
}
})

static propTypes = {
theme: PropTypes.string
Expand Down
4 changes: 2 additions & 2 deletions app/views/InviteUsersEditView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ const OPTIONS = {
};

class InviteUsersView extends React.Component {
static navigationOptions = {
static navigationOptions = () => ({
title: I18n.t('Invite_users')
}
})

static propTypes = {
navigation: PropTypes.object,
Expand Down
4 changes: 2 additions & 2 deletions app/views/InviteUsersView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import { withTheme } from '../../theme';
import SafeAreaView from '../../containers/SafeAreaView';

class InviteUsersView extends React.Component {
static navigationOptions = {
static navigationOptions = () => ({
title: I18n.t('Invite_users')
}
})

static propTypes = {
navigation: PropTypes.object,
Expand Down
4 changes: 2 additions & 2 deletions app/views/LanguageView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ const LANGUAGES = [
];

class LanguageView extends React.Component {
static navigationOptions = {
static navigationOptions = () => ({
title: I18n.t('Change_Language')
}
})

static propTypes = {
user: PropTypes.object,
Expand Down
4 changes: 2 additions & 2 deletions app/views/MarkdownTableView.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import { themes } from '../constants/colors';
import { withTheme } from '../theme';

class MarkdownTableView extends React.Component {
static navigationOptions = {
static navigationOptions = () => ({
title: I18n.t('Table')
}
})

static propTypes = {
route: PropTypes.object,
Expand Down
4 changes: 2 additions & 2 deletions app/views/NewServerView.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ const styles = StyleSheet.create({
});

class NewServerView extends React.Component {
static navigationOptions = {
static navigationOptions = () => ({
title: I18n.t('Workspaces')
}
})

static propTypes = {
navigation: PropTypes.object,
Expand Down
4 changes: 2 additions & 2 deletions app/views/NotificationPreferencesView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ const OPTIONS = {
};

class NotificationPreferencesView extends React.Component {
static navigationOptions = {
static navigationOptions = () => ({
title: I18n.t('Notification_Preferences')
}
})

static propTypes = {
navigation: PropTypes.object,
Expand Down
4 changes: 2 additions & 2 deletions app/views/RoomInfoEditView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ const PERMISSIONS_ARRAY = [
];

class RoomInfoEditView extends React.Component {
static navigationOptions = {
static navigationOptions = () => ({
title: I18n.t('Room_Info_Edit')
}
})

static propTypes = {
route: PropTypes.object,
Expand Down
4 changes: 2 additions & 2 deletions app/views/ScreenLockConfigView.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ const styles = StyleSheet.create({
const DEFAULT_BIOMETRY = false;

class ScreenLockConfigView extends React.Component {
static navigationOptions = {
static navigationOptions = () => ({
title: I18n.t('Screen_lock')
};
});

static propTypes = {
theme: PropTypes.string,
Expand Down
4 changes: 2 additions & 2 deletions app/views/SelectServerView.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ const styles = StyleSheet.create({
});

class SelectServerView extends React.Component {
static navigationOptions = {
static navigationOptions = () => ({
title: I18n.t('Select_Server')
}
})

static propTypes = {
server: PropTypes.string,
Expand Down
4 changes: 2 additions & 2 deletions app/views/ThemeView.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ const styles = StyleSheet.create({
});

class ThemeView extends React.Component {
static navigationOptions = {
static navigationOptions = () => ({
title: I18n.t('Theme')
}
})

static propTypes = {
theme: PropTypes.string,
Expand Down
4 changes: 2 additions & 2 deletions app/views/WithoutServersView.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ const styles = StyleSheet.create({
});

class WithoutServerView extends React.Component {
static navigationOptions = {
static navigationOptions = () => ({
title: 'Rocket.Chat',
headerLeft: () => (
<CancelModalButton
onPress={ShareExtension.close}
testID='share-extension-close'
/>
)
}
})

static propTypes = {
theme: PropTypes.string
Expand Down
4 changes: 2 additions & 2 deletions app/views/WorkspaceView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import ServerAvatar from './ServerAvatar';
import { getShowLoginButton } from '../../selectors/login';

class WorkspaceView extends React.Component {
static navigationOptions = {
static navigationOptions = () => ({
title: I18n.t('Your_workspace')
}
})

static propTypes = {
navigation: PropTypes.object,
Expand Down