Merge remote-tracking branch 'upstream/master' into feat/cache-gql-docs
This commit is contained in:
17
functions/requestParams.js
Normal file
17
functions/requestParams.js
Normal file
@@ -0,0 +1,17 @@
|
||||
export function hasPathParams(params) {
|
||||
return params.some((p) => p.type === "path")
|
||||
}
|
||||
|
||||
export function addPathParamsToVariables(params, variables) {
|
||||
params
|
||||
.filter(({ key }) => !!key)
|
||||
.filter(({ type }) => type === "path")
|
||||
.forEach(p => variables[p.key] = p.value)
|
||||
return variables;
|
||||
}
|
||||
|
||||
export function getQueryParams(params) {
|
||||
return params
|
||||
.filter(({ key }) => !!key)
|
||||
.filter(({ type }) => type != "path")
|
||||
}
|
||||
@@ -3,5 +3,5 @@ export default function parseTemplateString(string, variables) {
|
||||
return string
|
||||
}
|
||||
const searchTerm = /<<([^>]*)>>/g // "<<myVariable>>"
|
||||
return string.replace(searchTerm, (match, p1) => variables[p1] || "")
|
||||
return decodeURI(string).replace(searchTerm, (match, p1) => variables[p1] || "")
|
||||
}
|
||||
|
||||
@@ -3,27 +3,27 @@
|
||||
"realtime": "Tempo real",
|
||||
"graphql": "GraphQL",
|
||||
"settings": "Configurações",
|
||||
"request": "Request",
|
||||
"request": "Requisição",
|
||||
"install_pwa": "Instalar PWA",
|
||||
"support_us": "Nos ajude",
|
||||
"tweet": "Tweet",
|
||||
"options": "Opções",
|
||||
"communication": "Comunicação",
|
||||
"endpoint": "Endpoint",
|
||||
"schema": "Schema",
|
||||
"schema": "Estrutura",
|
||||
"theme": "Tema",
|
||||
"subscribe": "Subscribe",
|
||||
"subscribe": "Se inscrever",
|
||||
"choose_language": "Escolher idioma",
|
||||
"shortcuts": "Atalhos",
|
||||
"send_request": "Enviar request",
|
||||
"send_request": "Enviar requisição",
|
||||
"save_to_collections": "Salvar nas coleções",
|
||||
"copy_request_link": "Copiar link da request",
|
||||
"reset_request": "Reiniciar request",
|
||||
"copy_request_link": "Copiar link da requisição",
|
||||
"reset_request": "Reiniciar requisição",
|
||||
"support_us_on": "Nos ajude no",
|
||||
"open_collective": "Abrir coletivamente",
|
||||
"paypal": "Paypal",
|
||||
"patreon": "Patreon",
|
||||
"javascript_code": "Codigo JavaScript",
|
||||
"javascript_code": "Código JavaScript",
|
||||
"method": "Método",
|
||||
"path": "Caminho",
|
||||
"label": "Label",
|
||||
@@ -31,28 +31,28 @@
|
||||
"content_type": "Content Type",
|
||||
"raw_input": "Raw input",
|
||||
"parameter_list": "Lista de parâmetros",
|
||||
"raw_request_body": "Raw request body",
|
||||
"raw_request_body": "Raw requisição body",
|
||||
"show_code": "Mostrar código",
|
||||
"hide_code": "Esconder código",
|
||||
"show_prerequest_script": "Mostrar script de pré-request",
|
||||
"hide_prerequest_script": "Esconder script de pré-request",
|
||||
"show_prerequest_script": "Mostrar script de pré-requisição",
|
||||
"hide_prerequest_script": "Esconder script de pré-requisição",
|
||||
"authentication": "Autenticação",
|
||||
"authentication_type": "Tipo de autenticação",
|
||||
"include_in_url": "Incluir na url",
|
||||
"include_in_url": "Incluir na URL",
|
||||
"parameters": "Parâmetros",
|
||||
"expand_response": "Expandir response",
|
||||
"collapse_response": "Esconder response",
|
||||
"hide_preview": "Esconder preview",
|
||||
"preview_html": "Preview html",
|
||||
"expand_response": "Expandir resposta",
|
||||
"collapse_response": "Esconder resposta",
|
||||
"hide_preview": "Esconder pré-visualização",
|
||||
"preview_html": "Pré-visualizar HTML",
|
||||
"history": "Histórico",
|
||||
"collections": "Coleções",
|
||||
"import_curl": "Importar curl",
|
||||
"import_curl": "Importar cURL",
|
||||
"import": "Importar",
|
||||
"generate_code": "Gerar código",
|
||||
"request_type": "Tipo de request",
|
||||
"request_type": "Tipo de requisição",
|
||||
"generated_code": "Código gerado",
|
||||
"status": "Status",
|
||||
"headers": "Headers",
|
||||
"headers": "Cabeçalhos",
|
||||
"websocket": "Websocket",
|
||||
"waiting_for_connection": "(aguardando conexão)",
|
||||
"message": "Mensagem",
|
||||
@@ -60,12 +60,12 @@
|
||||
"server": "Servidor",
|
||||
"events": "Eventos",
|
||||
"url": "URL",
|
||||
"get_schema": "Get schema",
|
||||
"header_list": "Lista de headers",
|
||||
"get_schema": "Baixar estrutura",
|
||||
"header_list": "Lista de cabeçalhos",
|
||||
"add_new": "Adicionar novo",
|
||||
"response": "Response",
|
||||
"query": "Query",
|
||||
"queries": "Queries",
|
||||
"response": "Resposta",
|
||||
"query": "Consulta",
|
||||
"queries": "Consultas",
|
||||
"query_variables": "Variáveis",
|
||||
"mutations": "Mutações",
|
||||
"subscriptions": "Assinaturas",
|
||||
@@ -78,15 +78,15 @@
|
||||
"enabled": "Ativado",
|
||||
"disabled": "Desativado",
|
||||
"proxy": "Proxy",
|
||||
"postwoman_official_proxy_hosting": "Postwoman's alojamento proxy oficial",
|
||||
"postwoman_official_proxy_hosting": "O proxy oficial do Postwoman está hospedado no Apollo Software.",
|
||||
"read_the": "Leia o",
|
||||
"apollosw_privacy_policy": "Apollo Software Política de Privacidade",
|
||||
"contact_us": "Contate-Nos",
|
||||
"apollosw_privacy_policy": "Política de Privacidade do Apollo Software",
|
||||
"contact_us": "Contate-nos",
|
||||
"connect": "Conectar",
|
||||
"disconnect": "Desconectar",
|
||||
"start": "Começar",
|
||||
"stop": "Pare",
|
||||
"syncHistory": "History",
|
||||
"syncCollections": "Collections",
|
||||
"syncEnvironments": "Environments"
|
||||
"stop": "Parar",
|
||||
"syncHistory": "Histórico",
|
||||
"syncCollections": "Coleções",
|
||||
"syncEnvironments": "Ambientes"
|
||||
}
|
||||
|
||||
288
lang/pt-PT.json
Normal file
288
lang/pt-PT.json
Normal file
@@ -0,0 +1,288 @@
|
||||
{
|
||||
"home": "Início",
|
||||
"realtime": "Tempo real",
|
||||
"graphql": "GraphQL",
|
||||
"settings": "Configurações",
|
||||
"request": "Request",
|
||||
"install_pwa": "Instalar PWA",
|
||||
"support_us": "Apoiar",
|
||||
"tweet": "Tweet",
|
||||
"options": "Opções",
|
||||
"communication": "Comunicação",
|
||||
"endpoint": "Endpoint",
|
||||
"schema": "Schema",
|
||||
"theme": "Tema",
|
||||
"subscribe": "Subscrever",
|
||||
"choose_language": "Escolher idioma",
|
||||
"shortcuts": "Atalhos",
|
||||
"send_request": "Enviar request",
|
||||
"save_to_collections": "Guardar nas coleções",
|
||||
"copy_request_link": "Copiar link do request",
|
||||
"reset_request": "Reiniciar request",
|
||||
"support_us_on": "Apoie-nos",
|
||||
"open_collective": "Open Collective",
|
||||
"paypal": "PayPal",
|
||||
"patreon": "Patreon",
|
||||
"javascript_code": "Código JavaScript",
|
||||
"method": "Método",
|
||||
"path": "Caminho",
|
||||
"label": "Label",
|
||||
"again": "Novamente",
|
||||
"content_type": "Content Type",
|
||||
"raw_input": "Raw input",
|
||||
"parameter_list": "Lista de parâmetros",
|
||||
"raw_request_body": "Raw request body",
|
||||
"show_code": "Mostrar código",
|
||||
"hide_code": "Esconder código",
|
||||
"show_prerequest_script": "Mostrar script de pré-request",
|
||||
"hide_prerequest_script": "Esconder script de pré-request",
|
||||
"authentication": "Autenticação",
|
||||
"authentication_type": "Tipo de autenticação",
|
||||
"include_in_url": "Incluir no URL",
|
||||
"parameters": "Parâmetros",
|
||||
"expand_response": "Expandir response",
|
||||
"collapse_response": "Esconder response",
|
||||
"hide_preview": "Esconder pré-visualização",
|
||||
"preview_html": "Pré-visualizar HTML",
|
||||
"history": "Histórico",
|
||||
"collections": "Coleções",
|
||||
"environments": "Ambientes",
|
||||
"new_environment": "Novo ambiente",
|
||||
"my_new_environment": "O meu novo ambiente",
|
||||
"edit_environment": "Editar ambiente",
|
||||
"env_variable_list": "Lista de variáveis",
|
||||
"invalid_environment_name": "Por favor adicione um nome válido para o ambiente",
|
||||
"use_environment": "Usar ambiente",
|
||||
"add_one_variable": "(adicione pelo menos uma variável)",
|
||||
"import_curl": "Importar cURL",
|
||||
"import": "Importar",
|
||||
"generate_code": "Gerar código",
|
||||
"request_type": "Tipo do request",
|
||||
"generated_code": "Código gerado",
|
||||
"status": "Status",
|
||||
"headers": "Headers",
|
||||
"websocket": "WebSocket",
|
||||
"waiting_for_connection": "(a aguardar ligação)",
|
||||
"message": "Mensagem",
|
||||
"sse": "SSE",
|
||||
"server": "Servidor",
|
||||
"events": "Eventos",
|
||||
"url": "URL",
|
||||
"get_schema": "Obter schema",
|
||||
"header_list": "Lista de headers",
|
||||
"add_new": "Adicionar novo",
|
||||
"response": "Response",
|
||||
"query": "Query",
|
||||
"queries": "Queries",
|
||||
"query_variables": "Variáveis",
|
||||
"mutations": "Mutações",
|
||||
"subscriptions": "Assinaturas",
|
||||
"types": "Tipos",
|
||||
"send": "Enviar",
|
||||
"background": "Fundo",
|
||||
"color": "Cor",
|
||||
"labels": "Labels",
|
||||
"multi_color": "Multi cor",
|
||||
"enabled": "Ativado",
|
||||
"disabled": "Desativado",
|
||||
"proxy": "Proxy",
|
||||
"postwoman_official_proxy_hosting": "A proxy oficial do Postwoman é alojada por Apollo Software.",
|
||||
"read_the": "Leia a",
|
||||
"apollosw_privacy_policy": "política de privacidade do Apollo Software",
|
||||
"contact_us": "Contacto",
|
||||
"connect": "Ligar",
|
||||
"disconnect": "Desligar",
|
||||
"start": "Começar",
|
||||
"stop": "Parar",
|
||||
"access_token": "Token de acesso",
|
||||
"token_list": "Lista de Tokens",
|
||||
"get_token": "Obter novo Token",
|
||||
"manage_token": "Gerir Tokens de acesso",
|
||||
"save_token": "Guardar Token de acesso",
|
||||
"use_token": "Usar Token guardado",
|
||||
"request_token": "Request Token",
|
||||
"save_token_req": "Guardar Token Request",
|
||||
"manage_token_req": "Gerir Token Request",
|
||||
"use_token_req": "Usar Token Request",
|
||||
"token_req_name": "Nome do Request",
|
||||
"token_req_details": "Detalhes do Request",
|
||||
"token_name": "Nome do Token",
|
||||
"oidc_discovery_url": "OIDC Discovery URL",
|
||||
"auth_url": "URL de autenticação",
|
||||
"access_token_url": "URL do Token de acesso",
|
||||
"client_id": "ID do cliente",
|
||||
"scope": "Scope",
|
||||
"state": "Estado",
|
||||
"token_req_list": "Lista de Token Request",
|
||||
"no_path": "Sem caminho",
|
||||
"no_label": "Sem label",
|
||||
"prerequest_script": "Script de pre-request",
|
||||
"no_prerequest_script": "Sem script de pre-request",
|
||||
"search": "Procurar",
|
||||
"history_empty": "O histórico está vazio",
|
||||
"history_deleted": "Apagar histórico",
|
||||
"clear": "Limpar",
|
||||
"clear_all": "Limpar tudo",
|
||||
"cleared": "Limpo",
|
||||
"close": "Fechar",
|
||||
"sort": "Ordenar",
|
||||
"time": "Tempo",
|
||||
"duration": "Duração",
|
||||
"no_duration": "Sem duração",
|
||||
"show_more": "Morar mais",
|
||||
"hide_more": "Esconder",
|
||||
"collection": "Coleção",
|
||||
"current_collection": "Coleção atual",
|
||||
"select_collection": "Selecionar uma coleção",
|
||||
"create_collection": "Criar uma coleção",
|
||||
"new": "Novo",
|
||||
"import_export": "Importar / Exportar",
|
||||
"more": "Mais",
|
||||
"folder": "Pasta",
|
||||
"new_folder": "Nova pasta",
|
||||
"my_new_folder": "A minha nova pasta",
|
||||
"folder_empty": "A pasta está vazia",
|
||||
"edit_folder": "Editar pasta",
|
||||
"edit": "Editar",
|
||||
"delete": "Apagar",
|
||||
"deleted": "Apagado",
|
||||
"undo": "Reverter",
|
||||
"collection_empty": "A coleção está vazia",
|
||||
"invalid_collection_name": "Por favor adicione um nome válido para a coleção",
|
||||
"new_collection": "Nova coleção",
|
||||
"my_new_collection": "A minha nova coleção",
|
||||
"edit_collection": "Editar coleção",
|
||||
"edit_request": "Editar Request",
|
||||
"save_request_as": "Guardar Request como",
|
||||
"export": "Exportar",
|
||||
"connecting_to": "A ligar-se a {name}...",
|
||||
"connected": "Ligado",
|
||||
"connected_to": "Ligado a {name}",
|
||||
"disconnected": "Desligado",
|
||||
"disconnected_from": "Desligado de {name}",
|
||||
"something_went_wrong": "Algo correu mal!",
|
||||
"error_occurred": "Ocorreu um erro.",
|
||||
"browser_support_sse": "Parece que este browser não suporta Server Sent Events.",
|
||||
"log": "Registo",
|
||||
"no_url": "Sem URL",
|
||||
"run_query": "Correr Query",
|
||||
"copy_query": "Copiar Query",
|
||||
"kinda_dark": "Meio escuro",
|
||||
"clearly_white": "Claramente branco",
|
||||
"just_black": "Só preto",
|
||||
"auto_system": "Automático (sistema)",
|
||||
"green": "Verde",
|
||||
"yellow": "Amarelo",
|
||||
"pink": "Rosa",
|
||||
"red": "Vermelho",
|
||||
"purple": "Roxo",
|
||||
"orange": "Cor de laranja",
|
||||
"cyan": "Ciano",
|
||||
"blue": "Azul",
|
||||
"loading": "A carregar...",
|
||||
"fetching": "A obter...",
|
||||
"waiting_send_req": "(a aguardar o envio do request)",
|
||||
"waiting_receive_response": "(a aguardar a response)",
|
||||
"waiting_receive_schema": "(a aguardar o schema)",
|
||||
"gql_prettify_invalid_query": "Não é possível embelezar uma query inválida, resolva os erros de syntax da query e tente novamente",
|
||||
"prettify_query": "Embelezar a Query",
|
||||
"cancel": "Cancelar",
|
||||
"save": "Guardar",
|
||||
"dismiss": "Ignorar",
|
||||
"are_you_sure": "Tem a certeza?",
|
||||
"yes": "Sim",
|
||||
"no": "Não",
|
||||
"restore": "Restaurar",
|
||||
"add_star": "Adicionar estrela",
|
||||
"remove_star": "Remover estrela",
|
||||
"nothing_found": "Não foram encontrados resultados",
|
||||
"replace_current": "Substituir atual",
|
||||
"replace_json": "Substituir com JSON",
|
||||
"preserve_current": "Preservar atual",
|
||||
"import_json": "Importar de JSON",
|
||||
"download_file": "Transferir ficheiro",
|
||||
"upload_file": "Enviar ficheiro",
|
||||
"copy_response": "Copiar resposta",
|
||||
"copy_code": "Copiar código",
|
||||
"copy_schema": "Copiar Schema",
|
||||
"use_request": "Usar request",
|
||||
"documentation": "Documentação",
|
||||
"docs": "Docs",
|
||||
"reset_default": "Restaurar para o padrão",
|
||||
"fields": "Campos",
|
||||
"deprecated": "Descontinuado",
|
||||
"add_one_header": "(adicione pelo menos um header)",
|
||||
"add_one_parameter": "(adicione pelo menos um parâmetro)",
|
||||
"header_count": "header {count}",
|
||||
"parameter_count": "parâmetro {count}",
|
||||
"variable_count": "variável {count}",
|
||||
"value_count": "valor {count}",
|
||||
"send_request_first": "Envie um request primeiro",
|
||||
"generate_docs": "Gerar documentação",
|
||||
"generate_docs_message": "Importar todas as coleções do Postwoman para gerar documentação on-the-go.",
|
||||
"generate_docs_first": "Gerar documentação primeiro",
|
||||
"docs_generated": "Documentação gerada",
|
||||
"import_collections": "Importar coleções",
|
||||
"optional": "(opcional)",
|
||||
"json": "JSON",
|
||||
"none": "Nenhum",
|
||||
"username": "Utilizador",
|
||||
"password": "Palavra-passe",
|
||||
"token": "Token",
|
||||
"payload": "Payload",
|
||||
"choose_file": "Escolher ficheiro",
|
||||
"file_imported": "Ficheiro importado",
|
||||
"import_failed": "A importação falhou",
|
||||
"f12_details": "(F12 para detalhes)",
|
||||
"we_use_cookies": "Nós usamos cookies",
|
||||
"copied_to_clipboard": "Copiado para a área de transferência",
|
||||
"finished_in": "Concluído em {duration}ms",
|
||||
"check_console_details": "Verifique a consola para mais detalhes.",
|
||||
"check_graphql_valid": "Verifique o URL para ver se é um GraphQL endpoint válido",
|
||||
"graphql_introspect_failed": "Falha ao obter detalhes do schema.",
|
||||
"download_started": "Transferência iniciada",
|
||||
"url_invalid_format": "O URL não está corretamente formatado",
|
||||
"curl_invalid_format": "cURL não está corretamente formatado",
|
||||
"enable_proxy": "Tente ativar o Proxy",
|
||||
"complete_config_urls": "Por favor complete a configuração dos URLs.",
|
||||
"token_request_saved": "Token request guardado",
|
||||
"donate_info1": "Se está a gostar de utilizar o Postwoman, por favor considere fazer um donativo como sinal de agradecimento.",
|
||||
"donate_info2": "Pode apoiar o desenvolvimento do Postwoman com os seguintes métodos:",
|
||||
"one_time_recurring": "Uma vez ou recorrente",
|
||||
"one_time": "Uma vez",
|
||||
"recurring": "Recorrente",
|
||||
"wiki": "Wiki",
|
||||
"error": "Erro",
|
||||
"go_home": "Voltar ao início",
|
||||
"reload": "Recarregar",
|
||||
"enter_curl": "Inserir cURL",
|
||||
"empty": "Vazio",
|
||||
"extensions": "Extensões",
|
||||
"extensions_use_toggle": "Use a extensão do browser para enviar requests (se disponível)",
|
||||
"extensions_info1": "A extensão que simplifica o acesso ao Postwoman",
|
||||
"extensions_info2": "Obtenha a extensão do Postwoman!",
|
||||
"installed": "Instalado",
|
||||
"login_with": "Entrar com",
|
||||
"logged_out": "Saiu com sucesso",
|
||||
"login_success": "Entrou com sucesso",
|
||||
"logout": "Sair",
|
||||
"account": "Conta",
|
||||
"scrollInto_use_toggle": "Scroll automático",
|
||||
"sync": "Sincronizar",
|
||||
"syncHistory": "Histórico",
|
||||
"syncCollections": "Coleções",
|
||||
"syncEnvironments": "Ambientes",
|
||||
"turn_on": "Ativar",
|
||||
"login_first": "Entre primeiro",
|
||||
"paste_a_note": "Cole uma nota",
|
||||
"import_from_sync": "Importar from Sync",
|
||||
"notes": "Notas",
|
||||
"socketio": "Socket.IO",
|
||||
"event_name": "Nome do evento",
|
||||
"mqtt": "MQTT",
|
||||
"mqtt_topic": "Tópico",
|
||||
"mqtt_topic_title": "Publicar / Subscrever tópico",
|
||||
"mqtt_publish": "Publicar",
|
||||
"mqtt_subscribe": "Subscrever",
|
||||
"mqtt_unsubscribe": "Cancelar subscrição"
|
||||
}
|
||||
276
lang/tr-TR.json
276
lang/tr-TR.json
@@ -4,8 +4,8 @@
|
||||
"graphql": "GraphQL",
|
||||
"settings": "Ayarlar",
|
||||
"request": "İstek",
|
||||
"install_pwa": "PWA yükle",
|
||||
"support_us": "Bize destek ol",
|
||||
"install_pwa": "PWA Yükle",
|
||||
"support_us": "Bize Destek Ol",
|
||||
"tweet": "Tweet",
|
||||
"options": "Options",
|
||||
"communication": "İletişim",
|
||||
@@ -13,62 +13,68 @@
|
||||
"schema": "Taslak",
|
||||
"theme": "Tema",
|
||||
"subscribe": "Abonelik",
|
||||
"choose_language": "Dil seç",
|
||||
"choose_language": "Dil Seç",
|
||||
"shortcuts": "Kısayollar",
|
||||
"send_request": "İstek gönder",
|
||||
"save_to_collections": "Koleksiyonları kaydet",
|
||||
"copy_request_link": "İstek adresini kopyala",
|
||||
"reset_request": "İstekleri resetle",
|
||||
"support_us_on": "Bizi destekle",
|
||||
"send_request": "İstek Gönder",
|
||||
"save_to_collections": "Koleksiyonları Kaydet",
|
||||
"copy_request_link": "İstek adresini Kopyala",
|
||||
"reset_request": "İstekleri Sıfırla",
|
||||
"open_collective": "Open Collective",
|
||||
"paypal": "PayPal",
|
||||
"patreon": "Patreon",
|
||||
"javascript_code": "JavaScript code",
|
||||
"javascript_code": "JavaScript Code",
|
||||
"method": "Metot",
|
||||
"path": "Yol",
|
||||
"label": "Etiket",
|
||||
"again": "Yeniden",
|
||||
"content_type": "İçerik tipi",
|
||||
"raw_input": "Raw giriş",
|
||||
"parameter_list": "Parametre listesi",
|
||||
"raw_request_body": "Raw istek içeriği",
|
||||
"show_code": "Kodu göster",
|
||||
"hide_code": "Kodu gizle",
|
||||
"show_prerequest_script": "Pre-Request scriptini göster",
|
||||
"hide_prerequest_script": "Pre-Request scriptini gizle",
|
||||
"content_type": "İçerik Tipi",
|
||||
"raw_input": "Raw Giriş",
|
||||
"parameter_list": "Parametre Listesi",
|
||||
"raw_request_body": "Raw İstek İçeriği",
|
||||
"show_code": "Kodu Göster",
|
||||
"hide_code": "Kodu Gizle",
|
||||
"show_prerequest_script": "Pre-Request Scriptini Göster",
|
||||
"hide_prerequest_script": "Pre-Request Scriptini Gizle",
|
||||
"authentication": "Authentication",
|
||||
"authentication_type": "Authentication tipi",
|
||||
"include_in_url": "URL'den içeri aktar",
|
||||
"parameters": "Parametre",
|
||||
"expand_response": "Cevabı genişlet",
|
||||
"collapse_response": "Cevap daralt",
|
||||
"hide_preview": "Görüntülemeyi gizle",
|
||||
"preview_html": "HTML formatında görüntüle",
|
||||
"authentication_type": "Authentication Tipi",
|
||||
"include_in_url": "URL'den İçeri Aktar",
|
||||
"parameters": "Parametreler",
|
||||
"expand_response": "Yanıtı Genişlet",
|
||||
"collapse_response": "Yanıtı Daralt",
|
||||
"hide_preview": "Önizlemeyi Gizle",
|
||||
"preview_html": "HTML Önizleme",
|
||||
"history": "Geçmiş",
|
||||
"collections": "Koleksiyonlar",
|
||||
"import_curl": "cURL içeri aktar",
|
||||
"environments": "Environments",
|
||||
"new_environment": "Yeni Ortam",
|
||||
"my_new_environment": "Yeni Ortamım",
|
||||
"edit_environment": "Ortamı Düzenle",
|
||||
"env_variable_list": "Değişken Listesi",
|
||||
"invalid_environment_name": "Lütfen ortam için geçerli bir ad girin. ",
|
||||
"use_environment": "Ortam Kullanımı",
|
||||
"add_one_variable": "(en az bir değişken ekleyin.)",
|
||||
"import_curl": "cURL İçeri Aktar",
|
||||
"import": "İçeri Aktar",
|
||||
"generate_code": "Kod Üret",
|
||||
"request_type": "Request tipi",
|
||||
"request_type": "Request Tipi",
|
||||
"generated_code": "Üretilen Kod",
|
||||
"status": "Durum",
|
||||
"headers": "Headers",
|
||||
"websocket": "WebSocket",
|
||||
"waiting_for_connection": "(esperando por conexión)",
|
||||
"waiting_for_connection": "(bağlantı bekleniyor)",
|
||||
"message": "Mesaj",
|
||||
"sse": "SSE",
|
||||
"server": "Server",
|
||||
"events": "Events",
|
||||
"url": "URL",
|
||||
"get_schema": "Taslak",
|
||||
"header_list": "Header listesi",
|
||||
"get_schema": "Şema",
|
||||
"header_list": "Header Listesi",
|
||||
"add_new": "Yeni Ekle",
|
||||
"response": "Cevap",
|
||||
"response": "Yanıt",
|
||||
"query": "Sorgu",
|
||||
"queries": "Sorgular",
|
||||
"query_variables": "Değişkenler",
|
||||
"mutations": "Değişimler",
|
||||
"subscriptions": "Aboneler",
|
||||
"subscriptions": "Abonelikler",
|
||||
"types": "Tipler",
|
||||
"send": "Gönder",
|
||||
"background": "Arka Plan",
|
||||
@@ -76,17 +82,205 @@
|
||||
"labels": "Etiketler",
|
||||
"multi_color": "Çoklu renk",
|
||||
"enabled": "Aktif",
|
||||
"disabled": "Aktif değil",
|
||||
"disabled": "Pasif",
|
||||
"proxy": "Proxy",
|
||||
"postwoman_official_proxy_hosting": "Proxy Oficial de Postwoman está hospedado en Apollo Software.",
|
||||
"postwoman_official_proxy_hosting": "Postwoman Offical Proxy Apollo Software tarafından barındırılmaktadır.",
|
||||
"read_the": "Leer la",
|
||||
"apollosw_privacy_policy": "Apollo Software gizlilik politikaları",
|
||||
"contact_us": "Bizimle iletişime geçin",
|
||||
"apollosw_privacy_policy": "Apollo Software Gizlilik Politikaları",
|
||||
"contact_us": "Bizimle İletişime Geçin",
|
||||
"connect": "Bağlan",
|
||||
"disconnect": "Kesmek",
|
||||
"disconnect": "Bağlantıyı Kes",
|
||||
"start": "Başla",
|
||||
"stop": "Durdurmak",
|
||||
"syncHistory": "History",
|
||||
"syncCollections": "Collections",
|
||||
"syncEnvironments": "Environments"
|
||||
"stop": "Durdur",
|
||||
"access_token": "Access Token",
|
||||
"token_list": "Token Listesi",
|
||||
"get_token": "Yeni Token",
|
||||
"manage_token": "Access Token'ı Yönet",
|
||||
"save_token": "Access Token'ı Kaydet",
|
||||
"use_token": "Kayıtlı Token'ı Kullan",
|
||||
"request_token": "İstek Token'ı",
|
||||
"save_token_req": "Token İsteğini Kaydet",
|
||||
"manage_token_req": "Token İsteğini Yönet",
|
||||
"use_token_req": "Token İsteğini Kullan",
|
||||
"token_req_name": "İstek Adı",
|
||||
"token_req_details": "İstek Detayları",
|
||||
"token_name": "Token Adı",
|
||||
"oidc_discovery_url": "OIDC Keşif URL'i",
|
||||
"auth_url": "Auth URL",
|
||||
"access_token_url": "Access Token URL",
|
||||
"client_id": "Client ID",
|
||||
"scope": "Scope",
|
||||
"state": "Durum",
|
||||
"token_req_list": "Token İstek Listesi",
|
||||
"no_path": "Yol Yok",
|
||||
"no_label": "Etiket Yok",
|
||||
"prerequest_script": "Pre-Request Script",
|
||||
"no_prerequest_script": "Pre-request Script'i yok",
|
||||
"search": "Ara",
|
||||
"history_empty": "Geçmiş boş",
|
||||
"history_deleted": "Geçmiş Silindi",
|
||||
"clear": "Temizle",
|
||||
"clear_all": "Hepsini Temizle",
|
||||
"cleared": "Temizlendi",
|
||||
"close": "Kapat",
|
||||
"sort": "Sırala",
|
||||
"time": "Zaman",
|
||||
"duration": "Süre",
|
||||
"no_duration": "Süre",
|
||||
"show_more": "Daha Fazla Göster",
|
||||
"hide_more": "Daha Fazlasını Gizle",
|
||||
"collection": "Koleksiyon",
|
||||
"current_collection": "Mevcut Koleksiyon",
|
||||
"select_collection": "Koleksiyon Seç",
|
||||
"create_collection": "Koleksiyon Yarat",
|
||||
"new": "Yeni",
|
||||
"import_export": "İçe Aktar / Dışa Aktar",
|
||||
"more": "Daha Fazla",
|
||||
"folder": "Dosya",
|
||||
"new_folder": "Yeni Dosya",
|
||||
"my_new_folder": "Yeni Dosyam",
|
||||
"folder_empty": "Dosya Boş",
|
||||
"edit_folder": "Dosyayı Düzenle",
|
||||
"edit": "Düzenle",
|
||||
"delete": "Sil",
|
||||
"deleted": "Silindi",
|
||||
"undo": "Geri Al",
|
||||
"collection_empty": "Koleksiyon boş",
|
||||
"invalid_collection_name": "Lütfen koleksiyon için geçerli bir isim girin.",
|
||||
"new_collection": "Yeni Koleksiyon",
|
||||
"my_new_collection": "Yeni Koleksiyonum",
|
||||
"edit_collection": "Koleksiyon'u Düzenle",
|
||||
"edit_request": "İsteği Düzenle",
|
||||
"save_request_as": "İsteği Farklı Kaydet",
|
||||
"export": "Dışa Aktar",
|
||||
"connecting_to": "Bağlanılıyor {name}...",
|
||||
"connected": "Bağlandı",
|
||||
"connected_to": "Bağlandı {name}",
|
||||
"disconnected": "Bağlantı Kesildi",
|
||||
"disconnected_from": "{name} ile Bağlantı Kesildi",
|
||||
"something_went_wrong": "Bir Şeyler Yanlış Gitti!",
|
||||
"error_occurred": "Bir Hata Oluştu.",
|
||||
"browser_support_sse": "Bu tarayıcıda Server-Sent Events desteği yok gibi görünüyor.",
|
||||
"log": "Log",
|
||||
"no_url": "URL Yok",
|
||||
"run_query": "Sorgu Çalıştı",
|
||||
"copy_query": "Sorgu Kopyala",
|
||||
"kinda_dark": "Kinda Dark",
|
||||
"clearly_white": "Açıkça Beyaz",
|
||||
"just_black": "Sadece Siyah",
|
||||
"auto_system": "Otomatik (sistem)",
|
||||
"green": "Yeşil",
|
||||
"yellow": "Sarı",
|
||||
"pink": "Pembe",
|
||||
"red": "Kırmızı",
|
||||
"purple": "Mor",
|
||||
"orange": "Turuncu",
|
||||
"cyan": "Camgöbeği",
|
||||
"blue": "Mavi",
|
||||
"loading": "Yükleniyor...",
|
||||
"fetching": "Getiriliyor...",
|
||||
"waiting_send_req": "(istek göndermeyi bekliyor)",
|
||||
"waiting_receive_response": "(yanıt almayı bekliyor)",
|
||||
"waiting_receive_schema": "(schema almayı bekliyor)",
|
||||
"gql_prettify_invalid_query": "Geçersiz sorgu anlaşılamadı, sorgunun syntax hatalarını çözün ve tekrar deneyin.",
|
||||
"prettify_query": "Sorguyu Güzelleştir",
|
||||
"cancel": "İptal",
|
||||
"save": "Kaydet",
|
||||
"dismiss": "Reddet",
|
||||
"are_you_sure": "Emin Misin?",
|
||||
"yes": "Evet",
|
||||
"no": "Hayır",
|
||||
"restore": "Onar",
|
||||
"add_star": "Yıldız Ekle",
|
||||
"remove_star": "Yıldızı Sil",
|
||||
"nothing_found": "Hiçbir Şey Bulunamadı",
|
||||
"replace_current": "Şimdikini Değiştir",
|
||||
"replace_json": "JSON ile Değiştir",
|
||||
"preserve_current": "Şimdikini Koru",
|
||||
"import_json": "JSON'dan içeri Aktar",
|
||||
"download_file": "Dosya İndir",
|
||||
"upload_file": "Dosya Yükle",
|
||||
"copy_response": "Yanıtı Kopyala",
|
||||
"copy_code": "Kodu Kopyala",
|
||||
"copy_schema": "Schema'yı Kopyala",
|
||||
"use_request": "İsteği Kullan",
|
||||
"documentation": "Dökümantasyon",
|
||||
"docs": "Dökümanlar",
|
||||
"reset_default": "Varsayılana Sıfırla",
|
||||
"fields": "ALANLAR",
|
||||
"deprecated": "ONAYLANMAMIŞ",
|
||||
"add_one_header": "(en az bir header ekleyin)",
|
||||
"add_one_parameter": "(en az bir parametre ekleyin)",
|
||||
"header_count": "header {count}",
|
||||
"parameter_count": "parametre {count}",
|
||||
"variable_count": "değişken {count}",
|
||||
"value_count": "değer {count}",
|
||||
"send_request_first": "Önce İstek Gönder",
|
||||
"generate_docs": "Belge Oluştur",
|
||||
"generate_docs_message": "Faal iken Belge Oluşturmak İçin Postwoman Koleksiyonunu İçe Aktarın.",
|
||||
"generate_docs_first": "Önce belge oluştur",
|
||||
"docs_generated": "Oluşturulan belgeler",
|
||||
"import_collections": "İçe Koleksiyon Aktar",
|
||||
"optional": "(isteğe bağlı)",
|
||||
"json": "JSON",
|
||||
"none": "None",
|
||||
"username": "Kullanıcı Adı",
|
||||
"password": "Şifre",
|
||||
"token": "Token",
|
||||
"payload": "Payload",
|
||||
"choose_file": "Bir Dosya Seç",
|
||||
"file_imported": "Dosya İçe Aktarıldı",
|
||||
"import_failed": "İçe Aktarma Hatası",
|
||||
"f12_details": "(Detaylar için F12)",
|
||||
"we_use_cookies": "Cookie'leri kullanıyoruz",
|
||||
"copied_to_clipboard": "Panoya Kopyalandı",
|
||||
"finished_in": "{duration}ms içinde Tamamlandı.",
|
||||
"check_console_details": "Detaylar için Konsola Bakın.",
|
||||
"check_graphql_valid": "Geçerli bir GraphQL enpoint'i olup olmadığını görmek için URL'i kontrol edin.",
|
||||
"graphql_introspect_failed": "Schema Detaylarını Getirirken Hata Oluştu.",
|
||||
"download_started": "İndirme Başladı.",
|
||||
"url_invalid_format": "URL düzgün biçimlendirilmemiş",
|
||||
"curl_invalid_format": "cURL düzgün biçimlendirilmemiş",
|
||||
"enable_proxy": "Proxy'i etkinleştirmeyi deneyin",
|
||||
"complete_config_urls": "Lütfen konfigürasyon url'lerini doldurun.",
|
||||
"token_request_saved": "Token isteği kaydedildi",
|
||||
"donate_info1": "Postwoman kullanma verimliliğinden memnunsanız, bağış yapmayı bir takdir işareti olarak düşünün.",
|
||||
"donate_info2": "Postwoman gelişimini aşağıdaki yöntemlerle destekleyebilirsiniz: ",
|
||||
"one_time_recurring": "Bir Kerelik veya Tekrarlanan",
|
||||
"one_time": "Bir Kere",
|
||||
"recurring": "Tekrarlanan",
|
||||
"wiki": "Wiki",
|
||||
"error": "Hata",
|
||||
"go_home": "Anasayfaya Git",
|
||||
"reload": "Yenile",
|
||||
"enter_curl": "cURL Gir",
|
||||
"empty": "Boş",
|
||||
"extensions": "Eklentiler",
|
||||
"extensions_use_toggle": "İstek göndermek için tarayıcı eklentisini kullanın (varsa)",
|
||||
"extensions_info1": "Postwoman'a erişimi kolaylaştıran tarayıcı eklentisi",
|
||||
"extensions_info2": "Postwoman tarayıcı eklentisini alın!",
|
||||
"installed": "Yüklendi",
|
||||
"login_with": "Giriş",
|
||||
"logged_out": "Çıkış Yapıldı",
|
||||
"login_success": "Successfully logged in",
|
||||
"logout": "Çıkış",
|
||||
"account": "Hesap",
|
||||
"scrollInto_use_toggle": "Otomatik Kaydırma",
|
||||
"sync": "Senkronizasyon",
|
||||
"syncHistory": "Geçmiş",
|
||||
"syncCollections": "Koleksiyonlar",
|
||||
"syncEnvironments": "Ortamlar",
|
||||
"turn_on": "Aç",
|
||||
"login_first": "Önce Giriş Yap",
|
||||
"paste_a_note": "Bir not yapıştır",
|
||||
"import_from_sync": "Senkronizasyondan İçeri Aktar",
|
||||
"notes": "Notlar",
|
||||
"socketio": "Socket.IO",
|
||||
"event_name": "Olay Adı",
|
||||
"mqtt": "MQTT",
|
||||
"mqtt_topic": "Konu",
|
||||
"mqtt_topic_title": "Yayınla / Konuya Abone Ol",
|
||||
"mqtt_publish": "Yayınla",
|
||||
"mqtt_subscribe": "Abone Ol",
|
||||
"mqtt_unsubscribe": "Abonelikten Çık"
|
||||
}
|
||||
|
||||
286
lang/zh-TW.json
Normal file
286
lang/zh-TW.json
Normal file
@@ -0,0 +1,286 @@
|
||||
{
|
||||
"home": "首頁",
|
||||
"realtime": "即時",
|
||||
"graphql": "GraphQL",
|
||||
"settings": "設定",
|
||||
"request": "請求",
|
||||
"install_pwa": "安裝 PWA 應用程式",
|
||||
"support_us": "支援我們",
|
||||
"tweet": "Tweet",
|
||||
"options": "選項",
|
||||
"communication": "Communication",
|
||||
"endpoint": "節點",
|
||||
"schema": "Schema",
|
||||
"theme": "主題",
|
||||
"subscribe": "訂閱",
|
||||
"choose_language": "語言",
|
||||
"shortcuts": "快捷鍵",
|
||||
"send_request": "發送請求",
|
||||
"save_to_collections": "儲存到收藏庫",
|
||||
"copy_request_link": "複製請求連結",
|
||||
"reset_request": "重設請求",
|
||||
"open_collective": "開啟收藏庫",
|
||||
"paypal": "PayPal",
|
||||
"patreon": "Patreon",
|
||||
"javascript_code": "JavaScript 程式碼",
|
||||
"method": "方法",
|
||||
"path": "路徑",
|
||||
"label": "標籤",
|
||||
"content_type": "Content Type",
|
||||
"raw_input": "Raw input",
|
||||
"parameter_list": "Parameter List",
|
||||
"raw_request_body": "Raw Request Body",
|
||||
"show_code": "顯示語法",
|
||||
"hide_code": "隱藏語法",
|
||||
"show_prerequest_script": "Show Pre-Request Script",
|
||||
"hide_prerequest_script": "Hide Pre-Request Script",
|
||||
"authentication": "驗證",
|
||||
"authentication_type": "驗證形式",
|
||||
"include_in_url": "Include in URL",
|
||||
"parameters": "參數",
|
||||
"expand_response": "展開回應",
|
||||
"collapse_response": "收起回應",
|
||||
"hide_preview": "隱藏預覽",
|
||||
"preview_html": "預覽 HTML",
|
||||
"history": "歷史",
|
||||
"collections": "收藏庫",
|
||||
"environments": "環境",
|
||||
"new_environment": "新環境",
|
||||
"my_new_environment": "我的新環境",
|
||||
"edit_environment": "編輯環境",
|
||||
"env_variable_list": "變數列表",
|
||||
"invalid_environment_name": "Please provide a valid name for the environment",
|
||||
"use_environment": "使用環境",
|
||||
"add_one_variable": "(增加至少一個變數)",
|
||||
"import_curl": "匯入 cURL",
|
||||
"import": "匯入",
|
||||
"generate_code": "產生語法",
|
||||
"request_type": "請求型態",
|
||||
"generated_code": "已產生語法",
|
||||
"status": "狀態",
|
||||
"headers": "表頭",
|
||||
"websocket": "WebSocket",
|
||||
"waiting_for_connection": "(等待連線)",
|
||||
"message": "訊息",
|
||||
"sse": "SSE",
|
||||
"server": "伺服器",
|
||||
"events": "事件",
|
||||
"url": "URL",
|
||||
"get_schema": "Get schema",
|
||||
"header_list": "表頭清單",
|
||||
"add_new": "Add new",
|
||||
"response": "回應",
|
||||
"query": "Query",
|
||||
"queries": "Queries",
|
||||
"query_variables": "Variables",
|
||||
"mutations": "Mutations",
|
||||
"subscriptions": "Subscriptions",
|
||||
"types": "型態",
|
||||
"send": "傳送",
|
||||
"background": "背景",
|
||||
"color": "顏色",
|
||||
"labels": "標籤",
|
||||
"multi_color": "多個顏色",
|
||||
"enabled": "啟用",
|
||||
"disabled": "停用",
|
||||
"proxy": "代理伺服器",
|
||||
"postwoman_official_proxy_hosting": "Postwoman 的官方代理伺服器架設在 Apollo Software。",
|
||||
"read_the": "閱讀",
|
||||
"apollosw_privacy_policy": "Apollo 軟體隱私政策",
|
||||
"contact_us": "聯絡我們",
|
||||
"connect": "連線",
|
||||
"disconnect": "中斷連線",
|
||||
"start": "開始",
|
||||
"stop": "停止",
|
||||
"access_token": "存取權杖",
|
||||
"token_list": "權杖列表",
|
||||
"get_token": "取得新的權杖",
|
||||
"manage_token": "管理存取權杖",
|
||||
"save_token": "儲存存取權杖",
|
||||
"use_token": "使用已儲存的權杖",
|
||||
"request_token": "要求權杖",
|
||||
"save_token_req": "Save Token Request",
|
||||
"manage_token_req": "Manage Token Request",
|
||||
"use_token_req": "Use Token Request",
|
||||
"token_req_name": "請求名稱",
|
||||
"token_req_details": "請求細節",
|
||||
"token_name": "權杖名稱",
|
||||
"oidc_discovery_url": "OIDC Discovery URL",
|
||||
"auth_url": "Auth URL",
|
||||
"access_token_url": "Access Token URL",
|
||||
"client_id": "Client ID",
|
||||
"scope": "Scope",
|
||||
"state": "State",
|
||||
"token_req_list": "Token Request List",
|
||||
"no_path": "沒有路徑",
|
||||
"no_label": "沒有標籤",
|
||||
"prerequest_script": "Pre-Request Script",
|
||||
"no_prerequest_script": "No pre-request script",
|
||||
"search": "搜尋",
|
||||
"history_empty": "沒有歷史紀錄",
|
||||
"history_deleted": "已刪除歷史紀錄",
|
||||
"clear": "清除",
|
||||
"clear_all": "全部清除",
|
||||
"cleared": "已清除",
|
||||
"close": "關閉",
|
||||
"sort": "Sort",
|
||||
"time": "時間",
|
||||
"duration": "Duration",
|
||||
"no_duration": "No duration",
|
||||
"show_more": "顯示更多",
|
||||
"hide_more": "隱藏更多",
|
||||
"collection": "收藏庫",
|
||||
"current_collection": "目前的收藏庫",
|
||||
"select_collection": "選擇一個收藏庫",
|
||||
"create_collection": "建立一個收藏庫",
|
||||
"new": "新增",
|
||||
"import_export": "匯入 / 匯出",
|
||||
"more": "更多",
|
||||
"folder": "資料夾",
|
||||
"new_folder": "新資料夾",
|
||||
"my_new_folder": "我的新資料夾",
|
||||
"folder_empty": "資料夾是空的",
|
||||
"edit_folder": "編輯資料夾",
|
||||
"edit": "編輯",
|
||||
"delete": "刪除",
|
||||
"deleted": "已刪除",
|
||||
"undo": "復原",
|
||||
"collection_empty": "空的收藏庫",
|
||||
"invalid_collection_name": "Please provide a valid name for the collection",
|
||||
"new_collection": "新增收藏庫",
|
||||
"my_new_collection": "我的新收藏庫",
|
||||
"edit_collection": "編輯收藏庫",
|
||||
"edit_request": "編輯請求",
|
||||
"save_request_as": "另存請求",
|
||||
"export": "匯出",
|
||||
"connecting_to": "正在連線到 {name}...",
|
||||
"connected": "已連線",
|
||||
"connected_to": "已連線到 {name}",
|
||||
"disconnected": "已中斷連線",
|
||||
"disconnected_from": "已中斷和 {name} 的連線",
|
||||
"something_went_wrong": "Something went wrong!",
|
||||
"error_occurred": "An error has occurred.",
|
||||
"browser_support_sse": "This browser doesn't seems to have Server Sent Events support.",
|
||||
"log": "紀錄",
|
||||
"no_url": "No URL",
|
||||
"run_query": "Run Query",
|
||||
"copy_query": "Copy Query",
|
||||
"kinda_dark": "有點暗",
|
||||
"clearly_white": "清晰白",
|
||||
"just_black": "就是黑",
|
||||
"auto_system": "自動(使用系統預設)",
|
||||
"green": "綠",
|
||||
"yellow": "黃",
|
||||
"pink": "粉紅",
|
||||
"red": "紅",
|
||||
"purple": "紫",
|
||||
"orange": "橘",
|
||||
"cyan": "青",
|
||||
"blue": "藍",
|
||||
"loading": "載入中...",
|
||||
"fetching": "正在取得...",
|
||||
"waiting_send_req": "(正等待傳送請求)",
|
||||
"waiting_receive_response": "(正等待接收回應)",
|
||||
"waiting_receive_schema": "(waiting to receive schema)",
|
||||
"gql_prettify_invalid_query": "Couldn't prettify an invalid query, solve query syntax errors and try again",
|
||||
"prettify_query": "Prettify Query",
|
||||
"cancel": "取消",
|
||||
"save": "儲存",
|
||||
"dismiss": "我知道了",
|
||||
"are_you_sure": "你確定嗎?",
|
||||
"yes": "是",
|
||||
"no": "否",
|
||||
"restore": "還原",
|
||||
"add_star": "加星星",
|
||||
"remove_star": "移除星星",
|
||||
"nothing_found": "找不到",
|
||||
"replace_current": "取代現有的",
|
||||
"replace_json": "以 JSON 取代",
|
||||
"preserve_current": "保留現有的",
|
||||
"import_json": "從 JSON 匯入",
|
||||
"download_file": "下載檔案",
|
||||
"upload_file": "上傳檔案",
|
||||
"copy_response": "複製回應",
|
||||
"copy_code": "複製語法",
|
||||
"copy_schema": "Copy Schema",
|
||||
"use_request": "Use request",
|
||||
"documentation": "文件",
|
||||
"docs": "文件",
|
||||
"reset_default": "回復預設值",
|
||||
"fields": "FIELDS",
|
||||
"deprecated": "DEPRECATED",
|
||||
"add_one_header": "(add at least one header)",
|
||||
"add_one_parameter": "(add at least one parameter)",
|
||||
"header_count": "header {count}",
|
||||
"parameter_count": "parameter {count}",
|
||||
"variable_count": "variable {count}",
|
||||
"value_count": "value {count}",
|
||||
"send_request_first": "Send a request first",
|
||||
"generate_docs": "產生文件",
|
||||
"generate_docs_message": "Import any Postwoman Collection to Generate Documentation on-the-go.",
|
||||
"generate_docs_first": "先產生文件",
|
||||
"docs_generated": "已產生文件",
|
||||
"import_collections": "Import collections",
|
||||
"optional": "(選填)",
|
||||
"json": "JSON",
|
||||
"none": "無",
|
||||
"username": "帳號",
|
||||
"password": "密碼",
|
||||
"token": "權杖",
|
||||
"payload": "Payload",
|
||||
"choose_file": "選擇一個檔案",
|
||||
"file_imported": "檔案已匯入",
|
||||
"import_failed": "匯入失敗",
|
||||
"f12_details": "(F12 for details)",
|
||||
"we_use_cookies": "我們使用 cookies",
|
||||
"copied_to_clipboard": "已複製到剪貼簿",
|
||||
"finished_in": "回應時間: {duration}ms",
|
||||
"check_console_details": "Check console for details.",
|
||||
"check_graphql_valid": "Check the URL to see if it is a valid GraphQL endpoint",
|
||||
"graphql_introspect_failed": "Failed fetching schema details.",
|
||||
"download_started": "已開始下載",
|
||||
"url_invalid_format": "URL is not formatted properly",
|
||||
"curl_invalid_format": "cURL is not formatted properly",
|
||||
"enable_proxy": "試著啟用代理伺服器",
|
||||
"complete_config_urls": "Please complete configuration urls.",
|
||||
"token_request_saved": "Token request saved",
|
||||
"donate_info1": "If you have enjoyed the productivity of using Postwoman, consider donating as a sign of appreciation.",
|
||||
"donate_info2": "You can support Postwoman development via the following methods:",
|
||||
"one_time_recurring": "One-time or recurring",
|
||||
"one_time": "One-time",
|
||||
"recurring": "Recurring",
|
||||
"wiki": "危機",
|
||||
"error": "錯誤",
|
||||
"go_home": "回到首頁",
|
||||
"reload": "重新整理",
|
||||
"enter_curl": "Enter cURL",
|
||||
"empty": "空",
|
||||
"extensions": "擴充元件",
|
||||
"extensions_use_toggle": "使用瀏覽器擴充元件來傳送請求(如果有的話)",
|
||||
"extensions_info1": "Browser extension that simplifies access to Postwoman",
|
||||
"extensions_info2": "取得 Postwoman 瀏覽器擴充元件",
|
||||
"installed": "已安裝",
|
||||
"login_with": "登入",
|
||||
"logged_out": "已登出",
|
||||
"login_success": "成功登入",
|
||||
"logout": "登出",
|
||||
"account": "帳號",
|
||||
"scrollInto_use_toggle": "自動捲動",
|
||||
"sync": "同步",
|
||||
"syncHistory": "歷史",
|
||||
"syncCollections": "收藏庫",
|
||||
"syncEnvironments": "環境",
|
||||
"turn_on": "打開",
|
||||
"login_first": "請先登入",
|
||||
"paste_a_note": "Paste a note",
|
||||
"import_from_sync": "Import from Sync",
|
||||
"notes": "Notes",
|
||||
"socketio": "Socket.IO",
|
||||
"event_name": "Event Name",
|
||||
"mqtt": "MQTT",
|
||||
"mqtt_topic": "Topic",
|
||||
"mqtt_topic_title": "Publish / Subscribe topic",
|
||||
"mqtt_publish": "發佈",
|
||||
"mqtt_subscribe": "訂閱",
|
||||
"mqtt_unsubscribe": "取消訂閱"
|
||||
}
|
||||
@@ -230,6 +230,12 @@ export default {
|
||||
},
|
||||
{
|
||||
code: "pt",
|
||||
name: "Português",
|
||||
iso: "pt-PT",
|
||||
file: "pt-PT.json",
|
||||
},
|
||||
{
|
||||
code: "pt-br",
|
||||
name: "Português Brasileiro",
|
||||
iso: "pt-BR",
|
||||
file: "pt-BR.json",
|
||||
@@ -240,6 +246,12 @@ export default {
|
||||
iso: "zh-CN",
|
||||
file: "zh-CN.json",
|
||||
},
|
||||
{
|
||||
code: "tw",
|
||||
name: "繁體中文",
|
||||
iso: "zh-TW",
|
||||
file: "zh-TW.json",
|
||||
},
|
||||
{
|
||||
code: "id",
|
||||
name: "Bahasa Indonesia",
|
||||
|
||||
245
package-lock.json
generated
245
package-lock.json
generated
@@ -4165,59 +4165,81 @@
|
||||
"dev": true
|
||||
},
|
||||
"cliui": {
|
||||
"version": "3.2.0",
|
||||
"resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz",
|
||||
"integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=",
|
||||
"version": "5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz",
|
||||
"integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"string-width": "^1.0.1",
|
||||
"strip-ansi": "^3.0.1",
|
||||
"wrap-ansi": "^2.0.0"
|
||||
"string-width": "^3.1.0",
|
||||
"strip-ansi": "^5.2.0",
|
||||
"wrap-ansi": "^5.1.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"ansi-regex": {
|
||||
"version": "2.1.1",
|
||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
|
||||
"integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
|
||||
"version": "4.1.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
|
||||
"integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
|
||||
"dev": true
|
||||
},
|
||||
"is-fullwidth-code-point": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
|
||||
"integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
|
||||
"ansi-styles": {
|
||||
"version": "3.2.1",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
|
||||
"integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"number-is-nan": "^1.0.0"
|
||||
"color-convert": "^1.9.0"
|
||||
}
|
||||
},
|
||||
"string-width": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
|
||||
"integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
|
||||
"color-convert": {
|
||||
"version": "1.9.3",
|
||||
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
|
||||
"integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"code-point-at": "^1.0.0",
|
||||
"is-fullwidth-code-point": "^1.0.0",
|
||||
"strip-ansi": "^3.0.0"
|
||||
"color-name": "1.1.3"
|
||||
}
|
||||
},
|
||||
"color-name": {
|
||||
"version": "1.1.3",
|
||||
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
|
||||
"integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
|
||||
"dev": true
|
||||
},
|
||||
"emoji-regex": {
|
||||
"version": "7.0.3",
|
||||
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
|
||||
"integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==",
|
||||
"dev": true
|
||||
},
|
||||
"string-width": {
|
||||
"version": "3.1.0",
|
||||
"resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
|
||||
"integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"emoji-regex": "^7.0.1",
|
||||
"is-fullwidth-code-point": "^2.0.0",
|
||||
"strip-ansi": "^5.1.0"
|
||||
}
|
||||
},
|
||||
"strip-ansi": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
|
||||
"integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
|
||||
"version": "5.2.0",
|
||||
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
|
||||
"integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ansi-regex": "^2.0.0"
|
||||
"ansi-regex": "^4.1.0"
|
||||
}
|
||||
},
|
||||
"wrap-ansi": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz",
|
||||
"integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=",
|
||||
"version": "5.1.0",
|
||||
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz",
|
||||
"integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"string-width": "^1.0.1",
|
||||
"strip-ansi": "^3.0.1"
|
||||
"ansi-styles": "^3.2.0",
|
||||
"string-width": "^3.0.0",
|
||||
"strip-ansi": "^5.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7059,9 +7081,9 @@
|
||||
"integrity": "sha512-r8EC6NO1sngH/zdD9fiRDLdcgnbayXah+mLgManTaIZJqEC1MZstmnox8KpnI2/fxQwrp5OpCOYWLp4rBl4Jcg=="
|
||||
},
|
||||
"get-caller-file": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz",
|
||||
"integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==",
|
||||
"version": "2.0.5",
|
||||
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
|
||||
"integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
|
||||
"dev": true
|
||||
},
|
||||
"get-stdin": {
|
||||
@@ -7953,12 +7975,6 @@
|
||||
"loose-envify": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"invert-kv": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz",
|
||||
"integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=",
|
||||
"dev": true
|
||||
},
|
||||
"ip": {
|
||||
"version": "1.1.5",
|
||||
"resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz",
|
||||
@@ -8456,15 +8472,6 @@
|
||||
"integrity": "sha1-eZllXoZGwX8In90YfRUNMyTVRRM=",
|
||||
"dev": true
|
||||
},
|
||||
"lcid": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz",
|
||||
"integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"invert-kv": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"leven": {
|
||||
"version": "3.1.0",
|
||||
"resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz",
|
||||
@@ -9466,9 +9473,9 @@
|
||||
}
|
||||
},
|
||||
"node-sass": {
|
||||
"version": "4.14.0",
|
||||
"resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.14.0.tgz",
|
||||
"integrity": "sha512-AxqU+DFpk0lEz95sI6jO0hU0Rwyw7BXVEv6o9OItoXLyeygPeaSpiV4rwQb10JiTghHaa0gZeD21sz+OsQluaw==",
|
||||
"version": "4.14.1",
|
||||
"resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.14.1.tgz",
|
||||
"integrity": "sha512-sjCuOlvGyCJS40R8BscF5vhVlQjNN069NtQ1gSxyK1u9iqvn6tf7O1R4GNowVZfiZUCRt5MmMs1xd+4V/7Yr0g==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"async-foreach": "^0.1.3",
|
||||
@@ -9485,7 +9492,7 @@
|
||||
"node-gyp": "^3.8.0",
|
||||
"npmlog": "^4.0.0",
|
||||
"request": "^2.88.0",
|
||||
"sass-graph": "^2.2.4",
|
||||
"sass-graph": "2.2.5",
|
||||
"stdout-stream": "^1.4.0",
|
||||
"true-case-path": "^1.0.2"
|
||||
},
|
||||
@@ -9826,15 +9833,6 @@
|
||||
"integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=",
|
||||
"dev": true
|
||||
},
|
||||
"os-locale": {
|
||||
"version": "1.4.0",
|
||||
"resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz",
|
||||
"integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"lcid": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"os-tmpdir": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
|
||||
@@ -11888,9 +11886,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"require-main-filename": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz",
|
||||
"integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=",
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
|
||||
"integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==",
|
||||
"dev": true
|
||||
},
|
||||
"requires-port": {
|
||||
@@ -12018,15 +12016,15 @@
|
||||
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
|
||||
},
|
||||
"sass-graph": {
|
||||
"version": "2.2.4",
|
||||
"resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.4.tgz",
|
||||
"integrity": "sha1-E/vWPNHK8JCLn9k0dq1DpR0eC0k=",
|
||||
"version": "2.2.5",
|
||||
"resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.5.tgz",
|
||||
"integrity": "sha512-VFWDAHOe6mRuT4mZRd4eKE+d8Uedrk6Xnh7Sh9b4NGufQLQjOrvf/MQoOdx+0s92L89FeyUUNfU597j/3uNpag==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"glob": "^7.0.0",
|
||||
"lodash": "^4.0.0",
|
||||
"scss-tokenizer": "^0.2.3",
|
||||
"yargs": "^7.0.0"
|
||||
"yargs": "^13.3.2"
|
||||
}
|
||||
},
|
||||
"sass-loader": {
|
||||
@@ -14456,9 +14454,9 @@
|
||||
}
|
||||
},
|
||||
"which-module": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz",
|
||||
"integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=",
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",
|
||||
"integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=",
|
||||
"dev": true
|
||||
},
|
||||
"which-pm-runs": {
|
||||
@@ -14689,80 +14687,91 @@
|
||||
}
|
||||
},
|
||||
"yargs": {
|
||||
"version": "7.1.0",
|
||||
"resolved": "https://registry.npmjs.org/yargs/-/yargs-7.1.0.tgz",
|
||||
"integrity": "sha1-a6MY6xaWFyf10oT46gA+jWFU0Mg=",
|
||||
"version": "13.3.2",
|
||||
"resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.2.tgz",
|
||||
"integrity": "sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"camelcase": "^3.0.0",
|
||||
"cliui": "^3.2.0",
|
||||
"decamelize": "^1.1.1",
|
||||
"get-caller-file": "^1.0.1",
|
||||
"os-locale": "^1.4.0",
|
||||
"read-pkg-up": "^1.0.1",
|
||||
"cliui": "^5.0.0",
|
||||
"find-up": "^3.0.0",
|
||||
"get-caller-file": "^2.0.1",
|
||||
"require-directory": "^2.1.1",
|
||||
"require-main-filename": "^1.0.1",
|
||||
"require-main-filename": "^2.0.0",
|
||||
"set-blocking": "^2.0.0",
|
||||
"string-width": "^1.0.2",
|
||||
"which-module": "^1.0.0",
|
||||
"y18n": "^3.2.1",
|
||||
"yargs-parser": "^5.0.0"
|
||||
"string-width": "^3.0.0",
|
||||
"which-module": "^2.0.0",
|
||||
"y18n": "^4.0.0",
|
||||
"yargs-parser": "^13.1.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"ansi-regex": {
|
||||
"version": "2.1.1",
|
||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
|
||||
"integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
|
||||
"version": "4.1.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
|
||||
"integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
|
||||
"dev": true
|
||||
},
|
||||
"camelcase": {
|
||||
"emoji-regex": {
|
||||
"version": "7.0.3",
|
||||
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
|
||||
"integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==",
|
||||
"dev": true
|
||||
},
|
||||
"find-up": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz",
|
||||
"integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=",
|
||||
"dev": true
|
||||
},
|
||||
"is-fullwidth-code-point": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
|
||||
"integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
|
||||
"resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
|
||||
"integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"number-is-nan": "^1.0.0"
|
||||
"locate-path": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"locate-path": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
|
||||
"integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"p-locate": "^3.0.0",
|
||||
"path-exists": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"p-locate": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
|
||||
"integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"p-limit": "^2.0.0"
|
||||
}
|
||||
},
|
||||
"string-width": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
|
||||
"integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
|
||||
"version": "3.1.0",
|
||||
"resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
|
||||
"integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"code-point-at": "^1.0.0",
|
||||
"is-fullwidth-code-point": "^1.0.0",
|
||||
"strip-ansi": "^3.0.0"
|
||||
"emoji-regex": "^7.0.1",
|
||||
"is-fullwidth-code-point": "^2.0.0",
|
||||
"strip-ansi": "^5.1.0"
|
||||
}
|
||||
},
|
||||
"strip-ansi": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
|
||||
"integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
|
||||
"version": "5.2.0",
|
||||
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
|
||||
"integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ansi-regex": "^2.0.0"
|
||||
"ansi-regex": "^4.1.0"
|
||||
}
|
||||
},
|
||||
"y18n": {
|
||||
"version": "3.2.1",
|
||||
"resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz",
|
||||
"integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=",
|
||||
"dev": true
|
||||
},
|
||||
"yargs-parser": {
|
||||
"version": "5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-5.0.0.tgz",
|
||||
"integrity": "sha1-J17PDX/+Bcd+ZOfIbkzZS/DhIoo=",
|
||||
"version": "13.1.2",
|
||||
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz",
|
||||
"integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"camelcase": "^3.0.0"
|
||||
"camelcase": "^5.0.0",
|
||||
"decamelize": "^1.2.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
"eslint": "^6.8.0",
|
||||
"eslint-plugin-vue": "^6.2.2",
|
||||
"husky": "^4.2.5",
|
||||
"node-sass": "^4.14.0",
|
||||
"node-sass": "^4.14.1",
|
||||
"prettier": "^2.0.5",
|
||||
"pretty-quick": "^2.0.1",
|
||||
"sass-loader": "^8.0.2",
|
||||
|
||||
@@ -848,6 +848,22 @@
|
||||
"
|
||||
/>
|
||||
</li>
|
||||
<li>
|
||||
<span class="select-wrapper">
|
||||
<select
|
||||
:name="'type' + index"
|
||||
@change="
|
||||
$store.commit('setTypeParams', {
|
||||
index,
|
||||
value: $event.target.value,
|
||||
})
|
||||
"
|
||||
>
|
||||
<option value="query" :selected="param.type === 'query'">{{ $t("query") }}</option>
|
||||
<option value="path" :selected="param.type === 'path'">{{ $t("path") }}</option>
|
||||
</select>
|
||||
</span>
|
||||
</li>
|
||||
<div>
|
||||
<li>
|
||||
<button
|
||||
@@ -1305,6 +1321,7 @@ import { tokenRequest, oauthRedirect } from "../assets/js/oauth"
|
||||
import { sendNetworkRequest } from "../functions/network"
|
||||
import { fb } from "../functions/fb"
|
||||
import { getEditorLangForMimeType } from "~/functions/editorutils"
|
||||
import { hasPathParams, addPathParamsToVariables, getQueryParams } from "../functions/requestParams.js"
|
||||
const statusCategories = [
|
||||
{
|
||||
name: "informational",
|
||||
@@ -1492,8 +1509,7 @@ export default {
|
||||
return
|
||||
}
|
||||
let path = this.path
|
||||
let queryString = newValue
|
||||
.filter(({ key }) => !!key)
|
||||
let queryString = getQueryParams(newValue)
|
||||
.map(({ key, value }) => `${key}=${value}`)
|
||||
.join("&")
|
||||
queryString = queryString === "" ? "" : `?${queryString}`
|
||||
@@ -1503,6 +1519,7 @@ export default {
|
||||
path = path + queryString
|
||||
}
|
||||
this.path = path
|
||||
this.setRouteQueryState()
|
||||
},
|
||||
deep: true,
|
||||
},
|
||||
@@ -1573,8 +1590,9 @@ export default {
|
||||
set(value) {
|
||||
this.$store.commit("setState", { value, attribute: "uri" })
|
||||
let url = value
|
||||
if (this.preRequestScript && this.showPreRequestScript) {
|
||||
const environmentVariables = getEnvironmentVariablesFromScript(this.preRequestScript)
|
||||
if ((this.preRequestScript && this.showPreRequestScript) || hasPathParams(this.params)) {
|
||||
let environmentVariables = getEnvironmentVariablesFromScript(this.preRequestScript)
|
||||
environmentVariables = addPathParamsToVariables(this.params, environmentVariables)
|
||||
url = parseTemplateString(value, environmentVariables)
|
||||
}
|
||||
try {
|
||||
@@ -1882,8 +1900,7 @@ export default {
|
||||
return result === "" ? "" : `${result}`
|
||||
},
|
||||
queryString() {
|
||||
const result = this.params
|
||||
.filter(({ key }) => !!key)
|
||||
const result = getQueryParams(this.params)
|
||||
.map(({ key, value }) => `${key}=${encodeURIComponent(value)}`)
|
||||
.join("&")
|
||||
return result === "" ? "" : `?${result}`
|
||||
@@ -2039,8 +2056,10 @@ export default {
|
||||
data: requestBody,
|
||||
credentials: true,
|
||||
}
|
||||
if (preRequestScript) {
|
||||
const environmentVariables = getEnvironmentVariablesFromScript(preRequestScript)
|
||||
|
||||
if (preRequestScript || hasPathParams(this.params)) {
|
||||
let environmentVariables = getEnvironmentVariablesFromScript(preRequestScript)
|
||||
environmentVariables = addPathParamsToVariables(this.params, environmentVariables)
|
||||
requestOptions.url = parseTemplateString(requestOptions.url, environmentVariables)
|
||||
requestOptions.data = parseTemplateString(requestOptions.data, environmentVariables)
|
||||
for (let k in requestOptions.headers) {
|
||||
@@ -2141,6 +2160,7 @@ export default {
|
||||
const body = (this.response.body = payload.data)
|
||||
const date = new Date().toLocaleDateString()
|
||||
const time = new Date().toLocaleTimeString()
|
||||
|
||||
// Addition of an entry to the history component.
|
||||
const entry = {
|
||||
label: this.requestName,
|
||||
@@ -2155,6 +2175,13 @@ export default {
|
||||
duration,
|
||||
star: false,
|
||||
}
|
||||
|
||||
if ((this.preRequestScript && this.showPreRequestScript) || hasPathParams(this.params)) {
|
||||
let environmentVariables = getEnvironmentVariablesFromScript(this.preRequestScript)
|
||||
environmentVariables = addPathParamsToVariables(this.params, environmentVariables)
|
||||
entry.path = parseTemplateString(entry.path, environmentVariables)
|
||||
}
|
||||
|
||||
this.$refs.historyComponent.addEntry(entry)
|
||||
if (fb.currentUser !== null) {
|
||||
if (fb.currentSettings[2].value) {
|
||||
@@ -2180,6 +2207,13 @@ export default {
|
||||
usesScripts: Boolean(this.preRequestScript),
|
||||
preRequestScript: this.preRequestScript,
|
||||
}
|
||||
|
||||
if ((this.preRequestScript && this.showPreRequestScript) || hasPathParams(this.params)) {
|
||||
let environmentVariables = getEnvironmentVariablesFromScript(this.preRequestScript)
|
||||
environmentVariables = addPathParamsToVariables(this.params, environmentVariables)
|
||||
entry.path = parseTemplateString(entry.path, environmentVariables)
|
||||
}
|
||||
|
||||
this.$refs.historyComponent.addEntry(entry)
|
||||
if (fb.currentUser !== null) {
|
||||
if (fb.currentSettings[2].value) {
|
||||
@@ -2261,7 +2295,7 @@ export default {
|
||||
})
|
||||
},
|
||||
addRequestParam() {
|
||||
this.$store.commit("addParams", { key: "", value: "" })
|
||||
this.$store.commit("addParams", { key: "", value: "", type: "query" })
|
||||
return false
|
||||
},
|
||||
removeRequestParam(index) {
|
||||
|
||||
@@ -61,6 +61,10 @@ export default {
|
||||
request.params[index].value = value
|
||||
},
|
||||
|
||||
setTypeParams({ request }, { index, value }) {
|
||||
request.params[index].type = value
|
||||
},
|
||||
|
||||
addBodyParams({ request }, value) {
|
||||
request.bodyParams.push(value)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user