diff --git a/src/components/SelectLang/index.js b/src/components/SelectLang/index.js index 5e1d6fa377c95944700cd49573d0c487bec9c90d..f6abe2f279ef9c8c34463406f0c2a94503e6650d 100644 --- a/src/components/SelectLang/index.js +++ b/src/components/SelectLang/index.js @@ -13,18 +13,18 @@ export default class SelectLang extends PureComponent { render() { const { className } = this.props; const selectedLang = getLocale(); - const locales = ["zh-CN", "zh-TW", "en-US", "pt-BR"]; + const locales = ['zh-CN', 'zh-TW', 'en-US', 'pt-BR']; const languageLabels = { - "zh-CN": "简体中文", - "zh-TW": "繁体中文", - "en-US": "English", - "pt-BR": "Português", + 'zh-CN': '简体中文', + 'zh-TW': '繁体中文', + 'en-US': 'English', + 'pt-BR': 'Português', }; const languageIcons = { - "zh-CN": "🇨🇳", - "zh-TW": "🇭🇰", - "en-US": "🇬🇧", - "pt-BR": "🇵🇹", + 'zh-CN': '🇨🇳', + 'zh-TW': '🇭🇰', + 'en-US': '🇬🇧', + 'pt-BR': '🇧🇷', }; const langMenu = ( diff --git a/src/components/SiderMenu/BaseMenu.js b/src/components/SiderMenu/BaseMenu.js index 4448c5a5315e178ce6efc873f0336bf357c853fa..2ad6113465994fe177114a41c3efd8dab45734ad 100644 --- a/src/components/SiderMenu/BaseMenu.js +++ b/src/components/SiderMenu/BaseMenu.js @@ -24,7 +24,6 @@ const getIcon = icon => { }; export default class BaseMenu extends PureComponent { - /** * 获得菜单子节点 * @memberof SiderMenu diff --git a/src/locales/pt-BR.js b/src/locales/pt-BR.js index 45df10bbf3a73dc744102e93fcc65da83fde9017..d0fe21b782e66b31cb23ee18a39731d7fd766ac0 100644 --- a/src/locales/pt-BR.js +++ b/src/locales/pt-BR.js @@ -18,7 +18,7 @@ export default { 'app.home.introduce': 'introduzir', 'app.forms.basic.title': 'Basic form', 'app.forms.basic.description': - 'Form pages are used to collect or verify information to users, and basic forms are common in scenarios where there are fewer data items.', + 'Páginas de formulário são usadas para coletar e verificar as informações dos usuários e formulários básicos são comuns nos cenários onde existem alguns formatos de informações.', ...analysis, ...exception, ...form, diff --git a/src/locales/pt-BR/form.js b/src/locales/pt-BR/form.js index ae8ec7dfeaff20da53d1021226a36cb97f489f8c..8e5b76022d3ee6609ed94590b31014b00ec7f53c 100644 --- a/src/locales/pt-BR/form.js +++ b/src/locales/pt-BR/form.js @@ -6,33 +6,34 @@ export default { 'form.confirm-password.placeholder': 'Confirme a senha', 'form.phone-number.placeholder': 'Telefone', 'form.verification-code.placeholder': 'Código de verificação', - 'form.optional': ' (optional) ', - 'form.submit': 'Submit', - 'form.save': 'Save', - 'form.title.label': 'Title', - 'form.title.placeholder': 'Give the target a name', - 'form.date.label': 'Start and end date', - 'form.date.placeholder.start': 'Start date', - 'form.date.placeholder.end': 'End date', - 'form.goal.label': 'Goal description', - 'form.goal.placeholder': 'Please enter your work goals', - 'form.standard.label': 'Metrics', - 'form.standard.placeholder': 'Please enter a metric', - 'form.client.label': 'Client', + 'form.optional': ' (opcional) ', + 'form.submit': 'Enviar', + 'form.save': 'Salvar', + 'form.title.label': 'Titulo', + 'form.title.placeholder': 'Dê o nome do input', + 'form.date.label': 'Período', + 'form.date.placeholder.start': 'Data Inicial', + 'form.date.placeholder.end': 'Data Final', + 'form.goal.label': 'Objetivos', + 'form.goal.placeholder': 'Por favor, digite os seus objetivos', + 'form.standard.label': 'Métricas', + 'form.standard.placeholder': 'Por favor, digite suas métricas', + 'form.client.label': 'Cliente', 'form.client.label.tooltip': 'Target service object', 'form.client.placeholder': - 'Please describe your customer service, internal customers directly @ Name / job number', - 'form.invites.label': 'Inviting critics', - 'form.invites.placeholder': 'Please direct @ Name / job number, you can invite up to 5 people', - 'form.weight.label': 'Weight', - 'form.weight.placeholder': 'Please enter weight', - 'form.public.label': 'Target disclosure', - 'form.public.label.help': 'Customers and invitees are shared by default', - 'form.public.radio.public': 'Public', - 'form.public.radio.partially-public': 'Partially public', - 'form.public.radio.private': 'Private', - 'form.publicUsers.placeholder': 'Open to', - 'form.publicUsers.option.A': 'Colleague A', - 'form.publicUsers.option.B': 'Colleague B', - 'form.publicUsers.option.C': 'Colleague C', + 'Por favor, descreva seu atendimento ao cliente, clientes internos diretamente @ Nome / número do trabalho', + 'form.invites.label': 'Convidados críticos', + 'form.invites.placeholder': + 'Por favor, dirija @ Nome / número do trabalho, você pode convidar até 5 pessoas', + 'form.weight.label': 'Peso', + 'form.weight.placeholder': 'Por favor, entre com o peso', + 'form.public.label': 'Revelação de objetivo', + 'form.public.label.help': 'Clientes e convidados são compartilhados por padrão', + 'form.public.radio.public': 'Publico', + 'form.public.radio.partially-public': 'Parcialmente publico', + 'form.public.radio.private': 'Privado', + 'form.publicUsers.placeholder': 'Aberto para', + 'form.publicUsers.option.A': 'Colega A', + 'form.publicUsers.option.B': 'Colega B', + 'form.publicUsers.option.C': 'Colega C', }; diff --git a/src/locales/pt-BR/monitor.js b/src/locales/pt-BR/monitor.js index 572a79edbb26f6e49b3cd7c8fcec2959befe4375..44a260843eafbb1c394dac5dcd69182b2c44854c 100644 --- a/src/locales/pt-BR/monitor.js +++ b/src/locales/pt-BR/monitor.js @@ -1,19 +1,19 @@ export default { - 'app.monitor.trading-activity': 'Real-Time Trading Activity', - 'app.monitor.total-transactions': 'Total transactions today', - 'app.monitor.sales-target': 'Sales target completion rate', - 'app.monitor.remaining-time': 'Remaining time of activity', - 'app.monitor.total-transactions-per-second': 'Total transactions per second', - 'app.monitor.activity-forecast': 'Activity forecast', - 'app.monitor.efficiency': 'Efficiency', - 'app.monitor.ratio': 'Ratio', - 'app.monitor.proportion-per-category': 'Proportion Per Category', + 'app.monitor.trading-activity': 'Atividade de Trading Real-time', + 'app.monitor.total-transactions': 'Total de transações hoje', + 'app.monitor.sales-target': 'Taxa de conclusão da meta de vendas', + 'app.monitor.remaining-time': 'Tempo restante da atividade', + 'app.monitor.total-transactions-per-second': 'Total de transações por segundo', + 'app.monitor.activity-forecast': 'Previsão atual', + 'app.monitor.efficiency': 'Eficiência', + 'app.monitor.ratio': 'Relação', + 'app.monitor.proportion-per-category': 'Proporção por categoria', 'app.monitor.fast-food': 'Fast food', - 'app.monitor.western-food': 'Western food', + 'app.monitor.western-food': 'Comida Ocidental', 'app.monitor.hot-pot': 'Hot pot', - 'app.monitor.waiting-for-implementation': 'Waiting for implementation', - 'app.monitor.popular-searches': 'Popular Searches', - 'app.monitor.resource-surplus': 'Resource Surplus', - 'app.monitor.fund-surplus': 'Fund Surplus', - 'app.exception.back': 'Back to home', + 'app.monitor.waiting-for-implementation': 'Aguardando implementação', + 'app.monitor.popular-searches': 'Buscas populares', + 'app.monitor.resource-surplus': 'Excedente de recursos', + 'app.monitor.fund-surplus': 'Excedente do fundo', + 'app.exception.back': 'Voltar a home', };