diff --git a/package.json b/package.json index 62ac3236210b7017db77781832baa136cf2e1534..09b089dc1f9858d922c7dd1dba737f5137c8e1eb 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,8 @@ "presite": "cd functions && npm install", "start": "cross-env APP_TYPE=site umi dev", "start:no-mock": "cross-env MOCK=none umi dev", + "dev": "cross-env APP_TYPE=site umi dev", + "dev:no-mock": "cross-env MOCK=none umi dev", "build": "umi build", "site": "npm run presite && cross-env APP_TYPE=site npm run build && firebase deploy && npm run docker:push", "analyze": "cross-env ANALYZE=1 umi build", diff --git a/src/locales/en-US.js b/src/locales/en-US.js index fcaffcebaab472855ab6118ce547355bf38b3334..7cc113872924fccae97d5df3840de6287634c242 100644 --- a/src/locales/en-US.js +++ b/src/locales/en-US.js @@ -1,11 +1,5 @@ -import analysis from './en-US/analysis'; -import exception from './en-US/exception'; -import form from './en-US/form'; import globalHeader from './en-US/globalHeader'; -import login from './en-US/login'; import menu from './en-US/menu'; -import monitor from './en-US/monitor'; -import result from './en-US/result'; import settingDrawer from './en-US/settingDrawer'; import settings from './en-US/settings'; import pwa from './en-US/pwa'; @@ -16,17 +10,8 @@ export default { 'layout.user.link.privacy': 'Privacy', 'layout.user.link.terms': 'Terms', 'app.home.introduce': 'introduce', - '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.', - ...analysis, - ...exception, - ...form, ...globalHeader, - ...login, ...menu, - ...monitor, - ...result, ...settingDrawer, ...settings, ...pwa, diff --git a/src/locales/en-US/analysis.js b/src/locales/en-US/analysis.js deleted file mode 100644 index f3005dabda3424afba50571ee59700fea71d825b..0000000000000000000000000000000000000000 --- a/src/locales/en-US/analysis.js +++ /dev/null @@ -1,34 +0,0 @@ -export default { - 'app.analysis.test': 'Gongzhuan No.{no} shop', - 'app.analysis.introduce': 'Introduce', - 'app.analysis.total-sales': 'Total Sales', - 'app.analysis.day-sales': 'Daily Sales', - 'app.analysis.visits': 'Visits', - 'app.analysis.visits-trend': 'Visits Trend', - 'app.analysis.visits-ranking': 'Visits Ranking', - 'app.analysis.day-visits': 'Daily Visits', - 'app.analysis.week': 'WoW Change', - 'app.analysis.day': 'DoD Change', - 'app.analysis.payments': 'Payments', - 'app.analysis.conversion-rate': 'Conversion Rate', - 'app.analysis.operational-effect': 'Operational Effect', - 'app.analysis.sales-trend': 'Stores Sales Trend', - 'app.analysis.sales-ranking': 'Sales Ranking', - 'app.analysis.all-year': 'All Year', - 'app.analysis.all-month': 'All Month', - 'app.analysis.all-week': 'All Week', - 'app.analysis.all-day': 'All day', - 'app.analysis.search-users': 'Search Users', - 'app.analysis.per-capita-search': 'Per Capita Search', - 'app.analysis.online-top-search': 'Online Top Search', - 'app.analysis.the-proportion-of-sales': 'The Proportion Of Sales', - 'app.analysis.channel.all': 'ALL', - 'app.analysis.channel.online': 'Online', - 'app.analysis.channel.stores': 'Stores', - 'app.analysis.sales': 'Sales', - 'app.analysis.traffic': 'Traffic', - 'app.analysis.table.rank': 'Rank', - 'app.analysis.table.search-keyword': 'Keyword', - 'app.analysis.table.users': 'Users', - 'app.analysis.table.weekly-range': 'Weekly Range', -}; diff --git a/src/locales/en-US/exception.js b/src/locales/en-US/exception.js deleted file mode 100644 index 5035552afe58376eee40c3b037bbed408b470952..0000000000000000000000000000000000000000 --- a/src/locales/en-US/exception.js +++ /dev/null @@ -1,6 +0,0 @@ -export default { - 'app.exception.back': 'Back to home', - 'app.exception.description.403': "Sorry, you don't have access to this page", - 'app.exception.description.404': 'Sorry, the page you visited does not exist', - 'app.exception.description.500': 'Sorry, the server is reporting an error', -}; diff --git a/src/locales/en-US/form.js b/src/locales/en-US/form.js deleted file mode 100644 index 36e088d3e478f01e6130725e1fa7199f4831e425..0000000000000000000000000000000000000000 --- a/src/locales/en-US/form.js +++ /dev/null @@ -1,38 +0,0 @@ -export default { - 'form.get-captcha': 'Get Captcha', - 'form.captcha.second': 'sec', - 'form.optional': ' (optional) ', - 'form.submit': 'Submit', - 'form.save': 'Save', - 'form.email.placeholder': 'Email', - 'form.password.placeholder': 'Password', - 'form.confirm-password.placeholder': 'Confirm password', - 'form.phone-number.placeholder': 'Phone number', - 'form.verification-code.placeholder': 'Verification code', - '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.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', -}; diff --git a/src/locales/en-US/login.js b/src/locales/en-US/login.js deleted file mode 100644 index 82c1c20f87281c58357e0242b8290d7016e7a4a1..0000000000000000000000000000000000000000 --- a/src/locales/en-US/login.js +++ /dev/null @@ -1,39 +0,0 @@ -export default { - 'app.login.userName': 'userName', - 'app.login.password': 'password', - 'app.login.message-invalid-credentials': 'Invalid username or password(admin/ant.design)', - 'app.login.message-invalid-verification-code': 'Invalid verification code', - 'app.login.tab-login-credentials': 'Credentials', - 'app.login.tab-login-mobile': 'Mobile number', - 'app.login.remember-me': 'Remember me', - 'app.login.forgot-password': 'Forgot your password?', - 'app.login.sign-in-with': 'Sign in with', - 'app.login.signup': 'Sign up', - 'app.login.login': 'Login', - 'app.register.register': 'Register', - 'app.register.get-verification-code': 'Get code', - 'app.register.sign-in': 'Already have an account?', - 'app.register-result.msg': 'Account:registered at {email}', - 'app.register-result.activation-email': - 'The activation email has been sent to your email address and is valid for 24 hours. Please log in to the email in time and click on the link in the email to activate the account.', - 'app.register-result.back-home': 'Back to home', - 'app.register-result.view-mailbox': 'View mailbox', - 'validation.email.required': 'Please enter your email!', - 'validation.email.wrong-format': 'The email address is in the wrong format!', - 'validation.userName.required': 'Please enter your userName!', - 'validation.password.required': 'Please enter your password!', - 'validation.password.twice': 'The passwords entered twice do not match!', - 'validation.password.strength.msg': - "Please enter at least 6 characters and don't use passwords that are easy to guess.", - 'validation.password.strength.strong': 'Strength: strong', - 'validation.password.strength.medium': 'Strength: medium', - 'validation.password.strength.short': 'Strength: too short', - 'validation.confirm-password.required': 'Please confirm your password!', - 'validation.phone-number.required': 'Please enter your phone number!', - 'validation.phone-number.wrong-format': 'Malformed phone number!', - 'validation.verification-code.required': 'Please enter the verification code!', - 'validation.title.required': 'Please enter a title', - 'validation.date.required': 'Please select the start and end date', - 'validation.goal.required': 'Please enter a description of the goal', - 'validation.standard.required': 'Please enter a metric', -}; diff --git a/src/locales/en-US/monitor.js b/src/locales/en-US/monitor.js deleted file mode 100644 index dcb570552fc9f283e82221054481a9acd6a96648..0000000000000000000000000000000000000000 --- a/src/locales/en-US/monitor.js +++ /dev/null @@ -1,18 +0,0 @@ -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.fast-food': 'Fast food', - 'app.monitor.western-food': 'Western food', - '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', -}; diff --git a/src/locales/en-US/result.js b/src/locales/en-US/result.js deleted file mode 100644 index 23de8b7b7a9c079c5f437c38f2ff569516e38f92..0000000000000000000000000000000000000000 --- a/src/locales/en-US/result.js +++ /dev/null @@ -1,28 +0,0 @@ -export default { - 'app.result.error.title': 'Submission Failed', - 'app.result.error.description': - 'Please check and modify the following information before resubmitting.', - 'app.result.error.hint-title': 'The content you submitted has the following error:', - 'app.result.error.hint-text1': 'Your account has been frozen', - 'app.result.error.hint-btn1': 'Thaw immediately', - 'app.result.error.hint-text2': 'Your account is not yet eligible to apply', - 'app.result.error.hint-btn2': 'Upgrade immediately', - 'app.result.error.btn-text': 'Return to modify', - 'app.result.success.title': 'Submission Success', - 'app.result.success.description': - 'The submission results page is used to feed back the results of a series of operational tasks. If it is a simple operation, use the Message global prompt feedback. This text area can show a simple supplementary explanation. If there is a similar requirement for displaying “documents”, the following gray area can present more complicated content.', - 'app.result.success.operate-title': 'Project Name', - 'app.result.success.operate-id': 'Project ID:', - 'app.result.success.principal': 'Principal:', - 'app.result.success.operate-time': 'Effective time:', - 'app.result.success.step1-title': 'Create project', - 'app.result.success.step1-operator': 'Qu Lili', - 'app.result.success.step2-title': 'Departmental preliminary review', - 'app.result.success.step2-operator': 'Zhou Maomao', - 'app.result.success.step2-extra': 'Urge', - 'app.result.success.step3-title': 'Financial review', - 'app.result.success.step4-title': 'Finish', - 'app.result.success.btn-return': 'Back to list', - 'app.result.success.btn-project': 'View project', - 'app.result.success.btn-print': 'Print', -}; diff --git a/src/locales/pt-BR.js b/src/locales/pt-BR.js deleted file mode 100644 index d0fe21b782e66b31cb23ee18a39731d7fd766ac0..0000000000000000000000000000000000000000 --- a/src/locales/pt-BR.js +++ /dev/null @@ -1,33 +0,0 @@ -import analysis from './pt-BR/analysis'; -import exception from './pt-BR/exception'; -import form from './pt-BR/form'; -import globalHeader from './pt-BR/globalHeader'; -import login from './pt-BR/login'; -import menu from './pt-BR/menu'; -import monitor from './pt-BR/monitor'; -import result from './pt-BR/result'; -import settingDrawer from './pt-BR/settingDrawer'; -import settings from './pt-BR/settings'; -import pwa from './pt-BR/pwa'; - -export default { - 'navBar.lang': 'Idiomas', - 'layout.user.link.help': 'ajuda', - 'layout.user.link.privacy': 'política de privacidade', - 'layout.user.link.terms': 'termos de serviços', - 'app.home.introduce': 'introduzir', - 'app.forms.basic.title': 'Basic form', - 'app.forms.basic.description': - '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, - ...globalHeader, - ...login, - ...menu, - ...monitor, - ...result, - ...settingDrawer, - ...settings, - ...pwa, -}; diff --git a/src/locales/pt-BR/analysis.js b/src/locales/pt-BR/analysis.js deleted file mode 100644 index 96a80adf06aa86119d811b6af6fab06ce9da2edd..0000000000000000000000000000000000000000 --- a/src/locales/pt-BR/analysis.js +++ /dev/null @@ -1,34 +0,0 @@ -export default { - 'app.analysis.test': 'Gongzhuan No.{no} shop', - 'app.analysis.introduce': 'Introduzir', - 'app.analysis.total-sales': 'Vendas Totais', - 'app.analysis.day-sales': 'Vendas do Dia', - 'app.analysis.visits': 'Visitas', - 'app.analysis.visits-trend': 'Tendência de Visitas', - 'app.analysis.visits-ranking': 'Ranking de Visitas', - 'app.analysis.day-visits': 'Visitas do Dia', - 'app.analysis.week': 'Taxa Semanal', - 'app.analysis.day': 'Taxa Diária', - 'app.analysis.payments': 'Pagamentos', - 'app.analysis.conversion-rate': 'Taxa de Conversão', - 'app.analysis.operational-effect': 'Efeito Operacional', - 'app.analysis.sales-trend': 'Tendência de Vendas das Lojas', - 'app.analysis.sales-ranking': 'Ranking de Vendas', - 'app.analysis.all-year': 'Todo ano', - 'app.analysis.all-month': 'Todo mês', - 'app.analysis.all-week': 'Toda semana', - 'app.analysis.all-day': 'Todo dia', - 'app.analysis.search-users': 'Pesquisa de Usuários', - 'app.analysis.per-capita-search': 'Busca Per Capta', - 'app.analysis.online-top-search': 'Mais Buscadas Online', - 'app.analysis.the-proportion-of-sales': 'The Proportion Of Sales', - 'app.analysis.channel.all': 'Tudo', - 'app.analysis.channel.online': 'Online', - 'app.analysis.channel.stores': 'Lojas', - 'app.analysis.sales': 'Vendas', - 'app.analysis.traffic': 'Tráfego', - 'app.analysis.table.rank': 'Rank', - 'app.analysis.table.search-keyword': 'Palavra chave', - 'app.analysis.table.users': 'Usuários', - 'app.analysis.table.weekly-range': 'Faixa Semanal', -}; diff --git a/src/locales/pt-BR/exception.js b/src/locales/pt-BR/exception.js deleted file mode 100644 index ff4f1a8dd90bb9341f2bb45566f26c506786d136..0000000000000000000000000000000000000000 --- a/src/locales/pt-BR/exception.js +++ /dev/null @@ -1,6 +0,0 @@ -export default { - 'app.exception.back': 'Voltar para Início', - 'app.exception.description.403': 'Desculpe, você não tem acesso a esta página', - 'app.exception.description.404': 'Desculpe, a página que você visitou não existe', - 'app.exception.description.500': 'Desculpe, o servidor está reportando um erro', -}; diff --git a/src/locales/pt-BR/form.js b/src/locales/pt-BR/form.js deleted file mode 100644 index 8e5b76022d3ee6609ed94590b31014b00ec7f53c..0000000000000000000000000000000000000000 --- a/src/locales/pt-BR/form.js +++ /dev/null @@ -1,39 +0,0 @@ -export default { - 'form.get-captcha': 'Get Captcha', - 'form.captcha.second': 'sec', - 'form.email.placeholder': 'Email', - 'form.password.placeholder': 'Senha', - 'form.confirm-password.placeholder': 'Confirme a senha', - 'form.phone-number.placeholder': 'Telefone', - 'form.verification-code.placeholder': 'Código de verificação', - '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': - '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/login.js b/src/locales/pt-BR/login.js deleted file mode 100644 index 453b3dac19c7a73d7776ed8163d27a59bca65de1..0000000000000000000000000000000000000000 --- a/src/locales/pt-BR/login.js +++ /dev/null @@ -1,36 +0,0 @@ -export default { - 'app.login.userName': 'Nome de usuário', - 'app.login.password': 'Sua senha', - 'app.login.message-invalid-credentials': - 'Nome de usuário ou senha inválidosd(admin/ant.design)', - 'app.login.message-invalid-verification-code': 'Código de verificação inválido', - 'app.login.tab-login-credentials': 'Credenciais', - 'app.login.tab-login-mobile': 'Telefone', - 'app.login.remember-me': 'Lembre-me', - 'app.login.forgot-password': 'Esqueceu sua senha?', - 'app.login.sign-in-with': 'Login com', - 'app.login.signup': 'Cadastre-se', - 'app.login.login': 'Login', - 'app.register.register': 'Cadastro', - 'app.register.get-verification-code': 'Recuperar código', - 'app.register.sign-in': 'Já tem uma conta?', - 'app.register-result.msg': 'Conta:registrada em {email}', - 'app.register-result.activation-email': - 'Um email de ativação foi enviado para o seu email e é válido por 24 horas. Por favor entre no seu email e clique no link de ativação da conta.', - 'app.register-result.back-home': 'Voltar ao Início', - 'app.register-result.view-mailbox': 'Visualizar a caixa de email', - 'validation.email.required': 'Por favor insira seu email!', - 'validation.email.wrong-format': 'O email está errado!', - 'validation.userName.required': 'Por favor insira nome de usuário!', - 'validation.password.required': 'Por favor insira sua senha!', - 'validation.password.twice': 'As senhas não estão iguais!', - 'validation.password.strength.msg': - 'Por favor insira pelo menos 6 caracteres e não use senhas fáceis de adivinhar.', - 'validation.password.strength.strong': 'Força: forte', - 'validation.password.strength.medium': 'Força: média', - 'validation.password.strength.short': 'Força: curta', - 'validation.confirm-password.required': 'Por favor confirme sua senha!', - 'validation.phone-number.required': 'Por favor insira seu telefone!', - 'validation.phone-number.wrong-format': 'Formato de telefone errado!', - 'validation.verification-code.required': 'Por favor insira seu código de verificação!', -}; diff --git a/src/locales/pt-BR/monitor.js b/src/locales/pt-BR/monitor.js deleted file mode 100644 index 44a260843eafbb1c394dac5dcd69182b2c44854c..0000000000000000000000000000000000000000 --- a/src/locales/pt-BR/monitor.js +++ /dev/null @@ -1,19 +0,0 @@ -export default { - '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': 'Comida Ocidental', - 'app.monitor.hot-pot': 'Hot pot', - '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', -}; diff --git a/src/locales/pt-BR/result.js b/src/locales/pt-BR/result.js deleted file mode 100644 index 2720e07221a7c4119c341e2b919d9145d1043afb..0000000000000000000000000000000000000000 --- a/src/locales/pt-BR/result.js +++ /dev/null @@ -1,28 +0,0 @@ -export default { - 'app.result.error.title': 'A Submissão Falhou', - 'app.result.error.description': - 'Por favor, verifique e modifique as seguintes informações antes de reenviar.', - 'app.result.error.hint-title': 'O conteúdo que você enviou tem o seguinte erro:', - 'app.result.error.hint-text1': 'Sua conta foi congelada', - 'app.result.error.hint-btn1': 'Descongele imediatamente', - 'app.result.error.hint-text2': 'Sua conta ainda não está qualificada para se candidatar', - 'app.result.error.hint-btn2': 'Atualizar imediatamente', - 'app.result.error.btn-text': 'Retornar para modificar', - 'app.result.success.title': 'A Submissão foi um Sucesso', - 'app.result.success.description': - 'A página de resultados de envio é usada para fornecer os resultados de uma série de tarefas operacionais. Se for uma operação simples, use o prompt de feedback de Mensagem global. Esta área de texto pode mostrar uma explicação suplementar simples. Se houver um requisito semelhante para exibir "documentos", a área cinza a seguir pode apresentar um conteúdo mais complicado.', - 'app.result.success.operate-title': 'Nome do Projeto', - 'app.result.success.operate-id': 'ID do Projeto:', - 'app.result.success.principal': 'Principal:', - 'app.result.success.operate-time': 'Tempo efetivo:', - 'app.result.success.step1-title': 'Criar projeto', - 'app.result.success.step1-operator': 'Qu Lili', - 'app.result.success.step2-title': 'Revisão preliminar do departamento', - 'app.result.success.step2-operator': 'Zhou Maomao', - 'app.result.success.step2-extra': 'Urge', - 'app.result.success.step3-title': 'Revisão financeira', - 'app.result.success.step4-title': 'Terminar', - 'app.result.success.btn-return': 'Voltar a lista', - 'app.result.success.btn-project': 'Ver projeto', - 'app.result.success.btn-print': 'imprimir', -}; diff --git a/src/locales/zh-CN.js b/src/locales/zh-CN.js index 4330d60ae6d30bf9a3446b4ad777b9a8077b5a84..273a7f6a4e11596efc558ff8aad0495d94687ad7 100644 --- a/src/locales/zh-CN.js +++ b/src/locales/zh-CN.js @@ -1,11 +1,5 @@ -import analysis from './zh-CN/analysis'; -import exception from './zh-CN/exception'; -import form from './zh-CN/form'; import globalHeader from './zh-CN/globalHeader'; -import login from './zh-CN/login'; import menu from './zh-CN/menu'; -import monitor from './zh-CN/monitor'; -import result from './zh-CN/result'; import settingDrawer from './zh-CN/settingDrawer'; import settings from './zh-CN/settings'; import pwa from './zh-CN/pwa'; @@ -16,17 +10,8 @@ export default { 'layout.user.link.privacy': '隐私', 'layout.user.link.terms': '条款', 'app.home.introduce': '介绍', - 'app.forms.basic.title': '基础表单', - 'app.forms.basic.description': - '表单页用于向用户收集或验证信息,基础表单常见于数据项较少的表单场景。', - ...analysis, - ...exception, - ...form, ...globalHeader, - ...login, ...menu, - ...monitor, - ...result, ...settingDrawer, ...settings, ...pwa, diff --git a/src/locales/zh-CN/analysis.js b/src/locales/zh-CN/analysis.js deleted file mode 100644 index 8ed17ed8306d6d1750da1099d509955900a485bb..0000000000000000000000000000000000000000 --- a/src/locales/zh-CN/analysis.js +++ /dev/null @@ -1,34 +0,0 @@ -export default { - 'app.analysis.test': '工专路 {no} 号店', - 'app.analysis.introduce': '指标说明', - 'app.analysis.total-sales': '总销售额', - 'app.analysis.day-sales': '日销售额', - 'app.analysis.visits': '访问量', - 'app.analysis.visits-trend': '访问量趋势', - 'app.analysis.visits-ranking': '门店访问量排名', - 'app.analysis.day-visits': '日访问量', - 'app.analysis.week': '周同比', - 'app.analysis.day': '日同比', - 'app.analysis.payments': '支付笔数', - 'app.analysis.conversion-rate': '转化率', - 'app.analysis.operational-effect': '运营活动效果', - 'app.analysis.sales-trend': '销售趋势', - 'app.analysis.sales-ranking': '门店销售额排名', - 'app.analysis.all-year': '全年', - 'app.analysis.all-month': '本月', - 'app.analysis.all-week': '本周', - 'app.analysis.all-day': '今日', - 'app.analysis.search-users': '搜索用户数', - 'app.analysis.per-capita-search': '人均搜索次数', - 'app.analysis.online-top-search': '线上热门搜索', - 'app.analysis.the-proportion-of-sales': '销售额类别占比', - 'app.analysis.channel.all': '全部渠道', - 'app.analysis.channel.online': '线上', - 'app.analysis.channel.stores': '门店', - 'app.analysis.sales': '销售额', - 'app.analysis.traffic': '客流量', - 'app.analysis.table.rank': '排名', - 'app.analysis.table.search-keyword': '搜索关键词', - 'app.analysis.table.users': '用户数', - 'app.analysis.table.weekly-range': '周涨幅', -}; diff --git a/src/locales/zh-CN/exception.js b/src/locales/zh-CN/exception.js deleted file mode 100644 index 6f645daed63e332c6ad54aa146bdcf4e720c38c8..0000000000000000000000000000000000000000 --- a/src/locales/zh-CN/exception.js +++ /dev/null @@ -1,6 +0,0 @@ -export default { - 'app.exception.back': '返回首页', - 'app.exception.description.403': '抱歉,你无权访问该页面', - 'app.exception.description.404': '抱歉,你访问的页面不存在', - 'app.exception.description.500': '抱歉,服务器出错了', -}; diff --git a/src/locales/zh-CN/form.js b/src/locales/zh-CN/form.js deleted file mode 100644 index 7f3bd9525001fc4bacb92890ca2ca5e46de22e6c..0000000000000000000000000000000000000000 --- a/src/locales/zh-CN/form.js +++ /dev/null @@ -1,37 +0,0 @@ -export default { - 'form.get-captcha': '获取验证码', - 'form.captcha.second': '秒', - 'form.optional': '(选填)', - 'form.submit': '提交', - 'form.save': '保存', - 'form.email.placeholder': '邮箱', - 'form.password.placeholder': '至少6位密码,区分大小写', - 'form.confirm-password.placeholder': '确认密码', - 'form.phone-number.placeholder': '手机号', - 'form.verification-code.placeholder': '验证码', - 'form.title.label': '标题', - 'form.title.placeholder': '给目标起个名字', - 'form.date.label': '起止日期', - 'form.date.placeholder.start': '开始日期', - 'form.date.placeholder.end': '结束日期', - 'form.goal.label': '目标描述', - 'form.goal.placeholder': '请输入你的阶段性工作目标', - 'form.standard.label': '衡量标准', - 'form.standard.placeholder': '请输入衡量标准', - 'form.client.label': '客户', - 'form.client.label.tooltip': '目标的服务对象', - 'form.client.placeholder': '请描述你服务的客户,内部客户直接 @姓名/工号', - 'form.invites.label': '邀评人', - 'form.invites.placeholder': '请直接 @姓名/工号,最多可邀请 5 人', - 'form.weight.label': '权重', - 'form.weight.placeholder': '请输入', - 'form.public.label': '目标公开', - 'form.public.label.help': '客户、邀评人默认被分享', - 'form.public.radio.public': '公开', - 'form.public.radio.partially-public': '部分公开', - 'form.public.radio.private': '不公开', - 'form.publicUsers.placeholder': '公开给', - 'form.publicUsers.option.A': '同事甲', - 'form.publicUsers.option.B': '同事乙', - 'form.publicUsers.option.C': '同事丙', -}; diff --git a/src/locales/zh-CN/login.js b/src/locales/zh-CN/login.js deleted file mode 100644 index eb227207334ed3ea6e765313fad1f23b3d724dfc..0000000000000000000000000000000000000000 --- a/src/locales/zh-CN/login.js +++ /dev/null @@ -1,38 +0,0 @@ -export default { - 'app.login.userName': '用户名', - 'app.login.password': '密码', - 'app.login.message-invalid-credentials': '账户或密码错误(admin/ant.design)', - 'app.login.message-invalid-verification-code': '验证码错误', - 'app.login.tab-login-credentials': '账户密码登录', - 'app.login.tab-login-mobile': '手机号登录', - 'app.login.remember-me': '自动登录', - 'app.login.forgot-password': '忘记密码', - 'app.login.sign-in-with': '其他登录方式', - 'app.login.signup': '注册账户', - 'app.login.login': '登录', - 'app.register.register': '注册', - 'app.register.get-verification-code': '获取验证码', - 'app.register.sign-in': '使用已有账户登录', - 'app.register-result.msg': '你的账户:{email} 注册成功', - 'app.register-result.activation-email': - '激活邮件已发送到你的邮箱中,邮件有效期为24小时。请及时登录邮箱,点击邮件中的链接激活帐户。', - 'app.register-result.back-home': '返回首页', - 'app.register-result.view-mailbox': '查看邮箱', - 'validation.email.required': '请输入邮箱地址!', - 'validation.email.wrong-format': '邮箱地址格式错误!', - 'validation.userName.required': '请输入用户名!', - 'validation.password.required': '请输入密码!', - 'validation.password.twice': '两次输入的密码不匹配!', - 'validation.password.strength.msg': '请至少输入 6 个字符。请不要使用容易被猜到的密码。', - 'validation.password.strength.strong': '强度:强', - 'validation.password.strength.medium': '强度:中', - 'validation.password.strength.short': '强度:太短', - 'validation.confirm-password.required': '请确认密码!', - 'validation.phone-number.required': '请输入手机号!', - 'validation.phone-number.wrong-format': '手机号格式错误!', - 'validation.verification-code.required': '请输入验证码!', - 'validation.title.required': '请输入标题', - 'validation.date.required': '请选择起止日期', - 'validation.goal.required': '请输入目标描述', - 'validation.standard.required': '请输入衡量标准', -}; diff --git a/src/locales/zh-CN/monitor.js b/src/locales/zh-CN/monitor.js deleted file mode 100644 index 3a3e3f0b55e4051cc59085be0eaf1d3b838fea41..0000000000000000000000000000000000000000 --- a/src/locales/zh-CN/monitor.js +++ /dev/null @@ -1,18 +0,0 @@ -export default { - 'app.monitor.trading-activity': '活动实时交易情况', - 'app.monitor.total-transactions': '今日交易总额', - 'app.monitor.sales-target': '销售目标完成率', - 'app.monitor.remaining-time': '活动剩余时间', - 'app.monitor.total-transactions-per-second': '每秒交易总额', - 'app.monitor.activity-forecast': '活动情况预测', - 'app.monitor.efficiency': '券核效率', - 'app.monitor.ratio': '跳出率', - 'app.monitor.proportion-per-category': '各品类占比', - 'app.monitor.fast-food': '中式快餐', - 'app.monitor.western-food': '西餐', - 'app.monitor.hot-pot': '火锅', - 'app.monitor.waiting-for-implementation': 'Waiting for implementation', - 'app.monitor.popular-searches': '热门搜索', - 'app.monitor.resource-surplus': '资源剩余', - 'app.monitor.fund-surplus': '补贴资金剩余', -}; diff --git a/src/locales/zh-CN/result.js b/src/locales/zh-CN/result.js deleted file mode 100644 index cba0e1c1c50d2e8fa9ad43298e9014e824484718..0000000000000000000000000000000000000000 --- a/src/locales/zh-CN/result.js +++ /dev/null @@ -1,27 +0,0 @@ -export default { - 'app.result.error.title': '提交失败', - 'app.result.error.description': '请核对并修改以下信息后,再重新提交。', - 'app.result.error.hint-title': '您提交的内容有如下错误:', - 'app.result.error.hint-text1': '您的账户已被冻结', - 'app.result.error.hint-btn1': '立即解冻', - 'app.result.error.hint-text2': '您的账户还不具备申请资格', - 'app.result.error.hint-btn2': '立即升级', - 'app.result.error.btn-text': '返回修改', - 'app.result.success.title': '提交成功', - 'app.result.success.description': - '提交结果页用于反馈一系列操作任务的处理结果, 如果仅是简单操作,使用 Message 全局提示反馈即可。 本文字区域可以展示简单的补充说明,如果有类似展示 “单据”的需求,下面这个灰色区域可以呈现比较复杂的内容。', - 'app.result.success.operate-title': '项目名称', - 'app.result.success.operate-id': '项目 ID:', - 'app.result.success.principal': '负责人:', - 'app.result.success.operate-time': '生效时间:', - 'app.result.success.step1-title': '创建项目', - 'app.result.success.step1-operator': '曲丽丽', - 'app.result.success.step2-title': '部门初审', - 'app.result.success.step2-operator': '周毛毛', - 'app.result.success.step2-extra': '催一下', - 'app.result.success.step3-title': '财务复核', - 'app.result.success.step4-title': '完成', - 'app.result.success.btn-return': '返回列表', - 'app.result.success.btn-project': '查看项目', - 'app.result.success.btn-print': '打印', -}; diff --git a/src/locales/zh-TW.js b/src/locales/zh-TW.js index 986820ef3af850807cf000d6ed9c1a0e8280a276..35d483401ec776afef19d702b9ea863e527363d5 100644 --- a/src/locales/zh-TW.js +++ b/src/locales/zh-TW.js @@ -1,11 +1,5 @@ -import analysis from './zh-TW/analysis'; -import exception from './zh-TW/exception'; -import form from './zh-TW/form'; import globalHeader from './zh-TW/globalHeader'; -import login from './zh-TW/login'; import menu from './zh-TW/menu'; -import monitor from './zh-TW/monitor'; -import result from './zh-TW/result'; import settingDrawer from './zh-TW/settingDrawer'; import settings from './zh-TW/settings'; import pwa from './zh-TW/pwa'; @@ -19,14 +13,8 @@ export default { 'app.forms.basic.title': '基礎表單', 'app.forms.basic.description': '表單頁用於向用戶收集或驗證信息,基礎表單常見於數據項較少的表單場景。', - ...analysis, - ...exception, - ...form, ...globalHeader, - ...login, ...menu, - ...monitor, - ...result, ...settingDrawer, ...settings, ...pwa, diff --git a/src/locales/zh-TW/analysis.js b/src/locales/zh-TW/analysis.js deleted file mode 100644 index 7b2e37cf34f3723f1990e22ed981f12840b171d7..0000000000000000000000000000000000000000 --- a/src/locales/zh-TW/analysis.js +++ /dev/null @@ -1,34 +0,0 @@ -export default { - 'app.analysis.test': '工專路 {no} 號店', - 'app.analysis.introduce': '指標說明', - 'app.analysis.total-sales': '總銷售額', - 'app.analysis.day-sales': '日銷售額', - 'app.analysis.visits': '訪問量', - 'app.analysis.visits-trend': '訪問量趨勢', - 'app.analysis.visits-ranking': '門店訪問量排名', - 'app.analysis.day-visits': '日訪問量', - 'app.analysis.week': '周同比', - 'app.analysis.day': '日同比', - 'app.analysis.payments': '支付筆數', - 'app.analysis.conversion-rate': '轉化率', - 'app.analysis.operational-effect': '運營活動效果', - 'app.analysis.sales-trend': '銷售趨勢', - 'app.analysis.sales-ranking': '門店銷售額排名', - 'app.analysis.all-year': '全年', - 'app.analysis.all-month': '本月', - 'app.analysis.all-week': '本周', - 'app.analysis.all-day': '今日', - 'app.analysis.search-users': '搜索用戶數', - 'app.analysis.per-capita-search': '人均搜索次數', - 'app.analysis.online-top-search': '線上熱門搜索', - 'app.analysis.the-proportion-of-sales': '銷售額類別占比', - 'app.analysis.channel.all': '全部渠道', - 'app.analysis.channel.online': '線上', - 'app.analysis.channel.stores': '門店', - 'app.analysis.sales': '銷售額', - 'app.analysis.traffic': '客流量', - 'app.analysis.table.rank': '排名', - 'app.analysis.table.search-keyword': '搜索關鍵詞', - 'app.analysis.table.users': '用戶數', - 'app.analysis.table.weekly-range': '周漲幅', -}; diff --git a/src/locales/zh-TW/exception.js b/src/locales/zh-TW/exception.js deleted file mode 100644 index 24a266137bb503e4aa6917daebc2240eaa9150aa..0000000000000000000000000000000000000000 --- a/src/locales/zh-TW/exception.js +++ /dev/null @@ -1,6 +0,0 @@ -export default { - 'app.exception.back': '返回首頁', - 'app.exception.description.403': '抱歉,妳無權訪問該頁面', - 'app.exception.description.404': '抱歉,妳訪問的頁面不存在', - 'app.exception.description.500': '抱歉,服務器出錯了', -}; diff --git a/src/locales/zh-TW/form.js b/src/locales/zh-TW/form.js deleted file mode 100644 index cf1adf548ed67450802adde1193382e7ea30e6fa..0000000000000000000000000000000000000000 --- a/src/locales/zh-TW/form.js +++ /dev/null @@ -1,37 +0,0 @@ -export default { - 'form.get-captcha': '獲取驗證碼', - 'form.captcha.second': '秒', - 'form.optional': '(選填)', - 'form.submit': '提交', - 'form.save': '保存', - 'form.email.placeholder': '郵箱', - 'form.password.placeholder': '至少6位密碼,區分大小寫', - 'form.confirm-password.placeholder': '確認密碼', - 'form.phone-number.placeholder': '手機號', - 'form.verification-code.placeholder': '驗證碼', - 'form.title.label': '標題', - 'form.title.placeholder': '給目標起個名字', - 'form.date.label': '起止日期', - 'form.date.placeholder.start': '開始日期', - 'form.date.placeholder.end': '結束日期', - 'form.goal.label': '目標描述', - 'form.goal.placeholder': '請輸入妳的階段性工作目標', - 'form.standard.label': '衡量標淮', - 'form.standard.placeholder': '請輸入衡量標淮', - 'form.client.label': '客戶', - 'form.client.label.tooltip': '目標的服務對象', - 'form.client.placeholder': '請描述妳服務的客戶,內部客戶直接 @姓名/工號', - 'form.invites.label': '邀評人', - 'form.invites.placeholder': '請直接 @姓名/工號,最多可邀請 5 人', - 'form.weight.label': '權重', - 'form.weight.placeholder': '請輸入', - 'form.public.label': '目標公開', - 'form.public.label.help': '客戶、邀評人默認被分享', - 'form.public.radio.public': '公開', - 'form.public.radio.partially-public': '部分公開', - 'form.public.radio.private': '不公開', - 'form.publicUsers.placeholder': '公開給', - 'form.publicUsers.option.A': '同事甲', - 'form.publicUsers.option.B': '同事乙', - 'form.publicUsers.option.C': '同事丙', -}; diff --git a/src/locales/zh-TW/login.js b/src/locales/zh-TW/login.js deleted file mode 100644 index ec5706a6c26e40c5029fb80ab2390b54e483cc69..0000000000000000000000000000000000000000 --- a/src/locales/zh-TW/login.js +++ /dev/null @@ -1,38 +0,0 @@ -export default { - 'app.login.userName': '賬戶', - 'app.login.password': '密碼', - 'app.login.message-invalid-credentials': '賬戶或密碼錯誤(admin/ant.design)', - 'app.login.message-invalid-verification-code': '驗證碼錯誤', - 'app.login.tab-login-credentials': '賬戶密碼登錄', - 'app.login.tab-login-mobile': '手機號登錄', - 'app.login.remember-me': '自動登錄', - 'app.login.forgot-password': '忘記密碼', - 'app.login.sign-in-with': '其他登錄方式', - 'app.login.signup': '註冊賬戶', - 'app.login.login': '登錄', - 'app.register.register': '註冊', - 'app.register.get-verification-code': '獲取驗證碼', - 'app.register.sign-in': '使用已有賬戶登錄', - 'app.register-result.msg': '妳的賬戶:{email} 註冊成功', - 'app.register-result.activation-email': - '激活郵件已發送到妳的郵箱中,郵件有效期為24小時。請及時登錄郵箱,點擊郵件中的鏈接激活帳戶。', - 'app.register-result.back-home': '返回首頁', - 'app.register-result.view-mailbox': '查看郵箱', - 'validation.email.required': '請輸入郵箱地址!', - 'validation.email.wrong-format': '郵箱地址格式錯誤!', - 'validation.userName.required': '請輸入賬戶!', - 'validation.password.required': '請輸入密碼!', - 'validation.password.twice': '兩次輸入的密碼不匹配!', - 'validation.password.strength.msg': '請至少輸入 6 個字符。請不要使用容易被猜到的密碼。', - 'validation.password.strength.strong': '強度:強', - 'validation.password.strength.medium': '強度:中', - 'validation.password.strength.short': '強度:太短', - 'validation.confirm-password.required': '請確認密碼!', - 'validation.phone-number.required': '請輸入手機號!', - 'validation.phone-number.wrong-format': '手機號格式錯誤!', - 'validation.verification-code.required': '請輸入驗證碼!', - 'validation.title.required': '請輸入標題', - 'validation.date.required': '請選擇起止日期', - 'validation.goal.required': '請輸入目標描述', - 'validation.standard.required': '請輸入衡量標淮', -}; diff --git a/src/locales/zh-TW/monitor.js b/src/locales/zh-TW/monitor.js deleted file mode 100644 index d19ac054d2ef12f7e9d626f98ac8c1c1bd6fde7e..0000000000000000000000000000000000000000 --- a/src/locales/zh-TW/monitor.js +++ /dev/null @@ -1,18 +0,0 @@ -export default { - 'app.monitor.trading-activity': '活動實時交易情況', - 'app.monitor.total-transactions': '今日交易總額', - 'app.monitor.sales-target': '銷售目標完成率', - 'app.monitor.remaining-time': '活動剩余時間', - 'app.monitor.total-transactions-per-second': '每秒交易總額', - 'app.monitor.activity-forecast': '活動情況預測', - 'app.monitor.efficiency': '券核效率', - 'app.monitor.ratio': '跳出率', - 'app.monitor.proportion-per-category': '各品類占比', - 'app.monitor.fast-food': '中式快餐', - 'app.monitor.western-food': '西餐', - 'app.monitor.hot-pot': '火鍋', - 'app.monitor.waiting-for-implementation': 'Waiting for implementation', - 'app.monitor.popular-searches': '熱門搜索', - 'app.monitor.resource-surplus': '資源剩余', - 'app.monitor.fund-surplus': '補貼資金剩余', -}; diff --git a/src/locales/zh-TW/result.js b/src/locales/zh-TW/result.js deleted file mode 100644 index a87b96e5c9dc4e53737968996334c4942cb94367..0000000000000000000000000000000000000000 --- a/src/locales/zh-TW/result.js +++ /dev/null @@ -1,27 +0,0 @@ -export default { - 'app.result.error.title': '提交失敗', - 'app.result.error.description': '請核對並修改以下信息後,再重新提交。', - 'app.result.error.hint-title': '您提交的內容有如下錯誤:', - 'app.result.error.hint-text1': '您的賬戶已被凍結', - 'app.result.error.hint-btn1': '立即解凍', - 'app.result.error.hint-text2': '您的賬戶還不具備申請資格', - 'app.result.error.hint-btn2': '立即升級', - 'app.result.error.btn-text': '返回修改', - 'app.result.success.title': '提交成功', - 'app.result.success.description': - '提交結果頁用於反饋壹系列操作任務的處理結果, 如果僅是簡單操作,使用 Message 全局提示反饋即可。 本文字區域可以展示簡單的補充說明,如果有類似展示 “單據”的需求,下面這個灰色區域可以呈現比較復雜的內容。', - 'app.result.success.operate-title': '項目名稱', - 'app.result.success.operate-id': '項目 ID:', - 'app.result.success.principal': '負責人:', - 'app.result.success.operate-time': '生效時間:', - 'app.result.success.step1-title': '創建項目', - 'app.result.success.step1-operator': '曲麗麗', - 'app.result.success.step2-title': '部門初審', - 'app.result.success.step2-operator': '周毛毛', - 'app.result.success.step2-extra': '催壹下', - 'app.result.success.step3-title': '財務復核', - 'app.result.success.step4-title': '完成', - 'app.result.success.btn-return': '返回列表', - 'app.result.success.btn-project': '查看項目', - 'app.result.success.btn-print': '打印', -};