in_source_id
stringlengths
13
58
issue
stringlengths
3
241k
before_files
listlengths
0
3
after_files
listlengths
0
3
pr_diff
stringlengths
109
107M
kserve__kserve-2478
Update ModelMesh version to `v0.10.0` #### Proposed Changes Update to the latest ModelMesh version (`v0.10.0`) > If your changes should also be in the most recent release, add the corresponding "cherrypick-0.X" label to the original PR; for example, "cherrypick-0.10". #### TODOs: > - [ ] Best practice is to open a PR for the cherry-pick yourself after your original PR has been merged into the main branch. > - [ ] After the cherry-pick PR has merged, remove the cherry-pick label from the original PR. **Type of changes** - [x] This change requires a documentation update --> https://github.com/kserve/website/pull/214 **Special notes for your reviewer**: 1. Please confirm that if this PR changes any image versions, then that's the sole change this PR makes. YES **Checklist**: - [x] Have you made corresponding changes to the documentation? **Release note**: <!-- Write your release note: 1. Enter your extended release note in the below block. If the PR requires additional action from users switching to the new release, include the string "action required". 3. If no release note is required, just write "NONE". --> ```release-note ??? ``` Not sure, maybe, - "Updgrade to ModelMesh v0.10.0" or - point to ModelMesh release notes here https://github.com/kserve/modelmesh-serving/releases/tag/v0.10.0 --- /cc @yuzisun @rachitchauhan43 @njhill
[ { "content": "# Copyright 2021 The KServe Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by a...
[ { "content": "# Copyright 2021 The KServe Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by a...
diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 7f56710651e..1529ca65444 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -47,17 +47,17 @@ jobs: ./test/scripts/gh-actions/build-server-runtimes.sh predictor,transformer docker image ls cat ./config/overlays/test/configmap/inferenceservice.yaml - + - name: Upload sklearn server image uses: ishworkh/docker-image-artifact-upload@v1 with: image: "kserve/sklearnserver:${{ github.sha }}" - + - name: Upload xgb server image uses: ishworkh/docker-image-artifact-upload@v1 with: image: "kserve/xgbserver:${{ github.sha }}" - + - name: Upload lgb server image uses: ishworkh/docker-image-artifact-upload@v1 with: @@ -67,7 +67,7 @@ jobs: uses: ishworkh/docker-image-artifact-upload@v1 with: image: "kserve/pmmlserver:${{ github.sha }}" - + - name: Upload paddle image uses: ishworkh/docker-image-artifact-upload@v1 with: @@ -77,7 +77,7 @@ jobs: uses: ishworkh/docker-image-artifact-upload@v1 with: image: "kserve/image-transformer:${{ github.sha }}" - + explainer-runtime-build: runs-on: ubuntu-latest steps: @@ -93,17 +93,17 @@ jobs: uses: ishworkh/docker-image-artifact-upload@v1 with: image: "kserve/aix-explainer:${{ github.sha }}" - + - name: Upload alibi image uses: ishworkh/docker-image-artifact-upload@v1 with: image: "kserve/alibi-explainer:${{ github.sha }}" - + - name: Upload art explainer image uses: ishworkh/docker-image-artifact-upload@v1 with: image: "kserve/art-explainer:${{ github.sha }}" - + test-fast: runs-on: ubuntu-latest needs: [kserve-image-build, predictor-runtime-build, explainer-runtime-build] @@ -114,17 +114,17 @@ jobs: go-version: '1.17.3' - uses: ./.github/actions/minikube-setup - uses: ./.github/actions/base-download - + - name: Download sklearn server image uses: ishworkh/docker-image-artifact-download@v1 with: image: "kserve/sklearnserver:${{ github.sha }}" - + - name: Download xgb server image uses: ishworkh/docker-image-artifact-download@v1 with: image: "kserve/xgbserver:${{ github.sha }}" - + - name: Download lgb server image uses: ishworkh/docker-image-artifact-download@v1 with: @@ -133,8 +133,8 @@ jobs: - name: Download pmml image uses: ishworkh/docker-image-artifact-download@v1 with: - image: "kserve/pmmlserver:${{ github.sha }}" - + image: "kserve/pmmlserver:${{ github.sha }}" + - name: Install KServe run: | ./test/scripts/gh-actions/setup-kserve.sh @@ -151,7 +151,7 @@ jobs: if: always() run: | ./test/scripts/gh-actions/status-check.sh - + test-slow: runs-on: ubuntu-latest needs: [kserve-image-build, predictor-runtime-build, explainer-runtime-build] @@ -162,22 +162,22 @@ jobs: go-version: '1.17.3' - uses: ./.github/actions/minikube-setup - uses: ./.github/actions/base-download - + - name: Download sklearn server image uses: ishworkh/docker-image-artifact-download@v1 with: image: "kserve/sklearnserver:${{ github.sha }}" - + - name: Download xgb server image uses: ishworkh/docker-image-artifact-download@v1 with: image: "kserve/xgbserver:${{ github.sha }}" - + - name: Download lgb server image uses: ishworkh/docker-image-artifact-download@v1 with: image: "kserve/lgbserver:${{ github.sha }}" - + - name: Download paddle image uses: ishworkh/docker-image-artifact-download@v1 with: @@ -215,12 +215,12 @@ jobs: uses: ishworkh/docker-image-artifact-download@v1 with: image: "kserve/sklearnserver:${{ github.sha }}" - + - name: Download aix image uses: ishworkh/docker-image-artifact-download@v1 with: image: "kserve/aix-explainer:${{ github.sha }}" - + - name: Download alibi image uses: ishworkh/docker-image-artifact-download@v1 with: @@ -256,11 +256,11 @@ jobs: - uses: actions/setup-go@v2 with: go-version: '1.17.3' - + - uses: ./.github/actions/minikube-setup - uses: ./.github/actions/base-download - - + + - name: Download sklearn server image uses: ishworkh/docker-image-artifact-download@v1 with: @@ -292,3 +292,49 @@ jobs: if: always() run: | ./test/scripts/gh-actions/status-check.sh + + test-qpext: + runs-on: ubuntu-latest + needs: [kserve-image-build, predictor-runtime-build] + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-go@v2 + with: + go-version: '1.17.3' + - uses: ./.github/actions/minikube-setup + - uses: ./.github/actions/base-download + - name: Build queue proxy extension image + run: | + ./test/scripts/gh-actions/build-qpext-image.sh + docker image ls + - name: Upload qpext image + uses: ishworkh/docker-image-artifact-upload@v1 + with: + image: "kserve/qpext:${{ github.sha }}" + - name: Download qpext image + uses: ishworkh/docker-image-artifact-download@v1 + with: + image: "kserve/qpext:${{ github.sha }}" + - name: Download sklearn server image + uses: ishworkh/docker-image-artifact-download@v1 + with: + image: "kserve/sklearnserver:${{ github.sha }}" + - name: Install KServe + run: | + ./test/scripts/gh-actions/setup-kserve.sh + + kubectl get pods -n kserve + kubectl describe pods -n kserve + - name: Patch qpext image + run : | + kubectl patch configmaps -n knative-serving config-deployment --patch '{"data": {"queueSidecarImage": "kserve/qpext:${{ github.sha }}"}}' + kubectl describe configmaps -n knative-serving config-deployment + - name: Run queue proxy extension E2E tests + timeout-minutes: 30 + run: | + ./test/scripts/gh-actions/run-qpext-test.sh + kubectl get pods -n kserve + - name: Check system status + if: always() + run: | + ./test/scripts/gh-actions/status-check.sh diff --git a/.github/workflows/qpext-docker-publish.yml b/.github/workflows/qpext-docker-publish.yml new file mode 100644 index 00000000000..144ac152dbc --- /dev/null +++ b/.github/workflows/qpext-docker-publish.yml @@ -0,0 +1,79 @@ +name: Queue Proxy Extension Docker Publisher + +on: + push: + # Publish `master` as Docker `latest` image. + branches: + - master + + # Publish `v1.2.3` tags as releases. + tags: + - v* + + # Run tests for any PRs. + pull_request: + +env: + IMAGE_NAME: qpext + +jobs: + # Run tests. + # See also https://docs.docker.com/docker-hub/builds/automated-testing/ + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Run tests + run: | + if [ -f docker-compose.test.yml ]; then + docker-compose --file docker-compose.test.yml build + docker-compose --file docker-compose.test.yml run sut + else + cd qpext + docker build . --file qpext.Dockerfile + fi + + # Push image to GitHub Packages. + # See also https://docs.docker.com/docker-hub/builds/ + push: + # Ensure test job passes before pushing image. + needs: test + + runs-on: ubuntu-latest + if: github.event_name == 'push' + + steps: + - uses: actions/checkout@v2 + + - name: Build image + run: | + cd qpext + docker build . --file qpext.Dockerfile --tag $IMAGE_NAME + + - name: Log into registry + run: docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASSWORD }} + + - name: Push image + run: | + IMAGE_ID=kserve/$IMAGE_NAME + + # Change all uppercase to lowercase + IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]') + + # Strip git ref prefix from version + VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,') + + # Strip "v" prefix from tag name + # [[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//') + + # Use Docker `latest` tag convention + [ "$VERSION" == "master" ] && VERSION=latest + + echo IMAGE_ID=$IMAGE_ID + echo VERSION=$VERSION + + docker tag $IMAGE_NAME $IMAGE_ID:$VERSION + docker push $IMAGE_ID:$VERSION + diff --git a/Makefile b/Makefile index 0568faecd09..dc87d1e97c0 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,7 @@ PADDLE_IMG ?= paddleserver ALIBI_IMG ?= alibi-explainer AIX_IMG ?= aix-explainer STORAGE_INIT_IMG ?= storage-initializer +QPEXT_IMG ?= qpext CRD_OPTIONS ?= "crd:maxDescLen=0" KSERVE_ENABLE_SELF_SIGNED_CA ?= false # ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary. @@ -263,6 +264,12 @@ docker-build-storageInitializer: docker-push-storageInitializer: docker-build-storageInitializer docker push ${KO_DOCKER_REPO}/${STORAGE_INIT_IMG} +docker-build-qpext: + cd qpext && docker build -t ${KO_DOCKER_REPO}/${QPEXT_IMG} -f qpext.Dockerfile . + +docker-build-push-qpext: docker-build-qpext + docker push ${KO_DOCKER_REPO}/${QPEXT_IMG} + controller-gen: $(CONTROLLER_GEN) ## Download controller-gen locally if necessary. $(CONTROLLER_GEN): $(LOCALBIN) test -s $(LOCALBIN)/controller-gen || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-tools/cmd/controller-gen@$(CONTROLLER_TOOLS_VERSION) diff --git a/charts/kserve/templates/configmap.yaml b/charts/kserve/templates/configmap.yaml index 2f4cab0b1af..94e4a1faab1 100644 --- a/charts/kserve/templates/configmap.yaml +++ b/charts/kserve/templates/configmap.yaml @@ -200,6 +200,11 @@ data: transformers: |- { } + metricsAggregator: |- + { + "enableMetricAggregation": {{ .Values.kserve.metricsaggregator.enableMetricAggregation }}, + "enablePrometheusScraping" : {{ .Values.kserve.metricsaggregator.enablePrometheusScraping }} + } kind: ConfigMap metadata: name: inferenceservice-config diff --git a/charts/kserve/values.yaml b/charts/kserve/values.yaml index 4ac31db49f0..8b83f349cfa 100644 --- a/charts/kserve/values.yaml +++ b/charts/kserve/values.yaml @@ -10,6 +10,9 @@ kserve: s3: accessKeyIdName: AWS_ACCESS_KEY_ID secretAccessKeyName: AWS_SECRET_ACCESS_KEY + metricsaggregator: + enableMetricAggregation: "false" + enablePrometheusScraping: "false" controller: deploymentMode: "Serverless" gateway: diff --git a/config/configmap/inferenceservice.yaml b/config/configmap/inferenceservice.yaml index 70e605b950a..99343afd543 100644 --- a/config/configmap/inferenceservice.yaml +++ b/config/configmap/inferenceservice.yaml @@ -102,3 +102,8 @@ data: { "defaultDeploymentMode": "Serverless" } + metricsAggregator: |- + { + "enableMetricAggregation": "false", + "enablePrometheusScraping" : "false" + } diff --git a/config/overlays/test/configmap/inferenceservice.yaml b/config/overlays/test/configmap/inferenceservice.yaml index 71f2c5fb57f..ea3bfa41e4e 100644 --- a/config/overlays/test/configmap/inferenceservice.yaml +++ b/config/overlays/test/configmap/inferenceservice.yaml @@ -71,3 +71,8 @@ data: "cpuRequest": "100m", "cpuLimit": "300m" } + metricsAggregator: |- + { + "enableMetricAggregation": "false", + "enablePrometheusScraping" : "false" + } diff --git a/docs/samples/v1beta1/tensorflow/tensorflow.yaml b/docs/samples/v1beta1/tensorflow/tensorflow.yaml index c2de3a591b6..08ec9bfe782 100644 --- a/docs/samples/v1beta1/tensorflow/tensorflow.yaml +++ b/docs/samples/v1beta1/tensorflow/tensorflow.yaml @@ -2,6 +2,9 @@ apiVersion: "serving.kserve.io/v1beta1" kind: "InferenceService" metadata: name: "flower-sample" + annotations: + serving.kserve.io/enable-metric-aggregation: "true" + serving.kserve.io/enable-prometheus-scraping: "true" spec: predictor: tensorflow: diff --git a/go.mod b/go.mod index 8a40a1d0ff2..c2d8ae09a1b 100644 --- a/go.mod +++ b/go.mod @@ -12,6 +12,7 @@ require ( github.com/gogo/protobuf v1.3.2 github.com/golang/protobuf v1.5.2 github.com/google/go-cmp v0.5.8 + github.com/google/martian v2.1.0+incompatible github.com/google/uuid v1.3.0 github.com/googleapis/google-cloud-go-testing v0.0.0-20210719221736-1c9a4c676720 github.com/json-iterator/go v1.1.12 @@ -25,7 +26,9 @@ require ( github.com/stretchr/testify v1.7.0 github.com/tidwall/gjson v1.14.1 go.uber.org/zap v1.19.1 + gomodules.xyz/jsonpatch/v2 v2.2.0 google.golang.org/api v0.93.0 + google.golang.org/protobuf v1.28.1 istio.io/api v0.0.0-20200715212100-dbf5277541ef istio.io/client-go v0.0.0-20201005161859-d8818315d678 k8s.io/api v0.23.9 @@ -105,11 +108,9 @@ require ( golang.org/x/time v0.0.0-20220224211638-0e9765cccd65 // indirect golang.org/x/tools v0.1.9 // indirect golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f // indirect - gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect google.golang.org/appengine v1.6.7 // indirect google.golang.org/genproto v0.0.0-20220815135757-37a418bb8959 // indirect google.golang.org/grpc v1.48.0 // indirect - google.golang.org/protobuf v1.28.1 // indirect gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect diff --git a/hack/image_patch_dev.sh b/hack/image_patch_dev.sh index da1a0a8a694..8ccfd887a41 100755 --- a/hack/image_patch_dev.sh +++ b/hack/image_patch_dev.sh @@ -77,4 +77,9 @@ data: "cpuRequest": "100m", "cpuLimit": "100m" } + metricsAggregator: |- + { + "enableMetricAggregation": "false", + "enablePrometheusScraping" : "false" + } EOF diff --git a/pkg/apis/serving/v1beta1/configmap.go b/pkg/apis/serving/v1beta1/configmap.go index 5ce04350834..fa6c82fe48e 100644 --- a/pkg/apis/serving/v1beta1/configmap.go +++ b/pkg/apis/serving/v1beta1/configmap.go @@ -108,11 +108,11 @@ func NewIngressConfig(cli client.Client) (*IngressConfig, error) { if ingress, ok := configMap.Data[IngressConfigKeyName]; ok { err := json.Unmarshal([]byte(ingress), &ingressConfig) if err != nil { - return nil, fmt.Errorf("Unable to parse ingress config json: %v", err) + return nil, fmt.Errorf("unable to parse ingress config json: %v", err) } if ingressConfig.IngressGateway == "" || ingressConfig.IngressServiceName == "" { - return nil, fmt.Errorf("Invalid ingress config, ingressGateway, ingressService are required.") + return nil, fmt.Errorf("invalid ingress config - ingressGateway and ingressService are required") } } diff --git a/pkg/constants/constants.go b/pkg/constants/constants.go index 215242fa0b5..ffb732c0e4f 100644 --- a/pkg/constants/constants.go +++ b/pkg/constants/constants.go @@ -78,13 +78,14 @@ var ( MaxScaleAnnotationKey = KnativeAutoscalingAPIGroupName + "/maxScale" RollOutDurationAnnotationKey = KnativeServingAPIGroupName + "/rollout-duration" EnableMetricAggregation = KServeAPIGroupName + "/enable-metric-aggregation" - SetPrometheusAggregateAnnotation = KServeAPIGroupName + "/enable-prometheus-aggregate-scraping" + SetPrometheusAnnotation = KServeAPIGroupName + "/enable-prometheus-scraping" KserveContainerPrometheusPortKey = "prometheus.kserve.io/port" KServeContainerPrometheusPathKey = "prometheus.kserve.io/path" PrometheusPortAnnotationKey = "prometheus.io/port" PrometheusPathAnnotationKey = "prometheus.io/path" DefaultPrometheusPath = "/metrics" QueueProxyAggregatePrometheusMetricsPort = "9088" + DefaultPodPrometheusPort = "9090" ) // InferenceService Internal Annotations diff --git a/pkg/webhook/admission/pod/agent_injector.go b/pkg/webhook/admission/pod/agent_injector.go index a9224b778d9..a411a6afcf6 100644 --- a/pkg/webhook/admission/pod/agent_injector.go +++ b/pkg/webhook/admission/pod/agent_injector.go @@ -71,10 +71,11 @@ func getAgentConfigs(configMap *v1.ConfigMap) (*AgentConfig, error) { if agentConfigValue, ok := configMap.Data[constants.AgentConfigMapKeyName]; ok { err := json.Unmarshal([]byte(agentConfigValue), &agentConfig) if err != nil { - panic(fmt.Errorf("Unable to unmarshall agent json string due to %v ", err)) + panic(fmt.Errorf("unable to unmarshall agent json string due to %v", err)) } } - //Ensure that we set proper values for CPU/Memory Limit/Request + + //Ensure that we set proper values resourceDefaults := []string{agentConfig.MemoryRequest, agentConfig.MemoryLimit, agentConfig.CpuRequest, @@ -82,7 +83,7 @@ func getAgentConfigs(configMap *v1.ConfigMap) (*AgentConfig, error) { for _, key := range resourceDefaults { _, err := resource.ParseQuantity(key) if err != nil { - return agentConfig, fmt.Errorf("Failed to parse resource configuration for %q: %q", + return agentConfig, fmt.Errorf("failed to parse resource configuration for %q: %s", constants.AgentConfigMapKeyName, err.Error()) } } diff --git a/pkg/webhook/admission/pod/metrics_aggregate_injector.go b/pkg/webhook/admission/pod/metrics_aggregate_injector.go index ddc707a06f0..3a5d6fa3569 100644 --- a/pkg/webhook/admission/pod/metrics_aggregate_injector.go +++ b/pkg/webhook/admission/pod/metrics_aggregate_injector.go @@ -17,46 +17,94 @@ limitations under the License. package pod import ( + "encoding/json" + "fmt" "github.com/kserve/kserve/pkg/constants" v1 "k8s.io/api/core/v1" ) -const defaultPrometheusPort = "8080" +const ( + defaultKserveContainerPrometheusPort = "8080" + MetricsAggregatorConfigMapKeyName = "metricsAggregator" +) -// InjectMetricsAggregator looks for the annotations to enable aggregate kserve-container and queue-proxy metrics and -// if specified, sets port-related EnvVars in queue-proxy and the aggregate prometheus annotation. -func InjectMetricsAggregator(pod *v1.Pod) error { +type MetricsAggregator struct { + EnableMetricAggregation string `json:"enableMetricAggregation"` + EnablePrometheusScraping string `json:"enablePrometheusScraping"` +} + +func newMetricsAggregator(configMap *v1.ConfigMap) (*MetricsAggregator, error) { + ma := &MetricsAggregator{} + + if maConfigVal, ok := configMap.Data[MetricsAggregatorConfigMapKeyName]; ok { + err := json.Unmarshal([]byte(maConfigVal), &ma) + if err != nil { + panic(fmt.Errorf("Unable to unmarshall %v json string due to %v ", MetricsAggregatorConfigMapKeyName, err)) + } + } + + return ma, nil +} + +func setMetricAggregationEnvVars(pod *v1.Pod) { for i, container := range pod.Spec.Containers { if container.Name == "queue-proxy" { - if enableMetricAgg, ok := pod.ObjectMeta.Annotations[constants.EnableMetricAggregation]; ok && enableMetricAgg == "true" { - // The kserve-container prometheus port/path is inherited from the ClusterServingRuntime YAML. - // If no port is defined (transformer using python SDK), use the default port/path for the kserve-container. - kserveContainerPromPort := defaultPrometheusPort - if port, ok := pod.ObjectMeta.Annotations[constants.KserveContainerPrometheusPortKey]; ok { - kserveContainerPromPort = port - } - - kserveContainerPromPath := constants.DefaultPrometheusPath - if path, ok := pod.ObjectMeta.Annotations[constants.KServeContainerPrometheusPathKey]; ok { - kserveContainerPromPath = path - } - - // The kserve container port/path is set as an EnvVar in the queue-proxy container - // so that it knows which port/path to scrape from the kserve-container. - pod.Spec.Containers[i].Env = append(pod.Spec.Containers[i].Env, v1.EnvVar{Name: constants.KServeContainerPrometheusMetricsPortEnvVarKey, Value: kserveContainerPromPort}) - pod.Spec.Containers[i].Env = append(pod.Spec.Containers[i].Env, v1.EnvVar{Name: constants.KServeContainerPrometheusMetricsPathEnvVarKey, Value: kserveContainerPromPath}) - - // Set the port that queue-proxy will use to expose the aggregate metrics. - pod.Spec.Containers[i].Env = append(pod.Spec.Containers[i].Env, v1.EnvVar{Name: constants.QueueProxyAggregatePrometheusMetricsPortEnvVarKey, Value: constants.QueueProxyAggregatePrometheusMetricsPort}) - - // If SetPrometheusAggregateAnnotation is true, the pod annotations for prometheus port and path will be set. The scrape annotation is not set, - // that is left for the user to configure. - if setPromAnnotation, ok := pod.ObjectMeta.Annotations[constants.SetPrometheusAggregateAnnotation]; ok && setPromAnnotation == "true" { - pod.ObjectMeta.Annotations[constants.PrometheusPortAnnotationKey] = constants.QueueProxyAggregatePrometheusMetricsPort - pod.ObjectMeta.Annotations[constants.PrometheusPathAnnotationKey] = constants.DefaultPrometheusPath - } + // The kserve-container prometheus port/path is inherited from the ClusterServingRuntime YAML. + // If no port is defined (transformer using python SDK), use the default port/path for the kserve-container. + kserveContainerPromPort := defaultKserveContainerPrometheusPort + if port, ok := pod.ObjectMeta.Annotations[constants.KserveContainerPrometheusPortKey]; ok { + kserveContainerPromPort = port } + + kserveContainerPromPath := constants.DefaultPrometheusPath + if path, ok := pod.ObjectMeta.Annotations[constants.KServeContainerPrometheusPathKey]; ok { + kserveContainerPromPath = path + } + + // The kserve container port/path is set as an EnvVar in the queue-proxy container + // so that it knows which port/path to scrape from the kserve-container. + pod.Spec.Containers[i].Env = append(pod.Spec.Containers[i].Env, v1.EnvVar{Name: constants.KServeContainerPrometheusMetricsPortEnvVarKey, Value: kserveContainerPromPort}) + pod.Spec.Containers[i].Env = append(pod.Spec.Containers[i].Env, v1.EnvVar{Name: constants.KServeContainerPrometheusMetricsPathEnvVarKey, Value: kserveContainerPromPath}) + + // Set the port that queue-proxy will use to expose the aggregate metrics. + pod.Spec.Containers[i].Env = append(pod.Spec.Containers[i].Env, v1.EnvVar{Name: constants.QueueProxyAggregatePrometheusMetricsPortEnvVarKey, Value: constants.QueueProxyAggregatePrometheusMetricsPort}) + + } + } +} + +// InjectMetricsAggregator looks for the annotations to enable aggregate kserve-container and queue-proxy metrics and +// if specified, sets port-related EnvVars in queue-proxy and the aggregate prometheus annotation. +func (ma *MetricsAggregator) InjectMetricsAggregator(pod *v1.Pod) error { + //Only set metric configs if the required annotations are set + enableMetricAggregation, ok := pod.ObjectMeta.Annotations[constants.EnableMetricAggregation] + if !ok { + if pod.ObjectMeta.Annotations == nil { + pod.ObjectMeta.Annotations = make(map[string]string) } + pod.ObjectMeta.Annotations[constants.EnableMetricAggregation] = ma.EnableMetricAggregation + enableMetricAggregation = ma.EnableMetricAggregation + } + if enableMetricAggregation == "true" { + setMetricAggregationEnvVars(pod) + } + + // Handle setting the pod prometheus annotations + setPromAnnotation, ok := pod.ObjectMeta.Annotations[constants.SetPrometheusAnnotation] + if !ok { + pod.ObjectMeta.Annotations[constants.SetPrometheusAnnotation] = ma.EnablePrometheusScraping + setPromAnnotation = ma.EnablePrometheusScraping } + if setPromAnnotation == "true" { + // Set prometheus port to default queue proxy prometheus metrics port. + // If enableMetricAggregation is true, set it as the queue proxy metrics aggregation port. + podPromPort := constants.DefaultPodPrometheusPort + if enableMetricAggregation == "true" { + podPromPort = constants.QueueProxyAggregatePrometheusMetricsPort + } + pod.ObjectMeta.Annotations[constants.PrometheusPortAnnotationKey] = podPromPort + pod.ObjectMeta.Annotations[constants.PrometheusPathAnnotationKey] = constants.DefaultPrometheusPath + } + return nil } diff --git a/pkg/webhook/admission/pod/metrics_aggregate_injector_test.go b/pkg/webhook/admission/pod/metrics_aggregate_injector_test.go index 72b266b502a..e1a0a3b99f0 100644 --- a/pkg/webhook/admission/pod/metrics_aggregate_injector_test.go +++ b/pkg/webhook/admission/pod/metrics_aggregate_injector_test.go @@ -95,7 +95,7 @@ func TestInjectMetricsAggregator(t *testing.T) { Name: "deployment", Namespace: "default", Annotations: map[string]string{ - constants.EnableMetricAggregation: "true", + constants.EnableMetricAggregation: "false", }, }, Spec: v1.PodSpec{ @@ -147,14 +147,14 @@ func TestInjectMetricsAggregator(t *testing.T) { }, }, }, - "setPromAnnotationTrue": { + "setPromAnnotationTrueWithAggTrue": { original: &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "deployment", Namespace: "default", Annotations: map[string]string{ - constants.EnableMetricAggregation: "true", - constants.SetPrometheusAggregateAnnotation: "true", + constants.EnableMetricAggregation: "true", + constants.SetPrometheusAnnotation: "true", }, }, Spec: v1.PodSpec{ @@ -172,10 +172,10 @@ func TestInjectMetricsAggregator(t *testing.T) { Name: "deployment", Namespace: "default", Annotations: map[string]string{ - constants.EnableMetricAggregation: "true", - constants.SetPrometheusAggregateAnnotation: "true", - constants.PrometheusPortAnnotationKey: constants.QueueProxyAggregatePrometheusMetricsPort, - constants.PrometheusPathAnnotationKey: constants.DefaultPrometheusPath, + constants.EnableMetricAggregation: "true", + constants.SetPrometheusAnnotation: "true", + constants.PrometheusPortAnnotationKey: constants.QueueProxyAggregatePrometheusMetricsPort, + constants.PrometheusPathAnnotationKey: constants.DefaultPrometheusPath, }, }, Spec: v1.PodSpec{ @@ -194,14 +194,56 @@ func TestInjectMetricsAggregator(t *testing.T) { }, }, }, + "setPromAnnotationTrueWithAggFalse": { + original: &v1.Pod{ + ObjectMeta: metav1.ObjectMeta{ + Name: "deployment", + Namespace: "default", + Annotations: map[string]string{ + constants.EnableMetricAggregation: "false", + constants.SetPrometheusAnnotation: "true", + }, + }, + Spec: v1.PodSpec{ + Containers: []v1.Container{{ + Name: "sklearn", + }, + { + Name: "queue-proxy", + }, + }, + }, + }, + expected: &v1.Pod{ + ObjectMeta: metav1.ObjectMeta{ + Name: "deployment", + Namespace: "default", + Annotations: map[string]string{ + constants.EnableMetricAggregation: "false", + constants.SetPrometheusAnnotation: "true", + constants.PrometheusPortAnnotationKey: constants.DefaultPodPrometheusPort, + constants.PrometheusPathAnnotationKey: constants.DefaultPrometheusPath, + }, + }, + Spec: v1.PodSpec{ + Containers: []v1.Container{{ + Name: "sklearn", + }, + { + Name: "queue-proxy", + }, + }, + }, + }, + }, "SetPromAnnotationFalse": { original: &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "deployment", Namespace: "default", Annotations: map[string]string{ - constants.EnableMetricAggregation: "true", - constants.SetPrometheusAggregateAnnotation: "false", + constants.EnableMetricAggregation: "true", + constants.SetPrometheusAnnotation: "false", }, }, Spec: v1.PodSpec{ @@ -219,8 +261,8 @@ func TestInjectMetricsAggregator(t *testing.T) { Name: "deployment", Namespace: "default", Annotations: map[string]string{ - constants.EnableMetricAggregation: "true", - constants.SetPrometheusAggregateAnnotation: "false", + constants.EnableMetricAggregation: "true", + constants.SetPrometheusAnnotation: "false", }, }, Spec: v1.PodSpec{ @@ -241,11 +283,14 @@ func TestInjectMetricsAggregator(t *testing.T) { }, } + cfgMap := v1.ConfigMap{Data: map[string]string{"enableMetricAggregation": "false", "enablePrometheusScraping": "false"}} + ma, err := newMetricsAggregator(&cfgMap) + if err != nil { + t.Errorf("Error creating the metrics aggregator %v", err) + } + for name, scenario := range scenarios { - err := InjectMetricsAggregator(scenario.original) - if err != nil { - t.Errorf("Test %q unexpected error %e", name, err) - } + ma.InjectMetricsAggregator(scenario.original) if diff, _ := kmp.SafeDiff(scenario.expected.Spec, scenario.original.Spec); diff != "" { t.Errorf("Test %q unexpected result (-want +got): %v", name, diff) } diff --git a/pkg/webhook/admission/pod/mutator.go b/pkg/webhook/admission/pod/mutator.go index d5352c4a2eb..c320967f3c1 100644 --- a/pkg/webhook/admission/pod/mutator.go +++ b/pkg/webhook/admission/pod/mutator.go @@ -111,11 +111,16 @@ func (mutator *Mutator) mutate(pod *v1.Pod, configMap *v1.ConfigMap) error { batcherConfig: batcherConfig, } + metricsAggregator, err := newMetricsAggregator(configMap) + if err != nil { + return err + } + mutators := []func(pod *v1.Pod) error{ InjectGKEAcceleratorSelector, storageInitializer.InjectStorageInitializer, agentInjector.InjectAgent, - InjectMetricsAggregator, + metricsAggregator.InjectMetricsAggregator, } for _, mutator := range mutators { diff --git a/pkg/webhook/admission/pod/mutator_test.go b/pkg/webhook/admission/pod/mutator_test.go index fe3b58a65a1..0a7d8066499 100644 --- a/pkg/webhook/admission/pod/mutator_test.go +++ b/pkg/webhook/admission/pod/mutator_test.go @@ -15,6 +15,7 @@ import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/types" "sigs.k8s.io/controller-runtime/pkg/webhook/admission" + "sort" "testing" ) @@ -255,8 +256,16 @@ func TestMutator_Handle(t *testing.T) { }, }, }, - matcher: gomega.Equal(admission.Response{ + matcher: gomega.BeEquivalentTo(admission.Response{ Patches: []jsonpatch.JsonPatchOperation{ + { + Operation: "add", + Path: "/metadata/annotations", + Value: map[string]interface{}{ + "serving.kserve.io/enable-metric-aggregation": "", + "serving.kserve.io/enable-prometheus-scraping": "", + }, + }, { Operation: "add", Path: "/metadata/namespace", @@ -287,11 +296,21 @@ func TestMutator_Handle(t *testing.T) { } tc.request.Object.Raw = byteData res := mutator.Handle(context.TODO(), tc.request) + sortPatches(res.Patches) g.Expect(res).Should(tc.matcher) if err := c.Delete(context.TODO(), &tc.configMap); err != nil { t.Errorf("failed to delete configmap %v", err) } }) } +} +// sortPatches sorts the slice of patches by Path so that the comparison works +// when there are > 1 patches. Note: make sure the matcher Patches are sorted. +func sortPatches(patches []jsonpatch.JsonPatchOperation) { + if len(patches) > 1 { + sort.Slice(patches, func(i, j int) bool { + return patches[i].Path < patches[j].Path + }) + } } diff --git a/python/kserve/requirements.txt b/python/kserve/requirements.txt index 8a2f9521d4e..216c63dc0a1 100644 --- a/python/kserve/requirements.txt +++ b/python/kserve/requirements.txt @@ -22,4 +22,4 @@ tritonclient==2.18.0 protobuf~=3.19.0 prometheus-client>=0.13.1 orjson>=3.8.0 -httpx>=0.23.0 \ No newline at end of file +httpx>=0.23.0 diff --git a/python/kserve/setup.py b/python/kserve/setup.py index 933fbccdef6..9837a1b9c67 100644 --- a/python/kserve/setup.py +++ b/python/kserve/setup.py @@ -21,7 +21,8 @@ 'pytest-cov', 'pytest-asyncio', 'pytest-tornasync', - 'mypy' + 'mypy', + 'portforward', ] with open('requirements.txt') as f: diff --git a/qpext/README.md b/qpext/README.md new file mode 100644 index 00000000000..3f977aa4692 --- /dev/null +++ b/qpext/README.md @@ -0,0 +1,197 @@ +# Queue Proxy Extension + +## What qpext does +This directory handles extending the Knative queue-proxy sidecar container. + +The qpext creates a new port in the queue-proxy container that scrapes Prometheus metrics from both `queue-proxy` and `kserve-container`. +When the new aggregate metrics endpoint is hit, the response will contain metrics from both `queue-proxy` and `kserve-container`. +The qpext adds the functionality to emit metrics from both containers on a single endpoint. + +## Why qpext is needed +If an InferenceService uses Knative, then it has at least two containers in one pod, `queue-proxy` and `kserve-container`. A limitation of using Prometheus is that it supports scraping only one endpoint in the pod. +When there are multiple containers in a pod that emit Prometheus metrics, this becomes an issue (see [Prometheus for multiple port annotations issue #3756](https://github.com/prometheus/prometheus/issues/3756) for the +full discussion on this topic). In an attempt to make an easy-to-use solution, the queue-proxy is extended to handle this use case. + + +see also: [KServe Issue #2645](https://github.com/kserve/kserve/issues/2465), + +## How to use + +Save this file as qpext_image_patch.yaml, update the tag if needed. +```yaml +data: + queueSidecarImage: kserve/qpext:latest +``` + +Run the following command to patch the deployment config in the appropriate knative namespace. +```shell +kubectl patch configmaps -n knative-serving config-deployment --patch-file qpext_image_patch.yaml +``` + +## Configs + +The qpext relies on pod annotations to be set in the InferenceService YAML. If these annotations are set to true, then environment variables will be added to the queue-proxy container. +The qpext uses the environment variables to configure which port/path to expose metrics on and which port/path to scrape metrics from in `queue-proxy` and `kserve-container`. + +| Annotation | Default | Description | +|------------------------------------------------------|---------|-------------| +| serving.kserve.io/enable-metric-aggregation | false | If true, enables metric aggregation in queue-proxy by setting env vars in the queue proxy container to configure scraping ports. | +| serving.kserve.io/enable-prometheus-scraping | false | If true, sets the prometheus annotations in the pod. If true and "serving.kserve.io/enable-metric-aggregation" is false, the prometheus port will be set as the default queue-proxy port. If both are true, the prometheus port annotation will be set as the aggregate metric port. | + + +| Queue Proxy Env Vars | Default | Description | +|------------------------------------------|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| AGGREGATE_PROMETHEUS_METRICS_PORT | 9088 | The metrics aggregation port in queue-proxy that is added in the qpext. | +| KSERVE_CONTAINER_PROMETHEUS_METRICS_PORT | 8080 | The default metrics port for the `kserve-container`. If present, the default ClusterServingRuntime overrides this value with each runtime's default prometheus port. | +| KSERVE_CONTAINER_PROMETHEUS_METRICS_PATH | /metrics | The default metrics path for the `kserve-container`. If present, the default ClusterServingRuntime annotation overrides this value with each runtime's default prometheus path. | + +To implement this feature, configure the InferenceService YAML annotations. + +```yaml +apiVersion: "serving.kserve.io/v1beta1" +kind: "InferenceService" +metadata: + name: "sklearn-irisv2" + annotations: + serving.kserve.io/enable-metric-aggregation: "true" + serving.kserve.io/enable-prometheus-scraping: "true" +spec: + predictor: + sklearn: + protocolVersion: v2 + storageUri: "gs://seldon-models/sklearn/iris" +``` + +To view the runtime specific defaults for the `kserve-container` prometheus port and path, view the spec annotations in `kserve/config/runtimes`. +These values can be overriden in the InferenceService YAML annotations. + +```yaml +apiVersion: "serving.kserve.io/v1beta1" +kind: "InferenceService" +metadata: + name: "sklearn-irisv2" + annotations: + serving.kserve.io/enable-metric-aggregation: "true" + serving.kserve.io/enable-prometheus-scraping: "true" + prometheus.kserve.io/port: '8081' + prometheus.kserve.io/path: "/other/metrics" +spec: + predictor: + sklearn: + protocolVersion: v2 + storageUri: "gs://seldon-models/sklearn/iris" +``` +The default port for sklearn runtime is `8080`, and the default path is `/metrics`. +By setting the annotations in the InferenceService YAML, the default runtime configurations are overridden. + +**KServe Developer's Note:** If the qpext is implemented in the cluster and you wish to set the default annotation values to `true`, +the defaults in the configMap can be overridden via patching the configMap or setting up a webhook to override the values. +To check the default values in your cluster, run + +```shell +kubectl get configmaps inferenceservice-config -n kserve -oyaml +``` + +the values are in the output of the YAML like + +```yaml + metricsAggregator: |- + { + "enableMetricAggregation": "false", + "enablePrometheusScraping" : "false" + } +``` + +If these values are overridden to default to `true` + +```yaml + metricsAggregator: |- + { + "enableMetricAggregation": "true", + "enablePrometheusScraping" : "true" + } +``` +then the annotations should be inserted into the YAML with `false` values when +an InferenceService does not want to aggregate metrics and/or set the prometheus +scraping port annotation. + +## Developer's guide + +Changes can be made in the qpext and tested via unit tests, e2e tests, and interactively in a cluster. + +### Note on dependencies + +The controller reads the `serving.kserve.io/enable-metric-aggregation` and `serving.kserve.io/enable-prometheus-scraping` +annotations and then adds prometheus annotations to the pod and/or environment variables to the queue-proxy container if specified. +This code is found in `kserve/pkg/webhook/admission/pod/metrics_aggregate_injector.go`. + +The specific runtime default configurations are annotations in the YAML files in `kserve/config/runtimes`. + +### Test + +In kserve/qpext, run `go test -v ./... -cover` to run the unit tests and get the total coverage. +The e2e tests are defined in `kserve/test/qpext`. To add an e2e test, create a python test in this directory. + +### Build +The qpext code can be interactively tested by building the image with any changes, +pushing the image to dockerhub/container registry, and patching the knative deploy config to use +the test image. The pods will then pick up the new configuration. + + +(1) To build the qpext image in the kserve/qpext directory (as an example, `some_docker_repo` in dockerhub), run +```shell +make docker-build-push-qpext +``` + +Alternatively, build and push the image step by step yourself. +```shell +cd kserve/qpext +export QPEXT_IMG={some_docker_repo}/qpext +docker build -t ${QPEXT_IMG} -f qpext.Dockerfile . +``` + +Next push the image to a container registry, +```shell +docker push {some_docker_repo}/qpext:latest +``` + +(2) Save this file as qpext_image_patch.yaml, update the tag if needed. +```yaml +data: + queueSidecarImage: kserve/qpext:latest +``` + +(3) Run the following command to patch the deployment config in the appropriate knative namespace. +```shell +kubectl patch configmaps -n knative-serving config-deployment --patch-file qpext_image_patch.yaml +``` + +(4) Confirm the config-deployment updated +```shell +kubectl get configmaps -n knative-serving config-deployment -oyaml +``` + +(5) Deploy an InferenceService and check that the change works. + +For example, using the sklearn example above saved as `sklearn.yaml` +```shell +kubectl apply -f sklearn.yaml +``` + +To check that the configs were applied as env vars in the queue-proxy container +and annotations on the pod, check the Pod output. +```shell +kubectl get pod {name_of_pod} -oyaml +``` + +To check that the metrics are aggregated, use the KServe [Getting Started](https://kserve.github.io/website/0.9/get_started/first_isvc/#4-determine-the-ingress-ip-and-ports) +documentation as a guide to send a request to the pod. Next, send a request to the metrics endpoint. + +For example, port-forward the pod prometheus aggregate metrics port to localhost. +```shell +kubectl port-forward pods/{pod_name} 9088:9088 +``` +Next, cURL the port to see the metrics output. +```shell +curl localhost:9088 +``` diff --git a/qpext/cmd/qpext/main.go b/qpext/cmd/qpext/main.go new file mode 100644 index 00000000000..27463e76394 --- /dev/null +++ b/qpext/cmd/qpext/main.go @@ -0,0 +1,255 @@ +/* +Copyright 2022 The KServe Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package main + +import ( + "context" + "fmt" + "github.com/hashicorp/go-multierror" + logger "github.com/kserve/kserve/qpext" + "github.com/prometheus/client_golang/prometheus" + "github.com/prometheus/common/expfmt" + "go.uber.org/zap" + "io" + "mime" + "net" + "net/http" + "os" + "strconv" + "time" +) + +import "knative.dev/serving/pkg/queue/sharedmain" + +var ( + promRegistry *prometheus.Registry +) + +const ( + // aggregate scraping env vars from kserve/pkg/constants + KServeContainerPrometheusMetricsPortEnvVarKey = "KSERVE_CONTAINER_PROMETHEUS_METRICS_PORT" + KServeContainerPrometheusMetricsPathEnvVarKey = "KSERVE_CONTAINER_PROMETHEUS_METRICS_PATH" + QueueProxyAggregatePrometheusMetricsPortEnvVarKey = "AGGREGATE_PROMETHEUS_METRICS_PORT" + QueueProxyMetricsPort = "9091" + DefaultQueueProxyMetricsPath = "/metrics" + prometheusTimeoutHeader = "X-Prometheus-Scrape-Timeout-Seconds" +) + +type ScrapeConfigurations struct { + logger *zap.Logger + QueueProxyPath string `json:"path"` + QueueProxyPort string `json:"port"` + AppPort string + AppPath string +} + +func getURL(port string, path string) string { + return fmt.Sprintf("http://localhost:%s%s", port, path) +} + +// getHeaderTimeout parse a string like (1.234) representing number of seconds +func getHeaderTimeout(timeout string) (time.Duration, error) { + timeoutSeconds, err := strconv.ParseFloat(timeout, 64) + if err != nil { + return 0 * time.Second, err + } + + return time.Duration(timeoutSeconds * 1e9), nil +} + +func applyHeaders(into http.Header, from http.Header, keys ...string) { + for _, key := range keys { + val := from.Get(key) + if val != "" { + into.Set(key, val) + } + } +} + +func negotiateMetricsFormat(contentType string) expfmt.Format { + mediaType, _, err := mime.ParseMediaType(contentType) + if err == nil && mediaType == expfmt.OpenMetricsType { + return expfmt.FmtOpenMetrics + } + return expfmt.FmtText +} + +// scrapeAndWriteAgentMetrics gathers a slice of prometheus metric families and encodes the metrics. +func scrapeAndWriteAgentMetrics(w io.Writer) error { + mfs, err := promRegistry.Gather() + if err != nil { + return err + } + enc := expfmt.NewEncoder(w, expfmt.FmtText) + var errs error + for _, mf := range mfs { + if err = enc.Encode(mf); err != nil { + errs = multierror.Append(errs, err) + } + } + return errs +} + +// scrape sends a request to the provided url to scrape metrics from +// This will attempt to mimic some of Prometheus functionality by passing some headers through +// scrape returns the scraped metrics reader as well as the response's "Content-Type" header to determine the metrics format +func scrape(url string, header http.Header, logger *zap.Logger) (io.ReadCloser, context.CancelFunc, string, error) { + var cancel context.CancelFunc + ctx := context.Background() + if timeoutString := header.Get(prometheusTimeoutHeader); timeoutString != "" { + timeout, err := getHeaderTimeout(timeoutString) + if err != nil { + logger.Error("Failed to parse timeout header", zap.Error(err), zap.String("timeout", timeoutString)) + } else { + ctx, cancel = context.WithTimeout(ctx, timeout) + defer cancel() + } + } + req, err := http.NewRequestWithContext(ctx, http.MethodGet, url, nil) + if err != nil { + return nil, cancel, "", err + } + + applyHeaders(req.Header, header, "Accept", + "User-Agent", + prometheusTimeoutHeader, + ) + + resp, err := http.DefaultClient.Do(req) + if err != nil { + return nil, cancel, "", fmt.Errorf("error scraping %s: %v", url, err) + } + if resp.StatusCode != http.StatusOK { + return nil, cancel, "", fmt.Errorf("error scraping %s, status code: %v", url, resp.StatusCode) + } + format := resp.Header.Get("Content-Type") + return resp.Body, cancel, format, nil +} + +func NewScrapeConfigs(logger *zap.Logger, queueProxyPort string, appPort string, appPath string) *ScrapeConfigurations { + return &ScrapeConfigurations{ + logger: logger, + QueueProxyPath: DefaultQueueProxyMetricsPath, + QueueProxyPort: queueProxyPort, + AppPort: appPort, + AppPath: appPath, + } +} + +func (sc *ScrapeConfigurations) handleStats(w http.ResponseWriter, r *http.Request) { + var err error + var queueProxy, application io.ReadCloser + var queueProxyCancel, appCancel context.CancelFunc + + defer func() { + if application != nil { + application.Close() + } + if queueProxyCancel != nil { + queueProxyCancel() + } + if appCancel != nil { + appCancel() + } + }() + + // Gather all the metrics we will merge + if sc.QueueProxyPort != "" { + queueProxyURL := getURL(sc.QueueProxyPort, sc.QueueProxyPath) + if queueProxy, queueProxyCancel, _, err = scrape(queueProxyURL, r.Header, sc.logger); err != nil { + sc.logger.Error("failed scraping envoy metrics", zap.Error(err)) + } + } + + // Scrape app metrics if defined and capture their format + var format expfmt.Format + if sc.AppPort != "" { + kserveContainerURL := getURL(sc.AppPort, sc.AppPath) + var contentType string + if application, appCancel, contentType, err = scrape(kserveContainerURL, r.Header, sc.logger); err != nil { + sc.logger.Error("failed scraping application metrics", zap.Error(err)) + } + format = negotiateMetricsFormat(contentType) + } else { + // Without app metrics format use a default + format = expfmt.FmtText + } + + w.Header().Set("Content-Type", string(format)) + + // Write out the metrics + if err = scrapeAndWriteAgentMetrics(io.Writer(w)); err != nil { + sc.logger.Error("failed scraping and writing agent metrics", zap.Error(err)) + } + + if queueProxy != nil { + _, err = io.Copy(w, queueProxy) + if err != nil { + sc.logger.Error("failed to scraping and writing queue proxy metrics", zap.Error(err)) + } + } + + // App metrics must go last because if they are FmtOpenMetrics, + // they will have a trailing "# EOF" which terminates the full exposition + if application != nil { + _, err = io.Copy(w, application) + if err != nil { + sc.logger.Error("failed to scraping and writing application metrics", zap.Error(err)) + } + } +} + +func main() { + zapLogger := logger.InitializeLogger() + promRegistry = prometheus.NewRegistry() + mux := http.NewServeMux() + ctx := context.Background() + sc := NewScrapeConfigs( + zapLogger, + QueueProxyMetricsPort, + os.Getenv(KServeContainerPrometheusMetricsPortEnvVarKey), + os.Getenv(KServeContainerPrometheusMetricsPathEnvVarKey), + ) + mux.HandleFunc(`/metrics`, sc.handleStats) + l, err := net.Listen("tcp", fmt.Sprintf(":%v", os.Getenv(QueueProxyAggregatePrometheusMetricsPortEnvVarKey))) + if err != nil { + zapLogger.Error("error listening on status port", zap.Error(err)) + return + } + + defer l.Close() + + go func() { + if err = http.Serve(l, mux); err != nil { + zapLogger.Error("error serving aggregate metrics", zap.Error(err)) + fmt.Println(err) + select { + case <-ctx.Done(): + // We are shutting down already, don't trigger SIGTERM + return + default: + } + } + }() + zapLogger.Info("Stats server has successfully started") + if sharedmain.Main() != nil { + os.Exit(1) + } + // Wait for the agent to be shut down. + <-ctx.Done() + zapLogger.Info("Stats server has successfully terminated") +} diff --git a/qpext/cmd/qpext/main_test.go b/qpext/cmd/qpext/main_test.go new file mode 100644 index 00000000000..485844707bd --- /dev/null +++ b/qpext/cmd/qpext/main_test.go @@ -0,0 +1,233 @@ +/* +Copyright 2022 The KServe Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package main + +import ( + logger "github.com/kserve/kserve/qpext" + "github.com/prometheus/client_golang/prometheus" + "github.com/prometheus/common/expfmt" + "github.com/stretchr/testify/assert" + "net/http" + "net/http/httptest" + "strings" + "testing" +) + +func TestGetHeaderTimeout(t *testing.T) { + inputs := []string{"1.23", "100", "notvalid", "12.wrong"} + errIsNil := []bool{true, true, false, false} + + for i, input := range inputs { + _, err := getHeaderTimeout(input) + if errIsNil[i] == true { + assert.NoError(t, err) + } else { + assert.Error(t, err) + } + } +} + +func TestNegotiateMetricsFromat(t *testing.T) { + contentTypes := []string{"", "random", "text/plain;version=0.0.4;q=0.5,*/*;q=0.1", `application/openmetrics-text; version=1.0.0; charset=utf-8`} + expected := []expfmt.Format{expfmt.FmtText, expfmt.FmtText, expfmt.FmtText, expfmt.FmtOpenMetrics} + + for i, contentType := range contentTypes { + result := negotiateMetricsFormat(contentType) + assert.Equal(t, expected[i], result) + } +} + +func TestScrapeHeaders(t *testing.T) { + metricExample := `# TYPE my_metric counter + my_metric{} 0 + ` + timeoutHeader := "X-Prometheus-Scrape-Timeout-Seconds" + tests := []struct { + name string + headerVal string + expectNilCancel bool + }{ + { + name: "timeout header parses", + headerVal: "10", + }, + { + name: "timeout header invalid", + headerVal: "invalid", + expectNilCancel: true, + }, + } + + zapLogger := logger.InitializeLogger() + for _, test := range tests { + t.Run(test.name, func(t *testing.T) { + promRegistry = prometheus.NewRegistry() + qp := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + _, err := w.Write([]byte(metricExample)) + assert.NoError(t, err) + })) + defer qp.Close() + + url := getURL(strings.Split(qp.URL, ":")[2], "/metrics") + + req := &http.Request{ + Header: map[string][]string{timeoutHeader: {test.headerVal}}, + } + queueProxy, queueProxyCancel, _, err := scrape(url, req.Header, zapLogger) + assert.NoError(t, err) + assert.NotNil(t, queueProxy) + if test.expectNilCancel { + assert.Nil(t, queueProxyCancel) + } else { + assert.NotNil(t, queueProxyCancel) + } + }) + } +} + +func TestScrapeErr(t *testing.T) { + metricExample := `# TYPE my_metric counter + my_metric{} 0 + ` + zapLogger := logger.InitializeLogger() + promRegistry = prometheus.NewRegistry() + qp := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + _, err := w.Write([]byte(metricExample)) + assert.NoError(t, err) + })) + defer qp.Close() + + url := "not-a-real-url" + + req := &http.Request{} + queueProxy, _, _, err := scrape(url, req.Header, zapLogger) + assert.Error(t, err) + assert.Nil(t, queueProxy) +} + +func TestHandleStats(t *testing.T) { + metricExample := `# TYPE my_metric counter + my_metric{} 0 + ` + otherMetricExample := `# TYPE my_other_metric counter + my_other_metric{} 0 + ` + tests := []struct { + name string + queueproxy string + app string + output string + expectParseError bool + }{ + { + name: "queueproxy metric only", + queueproxy: metricExample, + output: metricExample, + }, + { + name: "app metric only", + app: metricExample, + output: metricExample, + }, + { + name: "multiple metric", + queueproxy: metricExample, + app: otherMetricExample, + output: metricExample + otherMetricExample, + }, + // when app and queueproxy share a metric, Prometheus will fail. + { + name: "conflict metric", + queueproxy: metricExample + otherMetricExample, + app: metricExample, + output: metricExample + otherMetricExample + metricExample, + expectParseError: true, + }, + } + + zapLogger := logger.InitializeLogger() + for _, test := range tests { + t.Run(test.name, func(t *testing.T) { + promRegistry = prometheus.NewRegistry() + rec := httptest.NewRecorder() + qp := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + _, err := w.Write([]byte(test.queueproxy)) + assert.NoError(t, err) + })) + defer qp.Close() + + app := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + _, err := w.Write([]byte(test.app)) + assert.NoError(t, err) + })) + defer app.Close() + + psc := &ScrapeConfigurations{ + logger: zapLogger, + QueueProxyPort: strings.Split(qp.URL, ":")[2], + AppPort: strings.Split(app.URL, ":")[2], + } + req := &http.Request{} + psc.handleStats(rec, req) + assert.Equal(t, rec.Code, 200) + assert.Contains(t, rec.Body.String(), test.output) + + parser := expfmt.TextParser{} + mfMap, err := parser.TextToMetricFamilies(strings.NewReader(rec.Body.String())) + if !test.expectParseError { + assert.NoErrorf(t, err, "failed to parse metrics: %v", err) + } else if err == nil && test.expectParseError { + assert.False(t, test.expectParseError, "expected a prse error, got %+v", mfMap) + } + }) + } + +} + +func TestHandleStatsErr(t *testing.T) { + zapLogger := logger.InitializeLogger() + fail := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + w.WriteHeader(http.StatusInternalServerError) + })) + defer fail.Close() + pass := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + w.WriteHeader(http.StatusOK) + })) + defer pass.Close() + failPort := strings.Split(fail.URL, ":")[2] + passPort := strings.Split(pass.URL, ":")[2] + + tests := []struct { + name string + queueproxy string + app string + }{ + {"both pass", passPort, passPort}, + {"queue proxy pass", passPort, failPort}, + {"app pass", failPort, passPort}, + {"both fail", failPort, failPort}, + } + for _, test := range tests { + t.Run(test.name, func(t *testing.T) { + sc := NewScrapeConfigs(zapLogger, test.queueproxy, test.app, DefaultQueueProxyMetricsPath) + req := &http.Request{} + rec := httptest.NewRecorder() + sc.handleStats(rec, req) + assert.Equal(t, 200, rec.Code) + }) + } +} diff --git a/qpext/go.mod b/qpext/go.mod new file mode 100644 index 00000000000..69c46f51371 --- /dev/null +++ b/qpext/go.mod @@ -0,0 +1,79 @@ +module github.com/kserve/kserve/qpext + +go 1.18 + +require ( + github.com/hashicorp/go-multierror v1.1.1 + github.com/prometheus/client_golang v1.13.0 + github.com/prometheus/common v0.37.0 + github.com/stretchr/testify v1.7.0 + go.uber.org/zap v1.19.1 + knative.dev/serving v0.34.2 +) + +require ( + contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d // indirect + contrib.go.opencensus.io/exporter/prometheus v0.4.0 // indirect + contrib.go.opencensus.io/exporter/zipkin v0.1.2 // indirect + github.com/beorn7/perks v1.0.1 // indirect + github.com/blendle/zapdriver v1.3.1 // indirect + github.com/census-instrumentation/opencensus-proto v0.3.0 // indirect + github.com/cespare/xxhash/v2 v2.1.2 // indirect + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/evanphx/json-patch/v5 v5.6.0 // indirect + github.com/go-kit/log v0.2.0 // indirect + github.com/go-logfmt/logfmt v0.5.1 // indirect + github.com/go-logr/logr v1.2.2 // indirect + github.com/gogo/protobuf v1.3.2 // indirect + github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect + github.com/golang/protobuf v1.5.2 // indirect + github.com/google/go-cmp v0.5.8 // indirect + github.com/google/go-containerregistry v0.8.1-0.20220414143355-892d7a808387 // indirect + github.com/google/gofuzz v1.2.0 // indirect + github.com/gorilla/websocket v1.4.2 // indirect + github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect + github.com/hashicorp/errwrap v1.0.0 // indirect + github.com/hashicorp/golang-lru v0.5.4 // indirect + github.com/json-iterator/go v1.1.12 // indirect + github.com/kelseyhightower/envconfig v1.4.0 // indirect + github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect + github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect + github.com/modern-go/reflect2 v1.0.2 // indirect + github.com/openzipkin/zipkin-go v0.3.0 // indirect + github.com/pkg/errors v0.9.1 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/prometheus/client_model v0.2.0 // indirect + github.com/prometheus/procfs v0.8.0 // indirect + github.com/prometheus/statsd_exporter v0.21.0 // indirect + go.opencensus.io v0.23.0 // indirect + go.uber.org/atomic v1.9.0 // indirect + go.uber.org/automaxprocs v1.4.0 // indirect + go.uber.org/multierr v1.6.0 // indirect + golang.org/x/net v0.0.0-20220225172249-27dd8689420f // indirect + golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b // indirect + golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect + golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect + golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect + golang.org/x/text v0.3.7 // indirect + golang.org/x/time v0.0.0-20220224211638-0e9765cccd65 // indirect + gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect + google.golang.org/api v0.70.0 // indirect + google.golang.org/appengine v1.6.7 // indirect + google.golang.org/genproto v0.0.0-20220301145929-1ac2ace0dbf7 // indirect + google.golang.org/grpc v1.44.0 // indirect + google.golang.org/protobuf v1.28.1 // indirect + gopkg.in/inf.v0 v0.9.1 // indirect + gopkg.in/yaml.v2 v2.4.0 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect + k8s.io/api v0.23.9 // indirect + k8s.io/apimachinery v0.23.9 // indirect + k8s.io/client-go v0.23.9 // indirect + k8s.io/klog/v2 v2.70.2-0.20220707122935-0990e81f1a8f // indirect + k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 // indirect + knative.dev/control-protocol v0.0.0-20220818153549-f18dbde7d9bd // indirect + knative.dev/networking v0.0.0-20220818010248-e51df7cdf571 // indirect + knative.dev/pkg v0.0.0-20220818004048-4a03844c0b15 // indirect + sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 // indirect + sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect + sigs.k8s.io/yaml v1.3.0 // indirect +) diff --git a/qpext/go.sum b/qpext/go.sum new file mode 100644 index 00000000000..7d1dda53946 --- /dev/null +++ b/qpext/go.sum @@ -0,0 +1,954 @@ +cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= +cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= +cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= +cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= +cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= +cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= +cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= +cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= +cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= +cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= +cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= +cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= +cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= +cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= +cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg= +cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8= +cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0= +cloud.google.com/go v0.83.0/go.mod h1:Z7MJUsANfY0pYPdw0lbnivPx4/vhy/e2FEkSkF7vAVY= +cloud.google.com/go v0.84.0/go.mod h1:RazrYuxIK6Kb7YrzzhPoLmCVzl7Sup4NrbKPg8KHSUM= +cloud.google.com/go v0.87.0/go.mod h1:TpDYlFy7vuLzZMMZ+B6iRiELaY7z/gJPaqbMx6mlWcY= +cloud.google.com/go v0.90.0/go.mod h1:kRX0mNRHe0e2rC6oNakvwQqzyDmg57xJ+SZU1eT2aDQ= +cloud.google.com/go v0.93.3/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI= +cloud.google.com/go v0.94.1/go.mod h1:qAlAugsXlC+JWO+Bke5vCtc9ONxjQT3drlTTnAplMW4= +cloud.google.com/go v0.97.0/go.mod h1:GF7l59pYBVlXQIBLx3a761cZ41F9bBH3JUlihCt2Udc= +cloud.google.com/go v0.99.0/go.mod h1:w0Xx2nLzqWJPuozYQX+hFfCSI8WioryfRDzkoI/Y2ZA= +cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w99A= +cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= +cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= +cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= +cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= +cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= +cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= +cloud.google.com/go/compute v0.1.0/go.mod h1:GAesmwr110a34z04OlxYkATPBEfVhkymfTBXtfbBFow= +cloud.google.com/go/compute v1.3.0/go.mod h1:cCZiE1NHEtai4wiufUhW8I8S1JKkAnhnQJWM7YD99wM= +cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= +cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= +cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= +cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= +cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= +cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= +cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= +cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= +cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= +cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= +cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= +contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d h1:LblfooH1lKOpp1hIhukktmSAxFkqMPFk9KR6iZ0MJNI= +contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d/go.mod h1:IshRmMJBhDfFj5Y67nVhMYTTIze91RUeT73ipWKs/GY= +contrib.go.opencensus.io/exporter/prometheus v0.4.0 h1:0QfIkj9z/iVZgK31D9H9ohjjIDApI2GOPScCKwxedbs= +contrib.go.opencensus.io/exporter/prometheus v0.4.0/go.mod h1:o7cosnyfuPVK0tB8q0QmaQNhGnptITnPQB+z1+qeFB0= +contrib.go.opencensus.io/exporter/zipkin v0.1.2 h1:YqE293IZrKtqPnpwDPH/lOqTWD/s3Iwabycam74JV3g= +contrib.go.opencensus.io/exporter/zipkin v0.1.2/go.mod h1:mP5xM3rrgOjpn79MM8fZbj3gsxcuytSqtH0dxSWW1RE= +dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= +github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= +github.com/Azure/go-autorest/autorest v0.11.18/go.mod h1:dSiJPy22c3u0OtOKDNttNgqpNFY/GeWa7GH/Pz56QRA= +github.com/Azure/go-autorest/autorest/adal v0.9.13/go.mod h1:W/MM4U6nLxnIskrw4UwWzlHfGjwUS50aOsc/I3yuU8M= +github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74= +github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= +github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= +github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= +github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= +github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= +github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= +github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= +github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= +github.com/Shopify/sarama v1.30.0/go.mod h1:zujlQQx1kzHsh4jfV1USnptCQrHAEZ2Hk8fTKCulPVs= +github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= +github.com/Shopify/toxiproxy/v2 v2.1.6-0.20210914104332-15ea381dcdae/go.mod h1:/cvHQkZ1fst0EmZnA5dFtiQdWCNCFYzb+uE2vqVgvx0= +github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= +github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= +github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= +github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= +github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= +github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= +github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= +github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= +github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= +github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= +github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= +github.com/blendle/zapdriver v1.3.1 h1:C3dydBOWYRiOk+B8X9IVZ5IOe+7cl+tGOexN4QqHfpE= +github.com/blendle/zapdriver v1.3.1/go.mod h1:mdXfREi6u5MArG4j9fewC+FGnXaBR+T4Ox4J2u4eHCc= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/census-instrumentation/opencensus-proto v0.3.0 h1:t/LhUZLVitR1Ow2YOnduCsavhwFUklBMoGVYUCqmCqk= +github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= +github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/cespare/xxhash/v2 v2.1.2 h1:YRXhKfTDauu4ajMg1TPgFO5jnlC2HCbmLXMcTG5cbYE= +github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= +github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= +github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= +github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= +github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= +github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= +github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= +github.com/eapache/go-resiliency v1.2.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= +github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= +github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= +github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= +github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= +github.com/envoyproxy/go-control-plane v0.6.9/go.mod h1:SBwIajubJHhxtWwsL9s8ss4safvEdbitLhGGK48rN6g= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= +github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= +github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= +github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= +github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= +github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/evanphx/json-patch v0.5.2/go.mod h1:ZWS5hhDbVDyob71nXKNL0+PWn6ToqBHMikGIFbs31qQ= +github.com/evanphx/json-patch v4.12.0+incompatible h1:4onqiflcdA9EOZ4RxV643DvftH5pOlLGNtQ5lPWQu84= +github.com/evanphx/json-patch v4.12.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= +github.com/evanphx/json-patch/v5 v5.6.0 h1:b91NhWfaz02IuVxO9faSllyAtNXHMPkC5J8sJCLunww= +github.com/evanphx/json-patch/v5 v5.6.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4= +github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= +github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= +github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= +github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= +github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= +github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= +github.com/getkin/kin-openapi v0.76.0/go.mod h1:660oXbgy5JFMKreazJaQTw7o+X00qeSyhcnluiMv+Xg= +github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= +github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= +github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= +github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= +github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= +github.com/go-kit/log v0.2.0 h1:7i2K3eKTos3Vc0enKCfnVcgHh2olr/MyfboYq7cAcFw= +github.com/go-kit/log v0.2.0/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= +github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= +github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= +github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= +github.com/go-logfmt/logfmt v0.5.1 h1:otpy5pqBCBZ1ng9RQ0dPu4PN7ba75Y/aA+UpowDyNVA= +github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= +github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= +github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= +github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.2.2 h1:ahHml/yUpnlb96Rp8HCvtYVPY8ZYpxq3g7UYchIYwbs= +github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= +github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= +github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8= +github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= +github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= +github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= +github.com/gogo/googleapis v1.1.0/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s= +github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= +github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= +github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= +github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= +github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8= +github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= +github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM= +github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= +github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= +github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-containerregistry v0.8.1-0.20220414143355-892d7a808387 h1:GWICy4b02s8EA1M9H5krRQ48BKpIHO5LtBBm2BQLhx0= +github.com/google/go-containerregistry v0.8.1-0.20220414143355-892d7a808387/go.mod h1:eTLvLZaEe2FoQsb25t7BLxQQryyrwHTzFfwxN87mhAw= +github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= +github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= +github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/martian/v3 v3.2.1/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk= +github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= +github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= +github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= +github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0= +github.com/googleapis/gax-go/v2 v2.1.1/go.mod h1:hddJymUZASv3XPyGkUpKj8pPO47Rmb0eJc8R6ouapiM= +github.com/googleapis/gnostic v0.5.1/go.mod h1:6U4PtQXGIEt/Z3h5MAT7FNofLnw9vXk2cUuW7uA/OeU= +github.com/googleapis/gnostic v0.5.5 h1:9fHAtK0uDfpveeqqo1hkEZJcFvYXAiCN3UutL8F9xHw= +github.com/googleapis/gnostic v0.5.5/go.mod h1:7+EbHbldMins07ALC74bsA81Ovc97DwqyJO1AENw9kA= +github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= +github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= +github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= +github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4= +github.com/gorilla/sessions v1.2.1/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM= +github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= +github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= +github.com/grpc-ecosystem/grpc-gateway v1.14.6/go.mod h1:zdiPV4Yse/1gnckTHtghG4GkDEdKCRJduHpTxT3/jcw= +github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo= +github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= +github.com/hashicorp/errwrap v1.0.0 h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA= +github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= +github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= +github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc= +github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= +github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= +github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= +github.com/imdario/mergo v0.3.12 h1:b6R2BslTbIEToALKP7LxUvijTsNI9TAe80pLWN2g/HU= +github.com/jcmturner/aescts/v2 v2.0.0/go.mod h1:AiaICIRyfYg35RUkr8yESTqvSy7csK90qZ5xfvvsoNs= +github.com/jcmturner/dnsutils/v2 v2.0.0/go.mod h1:b0TnjGOvI/n42bZa+hmXL+kFJZsFT7G4t3HTlQ184QM= +github.com/jcmturner/gofork v1.0.0/go.mod h1:MK8+TM0La+2rjBD4jE12Kj1pCCxK7d2LK/UM3ncEo0o= +github.com/jcmturner/goidentity/v6 v6.0.1/go.mod h1:X1YW3bgtvwAXju7V3LCIMpY0Gbxyjn/mY9zx4tFonSg= +github.com/jcmturner/gokrb5/v8 v8.4.2/go.mod h1:sb+Xq/fTY5yktf/VxLsE3wlfPqQjp0aWNYyvBVK62bc= +github.com/jcmturner/rpc/v2 v2.0.3/go.mod h1:VUJYCIDm3PVOEHw8sgt091/20OJjskO/YJki3ELg/Hc= +github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= +github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= +github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= +github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= +github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= +github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= +github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= +github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= +github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= +github.com/kelseyhightower/envconfig v1.4.0 h1:Im6hONhd3pLkfDFsbRgu68RDNkGF1r3dvMUtDTo2cv8= +github.com/kelseyhightower/envconfig v1.4.0/go.mod h1:cccZRl6mQpaq41TPp5QxidR+Sa3axMbJDNb//FQX6Gg= +github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= +github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= +github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= +github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= +github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= +github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 h1:I0XW9+e1XWDxdcEniV4rQAIOPUGDq67JSCiRCgGCZLI= +github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= +github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= +github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c= +github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= +github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= +github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= +github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= +github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= +github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= +github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= +github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= +github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= +github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= +github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU= +github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= +github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= +github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= +github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= +github.com/onsi/gomega v1.16.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= +github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= +github.com/openzipkin/zipkin-go v0.3.0 h1:XtuXmOLIXLjiU2XduuWREDT0LOKtSgos/g7i7RYyoZQ= +github.com/openzipkin/zipkin-go v0.3.0/go.mod h1:4c3sLeE8xjNqehmF5RpAFLPLJxXscc0R4l6Zg0P1tTQ= +github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= +github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= +github.com/pierrec/lz4 v2.6.1+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= +github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= +github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= +github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= +github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= +github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= +github.com/prometheus/client_golang v1.13.0 h1:b71QUfeo5M8gq2+evJdTPfZhYMAU0uKPkyPJ7TPsloU= +github.com/prometheus/client_golang v1.13.0/go.mod h1:vTeo+zgvILHsnnj/39Ou/1fPN5nJFOEMgftOUOmlvYQ= +github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.2.0 h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M= +github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= +github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= +github.com/prometheus/common v0.28.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= +github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= +github.com/prometheus/common v0.37.0 h1:ccBbHCgIiT9uSoFY0vX8H3zsNR5eLt17/RQLUvn8pXE= +github.com/prometheus/common v0.37.0/go.mod h1:phzohg0JFMnBEFGxTDbfu3QyL5GI8gTQJFhYO5B3mfA= +github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= +github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= +github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= +github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= +github.com/prometheus/procfs v0.8.0 h1:ODq8ZFEaYeCaZOJlZZdJA2AbQR98dSHSM1KW/You5mo= +github.com/prometheus/procfs v0.8.0/go.mod h1:z7EfXMXOkbkqb9IINtpCn86r/to3BnA0uaxHdg830/4= +github.com/prometheus/statsd_exporter v0.21.0 h1:hA05Q5RFeIjgwKIYEdFd59xu5Wwaznf33yKI+pyX6T8= +github.com/prometheus/statsd_exporter v0.21.0/go.mod h1:rbT83sZq2V+p73lHhPZfMc3MLCHmSHelCh9hSGYNLTQ= +github.com/rabbitmq/amqp091-go v1.1.0/go.mod h1:ogQDLSOACsLPsIq0NpbtiifNZi2YOz0VTJ0kHRghqbM= +github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= +github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= +github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= +github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= +github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= +github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= +github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= +github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= +github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= +github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= +github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= +github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= +github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= +github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= +github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/urfave/cli/v2 v2.3.0/go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI= +github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI= +github.com/xdg-go/scram v1.0.2/go.mod h1:1WAq6h33pAW+iRreB34OORO2Nf7qel3VV3fjBj+hCSs= +github.com/xdg-go/stringprep v1.0.2/go.mod h1:8F9zXuvzgwmyT5DUm4GUfZGDdT3W+LCvS6+da4O5kxM= +github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= +go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= +go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= +go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= +go.opencensus.io v0.23.0 h1:gqCw0LfLxScz8irSi8exQc7fyQ0fKQU/qnC/X8+V/1M= +go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= +go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= +go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= +go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE= +go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/automaxprocs v1.4.0 h1:CpDZl6aOlLhReez+8S3eEotD7Jx0Os++lemPlMULQP0= +go.uber.org/automaxprocs v1.4.0/go.mod h1:/mTEdr7LvHhs0v7mjdxDreTz1OG5zdZGqgOnhWiR/+Q= +go.uber.org/goleak v1.1.11-0.20210813005559-691160354723/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= +go.uber.org/goleak v1.1.12 h1:gZAh5/EyT/HQwlpkCy6wTpqfH9H8Lz8zbm3dZh+OyzA= +go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= +go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4= +go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= +go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= +go.uber.org/zap v1.19.1 h1:ue41HOKd1vGURxrmeKIgELGb3jPW9DMUDGtsinblHwI= +go.uber.org/zap v1.19.1/go.mod h1:j3DNczoxDZroyBnOT1L/Q79cfUMGZxlv/9dzN7SM1rI= +golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20201112155050-0c6587e931a9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20210920023735-84f357641f63/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= +golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= +golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= +golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= +golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= +golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= +golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= +golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= +golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= +golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= +golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= +golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= +golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.5.1 h1:OJxoQ/rynoF0dcCdI7cLPktw/hR2cueqYfjm43oqK38= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= +golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191002035440-2ec189313ef0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc= +golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= +golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= +golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210917221730-978cfadd31cf/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20211209124913-491a49abca63/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220225172249-27dd8689420f h1:oA4XRj0qtSt8Yo1Zms0CUlsT3KG69V2UGQWPBxujDmc= +golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b h1:clP8eMhB30EHdc0bd2Twtq6kgU7yl5ub2cQLSdrv1Dg= +golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 h1:uVc8UZUe6tr40fFVnUP5Oj+veunVezqYl9z7DYw9xzw= +golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210603125802-9665404d3644/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210831042530-f4d43177bf5e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a h1:dGzPydgVsqGcTRVwiLJ1jVbufYwmzD3LfVPLKsKg+0k= +golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 h1:JGgROgKl9N8DuW20oFS5gxc+lE67/N3FcwmBPMe7ArY= +golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= +golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20220224211638-0e9765cccd65 h1:M73Iuj3xbbb9Uk1DYhzydthsj6oOd6l9bpuFcNoUvTs= +golang.org/x/time v0.0.0-20220224211638-0e9765cccd65/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= +golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= +golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= +golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200505023115-26f46d2f7ef8/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= +golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= +golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.9 h1:j9KsMiaP1c3B0OTQGth0/k+miLGTgLsAFUCrF2vLcF8= +golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +gomodules.xyz/jsonpatch/v2 v2.2.0 h1:4pT439QV83L+G9FkcCriY6EkpcK6r6bK+A5FBUMI7qY= +gomodules.xyz/jsonpatch/v2 v2.2.0/go.mod h1:WXp+iVDkoLQqPudfQ9GBlwB2eZ5DKOnjQZCYdOS8GPY= +google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= +google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= +google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= +google.golang.org/api v0.25.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= +google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= +google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= +google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= +google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= +google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= +google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= +google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU= +google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94= +google.golang.org/api v0.47.0/go.mod h1:Wbvgpq1HddcWVtzsVLyfLp8lDg6AA241LmgIL59tHXo= +google.golang.org/api v0.48.0/go.mod h1:71Pr1vy+TAZRPkPs/xlCf5SsU8WjuAWv1Pfjbtukyy4= +google.golang.org/api v0.50.0/go.mod h1:4bNT5pAuq5ji4SRZm+5QIkjny9JAyVD/3gaSihNefaw= +google.golang.org/api v0.51.0/go.mod h1:t4HdrdoNgyN5cbEfm7Lum0lcLDLiise1F8qDKX00sOU= +google.golang.org/api v0.54.0/go.mod h1:7C4bFFOvVDGXjfDTAsgGwDgAxRDeQ4X8NvUedIt6z3k= +google.golang.org/api v0.55.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= +google.golang.org/api v0.56.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= +google.golang.org/api v0.57.0/go.mod h1:dVPlbZyBo2/OjBpmvNdpn2GRm6rPy75jyU7bmhdrMgI= +google.golang.org/api v0.61.0/go.mod h1:xQRti5UdCmoCEqFxcz93fTl338AVqDgyaDRuOZ3hg9I= +google.golang.org/api v0.63.0/go.mod h1:gs4ij2ffTRXwuzzgJl/56BdwJaA194ijkfn++9tDuPo= +google.golang.org/api v0.67.0/go.mod h1:ShHKP8E60yPsKNw/w8w+VYaj9H6buA5UqDp8dhbQZ6g= +google.golang.org/api v0.70.0 h1:67zQnAE0T2rB0A3CwLSas0K+SbVzSxP+zTLkQLexeiw= +google.golang.org/api v0.70.0/go.mod h1:Bs4ZM2HGifEvXwd50TtW70ovgJffJYw2oRCOFU/SkfA= +google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= +google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= +google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= +google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= +google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= +google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= +google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= +google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201019141844-1ed22bb0c154/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= +google.golang.org/genproto v0.0.0-20210513213006-bf773b8c8384/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A= +google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= +google.golang.org/genproto v0.0.0-20210604141403-392c879c8b08/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= +google.golang.org/genproto v0.0.0-20210608205507-b6d2f5bf0d7d/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= +google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84/go.mod h1:SzzZ/N+nwJDaO1kznhnlzqS8ocJICar6hYhVyhi++24= +google.golang.org/genproto v0.0.0-20210713002101-d411969a0d9a/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= +google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= +google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= +google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= +google.golang.org/genproto v0.0.0-20210813162853-db860fec028c/go.mod h1:cFeNkxwySK631ADgubI+/XFU/xp8FD5KIVV4rj8UC5w= +google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210828152312-66f60bf46e71/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210903162649-d08c68adba83/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211206160659-862468c7d6e0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211221195035-429b39de9b1c/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20220126215142-9970aeb2e350/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20220207164111-0872dc986b00/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20220218161850-94dd64e39d7c/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220301145929-1ac2ace0dbf7 h1:6fWaU2vz6/23eNdMU1V00ZPO5AZFQ2SLsO6r/z0Z2H0= +google.golang.org/genproto v0.0.0-20220301145929-1ac2ace0dbf7/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM= +google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= +google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= +google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= +google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= +google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= +google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= +google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= +google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= +google.golang.org/grpc v1.37.1/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= +google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= +google.golang.org/grpc v1.39.0/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= +google.golang.org/grpc v1.39.1/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= +google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= +google.golang.org/grpc v1.40.1/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= +google.golang.org/grpc v1.41.0/go.mod h1:U3l9uK9J0sini8mHphKoXyaqDA/8VyGnDee1zzIUK6k= +google.golang.org/grpc v1.44.0 h1:weqSxi/TMs1SqFRMHCtBgXRs8k3X39QIDEZ0pRcttUg= +google.golang.org/grpc v1.44.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= +google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= +google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w= +google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= +gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= +gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= +gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= +gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= +gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= +gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= +honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +k8s.io/api v0.23.9 h1:v7Ee2CZuyb6rVm1q4bUe7ZonWleLsrvgcOTxPGjQVa4= +k8s.io/api v0.23.9/go.mod h1:r4g0GrGdLgwSYB90qgO4tBrbKtALBhUfut+oFt4ikCc= +k8s.io/apimachinery v0.23.9 h1:u9Pu7Ffe+9+QJUemtNjuCwvHSnOUeYEwgSHV+88Ne0g= +k8s.io/apimachinery v0.23.9/go.mod h1:BEuFMMBaIbcOqVIJqNZJXGFTP4W6AycEpb5+m/97hrM= +k8s.io/client-go v0.23.9 h1:OKxNCL+nhw7UBB5b01OVuAV4Db/AdBdaV6/GYpucuOw= +k8s.io/client-go v0.23.9/go.mod h1:sNo0X0MZqo4Uu0qDY5Fl5Y60cJFinBDWWUBOAM5JUCM= +k8s.io/gengo v0.0.0-20210813121822-485abfe95c7c/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= +k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= +k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= +k8s.io/klog/v2 v2.30.0/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= +k8s.io/klog/v2 v2.70.2-0.20220707122935-0990e81f1a8f h1:dltw7bAn8bCrQ2CmzzhgoieUZEbWqrvIGVdHGioP5nY= +k8s.io/klog/v2 v2.70.2-0.20220707122935-0990e81f1a8f/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= +k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65/go.mod h1:sX9MT8g7NVZM5lVL/j8QyCCJe8YSMW30QvGZWaCIDIk= +k8s.io/kube-openapi v0.0.0-20220124234850-424119656bbf h1:M9XBsiMslw2lb2ZzglC0TOkBPK5NQi0/noUrdnoFwUg= +k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +k8s.io/utils v0.0.0-20211116205334-6203023598ed/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 h1:HNSDgDCrr/6Ly3WEGKZftiE7IY19Vz2GdbOCyI4qqhc= +k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +knative.dev/control-protocol v0.0.0-20220818153549-f18dbde7d9bd h1:sco6+LdPEq1iYm5Fo1Sva2LuiRjS1tqMqZFAVb7Yfd8= +knative.dev/control-protocol v0.0.0-20220818153549-f18dbde7d9bd/go.mod h1:vO3Xc0k0h6fFVsVG9kNMUMcVKG7MAx7jMbZDvgSuzwI= +knative.dev/networking v0.0.0-20220818010248-e51df7cdf571 h1:Lu/TsJjxg1p+2CMr2LNHEdEFBNHYjDoZv2f1QZoM8jg= +knative.dev/networking v0.0.0-20220818010248-e51df7cdf571/go.mod h1:m3ataWRwmbHjOY9sCFvcDWRNLVITxVl0fH0RxdCa4jE= +knative.dev/pkg v0.0.0-20220818004048-4a03844c0b15 h1:GNmzHVaUo3zoi/wtIN71LPQaWy6DdoYzmb+GIq2s4fw= +knative.dev/pkg v0.0.0-20220818004048-4a03844c0b15/go.mod h1:YLjXbkQLlGHok+u0FLfMbBHFzY9WGu3GHhnrptoAy8I= +knative.dev/serving v0.34.2 h1:bFamUUcc+Rh73mss2ICwmoK+dBKK/MdbgEsfdIK/Mis= +knative.dev/serving v0.34.2/go.mod h1:IyfedOBq3KzcD5dZONjbix2BfS0jOwDq5td8UE9CjCk= +rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= +rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= +rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= +sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6/go.mod h1:p4QtZmO4uMYipTQNzagwnNoseA6OxSUutVw05NhYDRs= +sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 h1:kDi4JBNAsJWfz1aEXhO8Jg87JJaPNLh5tIzYHgStQ9Y= +sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2/go.mod h1:B+TnT182UBxE84DiCz4CVE26eOSDAeYCpfDnC2kdKMY= +sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= +sigs.k8s.io/structured-merge-diff/v4 v4.2.1 h1:bKCqE9GvQ5tiVHn5rfn1r+yao3aLQEaLzkkmAkf+A6Y= +sigs.k8s.io/structured-merge-diff/v4 v4.2.1/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= +sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= +sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo= +sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= diff --git a/qpext/logger.go b/qpext/logger.go new file mode 100644 index 00000000000..90e8993ab4b --- /dev/null +++ b/qpext/logger.go @@ -0,0 +1,28 @@ +/* +Copyright 2022 The KServe Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package logger + +import ( + "go.uber.org/zap" +) + +type Logger = zap.Logger + +func InitializeLogger() *Logger { + zaplogger, _ := zap.NewProduction() + return zaplogger +} diff --git a/qpext/qpext.Dockerfile b/qpext/qpext.Dockerfile new file mode 100644 index 00000000000..34beea04639 --- /dev/null +++ b/qpext/qpext.Dockerfile @@ -0,0 +1,20 @@ +# Build the inference qpext binary +FROM golang:1.18 as builder + +# Copy in the go src +WORKDIR /go/src/github.com/kserve/kserve/qpext +COPY go.mod go.mod +COPY go.sum go.sum + +RUN go mod download + +COPY cmd/qpext cmd/qpext +COPY logger.go logger.go + +# Build +RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o qpext ./cmd/qpext + +FROM gcr.io/distroless/static:nonroot +WORKDIR /ko-app +COPY --from=builder /go/src/github.com/kserve/kserve/qpext /ko-app/ +ENTRYPOINT ["/ko-app/qpext"] diff --git a/test/e2e/qpext/__init__.py b/test/e2e/qpext/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/test/e2e/qpext/test_qpext.py b/test/e2e/qpext/test_qpext.py new file mode 100644 index 00000000000..fbb4b64afcd --- /dev/null +++ b/test/e2e/qpext/test_qpext.py @@ -0,0 +1,94 @@ +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import os +import logging +import time +import requests +import portforward +from kubernetes import client +from kserve import ( + constants, + KServeClient, + V1beta1InferenceService, + V1beta1InferenceServiceSpec, + V1beta1PredictorSpec, + V1beta1SKLearnSpec, +) +from kubernetes.client import V1ResourceRequirements +from ..common.utils import KSERVE_TEST_NAMESPACE +from ..common.utils import predict + +logging.basicConfig(level=logging.INFO) + +ENABLE_METRIC_AGG = "serving.kserve.io/enable-metric-aggregation" +METRICS_AGG_PORT = 9088 +METRICS_PATH = "/metrics" + + +def test_qpext_kserve(): + # test the qpext using the sklearn predictor + service_name = "isvc-sklearn-v2" + predictor = V1beta1PredictorSpec( + min_replicas=1, + sklearn=V1beta1SKLearnSpec( + storage_uri="gs://seldon-models/sklearn/mms/lr_model", + protocol_version="v2", + resources=V1ResourceRequirements( + requests={"cpu": "50m", "memory": "128Mi"}, + limits={"cpu": "100m", "memory": "512Mi"}, + ), + ), + ) + + isvc = V1beta1InferenceService( + api_version=constants.KSERVE_V1BETA1, + kind=constants.KSERVE_KIND, + metadata=client.V1ObjectMeta( + name=service_name, namespace=KSERVE_TEST_NAMESPACE, + # set the metric aggregation annotation to true + annotations={ENABLE_METRIC_AGG: "true"}, + ), + spec=V1beta1InferenceServiceSpec(predictor=predictor), + ) + + kserve_client = KServeClient(config_file=os.environ.get("KUBECONFIG", "~/.kube/config")) + kserve_client.create(isvc) + kserve_client.wait_isvc_ready(service_name, namespace=KSERVE_TEST_NAMESPACE) + + res = predict(service_name, "./data/iris_input_v2.json", protocol_version="v2") + assert res["outputs"][0]["data"] == [1, 1] + + send_metrics_request(kserve_client, service_name) + kserve_client.delete(service_name, KSERVE_TEST_NAMESPACE) + + +def send_metrics_request(kserve_client, service_name): + time.sleep(10) + pods = kserve_client.core_api.list_namespaced_pod(KSERVE_TEST_NAMESPACE, + label_selector='serving.kserve.io/inferenceservice={}'. + format(service_name)) + pod_name = "" + for pod in pods.items: + # get a pod name + pod_name = pod.metadata.name + break + + url = f"http://localhost:{METRICS_AGG_PORT}/{METRICS_PATH}" + with portforward.forward(KSERVE_TEST_NAMESPACE, pod_name, METRICS_AGG_PORT, METRICS_AGG_PORT): + response = requests.get(url) + logging.info(f"response: {response}, content: {response.content}") + logging.info("Got response code %s, content %s", response.status_code, response.content) + + assert response.status_code == 200 + assert len(response.content) > 0 diff --git a/test/scripts/gh-actions/build-qpext-image.sh b/test/scripts/gh-actions/build-qpext-image.sh new file mode 100755 index 00000000000..0cfd8d30a31 --- /dev/null +++ b/test/scripts/gh-actions/build-qpext-image.sh @@ -0,0 +1,29 @@ +#!/bin/bash + +# Copyright 2022 The KServe Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# The script is used to build all the queue-proxy extension image. + +set -o errexit +set -o nounset +set -o pipefail +echo "Github SHA ${GITHUB_SHA}" +export QPEXT_IMG=kserve/qpext:${GITHUB_SHA} + +pushd qpext >/dev/null +echo "Building queue proxy extension image" +docker build -t ${QPEXT_IMG} -f qpext.Dockerfile . +popd +echo "Done building image" diff --git a/test/scripts/gh-actions/run-e2e-tests.sh b/test/scripts/gh-actions/run-e2e-tests.sh index 8a74af7587b..c557a7773ba 100755 --- a/test/scripts/gh-actions/run-e2e-tests.sh +++ b/test/scripts/gh-actions/run-e2e-tests.sh @@ -22,5 +22,5 @@ set -o pipefail echo "Starting E2E functional tests ..." pushd test/e2e >/dev/null - pytest -m "$1" + pytest -m "$1" --ignore=qpext popd diff --git a/test/scripts/gh-actions/run-qpext-test.sh b/test/scripts/gh-actions/run-qpext-test.sh new file mode 100755 index 00000000000..4506c414883 --- /dev/null +++ b/test/scripts/gh-actions/run-qpext-test.sh @@ -0,0 +1,26 @@ +#!/bin/bash + +# Copyright 2022 The KServe Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# The script is used to deploy knative and kserve, and run e2e tests. + +set -o errexit +set -o nounset +set -o pipefail + +echo "Starting E2E queue proxy extension tests ..." +pushd test/e2e >/dev/null + pytest qpext +popd
horovod__horovod-2262
[Horovod on Ray]Failed on example of tensorflow2_mnist_ray.py **Environment:** 1. Framework: (TensorFlow1.15.0) 3. Horovod version:0.20.0 **Your question:** Please ask your question here. Hi @tgaddair @richardliaw I tried the example of Horovod on ray on CPU nodes, but failed. The ray cluster is ok. Using TensorFlow backend. (pid=262081) Using TensorFlow backend. (pid=262071) Using TensorFlow backend. Traceback (most recent call last): File "tensorflow2_mnist_ray.py", line 94, in <module> executor.run(train, kwargs=dict(num_epochs=1)) File "/home/xianyang/sw/miniconda3/envs/test/lib/python3.7/site-packages/horovod/ray/runner.py", line 426, in run lambda w: fn(*args, **kwargs)) for worker in self.workers]) File "/home/xianyang/sw/miniconda3/envs/test/lib/python3.7/site-packages/ray/worker.py", line 1516, in get raise value.as_instanceof_cause() ray.exceptions.RayTaskError(RecursionError): ray::BaseHorovodWorker.execute() (pid=262081, ip=10.0.0.131) File "python/ray/_raylet.pyx", line 414, in ray._raylet.execute_task File "python/ray/_raylet.pyx", line 431, in ray._raylet.execute_task File "/home/xianyang/sw/miniconda3/envs/test/lib/python3.7/site-packages/ray/serialization.py", line 317, in deserialize_objects self._deserialize_object(data, metadata, object_id)) File "/home/xianyang/sw/miniconda3/envs/test/lib/python3.7/site-packages/ray/serialization.py", line 257, in _deserialize_object return self._deserialize_msgpack_data(data, metadata) File "/home/xianyang/sw/miniconda3/envs/test/lib/python3.7/site-packages/ray/serialization.py", line 238, in _deserialize_msgpack_data python_objects = self._deserialize_pickle5_data(pickle5_data) File "/home/xianyang/sw/miniconda3/envs/test/lib/python3.7/site-packages/ray/serialization.py", line 226, in _deserialize_pickle5_data obj = pickle.loads(in_band) File "/home/xianyang/sw/miniconda3/envs/test/lib/python3.7/site-packages/tensorflow/__init__.py", line 50, in __getattr__ module = self._load() File "/home/xianyang/sw/miniconda3/envs/test/lib/python3.7/site-packages/tensorflow/__init__.py", line 44, in _load module = _importlib.import_module(self.__name__) File "/home/xianyang/sw/miniconda3/envs/test/lib/python3.7/site-packages/tensorflow/__init__.py", line 50, in __getattr__ module = self._load() File "/home/xianyang/sw/miniconda3/envs/test/lib/python3.7/site-packages/tensorflow/__init__.py", line 44, in _load module = _importlib.import_module(self.__name__) File "/home/xianyang/sw/miniconda3/envs/test/lib/python3.7/site-packages/tensorflow/__init__.py", line 50, in __getattr__ module = self._load() File "/home/xianyang/sw/miniconda3/envs/test/lib/python3.7/site-packages/tensorflow/__init__.py", line 44, in _load module = _importlib.import_module(self.__name__) ....... File "/home/xianyang/sw/miniconda3/envs/test/lib/python3.7/site-packages/tensorflow/__init__.py", line 50, in __getattr__ module = self._load() File "/home/xianyang/sw/miniconda3/envs/test/lib/python3.7/site-packages/tensorflow/__init__.py", line 44, in _load module = _importlib.import_module(self.__name__) File "/home/xianyang/sw/miniconda3/envs/test/lib/python3.7/site-packages/tensorflow/__init__.py", line 50, in __getattr__ module = self._load() File "/home/xianyang/sw/miniconda3/envs/test/lib/python3.7/site-packages/tensorflow/__init__.py", line 44, in _load module = _importlib.import_module(self.__name__) File "/home/xianyang/sw/miniconda3/envs/test/lib/python3.7/site-packages/tensorflow/__init__.py", line 50, in __getattr__ module = self._load() File "/home/xianyang/sw/miniconda3/envs/test/lib/python3.7/site-packages/tensorflow/__init__.py", line 44, in _load module = _importlib.import_module(self.__name__) File "/home/xianyang/sw/miniconda3/envs/test/lib/python3.7/site-packages/tensorflow/__init__.py", line 50, in __getattr__ module = self._load() File "/home/xianyang/sw/miniconda3/envs/test/lib/python3.7/site-packages/tensorflow/__init__.py", line 44, in _load module = _importlib.import_module(self.__name__) File "/home/xianyang/sw/miniconda3/envs/test/lib/python3.7/site-packages/tensorflow/__init__.py", line 50, in __getattr__ module = self._load() File "/home/xianyang/sw/miniconda3/envs/test/lib/python3.7/site-packages/tensorflow/__init__.py", line 44, in _load module = _importlib.import_module(self.__name__) RecursionError: maximum recursion depth exceeded while calling a Python object
[ { "content": "import tensorflow as tf\nimport horovod.tensorflow.keras as hvd\nimport horovod.keras as hvd\n\nimport ray\nfrom horovod.ray import RayExecutor\n\n\ndef train(num_epochs):\n # Horovod: initialize Horovod.\n hvd.init()\n\n # Horovod: pin GPU to be used to process local rank (one GPU per pr...
[ { "content": "import tensorflow as tf\nimport horovod.tensorflow.keras as hvd\n\nimport ray\nfrom horovod.ray import RayExecutor\n\n\ndef train(num_epochs):\n # Horovod: initialize Horovod.\n hvd.init()\n\n # Horovod: pin GPU to be used to process local rank (one GPU per process)\n gpus = tf.config....
diff --git a/examples/tensorflow2_mnist_ray.py b/examples/tensorflow2_mnist_ray.py index f44905221b..1e446d931c 100644 --- a/examples/tensorflow2_mnist_ray.py +++ b/examples/tensorflow2_mnist_ray.py @@ -1,6 +1,5 @@ import tensorflow as tf import horovod.tensorflow.keras as hvd -import horovod.keras as hvd import ray from horovod.ray import RayExecutor
PaddlePaddle__PaddleSpeech-1311
speech_recognition示例运行出错 这是源码: import paddle from paddlespeech.cli import ASRExecutor asr_executor = ASRExecutor() text = asr_executor( model='conformer_wenetspeech', lang='zh', sample_rate=16000, config=None, # Set `config` and `ckpt_path` to None to use pretrained model. ckpt_path=None, audio_file='input.wav', force_yes=False, device=paddle.get_device()) print('ASR Result: \n{}'.format(text)) 运行后提示: Traceback (most recent call last): File "D:\BaiduNetdiskDownload\PaddleSpeech-r0.1.0\demos\speech_recognition\speech_recognition.py", line 5, in <module> text = asr_executor( File "D:\BaiduNetdiskDownload\PaddleSpeech-r0.1.0\paddlespeech\cli\asr\infer.py", line 449, in __call__ self._init_from_path(model, lang, sample_rate, config, ckpt_path) File "D:\BaiduNetdiskDownload\PaddleSpeech-r0.1.0\paddlespeech\cli\asr\infer.py", line 166, in _init_from_path self.config.merge_from_file(self.cfg_path) File "D:\SoftWare\Anaconda\lib\site-packages\yacs\config.py", line 212, in merge_from_file cfg = self.load_cfg(f) File "D:\SoftWare\Anaconda\lib\site-packages\yacs\config.py", line 349, in load_cfg return cls._load_cfg_from_file(cfg_file_obj_or_str) File "D:\SoftWare\Anaconda\lib\site-packages\yacs\config.py", line 358, in _load_cfg_from_file return cls._load_cfg_from_yaml_str(file_obj.read()) File "D:\SoftWare\Anaconda\lib\site-packages\yacs\config.py", line 371, in _load_cfg_from_yaml_str return cls(cfg_as_dict) File "D:\SoftWare\Anaconda\lib\site-packages\yacs\config.py", line 86, in __init__ init_dict = self._create_config_tree_from_dict(init_dict, key_list) File "D:\SoftWare\Anaconda\lib\site-packages\yacs\config.py", line 126, in _create_config_tree_from_dict dic[k] = cls(v, key_list=key_list + [k]) File "D:\SoftWare\Anaconda\lib\site-packages\yacs\config.py", line 86, in __init__ init_dict = self._create_config_tree_from_dict(init_dict, key_list) File "D:\SoftWare\Anaconda\lib\site-packages\yacs\config.py", line 126, in _create_config_tree_from_dict dic[k] = cls(v, key_list=key_list + [k]) File "D:\SoftWare\Anaconda\lib\site-packages\yacs\config.py", line 86, in __init__ init_dict = self._create_config_tree_from_dict(init_dict, key_list) File "D:\SoftWare\Anaconda\lib\site-packages\yacs\config.py", line 129, in _create_config_tree_from_dict _assert_with_logging( File "D:\SoftWare\Anaconda\lib\site-packages\yacs\config.py", line 521, in _assert_with_logging assert cond, msg AssertionError: Key model.model_conf.ctc_grad_norm_type with value <class 'NoneType'> is not a valid type; valid types: {<class 'list'>, <class 'tuple'>, <class 'str'>, <class 'int'>, <class 'float'>, <class 'bool'>} 目前是按照文档在windows下进行的paddlepaddle安装,并下载了PaddleSpeech-r0.1.0源码后直接进行的测试,请问我该如何解决这个问题,谢谢
[ { "content": "# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2....
[ { "content": "# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2....
diff --git a/requirements.txt b/requirements.txt index e567dfa7099..c6889318398 100644 --- a/requirements.txt +++ b/requirements.txt @@ -43,5 +43,5 @@ typeguard unidecode visualdl webrtcvad -yacs +yacs~=0.1.8 yq diff --git a/setup.py b/setup.py index 75b3fe5c809..5d4ff80f7bc 100644 --- a/setup.py +++ b/setup.py @@ -61,7 +61,7 @@ "typeguard", "visualdl", "webrtcvad", - "yacs", + "yacs~=0.1.8", ], "develop": [ "ConfigArgParse",
pyodide__pyodide-4018
Add check for WASM magic number in .so files > `pyodide build` now replaces native `.so` slugs with Emscripten > slugs. Usually `.so`s in the generated wheels are actually Emscripten `.so`s > so this is good. If they are actually native `.so`s then there is a problem > either way. Not very critical, but should we actually check that the .so are emscripten .so rather than native .so that ended up there by mistake? For instance, we could check for the [WASM magic number](https://openhome.cc/eGossip/WebAssembly/Module.html) in the first 4 bytes maybe? It's supposed to be, `0061 736d`. Though I get the same bytes but in a different order, when I try, ``` $ hexdump -n 8 numpy/core/_multiarray_umath.cpython-311-wasm32-emscripten.so 0000000 6100 6d73 0001 0000 ``` but maybe I'm using hexdump wrong (**Edit:** yes, with the `-C` option it's better) _Originally posted by @rth in https://github.com/pyodide/pyodide/issues/3927#issuecomment-1599511454_
[ { "content": "# Common functions shared by other modules.\n# Notes for contributors:\n# This module should not import any other modules from pyodide-build except logger to avoid circular imports.\n\nimport contextlib\nimport hashlib\nimport os\nimport shutil\nimport subprocess\nimport sys\nimport textwrap\nim...
[ { "content": "# Common functions shared by other modules.\n# Notes for contributors:\n# This module should not import any other modules from pyodide-build except logger to avoid circular imports.\n\nimport contextlib\nimport hashlib\nimport os\nimport shutil\nimport subprocess\nimport sys\nimport textwrap\nim...
diff --git a/docs/project/changelog.md b/docs/project/changelog.md index e7f1b7e0c71..8fa3bc9267a 100644 --- a/docs/project/changelog.md +++ b/docs/project/changelog.md @@ -15,6 +15,10 @@ myst: ## Unreleased +- {{ Enhancement }} Adds `check_wasm_magic_number` function to validate `.so` + files for WebAssembly (WASM) compatibility. + {pr}`4018` + - {{ Enhancement }} Add an example for `loadPyodide` and `pyodide.runPython {pr}`4012`, {pr}`4011` diff --git a/pyodide-build/pyodide_build/common.py b/pyodide-build/pyodide_build/common.py index 534b559204f..f638a49159d 100644 --- a/pyodide-build/pyodide_build/common.py +++ b/pyodide-build/pyodide_build/common.py @@ -371,3 +371,9 @@ def get_wheel_dist_info_dir(wheel: ZipFile, pkg_name: str) -> str: ) return info_dir + + +def check_wasm_magic_number(file_path: Path) -> bool: + WASM_BINARY_MAGIC = b"\0asm" + with file_path.open(mode="rb") as file: + return file.read(4) == WASM_BINARY_MAGIC diff --git a/pyodide-build/pyodide_build/tests/test_common.py b/pyodide-build/pyodide_build/tests/test_common.py index 2dd8fffddbc..5a512d2baf2 100644 --- a/pyodide-build/pyodide_build/tests/test_common.py +++ b/pyodide-build/pyodide_build/tests/test_common.py @@ -3,6 +3,7 @@ import pytest from pyodide_build.common import ( + check_wasm_magic_number, environment_substitute_args, extract_wheel_metadata_file, find_missing_executables, @@ -152,3 +153,14 @@ def test_extract_wheel_metadata_file(tmp_path): with pytest.raises(Exception): extract_wheel_metadata_file(input_path_empty, output_path_empty) + + +def test_check_wasm_magic_number(tmp_path): + wasm_magic_number = b"\x00asm\x01\x00\x00\x00\x00\x11" + not_wasm_magic_number = b"\x7fELF\x02\x01\x01\x00\x00\x00" + + (tmp_path / "goodfile.so").write_bytes(wasm_magic_number) + assert check_wasm_magic_number(tmp_path / "goodfile.so") is True + + (tmp_path / "badfile.so").write_bytes(not_wasm_magic_number) + assert check_wasm_magic_number(tmp_path / "badfile.so") is False
ivy-llc__ivy-13218
iscomplex Marked as closed in #10862, yet it's unimplemented.
[ { "content": "# local\nimport ivy\nfrom ivy.functional.frontends.jax.func_wrapper import (\n to_ivy_arrays_and_back,\n)\nfrom ivy.functional.frontends.jax.numpy import (\n promote_types_of_jax_inputs as promote_jax_arrays,\n)\n\n\n@to_ivy_arrays_and_back\ndef allclose(a, b, rtol=1e-05, atol=1e-08, equal_n...
[ { "content": "# local\nimport ivy\nfrom ivy.functional.frontends.jax.func_wrapper import (\n to_ivy_arrays_and_back,\n)\nfrom ivy.functional.frontends.jax.numpy import (\n promote_types_of_jax_inputs as promote_jax_arrays,\n)\n\n\n@to_ivy_arrays_and_back\ndef allclose(a, b, rtol=1e-05, atol=1e-08, equal_n...
diff --git a/ivy/functional/frontends/jax/numpy/logic.py b/ivy/functional/frontends/jax/numpy/logic.py index e2c82f2458170..ff1b7db94a9f7 100644 --- a/ivy/functional/frontends/jax/numpy/logic.py +++ b/ivy/functional/frontends/jax/numpy/logic.py @@ -205,3 +205,7 @@ def right_shift(x1, x2, /): def isrealobj(x: any): return not ivy.is_complex_dtype(ivy.dtype(x)) + +@to_ivy_arrays_and_back +def iscomplex(x: any): + return ivy.bitwise_invert(ivy.isreal(x)) diff --git a/ivy_tests/test_ivy/test_frontends/test_jax/test_jax_numpy_logic.py b/ivy_tests/test_ivy/test_frontends/test_jax/test_jax_numpy_logic.py index d2cf5b2710fc9..e7d73071a572d 100644 --- a/ivy_tests/test_ivy/test_frontends/test_jax/test_jax_numpy_logic.py +++ b/ivy_tests/test_ivy/test_frontends/test_jax/test_jax_numpy_logic.py @@ -887,6 +887,33 @@ def test_jax_numpy_right_shift( ) +# iscomplex +@handle_frontend_test( + fn_tree="jax.numpy.iscomplex", + dtype_and_x=helpers.dtype_and_values( + available_dtypes=helpers.get_dtypes("real_and_complex"), min_num_dims=1 + ), + test_with_out=st.just(False), +) +def test_jax_numpy_iscomplex( + dtype_and_x, + frontend, + on_device, + *, + fn_tree, + test_flags, +): + input_dtype, x = dtype_and_x + helpers.test_frontend_function( + input_dtypes=input_dtype, + frontend=frontend, + test_flags=test_flags, + fn_tree=fn_tree, + on_device=on_device, + x=x[0], + ) + + @handle_frontend_test( fn_tree="jax.numpy.isrealobj", dtype_and_x=helpers.dtype_and_values(
cupy__cupy-2615
cupy.where fails for complex arrays The function cupy.where does not work for complex arrays (numpy.where does): ``` import cupy as cp a = cp.arange(5).astype(cp.complex128) b = cp.arange(5).astype(cp.complex128) c = cp.where(a==b,a,b) ``` fails with the error message > TypeError: Wrong type ((<class 'numpy.bool_'>, <class 'numpy.complex128'>, <class 'numpy.complex128'>)) of arguments for cupy_where For `cp.float64`, everything works fine. CuPy Version : 6.4.0 CUDA Root : /usr CUDA Build Version : 8000 CUDA Driver Version : 10020 CUDA Runtime Version : 8000 cuDNN Build Version : 7102 cuDNN Version : 7102 NCCL Build Version : 2213 NCCL Runtime Version : (unknown)
[ { "content": "from cupy import core\nfrom cupy.core import fusion\n\n\ndef argmax(a, axis=None, dtype=None, out=None, keepdims=False):\n \"\"\"Returns the indices of the maximum along an axis.\n\n Args:\n a (cupy.ndarray): Array to take argmax.\n axis (int): Along which axis to find the maxi...
[ { "content": "from cupy import core\nfrom cupy.core import fusion\n\n\ndef argmax(a, axis=None, dtype=None, out=None, keepdims=False):\n \"\"\"Returns the indices of the maximum along an axis.\n\n Args:\n a (cupy.ndarray): Array to take argmax.\n axis (int): Along which axis to find the maxi...
diff --git a/cupy/sorting/search.py b/cupy/sorting/search.py index 4abc58a5377..cc8d395f1b0 100644 --- a/cupy/sorting/search.py +++ b/cupy/sorting/search.py @@ -100,7 +100,7 @@ def flatnonzero(a): # works). # See issue #551. '?hd->d', '?Hd->d', - '?dd->d'), + '?dd->d', '?FF->F', '?DD->D'), 'out0 = in0 ? in1 : in2') diff --git a/tests/cupy_tests/sorting_tests/test_search.py b/tests/cupy_tests/sorting_tests/test_search.py index 9bdd0744013..b27971ed771 100644 --- a/tests/cupy_tests/sorting_tests/test_search.py +++ b/tests/cupy_tests/sorting_tests/test_search.py @@ -163,7 +163,7 @@ def test_argmin_zero_size_axis1(self, xp, dtype): class TestWhereTwoArrays(unittest.TestCase): @testing.for_all_dtypes_combination( - names=['cond_type', 'x_type', 'y_type'], no_complex=True) + names=['cond_type', 'x_type', 'y_type']) @testing.numpy_cupy_allclose() def test_where_two_arrays(self, xp, cond_type, x_type, y_type): m = testing.shaped_random(self.cond_shape, xp, xp.bool_) @@ -184,7 +184,7 @@ def test_where_two_arrays(self, xp, cond_type, x_type, y_type): @testing.gpu class TestWhereCond(unittest.TestCase): - @testing.for_all_dtypes(no_complex=True) + @testing.for_all_dtypes() @testing.numpy_cupy_array_list_equal() def test_where_cond(self, xp, dtype): m = testing.shaped_random(self.cond_shape, xp, xp.bool_)
lutris__lutris-2561
Can't use any installers When I try to install Epic Games Store, for example https://lutris.net/games/epic-games-store/ the installer eventually fails on this: ``` 2019-12-29 10:35:48,329: Error while completing task <bound method CommandsMixin.execute of <lutris.installer.interpreter.ScriptInterpreter object at 0x7f3f726e59a0>>: sequence item 1: expected str instance, list found <class 'TypeError'> sequence item 1: expected str instance, list found File "/usr/lib/python3.8/site-packages/lutris/util/jobs.py", line 30, in target result = self.function(*args, **kwargs) File "/usr/lib/python3.8/site-packages/lutris/installer/commands.py", line 152, in execute command.start() File "/usr/lib/python3.8/site-packages/lutris/command.py", line 116, in start logger.debug("Running %s", " ".join(self.wrapper_command)) ``` It seems to affect all installers though, not just this one.
[ { "content": "\"\"\"Threading module, used to launch games while monitoring them.\"\"\"\n\nimport io\nimport os\nimport sys\nimport fcntl\nimport shlex\nimport subprocess\nimport contextlib\nfrom textwrap import dedent\n\nfrom gi.repository import GLib\n\nfrom lutris import settings\nfrom lutris import runtime\...
[ { "content": "\"\"\"Threading module, used to launch games while monitoring them.\"\"\"\n\nimport io\nimport os\nimport sys\nimport fcntl\nimport shlex\nimport subprocess\nimport contextlib\nfrom textwrap import dedent\n\nfrom gi.repository import GLib\n\nfrom lutris import settings\nfrom lutris import runtime\...
diff --git a/lutris/command.py b/lutris/command.py index bba04808c9..24ad8a9bfa 100644 --- a/lutris/command.py +++ b/lutris/command.py @@ -61,7 +61,7 @@ def __init__( self._stdout = io.StringIO() - self._title = title if title else command + self._title = title if title else command[0] @property def stdout(self):
pymedusa__Medusa-6525
Medusa not working with pythonw on Windows Hi, Today I upgraded to the new 0.3.0 and also upgraded to Python 3.7.2 (from 2.7), but now Meduse won't work using `pythonw` anymore. When I launch via pythonw I see the pythonw process appear and almost immedately shutdown again. Since it's pythonw there is no output, and nothing appears in the application log either. I've tried to debug a bit but I'm stuck. As soon I put in `start.py` the line: ``` sys.stderr = open('stderr.txt', 'a') ``` To try and catch any errors, Medusa actually magically starts working, but the log file remains empty (I've verified I am opening the correct file by actually writing something to it, when I do that my write appears in the log file but still nothing else). My guess is something in the code tries to access `sys.stderr`, but since that's not available when running with `pythonw` the code breaks and the process exits. However because I'm not a Python developer I don't have any proper tools like step-debugging to find out exactly where it fails :(.
[ { "content": "# Copyright (c) 2003-2005 Jimmy Retzlaff, 2008 Konstantin Yegupov\n#\n# Permission is hereby granted, free of charge, to any person obtaining\n# a copy of this software and associated documentation files (the\n# \"Software\"), to deal in the Software without restriction, including\n# without limit...
[ { "content": "# Copyright (c) 2003-2005 Jimmy Retzlaff, 2008 Konstantin Yegupov\n#\n# Permission is hereby granted, free of charge, to any person obtaining\n# a copy of this software and associated documentation files (the\n# \"Software\"), to deal in the Software without restriction, including\n# without limit...
diff --git a/lib/unrar2/windows.py b/lib/unrar2/windows.py index 8a06a2ed8d..b4de3b2ce7 100644 --- a/lib/unrar2/windows.py +++ b/lib/unrar2/windows.py @@ -34,7 +34,7 @@ from .rar_exceptions import * -if sys.version_info > (3,3): +if sys.version_info > (3,3) and sys.stderr is not None: import faulthandler faulthandler.enable()
pandas-dev__pandas-12013
Msgpack - ValueError: buffer source array is read-only I get the Value error when processing data using pandas. I followed the following steps: 1. convert to msgpack format with compress flag 2. subsequently read file into a dataframe 3. push to sql table with to_sql On the third step i get ValueError: buffer source array is read-only. This problem does not arise if I wrap the read_msgpack call inside a pandas.concat Example ``` python import pandas as pd import numpy as np from sqlalchemy import create_engine eng = create_engine("sqlite:///:memory:") df1 = pd.DataFrame({ 'A' : 1., 'B' : pd.Timestamp('20130102'), 'C' : pd.Series(1,index=list(range(4)),dtype='float32'), 'D' : np.array([3] * 4,dtype='int32'), 'E' : 'foo' }) df1.to_msgpack('test.msgpack', compress='zlib') df2 = pd.read_msgpack('test.msgpack') df2.to_sql('test', eng, if_exists='append', chunksize=1000) # throws value error df2 = pd.cooncat([pd.read_msgpack('test.msgpack')]) df2.to_sql('test', eng, if_exists='append', chunksize=1000) # works ``` This happens with both blosc and zlib compression. While I have found a solution, this behaviour seems very odd and for very large files there is a small performance hit. edit: @TomAugspurger changed the sql engine to sqlite
[ { "content": "\"\"\"\n\nprovide a generic structure to support window functions,\nsimilar to how we have a Groupby object\n\n\n\"\"\"\nfrom __future__ import division\n\nimport warnings\nimport numpy as np\nfrom functools import wraps\nfrom collections import defaultdict\n\nimport pandas as pd\nfrom pandas.lib ...
[ { "content": "\"\"\"\n\nprovide a generic structure to support window functions,\nsimilar to how we have a Groupby object\n\n\n\"\"\"\nfrom __future__ import division\n\nimport warnings\nimport numpy as np\nfrom functools import wraps\nfrom collections import defaultdict\n\nimport pandas as pd\nfrom pandas.lib ...
diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt index 4ce2ce5b69cb4..3496e9eea834c 100644 --- a/doc/source/whatsnew/v0.18.0.txt +++ b/doc/source/whatsnew/v0.18.0.txt @@ -463,6 +463,7 @@ Bug Fixes - Bug in ``pd.read_clipboard`` and ``pd.to_clipboard`` functions not supporting Unicode; upgrade included ``pyperclip`` to v1.5.15 (:issue:`9263`) - Bug in ``DataFrame.query`` containing an assignment (:issue:`8664`) +- Bug in ``from_msgpack`` where ``__contains__()`` fails for columns of the unpacked ``DataFrame``, if the ``DataFrame`` has object columns. (:issue: `11880`) - Bug in timezone info lost when broadcasting scalar datetime to ``DataFrame`` (:issue:`11682`) diff --git a/pandas/core/window.py b/pandas/core/window.py index 1e5816e898baa..ce8fda9e932bc 100644 --- a/pandas/core/window.py +++ b/pandas/core/window.py @@ -965,6 +965,7 @@ def corr(self, other=None, pairwise=None, **kwargs): Use a standard estimation bias correction """ + class EWM(_Rolling): r""" Provides exponential weighted functions diff --git a/pandas/hashtable.pyx b/pandas/hashtable.pyx index 58e9d64921e0d..a5fcbd3f2d0f1 100644 --- a/pandas/hashtable.pyx +++ b/pandas/hashtable.pyx @@ -342,7 +342,7 @@ cdef class Int64HashTable(HashTable): self.table.vals[k] = <Py_ssize_t> values[i] @cython.boundscheck(False) - def map_locations(self, int64_t[:] values): + def map_locations(self, ndarray[int64_t, ndim=1] values): cdef: Py_ssize_t i, n = len(values) int ret = 0 @@ -570,7 +570,7 @@ cdef class Float64HashTable(HashTable): return np.asarray(labels) @cython.boundscheck(False) - def map_locations(self, float64_t[:] values): + def map_locations(self, ndarray[float64_t, ndim=1] values): cdef: Py_ssize_t i, n = len(values) int ret = 0 diff --git a/pandas/io/tests/test_packers.py b/pandas/io/tests/test_packers.py index d6a9feb1bd8f4..61b24c858b60d 100644 --- a/pandas/io/tests/test_packers.py +++ b/pandas/io/tests/test_packers.py @@ -9,8 +9,8 @@ from pandas import compat from pandas.compat import u from pandas import (Series, DataFrame, Panel, MultiIndex, bdate_range, - date_range, period_range, Index, SparseSeries, SparseDataFrame, - SparsePanel) + date_range, period_range, Index) +from pandas.io.packers import to_msgpack, read_msgpack import pandas.util.testing as tm from pandas.util.testing import (ensure_clean, assert_index_equal, assert_series_equal, @@ -23,7 +23,19 @@ nan = np.nan -from pandas.io.packers import to_msgpack, read_msgpack +try: + import blosc # NOQA +except ImportError: + _BLOSC_INSTALLED = False +else: + _BLOSC_INSTALLED = True + +try: + import zlib # NOQA +except ImportError: + _ZLIB_INSTALLED = False +else: + _ZLIB_INSTALLED = True _multiprocess_can_split_ = False @@ -483,6 +495,14 @@ class TestCompression(TestPackers): """ def setUp(self): + try: + from sqlalchemy import create_engine + self._create_sql_engine = create_engine + except ImportError: + self._SQLALCHEMY_INSTALLED = False + else: + self._SQLALCHEMY_INSTALLED = True + super(TestCompression, self).setUp() data = { 'A': np.arange(1000, dtype=np.float64), @@ -508,14 +528,56 @@ def test_compression_zlib(self): assert_frame_equal(self.frame[k], i_rec[k]) def test_compression_blosc(self): - try: - import blosc - except ImportError: + if not _BLOSC_INSTALLED: raise nose.SkipTest('no blosc') i_rec = self.encode_decode(self.frame, compress='blosc') for k in self.frame.keys(): assert_frame_equal(self.frame[k], i_rec[k]) + def test_readonly_axis_blosc(self): + # GH11880 + if not _BLOSC_INSTALLED: + raise nose.SkipTest('no blosc') + df1 = DataFrame({'A': list('abcd')}) + df2 = DataFrame(df1, index=[1., 2., 3., 4.]) + self.assertTrue(1 in self.encode_decode(df1['A'], compress='blosc')) + self.assertTrue(1. in self.encode_decode(df2['A'], compress='blosc')) + + def test_readonly_axis_zlib(self): + # GH11880 + df1 = DataFrame({'A': list('abcd')}) + df2 = DataFrame(df1, index=[1., 2., 3., 4.]) + self.assertTrue(1 in self.encode_decode(df1['A'], compress='zlib')) + self.assertTrue(1. in self.encode_decode(df2['A'], compress='zlib')) + + def test_readonly_axis_blosc_to_sql(self): + # GH11880 + if not _BLOSC_INSTALLED: + raise nose.SkipTest('no blosc') + if not self._SQLALCHEMY_INSTALLED: + raise nose.SkipTest('no sqlalchemy') + expected = DataFrame({'A': list('abcd')}) + df = self.encode_decode(expected, compress='blosc') + eng = self._create_sql_engine("sqlite:///:memory:") + df.to_sql('test', eng, if_exists='append') + result = pandas.read_sql_table('test', eng, index_col='index') + result.index.names = [None] + assert_frame_equal(expected, result) + + def test_readonly_axis_zlib_to_sql(self): + # GH11880 + if not _ZLIB_INSTALLED: + raise nose.SkipTest('no zlib') + if not self._SQLALCHEMY_INSTALLED: + raise nose.SkipTest('no sqlalchemy') + expected = DataFrame({'A': list('abcd')}) + df = self.encode_decode(expected, compress='zlib') + eng = self._create_sql_engine("sqlite:///:memory:") + df.to_sql('test', eng, if_exists='append') + result = pandas.read_sql_table('test', eng, index_col='index') + result.index.names = [None] + assert_frame_equal(expected, result) + class TestEncoding(TestPackers): def setUp(self):
encode__uvicorn-1099
PackageInfo: Invalid constraint (click (>=7.*)) found in uvicorn-0.14.0 dependencies, skipping ### Checklist <!-- Please make sure you check all these items before submitting your bug report. --> - [X] The bug is reproducible against the latest release and/or `master`. - [X] There are no similar issues or pull requests to fix it yet. ### Describe the bug When adding uvicorn package with poetry the following warning is raised: PackageInfo: Invalid constraint (click (>=7.*)) found in uvicorn-0.14.0 dependencies, skipping because the constraint `>=7.*` violates PEP440 syntax. It should either be `>=7.0` or `=7.*`. Because of this, the `click` dependency is not installed and uvicorn may not work. ### To reproduce Just execute `poetry add uvicorn` in any environment. ### Expected behavior To install `uvicorn` correctly together with all its dependencies. ### Actual behavior The `click` dependency is not installed and uvicorn may not work.
[ { "content": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n\nimport os\nimport re\n\nfrom setuptools import setup\n\n\ndef get_version(package):\n \"\"\"\n Return package version as listed in `__version__` in `init.py`.\n \"\"\"\n path = os.path.join(package, \"__init__.py\")\n init_py = open(...
[ { "content": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n\nimport os\nimport re\n\nfrom setuptools import setup\n\n\ndef get_version(package):\n \"\"\"\n Return package version as listed in `__version__` in `init.py`.\n \"\"\"\n path = os.path.join(package, \"__init__.py\")\n init_py = open(...
diff --git a/setup.py b/setup.py index 1763c7764..c34317bb5 100755 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ def get_packages(package): minimal_requirements = [ "asgiref>=3.4.0", - "click>=7.*", + "click>=7.0", "h11>=0.8", "typing-extensions;" + env_marker_below_38, ]
open-telemetry__opentelemetry-python-3650
Non-executable files with shebangs in the repository **Describe your environment** (Nothing relevant to describe) **Steps to reproduce** ``` $ rg -l '^#!' | xargs ls -l -rwxr-xr-x. 1 ben ben 1420 Jul 5 2023 docs/examples/django/manage.py -rw-r--r--. 1 ben ben 1300 Jul 5 2023 docs/examples/opencensus-exporter-tracer/collector.py -rwxr-xr-x. 1 ben ben 1485 Jul 5 2023 docs/examples/opentracing/main.py -rwxr-xr-x. 1 ben ben 853 Jul 13 2023 scripts/build.sh -rwxr-xr-x. 1 ben ben 1163 Jan 22 10:06 scripts/coverage.sh -rwxr-xr-x. 1 ben ben 20741 Jul 13 2023 scripts/eachdist.py -rwxr-xr-x. 1 ben ben 215 Jul 5 2023 scripts/generate_website_docs.sh -rwxr-xr-x. 1 ben ben 2377 Jan 22 10:06 scripts/proto_codegen.sh -rwxr-xr-x. 1 ben ben 1928 Jan 22 10:06 scripts/semconv/generate.sh -rwxr-xr-x. 1 ben ben 945 Jul 5 2023 scripts/tracecontext-integration-test.sh -rw-r--r--. 1 ben ben 2519 Jan 22 11:43 tests/w3c_tracecontext_validation_server.py ``` Note that two files have shebang lines (`#!`) but do not have the executable bit set, which makes the shebang lines useless. **What is the expected behavior?** Files should either be non-executable and have no shebang line, or be executable and have a shebang line. **What is the actual behavior?** The following files are not executable and have useless shebang lines: - `docs/examples/opencensus-exporter-tracer/collector.py` - `tests/w3c_tracecontext_validation_server.py` **Additional context** This is a trivial thing, but I would like to fix it in a PR – either by setting the executable bit on these two files, or by removing the useless shebang lines. Both files are “script-like,” i.e. they have `if __name__ == "__main__"` or have useful side effects. Which approach would you prefer?
[ { "content": "#!/usr/bin/env python3\n#\n# Copyright The OpenTelemetry Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2...
[ { "content": "# Copyright The OpenTelemetry Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by...
diff --git a/docs/examples/opencensus-exporter-tracer/collector.py b/docs/examples/opencensus-exporter-tracer/collector.py index 5c98cc4ce9f..cd33c89617b 100644 --- a/docs/examples/opencensus-exporter-tracer/collector.py +++ b/docs/examples/opencensus-exporter-tracer/collector.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python3 -# # Copyright The OpenTelemetry Authors # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tests/w3c_tracecontext_validation_server.py b/tests/w3c_tracecontext_validation_server.py index d6c468025e4..5c47708ee1c 100644 --- a/tests/w3c_tracecontext_validation_server.py +++ b/tests/w3c_tracecontext_validation_server.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python3 -# # Copyright The OpenTelemetry Authors # # Licensed under the Apache License, Version 2.0 (the "License");
dotkom__onlineweb4-1931
SSO base template should extend the base template ## What kind of an issue is this? - [x] Bug report ## What is the expected behaviour? The template for the SSO app should extend the base template so we don't have to maintain multiple base templates. ## What is the current behaviour? It's a custom template, which looks copy/pasted from the base template.
[ { "content": "# -*- encoding: utf-8 -*-\n\nimport logging\n\nfrom django.contrib.auth.decorators import login_required\nfrom django.shortcuts import render\nfrom oauth2_provider.views.base import AuthorizationView as DefaultAuthorizationView # flake8: noqa\nfrom oauth2_provider.views.base import RevokeTokenVie...
[ { "content": "# -*- encoding: utf-8 -*-\n\nimport logging\n\nfrom django.contrib.auth.decorators import login_required\nfrom django.shortcuts import render\nfrom oauth2_provider.views.base import AuthorizationView as DefaultAuthorizationView # flake8: noqa\nfrom oauth2_provider.views.base import RevokeTokenVie...
diff --git a/apps/sso/views.py b/apps/sso/views.py index 74494925b..b7d7fdf55 100644 --- a/apps/sso/views.py +++ b/apps/sso/views.py @@ -18,7 +18,7 @@ def index(request): context = {} - return render(request, 'sso/index.html', context) + return render(request, 'sso/authorize.html', context) class AuthorizationView(DefaultAuthorizationView): diff --git a/templates/base.html b/templates/base.html index 96ced3995..7f2a7a961 100755 --- a/templates/base.html +++ b/templates/base.html @@ -7,7 +7,7 @@ <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> - <title>{% block title %}{% endblock %}</title> + <title>{% block title %}Online, linjeforeningen for informatikk ved NTNU{% endblock %}</title> <meta name="description" content="Online er linjeforeningen for informatikkstudentene ved NTNU. Våre studenter går Bachelor- eller Mastergradstudium i informatikk."> <link rel="icon" href="{{ STATIC_URL }}img/favicon.png"> <link rel="icon" type="image/png" href="{{ STATIC_URL }}mimg/favicon-32x32.png" sizes="32x32"> diff --git a/templates/frontpage.html b/templates/frontpage.html index 5d014b8d8..aca1cd01c 100755 --- a/templates/frontpage.html +++ b/templates/frontpage.html @@ -4,8 +4,6 @@ {% load render_bundle from webpack_loader %} -{% block title %}Online, linjeforeningen for informatikk ved NTNU{% endblock title %} - {% block styles %} {{ block.super }} {% render_bundle 'frontpage' 'css' %} diff --git a/templates/oidc_provider/authorize.html b/templates/oidc_provider/authorize.html index f5fc0e99b..e53464246 100644 --- a/templates/oidc_provider/authorize.html +++ b/templates/oidc_provider/authorize.html @@ -1,42 +1,45 @@ -{% extends "sso/index.html" %} +{% extends "sso/authorize.html" %} + {% block content %} -<div id="sso-panel"> -{% if not error %} - <div id="sso-panel-header"> - <h3>Ekstern autentisering</h3> - </div> - <div id="sso-panel-body"> - <h4>Tjenesten {{ client.name }} ønsker tilgang til denne informasjonen om deg.</h4> - <form id="sso-authorization-form" method="post" action="{% url 'oidc_provider:authorize' %}"> - {% csrf_token %} +<section id="sso-container"> + <div id="sso-panel"> + {% if not error %} + <div id="sso-panel-header"> + <h3>Ekstern autentisering</h3> + </div> + <div id="sso-panel-body"> + <h4>Tjenesten {{ client.name }} ønsker tilgang til denne informasjonen om deg.</h4> + <form id="sso-authorization-form" method="post" action="{% url 'oidc_provider:authorize' %}"> + {% csrf_token %} - {{ hidden_inputs }} + {{ hidden_inputs }} - <p>Tjenesten behøver følgende tilganger:</p> - <ul class="sso-permissions"> - {% for scope in scopes %} - <li> - <strong>{{ scope.name }}</strong> + <p>Tjenesten behøver følgende tilganger:</p> + <ul class="sso-permissions"> + {% for scope in scopes %} + <li> + <strong>{{ scope.name }}</strong> + <br /> + <i>{{ scope.description }}</i> + </li> + {% endfor %} + </ul> <br /> - <i>{{ scope.description }}</i> - </li> - {% endfor %} - </ul> - <br /> - <div id="sso-control-buttons"> - <input type="submit" class="btn btn-large btn-success" name="allow" value="Godta" /> - <input type="submit" class="btn btn-large btn-danger pull-right" value="Avslå" /> - </div> - </form> - </div> - <p class="text-center"><small><i class="glyphicon glyphicon-lock"></i> Ekstern autentisering benytter OpenID Connect og OAuth 2.0 gjennom TLS</small></p> -{% else %} - <div id="sso-panel-header"> - <h3>En feil skjedde</h3> - </div> - <div id="sso-panel-body"> - {{ error.description }} + <div id="sso-control-buttons"> + <input type="submit" class="btn btn-large btn-success" name="allow" value="Godta" /> + <input type="submit" class="btn btn-large btn-danger pull-right" value="Avslå" /> + </div> + </form> + </div> + <p class="text-center"><small><i class="glyphicon glyphicon-lock"></i> Ekstern autentisering benytter OpenID Connect og OAuth 2.0 gjennom TLS</small></p> + {% else %} + <div id="sso-panel-header"> + <h3>En feil skjedde</h3> + </div> + <div id="sso-panel-body"> + {{ error.description }} + </div> + {% endif %} </div> -{% endif %} -</div> +</section> {% endblock %} diff --git a/templates/sso/authorize.html b/templates/sso/authorize.html index f69fbda82..df8b471d0 100644 --- a/templates/sso/authorize.html +++ b/templates/sso/authorize.html @@ -1,43 +1,60 @@ -{% extends "sso/index.html" %} +{% extends 'base.html' %} + +{% load chunks %} + +{% load render_bundle from webpack_loader %} + +{% block styles %} + {{ block.super }} + {% render_bundle 'sso' 'css' %} +{% endblock %} + +{% block js %} + {{ block.super }} + {% render_bundle 'sso' 'js' %} +{% endblock %} + {% block content %} -<div id="sso-panel"> -{% if not error %} - <div id="sso-panel-header"> - <h3>Ekstern autentisering</h3> - </div> - <div id="sso-panel-body"> - <h4>Tjenesten {{ application.name }} ønsker innloggingsinformasjon.</h4> - <form id="sso-authorization-form" method="post"> - {% csrf_token %} - {% for field in form %} - {% if field.is_hidden %} - {{ field }} - {% endif %} - {% endfor %} - <p>Tjenesten behøver følgende tilganger:</p> - <ul class="sso-permissions"> - {% for scope in scopes_descriptions %} - <li>{{ scope }}</li> +<section id="sso-container"> + <div id="sso-panel"> + {% if not error %} + <div id="sso-panel-header"> + <h3>Ekstern autentisering</h3> + </div> + <div id="sso-panel-body"> + <h4>Tjenesten {{ application.name }} ønsker innloggingsinformasjon.</h4> + <form id="sso-authorization-form" method="post"> + {% csrf_token %} + {% for field in form %} + {% if field.is_hidden %} + {{ field }} + {% endif %} {% endfor %} - </ul> - <br /> - <div id="sso-control-buttons"> - <input type="submit" class="btn btn-large btn-success" name="allow" value="Godta" /> - <input type="submit" class="btn btn-large btn-danger pull-right" value="Avslå" /> - </div> - </form> - </div> - <p class="text-center"><small><i class="fa fa-lock"></i> Ekstern autentisering benytter OAuth 2.0 gjennom TLS</small></p> -{% else %} - <div id="sso-panel-header"> - <h3>En feil skjedde</h3> - </div> - <div id="sso-panel-body"> - {{ error.description }} + <p>Tjenesten behøver følgende tilganger:</p> + <ul class="sso-permissions"> + {% for scope in scopes_descriptions %} + <li>{{ scope }}</li> + {% endfor %} + </ul> + <br /> + <div id="sso-control-buttons"> + <input type="submit" class="btn btn-large btn-success" name="allow" value="Godta" /> + <input type="submit" class="btn btn-large btn-danger pull-right" value="Avslå" /> + </div> + </form> + </div> + <p class="text-center"><small><i class="fa fa-lock"></i> Ekstern autentisering benytter OAuth 2.0 gjennom TLS</small></p> + {% else %} + <div id="sso-panel-header"> + <h3>En feil skjedde</h3> + </div> + <div id="sso-panel-body"> + {{ error.description }} + </div> + {% endif %} </div> -{% endif %} -</div> -<br /> -<br /> -<p class="text-center">Les mer om bruken av <i><a href="/wiki/">Ekstern Autentisering</a></i> på wikien.</p> + <br /> + <br /> + <p class="text-center">Les mer om bruken av <i><a href="/wiki/">Ekstern Autentisering</a></i> på wikien.</p> +</section> {% endblock %} diff --git a/templates/sso/index.html b/templates/sso/index.html deleted file mode 100644 index 09777a664..000000000 --- a/templates/sso/index.html +++ /dev/null @@ -1,198 +0,0 @@ -{% load render_bundle from webpack_loader %} -<!DOCTYPE html> -<html> -<head> - <meta charset="utf-8"> - <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> - <title>{% block title %}{% endblock %}</title> - <meta name="description" content="Online er linjeforeningen for informatikkstudentene ved NTNU. Våre studenter går Bachelor- eller Mastergradstudium i informatikk."> - <link rel="icon" href="{{ STATIC_URL }}img/favicon.png"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - {% block styles %} - {% render_bundle 'common' 'css' %} - {% render_bundle 'core' 'css' %} - {% render_bundle 'sso' 'css' %} - {% endblock %} -</head> -<body> - <nav id="mainnav"> - <div class="container"> - <ul class="mn-collapse"> - <li> - <button id="mainnav-button"> - <svg x="0px" y="0px" width="100%" viewBox="0 0 96 96" class="mn-svg" enable-background="new 0 0 96 96"> - <rect width="32" height="4" x="32" y="46" class="mn-svg-rect-top"></rect> - </svg> - <svg x="0px" y="0px" width="100%" viewBox="0 0 96 96" class="mn-svg" enable-background="new 0 0 96 96"> - <rect width="32" height="4" x="32" y="46" class="mn-svg-rect-bottom"></rect> - </svg> - </button> - </li> - <li> - <a href="{% url 'home' %}"> - <img src="{{ STATIC_URL }}img/online_logo.svg" alt="Online" class="online-logo"> - </a> - </li> - </ul> - <ul class="mn-nav"> - <li><a class="online-logo-link" href="{% url 'home' %}"><img src="{{ STATIC_URL }}img/online_logo.svg" alt="Online"></a></li> - <li><a href="{% url 'events_index' %}">Arkiv</a></li> - <li><a href="{% url 'careeropportunity_index' %}">Karriere</a></li> - <li><a href="{% url 'resourcecenter_index' %}">Ressurser</a></li> - <li><a href="/wiki/">Wiki</a></li> - </ul> - <ul class="mn-user-nav"> - {% if user.is_authenticated %} - <li> - <a href="#login_menu" class="dropdown-toggle dropdown-signin login glyphicon glyphicon-user" data-toggle="dropdown"></a> - <span class="username_menu hidden-xs hidden-sm hidden-md">{{ user.username }}</span> - - <ul class="dropdown-menu login-box" role="menu"> - - {% if user.is_staff %} - <li><a href="/admin/">Administrasjon</a></li> - {% endif %} - <li><a href="{% url 'profiles' %}">Min side<span class="hidden-lg">: {{ user.username }}</span></a></li> - <li><a href="{% url 'profiles_user_search' %}">Finn brukere</a></li> - <li class="divider"></li> - <li><a href="{% url 'auth_logout' %}">Logg ut</a></li> - </ul> - </li> - {% else %} - <li> - <a href="#login_menu" class="dropdown-toggle dropdown-signin login glyphicon glyphicon-lock" data-toggle="dropdown"></a> - <ul class="dropdown-menu login-box" role="menu"> - <li> - <form class="navbar-form" method="POST" action="{% url 'auth_login' %}"> - {% csrf_token %} - <fieldset class="textbox"> - <div class="input-group"> - <label for="id_username">Brukernavn</label> - <input type="text" name="username" id="id_username" class="form-control"> - </div> - <div class="input-group"> - <label for="id_password">Passord</label> - <input type="password" name="password" id="id_password" class="form-control"> - </div> - </fieldset> - <input type="hidden" name="next" value="{{ request.get_full_path }}" /> - <button type="submit" class="btn btn-primary">Logg inn</button> - </form> - <div id="login-form-btn-group"> - <a class="btn btn-default" href="{% url 'auth_register' %}">Registrer</a> - <a class="btn btn-default" href="{% url 'auth_recover' %}">Glemt passord</a> - </div> - </li> - </ul> - </li> - {% endif %} - </ul> - - <div id="main-sponsor"> - <a href="http://www.soprasteria.no/"> - <img class="ms-img" src="{{ STATIC_URL }}img/soprasteria.svg" alt="Hovedsamarbeidspartner - Sopra Steria"> - </a> - <span class="ms-span">Hovedsamarbeidspartner</span> - </div> - </ul> - </div> - </nav> - <section id="sso-container"> - {% block content %}{% endblock %} - </section> - <section id="footer"> - <div class="container"> - <div class="row"> - <div class="col-xs-12 col-sm-6 col-md-4"> - <div class="row row-space"> - <div class="col-md-12 footer-social"> - <a href="http://facebook.com/LinjeforeningenOnline" class="socialIcon-link"> - <img src="{{ STATIC_URL }}img/social/facebook.svg" alt="Facebook"> - </a> - <a href="http://twitter.com/Online_NTNU" class="socialIcon-link"> - <img src="{{ STATIC_URL }}img/social/twitter.svg" alt="Twitter"> - </a> - <a href="https://www.instagram.com/online_ntnu/" class="socialIcon-link"> - <img src="{{ STATIC_URL }}img/social/instagram.svg" alt="Instagram"> - </a> - <a href="https://www.github.com/dotkom/" class="socialIcon-link"> - <img src="{{ STATIC_URL }}img/social/github.svg" alt="Github"> - </a> - <a href="https://plus.google.com/107294836198591872251" class="socialIcon-link"> - <img src="{{ STATIC_URL }}img/social/gpluss.svg" alt="Google Plus"> - </a> - </div> - </div> - <div class="row"> - <div class="col-md-12"> - <p>Har du funnet en feil på nettsiden?<br>Ta kontakt med <a href="mailto:dotkom@online.ntnu.no">Utviklingsteamet</a></p> - </div> - </div> - </div> - <div class="col-xs-12 col-sm-6 col-md-4"> - <div class="row"> - <div class="col-md-12"> - <div class="contact-info"> - <div class="contact-item"> - <span class="glyphicon glyphicon-briefcase"></span>992 548 045 (OrgNr) - </div> - <div class="contact-item"> - <span class="glyphicon glyphicon-envelope"></span>kontakt@online.ntnu.no - </div> - <div class="contact-item"> - <span class="glyphicon glyphicon-phone"></span>73 59 64 89 - </div> - </div> - </div> - </div> - <div class="row"> - <div class="col-xs-6 col-sm-6 col-md-6"> - <div class="address"> - <div class="address-heading">Besøksadresse <span class="glyphicon glyphicon-map-marker"></span></div> - <div class="address-info"> - Rom 303<br> - Høgskoleringen 3<br> - NTNU Gløshaugen - </div> - </div> - </div> - <div class="col-xs-6 col-sm-6 col-md-6"> - <div class="address"> - <div class="address-heading">Postadresse <span class="glyphicon glyphicon-map-marker"></span></div> - <div class="address-info"> - Online Linjeforening<br> - Sem Sælandsv. 9<br> - 7491 Trondheim<br> - </div> - </div> - </div> - </div> - </div> - <div class="col-xs-12 col-md-4"> - <div id="footer-map"></div> - </div> - </div> - </div> - </section> - - {% block js %} - <script src="https://maps.googleapis.com/maps/api/js?v=3&amp;sensor=true"></script> - {% render_bundle 'common' 'js' %} - {% render_bundle 'core' 'js' %} - {% render_bundle 'sso' 'js' %} - {% endblock %} - - {% if GOOGLE_ANALYTICS_KEY %} - <script type="text/javascript"> - var _gaq = _gaq || []; - _gaq.push(['_setAccount', '{{ GOOGLE_ANALYTICS_KEY }}']); - _gaq.push(['_trackPageview']); - (function() { - var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; - ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; - var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); - })(); - </script> - {% endif %} - </body> -</html>
dotkom__onlineweb4-1281
Separate requirements in develop, testing and production We should separate requirements for various environments. What sparked this was requiring some postgresql magic to install all requirements (`psycopg2`), and e.g. moonshine does not want postgres just for tests to pass (or run, for that matter). Requirements that should be removed from `requirements.txt` and added to `requirements-<env>.txt`: #### Production requirements [src](https://github.com/dotKom/onlineweb4/blob/develop/requirements.txt#L9): - `psycopg2` (yes, some people use postgres in development. However, example-local.py uses sqlite and most people will therefore not need this package. *1) #### Testing requirements [src](https://github.com/dotKom/onlineweb4/blob/develop/requirements.txt#L38): - `cov-core` - `coverage` - `django-nose` - `factory-boy` - `lettuce` - `nose` *2 - `nose-cov` - `teamcity-messages` #### Development requirements (these can be/should be fully optional) - `django-debug-toolbar` (it's not in `requirements.txt` as of now, but maybe it should? [wiki](https://github.com/dotKom/onlineweb4/wiki/Django-debug-toolbar)) *1: It also fails to install and stops requirements.txt installation if people don't have postgresql dev headers ([ex.](https://online.ntnu.no/tc/viewLog.html?tab=buildLog&buildTypeId=Onlineweb4_Build&buildId=29)) *2: If we remove this one we have to change default runner class in base settings as the current testrunner is nose.
[ { "content": "# -*- coding: utf8 -*-\nimport os\nimport sys\n\nimport wiki\nfrom django.contrib.messages import constants as messages\n\n# Directory that contains this file.\nPROJECT_SETTINGS_DIRECTORY = os.path.dirname(globals()['__file__'])\n# Root directory. Contains manage.py\nPROJECT_ROOT_DIRECTORY = os.pa...
[ { "content": "# -*- coding: utf8 -*-\nimport os\nimport sys\n\nimport wiki\nfrom django.contrib.messages import constants as messages\n\n# Directory that contains this file.\nPROJECT_SETTINGS_DIRECTORY = os.path.dirname(globals()['__file__'])\n# Root directory. Contains manage.py\nPROJECT_ROOT_DIRECTORY = os.pa...
diff --git a/onlineweb4/settings/base.py b/onlineweb4/settings/base.py index 565de0a3c..f7b3961b5 100644 --- a/onlineweb4/settings/base.py +++ b/onlineweb4/settings/base.py @@ -219,7 +219,6 @@ 'compressor', 'pdfdocument', 'watson', - 'gunicorn', 'markdown_deux', 'djangoformsetjs', 'reversion', diff --git a/requirements-prod.txt b/requirements-prod.txt new file mode 100644 index 000000000..e116f5559 --- /dev/null +++ b/requirements-prod.txt @@ -0,0 +1,2 @@ +gunicorn==19.0 # Used as a http server in production +psycopg2 # Postgres adapter diff --git a/requirements-testing.txt b/requirements-testing.txt new file mode 100644 index 000000000..18c7c3290 --- /dev/null +++ b/requirements-testing.txt @@ -0,0 +1,8 @@ +cov-core>=1.7 +coverage>=4.0.1 +factory-boy>=1.1.3 +lettuce>=0.2.20 +nose-cov>=1.6 +teamcity-messages>=1.16 +flake8>=2.4.1 +pepper8>=1.0.4 # Transforms flake8 output to HTML report + TC messages diff --git a/requirements.txt b/requirements.txt index 8195d3af7..4c25ac940 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,9 +7,7 @@ django-filter==0.11.0 # Filtering for DRF # Upstream is missing Python 3 patches git+https://github.com/JelteF/python-memcached@patch-1#egg=python-memcached==1.58 markdown2==2.3.0 # textarea text formatting -psycopg2 # Postgres adapter -pytz # Timezone lib. Obsolete? -gunicorn==19.0 +pytz # Timezone lib icalendar==3.8.4 stripe==1.20.2 @@ -39,21 +37,12 @@ pdfdocument==3.1 Unidecode==0.4.17 # Translates every unicode symbol to the closest ascii. online_mail_usernames django-markdown-deux==1.0.5 django-formset-js==0.4.3 -werkzeug==0.10.4 django-cors-headers==1.1.0 # Enable CORS for Nibble django-datetime-widget==0.9.3 # Datetime widget for forms #test tools -cov-core==1.7 -coverage==4.0.1 -django-nose>=1.4,<1.5 -factory-boy==1.1.3 -lettuce==0.2.20 -nose==1.3.4 -nose-cov==1.6 -teamcity-messages==1.16 -flake8==2.4.1 -pepper8>=1.0.4 # Transforms flake8 output to HTML report + TC messages +django-nose>=1.4,<1.5 # We use this test runner locally +nose==1.3.4 # We use this test runner locally # Frigg requests[security]==2.8.0 @@ -71,4 +60,3 @@ django-sekizai>=0.9 # imagemagick # From package repository. Tested with version == 8:6.7.7.10. # libjpeg-dev # From package repository. # libpq-dev # From package repository. - diff --git a/tox.ini b/tox.ini index bf7efaf24..ba0dc21bf 100644 --- a/tox.ini +++ b/tox.ini @@ -15,7 +15,9 @@ commands = coverage: coverage xml [testenv:tests] -deps = -r{toxinidir}/requirements.txt +deps = + -r{toxinidir}/requirements.txt + -r{toxinidir}/requirements-testing.txt whitelist_externals = /bin/cp setenv =
apache__airflow-22886
Databricks SQL fails on Python 3.10 ### Apache Airflow Provider(s) databricks ### Versions of Apache Airflow Providers The databricks SQL does not work on Python 3.10 due to "from collections import Iterable" in the `databricks-sql-connector` * https://pypi.org/project/databricks-sql-connector/ Details of this issue dicussed in https://github.com/apache/airflow/pull/22050 For now we will likely just exclude the tests (and mark databricks provider as non-python 3.10 compatible). But once this is fixed (in either 1.0.2 or upcoming 2.0.0 version of the library, we wil restore it back). ### Apache Airflow version main (development) ### Operating System All ### Deployment Other ### Deployment details Just Breeze with Python 3.10 ### What happened The tests are failing: ``` self = <databricks.sql.common.ParamEscaper object at 0x7fe81c6dd6c0> item = ['file1', 'file2', 'file3'] def escape_item(self, item): if item is None: return 'NULL' elif isinstance(item, (int, float)): return self.escape_number(item) elif isinstance(item, basestring): return self.escape_string(item) > elif isinstance(item, collections.Iterable): E AttributeError: module 'collections' has no attribute 'Iterable' ``` https://github.com/apache/airflow/runs/5523057543?check_suite_focus=true#step:8:16781 ### What you expected to happen Test succeed :) ### How to reproduce Run `TestDatabricksSqlCopyIntoOperator` in Python 3.10 environment. ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
[ { "content": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership. The ASF licenses this file\n# to you under the Apache License, Version 2.0 (th...
[ { "content": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership. The ASF licenses this file\n# to you under the Apache License, Version 2.0 (th...
diff --git a/airflow/providers/databricks/provider.yaml b/airflow/providers/databricks/provider.yaml index 3aba329e4d89d..4afbc0c5357db 100644 --- a/airflow/providers/databricks/provider.yaml +++ b/airflow/providers/databricks/provider.yaml @@ -37,9 +37,6 @@ versions: additional-dependencies: - apache-airflow>=2.1.0 -excluded-python-versions: - - "3.10" - integrations: - integration-name: Databricks external-doc-url: https://databricks.com/ diff --git a/docs/apache-airflow-providers-databricks/index.rst b/docs/apache-airflow-providers-databricks/index.rst index 56836078c2516..51c8381f0c20c 100644 --- a/docs/apache-airflow-providers-databricks/index.rst +++ b/docs/apache-airflow-providers-databricks/index.rst @@ -80,7 +80,7 @@ PIP requirements PIP package Version required ============================ =================== ``apache-airflow`` ``>=2.1.0`` -``databricks-sql-connector`` ``>=1.0.0, <2.0.0`` +``databricks-sql-connector`` ``>=1.0.2, <2.0.0`` ``requests`` ``>=2.26.0, <3`` ============================ =================== diff --git a/setup.py b/setup.py index e18cef450fd88..950285353f0ce 100644 --- a/setup.py +++ b/setup.py @@ -264,7 +264,7 @@ def write_version(filename: str = os.path.join(*[my_dir, "airflow", "git_version ] databricks = [ 'requests>=2.26.0, <3', - 'databricks-sql-connector>=1.0.0, <2.0.0', + 'databricks-sql-connector>=1.0.2, <2.0.0', ] datadog = [ 'datadog>=0.14.0', diff --git a/tests/providers/databricks/operators/test_databricks_sql.py b/tests/providers/databricks/operators/test_databricks_sql.py index 08e24d72d8012..6b9fb43701ae3 100644 --- a/tests/providers/databricks/operators/test_databricks_sql.py +++ b/tests/providers/databricks/operators/test_databricks_sql.py @@ -24,7 +24,7 @@ import pytest from databricks.sql.types import Row -from airflow import PY310, AirflowException +from airflow import AirflowException from airflow.providers.databricks.operators.databricks_sql import ( DatabricksCopyIntoOperator, DatabricksSqlOperator, @@ -83,12 +83,6 @@ def test_exec_write_file(self, db_mock_class): db_mock.run.assert_called_once_with(sql, parameters=None) -@pytest.mark.skipif( - PY310, - reason="Databricks SQL tests not run on Python 3.10 because there is direct Iterable import from" - " collections in the databricks SQL library, where it should be imported from collections.abc." - " This could be removed when https://github.com/apache/airflow/issues/22220 is solved", -) class TestDatabricksSqlCopyIntoOperator(unittest.TestCase): def test_copy_with_files(self): op = DatabricksCopyIntoOperator(
zestedesavoir__zds-site-2605
[Bêta v1.8] Les flux rss ne fonctionnent plus => erreur 500 En direct de la beta, il est impossible d'avoir les flux rss en cliquant sur les liens correspondant. On se prend une erreur 500. C'est donc une regression, puisque ça marche en prod.
[ { "content": "# coding: utf-8\n\nimport os\n\nfrom django.utils.translation import gettext_lazy as _\n\n# Build paths inside the project like this: os.path.join(BASE_DIR, ...)\nBASE_DIR = os.path.dirname(os.path.dirname(__file__))\n\nDEBUG = True\nTEMPLATE_DEBUG = DEBUG\n# INTERNAL_IPS = ('127.0.0.1',) # debug...
[ { "content": "# coding: utf-8\n\nimport os\n\nfrom django.utils.translation import gettext_lazy as _\n\n# Build paths inside the project like this: os.path.join(BASE_DIR, ...)\nBASE_DIR = os.path.dirname(os.path.dirname(__file__))\n\nDEBUG = True\nTEMPLATE_DEBUG = DEBUG\n# INTERNAL_IPS = ('127.0.0.1',) # debug...
diff --git a/zds/settings.py b/zds/settings.py index 3d94cba83f..d0d2f33de1 100644 --- a/zds/settings.py +++ b/zds/settings.py @@ -176,6 +176,8 @@ # 'django.contrib.admindocs', ) +SITE_ID = 1 + THUMBNAIL_ALIASES = { '': { 'avatar': {'size': (60, 60), 'crop': True},
Gallopsled__pwntools-1811
List comprehension in __all__ prevents Pylance from working Thanks for contributing to Pwntools! Ideas from the community help make Pwntools an amazing tool for everybody. If you've got an idea for a new feature, please provide information about: * What the feature does According to https://github.com/microsoft/pylance-release/issues/289, the list comprehension in `__all__` in https://github.com/Gallopsled/pwntools/blob/4e6ccb0da17fb91e43a4f9e95edf4fd83806ba23/pwn/toplevel.py#L85 prevents [Pylance](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance) from working (when using `from pwn import *` instead of manually importing all modules). https://github.com/compas-dev/compas/issues/621 may be a solution instead of listing all attributes manually to fix that. * Why the feature should exist To make Pylance happy :smile: * What tests should be included Test in VS Code to ensure it works. If you think you can write the feature yourself, please submit a Pull Request and we can review your changes!
[ { "content": "# Get all the modules from pwnlib\nimport collections\nimport logging\nimport math\nimport operator\nimport os\nimport platform\nimport re\nimport requests\nimport socks\nimport signal\nimport string\nimport struct\nimport subprocess\nimport sys\nimport tempfile\nimport threading\nimport time\n\nf...
[ { "content": "# Get all the modules from pwnlib\nimport collections\nimport logging\nimport math\nimport operator\nimport os\nimport platform\nimport re\nimport requests\nimport socks\nimport signal\nimport string\nimport struct\nimport subprocess\nimport sys\nimport tempfile\nimport threading\nimport time\n\nf...
diff --git a/CHANGELOG.md b/CHANGELOG.md index ba2970645..4929c0906 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -68,6 +68,7 @@ The table below shows which release corresponds to each branch, and what date th - [#1758][1758] Remove eval from cli - [#1780][1780] Re-add Python2 to the official Dockerfile - [#1941][1941] Disable all Android tests, `pwnlib.adb` is no longer supported in CI +- [#1811][1811] Remove unnecessary `pwn.toplevel.__all__` [1261]: https://github.com/Gallopsled/pwntools/pull/1261 [1695]: https://github.com/Gallopsled/pwntools/pull/1695 @@ -78,7 +79,7 @@ The table below shows which release corresponds to each branch, and what date th [1758]: https://github.com/Gallopsled/pwntools/pull/1758 [1780]: https://github.com/Gallopsled/pwntools/pull/1780 [1941]: https://github.com/Gallopsled/pwntools/pull/1941 -[1786]: https://github.com/Gallopsled/pwntools/pull/1786 +[1811]: https://github.com/Gallopsled/pwntools/pull/1811 ## 4.4.0 (`beta`) diff --git a/pwn/toplevel.py b/pwn/toplevel.py index 0cc3f7509..5af57bf55 100644 --- a/pwn/toplevel.py +++ b/pwn/toplevel.py @@ -83,4 +83,5 @@ debug = log.debug success = log.success -__all__ = [x for x in tuple(globals()) if x != '__name__'] +# Equivalence with the default behavior of "from import *" +# __all__ = [x for x in tuple(globals()) if not x.startswith('_')]
searx__searx-1477
New release? Hi, I'm the Debian maintainer of searx and we are still shipping version 0.14.0 of searx because there has not been a more recent release since February. Unfortunately, we see a number of services that do not work anymore with 0.14.0 but which are fixed in git. Would it be possible to make a release soon? The last commit to the repository was back in August. Is the project still alive? Debian plans to release its next stable version soon and we should not include searx if it's not maintained anymore. Thanks! cheers, josch
[ { "content": "# -*- coding: utf-8 -*-\n'''\nsearx is free software: you can redistribute it and/or modify\nit under the terms of the GNU Affero General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nsearx is distributed i...
[ { "content": "# -*- coding: utf-8 -*-\n'''\nsearx is free software: you can redistribute it and/or modify\nit under the terms of the GNU Affero General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nsearx is distributed i...
diff --git a/AUTHORS.rst b/AUTHORS.rst index 346f324d5d..674bfd758a 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -83,3 +83,18 @@ generally made searx better: - Joseph Nuthalapati @josephkiranbabu - @maiki - Richard Didier @zeph33 +- Michael Vieria @Themimitoof +- Richard Nespithal @rndevfx +- Stanislas @angristan +- @rinpatch +- g. s. @usernameisntallowed +- Léo Bourrel @bourrel +- @cy8aer +- @Popolon +- Alice Ferrazzi @aliceinwire +- @LiquidLemon +- @dadosch +- @Venca24 +- @ZEROF +- Ivan Skytte Jørgensen @isj-privacore +- @miicha diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 55bd33ee85..70e9e415cc 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,3 +1,41 @@ +0.15.0 2019.01.06 +================= + +- New engines + + - Acgsou (files, images, videos, music) + - Duden.de (general) + - Seznam (general) + - Mojeek (general) +- New languages + + - Catalan + - Welsh + - Basque + - Persian (Iran) + - Galician + - Dutch (Belgium) + - Telugu + - Vietnamese +- New random answerers + + - sha256 + - uuidv4 +- New DOI resolsvers + + - sci-hub.tw +- Fix Vim mode on Firefox +- Fix custom select in Oscar theme +- Engine fixes (duckduckgo, google news, currency convert, gigablast, google scholar, wikidata image, etymonline, google videos, startpage, bing image) +- Minor simple theme fixes + +- New Youtube icon in Oscar theme +- Get DOI rewriters from settings.yml +- Hide page buttons when infinite scrolling is enabled +- Update user agent versions +- Make Oscar style configurable +- Make suspend times of errored engines configurable + 0.14.0 2018.02.19 ================= diff --git a/searx/settings.yml b/searx/settings.yml index 35172bd6a6..00b001b6ce 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -742,21 +742,27 @@ locales: en : English ar : العَرَبِيَّة (Arabic) bg : Български (Bulgarian) + ca : Català (Catalan) cs : Čeština (Czech) + cy : Cymraeg (Welsh) da : Dansk (Danish) de : Deutsch (German) el_GR : Ελληνικά (Greek_Greece) eo : Esperanto (Esperanto) es : Español (Spanish) + eu : Euskara (Basque) + fa_IR : (fārsī) فارسى (Persian) fi : Suomi (Finnish) fil : Wikang Filipino (Filipino) fr : Français (French) + gl : Galego (Galician) he : עברית (Hebrew) hr : Hrvatski (Croatian) hu : Magyar (Hungarian) it : Italiano (Italian) ja : 日本語 (Japanese) nl : Nederlands (Dutch) + nl_BE : Vlaams (Dutch_Belgium) pl : Polski (Polish) pt : Português (Portuguese) pt_BR : Português (Portuguese_Brazil) @@ -766,8 +772,10 @@ locales: sl : Slovenski (Slovene) sr : српски (Serbian) sv : Svenska (Swedish) + te : తెలుగు (telugu) tr : Türkçe (Turkish) uk : українська мова (Ukrainian) + vi : tiếng việt (㗂越) zh : 中文 (Chinese) zh_TW : 國語 (Taiwanese Mandarin) diff --git a/searx/translations/ar/LC_MESSAGES/messages.mo b/searx/translations/ar/LC_MESSAGES/messages.mo index b3579a1a71..052e5b5225 100644 Binary files a/searx/translations/ar/LC_MESSAGES/messages.mo and b/searx/translations/ar/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/ar/LC_MESSAGES/messages.po b/searx/translations/ar/LC_MESSAGES/messages.po index 4d7e55fe4d..645ca0ed6a 100644 --- a/searx/translations/ar/LC_MESSAGES/messages.po +++ b/searx/translations/ar/LC_MESSAGES/messages.po @@ -3,14 +3,15 @@ # This file is distributed under the same license as the PROJECT project. # # Translators: -# ButterflyOfFire <ButterflyOfFire@protonmail.com>, 2017-2018 +# ButterflyOfFire ButterflyOfFire, 2018 +# ButterflyOfFire, 2017-2018 msgid "" msgstr "" "Project-Id-Version: searx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2017-11-01 21:31+0100\n" -"PO-Revision-Date: 2018-01-23 17:54+0000\n" -"Last-Translator: ButterflyOfFire <ButterflyOfFire@protonmail.com>\n" +"PO-Revision-Date: 2018-09-08 08:23+0000\n" +"Last-Translator: ButterflyOfFire ButterflyOfFire\n" "Language-Team: Arabic (http://www.transifex.com/asciimoo/searx/language/ar/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -29,7 +30,7 @@ msgstr "" #: searx/search.py:151 msgid "unexpected crash" -msgstr "" +msgstr "خلل غير مُتوقّع" #: searx/webapp.py:136 msgid "files" @@ -73,7 +74,7 @@ msgstr "علوم" #: searx/webapp.py:399 searx/webapp.py:658 msgid "Invalid settings, please edit your preferences" -msgstr "" +msgstr "إنّ الإعدادات خاطئة، يرجى تعديل خياراتك" #: searx/webapp.py:415 msgid "Invalid settings" @@ -97,7 +98,7 @@ msgstr "مولّد قيمة عشوائية" #: searx/answerers/random/answerer.py:54 msgid "Generate different random values" -msgstr "" +msgstr "توليد قِيم عشوائية مختلفة" #: searx/answerers/statistics/answerer.py:53 msgid "Statistics functions" @@ -288,7 +289,7 @@ msgstr "اللغة الإفتراضية" #: searx/templates/pix-art/preferences.html:20 #: searx/templates/simple/preferences.html:120 msgid "Interface language" -msgstr "لغة العرض" +msgstr "لغة الواجهة" #: searx/templates/courgette/preferences.html:34 #: searx/templates/legacy/preferences.html:35 @@ -371,7 +372,7 @@ msgstr "اللون" #: searx/templates/courgette/preferences.html:86 msgid "Blue (default)" -msgstr "أزرق )إفتراضي(" +msgstr "أزرق (إفتراضي)" #: searx/templates/courgette/preferences.html:87 msgid "Violet" @@ -581,13 +582,13 @@ msgstr "عرض نتائج البحث في ألسنة جديدة" #: searx/templates/oscar/preferences.html:117 #: searx/templates/simple/preferences.html:145 msgid "On" -msgstr "" +msgstr "يشتغل" #: searx/templates/legacy/preferences.html:88 #: searx/templates/oscar/preferences.html:118 #: searx/templates/simple/preferences.html:146 msgid "Off" -msgstr "" +msgstr "مُعطَّل" #: searx/templates/legacy/result_templates/code.html:3 #: searx/templates/legacy/result_templates/default.html:3 @@ -626,7 +627,7 @@ msgstr "محرك بحث يحمي الخصوصية و قابل للتهكير" #: searx/templates/oscar/macros.html:36 searx/templates/oscar/macros.html:50 #: searx/templates/simple/macros.html:43 msgid "proxied" -msgstr "يمر عبر البروكسي" +msgstr "النفاذ عبر البروكسي" #: searx/templates/oscar/macros.html:92 msgid "supported" @@ -661,7 +662,7 @@ msgstr "المجيبون" #: searx/templates/oscar/preferences.html:17 #: searx/templates/oscar/preferences.html:272 msgid "Cookies" -msgstr "الكوكيز" +msgstr "كعكات الكوكيز" #: searx/templates/oscar/preferences.html:42 #: searx/templates/simple/preferences.html:48 @@ -676,12 +677,12 @@ msgstr "يقوم بتغيير لغة واجهة البحث" #: searx/templates/oscar/preferences.html:58 #: searx/templates/simple/preferences.html:60 msgid "Find stuff as you type" -msgstr "" +msgstr "العثور على نتائج أثناء الكتابة" #: searx/templates/oscar/preferences.html:69 #: searx/templates/simple/preferences.html:173 msgid "Proxying image results through searx" -msgstr "" +msgstr "تمرير نتائج البحث عن الصور عبر بروكسي Searx" #: searx/templates/oscar/preferences.html:78 msgid "" @@ -865,7 +866,7 @@ msgstr "معلومة !" #: searx/templates/oscar/messages/no_cookies.html:4 msgid "currently, there are no cookies defined." -msgstr "" +msgstr "حاليا لم تقم بتحديد أي مِن كعكات الكوكيز." #: searx/templates/oscar/messages/no_data_available.html:4 msgid "There is currently no data available. " diff --git a/searx/translations/bg/LC_MESSAGES/messages.mo b/searx/translations/bg/LC_MESSAGES/messages.mo index 63b303a423..f80e5afcc9 100644 Binary files a/searx/translations/bg/LC_MESSAGES/messages.mo and b/searx/translations/bg/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/ca/LC_MESSAGES/messages.mo b/searx/translations/ca/LC_MESSAGES/messages.mo new file mode 100644 index 0000000000..2ec3e05030 Binary files /dev/null and b/searx/translations/ca/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/ca/LC_MESSAGES/messages.po b/searx/translations/ca/LC_MESSAGES/messages.po new file mode 100644 index 0000000000..460091cd7b --- /dev/null +++ b/searx/translations/ca/LC_MESSAGES/messages.po @@ -0,0 +1,1014 @@ +# Translations template for PROJECT. +# Copyright (C) 2017 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# +# Translators: +# Calbasi <joan@calbasi.net>, 2018 +# jmontane, 2018 +msgid "" +msgstr "" +"Project-Id-Version: searx\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2017-11-01 21:31+0100\n" +"PO-Revision-Date: 2018-12-15 15:10+0000\n" +"Last-Translator: jmontane\n" +"Language-Team: Catalan (http://www.transifex.com/asciimoo/searx/language/ca/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.3.4\n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: searx/search.py:137 searx/search.py:182 +msgid "timeout" +msgstr "s'ha esgotat el temps d'espera" + +#: searx/search.py:144 +msgid "request exception" +msgstr "Excepció en la petició" + +#: searx/search.py:151 +msgid "unexpected crash" +msgstr "Fallada no esperada" + +#: searx/webapp.py:136 +msgid "files" +msgstr "fitxers" + +#: searx/webapp.py:137 +msgid "general" +msgstr "general" + +#: searx/webapp.py:138 +msgid "music" +msgstr "música" + +#: searx/webapp.py:139 +msgid "social media" +msgstr "xarxes socials" + +#: searx/webapp.py:140 +msgid "images" +msgstr "imatges" + +#: searx/webapp.py:141 +msgid "videos" +msgstr "vídeos" + +#: searx/webapp.py:142 +msgid "it" +msgstr "informàtica" + +#: searx/webapp.py:143 +msgid "news" +msgstr "notícies" + +#: searx/webapp.py:144 +msgid "map" +msgstr "mapa" + +#: searx/webapp.py:145 +msgid "science" +msgstr "ciència" + +#: searx/webapp.py:399 searx/webapp.py:658 +msgid "Invalid settings, please edit your preferences" +msgstr "La configuració no és vàlida, editeu-la" + +#: searx/webapp.py:415 +msgid "Invalid settings" +msgstr "La configuració no és vàlida" + +#: searx/webapp.py:449 searx/webapp.py:493 +msgid "search error" +msgstr "error en la cerca" + +#: searx/webapp.py:530 +msgid "{minutes} minute(s) ago" +msgstr "fa {minutes} minuts" + +#: searx/webapp.py:532 +msgid "{hours} hour(s), {minutes} minute(s) ago" +msgstr "fa {hours} hores i {minutes} minuts" + +#: searx/answerers/random/answerer.py:53 +msgid "Random value generator" +msgstr "Generador de valor aleatori" + +#: searx/answerers/random/answerer.py:54 +msgid "Generate different random values" +msgstr "Genera valors aleatoris diferents" + +#: searx/answerers/statistics/answerer.py:53 +msgid "Statistics functions" +msgstr "Funcions estadístiques" + +#: searx/answerers/statistics/answerer.py:54 +msgid "Compute {functions} of the arguments" +msgstr "Calcula {functions} dels arguments" + +#: searx/engines/__init__.py:194 searx/engines/flycheck___init__.py:201 +msgid "Engine time (sec)" +msgstr "Temps del motor (segons)" + +#: searx/engines/__init__.py:198 searx/engines/flycheck___init__.py:205 +msgid "Page loads (sec)" +msgstr "Càrrega de la pàgina (segons)" + +#: searx/engines/__init__.py:202 searx/engines/flycheck___init__.py:209 +#: searx/templates/oscar/results.html:95 +#: searx/templates/simple/results.html:20 +msgid "Number of results" +msgstr "Nombre de resultats" + +#: searx/engines/__init__.py:206 searx/engines/flycheck___init__.py:213 +msgid "Scores" +msgstr "Valoració" + +#: searx/engines/__init__.py:210 searx/engines/flycheck___init__.py:217 +msgid "Scores per result" +msgstr "Valoració segons el resultat" + +#: searx/engines/__init__.py:214 searx/engines/flycheck___init__.py:221 +msgid "Errors" +msgstr "Errors" + +#: searx/engines/pdbe.py:87 +msgid "{title}&nbsp;(OBSOLETE)" +msgstr "{title}&nbsp;(OBSOLET)" + +#: searx/engines/pdbe.py:91 +msgid "This entry has been superseded by" +msgstr "Aquesta entrada ha estat substituïda per" + +#: searx/engines/pubmed.py:74 +msgid "No abstract is available for this publication." +msgstr "No hi ha resum disponible per a aquesta publicació." + +#: searx/plugins/https_rewrite.py:32 +msgid "Rewrite HTTP links to HTTPS if possible" +msgstr "Reescriu els enllaços HTTP cap a HTTPS si és possible" + +#: searx/plugins/infinite_scroll.py:3 +msgid "Infinite scroll" +msgstr "Desplaçament infinit" + +#: searx/plugins/infinite_scroll.py:4 +msgid "Automatically load next page when scrolling to bottom of current page" +msgstr "Carrega automàticament la pàgina següent en desplaçar-se al final de la pàgina actual" + +#: searx/plugins/oa_doi_rewrite.py:9 +msgid "Open Access DOI rewrite" +msgstr "Reescriu l'Open Access DOI" + +#: searx/plugins/oa_doi_rewrite.py:10 +msgid "" +"Avoid paywalls by redirecting to open-access versions of publications when " +"available" +msgstr "Evita els llocs de pagaments redirigint a versions d'accés obert de les publicacions si és possible" + +#: searx/plugins/open_results_on_new_tab.py:18 +#: searx/templates/oscar/preferences.html:114 +#: searx/templates/simple/preferences.html:149 +msgid "Open result links on new browser tabs" +msgstr "Obre els enllaços de resultats en una pestanya nova" + +#: searx/plugins/open_results_on_new_tab.py:19 +msgid "" +"Results are opened in the same window by default. This plugin overwrites the" +" default behaviour to open links on new tabs/windows. (JavaScript required)" +msgstr "De forma predeterminada, els resultats s'obren en la mateixa finestra. Aquest connector canvia el comportament predeterminat i obre els enllaços en una finestra o pestanya nova. (Cal JavaScript)" + +#: searx/plugins/search_on_category_select.py:18 +msgid "Search on category select" +msgstr "Cerca en la selecció de categories" + +#: searx/plugins/search_on_category_select.py:19 +msgid "" +"Perform search immediately if a category selected. Disable to select " +"multiple categories. (JavaScript required)" +msgstr "Executa la cerca immediatament si hi ha seleccionada una categoria. Desactiveu-ho per a seleccionar més d'una categoria. (Cal JavaScript)" + +#: searx/plugins/self_info.py:20 +msgid "" +"Displays your IP if the query is \"ip\" and your user agent if the query " +"contains \"user agent\"." +msgstr "Mostra la vostra IP si la consulta és «ip» i el valor «user agent» del navegador si la consulta conté «user agent»." + +#: searx/plugins/tracker_url_remover.py:26 +msgid "Tracker URL remover" +msgstr "Suprimeix l'URL de rastreig" + +#: searx/plugins/tracker_url_remover.py:27 +msgid "Remove trackers arguments from the returned URL" +msgstr "Suprimeix els arguments de rastreig de les URL retornades" + +#: searx/plugins/vim_hotkeys.py:3 +msgid "Vim-like hotkeys" +msgstr "Dreceres de teclat del Vim" + +#: searx/plugins/vim_hotkeys.py:4 +msgid "" +"Navigate search results with Vim-like hotkeys (JavaScript required). Press " +"\"h\" key on main or result page to get help." +msgstr "Navegació pels resultats de la cerca amb les dreceres a l'estil Vim (cal JavaScript). Pitgeu la tecla «h» en la pàgina principal o de resultats per a obtenir ajuda." + +#: searx/templates/courgette/404.html:4 searx/templates/legacy/404.html:4 +#: searx/templates/oscar/404.html:4 searx/templates/pix-art/404.html:4 +#: searx/templates/simple/404.html:4 +msgid "Page not found" +msgstr "No s'ha trobat la pàgina" + +#: searx/templates/courgette/404.html:6 searx/templates/legacy/404.html:6 +#: searx/templates/oscar/404.html:6 searx/templates/pix-art/404.html:6 +#: searx/templates/simple/404.html:6 +#, python-format +msgid "Go to %(search_page)s." +msgstr "Vés a %(search_page)s." + +#: searx/templates/courgette/404.html:6 searx/templates/legacy/404.html:6 +#: searx/templates/oscar/404.html:6 searx/templates/pix-art/404.html:6 +#: searx/templates/simple/404.html:6 +msgid "search page" +msgstr "pàgina de cerca" + +#: searx/templates/courgette/index.html:9 +#: searx/templates/courgette/index.html:13 +#: searx/templates/courgette/results.html:5 +#: searx/templates/legacy/index.html:8 searx/templates/legacy/index.html:12 +#: searx/templates/oscar/navbar.html:7 +#: searx/templates/oscar/preferences.html:3 +#: searx/templates/pix-art/index.html:8 +msgid "preferences" +msgstr "preferències" + +#: searx/templates/courgette/index.html:11 +#: searx/templates/legacy/index.html:10 searx/templates/oscar/about.html:2 +#: searx/templates/oscar/navbar.html:6 searx/templates/pix-art/index.html:7 +msgid "about" +msgstr "quant a" + +#: searx/templates/courgette/preferences.html:5 +#: searx/templates/legacy/preferences.html:5 +#: searx/templates/oscar/preferences.html:8 +#: searx/templates/pix-art/preferences.html:5 +#: searx/templates/simple/preferences.html:26 +msgid "Preferences" +msgstr "Preferències" + +#: searx/templates/courgette/preferences.html:9 +#: searx/templates/legacy/preferences.html:9 +#: searx/templates/oscar/preferences.html:33 +#: searx/templates/oscar/preferences.html:35 +#: searx/templates/simple/preferences.html:34 +msgid "Default categories" +msgstr "Categories predeterminades" + +#: searx/templates/courgette/preferences.html:13 +#: searx/templates/legacy/preferences.html:14 +#: searx/templates/oscar/preferences.html:41 +#: searx/templates/pix-art/preferences.html:9 +#: searx/templates/simple/preferences.html:39 +#: searx/templates/simple/preferences.html:163 +msgid "Search language" +msgstr "Llengua de cerca" + +#: searx/templates/courgette/preferences.html:16 +#: searx/templates/legacy/preferences.html:17 +#: searx/templates/oscar/languages.html:6 +#: searx/templates/pix-art/preferences.html:12 +#: searx/templates/simple/languages.html:2 +#: searx/templates/simple/preferences.html:42 +msgid "Default language" +msgstr "Llengua predeterminada" + +#: searx/templates/courgette/preferences.html:24 +#: searx/templates/legacy/preferences.html:25 +#: searx/templates/oscar/preferences.html:47 +#: searx/templates/pix-art/preferences.html:20 +#: searx/templates/simple/preferences.html:120 +msgid "Interface language" +msgstr "Llengua de la interfície" + +#: searx/templates/courgette/preferences.html:34 +#: searx/templates/legacy/preferences.html:35 +#: searx/templates/oscar/preferences.html:57 +#: searx/templates/simple/preferences.html:51 +msgid "Autocomplete" +msgstr "Compleció automàtica" + +#: searx/templates/courgette/preferences.html:45 +#: searx/templates/legacy/preferences.html:46 +#: searx/templates/oscar/preferences.html:68 +#: searx/templates/simple/preferences.html:166 +msgid "Image proxy" +msgstr "Servidor intermediari d'imatges" + +#: searx/templates/courgette/preferences.html:48 +#: searx/templates/legacy/preferences.html:49 +#: searx/templates/oscar/preferences.html:72 +#: searx/templates/simple/preferences.html:169 +msgid "Enabled" +msgstr "Activat" + +#: searx/templates/courgette/preferences.html:49 +#: searx/templates/legacy/preferences.html:50 +#: searx/templates/oscar/preferences.html:73 +#: searx/templates/simple/preferences.html:170 +msgid "Disabled" +msgstr "Desactivat" + +#: searx/templates/courgette/preferences.html:54 +#: searx/templates/legacy/preferences.html:55 +#: searx/templates/oscar/preferences.html:77 +#: searx/templates/pix-art/preferences.html:30 +#: searx/templates/simple/preferences.html:156 +msgid "Method" +msgstr "Mètode" + +#: searx/templates/courgette/preferences.html:63 +#: searx/templates/legacy/preferences.html:64 +#: searx/templates/oscar/preferences.html:86 +#: searx/templates/oscar/preferences.html:165 +#: searx/templates/oscar/preferences.html:173 +#: searx/templates/simple/preferences.html:63 +#: searx/templates/simple/preferences.html:90 +msgid "SafeSearch" +msgstr "Cerca segura" + +#: searx/templates/courgette/preferences.html:66 +#: searx/templates/legacy/preferences.html:67 +#: searx/templates/oscar/preferences.html:90 +#: searx/templates/simple/preferences.html:66 +msgid "Strict" +msgstr "Estricta" + +#: searx/templates/courgette/preferences.html:67 +#: searx/templates/legacy/preferences.html:68 +#: searx/templates/oscar/preferences.html:91 +#: searx/templates/simple/preferences.html:67 +msgid "Moderate" +msgstr "Moderada" + +#: searx/templates/courgette/preferences.html:68 +#: searx/templates/legacy/preferences.html:69 +#: searx/templates/oscar/preferences.html:92 +#: searx/templates/simple/preferences.html:68 +msgid "None" +msgstr "Cap" + +#: searx/templates/courgette/preferences.html:73 +#: searx/templates/legacy/preferences.html:74 +#: searx/templates/oscar/preferences.html:96 +#: searx/templates/pix-art/preferences.html:39 +#: searx/templates/simple/preferences.html:131 +msgid "Themes" +msgstr "Temes" + +#: searx/templates/courgette/preferences.html:83 +msgid "Color" +msgstr "Color" + +#: searx/templates/courgette/preferences.html:86 +msgid "Blue (default)" +msgstr "Blau (predeterminat)" + +#: searx/templates/courgette/preferences.html:87 +msgid "Violet" +msgstr "Violat" + +#: searx/templates/courgette/preferences.html:88 +msgid "Green" +msgstr "Verd" + +#: searx/templates/courgette/preferences.html:89 +msgid "Cyan" +msgstr "Cian" + +#: searx/templates/courgette/preferences.html:90 +msgid "Orange" +msgstr "Taronja" + +#: searx/templates/courgette/preferences.html:91 +msgid "Red" +msgstr "Vermell" + +#: searx/templates/courgette/preferences.html:96 +#: searx/templates/legacy/preferences.html:93 +#: searx/templates/pix-art/preferences.html:49 +#: searx/templates/simple/preferences.html:77 +msgid "Currently used search engines" +msgstr "Motors de cerca usats actualment" + +#: searx/templates/courgette/preferences.html:100 +#: searx/templates/legacy/preferences.html:97 +#: searx/templates/oscar/preferences.html:162 +#: searx/templates/oscar/preferences.html:176 +#: searx/templates/pix-art/preferences.html:53 +#: searx/templates/simple/preferences.html:87 +msgid "Engine name" +msgstr "Nom del motor" + +#: searx/templates/courgette/preferences.html:101 +#: searx/templates/legacy/preferences.html:98 +msgid "Category" +msgstr "Categoria" + +#: searx/templates/courgette/preferences.html:102 +#: searx/templates/courgette/preferences.html:113 +#: searx/templates/legacy/preferences.html:99 +#: searx/templates/legacy/preferences.html:110 +#: searx/templates/oscar/preferences.html:161 +#: searx/templates/oscar/preferences.html:177 +#: searx/templates/pix-art/preferences.html:54 +#: searx/templates/pix-art/preferences.html:64 +#: searx/templates/simple/preferences.html:86 +msgid "Allow" +msgstr "Permet" + +#: searx/templates/courgette/preferences.html:102 +#: searx/templates/courgette/preferences.html:114 +#: searx/templates/legacy/preferences.html:99 +#: searx/templates/legacy/preferences.html:111 +#: searx/templates/pix-art/preferences.html:54 +#: searx/templates/pix-art/preferences.html:65 +msgid "Block" +msgstr "Bloca" + +#: searx/templates/courgette/preferences.html:122 +#: searx/templates/legacy/preferences.html:119 +#: searx/templates/oscar/preferences.html:297 +#: searx/templates/pix-art/preferences.html:73 +#: searx/templates/simple/preferences.html:180 +msgid "" +"These settings are stored in your cookies, this allows us not to store this " +"data about you." +msgstr "Aquesta configuració es desa en les galetes. Això ens permet no emmagatzemar les vostres dades." + +#: searx/templates/courgette/preferences.html:124 +#: searx/templates/legacy/preferences.html:121 +#: searx/templates/oscar/preferences.html:299 +#: searx/templates/pix-art/preferences.html:75 +#: searx/templates/simple/preferences.html:182 +msgid "" +"These cookies serve your sole convenience, we don't use these cookies to " +"track you." +msgstr "Aquestes galetes només són per a la vostra conveniència. No les usem per a rastrejar-vos." + +#: searx/templates/courgette/preferences.html:127 +#: searx/templates/legacy/preferences.html:124 +#: searx/templates/oscar/preferences.html:305 +#: searx/templates/pix-art/preferences.html:78 +#: searx/templates/simple/preferences.html:185 +msgid "save" +msgstr "desa" + +#: searx/templates/courgette/preferences.html:128 +#: searx/templates/legacy/preferences.html:125 +#: searx/templates/oscar/preferences.html:307 +#: searx/templates/simple/preferences.html:186 +msgid "Reset defaults" +msgstr "Restaura els valors predeterminats" + +#: searx/templates/courgette/preferences.html:129 +#: searx/templates/legacy/preferences.html:126 +#: searx/templates/oscar/preferences.html:306 +#: searx/templates/pix-art/preferences.html:79 +#: searx/templates/simple/preferences.html:187 +msgid "back" +msgstr "enrere" + +#: searx/templates/courgette/results.html:12 +#: searx/templates/legacy/results.html:13 +#: searx/templates/oscar/results.html:136 +#: searx/templates/simple/results.html:58 +msgid "Search URL" +msgstr "URL de cerca" + +#: searx/templates/courgette/results.html:16 +#: searx/templates/legacy/results.html:17 +#: searx/templates/oscar/results.html:141 +#: searx/templates/simple/results.html:62 +msgid "Download results" +msgstr "Baixa els resultats" + +#: searx/templates/courgette/results.html:34 +#: searx/templates/legacy/results.html:35 +#: searx/templates/simple/results.html:10 +msgid "Answers" +msgstr "Respostes" + +#: searx/templates/courgette/results.html:42 +#: searx/templates/legacy/results.html:43 +#: searx/templates/oscar/results.html:116 +#: searx/templates/simple/results.html:42 +msgid "Suggestions" +msgstr "Suggeriments" + +#: searx/templates/courgette/results.html:70 +#: searx/templates/legacy/results.html:81 +#: searx/templates/oscar/results.html:68 searx/templates/oscar/results.html:78 +#: searx/templates/simple/results.html:130 +msgid "previous page" +msgstr "pàgina anterior" + +#: searx/templates/courgette/results.html:81 +#: searx/templates/legacy/results.html:92 +#: searx/templates/oscar/results.html:62 searx/templates/oscar/results.html:84 +#: searx/templates/simple/results.html:145 +msgid "next page" +msgstr "pàgina següent" + +#: searx/templates/courgette/search.html:3 +#: searx/templates/legacy/search.html:3 searx/templates/oscar/search.html:6 +#: searx/templates/oscar/search_full.html:9 +#: searx/templates/pix-art/search.html:3 searx/templates/simple/search.html:4 +msgid "Search for..." +msgstr "Cerca..." + +#: searx/templates/courgette/stats.html:4 searx/templates/legacy/stats.html:4 +#: searx/templates/oscar/stats.html:5 searx/templates/pix-art/stats.html:4 +#: searx/templates/simple/stats.html:7 +msgid "Engine stats" +msgstr "Estadístiques del motor" + +#: searx/templates/courgette/result_templates/images.html:4 +#: searx/templates/legacy/result_templates/images.html:4 +#: searx/templates/pix-art/result_templates/images.html:4 +msgid "original context" +msgstr "context original" + +#: searx/templates/courgette/result_templates/torrent.html:7 +#: searx/templates/legacy/result_templates/torrent.html:11 +#: searx/templates/oscar/result_templates/torrent.html:6 +#: searx/templates/simple/result_templates/torrent.html:9 +msgid "Seeder" +msgstr "Font" + +#: searx/templates/courgette/result_templates/torrent.html:7 +#: searx/templates/legacy/result_templates/torrent.html:11 +#: searx/templates/oscar/result_templates/torrent.html:6 +#: searx/templates/simple/result_templates/torrent.html:9 +msgid "Leecher" +msgstr "Descarregador" + +#: searx/templates/courgette/result_templates/torrent.html:9 +#: searx/templates/legacy/result_templates/torrent.html:9 +#: searx/templates/oscar/macros.html:23 +#: searx/templates/simple/result_templates/torrent.html:6 +msgid "magnet link" +msgstr "enllaç magnet" + +#: searx/templates/courgette/result_templates/torrent.html:10 +#: searx/templates/legacy/result_templates/torrent.html:10 +#: searx/templates/oscar/macros.html:24 +#: searx/templates/simple/result_templates/torrent.html:7 +msgid "torrent file" +msgstr "fitxer torrent" + +#: searx/templates/legacy/categories.html:8 +#: searx/templates/simple/categories.html:6 +msgid "Click on the magnifier to perform search" +msgstr "Feu clic en la lupa per a executar la cerca" + +#: searx/templates/legacy/preferences.html:84 +#: searx/templates/oscar/preferences.html:113 +#: searx/templates/simple/preferences.html:142 +msgid "Results on new tabs" +msgstr "Resultats en pestanyes noves" + +#: searx/templates/legacy/preferences.html:87 +#: searx/templates/oscar/preferences.html:117 +#: searx/templates/simple/preferences.html:145 +msgid "On" +msgstr "Activat" + +#: searx/templates/legacy/preferences.html:88 +#: searx/templates/oscar/preferences.html:118 +#: searx/templates/simple/preferences.html:146 +msgid "Off" +msgstr "Desactivat" + +#: searx/templates/legacy/result_templates/code.html:3 +#: searx/templates/legacy/result_templates/default.html:3 +#: searx/templates/legacy/result_templates/map.html:9 +#: searx/templates/oscar/macros.html:34 searx/templates/oscar/macros.html:48 +#: searx/templates/simple/macros.html:43 +msgid "cached" +msgstr "en memòria cau" + +#: searx/templates/oscar/advanced.html:4 +msgid "Advanced settings" +msgstr "Configuració avançada" + +#: searx/templates/oscar/base.html:62 +#: searx/templates/oscar/messages/first_time.html:4 +#: searx/templates/oscar/messages/save_settings_successfull.html:5 +#: searx/templates/oscar/messages/unknow_error.html:5 +msgid "Close" +msgstr "Tanca" + +#: searx/templates/oscar/base.html:64 +#: searx/templates/oscar/messages/no_results.html:4 +#: searx/templates/simple/messages/no_results.html:4 +#: searx/templates/simple/results.html:25 +msgid "Error!" +msgstr "Error!" + +#: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 +msgid "Powered by" +msgstr "Funciona amb" + +#: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 +msgid "a privacy-respecting, hackable metasearch engine" +msgstr "un meta motor de cerca personalitzable i respectuós amb la privadesa" + +#: searx/templates/oscar/macros.html:36 searx/templates/oscar/macros.html:50 +#: searx/templates/simple/macros.html:43 +msgid "proxied" +msgstr "en servidor intermediari" + +#: searx/templates/oscar/macros.html:92 +msgid "supported" +msgstr "suportat" + +#: searx/templates/oscar/macros.html:96 +msgid "not supported" +msgstr "no suportat" + +#: searx/templates/oscar/preferences.html:13 +#: searx/templates/oscar/preferences.html:22 +#: searx/templates/simple/preferences.html:32 +msgid "General" +msgstr "General" + +#: searx/templates/oscar/preferences.html:14 +#: searx/templates/oscar/preferences.html:146 +#: searx/templates/simple/preferences.html:76 +msgid "Engines" +msgstr "Motorrs" + +#: searx/templates/oscar/preferences.html:15 +#: searx/templates/oscar/preferences.html:219 +msgid "Plugins" +msgstr "Connectat" + +#: searx/templates/oscar/preferences.html:16 +#: searx/templates/oscar/preferences.html:245 +msgid "Answerers" +msgstr "Resposter" + +#: searx/templates/oscar/preferences.html:17 +#: searx/templates/oscar/preferences.html:272 +msgid "Cookies" +msgstr "Galetes" + +#: searx/templates/oscar/preferences.html:42 +#: searx/templates/simple/preferences.html:48 +msgid "What language do you prefer for search?" +msgstr "En quina llengua preferiu cercar?" + +#: searx/templates/oscar/preferences.html:48 +#: searx/templates/simple/preferences.html:128 +msgid "Change the language of the layout" +msgstr "Canvia la llengua de la disposició" + +#: searx/templates/oscar/preferences.html:58 +#: searx/templates/simple/preferences.html:60 +msgid "Find stuff as you type" +msgstr "Troba coses tal com escriu" + +#: searx/templates/oscar/preferences.html:69 +#: searx/templates/simple/preferences.html:173 +msgid "Proxying image results through searx" +msgstr "Envia els resultats d'imatges via el servidor intermediari del searx" + +#: searx/templates/oscar/preferences.html:78 +msgid "" +"Change how forms are submited, <a " +"href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\"" +" rel=\"external\">learn more about request methods</a>" +msgstr "Canvia com es trameten els formularis, <a href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\" rel=\"external\">més informació sobre els mètodes de petició</a>" + +#: searx/templates/oscar/preferences.html:87 +#: searx/templates/simple/preferences.html:71 +msgid "Filter content" +msgstr "Filtra el contingut" + +#: searx/templates/oscar/preferences.html:97 +#: searx/templates/simple/preferences.html:139 +msgid "Change searx layout" +msgstr "Canvia la disposició del searx" + +#: searx/templates/oscar/preferences.html:106 +#: searx/templates/oscar/preferences.html:111 +msgid "Choose style for this theme" +msgstr "Trieu un estil per a aquest tema" + +#: searx/templates/oscar/preferences.html:106 +#: searx/templates/oscar/preferences.html:111 +msgid "Style" +msgstr "Estil" + +#: searx/templates/oscar/preferences.html:122 +msgid "Open Access DOI resolver" +msgstr "Solucionador de l'Open Access DOI" + +#: searx/templates/oscar/preferences.html:123 +msgid "" +"Redirect to open-access versions of publications when available (plugin " +"required)" +msgstr "Redirigeix cap a versions d'accés obert de les publicacions si són disponibles (cal un connector)" + +#: searx/templates/oscar/preferences.html:163 +#: searx/templates/oscar/preferences.html:175 +#: searx/templates/simple/preferences.html:88 +msgid "Shortcut" +msgstr "Drecera" + +#: searx/templates/oscar/preferences.html:164 +#: searx/templates/oscar/preferences.html:174 +msgid "Selected language" +msgstr "Llengua seleccionada" + +#: searx/templates/oscar/preferences.html:166 +#: searx/templates/oscar/preferences.html:172 +#: searx/templates/simple/preferences.html:91 +msgid "Time range" +msgstr "Interval de temps" + +#: searx/templates/oscar/preferences.html:167 +#: searx/templates/oscar/preferences.html:171 +#: searx/templates/simple/preferences.html:92 +msgid "Avg. time" +msgstr "Temps amitjanat" + +#: searx/templates/oscar/preferences.html:168 +#: searx/templates/oscar/preferences.html:170 +#: searx/templates/simple/preferences.html:93 +msgid "Max time" +msgstr "Temps màxim" + +#: searx/templates/oscar/preferences.html:248 +msgid "This is the list of searx's instant answering modules." +msgstr "Aquest és el llistat dels mòduls de resposta ràpida del searx." + +#: searx/templates/oscar/preferences.html:252 +msgid "Name" +msgstr "Nom" + +#: searx/templates/oscar/preferences.html:253 +msgid "Keywords" +msgstr "Paraules clau" + +#: searx/templates/oscar/preferences.html:254 +msgid "Description" +msgstr "Descripció" + +#: searx/templates/oscar/preferences.html:255 +msgid "Examples" +msgstr "Exemples" + +#: searx/templates/oscar/preferences.html:275 +msgid "" +"This is the list of cookies and their values searx is storing on your " +"computer." +msgstr "Aquest és el llistat de les galetes, i els seu valor, que el searx té desats en el vostre equip." + +#: searx/templates/oscar/preferences.html:276 +msgid "With that list, you can assess searx transparency." +msgstr "Amb aquest llistat, podeu avaluar la transparència del searx." + +#: searx/templates/oscar/preferences.html:281 +msgid "Cookie name" +msgstr "Nom de la galeta" + +#: searx/templates/oscar/preferences.html:282 +msgid "Value" +msgstr "Valor" + +#: searx/templates/oscar/preferences.html:301 +msgid "Search URL of the currently saved preferences" +msgstr "URL de cerca de les preferències desades actualment" + +#: searx/templates/oscar/preferences.html:301 +msgid "" +"Note: specifying custom settings in the search URL can reduce privacy by " +"leaking data to the clicked result sites." +msgstr "Nota: si indiqueu configuracions personalitzades en la URL de cerca podeu reduir la privadesa, amb filtració de dades, en fer clic als llocs dels resultats." + +#: searx/templates/oscar/results.html:17 +msgid "Search results" +msgstr "Resultats de la cerca" + +#: searx/templates/oscar/results.html:21 +#: searx/templates/simple/results.html:84 +msgid "Try searching for:" +msgstr "Proveu a cercar:" + +#: searx/templates/oscar/results.html:100 +#: searx/templates/simple/results.html:25 +msgid "Engines cannot retrieve results" +msgstr "Els motors no poden obtenir cap resultat" + +#: searx/templates/oscar/results.html:131 +msgid "Links" +msgstr "Enllaços" + +#: searx/templates/oscar/search.html:8 +#: searx/templates/oscar/search_full.html:11 +#: searx/templates/simple/search.html:5 +msgid "Start search" +msgstr "Comença la cerca" + +#: searx/templates/oscar/stats.html:2 +msgid "stats" +msgstr "estadístiques" + +#: searx/templates/oscar/time-range.html:3 +#: searx/templates/simple/time-range.html:3 +msgid "Anytime" +msgstr "En qualsevol moment" + +#: searx/templates/oscar/time-range.html:6 +#: searx/templates/simple/time-range.html:6 +msgid "Last day" +msgstr "Les darreres 24 hores" + +#: searx/templates/oscar/time-range.html:9 +#: searx/templates/simple/time-range.html:9 +msgid "Last week" +msgstr "La setmana passada" + +#: searx/templates/oscar/time-range.html:12 +#: searx/templates/simple/time-range.html:12 +msgid "Last month" +msgstr "El darrer mes" + +#: searx/templates/oscar/time-range.html:15 +#: searx/templates/simple/time-range.html:15 +msgid "Last year" +msgstr "El darrer any" + +#: searx/templates/oscar/messages/first_time.html:6 +#: searx/templates/oscar/messages/no_data_available.html:3 +msgid "Heads up!" +msgstr "Atenció!" + +#: searx/templates/oscar/messages/first_time.html:7 +msgid "It look like you are using searx first time." +msgstr "Sembla que esteu usant searx per primer cop." + +#: searx/templates/oscar/messages/no_cookies.html:3 +msgid "Information!" +msgstr "Informació!" + +#: searx/templates/oscar/messages/no_cookies.html:4 +msgid "currently, there are no cookies defined." +msgstr "actualment, no hi ha definida cap galeta." + +#: searx/templates/oscar/messages/no_data_available.html:4 +msgid "There is currently no data available. " +msgstr "Actualment, no hi ha dades disponibles." + +#: searx/templates/oscar/messages/no_results.html:4 +#: searx/templates/simple/messages/no_results.html:4 +msgid "Engines cannot retrieve results." +msgstr "Els motors no poden obtenir cap resultat" + +#: searx/templates/oscar/messages/no_results.html:10 +#: searx/templates/simple/messages/no_results.html:10 +msgid "Please, try again later or find another searx instance." +msgstr "Torneu-ho a intentar més tard o useu una altra instància del searx." + +#: searx/templates/oscar/messages/no_results.html:14 +#: searx/templates/simple/messages/no_results.html:14 +msgid "Sorry!" +msgstr "Disculpeu!" + +#: searx/templates/oscar/messages/no_results.html:15 +#: searx/templates/simple/messages/no_results.html:15 +msgid "" +"we didn't find any results. Please use another query or search in more " +"categories." +msgstr "no hem trobat cap resultat. Feu una consulta diferent o cerqueu en més categories." + +#: searx/templates/oscar/messages/save_settings_successfull.html:7 +msgid "Well done!" +msgstr "Ben fet!" + +#: searx/templates/oscar/messages/save_settings_successfull.html:8 +msgid "Settings saved successfully." +msgstr "La configuració s'ha desat correctament." + +#: searx/templates/oscar/messages/unknow_error.html:7 +msgid "Oh snap!" +msgstr "Cagundena!" + +#: searx/templates/oscar/messages/unknow_error.html:8 +msgid "Something went wrong." +msgstr "Alguna cosa ha anat malament." + +#: searx/templates/oscar/result_templates/default.html:7 +#: searx/templates/simple/result_templates/default.html:6 +msgid "show media" +msgstr "mostra el contingut multimèdia" + +#: searx/templates/oscar/result_templates/default.html:7 +#: searx/templates/simple/result_templates/default.html:6 +msgid "hide media" +msgstr "amaga el contingut multimèdia" + +#: searx/templates/oscar/result_templates/images.html:30 +msgid "Get image" +msgstr "Obtén la imatge" + +#: searx/templates/oscar/result_templates/images.html:33 +msgid "View source" +msgstr "Mostra el codi font" + +#: searx/templates/oscar/result_templates/map.html:7 +#: searx/templates/simple/result_templates/map.html:7 +msgid "show map" +msgstr "mostra el mapa" + +#: searx/templates/oscar/result_templates/map.html:7 +#: searx/templates/simple/result_templates/map.html:7 +msgid "hide map" +msgstr "amaga el mapa" + +#: searx/templates/oscar/result_templates/map.html:11 +#: searx/templates/simple/result_templates/map.html:11 +msgid "show details" +msgstr "mostra els detalls" + +#: searx/templates/oscar/result_templates/map.html:11 +#: searx/templates/simple/result_templates/map.html:11 +msgid "hide details" +msgstr "amaga els detalls" + +#: searx/templates/oscar/result_templates/torrent.html:7 +#: searx/templates/simple/result_templates/torrent.html:11 +msgid "Filesize" +msgstr "Mida del fitxer" + +#: searx/templates/oscar/result_templates/torrent.html:9 +#: searx/templates/simple/result_templates/torrent.html:12 +msgid "Bytes" +msgstr "Bytes" + +#: searx/templates/oscar/result_templates/torrent.html:10 +#: searx/templates/simple/result_templates/torrent.html:13 +msgid "kiB" +msgstr "kiB" + +#: searx/templates/oscar/result_templates/torrent.html:11 +#: searx/templates/simple/result_templates/torrent.html:14 +msgid "MiB" +msgstr "MiB" + +#: searx/templates/oscar/result_templates/torrent.html:12 +#: searx/templates/simple/result_templates/torrent.html:15 +msgid "GiB" +msgstr "GiB" + +#: searx/templates/oscar/result_templates/torrent.html:13 +#: searx/templates/simple/result_templates/torrent.html:16 +msgid "TiB" +msgstr "TiB" + +#: searx/templates/oscar/result_templates/torrent.html:15 +#: searx/templates/simple/result_templates/torrent.html:20 +msgid "Number of Files" +msgstr "Nombre de fiters" + +#: searx/templates/oscar/result_templates/videos.html:7 +#: searx/templates/simple/result_templates/videos.html:6 +msgid "show video" +msgstr "mostra el vídeo" + +#: searx/templates/oscar/result_templates/videos.html:7 +#: searx/templates/simple/result_templates/videos.html:6 +msgid "hide video" +msgstr "amaga el vídeo" + +#: searx/templates/pix-art/results.html:28 +msgid "Load more..." +msgstr "Carrega'n més..." + +#: searx/templates/simple/base.html:31 +msgid "No item found" +msgstr "No s'ha trobat cap element" + +#: searx/templates/simple/preferences.html:89 +msgid "Supports selected language" +msgstr "Suporta la llengua seleccionada" + +#: searx/templates/simple/preferences.html:118 +msgid "User interface" +msgstr "Interfície d'usuari" + +#: searx/templates/simple/preferences.html:154 +msgid "Privacy" +msgstr "Privadesa" diff --git a/searx/translations/cs/LC_MESSAGES/messages.mo b/searx/translations/cs/LC_MESSAGES/messages.mo index 3e638afa32..eded7150ad 100644 Binary files a/searx/translations/cs/LC_MESSAGES/messages.mo and b/searx/translations/cs/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/cs/LC_MESSAGES/messages.po b/searx/translations/cs/LC_MESSAGES/messages.po index ef96271fc0..8d3ce3c3e9 100644 --- a/searx/translations/cs/LC_MESSAGES/messages.po +++ b/searx/translations/cs/LC_MESSAGES/messages.po @@ -4,24 +4,25 @@ # # Translators: # Clon <fillip1@seznam.cz>, 2017 +# Václav Zouzalík <Vaclav.Zouzalik@seznam.cz>, 2018 msgid "" msgstr "" "Project-Id-Version: searx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2017-11-01 21:31+0100\n" -"PO-Revision-Date: 2017-11-01 20:31+0000\n" -"Last-Translator: Adam Tauber <asciimoo@gmail.com>\n" +"PO-Revision-Date: 2018-12-18 12:03+0000\n" +"Last-Translator: Václav Zouzalík <Vaclav.Zouzalik@seznam.cz>\n" "Language-Team: Czech (http://www.transifex.com/asciimoo/searx/language/cs/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.3.4\n" "Language: cs\n" -"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" #: searx/search.py:137 searx/search.py:182 msgid "timeout" -msgstr "" +msgstr "timeout" #: searx/search.py:144 msgid "request exception" @@ -77,7 +78,7 @@ msgstr "Neplatné nastavení, upravte svoje předvolby" #: searx/webapp.py:415 msgid "Invalid settings" -msgstr "" +msgstr "Neplatné nastavení" #: searx/webapp.py:449 searx/webapp.py:493 msgid "search error" @@ -131,7 +132,7 @@ msgstr "" #: searx/engines/__init__.py:214 searx/engines/flycheck___init__.py:221 msgid "Errors" -msgstr "Chyb" +msgstr "Chyby" #: searx/engines/pdbe.py:87 msgid "{title}&nbsp;(OBSOLETE)" @@ -187,13 +188,13 @@ msgstr "Hledat ve vybrané kategorii" msgid "" "Perform search immediately if a category selected. Disable to select " "multiple categories. (JavaScript required)" -msgstr "" +msgstr "Vyhledávejte okamžitě, pokud je vybrána kategorie. Vypněte, pokud potřebujete zvolit vícero kategorií. (vyžaduje JavaScript)" #: searx/plugins/self_info.py:20 msgid "" "Displays your IP if the query is \"ip\" and your user agent if the query " "contains \"user agent\"." -msgstr "" +msgstr "Ukáže vaši IP adresu, pokud dotaz je \"ip\", a váš user agent, pokud dotatz obsahuje \"user agent\"." #: searx/plugins/tracker_url_remover.py:26 msgid "Tracker URL remover" @@ -375,7 +376,7 @@ msgstr "Modrá (základní)" #: searx/templates/courgette/preferences.html:87 msgid "Violet" -msgstr "" +msgstr "Fialová" #: searx/templates/courgette/preferences.html:88 msgid "Green" @@ -383,7 +384,7 @@ msgstr "Zelená" #: searx/templates/courgette/preferences.html:89 msgid "Cyan" -msgstr "" +msgstr "Modrozelená" #: searx/templates/courgette/preferences.html:90 msgid "Orange" @@ -543,14 +544,14 @@ msgstr "původní kontext" #: searx/templates/oscar/result_templates/torrent.html:6 #: searx/templates/simple/result_templates/torrent.html:9 msgid "Seeder" -msgstr "" +msgstr "Seeder" #: searx/templates/courgette/result_templates/torrent.html:7 #: searx/templates/legacy/result_templates/torrent.html:11 #: searx/templates/oscar/result_templates/torrent.html:6 #: searx/templates/simple/result_templates/torrent.html:9 msgid "Leecher" -msgstr "" +msgstr "Leecher" #: searx/templates/courgette/result_templates/torrent.html:9 #: searx/templates/legacy/result_templates/torrent.html:9 @@ -676,7 +677,7 @@ msgstr "Změnít jazyk prostředí" #: searx/templates/oscar/preferences.html:58 #: searx/templates/simple/preferences.html:60 msgid "Find stuff as you type" -msgstr "" +msgstr "Vyhledávat během psaní" #: searx/templates/oscar/preferences.html:69 #: searx/templates/simple/preferences.html:173 @@ -729,7 +730,7 @@ msgstr "Zkratka" #: searx/templates/oscar/preferences.html:164 #: searx/templates/oscar/preferences.html:174 msgid "Selected language" -msgstr "" +msgstr "Zvolený jazyk" #: searx/templates/oscar/preferences.html:166 #: searx/templates/oscar/preferences.html:172 @@ -853,7 +854,7 @@ msgstr "Rok" #: searx/templates/oscar/messages/first_time.html:6 #: searx/templates/oscar/messages/no_data_available.html:3 msgid "Heads up!" -msgstr "Hlavy vzhůru!" +msgstr "Hlavu vzhůru!" #: searx/templates/oscar/messages/first_time.html:7 msgid "It look like you are using searx first time." @@ -879,7 +880,7 @@ msgstr "" #: searx/templates/oscar/messages/no_results.html:10 #: searx/templates/simple/messages/no_results.html:10 msgid "Please, try again later or find another searx instance." -msgstr "" +msgstr "Zkuste prosím později, nebo na jiné instanci searxu." #: searx/templates/oscar/messages/no_results.html:14 #: searx/templates/simple/messages/no_results.html:14 @@ -891,7 +892,7 @@ msgstr "Pardón!" msgid "" "we didn't find any results. Please use another query or search in more " "categories." -msgstr "nenašly jsme žádné výsledky. Prosím použíjte jiný dotaz nebo hledejte ve více kategoriích." +msgstr "Nenašli jsme žádné výsledky. Použijte prosím jiný dotaz nebo hledejte ve více kategoriích." #: searx/templates/oscar/messages/save_settings_successfull.html:7 msgid "Well done!" @@ -1010,4 +1011,4 @@ msgstr "" #: searx/templates/simple/preferences.html:154 msgid "Privacy" -msgstr "" +msgstr "Soukromí" diff --git a/searx/translations/cy/LC_MESSAGES/messages.mo b/searx/translations/cy/LC_MESSAGES/messages.mo new file mode 100644 index 0000000000..066d268e03 Binary files /dev/null and b/searx/translations/cy/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/cy/LC_MESSAGES/messages.po b/searx/translations/cy/LC_MESSAGES/messages.po new file mode 100644 index 0000000000..3344c6d1d5 --- /dev/null +++ b/searx/translations/cy/LC_MESSAGES/messages.po @@ -0,0 +1,1013 @@ +# Translations template for PROJECT. +# Copyright (C) 2017 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# +# Translators: +# Aled Powell <aled@aledpowell.cymru>, 2019 +msgid "" +msgstr "" +"Project-Id-Version: searx\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2017-11-01 21:31+0100\n" +"PO-Revision-Date: 2019-01-05 13:50+0000\n" +"Last-Translator: Aled Powell <aled@aledpowell.cymru>\n" +"Language-Team: Welsh (http://www.transifex.com/asciimoo/searx/language/cy/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.3.4\n" +"Language: cy\n" +"Plural-Forms: nplurals=4; plural=(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3;\n" + +#: searx/search.py:137 searx/search.py:182 +msgid "timeout" +msgstr "" + +#: searx/search.py:144 +msgid "request exception" +msgstr "" + +#: searx/search.py:151 +msgid "unexpected crash" +msgstr "" + +#: searx/webapp.py:136 +msgid "files" +msgstr "ffeiliau" + +#: searx/webapp.py:137 +msgid "general" +msgstr "cyffredinol" + +#: searx/webapp.py:138 +msgid "music" +msgstr "cerddoriaeth" + +#: searx/webapp.py:139 +msgid "social media" +msgstr "cyfryngau cymdeithasol" + +#: searx/webapp.py:140 +msgid "images" +msgstr "delweddau" + +#: searx/webapp.py:141 +msgid "videos" +msgstr "fideos" + +#: searx/webapp.py:142 +msgid "it" +msgstr "Technoleg" + +#: searx/webapp.py:143 +msgid "news" +msgstr "newyddion" + +#: searx/webapp.py:144 +msgid "map" +msgstr "map" + +#: searx/webapp.py:145 +msgid "science" +msgstr "gwyddoniaeth" + +#: searx/webapp.py:399 searx/webapp.py:658 +msgid "Invalid settings, please edit your preferences" +msgstr "Gosodiadau annilys. Addasa dy ddewisiadau." + +#: searx/webapp.py:415 +msgid "Invalid settings" +msgstr "Gosodiadau annilys" + +#: searx/webapp.py:449 searx/webapp.py:493 +msgid "search error" +msgstr "gwall chwilio" + +#: searx/webapp.py:530 +msgid "{minutes} minute(s) ago" +msgstr "{minutes} munud yn ôl" + +#: searx/webapp.py:532 +msgid "{hours} hour(s), {minutes} minute(s) ago" +msgstr "{hours} awr, {minutes} munud yn ôl" + +#: searx/answerers/random/answerer.py:53 +msgid "Random value generator" +msgstr "" + +#: searx/answerers/random/answerer.py:54 +msgid "Generate different random values" +msgstr "" + +#: searx/answerers/statistics/answerer.py:53 +msgid "Statistics functions" +msgstr "" + +#: searx/answerers/statistics/answerer.py:54 +msgid "Compute {functions} of the arguments" +msgstr "" + +#: searx/engines/__init__.py:194 searx/engines/flycheck___init__.py:201 +msgid "Engine time (sec)" +msgstr "" + +#: searx/engines/__init__.py:198 searx/engines/flycheck___init__.py:205 +msgid "Page loads (sec)" +msgstr "" + +#: searx/engines/__init__.py:202 searx/engines/flycheck___init__.py:209 +#: searx/templates/oscar/results.html:95 +#: searx/templates/simple/results.html:20 +msgid "Number of results" +msgstr "Nifer o ganlyniadau" + +#: searx/engines/__init__.py:206 searx/engines/flycheck___init__.py:213 +msgid "Scores" +msgstr "Sgoriau" + +#: searx/engines/__init__.py:210 searx/engines/flycheck___init__.py:217 +msgid "Scores per result" +msgstr "" + +#: searx/engines/__init__.py:214 searx/engines/flycheck___init__.py:221 +msgid "Errors" +msgstr "Gwallau" + +#: searx/engines/pdbe.py:87 +msgid "{title}&nbsp;(OBSOLETE)" +msgstr "" + +#: searx/engines/pdbe.py:91 +msgid "This entry has been superseded by" +msgstr "" + +#: searx/engines/pubmed.py:74 +msgid "No abstract is available for this publication." +msgstr "" + +#: searx/plugins/https_rewrite.py:32 +msgid "Rewrite HTTP links to HTTPS if possible" +msgstr "" + +#: searx/plugins/infinite_scroll.py:3 +msgid "Infinite scroll" +msgstr "" + +#: searx/plugins/infinite_scroll.py:4 +msgid "Automatically load next page when scrolling to bottom of current page" +msgstr "" + +#: searx/plugins/oa_doi_rewrite.py:9 +msgid "Open Access DOI rewrite" +msgstr "" + +#: searx/plugins/oa_doi_rewrite.py:10 +msgid "" +"Avoid paywalls by redirecting to open-access versions of publications when " +"available" +msgstr "" + +#: searx/plugins/open_results_on_new_tab.py:18 +#: searx/templates/oscar/preferences.html:114 +#: searx/templates/simple/preferences.html:149 +msgid "Open result links on new browser tabs" +msgstr "Agor dolenni canlyniadau mewn tabiau newydd yn y porwr" + +#: searx/plugins/open_results_on_new_tab.py:19 +msgid "" +"Results are opened in the same window by default. This plugin overwrites the" +" default behaviour to open links on new tabs/windows. (JavaScript required)" +msgstr "Mae canlyniadau fel arfer yn cael eu hagor yn yr un ffenestr. Mae'r ategolyn hwn yn newid hyn fel bod dolenni yn cael eu hagor mewn tabiau/ffenestri newydd. (Angen JavaScript)" + +#: searx/plugins/search_on_category_select.py:18 +msgid "Search on category select" +msgstr "" + +#: searx/plugins/search_on_category_select.py:19 +msgid "" +"Perform search immediately if a category selected. Disable to select " +"multiple categories. (JavaScript required)" +msgstr "" + +#: searx/plugins/self_info.py:20 +msgid "" +"Displays your IP if the query is \"ip\" and your user agent if the query " +"contains \"user agent\"." +msgstr "" + +#: searx/plugins/tracker_url_remover.py:26 +msgid "Tracker URL remover" +msgstr "" + +#: searx/plugins/tracker_url_remover.py:27 +msgid "Remove trackers arguments from the returned URL" +msgstr "" + +#: searx/plugins/vim_hotkeys.py:3 +msgid "Vim-like hotkeys" +msgstr "" + +#: searx/plugins/vim_hotkeys.py:4 +msgid "" +"Navigate search results with Vim-like hotkeys (JavaScript required). Press " +"\"h\" key on main or result page to get help." +msgstr "" + +#: searx/templates/courgette/404.html:4 searx/templates/legacy/404.html:4 +#: searx/templates/oscar/404.html:4 searx/templates/pix-art/404.html:4 +#: searx/templates/simple/404.html:4 +msgid "Page not found" +msgstr "" + +#: searx/templates/courgette/404.html:6 searx/templates/legacy/404.html:6 +#: searx/templates/oscar/404.html:6 searx/templates/pix-art/404.html:6 +#: searx/templates/simple/404.html:6 +#, python-format +msgid "Go to %(search_page)s." +msgstr "Mynd i %(search_page)s." + +#: searx/templates/courgette/404.html:6 searx/templates/legacy/404.html:6 +#: searx/templates/oscar/404.html:6 searx/templates/pix-art/404.html:6 +#: searx/templates/simple/404.html:6 +msgid "search page" +msgstr "tudalen chwilio" + +#: searx/templates/courgette/index.html:9 +#: searx/templates/courgette/index.html:13 +#: searx/templates/courgette/results.html:5 +#: searx/templates/legacy/index.html:8 searx/templates/legacy/index.html:12 +#: searx/templates/oscar/navbar.html:7 +#: searx/templates/oscar/preferences.html:3 +#: searx/templates/pix-art/index.html:8 +msgid "preferences" +msgstr "dewisiadau" + +#: searx/templates/courgette/index.html:11 +#: searx/templates/legacy/index.html:10 searx/templates/oscar/about.html:2 +#: searx/templates/oscar/navbar.html:6 searx/templates/pix-art/index.html:7 +msgid "about" +msgstr "ynghylch" + +#: searx/templates/courgette/preferences.html:5 +#: searx/templates/legacy/preferences.html:5 +#: searx/templates/oscar/preferences.html:8 +#: searx/templates/pix-art/preferences.html:5 +#: searx/templates/simple/preferences.html:26 +msgid "Preferences" +msgstr "Dewisiadau" + +#: searx/templates/courgette/preferences.html:9 +#: searx/templates/legacy/preferences.html:9 +#: searx/templates/oscar/preferences.html:33 +#: searx/templates/oscar/preferences.html:35 +#: searx/templates/simple/preferences.html:34 +msgid "Default categories" +msgstr "Categorïau arferol" + +#: searx/templates/courgette/preferences.html:13 +#: searx/templates/legacy/preferences.html:14 +#: searx/templates/oscar/preferences.html:41 +#: searx/templates/pix-art/preferences.html:9 +#: searx/templates/simple/preferences.html:39 +#: searx/templates/simple/preferences.html:163 +msgid "Search language" +msgstr "Iaith chwilio" + +#: searx/templates/courgette/preferences.html:16 +#: searx/templates/legacy/preferences.html:17 +#: searx/templates/oscar/languages.html:6 +#: searx/templates/pix-art/preferences.html:12 +#: searx/templates/simple/languages.html:2 +#: searx/templates/simple/preferences.html:42 +msgid "Default language" +msgstr "Iaith arferol" + +#: searx/templates/courgette/preferences.html:24 +#: searx/templates/legacy/preferences.html:25 +#: searx/templates/oscar/preferences.html:47 +#: searx/templates/pix-art/preferences.html:20 +#: searx/templates/simple/preferences.html:120 +msgid "Interface language" +msgstr "Iaith y rhyngwyneb" + +#: searx/templates/courgette/preferences.html:34 +#: searx/templates/legacy/preferences.html:35 +#: searx/templates/oscar/preferences.html:57 +#: searx/templates/simple/preferences.html:51 +msgid "Autocomplete" +msgstr "Awto-gwblhau" + +#: searx/templates/courgette/preferences.html:45 +#: searx/templates/legacy/preferences.html:46 +#: searx/templates/oscar/preferences.html:68 +#: searx/templates/simple/preferences.html:166 +msgid "Image proxy" +msgstr "" + +#: searx/templates/courgette/preferences.html:48 +#: searx/templates/legacy/preferences.html:49 +#: searx/templates/oscar/preferences.html:72 +#: searx/templates/simple/preferences.html:169 +msgid "Enabled" +msgstr "Galluogwyd" + +#: searx/templates/courgette/preferences.html:49 +#: searx/templates/legacy/preferences.html:50 +#: searx/templates/oscar/preferences.html:73 +#: searx/templates/simple/preferences.html:170 +msgid "Disabled" +msgstr "Analluogwyd" + +#: searx/templates/courgette/preferences.html:54 +#: searx/templates/legacy/preferences.html:55 +#: searx/templates/oscar/preferences.html:77 +#: searx/templates/pix-art/preferences.html:30 +#: searx/templates/simple/preferences.html:156 +msgid "Method" +msgstr "Dull" + +#: searx/templates/courgette/preferences.html:63 +#: searx/templates/legacy/preferences.html:64 +#: searx/templates/oscar/preferences.html:86 +#: searx/templates/oscar/preferences.html:165 +#: searx/templates/oscar/preferences.html:173 +#: searx/templates/simple/preferences.html:63 +#: searx/templates/simple/preferences.html:90 +msgid "SafeSearch" +msgstr "" + +#: searx/templates/courgette/preferences.html:66 +#: searx/templates/legacy/preferences.html:67 +#: searx/templates/oscar/preferences.html:90 +#: searx/templates/simple/preferences.html:66 +msgid "Strict" +msgstr "Caeth" + +#: searx/templates/courgette/preferences.html:67 +#: searx/templates/legacy/preferences.html:68 +#: searx/templates/oscar/preferences.html:91 +#: searx/templates/simple/preferences.html:67 +msgid "Moderate" +msgstr "Cymhedrol" + +#: searx/templates/courgette/preferences.html:68 +#: searx/templates/legacy/preferences.html:69 +#: searx/templates/oscar/preferences.html:92 +#: searx/templates/simple/preferences.html:68 +msgid "None" +msgstr "Dim" + +#: searx/templates/courgette/preferences.html:73 +#: searx/templates/legacy/preferences.html:74 +#: searx/templates/oscar/preferences.html:96 +#: searx/templates/pix-art/preferences.html:39 +#: searx/templates/simple/preferences.html:131 +msgid "Themes" +msgstr "Themâu" + +#: searx/templates/courgette/preferences.html:83 +msgid "Color" +msgstr "Lliw" + +#: searx/templates/courgette/preferences.html:86 +msgid "Blue (default)" +msgstr "Glas (arferol)" + +#: searx/templates/courgette/preferences.html:87 +msgid "Violet" +msgstr "Fioled" + +#: searx/templates/courgette/preferences.html:88 +msgid "Green" +msgstr "Gwyrdd" + +#: searx/templates/courgette/preferences.html:89 +msgid "Cyan" +msgstr "Gwyrddlas" + +#: searx/templates/courgette/preferences.html:90 +msgid "Orange" +msgstr "Oren" + +#: searx/templates/courgette/preferences.html:91 +msgid "Red" +msgstr "Coch" + +#: searx/templates/courgette/preferences.html:96 +#: searx/templates/legacy/preferences.html:93 +#: searx/templates/pix-art/preferences.html:49 +#: searx/templates/simple/preferences.html:77 +msgid "Currently used search engines" +msgstr "" + +#: searx/templates/courgette/preferences.html:100 +#: searx/templates/legacy/preferences.html:97 +#: searx/templates/oscar/preferences.html:162 +#: searx/templates/oscar/preferences.html:176 +#: searx/templates/pix-art/preferences.html:53 +#: searx/templates/simple/preferences.html:87 +msgid "Engine name" +msgstr "" + +#: searx/templates/courgette/preferences.html:101 +#: searx/templates/legacy/preferences.html:98 +msgid "Category" +msgstr "Categori" + +#: searx/templates/courgette/preferences.html:102 +#: searx/templates/courgette/preferences.html:113 +#: searx/templates/legacy/preferences.html:99 +#: searx/templates/legacy/preferences.html:110 +#: searx/templates/oscar/preferences.html:161 +#: searx/templates/oscar/preferences.html:177 +#: searx/templates/pix-art/preferences.html:54 +#: searx/templates/pix-art/preferences.html:64 +#: searx/templates/simple/preferences.html:86 +msgid "Allow" +msgstr "Caniatáu" + +#: searx/templates/courgette/preferences.html:102 +#: searx/templates/courgette/preferences.html:114 +#: searx/templates/legacy/preferences.html:99 +#: searx/templates/legacy/preferences.html:111 +#: searx/templates/pix-art/preferences.html:54 +#: searx/templates/pix-art/preferences.html:65 +msgid "Block" +msgstr "Rhwystro" + +#: searx/templates/courgette/preferences.html:122 +#: searx/templates/legacy/preferences.html:119 +#: searx/templates/oscar/preferences.html:297 +#: searx/templates/pix-art/preferences.html:73 +#: searx/templates/simple/preferences.html:180 +msgid "" +"These settings are stored in your cookies, this allows us not to store this " +"data about you." +msgstr "" + +#: searx/templates/courgette/preferences.html:124 +#: searx/templates/legacy/preferences.html:121 +#: searx/templates/oscar/preferences.html:299 +#: searx/templates/pix-art/preferences.html:75 +#: searx/templates/simple/preferences.html:182 +msgid "" +"These cookies serve your sole convenience, we don't use these cookies to " +"track you." +msgstr "" + +#: searx/templates/courgette/preferences.html:127 +#: searx/templates/legacy/preferences.html:124 +#: searx/templates/oscar/preferences.html:305 +#: searx/templates/pix-art/preferences.html:78 +#: searx/templates/simple/preferences.html:185 +msgid "save" +msgstr "cadw" + +#: searx/templates/courgette/preferences.html:128 +#: searx/templates/legacy/preferences.html:125 +#: searx/templates/oscar/preferences.html:307 +#: searx/templates/simple/preferences.html:186 +msgid "Reset defaults" +msgstr "Ailosod rhagosodiadau" + +#: searx/templates/courgette/preferences.html:129 +#: searx/templates/legacy/preferences.html:126 +#: searx/templates/oscar/preferences.html:306 +#: searx/templates/pix-art/preferences.html:79 +#: searx/templates/simple/preferences.html:187 +msgid "back" +msgstr "nôl" + +#: searx/templates/courgette/results.html:12 +#: searx/templates/legacy/results.html:13 +#: searx/templates/oscar/results.html:136 +#: searx/templates/simple/results.html:58 +msgid "Search URL" +msgstr "" + +#: searx/templates/courgette/results.html:16 +#: searx/templates/legacy/results.html:17 +#: searx/templates/oscar/results.html:141 +#: searx/templates/simple/results.html:62 +msgid "Download results" +msgstr "Lawrlwytho'r canlyniadau" + +#: searx/templates/courgette/results.html:34 +#: searx/templates/legacy/results.html:35 +#: searx/templates/simple/results.html:10 +msgid "Answers" +msgstr "Atebion" + +#: searx/templates/courgette/results.html:42 +#: searx/templates/legacy/results.html:43 +#: searx/templates/oscar/results.html:116 +#: searx/templates/simple/results.html:42 +msgid "Suggestions" +msgstr "Awgrymiadau" + +#: searx/templates/courgette/results.html:70 +#: searx/templates/legacy/results.html:81 +#: searx/templates/oscar/results.html:68 searx/templates/oscar/results.html:78 +#: searx/templates/simple/results.html:130 +msgid "previous page" +msgstr "tudalen ddiwethaf" + +#: searx/templates/courgette/results.html:81 +#: searx/templates/legacy/results.html:92 +#: searx/templates/oscar/results.html:62 searx/templates/oscar/results.html:84 +#: searx/templates/simple/results.html:145 +msgid "next page" +msgstr "tudalen nesaf" + +#: searx/templates/courgette/search.html:3 +#: searx/templates/legacy/search.html:3 searx/templates/oscar/search.html:6 +#: searx/templates/oscar/search_full.html:9 +#: searx/templates/pix-art/search.html:3 searx/templates/simple/search.html:4 +msgid "Search for..." +msgstr "Chwilio am..." + +#: searx/templates/courgette/stats.html:4 searx/templates/legacy/stats.html:4 +#: searx/templates/oscar/stats.html:5 searx/templates/pix-art/stats.html:4 +#: searx/templates/simple/stats.html:7 +msgid "Engine stats" +msgstr "" + +#: searx/templates/courgette/result_templates/images.html:4 +#: searx/templates/legacy/result_templates/images.html:4 +#: searx/templates/pix-art/result_templates/images.html:4 +msgid "original context" +msgstr "cyd-destun gwreiddiol" + +#: searx/templates/courgette/result_templates/torrent.html:7 +#: searx/templates/legacy/result_templates/torrent.html:11 +#: searx/templates/oscar/result_templates/torrent.html:6 +#: searx/templates/simple/result_templates/torrent.html:9 +msgid "Seeder" +msgstr "Hadau" + +#: searx/templates/courgette/result_templates/torrent.html:7 +#: searx/templates/legacy/result_templates/torrent.html:11 +#: searx/templates/oscar/result_templates/torrent.html:6 +#: searx/templates/simple/result_templates/torrent.html:9 +msgid "Leecher" +msgstr "Lawrlwythwyr" + +#: searx/templates/courgette/result_templates/torrent.html:9 +#: searx/templates/legacy/result_templates/torrent.html:9 +#: searx/templates/oscar/macros.html:23 +#: searx/templates/simple/result_templates/torrent.html:6 +msgid "magnet link" +msgstr "dolen magnet" + +#: searx/templates/courgette/result_templates/torrent.html:10 +#: searx/templates/legacy/result_templates/torrent.html:10 +#: searx/templates/oscar/macros.html:24 +#: searx/templates/simple/result_templates/torrent.html:7 +msgid "torrent file" +msgstr "ffeil torrent" + +#: searx/templates/legacy/categories.html:8 +#: searx/templates/simple/categories.html:6 +msgid "Click on the magnifier to perform search" +msgstr "Cliciwch ar y chwyddwydr i berfformio chwiliad" + +#: searx/templates/legacy/preferences.html:84 +#: searx/templates/oscar/preferences.html:113 +#: searx/templates/simple/preferences.html:142 +msgid "Results on new tabs" +msgstr "Canlyniadau mewn tabiau newydd" + +#: searx/templates/legacy/preferences.html:87 +#: searx/templates/oscar/preferences.html:117 +#: searx/templates/simple/preferences.html:145 +msgid "On" +msgstr "Ymlaen" + +#: searx/templates/legacy/preferences.html:88 +#: searx/templates/oscar/preferences.html:118 +#: searx/templates/simple/preferences.html:146 +msgid "Off" +msgstr "I ffwrdd" + +#: searx/templates/legacy/result_templates/code.html:3 +#: searx/templates/legacy/result_templates/default.html:3 +#: searx/templates/legacy/result_templates/map.html:9 +#: searx/templates/oscar/macros.html:34 searx/templates/oscar/macros.html:48 +#: searx/templates/simple/macros.html:43 +msgid "cached" +msgstr "" + +#: searx/templates/oscar/advanced.html:4 +msgid "Advanced settings" +msgstr "Gosodiadau uwch" + +#: searx/templates/oscar/base.html:62 +#: searx/templates/oscar/messages/first_time.html:4 +#: searx/templates/oscar/messages/save_settings_successfull.html:5 +#: searx/templates/oscar/messages/unknow_error.html:5 +msgid "Close" +msgstr "Cau" + +#: searx/templates/oscar/base.html:64 +#: searx/templates/oscar/messages/no_results.html:4 +#: searx/templates/simple/messages/no_results.html:4 +#: searx/templates/simple/results.html:25 +msgid "Error!" +msgstr "Gwall!" + +#: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 +msgid "Powered by" +msgstr "Pwerwyd gan" + +#: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 +msgid "a privacy-respecting, hackable metasearch engine" +msgstr "" + +#: searx/templates/oscar/macros.html:36 searx/templates/oscar/macros.html:50 +#: searx/templates/simple/macros.html:43 +msgid "proxied" +msgstr "" + +#: searx/templates/oscar/macros.html:92 +msgid "supported" +msgstr "cefnogir" + +#: searx/templates/oscar/macros.html:96 +msgid "not supported" +msgstr "ni chefnogir" + +#: searx/templates/oscar/preferences.html:13 +#: searx/templates/oscar/preferences.html:22 +#: searx/templates/simple/preferences.html:32 +msgid "General" +msgstr "Cyffredin" + +#: searx/templates/oscar/preferences.html:14 +#: searx/templates/oscar/preferences.html:146 +#: searx/templates/simple/preferences.html:76 +msgid "Engines" +msgstr "Peiriannau" + +#: searx/templates/oscar/preferences.html:15 +#: searx/templates/oscar/preferences.html:219 +msgid "Plugins" +msgstr "Ategolion" + +#: searx/templates/oscar/preferences.html:16 +#: searx/templates/oscar/preferences.html:245 +msgid "Answerers" +msgstr "Atebwyr" + +#: searx/templates/oscar/preferences.html:17 +#: searx/templates/oscar/preferences.html:272 +msgid "Cookies" +msgstr "Cwcis" + +#: searx/templates/oscar/preferences.html:42 +#: searx/templates/simple/preferences.html:48 +msgid "What language do you prefer for search?" +msgstr "Ym mha iaith wyt ti'n ffafrio chwilio?" + +#: searx/templates/oscar/preferences.html:48 +#: searx/templates/simple/preferences.html:128 +msgid "Change the language of the layout" +msgstr "Newid iaith rhyngwyneb searX" + +#: searx/templates/oscar/preferences.html:58 +#: searx/templates/simple/preferences.html:60 +msgid "Find stuff as you type" +msgstr "Darganfod pethau wrth i chi deipio" + +#: searx/templates/oscar/preferences.html:69 +#: searx/templates/simple/preferences.html:173 +msgid "Proxying image results through searx" +msgstr "" + +#: searx/templates/oscar/preferences.html:78 +msgid "" +"Change how forms are submited, <a " +"href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\"" +" rel=\"external\">learn more about request methods</a>" +msgstr "" + +#: searx/templates/oscar/preferences.html:87 +#: searx/templates/simple/preferences.html:71 +msgid "Filter content" +msgstr "" + +#: searx/templates/oscar/preferences.html:97 +#: searx/templates/simple/preferences.html:139 +msgid "Change searx layout" +msgstr "Newid cynllun searX" + +#: searx/templates/oscar/preferences.html:106 +#: searx/templates/oscar/preferences.html:111 +msgid "Choose style for this theme" +msgstr "Dewis arddull ar gyfer y thema hon" + +#: searx/templates/oscar/preferences.html:106 +#: searx/templates/oscar/preferences.html:111 +msgid "Style" +msgstr "Arddull" + +#: searx/templates/oscar/preferences.html:122 +msgid "Open Access DOI resolver" +msgstr "" + +#: searx/templates/oscar/preferences.html:123 +msgid "" +"Redirect to open-access versions of publications when available (plugin " +"required)" +msgstr "" + +#: searx/templates/oscar/preferences.html:163 +#: searx/templates/oscar/preferences.html:175 +#: searx/templates/simple/preferences.html:88 +msgid "Shortcut" +msgstr "Llwybr Byr" + +#: searx/templates/oscar/preferences.html:164 +#: searx/templates/oscar/preferences.html:174 +msgid "Selected language" +msgstr "Iaith a ddewiswyd" + +#: searx/templates/oscar/preferences.html:166 +#: searx/templates/oscar/preferences.html:172 +#: searx/templates/simple/preferences.html:91 +msgid "Time range" +msgstr "Cyfnod amser" + +#: searx/templates/oscar/preferences.html:167 +#: searx/templates/oscar/preferences.html:171 +#: searx/templates/simple/preferences.html:92 +msgid "Avg. time" +msgstr "" + +#: searx/templates/oscar/preferences.html:168 +#: searx/templates/oscar/preferences.html:170 +#: searx/templates/simple/preferences.html:93 +msgid "Max time" +msgstr "" + +#: searx/templates/oscar/preferences.html:248 +msgid "This is the list of searx's instant answering modules." +msgstr "" + +#: searx/templates/oscar/preferences.html:252 +msgid "Name" +msgstr "Enw" + +#: searx/templates/oscar/preferences.html:253 +msgid "Keywords" +msgstr "Allweddeiriau" + +#: searx/templates/oscar/preferences.html:254 +msgid "Description" +msgstr "Disgrifiad" + +#: searx/templates/oscar/preferences.html:255 +msgid "Examples" +msgstr "Enghreifftiau" + +#: searx/templates/oscar/preferences.html:275 +msgid "" +"This is the list of cookies and their values searx is storing on your " +"computer." +msgstr "Dyma restr y cwcis, a'u gwerthoedd, mae searX yn eu cadw ar eich dyfais." + +#: searx/templates/oscar/preferences.html:276 +msgid "With that list, you can assess searx transparency." +msgstr "" + +#: searx/templates/oscar/preferences.html:281 +msgid "Cookie name" +msgstr "Enw cwci" + +#: searx/templates/oscar/preferences.html:282 +msgid "Value" +msgstr "Gwerth" + +#: searx/templates/oscar/preferences.html:301 +msgid "Search URL of the currently saved preferences" +msgstr "" + +#: searx/templates/oscar/preferences.html:301 +msgid "" +"Note: specifying custom settings in the search URL can reduce privacy by " +"leaking data to the clicked result sites." +msgstr "" + +#: searx/templates/oscar/results.html:17 +msgid "Search results" +msgstr "Canlyniadau chwilio" + +#: searx/templates/oscar/results.html:21 +#: searx/templates/simple/results.html:84 +msgid "Try searching for:" +msgstr "Rho gynnig ar chwilio am:" + +#: searx/templates/oscar/results.html:100 +#: searx/templates/simple/results.html:25 +msgid "Engines cannot retrieve results" +msgstr "Ni all y peiriannau cael canlyniadau" + +#: searx/templates/oscar/results.html:131 +msgid "Links" +msgstr "Dolenni" + +#: searx/templates/oscar/search.html:8 +#: searx/templates/oscar/search_full.html:11 +#: searx/templates/simple/search.html:5 +msgid "Start search" +msgstr "Dechrau chwilio" + +#: searx/templates/oscar/stats.html:2 +msgid "stats" +msgstr "ystadegau" + +#: searx/templates/oscar/time-range.html:3 +#: searx/templates/simple/time-range.html:3 +msgid "Anytime" +msgstr "Unrhyw amser" + +#: searx/templates/oscar/time-range.html:6 +#: searx/templates/simple/time-range.html:6 +msgid "Last day" +msgstr "Y diwrnod diwethaf" + +#: searx/templates/oscar/time-range.html:9 +#: searx/templates/simple/time-range.html:9 +msgid "Last week" +msgstr "Yr wythnos diwethaf" + +#: searx/templates/oscar/time-range.html:12 +#: searx/templates/simple/time-range.html:12 +msgid "Last month" +msgstr "Y mis diwethaf" + +#: searx/templates/oscar/time-range.html:15 +#: searx/templates/simple/time-range.html:15 +msgid "Last year" +msgstr "Y flwyddyn ddiwethaf" + +#: searx/templates/oscar/messages/first_time.html:6 +#: searx/templates/oscar/messages/no_data_available.html:3 +msgid "Heads up!" +msgstr "" + +#: searx/templates/oscar/messages/first_time.html:7 +msgid "It look like you are using searx first time." +msgstr "Mae'n ymddangos eich bod yn defnyddio searx am y tro cyntaf." + +#: searx/templates/oscar/messages/no_cookies.html:3 +msgid "Information!" +msgstr "Gwybodaeth!" + +#: searx/templates/oscar/messages/no_cookies.html:4 +msgid "currently, there are no cookies defined." +msgstr "" + +#: searx/templates/oscar/messages/no_data_available.html:4 +msgid "There is currently no data available. " +msgstr "Does dim data ar gael ar hyn o bryd." + +#: searx/templates/oscar/messages/no_results.html:4 +#: searx/templates/simple/messages/no_results.html:4 +msgid "Engines cannot retrieve results." +msgstr "Ni all y peiriannau cael canlyniadau." + +#: searx/templates/oscar/messages/no_results.html:10 +#: searx/templates/simple/messages/no_results.html:10 +msgid "Please, try again later or find another searx instance." +msgstr "" + +#: searx/templates/oscar/messages/no_results.html:14 +#: searx/templates/simple/messages/no_results.html:14 +msgid "Sorry!" +msgstr "Sori!" + +#: searx/templates/oscar/messages/no_results.html:15 +#: searx/templates/simple/messages/no_results.html:15 +msgid "" +"we didn't find any results. Please use another query or search in more " +"categories." +msgstr "Ni ddaethpwyd o hyd i unrhyw ganlyniadau. Defnyddiwch derm(au) chwilio gwahanol neu ehangu'r chwilio i ragor o gategorïau." + +#: searx/templates/oscar/messages/save_settings_successfull.html:7 +msgid "Well done!" +msgstr "Da iawn!" + +#: searx/templates/oscar/messages/save_settings_successfull.html:8 +msgid "Settings saved successfully." +msgstr "Cadwyd y gosodiadau yn iawn!" + +#: searx/templates/oscar/messages/unknow_error.html:7 +msgid "Oh snap!" +msgstr "" + +#: searx/templates/oscar/messages/unknow_error.html:8 +msgid "Something went wrong." +msgstr "Aeth rhywbeth o'i le." + +#: searx/templates/oscar/result_templates/default.html:7 +#: searx/templates/simple/result_templates/default.html:6 +msgid "show media" +msgstr "dangos cyfryngau" + +#: searx/templates/oscar/result_templates/default.html:7 +#: searx/templates/simple/result_templates/default.html:6 +msgid "hide media" +msgstr "cuddio cyfryngau" + +#: searx/templates/oscar/result_templates/images.html:30 +msgid "Get image" +msgstr "Cael y ddelwedd" + +#: searx/templates/oscar/result_templates/images.html:33 +msgid "View source" +msgstr "Gweld y ffynhonnell" + +#: searx/templates/oscar/result_templates/map.html:7 +#: searx/templates/simple/result_templates/map.html:7 +msgid "show map" +msgstr "dangos map" + +#: searx/templates/oscar/result_templates/map.html:7 +#: searx/templates/simple/result_templates/map.html:7 +msgid "hide map" +msgstr "cuddio map" + +#: searx/templates/oscar/result_templates/map.html:11 +#: searx/templates/simple/result_templates/map.html:11 +msgid "show details" +msgstr "dangos manylion" + +#: searx/templates/oscar/result_templates/map.html:11 +#: searx/templates/simple/result_templates/map.html:11 +msgid "hide details" +msgstr "cuddio manylion" + +#: searx/templates/oscar/result_templates/torrent.html:7 +#: searx/templates/simple/result_templates/torrent.html:11 +msgid "Filesize" +msgstr "Maint ffeil" + +#: searx/templates/oscar/result_templates/torrent.html:9 +#: searx/templates/simple/result_templates/torrent.html:12 +msgid "Bytes" +msgstr "Beitiau" + +#: searx/templates/oscar/result_templates/torrent.html:10 +#: searx/templates/simple/result_templates/torrent.html:13 +msgid "kiB" +msgstr "kiB" + +#: searx/templates/oscar/result_templates/torrent.html:11 +#: searx/templates/simple/result_templates/torrent.html:14 +msgid "MiB" +msgstr "MiB" + +#: searx/templates/oscar/result_templates/torrent.html:12 +#: searx/templates/simple/result_templates/torrent.html:15 +msgid "GiB" +msgstr "GiB" + +#: searx/templates/oscar/result_templates/torrent.html:13 +#: searx/templates/simple/result_templates/torrent.html:16 +msgid "TiB" +msgstr "TiB" + +#: searx/templates/oscar/result_templates/torrent.html:15 +#: searx/templates/simple/result_templates/torrent.html:20 +msgid "Number of Files" +msgstr "Nifer o Ffeiliau" + +#: searx/templates/oscar/result_templates/videos.html:7 +#: searx/templates/simple/result_templates/videos.html:6 +msgid "show video" +msgstr "dangos fideo" + +#: searx/templates/oscar/result_templates/videos.html:7 +#: searx/templates/simple/result_templates/videos.html:6 +msgid "hide video" +msgstr "cuddio fideo" + +#: searx/templates/pix-art/results.html:28 +msgid "Load more..." +msgstr "Dysgu mwy..." + +#: searx/templates/simple/base.html:31 +msgid "No item found" +msgstr "Ni chanfuwyd eitem" + +#: searx/templates/simple/preferences.html:89 +msgid "Supports selected language" +msgstr "Cefnogir yr iaith a ddewiswyd" + +#: searx/templates/simple/preferences.html:118 +msgid "User interface" +msgstr "Rhyngwyneb defnyddiwr" + +#: searx/templates/simple/preferences.html:154 +msgid "Privacy" +msgstr "Preifatrwydd" diff --git a/searx/translations/da/LC_MESSAGES/messages.mo b/searx/translations/da/LC_MESSAGES/messages.mo index 21cea9ef7a..8813c0779a 100644 Binary files a/searx/translations/da/LC_MESSAGES/messages.mo and b/searx/translations/da/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/de/LC_MESSAGES/messages.mo b/searx/translations/de/LC_MESSAGES/messages.mo index d6458785db..a525fbf1e8 100644 Binary files a/searx/translations/de/LC_MESSAGES/messages.mo and b/searx/translations/de/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/de/LC_MESSAGES/messages.po b/searx/translations/de/LC_MESSAGES/messages.po index 2bf22911e6..64f253ebd9 100644 --- a/searx/translations/de/LC_MESSAGES/messages.po +++ b/searx/translations/de/LC_MESSAGES/messages.po @@ -12,6 +12,7 @@ # Max <theshirinzu@gmail.com>, 2015 # pointhi, 2014 # rike, 2014 +# S R <acc-transifex@rie.hm>, 2018 # stf <stefan.marsiske@gmail.com>, 2014 # stf <stefan.marsiske@gmail.com>, 2014 # Thomas Pointhuber, 2016-2017 @@ -21,8 +22,8 @@ msgstr "" "Project-Id-Version: searx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2017-11-01 21:31+0100\n" -"PO-Revision-Date: 2017-12-09 13:14+0000\n" -"Last-Translator: Mario Siegmann <mario_siegmann@web.de>\n" +"PO-Revision-Date: 2018-12-28 11:02+0000\n" +"Last-Translator: S R <acc-transifex@rie.hm>\n" "Language-Team: German (http://www.transifex.com/asciimoo/searx/language/de/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -159,25 +160,25 @@ msgstr "Keine Zusammenfassung für die Veröffentlichung verfügbar." #: searx/plugins/https_rewrite.py:32 msgid "Rewrite HTTP links to HTTPS if possible" -msgstr "Wandelt wenn möglich HTTP Links in HTTPS Links um" +msgstr "Wandelt wenn möglich HTTP-Links in HTTPS-Links um" #: searx/plugins/infinite_scroll.py:3 msgid "Infinite scroll" -msgstr "Undendliches Scrollen" +msgstr "Unendliches Scrollen" #: searx/plugins/infinite_scroll.py:4 msgid "Automatically load next page when scrolling to bottom of current page" -msgstr "Lädt automatisch die nächste Seite wenn das Ende der aktuellen Seite erreicht wurde" +msgstr "Lädt automatisch die nächste Seite, wenn das Ende der aktuellen Seite erreicht wurde" #: searx/plugins/oa_doi_rewrite.py:9 msgid "Open Access DOI rewrite" -msgstr "Open Access DOI rewrite" +msgstr "Open-Access-DOI umschreiben" #: searx/plugins/oa_doi_rewrite.py:10 msgid "" "Avoid paywalls by redirecting to open-access versions of publications when " "available" -msgstr "Bezahlbeschränkungen durch die Weiterleitung zu der verfügbaren Open-Access Version vermeiden" +msgstr "Bezahlbeschränkungen durch die Weiterleitung zu der verfügbaren Open-Access-Version vermeiden" #: searx/plugins/open_results_on_new_tab.py:18 #: searx/templates/oscar/preferences.html:114 @@ -223,7 +224,7 @@ msgstr "An Vim angelehnte Tastenkombinationen" msgid "" "Navigate search results with Vim-like hotkeys (JavaScript required). Press " "\"h\" key on main or result page to get help." -msgstr "Navigiere in der Ergebnisseite mit Vim ähnlichen Tastataurkombinationen (es wird JavaScript benötigt).\nDrücke \"h\" auf der Start bzw. Ergebnisseite um eine Hifefenster anzuzeigen" +msgstr "Navigiere in der Ergebnisseite mit Vim ähnlichen Tastaturkombinationen (es wird JavaScript benötigt).\nDrücke \"h\" auf der Start- bzw. Ergebnisseite, um ein Hifefenster anzuzeigen" #: searx/templates/courgette/404.html:4 searx/templates/legacy/404.html:4 #: searx/templates/oscar/404.html:4 searx/templates/pix-art/404.html:4 diff --git a/searx/translations/el_GR/LC_MESSAGES/messages.mo b/searx/translations/el_GR/LC_MESSAGES/messages.mo index c9798d318b..2bc6a57a37 100644 Binary files a/searx/translations/el_GR/LC_MESSAGES/messages.mo and b/searx/translations/el_GR/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/en/LC_MESSAGES/messages.mo b/searx/translations/en/LC_MESSAGES/messages.mo index 9632e6ca50..0c270c06dd 100644 Binary files a/searx/translations/en/LC_MESSAGES/messages.mo and b/searx/translations/en/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/eo/LC_MESSAGES/messages.mo b/searx/translations/eo/LC_MESSAGES/messages.mo index cb0bc55702..cfad4d49ed 100644 Binary files a/searx/translations/eo/LC_MESSAGES/messages.mo and b/searx/translations/eo/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/eo/LC_MESSAGES/messages.po b/searx/translations/eo/LC_MESSAGES/messages.po index de31c9a4bf..cd7ffe80eb 100644 --- a/searx/translations/eo/LC_MESSAGES/messages.po +++ b/searx/translations/eo/LC_MESSAGES/messages.po @@ -6,13 +6,14 @@ # Jack Stehn <jaxadeo@gmail.com>, 2017 # juanda097 <juanda097@protonmail.ch>, 2015-2016 # pizzaiolo, 2016 +# Václav Zouzalík <Vaclav.Zouzalik@seznam.cz>, 2018 msgid "" msgstr "" "Project-Id-Version: searx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2017-11-01 21:31+0100\n" -"PO-Revision-Date: 2017-11-01 20:31+0000\n" -"Last-Translator: Adam Tauber <asciimoo@gmail.com>\n" +"PO-Revision-Date: 2018-11-22 08:33+0000\n" +"Last-Translator: Václav Zouzalík <Vaclav.Zouzalik@seznam.cz>\n" "Language-Team: Esperanto (http://www.transifex.com/asciimoo/searx/language/eo/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -23,15 +24,15 @@ msgstr "" #: searx/search.py:137 searx/search.py:182 msgid "timeout" -msgstr "" +msgstr "tempolimo" #: searx/search.py:144 msgid "request exception" -msgstr "" +msgstr "escepto de peto" #: searx/search.py:151 msgid "unexpected crash" -msgstr "" +msgstr "neatendita paneo" #: searx/webapp.py:136 msgid "files" @@ -47,7 +48,7 @@ msgstr "muziko" #: searx/webapp.py:139 msgid "social media" -msgstr "sociaj retservoj" +msgstr "sociaj retoj" #: searx/webapp.py:140 msgid "images" @@ -75,11 +76,11 @@ msgstr "scienco" #: searx/webapp.py:399 searx/webapp.py:658 msgid "Invalid settings, please edit your preferences" -msgstr "" +msgstr "Nevalidaj agordoj, bonvolu redakti viajn agordojn" #: searx/webapp.py:415 msgid "Invalid settings" -msgstr "" +msgstr "Nevalidaj agordoj" #: searx/webapp.py:449 searx/webapp.py:493 msgid "search error" @@ -95,23 +96,23 @@ msgstr "antaŭ {hours} horo(j), {minutes} minuto(j)" #: searx/answerers/random/answerer.py:53 msgid "Random value generator" -msgstr "" +msgstr "Hazardvalora generilo" #: searx/answerers/random/answerer.py:54 msgid "Generate different random values" -msgstr "" +msgstr "Ĝi generas diversajn hazardajn valorojn" #: searx/answerers/statistics/answerer.py:53 msgid "Statistics functions" -msgstr "" +msgstr "Statistikaj funkcioj" #: searx/answerers/statistics/answerer.py:54 msgid "Compute {functions} of the arguments" -msgstr "" +msgstr "Kalkulas {functions} el la argumentoj" #: searx/engines/__init__.py:194 searx/engines/flycheck___init__.py:201 msgid "Engine time (sec)" -msgstr "" +msgstr "Motora tempo (s)" #: searx/engines/__init__.py:198 searx/engines/flycheck___init__.py:205 msgid "Page loads (sec)" @@ -137,19 +138,19 @@ msgstr "Eraroj" #: searx/engines/pdbe.py:87 msgid "{title}&nbsp;(OBSOLETE)" -msgstr "" +msgstr "{title}&nbsp;(MALNOVA)" #: searx/engines/pdbe.py:91 msgid "This entry has been superseded by" -msgstr "" +msgstr "Tiu ĉi enigo estis anstataŭigita per" #: searx/engines/pubmed.py:74 msgid "No abstract is available for this publication." -msgstr "" +msgstr "Neniu resumo atingeblas por tiu ĉi eldonaĵo." #: searx/plugins/https_rewrite.py:32 msgid "Rewrite HTTP links to HTTPS if possible" -msgstr "Reverki HTTP ligiloj HTTP se eble" +msgstr "Ŝanĝi HTTP-ligilojn al HTTPS, se eblas" #: searx/plugins/infinite_scroll.py:3 msgid "Infinite scroll" @@ -157,17 +158,17 @@ msgstr "Senfina rulumado" #: searx/plugins/infinite_scroll.py:4 msgid "Automatically load next page when scrolling to bottom of current page" -msgstr "Aŭtomate ŝarĝi la sekvan paĝon kiam rulumante al la subo de la nuna paĝo" +msgstr "Aŭtomate ŝarĝi sekvan paĝon rulumante al la subo de la nuna paĝo" #: searx/plugins/oa_doi_rewrite.py:9 msgid "Open Access DOI rewrite" -msgstr "" +msgstr "Malfermalira COI-ŝanĝo" #: searx/plugins/oa_doi_rewrite.py:10 msgid "" "Avoid paywalls by redirecting to open-access versions of publications when " "available" -msgstr "Eviti pagomurojn alidirektante al liberaj versioj de eldonaĵoj kiam eblas" +msgstr "Eviti pagomurojn per direkto al malfermaliraj versioj de eldonaĵoj, se eblas" #: searx/plugins/open_results_on_new_tab.py:18 #: searx/templates/oscar/preferences.html:114 @@ -179,7 +180,7 @@ msgstr "Malfermi rezultligilojn en novaj retumilaj langetoj" msgid "" "Results are opened in the same window by default. This plugin overwrites the" " default behaviour to open links on new tabs/windows. (JavaScript required)" -msgstr "Oni malfermas rezultojn en la sama langeto defaŭlte. Ĉi tiu aldonaĵo ŝanĝas la kutima agmaniero por malfermi ligilojn en novaj langetoj/fenestroj. (ĜavaSkripto bezonata)" +msgstr "Oni malfermas rezultojn en la sama langeto defaŭlte. Ĉi tiu aldonaĵo ŝanĝas la kutiman agmanieron por malfermi ligilojn en novaj langetoj/fenestroj. (ĜavoSkripto bezonata)" #: searx/plugins/search_on_category_select.py:18 msgid "Search on category select" @@ -189,7 +190,7 @@ msgstr "Serĉi en elektita kategorio" msgid "" "Perform search immediately if a category selected. Disable to select " "multiple categories. (JavaScript required)" -msgstr "Serĉi tuj se oni elektas kategorion. Malŝaltu ĝin por elekti plurajn kategoriojn (ĜavaSkripto bezonata)" +msgstr "Serĉi tuj se oni elektas kategorion. Malŝaltu ĝin por elekti plurajn kategoriojn (ĜavoSkripto bezonata)" #: searx/plugins/self_info.py:20 msgid "" @@ -203,7 +204,7 @@ msgstr "Forigilo de URL-spuriloj" #: searx/plugins/tracker_url_remover.py:27 msgid "Remove trackers arguments from the returned URL" -msgstr "Forviŝi spuraj esprimoj de la URL" +msgstr "Forviŝi spurajn argumentojn el la ricevita URL" #: searx/plugins/vim_hotkeys.py:3 msgid "Vim-like hotkeys" @@ -213,7 +214,7 @@ msgstr "Vim-ŝajnaj klavkomandoj" msgid "" "Navigate search results with Vim-like hotkeys (JavaScript required). Press " "\"h\" key on main or result page to get help." -msgstr "Tranavigi serĉrezultojn per Vim-ŝajnaj klavkomandoj (ĜavaSkripto bezonata). Premu \"h\" por helptekstaro en rezultpaĝo." +msgstr "Tranavigi serĉrezultojn per Vim-ŝajnaj klavkomandoj (ĜavoSkripto bezonata). Premu \"h\" por helptekstaro en ĉef- aŭ rezultpaĝo." #: searx/templates/courgette/404.html:4 searx/templates/legacy/404.html:4 #: searx/templates/oscar/404.html:4 searx/templates/pix-art/404.html:4 @@ -242,7 +243,7 @@ msgstr "Serĉopaĝo" #: searx/templates/oscar/preferences.html:3 #: searx/templates/pix-art/index.html:8 msgid "preferences" -msgstr "preferoj" +msgstr "agordoj" #: searx/templates/courgette/index.html:11 #: searx/templates/legacy/index.html:10 searx/templates/oscar/about.html:2 @@ -256,7 +257,7 @@ msgstr "pri" #: searx/templates/pix-art/preferences.html:5 #: searx/templates/simple/preferences.html:26 msgid "Preferences" -msgstr "Preferoj" +msgstr "Agordoj" #: searx/templates/courgette/preferences.html:9 #: searx/templates/legacy/preferences.html:9 @@ -282,7 +283,7 @@ msgstr "Serĉolingvo" #: searx/templates/simple/languages.html:2 #: searx/templates/simple/preferences.html:42 msgid "Default language" -msgstr "" +msgstr "Defaŭlta lingvo" #: searx/templates/courgette/preferences.html:24 #: searx/templates/legacy/preferences.html:25 @@ -400,7 +401,7 @@ msgstr "Ruĝa" #: searx/templates/pix-art/preferences.html:49 #: searx/templates/simple/preferences.html:77 msgid "Currently used search engines" -msgstr " Aktuale uzitajn serĉilojn" +msgstr " Aktuale uzataj serĉiloj" #: searx/templates/courgette/preferences.html:100 #: searx/templates/legacy/preferences.html:97 @@ -445,7 +446,7 @@ msgstr "Bloki" msgid "" "These settings are stored in your cookies, this allows us not to store this " "data about you." -msgstr "Tiuj agordoj estas konservitaj en viaj kuketoj kaj tio eblas, ke ni ne konservu tiujn datumojn pri vi." +msgstr "Tiuj ĉi agordoj estas konservitaj en viaj kuketoj, kio ebligas al ni ne konservi tiujn datumojn pri vi en nia servilo." #: searx/templates/courgette/preferences.html:124 #: searx/templates/legacy/preferences.html:121 @@ -478,7 +479,7 @@ msgstr "Reagordi al defaŭlto" #: searx/templates/pix-art/preferences.html:79 #: searx/templates/simple/preferences.html:187 msgid "back" -msgstr "antaŭe" +msgstr "antaŭen" #: searx/templates/courgette/results.html:12 #: searx/templates/legacy/results.html:13 @@ -492,7 +493,7 @@ msgstr "Serĉi URL" #: searx/templates/oscar/results.html:141 #: searx/templates/simple/results.html:62 msgid "Download results" -msgstr "Alŝutaj rezultoj" +msgstr "Elŝuti rezultojn" #: searx/templates/courgette/results.html:34 #: searx/templates/legacy/results.html:35 @@ -519,7 +520,7 @@ msgstr " antaŭa paĝo" #: searx/templates/oscar/results.html:62 searx/templates/oscar/results.html:84 #: searx/templates/simple/results.html:145 msgid "next page" -msgstr " sekvanta paĝo" +msgstr " sekva paĝo" #: searx/templates/courgette/search.html:3 #: searx/templates/legacy/search.html:3 searx/templates/oscar/search.html:6 @@ -615,11 +616,11 @@ msgstr "Fermi" #: searx/templates/simple/messages/no_results.html:4 #: searx/templates/simple/results.html:25 msgid "Error!" -msgstr "" +msgstr "Eraro!" #: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 msgid "Powered by" -msgstr "Funkciigita de" +msgstr "Funkciigita per" #: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 msgid "a privacy-respecting, hackable metasearch engine" @@ -628,15 +629,15 @@ msgstr "kodumebla metaserĉilo kiu respektas vian privatecon" #: searx/templates/oscar/macros.html:36 searx/templates/oscar/macros.html:50 #: searx/templates/simple/macros.html:43 msgid "proxied" -msgstr "" +msgstr "prokurata" #: searx/templates/oscar/macros.html:92 msgid "supported" -msgstr "" +msgstr "subtenata" #: searx/templates/oscar/macros.html:96 msgid "not supported" -msgstr "" +msgstr "nesubtenata" #: searx/templates/oscar/preferences.html:13 #: searx/templates/oscar/preferences.html:22 @@ -658,7 +659,7 @@ msgstr "Aldonaĵoj" #: searx/templates/oscar/preferences.html:16 #: searx/templates/oscar/preferences.html:245 msgid "Answerers" -msgstr "" +msgstr "Respondiloj" #: searx/templates/oscar/preferences.html:17 #: searx/templates/oscar/preferences.html:272 @@ -673,7 +674,7 @@ msgstr "Kiun lingvon vi pli ŝatas por serĉi?" #: searx/templates/oscar/preferences.html:48 #: searx/templates/simple/preferences.html:128 msgid "Change the language of the layout" -msgstr "Ŝanĝi la fasonadan lingvon" +msgstr "Ŝanĝi lingvon de la fasono" #: searx/templates/oscar/preferences.html:58 #: searx/templates/simple/preferences.html:60 @@ -690,7 +691,7 @@ msgid "" "Change how forms are submited, <a " "href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\"" " rel=\"external\">learn more about request methods</a>" -msgstr " Ŝanĝi kiel formoj estas senditaj, < href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\" rel=\"external\"> Lerni pli pri peto-metodoj</> " +msgstr "Ŝanĝi kiel formoj estas sendataj, <a href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\" rel=\"external\">sciu pli pri peto-metodoj</a> " #: searx/templates/oscar/preferences.html:87 #: searx/templates/simple/preferences.html:71 @@ -700,7 +701,7 @@ msgstr "Filtri enhavon" #: searx/templates/oscar/preferences.html:97 #: searx/templates/simple/preferences.html:139 msgid "Change searx layout" -msgstr "Ŝanĝi searx-fasonadon" +msgstr "Ŝanĝi fasonon de Searx" #: searx/templates/oscar/preferences.html:106 #: searx/templates/oscar/preferences.html:111 @@ -714,13 +715,13 @@ msgstr "Stilo" #: searx/templates/oscar/preferences.html:122 msgid "Open Access DOI resolver" -msgstr "" +msgstr "Malfermalira COI-solvilo" #: searx/templates/oscar/preferences.html:123 msgid "" "Redirect to open-access versions of publications when available (plugin " "required)" -msgstr "" +msgstr "Direkti al malfermaliraj versioj de eldonaĵoj, se eblas (aldonaĵo necesas)" #: searx/templates/oscar/preferences.html:163 #: searx/templates/oscar/preferences.html:175 @@ -731,13 +732,13 @@ msgstr "Fulmoklavo" #: searx/templates/oscar/preferences.html:164 #: searx/templates/oscar/preferences.html:174 msgid "Selected language" -msgstr "" +msgstr "Elekti lingvon" #: searx/templates/oscar/preferences.html:166 #: searx/templates/oscar/preferences.html:172 #: searx/templates/simple/preferences.html:91 msgid "Time range" -msgstr "" +msgstr "Tempa intervalo" #: searx/templates/oscar/preferences.html:167 #: searx/templates/oscar/preferences.html:171 @@ -753,29 +754,29 @@ msgstr "Maksimuma tempo" #: searx/templates/oscar/preferences.html:248 msgid "This is the list of searx's instant answering modules." -msgstr "" +msgstr "Tio ĉi estas listo de tuje respondantaj moduloj de Searx." #: searx/templates/oscar/preferences.html:252 msgid "Name" -msgstr "" +msgstr "Nomo" #: searx/templates/oscar/preferences.html:253 msgid "Keywords" -msgstr "" +msgstr "Ŝlosilvortoj" #: searx/templates/oscar/preferences.html:254 msgid "Description" -msgstr "" +msgstr "Priskribo" #: searx/templates/oscar/preferences.html:255 msgid "Examples" -msgstr "" +msgstr "Ekzemploj" #: searx/templates/oscar/preferences.html:275 msgid "" "This is the list of cookies and their values searx is storing on your " "computer." -msgstr "Ĉi tiu estas la listo de kuketoj kaj siaj valoroj, kiujn searx konservas en via komputilo." +msgstr "Ĉi tio estas listo de kuketoj kaj iliaj valoroj, kiujn searx konservas en via komputilo." #: searx/templates/oscar/preferences.html:276 msgid "With that list, you can assess searx transparency." @@ -791,13 +792,13 @@ msgstr "Valoro" #: searx/templates/oscar/preferences.html:301 msgid "Search URL of the currently saved preferences" -msgstr "" +msgstr "Serĉo-URL kun aktuale konservitaj agordoj" #: searx/templates/oscar/preferences.html:301 msgid "" "Note: specifying custom settings in the search URL can reduce privacy by " "leaking data to the clicked result sites." -msgstr "" +msgstr "Rimarko: Precizigo de propraj agordoj en la serĉo-URL povas malaltigi privatecon per nevola diskonigo de la datumoj al alklikantaj retejoj." #: searx/templates/oscar/results.html:17 msgid "Search results" @@ -806,12 +807,12 @@ msgstr "Serĉrezultoj" #: searx/templates/oscar/results.html:21 #: searx/templates/simple/results.html:84 msgid "Try searching for:" -msgstr "" +msgstr "Provu serĉi:" #: searx/templates/oscar/results.html:100 #: searx/templates/simple/results.html:25 msgid "Engines cannot retrieve results" -msgstr "" +msgstr "Motoroj ne povas trovi rezultojn" #: searx/templates/oscar/results.html:131 msgid "Links" @@ -830,7 +831,7 @@ msgstr "statistikoj" #: searx/templates/oscar/time-range.html:3 #: searx/templates/simple/time-range.html:3 msgid "Anytime" -msgstr "Ie" +msgstr "Iam ajn" #: searx/templates/oscar/time-range.html:6 #: searx/templates/simple/time-range.html:6 @@ -850,7 +851,7 @@ msgstr "Pasinta monato" #: searx/templates/oscar/time-range.html:15 #: searx/templates/simple/time-range.html:15 msgid "Last year" -msgstr "" +msgstr "Pasinta jaro" #: searx/templates/oscar/messages/first_time.html:6 #: searx/templates/oscar/messages/no_data_available.html:3 @@ -859,7 +860,7 @@ msgstr "Atentu!" #: searx/templates/oscar/messages/first_time.html:7 msgid "It look like you are using searx first time." -msgstr "Ŝajnas, ke ĉi tiu estas via unua fojo uzante searx" +msgstr "Ŝajnas, ke ĉi tio estas via unua fojo, kiam vi uzas searx." #: searx/templates/oscar/messages/no_cookies.html:3 msgid "Information!" @@ -867,7 +868,7 @@ msgstr "Informoj!" #: searx/templates/oscar/messages/no_cookies.html:4 msgid "currently, there are no cookies defined." -msgstr "ĉi-momente, ne estas kuketoj difinitaj." +msgstr "nun ne estas ajnaj kuketoj difinitaj." #: searx/templates/oscar/messages/no_data_available.html:4 msgid "There is currently no data available. " @@ -876,17 +877,17 @@ msgstr "Nun ne estas datumoj disponeblaj." #: searx/templates/oscar/messages/no_results.html:4 #: searx/templates/simple/messages/no_results.html:4 msgid "Engines cannot retrieve results." -msgstr "" +msgstr "Motoroj ne povas trovi rezultojn." #: searx/templates/oscar/messages/no_results.html:10 #: searx/templates/simple/messages/no_results.html:10 msgid "Please, try again later or find another searx instance." -msgstr "" +msgstr "Bonvolu provi ĝin poste aŭ trovi aliajn searx-instancon." #: searx/templates/oscar/messages/no_results.html:14 #: searx/templates/simple/messages/no_results.html:14 msgid "Sorry!" -msgstr "Mizera!" +msgstr "Pardonu!" #: searx/templates/oscar/messages/no_results.html:15 #: searx/templates/simple/messages/no_results.html:15 @@ -952,7 +953,7 @@ msgstr "kaŝi detalojn" #: searx/templates/oscar/result_templates/torrent.html:7 #: searx/templates/simple/result_templates/torrent.html:11 msgid "Filesize" -msgstr "Dosiergrando" +msgstr "Dosiergrandeco" #: searx/templates/oscar/result_templates/torrent.html:9 #: searx/templates/simple/result_templates/torrent.html:12 @@ -1000,16 +1001,16 @@ msgstr "Ŝarĝi pli..." #: searx/templates/simple/base.html:31 msgid "No item found" -msgstr "" +msgstr "Nenio trovita" #: searx/templates/simple/preferences.html:89 msgid "Supports selected language" -msgstr "" +msgstr "Subtenas elektitan lingvon" #: searx/templates/simple/preferences.html:118 msgid "User interface" -msgstr "" +msgstr "Fasado" #: searx/templates/simple/preferences.html:154 msgid "Privacy" -msgstr "" +msgstr "Privateco" diff --git a/searx/translations/es/LC_MESSAGES/messages.mo b/searx/translations/es/LC_MESSAGES/messages.mo index c8c08316e9..358cce8cbd 100644 Binary files a/searx/translations/es/LC_MESSAGES/messages.mo and b/searx/translations/es/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/eu/LC_MESSAGES/messages.mo b/searx/translations/eu/LC_MESSAGES/messages.mo new file mode 100644 index 0000000000..db58fdc84a Binary files /dev/null and b/searx/translations/eu/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/eu/LC_MESSAGES/messages.po b/searx/translations/eu/LC_MESSAGES/messages.po new file mode 100644 index 0000000000..b6fa194e10 --- /dev/null +++ b/searx/translations/eu/LC_MESSAGES/messages.po @@ -0,0 +1,1015 @@ +# Translations template for PROJECT. +# Copyright (C) 2017 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# +# Translators: +# beriain <beriain@bitmessage.ch>, 2018 +# beriain <beriain@bitmessage.ch>, 2018 +# Txopi <txopi@ikusimakusi.eus>, 2016 +msgid "" +msgstr "" +"Project-Id-Version: searx\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2017-11-01 21:31+0100\n" +"PO-Revision-Date: 2018-11-06 16:39+0000\n" +"Last-Translator: beriain <beriain@bitmessage.ch>\n" +"Language-Team: Basque (http://www.transifex.com/asciimoo/searx/language/eu/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.3.4\n" +"Language: eu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: searx/search.py:137 searx/search.py:182 +msgid "timeout" +msgstr "denbora agortzea" + +#: searx/search.py:144 +msgid "request exception" +msgstr "salbuespena eskaeran" + +#: searx/search.py:151 +msgid "unexpected crash" +msgstr "ustekabeko gelditzea" + +#: searx/webapp.py:136 +msgid "files" +msgstr "fitxategiak" + +#: searx/webapp.py:137 +msgid "general" +msgstr "orokorra" + +#: searx/webapp.py:138 +msgid "music" +msgstr "musika" + +#: searx/webapp.py:139 +msgid "social media" +msgstr "multimedia soziala" + +#: searx/webapp.py:140 +msgid "images" +msgstr "irudiak" + +#: searx/webapp.py:141 +msgid "videos" +msgstr "bideoak" + +#: searx/webapp.py:142 +msgid "it" +msgstr "it" + +#: searx/webapp.py:143 +msgid "news" +msgstr "berriak" + +#: searx/webapp.py:144 +msgid "map" +msgstr "mapa" + +#: searx/webapp.py:145 +msgid "science" +msgstr "zientzia" + +#: searx/webapp.py:399 searx/webapp.py:658 +msgid "Invalid settings, please edit your preferences" +msgstr "Ezarpen ez baliodunak, mesedez editatu zure hobespenak" + +#: searx/webapp.py:415 +msgid "Invalid settings" +msgstr "Ezarpen ez baliodunak" + +#: searx/webapp.py:449 searx/webapp.py:493 +msgid "search error" +msgstr "bilaketa akatsa" + +#: searx/webapp.py:530 +msgid "{minutes} minute(s) ago" +msgstr "duela {minutes} minutu" + +#: searx/webapp.py:532 +msgid "{hours} hour(s), {minutes} minute(s) ago" +msgstr "duela {hours} ordu eta {minutes} minutu" + +#: searx/answerers/random/answerer.py:53 +msgid "Random value generator" +msgstr "Ausazko balio sortzailea" + +#: searx/answerers/random/answerer.py:54 +msgid "Generate different random values" +msgstr "Ausazko balio ezberdinak sortu" + +#: searx/answerers/statistics/answerer.py:53 +msgid "Statistics functions" +msgstr "Funtzio estatistikoak" + +#: searx/answerers/statistics/answerer.py:54 +msgid "Compute {functions} of the arguments" +msgstr "Parametroen {functions} zenbatu" + +#: searx/engines/__init__.py:194 searx/engines/flycheck___init__.py:201 +msgid "Engine time (sec)" +msgstr "Bilatzailearen denbora (seg)" + +#: searx/engines/__init__.py:198 searx/engines/flycheck___init__.py:205 +msgid "Page loads (sec)" +msgstr "Orri kargak (seg)" + +#: searx/engines/__init__.py:202 searx/engines/flycheck___init__.py:209 +#: searx/templates/oscar/results.html:95 +#: searx/templates/simple/results.html:20 +msgid "Number of results" +msgstr "Emaitza kopurua" + +#: searx/engines/__init__.py:206 searx/engines/flycheck___init__.py:213 +msgid "Scores" +msgstr "Balorazioak" + +#: searx/engines/__init__.py:210 searx/engines/flycheck___init__.py:217 +msgid "Scores per result" +msgstr "Balorazioak emaitza bakoitzeko" + +#: searx/engines/__init__.py:214 searx/engines/flycheck___init__.py:221 +msgid "Errors" +msgstr "Erroreak" + +#: searx/engines/pdbe.py:87 +msgid "{title}&nbsp;(OBSOLETE)" +msgstr "{title}&nbsp;(ZAHARKITUA)" + +#: searx/engines/pdbe.py:91 +msgid "This entry has been superseded by" +msgstr "Sarrera hau hurrengoarekin ordezkatu da" + +#: searx/engines/pubmed.py:74 +msgid "No abstract is available for this publication." +msgstr "Ez dago abstrakturik eskuragarri argitalpen honetarako." + +#: searx/plugins/https_rewrite.py:32 +msgid "Rewrite HTTP links to HTTPS if possible" +msgstr "HTTP loturak HTTPS bihurtu ahal denean" + +#: searx/plugins/infinite_scroll.py:3 +msgid "Infinite scroll" +msgstr "Korritze amaigabea" + +#: searx/plugins/infinite_scroll.py:4 +msgid "Automatically load next page when scrolling to bottom of current page" +msgstr "Hurrengo orria automatikoki kargatu uneko orriaren behekaldera mugitzerakoan" + +#: searx/plugins/oa_doi_rewrite.py:9 +msgid "Open Access DOI rewrite" +msgstr "Berridatzi Open Access DOI" + +#: searx/plugins/oa_doi_rewrite.py:10 +msgid "" +"Avoid paywalls by redirecting to open-access versions of publications when " +"available" +msgstr "Ordainketa hormak sahiestu argitalpenen sartze-askeko bertsioetara berbidaliz ahal denean" + +#: searx/plugins/open_results_on_new_tab.py:18 +#: searx/templates/oscar/preferences.html:114 +#: searx/templates/simple/preferences.html:149 +msgid "Open result links on new browser tabs" +msgstr "Emaitzen estekak nabigatzailearen fitxa berrietan ireki" + +#: searx/plugins/open_results_on_new_tab.py:19 +msgid "" +"Results are opened in the same window by default. This plugin overwrites the" +" default behaviour to open links on new tabs/windows. (JavaScript required)" +msgstr "Emaitzak leiho berdinean irekitzen dira lehenetsi bezala. Plugin honek lehenetsitako jokabidea aldatzen du estekak fitxa/leiho berrietan irekitzeko. (JavaScript behar du)" + +#: searx/plugins/search_on_category_select.py:18 +msgid "Search on category select" +msgstr "Bilatu kategoria hautatzerakoan" + +#: searx/plugins/search_on_category_select.py:19 +msgid "" +"Perform search immediately if a category selected. Disable to select " +"multiple categories. (JavaScript required)" +msgstr "Bilaketa egin kategoria hautatu bezain laster. Ezgaitu ezazu hainbat kategoria hautatu ahal izateko. (JavaScript behar du)" + +#: searx/plugins/self_info.py:20 +msgid "" +"Displays your IP if the query is \"ip\" and your user agent if the query " +"contains \"user agent\"." +msgstr "Zure IPa erakutsi bilatutakoa \"ip\" bada eta zure user agenta bilatutakoa \"user agent\" bada." + +#: searx/plugins/tracker_url_remover.py:26 +msgid "Tracker URL remover" +msgstr "URL aztarnariak kendu" + +#: searx/plugins/tracker_url_remover.py:27 +msgid "Remove trackers arguments from the returned URL" +msgstr "Aztarnarien argumentuak kendu itzulitako URLtik" + +#: searx/plugins/vim_hotkeys.py:3 +msgid "Vim-like hotkeys" +msgstr "Vim antzeko laster-teklak" + +#: searx/plugins/vim_hotkeys.py:4 +msgid "" +"Navigate search results with Vim-like hotkeys (JavaScript required). Press " +"\"h\" key on main or result page to get help." +msgstr "Emaitzetan zehar Vim bezalako tekla azkarrekin nabigatu (JavaScript behar du). Sakatu \"h\" tekla orri nagusian edo emaitzen orrian laguntza ikusteko." + +#: searx/templates/courgette/404.html:4 searx/templates/legacy/404.html:4 +#: searx/templates/oscar/404.html:4 searx/templates/pix-art/404.html:4 +#: searx/templates/simple/404.html:4 +msgid "Page not found" +msgstr "Orria ez da aurkitu" + +#: searx/templates/courgette/404.html:6 searx/templates/legacy/404.html:6 +#: searx/templates/oscar/404.html:6 searx/templates/pix-art/404.html:6 +#: searx/templates/simple/404.html:6 +#, python-format +msgid "Go to %(search_page)s." +msgstr "%(search_page)s(e)ra joan." + +#: searx/templates/courgette/404.html:6 searx/templates/legacy/404.html:6 +#: searx/templates/oscar/404.html:6 searx/templates/pix-art/404.html:6 +#: searx/templates/simple/404.html:6 +msgid "search page" +msgstr "bilaketa orria" + +#: searx/templates/courgette/index.html:9 +#: searx/templates/courgette/index.html:13 +#: searx/templates/courgette/results.html:5 +#: searx/templates/legacy/index.html:8 searx/templates/legacy/index.html:12 +#: searx/templates/oscar/navbar.html:7 +#: searx/templates/oscar/preferences.html:3 +#: searx/templates/pix-art/index.html:8 +msgid "preferences" +msgstr "hobespenak" + +#: searx/templates/courgette/index.html:11 +#: searx/templates/legacy/index.html:10 searx/templates/oscar/about.html:2 +#: searx/templates/oscar/navbar.html:6 searx/templates/pix-art/index.html:7 +msgid "about" +msgstr "honi buruz" + +#: searx/templates/courgette/preferences.html:5 +#: searx/templates/legacy/preferences.html:5 +#: searx/templates/oscar/preferences.html:8 +#: searx/templates/pix-art/preferences.html:5 +#: searx/templates/simple/preferences.html:26 +msgid "Preferences" +msgstr "Hobespenak" + +#: searx/templates/courgette/preferences.html:9 +#: searx/templates/legacy/preferences.html:9 +#: searx/templates/oscar/preferences.html:33 +#: searx/templates/oscar/preferences.html:35 +#: searx/templates/simple/preferences.html:34 +msgid "Default categories" +msgstr "Lehenetsitako kategoriak" + +#: searx/templates/courgette/preferences.html:13 +#: searx/templates/legacy/preferences.html:14 +#: searx/templates/oscar/preferences.html:41 +#: searx/templates/pix-art/preferences.html:9 +#: searx/templates/simple/preferences.html:39 +#: searx/templates/simple/preferences.html:163 +msgid "Search language" +msgstr "Bilaketaren hizkuntza" + +#: searx/templates/courgette/preferences.html:16 +#: searx/templates/legacy/preferences.html:17 +#: searx/templates/oscar/languages.html:6 +#: searx/templates/pix-art/preferences.html:12 +#: searx/templates/simple/languages.html:2 +#: searx/templates/simple/preferences.html:42 +msgid "Default language" +msgstr "Lehenetsitako hizkuntza" + +#: searx/templates/courgette/preferences.html:24 +#: searx/templates/legacy/preferences.html:25 +#: searx/templates/oscar/preferences.html:47 +#: searx/templates/pix-art/preferences.html:20 +#: searx/templates/simple/preferences.html:120 +msgid "Interface language" +msgstr "Interfazearen hizkuntza" + +#: searx/templates/courgette/preferences.html:34 +#: searx/templates/legacy/preferences.html:35 +#: searx/templates/oscar/preferences.html:57 +#: searx/templates/simple/preferences.html:51 +msgid "Autocomplete" +msgstr "Osatze automatikoa" + +#: searx/templates/courgette/preferences.html:45 +#: searx/templates/legacy/preferences.html:46 +#: searx/templates/oscar/preferences.html:68 +#: searx/templates/simple/preferences.html:166 +msgid "Image proxy" +msgstr "Irudietarako proxya" + +#: searx/templates/courgette/preferences.html:48 +#: searx/templates/legacy/preferences.html:49 +#: searx/templates/oscar/preferences.html:72 +#: searx/templates/simple/preferences.html:169 +msgid "Enabled" +msgstr "Gaituta" + +#: searx/templates/courgette/preferences.html:49 +#: searx/templates/legacy/preferences.html:50 +#: searx/templates/oscar/preferences.html:73 +#: searx/templates/simple/preferences.html:170 +msgid "Disabled" +msgstr "Desgaituta" + +#: searx/templates/courgette/preferences.html:54 +#: searx/templates/legacy/preferences.html:55 +#: searx/templates/oscar/preferences.html:77 +#: searx/templates/pix-art/preferences.html:30 +#: searx/templates/simple/preferences.html:156 +msgid "Method" +msgstr "Metodoa" + +#: searx/templates/courgette/preferences.html:63 +#: searx/templates/legacy/preferences.html:64 +#: searx/templates/oscar/preferences.html:86 +#: searx/templates/oscar/preferences.html:165 +#: searx/templates/oscar/preferences.html:173 +#: searx/templates/simple/preferences.html:63 +#: searx/templates/simple/preferences.html:90 +msgid "SafeSearch" +msgstr "Bilaketa segurua" + +#: searx/templates/courgette/preferences.html:66 +#: searx/templates/legacy/preferences.html:67 +#: searx/templates/oscar/preferences.html:90 +#: searx/templates/simple/preferences.html:66 +msgid "Strict" +msgstr "Zorrotza" + +#: searx/templates/courgette/preferences.html:67 +#: searx/templates/legacy/preferences.html:68 +#: searx/templates/oscar/preferences.html:91 +#: searx/templates/simple/preferences.html:67 +msgid "Moderate" +msgstr "Moderatua" + +#: searx/templates/courgette/preferences.html:68 +#: searx/templates/legacy/preferences.html:69 +#: searx/templates/oscar/preferences.html:92 +#: searx/templates/simple/preferences.html:68 +msgid "None" +msgstr "Bat ere ez" + +#: searx/templates/courgette/preferences.html:73 +#: searx/templates/legacy/preferences.html:74 +#: searx/templates/oscar/preferences.html:96 +#: searx/templates/pix-art/preferences.html:39 +#: searx/templates/simple/preferences.html:131 +msgid "Themes" +msgstr "Itxurak" + +#: searx/templates/courgette/preferences.html:83 +msgid "Color" +msgstr "Kolorea" + +#: searx/templates/courgette/preferences.html:86 +msgid "Blue (default)" +msgstr "Urdina (lehenetsia)" + +#: searx/templates/courgette/preferences.html:87 +msgid "Violet" +msgstr "Bioleta" + +#: searx/templates/courgette/preferences.html:88 +msgid "Green" +msgstr "Berdea" + +#: searx/templates/courgette/preferences.html:89 +msgid "Cyan" +msgstr "Zian" + +#: searx/templates/courgette/preferences.html:90 +msgid "Orange" +msgstr "Laranja" + +#: searx/templates/courgette/preferences.html:91 +msgid "Red" +msgstr "Gorria" + +#: searx/templates/courgette/preferences.html:96 +#: searx/templates/legacy/preferences.html:93 +#: searx/templates/pix-art/preferences.html:49 +#: searx/templates/simple/preferences.html:77 +msgid "Currently used search engines" +msgstr "Erabiliak izaten ari diren bilatzaileak" + +#: searx/templates/courgette/preferences.html:100 +#: searx/templates/legacy/preferences.html:97 +#: searx/templates/oscar/preferences.html:162 +#: searx/templates/oscar/preferences.html:176 +#: searx/templates/pix-art/preferences.html:53 +#: searx/templates/simple/preferences.html:87 +msgid "Engine name" +msgstr "Bilatzailearen izena" + +#: searx/templates/courgette/preferences.html:101 +#: searx/templates/legacy/preferences.html:98 +msgid "Category" +msgstr "Kategoria" + +#: searx/templates/courgette/preferences.html:102 +#: searx/templates/courgette/preferences.html:113 +#: searx/templates/legacy/preferences.html:99 +#: searx/templates/legacy/preferences.html:110 +#: searx/templates/oscar/preferences.html:161 +#: searx/templates/oscar/preferences.html:177 +#: searx/templates/pix-art/preferences.html:54 +#: searx/templates/pix-art/preferences.html:64 +#: searx/templates/simple/preferences.html:86 +msgid "Allow" +msgstr "Baimendu" + +#: searx/templates/courgette/preferences.html:102 +#: searx/templates/courgette/preferences.html:114 +#: searx/templates/legacy/preferences.html:99 +#: searx/templates/legacy/preferences.html:111 +#: searx/templates/pix-art/preferences.html:54 +#: searx/templates/pix-art/preferences.html:65 +msgid "Block" +msgstr "Blokeatu" + +#: searx/templates/courgette/preferences.html:122 +#: searx/templates/legacy/preferences.html:119 +#: searx/templates/oscar/preferences.html:297 +#: searx/templates/pix-art/preferences.html:73 +#: searx/templates/simple/preferences.html:180 +msgid "" +"These settings are stored in your cookies, this allows us not to store this " +"data about you." +msgstr "Ezarpen hauek zure cookietan gurdetzen dira, honek zuri buruzko informaziorik ez gordetzea baimentzen digu." + +#: searx/templates/courgette/preferences.html:124 +#: searx/templates/legacy/preferences.html:121 +#: searx/templates/oscar/preferences.html:299 +#: searx/templates/pix-art/preferences.html:75 +#: searx/templates/simple/preferences.html:182 +msgid "" +"These cookies serve your sole convenience, we don't use these cookies to " +"track you." +msgstr "Cookie hauek zure onurarako besterik ez dira, ez ditugu zure jarraipenik egiteko erabiltzen." + +#: searx/templates/courgette/preferences.html:127 +#: searx/templates/legacy/preferences.html:124 +#: searx/templates/oscar/preferences.html:305 +#: searx/templates/pix-art/preferences.html:78 +#: searx/templates/simple/preferences.html:185 +msgid "save" +msgstr "gorde" + +#: searx/templates/courgette/preferences.html:128 +#: searx/templates/legacy/preferences.html:125 +#: searx/templates/oscar/preferences.html:307 +#: searx/templates/simple/preferences.html:186 +msgid "Reset defaults" +msgstr "Berrezarri lehenetsiak" + +#: searx/templates/courgette/preferences.html:129 +#: searx/templates/legacy/preferences.html:126 +#: searx/templates/oscar/preferences.html:306 +#: searx/templates/pix-art/preferences.html:79 +#: searx/templates/simple/preferences.html:187 +msgid "back" +msgstr "atzera" + +#: searx/templates/courgette/results.html:12 +#: searx/templates/legacy/results.html:13 +#: searx/templates/oscar/results.html:136 +#: searx/templates/simple/results.html:58 +msgid "Search URL" +msgstr "Bilaketa URLa" + +#: searx/templates/courgette/results.html:16 +#: searx/templates/legacy/results.html:17 +#: searx/templates/oscar/results.html:141 +#: searx/templates/simple/results.html:62 +msgid "Download results" +msgstr "Emaitzak deskargatu" + +#: searx/templates/courgette/results.html:34 +#: searx/templates/legacy/results.html:35 +#: searx/templates/simple/results.html:10 +msgid "Answers" +msgstr "Erantzunak" + +#: searx/templates/courgette/results.html:42 +#: searx/templates/legacy/results.html:43 +#: searx/templates/oscar/results.html:116 +#: searx/templates/simple/results.html:42 +msgid "Suggestions" +msgstr "Iradokizunak" + +#: searx/templates/courgette/results.html:70 +#: searx/templates/legacy/results.html:81 +#: searx/templates/oscar/results.html:68 searx/templates/oscar/results.html:78 +#: searx/templates/simple/results.html:130 +msgid "previous page" +msgstr "aurreko orrialdea" + +#: searx/templates/courgette/results.html:81 +#: searx/templates/legacy/results.html:92 +#: searx/templates/oscar/results.html:62 searx/templates/oscar/results.html:84 +#: searx/templates/simple/results.html:145 +msgid "next page" +msgstr "hurrengo orrialdea" + +#: searx/templates/courgette/search.html:3 +#: searx/templates/legacy/search.html:3 searx/templates/oscar/search.html:6 +#: searx/templates/oscar/search_full.html:9 +#: searx/templates/pix-art/search.html:3 searx/templates/simple/search.html:4 +msgid "Search for..." +msgstr "Bilatu..." + +#: searx/templates/courgette/stats.html:4 searx/templates/legacy/stats.html:4 +#: searx/templates/oscar/stats.html:5 searx/templates/pix-art/stats.html:4 +#: searx/templates/simple/stats.html:7 +msgid "Engine stats" +msgstr "Bilatzaileen estatistikak" + +#: searx/templates/courgette/result_templates/images.html:4 +#: searx/templates/legacy/result_templates/images.html:4 +#: searx/templates/pix-art/result_templates/images.html:4 +msgid "original context" +msgstr "jatorrizko testuingurua" + +#: searx/templates/courgette/result_templates/torrent.html:7 +#: searx/templates/legacy/result_templates/torrent.html:11 +#: searx/templates/oscar/result_templates/torrent.html:6 +#: searx/templates/simple/result_templates/torrent.html:9 +msgid "Seeder" +msgstr "Ereilea" + +#: searx/templates/courgette/result_templates/torrent.html:7 +#: searx/templates/legacy/result_templates/torrent.html:11 +#: searx/templates/oscar/result_templates/torrent.html:6 +#: searx/templates/simple/result_templates/torrent.html:9 +msgid "Leecher" +msgstr "Izaina" + +#: searx/templates/courgette/result_templates/torrent.html:9 +#: searx/templates/legacy/result_templates/torrent.html:9 +#: searx/templates/oscar/macros.html:23 +#: searx/templates/simple/result_templates/torrent.html:6 +msgid "magnet link" +msgstr "magnet lotura" + +#: searx/templates/courgette/result_templates/torrent.html:10 +#: searx/templates/legacy/result_templates/torrent.html:10 +#: searx/templates/oscar/macros.html:24 +#: searx/templates/simple/result_templates/torrent.html:7 +msgid "torrent file" +msgstr "torrent fitxategia" + +#: searx/templates/legacy/categories.html:8 +#: searx/templates/simple/categories.html:6 +msgid "Click on the magnifier to perform search" +msgstr "Lupan sakatu bilaketa egiteko" + +#: searx/templates/legacy/preferences.html:84 +#: searx/templates/oscar/preferences.html:113 +#: searx/templates/simple/preferences.html:142 +msgid "Results on new tabs" +msgstr "Emaitzak fitxa berrietan" + +#: searx/templates/legacy/preferences.html:87 +#: searx/templates/oscar/preferences.html:117 +#: searx/templates/simple/preferences.html:145 +msgid "On" +msgstr "Piztuta" + +#: searx/templates/legacy/preferences.html:88 +#: searx/templates/oscar/preferences.html:118 +#: searx/templates/simple/preferences.html:146 +msgid "Off" +msgstr "Itzalita" + +#: searx/templates/legacy/result_templates/code.html:3 +#: searx/templates/legacy/result_templates/default.html:3 +#: searx/templates/legacy/result_templates/map.html:9 +#: searx/templates/oscar/macros.html:34 searx/templates/oscar/macros.html:48 +#: searx/templates/simple/macros.html:43 +msgid "cached" +msgstr "cacheatuta" + +#: searx/templates/oscar/advanced.html:4 +msgid "Advanced settings" +msgstr "Ezarpen aurreratuak" + +#: searx/templates/oscar/base.html:62 +#: searx/templates/oscar/messages/first_time.html:4 +#: searx/templates/oscar/messages/save_settings_successfull.html:5 +#: searx/templates/oscar/messages/unknow_error.html:5 +msgid "Close" +msgstr "Itxi" + +#: searx/templates/oscar/base.html:64 +#: searx/templates/oscar/messages/no_results.html:4 +#: searx/templates/simple/messages/no_results.html:4 +#: searx/templates/simple/results.html:25 +msgid "Error!" +msgstr "Errorea!" + +#: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 +msgid "Powered by" +msgstr "Honek bultzatua" + +#: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 +msgid "a privacy-respecting, hackable metasearch engine" +msgstr "pribatutasun-errespetatzaile, metabilaketa motor hackeagarri bat" + +#: searx/templates/oscar/macros.html:36 searx/templates/oscar/macros.html:50 +#: searx/templates/simple/macros.html:43 +msgid "proxied" +msgstr "proxyatuta" + +#: searx/templates/oscar/macros.html:92 +msgid "supported" +msgstr "onartua" + +#: searx/templates/oscar/macros.html:96 +msgid "not supported" +msgstr "ez onartua" + +#: searx/templates/oscar/preferences.html:13 +#: searx/templates/oscar/preferences.html:22 +#: searx/templates/simple/preferences.html:32 +msgid "General" +msgstr "Orokorra" + +#: searx/templates/oscar/preferences.html:14 +#: searx/templates/oscar/preferences.html:146 +#: searx/templates/simple/preferences.html:76 +msgid "Engines" +msgstr "Bilatzaileak" + +#: searx/templates/oscar/preferences.html:15 +#: searx/templates/oscar/preferences.html:219 +msgid "Plugins" +msgstr "Pluginak" + +#: searx/templates/oscar/preferences.html:16 +#: searx/templates/oscar/preferences.html:245 +msgid "Answerers" +msgstr "Erantzun emaileak" + +#: searx/templates/oscar/preferences.html:17 +#: searx/templates/oscar/preferences.html:272 +msgid "Cookies" +msgstr "Cookieak" + +#: searx/templates/oscar/preferences.html:42 +#: searx/templates/simple/preferences.html:48 +msgid "What language do you prefer for search?" +msgstr "Zein hizkuntzan egin nahi duzu bilaketa?" + +#: searx/templates/oscar/preferences.html:48 +#: searx/templates/simple/preferences.html:128 +msgid "Change the language of the layout" +msgstr "Interfazearen hizkuntza aldatu" + +#: searx/templates/oscar/preferences.html:58 +#: searx/templates/simple/preferences.html:60 +msgid "Find stuff as you type" +msgstr "Gauzak aurkitu idatzi bitartean" + +#: searx/templates/oscar/preferences.html:69 +#: searx/templates/simple/preferences.html:173 +msgid "Proxying image results through searx" +msgstr "Irudien emaitzak searx bitartez proxyatu" + +#: searx/templates/oscar/preferences.html:78 +msgid "" +"Change how forms are submited, <a " +"href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\"" +" rel=\"external\">learn more about request methods</a>" +msgstr "Aldatu inprimakiak nola bidaltzen diren, <a href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\" rel=\"external\">ikasi gehiago eskaera metodoen inguruan</a>" + +#: searx/templates/oscar/preferences.html:87 +#: searx/templates/simple/preferences.html:71 +msgid "Filter content" +msgstr "Edukia iragazi" + +#: searx/templates/oscar/preferences.html:97 +#: searx/templates/simple/preferences.html:139 +msgid "Change searx layout" +msgstr "Searxen diseinua aldatu" + +#: searx/templates/oscar/preferences.html:106 +#: searx/templates/oscar/preferences.html:111 +msgid "Choose style for this theme" +msgstr "Gai honetarako estiloa hautatu" + +#: searx/templates/oscar/preferences.html:106 +#: searx/templates/oscar/preferences.html:111 +msgid "Style" +msgstr "Estiloa" + +#: searx/templates/oscar/preferences.html:122 +msgid "Open Access DOI resolver" +msgstr "Open Access DOI ebatzi" + +#: searx/templates/oscar/preferences.html:123 +msgid "" +"Redirect to open-access versions of publications when available (plugin " +"required)" +msgstr "Argitalpenen sartze-askeko bertsioetara berbidali ahal denean (plugina behar du)" + +#: searx/templates/oscar/preferences.html:163 +#: searx/templates/oscar/preferences.html:175 +#: searx/templates/simple/preferences.html:88 +msgid "Shortcut" +msgstr "Lasterbidea" + +#: searx/templates/oscar/preferences.html:164 +#: searx/templates/oscar/preferences.html:174 +msgid "Selected language" +msgstr "Hautatutako hizkuntza" + +#: searx/templates/oscar/preferences.html:166 +#: searx/templates/oscar/preferences.html:172 +#: searx/templates/simple/preferences.html:91 +msgid "Time range" +msgstr "Denbora tartea" + +#: searx/templates/oscar/preferences.html:167 +#: searx/templates/oscar/preferences.html:171 +#: searx/templates/simple/preferences.html:92 +msgid "Avg. time" +msgstr " Batezbesteko denbora" + +#: searx/templates/oscar/preferences.html:168 +#: searx/templates/oscar/preferences.html:170 +#: searx/templates/simple/preferences.html:93 +msgid "Max time" +msgstr "Gehienezko denbora" + +#: searx/templates/oscar/preferences.html:248 +msgid "This is the list of searx's instant answering modules." +msgstr "Hau da searxen berehalako erantzunen moduluen zerrenda." + +#: searx/templates/oscar/preferences.html:252 +msgid "Name" +msgstr "Izena" + +#: searx/templates/oscar/preferences.html:253 +msgid "Keywords" +msgstr "Gako-hitzak" + +#: searx/templates/oscar/preferences.html:254 +msgid "Description" +msgstr "Deskripzioa" + +#: searx/templates/oscar/preferences.html:255 +msgid "Examples" +msgstr "Adibideak" + +#: searx/templates/oscar/preferences.html:275 +msgid "" +"This is the list of cookies and their values searx is storing on your " +"computer." +msgstr "Hau searxek zure ordenagailuan gordetzen ari den cookien eta haien balioen zerrenda bat da." + +#: searx/templates/oscar/preferences.html:276 +msgid "With that list, you can assess searx transparency." +msgstr "Zerrenda horrekin, searxen gardentasuna balioztatu dezakezu." + +#: searx/templates/oscar/preferences.html:281 +msgid "Cookie name" +msgstr "Cookiearen izena" + +#: searx/templates/oscar/preferences.html:282 +msgid "Value" +msgstr "Balioa" + +#: searx/templates/oscar/preferences.html:301 +msgid "Search URL of the currently saved preferences" +msgstr "Une honetan gordetako hobespenen bilaketa URLa" + +#: searx/templates/oscar/preferences.html:301 +msgid "" +"Note: specifying custom settings in the search URL can reduce privacy by " +"leaking data to the clicked result sites." +msgstr "Oharra: bilaketa URLan ezarpen pertsonalizatuak zehazteak pribatutasuna txikiagotu dezake klikatutako erantzun guneetara datuak emanez" + +#: searx/templates/oscar/results.html:17 +msgid "Search results" +msgstr "Bilaketaren emaitzak" + +#: searx/templates/oscar/results.html:21 +#: searx/templates/simple/results.html:84 +msgid "Try searching for:" +msgstr "Saiatu hau bilatzen:" + +#: searx/templates/oscar/results.html:100 +#: searx/templates/simple/results.html:25 +msgid "Engines cannot retrieve results" +msgstr "Bilatzaileek ezin dute emaitzik lortu" + +#: searx/templates/oscar/results.html:131 +msgid "Links" +msgstr "Estekak" + +#: searx/templates/oscar/search.html:8 +#: searx/templates/oscar/search_full.html:11 +#: searx/templates/simple/search.html:5 +msgid "Start search" +msgstr "Bilaketa hasi" + +#: searx/templates/oscar/stats.html:2 +msgid "stats" +msgstr "estatistikak" + +#: searx/templates/oscar/time-range.html:3 +#: searx/templates/simple/time-range.html:3 +msgid "Anytime" +msgstr "Edonoiz" + +#: searx/templates/oscar/time-range.html:6 +#: searx/templates/simple/time-range.html:6 +msgid "Last day" +msgstr "Azken eguna" + +#: searx/templates/oscar/time-range.html:9 +#: searx/templates/simple/time-range.html:9 +msgid "Last week" +msgstr "Azken astea" + +#: searx/templates/oscar/time-range.html:12 +#: searx/templates/simple/time-range.html:12 +msgid "Last month" +msgstr "Azken hilabetea" + +#: searx/templates/oscar/time-range.html:15 +#: searx/templates/simple/time-range.html:15 +msgid "Last year" +msgstr "Azken urtea" + +#: searx/templates/oscar/messages/first_time.html:6 +#: searx/templates/oscar/messages/no_data_available.html:3 +msgid "Heads up!" +msgstr "Kasu!" + +#: searx/templates/oscar/messages/first_time.html:7 +msgid "It look like you are using searx first time." +msgstr "Searx lehen aldiz erabiltzen ari zarela ematen du." + +#: searx/templates/oscar/messages/no_cookies.html:3 +msgid "Information!" +msgstr "Informazioa!" + +#: searx/templates/oscar/messages/no_cookies.html:4 +msgid "currently, there are no cookies defined." +msgstr "une honetan, ez dago cookierik definitutik." + +#: searx/templates/oscar/messages/no_data_available.html:4 +msgid "There is currently no data available. " +msgstr "Une honetan ez dago daturik eskuragarri." + +#: searx/templates/oscar/messages/no_results.html:4 +#: searx/templates/simple/messages/no_results.html:4 +msgid "Engines cannot retrieve results." +msgstr "Bilatzaileek ezin dute emaitzik lortu." + +#: searx/templates/oscar/messages/no_results.html:10 +#: searx/templates/simple/messages/no_results.html:10 +msgid "Please, try again later or find another searx instance." +msgstr "Mesedez, saiatu berriz beranduago edo bila ezazu beste searx instantzia bat." + +#: searx/templates/oscar/messages/no_results.html:14 +#: searx/templates/simple/messages/no_results.html:14 +msgid "Sorry!" +msgstr "Barkatu!" + +#: searx/templates/oscar/messages/no_results.html:15 +#: searx/templates/simple/messages/no_results.html:15 +msgid "" +"we didn't find any results. Please use another query or search in more " +"categories." +msgstr "ez dugu emaitzik aurkitu. Mesedez beste kontsulta bat egin edo bilatu kategoria gehiagotan." + +#: searx/templates/oscar/messages/save_settings_successfull.html:7 +msgid "Well done!" +msgstr "Ondo egina!" + +#: searx/templates/oscar/messages/save_settings_successfull.html:8 +msgid "Settings saved successfully." +msgstr "Ezarpenak ongi gorde dira." + +#: searx/templates/oscar/messages/unknow_error.html:7 +msgid "Oh snap!" +msgstr "Hara!" + +#: searx/templates/oscar/messages/unknow_error.html:8 +msgid "Something went wrong." +msgstr "Zerbait gaizki joan da." + +#: searx/templates/oscar/result_templates/default.html:7 +#: searx/templates/simple/result_templates/default.html:6 +msgid "show media" +msgstr "media erakutsi" + +#: searx/templates/oscar/result_templates/default.html:7 +#: searx/templates/simple/result_templates/default.html:6 +msgid "hide media" +msgstr "media ezkutatu" + +#: searx/templates/oscar/result_templates/images.html:30 +msgid "Get image" +msgstr "Irudia eskuratu" + +#: searx/templates/oscar/result_templates/images.html:33 +msgid "View source" +msgstr "Iturria ikusi" + +#: searx/templates/oscar/result_templates/map.html:7 +#: searx/templates/simple/result_templates/map.html:7 +msgid "show map" +msgstr "mapa erakutsi" + +#: searx/templates/oscar/result_templates/map.html:7 +#: searx/templates/simple/result_templates/map.html:7 +msgid "hide map" +msgstr "mapa ezkutatu" + +#: searx/templates/oscar/result_templates/map.html:11 +#: searx/templates/simple/result_templates/map.html:11 +msgid "show details" +msgstr "xehetasunak erakutsi" + +#: searx/templates/oscar/result_templates/map.html:11 +#: searx/templates/simple/result_templates/map.html:11 +msgid "hide details" +msgstr "xehetasunak ezkutatu" + +#: searx/templates/oscar/result_templates/torrent.html:7 +#: searx/templates/simple/result_templates/torrent.html:11 +msgid "Filesize" +msgstr "Fitxategi neurria" + +#: searx/templates/oscar/result_templates/torrent.html:9 +#: searx/templates/simple/result_templates/torrent.html:12 +msgid "Bytes" +msgstr "Byteak" + +#: searx/templates/oscar/result_templates/torrent.html:10 +#: searx/templates/simple/result_templates/torrent.html:13 +msgid "kiB" +msgstr "kiB" + +#: searx/templates/oscar/result_templates/torrent.html:11 +#: searx/templates/simple/result_templates/torrent.html:14 +msgid "MiB" +msgstr "MiB" + +#: searx/templates/oscar/result_templates/torrent.html:12 +#: searx/templates/simple/result_templates/torrent.html:15 +msgid "GiB" +msgstr "GiB" + +#: searx/templates/oscar/result_templates/torrent.html:13 +#: searx/templates/simple/result_templates/torrent.html:16 +msgid "TiB" +msgstr "TiB" + +#: searx/templates/oscar/result_templates/torrent.html:15 +#: searx/templates/simple/result_templates/torrent.html:20 +msgid "Number of Files" +msgstr "Fitxategi kopurua" + +#: searx/templates/oscar/result_templates/videos.html:7 +#: searx/templates/simple/result_templates/videos.html:6 +msgid "show video" +msgstr "erakutsi bideoa" + +#: searx/templates/oscar/result_templates/videos.html:7 +#: searx/templates/simple/result_templates/videos.html:6 +msgid "hide video" +msgstr "ezkutatu bideoa" + +#: searx/templates/pix-art/results.html:28 +msgid "Load more..." +msgstr "Kargatu gehiago..." + +#: searx/templates/simple/base.html:31 +msgid "No item found" +msgstr "Ez da elementurik aurkitu" + +#: searx/templates/simple/preferences.html:89 +msgid "Supports selected language" +msgstr "Hautatutako hizkuntza onartzen du" + +#: searx/templates/simple/preferences.html:118 +msgid "User interface" +msgstr "Erabiltzailearen interfazea" + +#: searx/templates/simple/preferences.html:154 +msgid "Privacy" +msgstr "Pribatutasuna" diff --git a/searx/translations/fa_IR/LC_MESSAGES/messages.mo b/searx/translations/fa_IR/LC_MESSAGES/messages.mo new file mode 100644 index 0000000000..4ef71416b3 Binary files /dev/null and b/searx/translations/fa_IR/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/fa_IR/LC_MESSAGES/messages.po b/searx/translations/fa_IR/LC_MESSAGES/messages.po new file mode 100644 index 0000000000..0e568e1db8 --- /dev/null +++ b/searx/translations/fa_IR/LC_MESSAGES/messages.po @@ -0,0 +1,1015 @@ +# Translations template for PROJECT. +# Copyright (C) 2017 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# +# Translators: +# Aurora, 2018 +# Jim <inactive+Jim11@transifex.com>, 2017 +# Mostafa Ahangarha <ahangarha@gmail.com>, 2018 +msgid "" +msgstr "" +"Project-Id-Version: searx\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2017-11-01 21:31+0100\n" +"PO-Revision-Date: 2018-04-16 16:41+0000\n" +"Last-Translator: Aurora\n" +"Language-Team: Persian (Iran) (http://www.transifex.com/asciimoo/searx/language/fa_IR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.3.4\n" +"Language: fa_IR\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#: searx/search.py:137 searx/search.py:182 +msgid "timeout" +msgstr "پایان زمان<br>" + +#: searx/search.py:144 +msgid "request exception" +msgstr "خطا در درخواست" + +#: searx/search.py:151 +msgid "unexpected crash" +msgstr "ایست ناگهانی" + +#: searx/webapp.py:136 +msgid "files" +msgstr "فایل ها<br>" + +#: searx/webapp.py:137 +msgid "general" +msgstr "فراگیر" + +#: searx/webapp.py:138 +msgid "music" +msgstr "موسیقی" + +#: searx/webapp.py:139 +msgid "social media" +msgstr "رسانه اجتماعی" + +#: searx/webapp.py:140 +msgid "images" +msgstr "تصاویر<br>" + +#: searx/webapp.py:141 +msgid "videos" +msgstr "ویدیو ها<br>" + +#: searx/webapp.py:142 +msgid "it" +msgstr "فناوری اطلاعات" + +#: searx/webapp.py:143 +msgid "news" +msgstr "اخبار" + +#: searx/webapp.py:144 +msgid "map" +msgstr "نقشه" + +#: searx/webapp.py:145 +msgid "science" +msgstr "دانش<br>" + +#: searx/webapp.py:399 searx/webapp.py:658 +msgid "Invalid settings, please edit your preferences" +msgstr "تنظیمات نادرست است، لطفا اولویت‌های جستجو را تغییر دهید" + +#: searx/webapp.py:415 +msgid "Invalid settings" +msgstr "تنظیمات اشتباه" + +#: searx/webapp.py:449 searx/webapp.py:493 +msgid "search error" +msgstr "خطای جستجو" + +#: searx/webapp.py:530 +msgid "{minutes} minute(s) ago" +msgstr "{minutes} دقیقه پیش" + +#: searx/webapp.py:532 +msgid "{hours} hour(s), {minutes} minute(s) ago" +msgstr "{hours} ساعت و {minutes} دقیقه پیش" + +#: searx/answerers/random/answerer.py:53 +msgid "Random value generator" +msgstr "ایجاد کننده ی مقدار تصادفی" + +#: searx/answerers/random/answerer.py:54 +msgid "Generate different random values" +msgstr "ایجاد مقادیر تصادفی متفاوت" + +#: searx/answerers/statistics/answerer.py:53 +msgid "Statistics functions" +msgstr "توابع آماری" + +#: searx/answerers/statistics/answerer.py:54 +msgid "Compute {functions} of the arguments" +msgstr "پردازش {عملکرد های} نشانوند ها<br>" + +#: searx/engines/__init__.py:194 searx/engines/flycheck___init__.py:201 +msgid "Engine time (sec)" +msgstr "زمان موتور(ثانیه)<br>" + +#: searx/engines/__init__.py:198 searx/engines/flycheck___init__.py:205 +msgid "Page loads (sec)" +msgstr "زمان بارگذاری صفحه (ثانیه)" + +#: searx/engines/__init__.py:202 searx/engines/flycheck___init__.py:209 +#: searx/templates/oscar/results.html:95 +#: searx/templates/simple/results.html:20 +msgid "Number of results" +msgstr "تعداد نتایج" + +#: searx/engines/__init__.py:206 searx/engines/flycheck___init__.py:213 +msgid "Scores" +msgstr "امتیازات<br>" + +#: searx/engines/__init__.py:210 searx/engines/flycheck___init__.py:217 +msgid "Scores per result" +msgstr "امتیازات بر نتیجه<br>" + +#: searx/engines/__init__.py:214 searx/engines/flycheck___init__.py:221 +msgid "Errors" +msgstr "خطاها" + +#: searx/engines/pdbe.py:87 +msgid "{title}&nbsp;(OBSOLETE)" +msgstr "{title}&nbsp;(OBSOLETE)" + +#: searx/engines/pdbe.py:91 +msgid "This entry has been superseded by" +msgstr "این ورودی معلق شده است توسط" + +#: searx/engines/pubmed.py:74 +msgid "No abstract is available for this publication." +msgstr "هیچ چکید ای برای این نشریه در دسترس نیست.<br>" + +#: searx/plugins/https_rewrite.py:32 +msgid "Rewrite HTTP links to HTTPS if possible" +msgstr "تغییر پیوند های HTTP به HTTPS در صورت امکان" + +#: searx/plugins/infinite_scroll.py:3 +msgid "Infinite scroll" +msgstr "پایین رفتن بی‌پایان" + +#: searx/plugins/infinite_scroll.py:4 +msgid "Automatically load next page when scrolling to bottom of current page" +msgstr "بارگذاری خودکار صفحه بعد در صورت پیمایش تا پایین صفحه کنونی" + +#: searx/plugins/oa_doi_rewrite.py:9 +msgid "Open Access DOI rewrite" +msgstr "بازنویسی Open Access DOI<br>" + +#: searx/plugins/oa_doi_rewrite.py:10 +msgid "" +"Avoid paywalls by redirecting to open-access versions of publications when " +"available" +msgstr "امتناع از منابع غیر رایگان با تغییر مسیر به نسخه ی رایگان نشریات اگر در دسترس باشد<br>" + +#: searx/plugins/open_results_on_new_tab.py:18 +#: searx/templates/oscar/preferences.html:114 +#: searx/templates/simple/preferences.html:149 +msgid "Open result links on new browser tabs" +msgstr "باز کردن لینک های نتیجه در برگه‌ی جدید مرورگر" + +#: searx/plugins/open_results_on_new_tab.py:19 +msgid "" +"Results are opened in the same window by default. This plugin overwrites the" +" default behaviour to open links on new tabs/windows. (JavaScript required)" +msgstr "به طور پیش‌فرض، نتایج در پنجره ی کنونی باز می‌شوند. این افزونه، رفتار پیش‌فرض را برای بازشدن پیوند در پنجره/برگه جدید تغییر می‌دهد. (نیازمند جاوااسکریپت)" + +#: searx/plugins/search_on_category_select.py:18 +msgid "Search on category select" +msgstr "جستجو به محض انتخاب یک دسته<br>" + +#: searx/plugins/search_on_category_select.py:19 +msgid "" +"Perform search immediately if a category selected. Disable to select " +"multiple categories. (JavaScript required)" +msgstr "جستجو به محض انتخاب یک دسته. برای انتخاب چند دسته این گزینه را غیرفعال کنید. (نیازمند جاواسکریپت)<br>" + +#: searx/plugins/self_info.py:20 +msgid "" +"Displays your IP if the query is \"ip\" and your user agent if the query " +"contains \"user agent\"." +msgstr "اگر آی پی شما در صورت جستجو برای 'ip' و نشان دادن عامل کاربر در صورت جستجو برای 'user agent'.<br>" + +#: searx/plugins/tracker_url_remover.py:26 +msgid "Tracker URL remover" +msgstr "از بین برنده ی آدرس ردیاب ها<br>" + +#: searx/plugins/tracker_url_remover.py:27 +msgid "Remove trackers arguments from the returned URL" +msgstr "حذف نشانوند های ردیاب ها از آدرس برگشتی" + +#: searx/plugins/vim_hotkeys.py:3 +msgid "Vim-like hotkeys" +msgstr "کلیدهای میانبر شبیه Vim<br>" + +#: searx/plugins/vim_hotkeys.py:4 +msgid "" +"Navigate search results with Vim-like hotkeys (JavaScript required). Press " +"\"h\" key on main or result page to get help." +msgstr "جابجایی در نتایج با کلیدهای میان‌بر مشابه Vim (نیازمند جاوااسکریپت). در صفحه اصلی و یا صفحه نتیجه، دکمه h را برای نمایش راهنما بفشارید." + +#: searx/templates/courgette/404.html:4 searx/templates/legacy/404.html:4 +#: searx/templates/oscar/404.html:4 searx/templates/pix-art/404.html:4 +#: searx/templates/simple/404.html:4 +msgid "Page not found" +msgstr "صفحه پیدا نشد" + +#: searx/templates/courgette/404.html:6 searx/templates/legacy/404.html:6 +#: searx/templates/oscar/404.html:6 searx/templates/pix-art/404.html:6 +#: searx/templates/simple/404.html:6 +#, python-format +msgid "Go to %(search_page)s." +msgstr "برو به%(search_page)s." + +#: searx/templates/courgette/404.html:6 searx/templates/legacy/404.html:6 +#: searx/templates/oscar/404.html:6 searx/templates/pix-art/404.html:6 +#: searx/templates/simple/404.html:6 +msgid "search page" +msgstr "صفحه جستجو<br>" + +#: searx/templates/courgette/index.html:9 +#: searx/templates/courgette/index.html:13 +#: searx/templates/courgette/results.html:5 +#: searx/templates/legacy/index.html:8 searx/templates/legacy/index.html:12 +#: searx/templates/oscar/navbar.html:7 +#: searx/templates/oscar/preferences.html:3 +#: searx/templates/pix-art/index.html:8 +msgid "preferences" +msgstr "تنظیمات<br>" + +#: searx/templates/courgette/index.html:11 +#: searx/templates/legacy/index.html:10 searx/templates/oscar/about.html:2 +#: searx/templates/oscar/navbar.html:6 searx/templates/pix-art/index.html:7 +msgid "about" +msgstr "درباره<br>" + +#: searx/templates/courgette/preferences.html:5 +#: searx/templates/legacy/preferences.html:5 +#: searx/templates/oscar/preferences.html:8 +#: searx/templates/pix-art/preferences.html:5 +#: searx/templates/simple/preferences.html:26 +msgid "Preferences" +msgstr "تنظیمات<br>" + +#: searx/templates/courgette/preferences.html:9 +#: searx/templates/legacy/preferences.html:9 +#: searx/templates/oscar/preferences.html:33 +#: searx/templates/oscar/preferences.html:35 +#: searx/templates/simple/preferences.html:34 +msgid "Default categories" +msgstr "دسته‌بندی های پیش‌فرض" + +#: searx/templates/courgette/preferences.html:13 +#: searx/templates/legacy/preferences.html:14 +#: searx/templates/oscar/preferences.html:41 +#: searx/templates/pix-art/preferences.html:9 +#: searx/templates/simple/preferences.html:39 +#: searx/templates/simple/preferences.html:163 +msgid "Search language" +msgstr "زبان جستجو" + +#: searx/templates/courgette/preferences.html:16 +#: searx/templates/legacy/preferences.html:17 +#: searx/templates/oscar/languages.html:6 +#: searx/templates/pix-art/preferences.html:12 +#: searx/templates/simple/languages.html:2 +#: searx/templates/simple/preferences.html:42 +msgid "Default language" +msgstr "زبان پیش‌فرض" + +#: searx/templates/courgette/preferences.html:24 +#: searx/templates/legacy/preferences.html:25 +#: searx/templates/oscar/preferences.html:47 +#: searx/templates/pix-art/preferences.html:20 +#: searx/templates/simple/preferences.html:120 +msgid "Interface language" +msgstr "زبان رابط کاربری" + +#: searx/templates/courgette/preferences.html:34 +#: searx/templates/legacy/preferences.html:35 +#: searx/templates/oscar/preferences.html:57 +#: searx/templates/simple/preferences.html:51 +msgid "Autocomplete" +msgstr "تکمیل خودکار<br>" + +#: searx/templates/courgette/preferences.html:45 +#: searx/templates/legacy/preferences.html:46 +#: searx/templates/oscar/preferences.html:68 +#: searx/templates/simple/preferences.html:166 +msgid "Image proxy" +msgstr "پراکسی تصویر<br>" + +#: searx/templates/courgette/preferences.html:48 +#: searx/templates/legacy/preferences.html:49 +#: searx/templates/oscar/preferences.html:72 +#: searx/templates/simple/preferences.html:169 +msgid "Enabled" +msgstr "فعال<br>" + +#: searx/templates/courgette/preferences.html:49 +#: searx/templates/legacy/preferences.html:50 +#: searx/templates/oscar/preferences.html:73 +#: searx/templates/simple/preferences.html:170 +msgid "Disabled" +msgstr "غیرفعال" + +#: searx/templates/courgette/preferences.html:54 +#: searx/templates/legacy/preferences.html:55 +#: searx/templates/oscar/preferences.html:77 +#: searx/templates/pix-art/preferences.html:30 +#: searx/templates/simple/preferences.html:156 +msgid "Method" +msgstr "روش<br>" + +#: searx/templates/courgette/preferences.html:63 +#: searx/templates/legacy/preferences.html:64 +#: searx/templates/oscar/preferences.html:86 +#: searx/templates/oscar/preferences.html:165 +#: searx/templates/oscar/preferences.html:173 +#: searx/templates/simple/preferences.html:63 +#: searx/templates/simple/preferences.html:90 +msgid "SafeSearch" +msgstr "جستجوی امن" + +#: searx/templates/courgette/preferences.html:66 +#: searx/templates/legacy/preferences.html:67 +#: searx/templates/oscar/preferences.html:90 +#: searx/templates/simple/preferences.html:66 +msgid "Strict" +msgstr "سخت گیر<br>" + +#: searx/templates/courgette/preferences.html:67 +#: searx/templates/legacy/preferences.html:68 +#: searx/templates/oscar/preferences.html:91 +#: searx/templates/simple/preferences.html:67 +msgid "Moderate" +msgstr "متوسط<br>" + +#: searx/templates/courgette/preferences.html:68 +#: searx/templates/legacy/preferences.html:69 +#: searx/templates/oscar/preferences.html:92 +#: searx/templates/simple/preferences.html:68 +msgid "None" +msgstr "هیچ<br>" + +#: searx/templates/courgette/preferences.html:73 +#: searx/templates/legacy/preferences.html:74 +#: searx/templates/oscar/preferences.html:96 +#: searx/templates/pix-art/preferences.html:39 +#: searx/templates/simple/preferences.html:131 +msgid "Themes" +msgstr "تم ها<br>" + +#: searx/templates/courgette/preferences.html:83 +msgid "Color" +msgstr "رنگ" + +#: searx/templates/courgette/preferences.html:86 +msgid "Blue (default)" +msgstr "آبی (پیش‌فرض)" + +#: searx/templates/courgette/preferences.html:87 +msgid "Violet" +msgstr "بنفش" + +#: searx/templates/courgette/preferences.html:88 +msgid "Green" +msgstr "سبز<br>" + +#: searx/templates/courgette/preferences.html:89 +msgid "Cyan" +msgstr "فیروزه‌ای" + +#: searx/templates/courgette/preferences.html:90 +msgid "Orange" +msgstr "نارنجی" + +#: searx/templates/courgette/preferences.html:91 +msgid "Red" +msgstr "قرمز" + +#: searx/templates/courgette/preferences.html:96 +#: searx/templates/legacy/preferences.html:93 +#: searx/templates/pix-art/preferences.html:49 +#: searx/templates/simple/preferences.html:77 +msgid "Currently used search engines" +msgstr "موتورهای جستجوی در حال استفاده" + +#: searx/templates/courgette/preferences.html:100 +#: searx/templates/legacy/preferences.html:97 +#: searx/templates/oscar/preferences.html:162 +#: searx/templates/oscar/preferences.html:176 +#: searx/templates/pix-art/preferences.html:53 +#: searx/templates/simple/preferences.html:87 +msgid "Engine name" +msgstr "نام موتور" + +#: searx/templates/courgette/preferences.html:101 +#: searx/templates/legacy/preferences.html:98 +msgid "Category" +msgstr "دسته" + +#: searx/templates/courgette/preferences.html:102 +#: searx/templates/courgette/preferences.html:113 +#: searx/templates/legacy/preferences.html:99 +#: searx/templates/legacy/preferences.html:110 +#: searx/templates/oscar/preferences.html:161 +#: searx/templates/oscar/preferences.html:177 +#: searx/templates/pix-art/preferences.html:54 +#: searx/templates/pix-art/preferences.html:64 +#: searx/templates/simple/preferences.html:86 +msgid "Allow" +msgstr "اجازه" + +#: searx/templates/courgette/preferences.html:102 +#: searx/templates/courgette/preferences.html:114 +#: searx/templates/legacy/preferences.html:99 +#: searx/templates/legacy/preferences.html:111 +#: searx/templates/pix-art/preferences.html:54 +#: searx/templates/pix-art/preferences.html:65 +msgid "Block" +msgstr "انسداد<br>" + +#: searx/templates/courgette/preferences.html:122 +#: searx/templates/legacy/preferences.html:119 +#: searx/templates/oscar/preferences.html:297 +#: searx/templates/pix-art/preferences.html:73 +#: searx/templates/simple/preferences.html:180 +msgid "" +"These settings are stored in your cookies, this allows us not to store this " +"data about you." +msgstr "این تنظیمات در کوکی های شما ذخیره شده اند، این به ما اجازه می دهد این اطلاعات را درباره شما ذخیره نکنیم.<br>" + +#: searx/templates/courgette/preferences.html:124 +#: searx/templates/legacy/preferences.html:121 +#: searx/templates/oscar/preferences.html:299 +#: searx/templates/pix-art/preferences.html:75 +#: searx/templates/simple/preferences.html:182 +msgid "" +"These cookies serve your sole convenience, we don't use these cookies to " +"track you." +msgstr "این کوکی ها برای راحتی شماست، ما از این کوکی برای ردیابی شما استفاده نمیکنیم.<br>" + +#: searx/templates/courgette/preferences.html:127 +#: searx/templates/legacy/preferences.html:124 +#: searx/templates/oscar/preferences.html:305 +#: searx/templates/pix-art/preferences.html:78 +#: searx/templates/simple/preferences.html:185 +msgid "save" +msgstr "ذخیره" + +#: searx/templates/courgette/preferences.html:128 +#: searx/templates/legacy/preferences.html:125 +#: searx/templates/oscar/preferences.html:307 +#: searx/templates/simple/preferences.html:186 +msgid "Reset defaults" +msgstr "بازنشانی پیشفرض ها<br>" + +#: searx/templates/courgette/preferences.html:129 +#: searx/templates/legacy/preferences.html:126 +#: searx/templates/oscar/preferences.html:306 +#: searx/templates/pix-art/preferences.html:79 +#: searx/templates/simple/preferences.html:187 +msgid "back" +msgstr "عقب<br>" + +#: searx/templates/courgette/results.html:12 +#: searx/templates/legacy/results.html:13 +#: searx/templates/oscar/results.html:136 +#: searx/templates/simple/results.html:58 +msgid "Search URL" +msgstr "آدرس جستجو<br>" + +#: searx/templates/courgette/results.html:16 +#: searx/templates/legacy/results.html:17 +#: searx/templates/oscar/results.html:141 +#: searx/templates/simple/results.html:62 +msgid "Download results" +msgstr "نتایج دانلود<br>" + +#: searx/templates/courgette/results.html:34 +#: searx/templates/legacy/results.html:35 +#: searx/templates/simple/results.html:10 +msgid "Answers" +msgstr "پاسخ ها<br>" + +#: searx/templates/courgette/results.html:42 +#: searx/templates/legacy/results.html:43 +#: searx/templates/oscar/results.html:116 +#: searx/templates/simple/results.html:42 +msgid "Suggestions" +msgstr "پیشنهادات" + +#: searx/templates/courgette/results.html:70 +#: searx/templates/legacy/results.html:81 +#: searx/templates/oscar/results.html:68 searx/templates/oscar/results.html:78 +#: searx/templates/simple/results.html:130 +msgid "previous page" +msgstr "صفحه پیش" + +#: searx/templates/courgette/results.html:81 +#: searx/templates/legacy/results.html:92 +#: searx/templates/oscar/results.html:62 searx/templates/oscar/results.html:84 +#: searx/templates/simple/results.html:145 +msgid "next page" +msgstr "صفحه بعد" + +#: searx/templates/courgette/search.html:3 +#: searx/templates/legacy/search.html:3 searx/templates/oscar/search.html:6 +#: searx/templates/oscar/search_full.html:9 +#: searx/templates/pix-art/search.html:3 searx/templates/simple/search.html:4 +msgid "Search for..." +msgstr "جستجو برای …" + +#: searx/templates/courgette/stats.html:4 searx/templates/legacy/stats.html:4 +#: searx/templates/oscar/stats.html:5 searx/templates/pix-art/stats.html:4 +#: searx/templates/simple/stats.html:7 +msgid "Engine stats" +msgstr "آمار موتور<br>" + +#: searx/templates/courgette/result_templates/images.html:4 +#: searx/templates/legacy/result_templates/images.html:4 +#: searx/templates/pix-art/result_templates/images.html:4 +msgid "original context" +msgstr "متن اصلی<br>" + +#: searx/templates/courgette/result_templates/torrent.html:7 +#: searx/templates/legacy/result_templates/torrent.html:11 +#: searx/templates/oscar/result_templates/torrent.html:6 +#: searx/templates/simple/result_templates/torrent.html:9 +msgid "Seeder" +msgstr "سیدر<br>" + +#: searx/templates/courgette/result_templates/torrent.html:7 +#: searx/templates/legacy/result_templates/torrent.html:11 +#: searx/templates/oscar/result_templates/torrent.html:6 +#: searx/templates/simple/result_templates/torrent.html:9 +msgid "Leecher" +msgstr "لیچر<br>" + +#: searx/templates/courgette/result_templates/torrent.html:9 +#: searx/templates/legacy/result_templates/torrent.html:9 +#: searx/templates/oscar/macros.html:23 +#: searx/templates/simple/result_templates/torrent.html:6 +msgid "magnet link" +msgstr "لینک مگنت<br>" + +#: searx/templates/courgette/result_templates/torrent.html:10 +#: searx/templates/legacy/result_templates/torrent.html:10 +#: searx/templates/oscar/macros.html:24 +#: searx/templates/simple/result_templates/torrent.html:7 +msgid "torrent file" +msgstr "فایل تورنت<br>" + +#: searx/templates/legacy/categories.html:8 +#: searx/templates/simple/categories.html:6 +msgid "Click on the magnifier to perform search" +msgstr "برای اجرای جستجو روی ذره بین کلیک کنید<br>" + +#: searx/templates/legacy/preferences.html:84 +#: searx/templates/oscar/preferences.html:113 +#: searx/templates/simple/preferences.html:142 +msgid "Results on new tabs" +msgstr "نتایج در برگه جدید" + +#: searx/templates/legacy/preferences.html:87 +#: searx/templates/oscar/preferences.html:117 +#: searx/templates/simple/preferences.html:145 +msgid "On" +msgstr "روشن<br>" + +#: searx/templates/legacy/preferences.html:88 +#: searx/templates/oscar/preferences.html:118 +#: searx/templates/simple/preferences.html:146 +msgid "Off" +msgstr "خاموش<br>" + +#: searx/templates/legacy/result_templates/code.html:3 +#: searx/templates/legacy/result_templates/default.html:3 +#: searx/templates/legacy/result_templates/map.html:9 +#: searx/templates/oscar/macros.html:34 searx/templates/oscar/macros.html:48 +#: searx/templates/simple/macros.html:43 +msgid "cached" +msgstr "ذخیره شده<br>" + +#: searx/templates/oscar/advanced.html:4 +msgid "Advanced settings" +msgstr "تنظیمات پیشرفته<br>" + +#: searx/templates/oscar/base.html:62 +#: searx/templates/oscar/messages/first_time.html:4 +#: searx/templates/oscar/messages/save_settings_successfull.html:5 +#: searx/templates/oscar/messages/unknow_error.html:5 +msgid "Close" +msgstr "بستن<br>" + +#: searx/templates/oscar/base.html:64 +#: searx/templates/oscar/messages/no_results.html:4 +#: searx/templates/simple/messages/no_results.html:4 +#: searx/templates/simple/results.html:25 +msgid "Error!" +msgstr "خطا!<br>" + +#: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 +msgid "Powered by" +msgstr "قدرت گرفته از<br>" + +#: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 +msgid "a privacy-respecting, hackable metasearch engine" +msgstr "یک ابر موتور جستجوی حافظ حریم شخصی" + +#: searx/templates/oscar/macros.html:36 searx/templates/oscar/macros.html:50 +#: searx/templates/simple/macros.html:43 +msgid "proxied" +msgstr "پراکسی شده<br>" + +#: searx/templates/oscar/macros.html:92 +msgid "supported" +msgstr "پشتیبانی شده<br>" + +#: searx/templates/oscar/macros.html:96 +msgid "not supported" +msgstr "پشتیبانی نشده<br>" + +#: searx/templates/oscar/preferences.html:13 +#: searx/templates/oscar/preferences.html:22 +#: searx/templates/simple/preferences.html:32 +msgid "General" +msgstr "کلی<br>" + +#: searx/templates/oscar/preferences.html:14 +#: searx/templates/oscar/preferences.html:146 +#: searx/templates/simple/preferences.html:76 +msgid "Engines" +msgstr "موتور ها<br>" + +#: searx/templates/oscar/preferences.html:15 +#: searx/templates/oscar/preferences.html:219 +msgid "Plugins" +msgstr "افزونه ها" + +#: searx/templates/oscar/preferences.html:16 +#: searx/templates/oscar/preferences.html:245 +msgid "Answerers" +msgstr "پاسخگو ها<br>" + +#: searx/templates/oscar/preferences.html:17 +#: searx/templates/oscar/preferences.html:272 +msgid "Cookies" +msgstr "کوکی ها<br>" + +#: searx/templates/oscar/preferences.html:42 +#: searx/templates/simple/preferences.html:48 +msgid "What language do you prefer for search?" +msgstr "چه زبانی را برای جستجو ترجیح می‌دهید؟" + +#: searx/templates/oscar/preferences.html:48 +#: searx/templates/simple/preferences.html:128 +msgid "Change the language of the layout" +msgstr "تغییر زبان رابط کاربری" + +#: searx/templates/oscar/preferences.html:58 +#: searx/templates/simple/preferences.html:60 +msgid "Find stuff as you type" +msgstr "یافتن مطالب حین نوشتن" + +#: searx/templates/oscar/preferences.html:69 +#: searx/templates/simple/preferences.html:173 +msgid "Proxying image results through searx" +msgstr "پراکسی کردن نتایج تصویری از طریق searx<br>" + +#: searx/templates/oscar/preferences.html:78 +msgid "" +"Change how forms are submited, <a " +"href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\"" +" rel=\"external\">learn more about request methods</a>" +msgstr "چگونگی ثبت فرم ها را تغییر دهید، درباره ی متود های درخواست بیشتر بدانید" + +#: searx/templates/oscar/preferences.html:87 +#: searx/templates/simple/preferences.html:71 +msgid "Filter content" +msgstr "فیلتر کردن محتوا" + +#: searx/templates/oscar/preferences.html:97 +#: searx/templates/simple/preferences.html:139 +msgid "Change searx layout" +msgstr "رابط کاربری searx را تغییر دهید<br>" + +#: searx/templates/oscar/preferences.html:106 +#: searx/templates/oscar/preferences.html:111 +msgid "Choose style for this theme" +msgstr "سبک این پوسته را انتخاب کنید" + +#: searx/templates/oscar/preferences.html:106 +#: searx/templates/oscar/preferences.html:111 +msgid "Style" +msgstr "سبک" + +#: searx/templates/oscar/preferences.html:122 +msgid "Open Access DOI resolver" +msgstr "حل کننده ی Open Access DOI<br>" + +#: searx/templates/oscar/preferences.html:123 +msgid "" +"Redirect to open-access versions of publications when available (plugin " +"required)" +msgstr "هدایت به نسخه رایگان نشریات اگر در دسترس باشد(نیازمند به افزونه)<br>" + +#: searx/templates/oscar/preferences.html:163 +#: searx/templates/oscar/preferences.html:175 +#: searx/templates/simple/preferences.html:88 +msgid "Shortcut" +msgstr "میانبر<br>" + +#: searx/templates/oscar/preferences.html:164 +#: searx/templates/oscar/preferences.html:174 +msgid "Selected language" +msgstr "زبان انتخابی<br>" + +#: searx/templates/oscar/preferences.html:166 +#: searx/templates/oscar/preferences.html:172 +#: searx/templates/simple/preferences.html:91 +msgid "Time range" +msgstr "بازه ی زمانی<br>" + +#: searx/templates/oscar/preferences.html:167 +#: searx/templates/oscar/preferences.html:171 +#: searx/templates/simple/preferences.html:92 +msgid "Avg. time" +msgstr "زمان میانگین" + +#: searx/templates/oscar/preferences.html:168 +#: searx/templates/oscar/preferences.html:170 +#: searx/templates/simple/preferences.html:93 +msgid "Max time" +msgstr "حداکثر زمان" + +#: searx/templates/oscar/preferences.html:248 +msgid "This is the list of searx's instant answering modules." +msgstr "این، فهرست ماژول‌های پاسخ بلادرنگ searx است." + +#: searx/templates/oscar/preferences.html:252 +msgid "Name" +msgstr "نام" + +#: searx/templates/oscar/preferences.html:253 +msgid "Keywords" +msgstr "کلیدواژه ها<br>" + +#: searx/templates/oscar/preferences.html:254 +msgid "Description" +msgstr "شرح<br>" + +#: searx/templates/oscar/preferences.html:255 +msgid "Examples" +msgstr "مثال ها<br>" + +#: searx/templates/oscar/preferences.html:275 +msgid "" +"This is the list of cookies and their values searx is storing on your " +"computer." +msgstr "این، لیست کوکی‌ها و مقادیری است که searx روی دستگاه شما ذخیره می‌کند." + +#: searx/templates/oscar/preferences.html:276 +msgid "With that list, you can assess searx transparency." +msgstr "با آن لیست، می‌توانید شفافیت searx را ارزیابی کنید." + +#: searx/templates/oscar/preferences.html:281 +msgid "Cookie name" +msgstr "نام کوکی<br>" + +#: searx/templates/oscar/preferences.html:282 +msgid "Value" +msgstr "مقدار<br>" + +#: searx/templates/oscar/preferences.html:301 +msgid "Search URL of the currently saved preferences" +msgstr "آدرس جستجو بر اساس تنظیمات ذخیره شده<br>" + +#: searx/templates/oscar/preferences.html:301 +msgid "" +"Note: specifying custom settings in the search URL can reduce privacy by " +"leaking data to the clicked result sites." +msgstr "هشدار: تعیین تنظیمات شخصی در آدرس جستجو میتواند حریم شخصی شما را به خطر بیاندازد با درز کردن اطلاعات به سایت های نتایج انتخاب شده.<br>" + +#: searx/templates/oscar/results.html:17 +msgid "Search results" +msgstr "نتایج جستجو<br>" + +#: searx/templates/oscar/results.html:21 +#: searx/templates/simple/results.html:84 +msgid "Try searching for:" +msgstr "تلاش کنید برای جستجوی:" + +#: searx/templates/oscar/results.html:100 +#: searx/templates/simple/results.html:25 +msgid "Engines cannot retrieve results" +msgstr "موتور ها قادر به دریافت نتایج نیستند<br>" + +#: searx/templates/oscar/results.html:131 +msgid "Links" +msgstr "لینک ها<br>" + +#: searx/templates/oscar/search.html:8 +#: searx/templates/oscar/search_full.html:11 +#: searx/templates/simple/search.html:5 +msgid "Start search" +msgstr "شروع جستجو<br>" + +#: searx/templates/oscar/stats.html:2 +msgid "stats" +msgstr "آمار<br>" + +#: searx/templates/oscar/time-range.html:3 +#: searx/templates/simple/time-range.html:3 +msgid "Anytime" +msgstr "هر زمانی<br>" + +#: searx/templates/oscar/time-range.html:6 +#: searx/templates/simple/time-range.html:6 +msgid "Last day" +msgstr "روز گذشته" + +#: searx/templates/oscar/time-range.html:9 +#: searx/templates/simple/time-range.html:9 +msgid "Last week" +msgstr "هفته گذشته" + +#: searx/templates/oscar/time-range.html:12 +#: searx/templates/simple/time-range.html:12 +msgid "Last month" +msgstr "ماه گذشته" + +#: searx/templates/oscar/time-range.html:15 +#: searx/templates/simple/time-range.html:15 +msgid "Last year" +msgstr "سال گذشته" + +#: searx/templates/oscar/messages/first_time.html:6 +#: searx/templates/oscar/messages/no_data_available.html:3 +msgid "Heads up!" +msgstr "بالاخره!<br>" + +#: searx/templates/oscar/messages/first_time.html:7 +msgid "It look like you are using searx first time." +msgstr "به نظر می‌رسد اولین باری است که از searx استفاده می‌کنید." + +#: searx/templates/oscar/messages/no_cookies.html:3 +msgid "Information!" +msgstr "اطلاعات!" + +#: searx/templates/oscar/messages/no_cookies.html:4 +msgid "currently, there are no cookies defined." +msgstr "در حال حاضر کوکی‌ای تعریف نشده است." + +#: searx/templates/oscar/messages/no_data_available.html:4 +msgid "There is currently no data available. " +msgstr "در حال حاضر هیچ داده‌ای در دسترس نیست." + +#: searx/templates/oscar/messages/no_results.html:4 +#: searx/templates/simple/messages/no_results.html:4 +msgid "Engines cannot retrieve results." +msgstr "موتورها قادر به دریافت نتایج نیستند." + +#: searx/templates/oscar/messages/no_results.html:10 +#: searx/templates/simple/messages/no_results.html:10 +msgid "Please, try again later or find another searx instance." +msgstr "لطفا بعدا دوباره تلاش کنید و یا به دنبال نمونه‌ای دیگری از searx بگردید." + +#: searx/templates/oscar/messages/no_results.html:14 +#: searx/templates/simple/messages/no_results.html:14 +msgid "Sorry!" +msgstr "ببخشید!" + +#: searx/templates/oscar/messages/no_results.html:15 +#: searx/templates/simple/messages/no_results.html:15 +msgid "" +"we didn't find any results. Please use another query or search in more " +"categories." +msgstr "چیزی پیدا نشد. لطفا جستار دیگری را امتحان و یا در دسته‌ های بیشتری جستجو کنید." + +#: searx/templates/oscar/messages/save_settings_successfull.html:7 +msgid "Well done!" +msgstr "آفرین!<br>" + +#: searx/templates/oscar/messages/save_settings_successfull.html:8 +msgid "Settings saved successfully." +msgstr "تنظیمات با موفقیت ذخیره شد!<br>" + +#: searx/templates/oscar/messages/unknow_error.html:7 +msgid "Oh snap!" +msgstr "ای وای! خراب شد!<br>" + +#: searx/templates/oscar/messages/unknow_error.html:8 +msgid "Something went wrong." +msgstr "مشکلی رخ داد." + +#: searx/templates/oscar/result_templates/default.html:7 +#: searx/templates/simple/result_templates/default.html:6 +msgid "show media" +msgstr "نمایش رسانه<br>" + +#: searx/templates/oscar/result_templates/default.html:7 +#: searx/templates/simple/result_templates/default.html:6 +msgid "hide media" +msgstr "پنهان سازی رسانه<br>" + +#: searx/templates/oscar/result_templates/images.html:30 +msgid "Get image" +msgstr "دریافت تصویر" + +#: searx/templates/oscar/result_templates/images.html:33 +msgid "View source" +msgstr "نمایش منبع" + +#: searx/templates/oscar/result_templates/map.html:7 +#: searx/templates/simple/result_templates/map.html:7 +msgid "show map" +msgstr "نمایش نقشه" + +#: searx/templates/oscar/result_templates/map.html:7 +#: searx/templates/simple/result_templates/map.html:7 +msgid "hide map" +msgstr "پنهان‌سازی نقشه" + +#: searx/templates/oscar/result_templates/map.html:11 +#: searx/templates/simple/result_templates/map.html:11 +msgid "show details" +msgstr "نمایش جزئیات" + +#: searx/templates/oscar/result_templates/map.html:11 +#: searx/templates/simple/result_templates/map.html:11 +msgid "hide details" +msgstr "پنهان‌سازی جزئیات" + +#: searx/templates/oscar/result_templates/torrent.html:7 +#: searx/templates/simple/result_templates/torrent.html:11 +msgid "Filesize" +msgstr "اندازه فایل<br>" + +#: searx/templates/oscar/result_templates/torrent.html:9 +#: searx/templates/simple/result_templates/torrent.html:12 +msgid "Bytes" +msgstr "بایت" + +#: searx/templates/oscar/result_templates/torrent.html:10 +#: searx/templates/simple/result_templates/torrent.html:13 +msgid "kiB" +msgstr "کیلوبایت" + +#: searx/templates/oscar/result_templates/torrent.html:11 +#: searx/templates/simple/result_templates/torrent.html:14 +msgid "MiB" +msgstr "مگابایت" + +#: searx/templates/oscar/result_templates/torrent.html:12 +#: searx/templates/simple/result_templates/torrent.html:15 +msgid "GiB" +msgstr "گیگابایت" + +#: searx/templates/oscar/result_templates/torrent.html:13 +#: searx/templates/simple/result_templates/torrent.html:16 +msgid "TiB" +msgstr "ترابایت" + +#: searx/templates/oscar/result_templates/torrent.html:15 +#: searx/templates/simple/result_templates/torrent.html:20 +msgid "Number of Files" +msgstr "تعداد فایل ها" + +#: searx/templates/oscar/result_templates/videos.html:7 +#: searx/templates/simple/result_templates/videos.html:6 +msgid "show video" +msgstr "نمایش ویدئو" + +#: searx/templates/oscar/result_templates/videos.html:7 +#: searx/templates/simple/result_templates/videos.html:6 +msgid "hide video" +msgstr "پنهان‌سازی ویدئو" + +#: searx/templates/pix-art/results.html:28 +msgid "Load more..." +msgstr "بیشتر…<br>" + +#: searx/templates/simple/base.html:31 +msgid "No item found" +msgstr "چیزی پیدا نشد" + +#: searx/templates/simple/preferences.html:89 +msgid "Supports selected language" +msgstr "زبان انتخاب شده را پشتیبانی می‌کند" + +#: searx/templates/simple/preferences.html:118 +msgid "User interface" +msgstr "رابط کاربری" + +#: searx/templates/simple/preferences.html:154 +msgid "Privacy" +msgstr "حریم خصوصی" diff --git a/searx/translations/fi/LC_MESSAGES/messages.mo b/searx/translations/fi/LC_MESSAGES/messages.mo index c6aa15235d..b3905ca2f4 100644 Binary files a/searx/translations/fi/LC_MESSAGES/messages.mo and b/searx/translations/fi/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/fil/LC_MESSAGES/messages.mo b/searx/translations/fil/LC_MESSAGES/messages.mo index df14318fbf..f1b4e75c77 100644 Binary files a/searx/translations/fil/LC_MESSAGES/messages.mo and b/searx/translations/fil/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/fr/LC_MESSAGES/messages.mo b/searx/translations/fr/LC_MESSAGES/messages.mo index f9a72717a6..7fd3ee8917 100644 Binary files a/searx/translations/fr/LC_MESSAGES/messages.mo and b/searx/translations/fr/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/fr/LC_MESSAGES/messages.po b/searx/translations/fr/LC_MESSAGES/messages.po index 60c8038059..4c076ddbf7 100644 --- a/searx/translations/fr/LC_MESSAGES/messages.po +++ b/searx/translations/fr/LC_MESSAGES/messages.po @@ -3,7 +3,7 @@ # This file is distributed under the same license as the PROJECT project. # # Translators: -# Alexandre Flament <alex@al-f.net>, 2017 +# Alexandre Flament <alex@al-f.net>, 2017-2018 # Benjamin Sonntag <benjamin@sonntag.fr>, 2014 # Cqoicebordel <david.barouh@wanadoo.fr>, 2014 # Cqoicebordel <david.barouh@wanadoo.fr>, 2014-2017 @@ -16,8 +16,8 @@ msgstr "" "Project-Id-Version: searx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2017-11-01 21:31+0100\n" -"PO-Revision-Date: 2017-11-03 12:00+0000\n" -"Last-Translator: Cqoicebordel <david.barouh@wanadoo.fr>\n" +"PO-Revision-Date: 2018-04-03 08:18+0000\n" +"Last-Translator: Alexandre Flament <alex@al-f.net>\n" "Language-Team: French (http://www.transifex.com/asciimoo/searx/language/fr/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -84,7 +84,7 @@ msgstr "Paramètres non valides, veuillez éditer vos préférences" #: searx/webapp.py:415 msgid "Invalid settings" -msgstr "Réglages non valides" +msgstr "Paramètres non valides" #: searx/webapp.py:449 searx/webapp.py:493 msgid "search error" @@ -100,7 +100,7 @@ msgstr "il y a {hours} heure(s), {minutes} minute(s)" #: searx/answerers/random/answerer.py:53 msgid "Random value generator" -msgstr "Générateur aléatoire" +msgstr "Générateur de valeur aléatoire" #: searx/answerers/random/answerer.py:54 msgid "Generate different random values" @@ -138,7 +138,7 @@ msgstr "Score par résultat" #: searx/engines/__init__.py:214 searx/engines/flycheck___init__.py:221 msgid "Errors" -msgstr "Erreurs" +msgstr "Erreur" #: searx/engines/pdbe.py:87 msgid "{title}&nbsp;(OBSOLETE)" @@ -663,7 +663,7 @@ msgstr "Plugins" #: searx/templates/oscar/preferences.html:16 #: searx/templates/oscar/preferences.html:245 msgid "Answerers" -msgstr "Répondants" +msgstr "Réponses instantanées" #: searx/templates/oscar/preferences.html:17 #: searx/templates/oscar/preferences.html:272 diff --git a/searx/translations/gl/LC_MESSAGES/messages.mo b/searx/translations/gl/LC_MESSAGES/messages.mo new file mode 100644 index 0000000000..30d7b0dd60 Binary files /dev/null and b/searx/translations/gl/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/gl/LC_MESSAGES/messages.po b/searx/translations/gl/LC_MESSAGES/messages.po new file mode 100644 index 0000000000..3e1e2230fd --- /dev/null +++ b/searx/translations/gl/LC_MESSAGES/messages.po @@ -0,0 +1,1013 @@ +# Translations template for PROJECT. +# Copyright (C) 2017 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# +# Translators: +# Xosé M. Lamas <correo@xmgz.eu>, 2018 +msgid "" +msgstr "" +"Project-Id-Version: searx\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2017-11-01 21:31+0100\n" +"PO-Revision-Date: 2018-04-20 11:00+0000\n" +"Last-Translator: Xosé M. Lamas <correo@xmgz.eu>\n" +"Language-Team: Galician (http://www.transifex.com/asciimoo/searx/language/gl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.3.4\n" +"Language: gl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: searx/search.py:137 searx/search.py:182 +msgid "timeout" +msgstr "caducidade" + +#: searx/search.py:144 +msgid "request exception" +msgstr "excepción na petición" + +#: searx/search.py:151 +msgid "unexpected crash" +msgstr "fallo non agardado" + +#: searx/webapp.py:136 +msgid "files" +msgstr "ficheiros" + +#: searx/webapp.py:137 +msgid "general" +msgstr "xeral" + +#: searx/webapp.py:138 +msgid "music" +msgstr "música" + +#: searx/webapp.py:139 +msgid "social media" +msgstr "Medios sociais" + +#: searx/webapp.py:140 +msgid "images" +msgstr "imaxes" + +#: searx/webapp.py:141 +msgid "videos" +msgstr "vídeos" + +#: searx/webapp.py:142 +msgid "it" +msgstr "TIC" + +#: searx/webapp.py:143 +msgid "news" +msgstr "novas" + +#: searx/webapp.py:144 +msgid "map" +msgstr "mapa" + +#: searx/webapp.py:145 +msgid "science" +msgstr "ciencia" + +#: searx/webapp.py:399 searx/webapp.py:658 +msgid "Invalid settings, please edit your preferences" +msgstr "Axustes non válidos, por favor edite a configuración" + +#: searx/webapp.py:415 +msgid "Invalid settings" +msgstr "Axustes non válidos" + +#: searx/webapp.py:449 searx/webapp.py:493 +msgid "search error" +msgstr "fallo na busca" + +#: searx/webapp.py:530 +msgid "{minutes} minute(s) ago" +msgstr "hai {minutes} minuto(s)" + +#: searx/webapp.py:532 +msgid "{hours} hour(s), {minutes} minute(s) ago" +msgstr "hai {hours} hora(s), {minutes} minuto(s)" + +#: searx/answerers/random/answerer.py:53 +msgid "Random value generator" +msgstr "Xerador de valor aleatorio" + +#: searx/answerers/random/answerer.py:54 +msgid "Generate different random values" +msgstr "Xerar diferentes valores aleatorios" + +#: searx/answerers/statistics/answerer.py:53 +msgid "Statistics functions" +msgstr "Funcións de estatística" + +#: searx/answerers/statistics/answerer.py:54 +msgid "Compute {functions} of the arguments" +msgstr "Calcule {functions} dos argumentos" + +#: searx/engines/__init__.py:194 searx/engines/flycheck___init__.py:201 +msgid "Engine time (sec)" +msgstr "Tempo de busca (sec)" + +#: searx/engines/__init__.py:198 searx/engines/flycheck___init__.py:205 +msgid "Page loads (sec)" +msgstr "Cargou en (seg)" + +#: searx/engines/__init__.py:202 searx/engines/flycheck___init__.py:209 +#: searx/templates/oscar/results.html:95 +#: searx/templates/simple/results.html:20 +msgid "Number of results" +msgstr "Número de resultados" + +#: searx/engines/__init__.py:206 searx/engines/flycheck___init__.py:213 +msgid "Scores" +msgstr "Puntuacións" + +#: searx/engines/__init__.py:210 searx/engines/flycheck___init__.py:217 +msgid "Scores per result" +msgstr "Puntuacións por resultado" + +#: searx/engines/__init__.py:214 searx/engines/flycheck___init__.py:221 +msgid "Errors" +msgstr "Fallos" + +#: searx/engines/pdbe.py:87 +msgid "{title}&nbsp;(OBSOLETE)" +msgstr "{title}&nbsp;(OBSOLETO)" + +#: searx/engines/pdbe.py:91 +msgid "This entry has been superseded by" +msgstr "Esta entrada foi proporcionada por" + +#: searx/engines/pubmed.py:74 +msgid "No abstract is available for this publication." +msgstr "Non hai dispoñible un extracto para esta publicación." + +#: searx/plugins/https_rewrite.py:32 +msgid "Rewrite HTTP links to HTTPS if possible" +msgstr "Reescribir ligazóns HTTP a HTTPS si fose posible" + +#: searx/plugins/infinite_scroll.py:3 +msgid "Infinite scroll" +msgstr "Desplazamento infinito" + +#: searx/plugins/infinite_scroll.py:4 +msgid "Automatically load next page when scrolling to bottom of current page" +msgstr "Cargar automáticamente a seguinte páxina ao desplazarse ao fondo da páxina actual" + +#: searx/plugins/oa_doi_rewrite.py:9 +msgid "Open Access DOI rewrite" +msgstr "Reescritura Open Access DOI" + +#: searx/plugins/oa_doi_rewrite.py:10 +msgid "" +"Avoid paywalls by redirecting to open-access versions of publications when " +"available" +msgstr "Evitar muros de pago redirecciionando a versións públicas das publicacións cando estén dispoñibles" + +#: searx/plugins/open_results_on_new_tab.py:18 +#: searx/templates/oscar/preferences.html:114 +#: searx/templates/simple/preferences.html:149 +msgid "Open result links on new browser tabs" +msgstr "Abrir ligazóns de resultados en novas lapelas do navegador" + +#: searx/plugins/open_results_on_new_tab.py:19 +msgid "" +"Results are opened in the same window by default. This plugin overwrites the" +" default behaviour to open links on new tabs/windows. (JavaScript required)" +msgstr "Por omisión, os resultados ábrense na mesma lapela. Este engadido sobreescribe o comportamento por omisión para abrir as ligazóns en novas lapelas/ventás. (Require JavaScript)" + +#: searx/plugins/search_on_category_select.py:18 +msgid "Search on category select" +msgstr "Busca en categoría seleccionada" + +#: searx/plugins/search_on_category_select.py:19 +msgid "" +"Perform search immediately if a category selected. Disable to select " +"multiple categories. (JavaScript required)" +msgstr "Busca ao momento si hai unha categoría seleccionada. Desactivar para seleccionar múltiples categorías. (Require JavaScript)" + +#: searx/plugins/self_info.py:20 +msgid "" +"Displays your IP if the query is \"ip\" and your user agent if the query " +"contains \"user agent\"." +msgstr "Mostra o seu IP si a consulta é \"ip\" e o seu Use Agent si a consulta contén \"user agent\"." + +#: searx/plugins/tracker_url_remover.py:26 +msgid "Tracker URL remover" +msgstr "Eliminador de rastrexadores na URL" + +#: searx/plugins/tracker_url_remover.py:27 +msgid "Remove trackers arguments from the returned URL" +msgstr "Elimina os argumentos de rastrexo da URL devolta" + +#: searx/plugins/vim_hotkeys.py:3 +msgid "Vim-like hotkeys" +msgstr "Atallos como os de Vim" + +#: searx/plugins/vim_hotkeys.py:4 +msgid "" +"Navigate search results with Vim-like hotkeys (JavaScript required). Press " +"\"h\" key on main or result page to get help." +msgstr "Navegar nos resultados da busca con atallos como os de Vim (require JavaScript). Pulse \"h\" na pantalla principal ou de resultados para obter axuda." + +#: searx/templates/courgette/404.html:4 searx/templates/legacy/404.html:4 +#: searx/templates/oscar/404.html:4 searx/templates/pix-art/404.html:4 +#: searx/templates/simple/404.html:4 +msgid "Page not found" +msgstr "Páxina non atopada" + +#: searx/templates/courgette/404.html:6 searx/templates/legacy/404.html:6 +#: searx/templates/oscar/404.html:6 searx/templates/pix-art/404.html:6 +#: searx/templates/simple/404.html:6 +#, python-format +msgid "Go to %(search_page)s." +msgstr "Ir a %(search_page)s" + +#: searx/templates/courgette/404.html:6 searx/templates/legacy/404.html:6 +#: searx/templates/oscar/404.html:6 searx/templates/pix-art/404.html:6 +#: searx/templates/simple/404.html:6 +msgid "search page" +msgstr "páxina de busca" + +#: searx/templates/courgette/index.html:9 +#: searx/templates/courgette/index.html:13 +#: searx/templates/courgette/results.html:5 +#: searx/templates/legacy/index.html:8 searx/templates/legacy/index.html:12 +#: searx/templates/oscar/navbar.html:7 +#: searx/templates/oscar/preferences.html:3 +#: searx/templates/pix-art/index.html:8 +msgid "preferences" +msgstr "axustes" + +#: searx/templates/courgette/index.html:11 +#: searx/templates/legacy/index.html:10 searx/templates/oscar/about.html:2 +#: searx/templates/oscar/navbar.html:6 searx/templates/pix-art/index.html:7 +msgid "about" +msgstr "Sobre" + +#: searx/templates/courgette/preferences.html:5 +#: searx/templates/legacy/preferences.html:5 +#: searx/templates/oscar/preferences.html:8 +#: searx/templates/pix-art/preferences.html:5 +#: searx/templates/simple/preferences.html:26 +msgid "Preferences" +msgstr "Axustes" + +#: searx/templates/courgette/preferences.html:9 +#: searx/templates/legacy/preferences.html:9 +#: searx/templates/oscar/preferences.html:33 +#: searx/templates/oscar/preferences.html:35 +#: searx/templates/simple/preferences.html:34 +msgid "Default categories" +msgstr "Categorías por omisión" + +#: searx/templates/courgette/preferences.html:13 +#: searx/templates/legacy/preferences.html:14 +#: searx/templates/oscar/preferences.html:41 +#: searx/templates/pix-art/preferences.html:9 +#: searx/templates/simple/preferences.html:39 +#: searx/templates/simple/preferences.html:163 +msgid "Search language" +msgstr "Idioma de busca" + +#: searx/templates/courgette/preferences.html:16 +#: searx/templates/legacy/preferences.html:17 +#: searx/templates/oscar/languages.html:6 +#: searx/templates/pix-art/preferences.html:12 +#: searx/templates/simple/languages.html:2 +#: searx/templates/simple/preferences.html:42 +msgid "Default language" +msgstr "Idioma por omisión" + +#: searx/templates/courgette/preferences.html:24 +#: searx/templates/legacy/preferences.html:25 +#: searx/templates/oscar/preferences.html:47 +#: searx/templates/pix-art/preferences.html:20 +#: searx/templates/simple/preferences.html:120 +msgid "Interface language" +msgstr "Idioma da interface" + +#: searx/templates/courgette/preferences.html:34 +#: searx/templates/legacy/preferences.html:35 +#: searx/templates/oscar/preferences.html:57 +#: searx/templates/simple/preferences.html:51 +msgid "Autocomplete" +msgstr "Autocompletar" + +#: searx/templates/courgette/preferences.html:45 +#: searx/templates/legacy/preferences.html:46 +#: searx/templates/oscar/preferences.html:68 +#: searx/templates/simple/preferences.html:166 +msgid "Image proxy" +msgstr "Proxy de imaxes" + +#: searx/templates/courgette/preferences.html:48 +#: searx/templates/legacy/preferences.html:49 +#: searx/templates/oscar/preferences.html:72 +#: searx/templates/simple/preferences.html:169 +msgid "Enabled" +msgstr "Activado" + +#: searx/templates/courgette/preferences.html:49 +#: searx/templates/legacy/preferences.html:50 +#: searx/templates/oscar/preferences.html:73 +#: searx/templates/simple/preferences.html:170 +msgid "Disabled" +msgstr "Desactivado" + +#: searx/templates/courgette/preferences.html:54 +#: searx/templates/legacy/preferences.html:55 +#: searx/templates/oscar/preferences.html:77 +#: searx/templates/pix-art/preferences.html:30 +#: searx/templates/simple/preferences.html:156 +msgid "Method" +msgstr "Método" + +#: searx/templates/courgette/preferences.html:63 +#: searx/templates/legacy/preferences.html:64 +#: searx/templates/oscar/preferences.html:86 +#: searx/templates/oscar/preferences.html:165 +#: searx/templates/oscar/preferences.html:173 +#: searx/templates/simple/preferences.html:63 +#: searx/templates/simple/preferences.html:90 +msgid "SafeSearch" +msgstr "Busca segura" + +#: searx/templates/courgette/preferences.html:66 +#: searx/templates/legacy/preferences.html:67 +#: searx/templates/oscar/preferences.html:90 +#: searx/templates/simple/preferences.html:66 +msgid "Strict" +msgstr "Stricta" + +#: searx/templates/courgette/preferences.html:67 +#: searx/templates/legacy/preferences.html:68 +#: searx/templates/oscar/preferences.html:91 +#: searx/templates/simple/preferences.html:67 +msgid "Moderate" +msgstr "Moderada" + +#: searx/templates/courgette/preferences.html:68 +#: searx/templates/legacy/preferences.html:69 +#: searx/templates/oscar/preferences.html:92 +#: searx/templates/simple/preferences.html:68 +msgid "None" +msgstr "Ningunha" + +#: searx/templates/courgette/preferences.html:73 +#: searx/templates/legacy/preferences.html:74 +#: searx/templates/oscar/preferences.html:96 +#: searx/templates/pix-art/preferences.html:39 +#: searx/templates/simple/preferences.html:131 +msgid "Themes" +msgstr "Decorado" + +#: searx/templates/courgette/preferences.html:83 +msgid "Color" +msgstr "Cor" + +#: searx/templates/courgette/preferences.html:86 +msgid "Blue (default)" +msgstr "Azul (por omisión)" + +#: searx/templates/courgette/preferences.html:87 +msgid "Violet" +msgstr "Violeta" + +#: searx/templates/courgette/preferences.html:88 +msgid "Green" +msgstr "Verde" + +#: searx/templates/courgette/preferences.html:89 +msgid "Cyan" +msgstr "Cian" + +#: searx/templates/courgette/preferences.html:90 +msgid "Orange" +msgstr "Laranxa" + +#: searx/templates/courgette/preferences.html:91 +msgid "Red" +msgstr "Vermello" + +#: searx/templates/courgette/preferences.html:96 +#: searx/templates/legacy/preferences.html:93 +#: searx/templates/pix-art/preferences.html:49 +#: searx/templates/simple/preferences.html:77 +msgid "Currently used search engines" +msgstr "Motores de busca utilizados actualmente" + +#: searx/templates/courgette/preferences.html:100 +#: searx/templates/legacy/preferences.html:97 +#: searx/templates/oscar/preferences.html:162 +#: searx/templates/oscar/preferences.html:176 +#: searx/templates/pix-art/preferences.html:53 +#: searx/templates/simple/preferences.html:87 +msgid "Engine name" +msgstr "Nome do motor" + +#: searx/templates/courgette/preferences.html:101 +#: searx/templates/legacy/preferences.html:98 +msgid "Category" +msgstr "Categoría" + +#: searx/templates/courgette/preferences.html:102 +#: searx/templates/courgette/preferences.html:113 +#: searx/templates/legacy/preferences.html:99 +#: searx/templates/legacy/preferences.html:110 +#: searx/templates/oscar/preferences.html:161 +#: searx/templates/oscar/preferences.html:177 +#: searx/templates/pix-art/preferences.html:54 +#: searx/templates/pix-art/preferences.html:64 +#: searx/templates/simple/preferences.html:86 +msgid "Allow" +msgstr "Permitir" + +#: searx/templates/courgette/preferences.html:102 +#: searx/templates/courgette/preferences.html:114 +#: searx/templates/legacy/preferences.html:99 +#: searx/templates/legacy/preferences.html:111 +#: searx/templates/pix-art/preferences.html:54 +#: searx/templates/pix-art/preferences.html:65 +msgid "Block" +msgstr "Bloquear" + +#: searx/templates/courgette/preferences.html:122 +#: searx/templates/legacy/preferences.html:119 +#: searx/templates/oscar/preferences.html:297 +#: searx/templates/pix-art/preferences.html:73 +#: searx/templates/simple/preferences.html:180 +msgid "" +"These settings are stored in your cookies, this allows us not to store this " +"data about you." +msgstr "Estos axustes gárdanse en testemuños, esto permítenos non ter que gardar ningún datos sobre vostede." + +#: searx/templates/courgette/preferences.html:124 +#: searx/templates/legacy/preferences.html:121 +#: searx/templates/oscar/preferences.html:299 +#: searx/templates/pix-art/preferences.html:75 +#: searx/templates/simple/preferences.html:182 +msgid "" +"These cookies serve your sole convenience, we don't use these cookies to " +"track you." +msgstr "Estos testemuños son para a súa conveniencia, non utilizamos estos testemuños para rastrexala." + +#: searx/templates/courgette/preferences.html:127 +#: searx/templates/legacy/preferences.html:124 +#: searx/templates/oscar/preferences.html:305 +#: searx/templates/pix-art/preferences.html:78 +#: searx/templates/simple/preferences.html:185 +msgid "save" +msgstr "gardar" + +#: searx/templates/courgette/preferences.html:128 +#: searx/templates/legacy/preferences.html:125 +#: searx/templates/oscar/preferences.html:307 +#: searx/templates/simple/preferences.html:186 +msgid "Reset defaults" +msgstr "Restablecer" + +#: searx/templates/courgette/preferences.html:129 +#: searx/templates/legacy/preferences.html:126 +#: searx/templates/oscar/preferences.html:306 +#: searx/templates/pix-art/preferences.html:79 +#: searx/templates/simple/preferences.html:187 +msgid "back" +msgstr "atrás" + +#: searx/templates/courgette/results.html:12 +#: searx/templates/legacy/results.html:13 +#: searx/templates/oscar/results.html:136 +#: searx/templates/simple/results.html:58 +msgid "Search URL" +msgstr "Busca URL" + +#: searx/templates/courgette/results.html:16 +#: searx/templates/legacy/results.html:17 +#: searx/templates/oscar/results.html:141 +#: searx/templates/simple/results.html:62 +msgid "Download results" +msgstr "Descargar resultados" + +#: searx/templates/courgette/results.html:34 +#: searx/templates/legacy/results.html:35 +#: searx/templates/simple/results.html:10 +msgid "Answers" +msgstr "Respostas" + +#: searx/templates/courgette/results.html:42 +#: searx/templates/legacy/results.html:43 +#: searx/templates/oscar/results.html:116 +#: searx/templates/simple/results.html:42 +msgid "Suggestions" +msgstr "Suxestións" + +#: searx/templates/courgette/results.html:70 +#: searx/templates/legacy/results.html:81 +#: searx/templates/oscar/results.html:68 searx/templates/oscar/results.html:78 +#: searx/templates/simple/results.html:130 +msgid "previous page" +msgstr "páxina anterior" + +#: searx/templates/courgette/results.html:81 +#: searx/templates/legacy/results.html:92 +#: searx/templates/oscar/results.html:62 searx/templates/oscar/results.html:84 +#: searx/templates/simple/results.html:145 +msgid "next page" +msgstr "páxina seguinte" + +#: searx/templates/courgette/search.html:3 +#: searx/templates/legacy/search.html:3 searx/templates/oscar/search.html:6 +#: searx/templates/oscar/search_full.html:9 +#: searx/templates/pix-art/search.html:3 searx/templates/simple/search.html:4 +msgid "Search for..." +msgstr "Buscar por..." + +#: searx/templates/courgette/stats.html:4 searx/templates/legacy/stats.html:4 +#: searx/templates/oscar/stats.html:5 searx/templates/pix-art/stats.html:4 +#: searx/templates/simple/stats.html:7 +msgid "Engine stats" +msgstr "Estatísticas do buscador" + +#: searx/templates/courgette/result_templates/images.html:4 +#: searx/templates/legacy/result_templates/images.html:4 +#: searx/templates/pix-art/result_templates/images.html:4 +msgid "original context" +msgstr "contexto orixinal" + +#: searx/templates/courgette/result_templates/torrent.html:7 +#: searx/templates/legacy/result_templates/torrent.html:11 +#: searx/templates/oscar/result_templates/torrent.html:6 +#: searx/templates/simple/result_templates/torrent.html:9 +msgid "Seeder" +msgstr "Sementadora" + +#: searx/templates/courgette/result_templates/torrent.html:7 +#: searx/templates/legacy/result_templates/torrent.html:11 +#: searx/templates/oscar/result_templates/torrent.html:6 +#: searx/templates/simple/result_templates/torrent.html:9 +msgid "Leecher" +msgstr "Cliente" + +#: searx/templates/courgette/result_templates/torrent.html:9 +#: searx/templates/legacy/result_templates/torrent.html:9 +#: searx/templates/oscar/macros.html:23 +#: searx/templates/simple/result_templates/torrent.html:6 +msgid "magnet link" +msgstr "ligazón magnet" + +#: searx/templates/courgette/result_templates/torrent.html:10 +#: searx/templates/legacy/result_templates/torrent.html:10 +#: searx/templates/oscar/macros.html:24 +#: searx/templates/simple/result_templates/torrent.html:7 +msgid "torrent file" +msgstr "ficheiro torrent" + +#: searx/templates/legacy/categories.html:8 +#: searx/templates/simple/categories.html:6 +msgid "Click on the magnifier to perform search" +msgstr "Pulse na lupa para realizar a busca" + +#: searx/templates/legacy/preferences.html:84 +#: searx/templates/oscar/preferences.html:113 +#: searx/templates/simple/preferences.html:142 +msgid "Results on new tabs" +msgstr "Resultados en novas lapelas" + +#: searx/templates/legacy/preferences.html:87 +#: searx/templates/oscar/preferences.html:117 +#: searx/templates/simple/preferences.html:145 +msgid "On" +msgstr "On" + +#: searx/templates/legacy/preferences.html:88 +#: searx/templates/oscar/preferences.html:118 +#: searx/templates/simple/preferences.html:146 +msgid "Off" +msgstr "Off" + +#: searx/templates/legacy/result_templates/code.html:3 +#: searx/templates/legacy/result_templates/default.html:3 +#: searx/templates/legacy/result_templates/map.html:9 +#: searx/templates/oscar/macros.html:34 searx/templates/oscar/macros.html:48 +#: searx/templates/simple/macros.html:43 +msgid "cached" +msgstr "en memoria" + +#: searx/templates/oscar/advanced.html:4 +msgid "Advanced settings" +msgstr "Axustes avanzados" + +#: searx/templates/oscar/base.html:62 +#: searx/templates/oscar/messages/first_time.html:4 +#: searx/templates/oscar/messages/save_settings_successfull.html:5 +#: searx/templates/oscar/messages/unknow_error.html:5 +msgid "Close" +msgstr "Pechar" + +#: searx/templates/oscar/base.html:64 +#: searx/templates/oscar/messages/no_results.html:4 +#: searx/templates/simple/messages/no_results.html:4 +#: searx/templates/simple/results.html:25 +msgid "Error!" +msgstr "Fallo!" + +#: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 +msgid "Powered by" +msgstr "Proporcionado por" + +#: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 +msgid "a privacy-respecting, hackable metasearch engine" +msgstr "un metabuscador configurable e respetuoso coa intimidade" + +#: searx/templates/oscar/macros.html:36 searx/templates/oscar/macros.html:50 +#: searx/templates/simple/macros.html:43 +msgid "proxied" +msgstr "a través de proxy" + +#: searx/templates/oscar/macros.html:92 +msgid "supported" +msgstr "soportado" + +#: searx/templates/oscar/macros.html:96 +msgid "not supported" +msgstr "non soportado" + +#: searx/templates/oscar/preferences.html:13 +#: searx/templates/oscar/preferences.html:22 +#: searx/templates/simple/preferences.html:32 +msgid "General" +msgstr "Xeral" + +#: searx/templates/oscar/preferences.html:14 +#: searx/templates/oscar/preferences.html:146 +#: searx/templates/simple/preferences.html:76 +msgid "Engines" +msgstr "Motores" + +#: searx/templates/oscar/preferences.html:15 +#: searx/templates/oscar/preferences.html:219 +msgid "Plugins" +msgstr "Engadidos" + +#: searx/templates/oscar/preferences.html:16 +#: searx/templates/oscar/preferences.html:245 +msgid "Answerers" +msgstr "Respostas" + +#: searx/templates/oscar/preferences.html:17 +#: searx/templates/oscar/preferences.html:272 +msgid "Cookies" +msgstr "Testemuños" + +#: searx/templates/oscar/preferences.html:42 +#: searx/templates/simple/preferences.html:48 +msgid "What language do you prefer for search?" +msgstr "Qué idioma prefire para buscar?" + +#: searx/templates/oscar/preferences.html:48 +#: searx/templates/simple/preferences.html:128 +msgid "Change the language of the layout" +msgstr "Cambiar o idioma da disposición" + +#: searx/templates/oscar/preferences.html:58 +#: searx/templates/simple/preferences.html:60 +msgid "Find stuff as you type" +msgstr "Buscar nas cousas metras escribe" + +#: searx/templates/oscar/preferences.html:69 +#: searx/templates/simple/preferences.html:173 +msgid "Proxying image results through searx" +msgstr "Utilizar o proxy de searx para as imaxes dos resultados" + +#: searx/templates/oscar/preferences.html:78 +msgid "" +"Change how forms are submited, <a " +"href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\"" +" rel=\"external\">learn more about request methods</a>" +msgstr "Cambiar cómo se envían os formularios, <a href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\" rel=\"external\">coñeza máis sobre os métodos de consulta</a>" + +#: searx/templates/oscar/preferences.html:87 +#: searx/templates/simple/preferences.html:71 +msgid "Filter content" +msgstr "Filtro de contido" + +#: searx/templates/oscar/preferences.html:97 +#: searx/templates/simple/preferences.html:139 +msgid "Change searx layout" +msgstr "Cambiar a disposición de searx" + +#: searx/templates/oscar/preferences.html:106 +#: searx/templates/oscar/preferences.html:111 +msgid "Choose style for this theme" +msgstr "Escolla o estilo para este decorado" + +#: searx/templates/oscar/preferences.html:106 +#: searx/templates/oscar/preferences.html:111 +msgid "Style" +msgstr "Estilo" + +#: searx/templates/oscar/preferences.html:122 +msgid "Open Access DOI resolver" +msgstr "Resolutor Open Access DOI" + +#: searx/templates/oscar/preferences.html:123 +msgid "" +"Redirect to open-access versions of publications when available (plugin " +"required)" +msgstr "Redireccionar a versións abertas das publicacións cando estén dispoñibles (require o engadido)" + +#: searx/templates/oscar/preferences.html:163 +#: searx/templates/oscar/preferences.html:175 +#: searx/templates/simple/preferences.html:88 +msgid "Shortcut" +msgstr "Atallo" + +#: searx/templates/oscar/preferences.html:164 +#: searx/templates/oscar/preferences.html:174 +msgid "Selected language" +msgstr "Idioma seleccionado" + +#: searx/templates/oscar/preferences.html:166 +#: searx/templates/oscar/preferences.html:172 +#: searx/templates/simple/preferences.html:91 +msgid "Time range" +msgstr "Rango temporal" + +#: searx/templates/oscar/preferences.html:167 +#: searx/templates/oscar/preferences.html:171 +#: searx/templates/simple/preferences.html:92 +msgid "Avg. time" +msgstr "Tempo medio" + +#: searx/templates/oscar/preferences.html:168 +#: searx/templates/oscar/preferences.html:170 +#: searx/templates/simple/preferences.html:93 +msgid "Max time" +msgstr "Tempo máx." + +#: searx/templates/oscar/preferences.html:248 +msgid "This is the list of searx's instant answering modules." +msgstr "Este é o listado dos módulos de respostas instantáneas de searx" + +#: searx/templates/oscar/preferences.html:252 +msgid "Name" +msgstr "Nome" + +#: searx/templates/oscar/preferences.html:253 +msgid "Keywords" +msgstr "Palabras chave" + +#: searx/templates/oscar/preferences.html:254 +msgid "Description" +msgstr "Descrición" + +#: searx/templates/oscar/preferences.html:255 +msgid "Examples" +msgstr "Exemplos" + +#: searx/templates/oscar/preferences.html:275 +msgid "" +"This is the list of cookies and their values searx is storing on your " +"computer." +msgstr "Este é o listados dos testemuños e os seus valores que searx almacena na súa computadora." + +#: searx/templates/oscar/preferences.html:276 +msgid "With that list, you can assess searx transparency." +msgstr "Con esta lista vostede pode comprobar a transparencia de searx." + +#: searx/templates/oscar/preferences.html:281 +msgid "Cookie name" +msgstr "Nome do testemuño" + +#: searx/templates/oscar/preferences.html:282 +msgid "Value" +msgstr "Valor" + +#: searx/templates/oscar/preferences.html:301 +msgid "Search URL of the currently saved preferences" +msgstr "URL de busca dos axustes gardados actualmente." + +#: searx/templates/oscar/preferences.html:301 +msgid "" +"Note: specifying custom settings in the search URL can reduce privacy by " +"leaking data to the clicked result sites." +msgstr "Nota: indicando axustes personalizados na URL de busca pode reducir a súa intimidade ao filtrar datos aos sitios web dos resultados." + +#: searx/templates/oscar/results.html:17 +msgid "Search results" +msgstr "Resultados da busca" + +#: searx/templates/oscar/results.html:21 +#: searx/templates/simple/results.html:84 +msgid "Try searching for:" +msgstr "Intente buscar:" + +#: searx/templates/oscar/results.html:100 +#: searx/templates/simple/results.html:25 +msgid "Engines cannot retrieve results" +msgstr "Os buscadores non obtiveron resultados" + +#: searx/templates/oscar/results.html:131 +msgid "Links" +msgstr "Ligazóns" + +#: searx/templates/oscar/search.html:8 +#: searx/templates/oscar/search_full.html:11 +#: searx/templates/simple/search.html:5 +msgid "Start search" +msgstr "Iniciar busca" + +#: searx/templates/oscar/stats.html:2 +msgid "stats" +msgstr "estatísticas" + +#: searx/templates/oscar/time-range.html:3 +#: searx/templates/simple/time-range.html:3 +msgid "Anytime" +msgstr "Calquer momento" + +#: searx/templates/oscar/time-range.html:6 +#: searx/templates/simple/time-range.html:6 +msgid "Last day" +msgstr "Último día" + +#: searx/templates/oscar/time-range.html:9 +#: searx/templates/simple/time-range.html:9 +msgid "Last week" +msgstr "Última semana" + +#: searx/templates/oscar/time-range.html:12 +#: searx/templates/simple/time-range.html:12 +msgid "Last month" +msgstr "Último mes" + +#: searx/templates/oscar/time-range.html:15 +#: searx/templates/simple/time-range.html:15 +msgid "Last year" +msgstr "Último ano" + +#: searx/templates/oscar/messages/first_time.html:6 +#: searx/templates/oscar/messages/no_data_available.html:3 +msgid "Heads up!" +msgstr "Heads up!" + +#: searx/templates/oscar/messages/first_time.html:7 +msgid "It look like you are using searx first time." +msgstr "Semella que é a primeira vez que utiliza searx." + +#: searx/templates/oscar/messages/no_cookies.html:3 +msgid "Information!" +msgstr "Información!" + +#: searx/templates/oscar/messages/no_cookies.html:4 +msgid "currently, there are no cookies defined." +msgstr "actualmente non hai testemuños establecidos." + +#: searx/templates/oscar/messages/no_data_available.html:4 +msgid "There is currently no data available. " +msgstr "Non hai datos dispoñibles." + +#: searx/templates/oscar/messages/no_results.html:4 +#: searx/templates/simple/messages/no_results.html:4 +msgid "Engines cannot retrieve results." +msgstr "Os buscadores non poden obter resultados." + +#: searx/templates/oscar/messages/no_results.html:10 +#: searx/templates/simple/messages/no_results.html:10 +msgid "Please, try again later or find another searx instance." +msgstr "Por favor, inténteo de novo máis tarde ou busque outra instancia de searx." + +#: searx/templates/oscar/messages/no_results.html:14 +#: searx/templates/simple/messages/no_results.html:14 +msgid "Sorry!" +msgstr "Sentímolo!" + +#: searx/templates/oscar/messages/no_results.html:15 +#: searx/templates/simple/messages/no_results.html:15 +msgid "" +"we didn't find any results. Please use another query or search in more " +"categories." +msgstr "non atopamos ningún resultado. Por favor, utilice outra consulta ou busque en máis categorías." + +#: searx/templates/oscar/messages/save_settings_successfull.html:7 +msgid "Well done!" +msgstr "Ben feito!" + +#: searx/templates/oscar/messages/save_settings_successfull.html:8 +msgid "Settings saved successfully." +msgstr "Gardáronse correctamente os Axustes." + +#: searx/templates/oscar/messages/unknow_error.html:7 +msgid "Oh snap!" +msgstr "Vaia!" + +#: searx/templates/oscar/messages/unknow_error.html:8 +msgid "Something went wrong." +msgstr "Algo fallou." + +#: searx/templates/oscar/result_templates/default.html:7 +#: searx/templates/simple/result_templates/default.html:6 +msgid "show media" +msgstr "mostrar medios" + +#: searx/templates/oscar/result_templates/default.html:7 +#: searx/templates/simple/result_templates/default.html:6 +msgid "hide media" +msgstr "agochar medios" + +#: searx/templates/oscar/result_templates/images.html:30 +msgid "Get image" +msgstr "Obter imaxe" + +#: searx/templates/oscar/result_templates/images.html:33 +msgid "View source" +msgstr "Ver fonte" + +#: searx/templates/oscar/result_templates/map.html:7 +#: searx/templates/simple/result_templates/map.html:7 +msgid "show map" +msgstr "mostrar mapa" + +#: searx/templates/oscar/result_templates/map.html:7 +#: searx/templates/simple/result_templates/map.html:7 +msgid "hide map" +msgstr "agochar mapa" + +#: searx/templates/oscar/result_templates/map.html:11 +#: searx/templates/simple/result_templates/map.html:11 +msgid "show details" +msgstr "mostrar detalles" + +#: searx/templates/oscar/result_templates/map.html:11 +#: searx/templates/simple/result_templates/map.html:11 +msgid "hide details" +msgstr "agochar detalles" + +#: searx/templates/oscar/result_templates/torrent.html:7 +#: searx/templates/simple/result_templates/torrent.html:11 +msgid "Filesize" +msgstr "Tamaño do ficheiro" + +#: searx/templates/oscar/result_templates/torrent.html:9 +#: searx/templates/simple/result_templates/torrent.html:12 +msgid "Bytes" +msgstr "Bytes" + +#: searx/templates/oscar/result_templates/torrent.html:10 +#: searx/templates/simple/result_templates/torrent.html:13 +msgid "kiB" +msgstr "kiB" + +#: searx/templates/oscar/result_templates/torrent.html:11 +#: searx/templates/simple/result_templates/torrent.html:14 +msgid "MiB" +msgstr "MiB" + +#: searx/templates/oscar/result_templates/torrent.html:12 +#: searx/templates/simple/result_templates/torrent.html:15 +msgid "GiB" +msgstr "GiB" + +#: searx/templates/oscar/result_templates/torrent.html:13 +#: searx/templates/simple/result_templates/torrent.html:16 +msgid "TiB" +msgstr "TiB" + +#: searx/templates/oscar/result_templates/torrent.html:15 +#: searx/templates/simple/result_templates/torrent.html:20 +msgid "Number of Files" +msgstr "Número de ficheiros" + +#: searx/templates/oscar/result_templates/videos.html:7 +#: searx/templates/simple/result_templates/videos.html:6 +msgid "show video" +msgstr "mostrar vídeo" + +#: searx/templates/oscar/result_templates/videos.html:7 +#: searx/templates/simple/result_templates/videos.html:6 +msgid "hide video" +msgstr "agochar vídeo" + +#: searx/templates/pix-art/results.html:28 +msgid "Load more..." +msgstr "Cargar máis..." + +#: searx/templates/simple/base.html:31 +msgid "No item found" +msgstr "Non se atoparon elementos" + +#: searx/templates/simple/preferences.html:89 +msgid "Supports selected language" +msgstr "Soporta o idioma seleccionado" + +#: searx/templates/simple/preferences.html:118 +msgid "User interface" +msgstr "Interface de usuaria" + +#: searx/templates/simple/preferences.html:154 +msgid "Privacy" +msgstr "Intimidade" diff --git a/searx/translations/he/LC_MESSAGES/messages.mo b/searx/translations/he/LC_MESSAGES/messages.mo index 10bb25c50c..c034025007 100644 Binary files a/searx/translations/he/LC_MESSAGES/messages.mo and b/searx/translations/he/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/hr/LC_MESSAGES/messages.mo b/searx/translations/hr/LC_MESSAGES/messages.mo index ee986d5c9d..9e232a1513 100644 Binary files a/searx/translations/hr/LC_MESSAGES/messages.mo and b/searx/translations/hr/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/hu/LC_MESSAGES/messages.mo b/searx/translations/hu/LC_MESSAGES/messages.mo index 4e06f2fd37..392dc99dff 100644 Binary files a/searx/translations/hu/LC_MESSAGES/messages.mo and b/searx/translations/hu/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/it/LC_MESSAGES/messages.mo b/searx/translations/it/LC_MESSAGES/messages.mo index 49dabadcf1..53eca9e674 100644 Binary files a/searx/translations/it/LC_MESSAGES/messages.mo and b/searx/translations/it/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/it/LC_MESSAGES/messages.po b/searx/translations/it/LC_MESSAGES/messages.po index b2db9b3f7f..c2d5c85887 100644 --- a/searx/translations/it/LC_MESSAGES/messages.po +++ b/searx/translations/it/LC_MESSAGES/messages.po @@ -5,18 +5,20 @@ # Translators: # Adam Tauber <asciimoo@gmail.com>, 2018 # caoswave, 2016 -# caoswave, 2016-2017 +# caoswave, 2016-2018 # dp <d.pitrolo@gmx.com>, 2014 # dp <d.pitrolo@gmx.com>, 2014,2017 +# Federico <fedett@gmail.com>, 2018 # Luca C <mybusiness@yopmail.com>, 2017 # Luc <luc.absil2@gmail.com>, 2015 +# Random_R, 2018 msgid "" msgstr "" "Project-Id-Version: searx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2017-11-01 21:31+0100\n" -"PO-Revision-Date: 2018-02-01 22:21+0000\n" -"Last-Translator: Adam Tauber <asciimoo@gmail.com>\n" +"PO-Revision-Date: 2018-10-16 15:53+0000\n" +"Last-Translator: caoswave\n" "Language-Team: Italian (http://www.transifex.com/asciimoo/searx/language/it/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -31,7 +33,7 @@ msgstr "tempo scaduto" #: searx/search.py:144 msgid "request exception" -msgstr "" +msgstr "eccezione della richiesta" #: searx/search.py:151 msgid "unexpected crash" @@ -149,7 +151,7 @@ msgstr "Questa voce è stata sostituita da" #: searx/engines/pubmed.py:74 msgid "No abstract is available for this publication." -msgstr "" +msgstr "Nessun sommario disponibile per questa pubblicazione" #: searx/plugins/https_rewrite.py:32 msgid "Rewrite HTTP links to HTTPS if possible" @@ -199,7 +201,7 @@ msgstr "Esegui la ricerca immediatamente se una categoria è selezionata. Disabi msgid "" "Displays your IP if the query is \"ip\" and your user agent if the query " "contains \"user agent\"." -msgstr "Mostra il tuo IP se hai cercato \\\"ip\\\" ed il tuo user agent se hai cercato \\\"user agent\\\"." +msgstr "Mostra il tuo IP se hai cercato \"ip\" ed il tuo user agent se hai cercato \"user agent\"." #: searx/plugins/tracker_url_remover.py:26 msgid "Tracker URL remover" @@ -217,7 +219,7 @@ msgstr "Scorciatoie in stile Vim" msgid "" "Navigate search results with Vim-like hotkeys (JavaScript required). Press " "\"h\" key on main or result page to get help." -msgstr "Usa comandi in stile Vim per navigare tra i risultati (JavaScript necessario). Premi il tasto \\\"h\\\" per visualizzare la finestra d'aiuto." +msgstr "Usa comandi in stile Vim per navigare tra i risultati (JavaScript necessario). Premi il tasto \"h\" per visualizzare la finestra d'aiuto." #: searx/templates/courgette/404.html:4 searx/templates/legacy/404.html:4 #: searx/templates/oscar/404.html:4 searx/templates/pix-art/404.html:4 @@ -718,13 +720,13 @@ msgstr "Stile" #: searx/templates/oscar/preferences.html:122 msgid "Open Access DOI resolver" -msgstr "" +msgstr "Resolver Open Access DOI" #: searx/templates/oscar/preferences.html:123 msgid "" "Redirect to open-access versions of publications when available (plugin " "required)" -msgstr "" +msgstr "Indirizza a versioni open-access delle pubblicazioni quando disponibili (plugin richiesto)" #: searx/templates/oscar/preferences.html:163 #: searx/templates/oscar/preferences.html:175 @@ -795,13 +797,13 @@ msgstr "Valore" #: searx/templates/oscar/preferences.html:301 msgid "Search URL of the currently saved preferences" -msgstr "" +msgstr "Cerca URL delle preferenze attualmente salvate" #: searx/templates/oscar/preferences.html:301 msgid "" "Note: specifying custom settings in the search URL can reduce privacy by " "leaking data to the clicked result sites." -msgstr "" +msgstr "Nota: specificando impostazioni personalizzate nella ricerca URL può ridurre la privacy facendo traperlare dati ai siti cliccati" #: searx/templates/oscar/results.html:17 msgid "Search results" @@ -815,7 +817,7 @@ msgstr "Prova a cercare:" #: searx/templates/oscar/results.html:100 #: searx/templates/simple/results.html:25 msgid "Engines cannot retrieve results" -msgstr "" +msgstr "I motori di ricerca non riescono a recuperare risultati" #: searx/templates/oscar/results.html:131 msgid "Links" @@ -880,7 +882,7 @@ msgstr "Non ci sono dati attualmente disponibili." #: searx/templates/oscar/messages/no_results.html:4 #: searx/templates/simple/messages/no_results.html:4 msgid "Engines cannot retrieve results." -msgstr "" +msgstr "I motori di ricerca non riescono a recuperare risultati" #: searx/templates/oscar/messages/no_results.html:10 #: searx/templates/simple/messages/no_results.html:10 diff --git a/searx/translations/ja/LC_MESSAGES/messages.mo b/searx/translations/ja/LC_MESSAGES/messages.mo index 39ea698cbc..eb1267287a 100644 Binary files a/searx/translations/ja/LC_MESSAGES/messages.mo and b/searx/translations/ja/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/ja/LC_MESSAGES/messages.po b/searx/translations/ja/LC_MESSAGES/messages.po index 11a297ca28..24d2c359ef 100644 --- a/searx/translations/ja/LC_MESSAGES/messages.po +++ b/searx/translations/ja/LC_MESSAGES/messages.po @@ -3,11 +3,12 @@ # This file is distributed under the same license as the PROJECT project. # # Translators: -# Akio Nishimura <akionux@gmail.com>, 2016-2017 +# Akio Nishimura <akionux@gmail.com>, 2016-2018 # Thomas Pointhuber, 2014-2015 # FIRST AUTHOR <EMAIL@ADDRESS>, 2014,2016 # Lucas Phillips <mail@lep.pw>, 2015 # Max <theshirinzu@gmail.com>, 2015 +# Nobuhiro Iwamatsu <iwamatsu@nigauri.org>, 2018 # pointhi, 2014 # Thomas Pointhuber, 2015-2016 msgid "" @@ -15,8 +16,8 @@ msgstr "" "Project-Id-Version: searx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2017-11-01 21:31+0100\n" -"PO-Revision-Date: 2017-11-01 20:31+0000\n" -"Last-Translator: Adam Tauber <asciimoo@gmail.com>\n" +"PO-Revision-Date: 2018-08-13 03:03+0000\n" +"Last-Translator: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>\n" "Language-Team: Japanese (http://www.transifex.com/asciimoo/searx/language/ja/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -27,15 +28,15 @@ msgstr "" #: searx/search.py:137 searx/search.py:182 msgid "timeout" -msgstr "" +msgstr "タイムアウト" #: searx/search.py:144 msgid "request exception" -msgstr "" +msgstr "例外要求" #: searx/search.py:151 msgid "unexpected crash" -msgstr "" +msgstr "予期しないクラッシュ" #: searx/webapp.py:136 msgid "files" @@ -83,7 +84,7 @@ msgstr "不正な設定です。設定を編集してください。" #: searx/webapp.py:415 msgid "Invalid settings" -msgstr "" +msgstr "不正な設定" #: searx/webapp.py:449 searx/webapp.py:493 msgid "search error" @@ -149,11 +150,11 @@ msgstr "このエントリーの優先" #: searx/engines/pubmed.py:74 msgid "No abstract is available for this publication." -msgstr "" +msgstr "この出版物には要約がありません。" #: searx/plugins/https_rewrite.py:32 msgid "Rewrite HTTP links to HTTPS if possible" -msgstr "可能ならばHTTPリンクをHTTPSリンクに書き換える" +msgstr "可能ならば HTTP リンクを HTTPS リンクに書き換える" #: searx/plugins/infinite_scroll.py:3 msgid "Infinite scroll" @@ -165,7 +166,7 @@ msgstr "現在のページの下端でスクロールすると自動的に次の #: searx/plugins/oa_doi_rewrite.py:9 msgid "Open Access DOI rewrite" -msgstr "" +msgstr "オープンアクセス DOI リライト" #: searx/plugins/oa_doi_rewrite.py:10 msgid "" @@ -183,7 +184,7 @@ msgstr "検索結果のリンクを新しいタブで開く" msgid "" "Results are opened in the same window by default. This plugin overwrites the" " default behaviour to open links on new tabs/windows. (JavaScript required)" -msgstr "デフォルトでは結果は同じウィンドウで開きます。このプラグインはデフォルトの動作を書き換えて新しいタブ/ウィンドウで開くようにします。(JavaScriptが必要です)" +msgstr "デフォルトでは結果は同じウィンドウで開きます。このプラグインはデフォルトの動作を書き換えて新しいタブ/ウィンドウで開くようにします。(JavaScript が必要です)" #: searx/plugins/search_on_category_select.py:18 msgid "Search on category select" @@ -193,37 +194,37 @@ msgstr "カテゴリ選択したら検索を実行" msgid "" "Perform search immediately if a category selected. Disable to select " "multiple categories. (JavaScript required)" -msgstr "カテゴリが選択されたときに検索を実行します。複数のカテゴリを選択する場合は無効にします。(JavaScriptが必要です)" +msgstr "カテゴリが選択されたときに検索を実行します。複数のカテゴリを選択する場合は無効にします。(JavaScript が必要です)" #: searx/plugins/self_info.py:20 msgid "" "Displays your IP if the query is \"ip\" and your user agent if the query " "contains \"user agent\"." -msgstr "クエリが \"ip\" の場合にあなたのIPを、クエリに\"user agent\"が含まれる場合にあなたのユーザーエージェントを表示します。" +msgstr "クエリが \"ip\" の場合にあなたのIPを、クエリに \"user agent\" が含まれる場合にあなたのユーザーエージェントを表示します。" #: searx/plugins/tracker_url_remover.py:26 msgid "Tracker URL remover" -msgstr "トラッカーURLリムーバー" +msgstr "トラッカー URL リムーバー" #: searx/plugins/tracker_url_remover.py:27 msgid "Remove trackers arguments from the returned URL" -msgstr "返されたURLからトラッカー引数を消去します。" +msgstr "返された URL からトラッカー引数を消去する" #: searx/plugins/vim_hotkeys.py:3 msgid "Vim-like hotkeys" -msgstr "Vim風のホットキー" +msgstr "Vim 風のホットキー" #: searx/plugins/vim_hotkeys.py:4 msgid "" "Navigate search results with Vim-like hotkeys (JavaScript required). Press " "\"h\" key on main or result page to get help." -msgstr "検索結果をVim風のホットキーで操作します(JavaScriptが必要)。メインページまたは検索結果ページで\"h\"キーを押してヘルプを表示します。" +msgstr "検索結果をVim 風のホットキーで操作します(JavaScript が必要)。メインページまたは検索結果ページで \"h\" キーを押してヘルプを表示します。" #: searx/templates/courgette/404.html:4 searx/templates/legacy/404.html:4 #: searx/templates/oscar/404.html:4 searx/templates/pix-art/404.html:4 #: searx/templates/simple/404.html:4 msgid "Page not found" -msgstr "ページが見付かりません" +msgstr "ページが見つかりません" #: searx/templates/courgette/404.html:6 searx/templates/legacy/404.html:6 #: searx/templates/oscar/404.html:6 searx/templates/pix-art/404.html:6 @@ -315,14 +316,14 @@ msgstr "画像プロキシ" #: searx/templates/oscar/preferences.html:72 #: searx/templates/simple/preferences.html:169 msgid "Enabled" -msgstr "有効にする" +msgstr "有効" #: searx/templates/courgette/preferences.html:49 #: searx/templates/legacy/preferences.html:50 #: searx/templates/oscar/preferences.html:73 #: searx/templates/simple/preferences.html:170 msgid "Disabled" -msgstr "使用不可能にする" +msgstr "無効" #: searx/templates/courgette/preferences.html:54 #: searx/templates/legacy/preferences.html:55 @@ -489,7 +490,7 @@ msgstr "戻る" #: searx/templates/oscar/results.html:136 #: searx/templates/simple/results.html:58 msgid "Search URL" -msgstr "URLを検索する" +msgstr "URL を検索する" #: searx/templates/courgette/results.html:16 #: searx/templates/legacy/results.html:17 @@ -623,7 +624,7 @@ msgstr "エラー!" #: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 msgid "Powered by" -msgstr "提供:" +msgstr "Powered by" #: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 msgid "a privacy-respecting, hackable metasearch engine" @@ -636,11 +637,11 @@ msgstr "プロキシされている" #: searx/templates/oscar/macros.html:92 msgid "supported" -msgstr "" +msgstr "サポート" #: searx/templates/oscar/macros.html:96 msgid "not supported" -msgstr "" +msgstr "未サポート" #: searx/templates/oscar/preferences.html:13 #: searx/templates/oscar/preferences.html:22 @@ -672,12 +673,12 @@ msgstr "クッキー" #: searx/templates/oscar/preferences.html:42 #: searx/templates/simple/preferences.html:48 msgid "What language do you prefer for search?" -msgstr "検索に使う言語はどれが良いですか?" +msgstr "検索に使う言語はどれが良いですか?" #: searx/templates/oscar/preferences.html:48 #: searx/templates/simple/preferences.html:128 msgid "Change the language of the layout" -msgstr "表示する言語を変更できます" +msgstr "表示する言語を変更" #: searx/templates/oscar/preferences.html:58 #: searx/templates/simple/preferences.html:60 @@ -687,7 +688,7 @@ msgstr "入力補助に使う検索エンジン" #: searx/templates/oscar/preferences.html:69 #: searx/templates/simple/preferences.html:173 msgid "Proxying image results through searx" -msgstr "画像検索結果をsearxでプロキシする" +msgstr "画像検索結果を searx でプロキシする" #: searx/templates/oscar/preferences.html:78 msgid "" @@ -704,7 +705,7 @@ msgstr "コンテンツをフィルタリングする" #: searx/templates/oscar/preferences.html:97 #: searx/templates/simple/preferences.html:139 msgid "Change searx layout" -msgstr "searxのレイアウトの変更" +msgstr "Searx のレイアウトの変更" #: searx/templates/oscar/preferences.html:106 #: searx/templates/oscar/preferences.html:111 @@ -718,13 +719,13 @@ msgstr "スタイル" #: searx/templates/oscar/preferences.html:122 msgid "Open Access DOI resolver" -msgstr "" +msgstr "オープンアクセス DOI リゾルバー" #: searx/templates/oscar/preferences.html:123 msgid "" "Redirect to open-access versions of publications when available (plugin " "required)" -msgstr "" +msgstr "利用可能な場合(プラグインが必要)、オープンアクセス版の出版物にリダイレクトする" #: searx/templates/oscar/preferences.html:163 #: searx/templates/oscar/preferences.html:175 @@ -735,7 +736,7 @@ msgstr "ショートカット" #: searx/templates/oscar/preferences.html:164 #: searx/templates/oscar/preferences.html:174 msgid "Selected language" -msgstr "" +msgstr "選択された言語" #: searx/templates/oscar/preferences.html:166 #: searx/templates/oscar/preferences.html:172 @@ -757,7 +758,7 @@ msgstr "最大時間" #: searx/templates/oscar/preferences.html:248 msgid "This is the list of searx's instant answering modules." -msgstr "これはsearxの即席回答モジュールのリストです。" +msgstr "これは searx の即席回答モジュールのリストです。" #: searx/templates/oscar/preferences.html:252 msgid "Name" @@ -783,7 +784,7 @@ msgstr "これはクッキーのリストで、これらの値はあなたのコ #: searx/templates/oscar/preferences.html:276 msgid "With that list, you can assess searx transparency." -msgstr "このリストによって、あなたはsearxの透明性を評価できます。" +msgstr "このリストによって、あなたは searx の透明性を評価できます。" #: searx/templates/oscar/preferences.html:281 msgid "Cookie name" @@ -795,13 +796,13 @@ msgstr "値" #: searx/templates/oscar/preferences.html:301 msgid "Search URL of the currently saved preferences" -msgstr "" +msgstr "現在保存されている設定の検索 URL" #: searx/templates/oscar/preferences.html:301 msgid "" "Note: specifying custom settings in the search URL can reduce privacy by " "leaking data to the clicked result sites." -msgstr "" +msgstr "注意: 検索 URL にカスタム設定を指定すると、クリックした結果サイトにデータが漏洩し、プライバシーが低下する恐れがあります。" #: searx/templates/oscar/results.html:17 msgid "Search results" @@ -810,12 +811,12 @@ msgstr "検索結果" #: searx/templates/oscar/results.html:21 #: searx/templates/simple/results.html:84 msgid "Try searching for:" -msgstr "" +msgstr "検索:" #: searx/templates/oscar/results.html:100 #: searx/templates/simple/results.html:25 msgid "Engines cannot retrieve results" -msgstr "" +msgstr "エンジンは結果を取得できません" #: searx/templates/oscar/results.html:131 msgid "Links" @@ -859,15 +860,15 @@ msgstr "去年" #: searx/templates/oscar/messages/first_time.html:6 #: searx/templates/oscar/messages/no_data_available.html:3 msgid "Heads up!" -msgstr "お知らせ" +msgstr "気をつけて!" #: searx/templates/oscar/messages/first_time.html:7 msgid "It look like you are using searx first time." -msgstr "searxを使うのは初めてようですね。" +msgstr "Searxを使うのは初めてようですね。" #: searx/templates/oscar/messages/no_cookies.html:3 msgid "Information!" -msgstr "お知らせ" +msgstr "お知らせ!" #: searx/templates/oscar/messages/no_cookies.html:4 msgid "currently, there are no cookies defined." @@ -880,12 +881,12 @@ msgstr "現在データがありません。" #: searx/templates/oscar/messages/no_results.html:4 #: searx/templates/simple/messages/no_results.html:4 msgid "Engines cannot retrieve results." -msgstr "" +msgstr "エンジンは結果を取得できません。" #: searx/templates/oscar/messages/no_results.html:10 #: searx/templates/simple/messages/no_results.html:10 msgid "Please, try again later or find another searx instance." -msgstr "" +msgstr "後でやり直すか、別の searx インスタンスを探して下さい。" #: searx/templates/oscar/messages/no_results.html:14 #: searx/templates/simple/messages/no_results.html:14 @@ -901,7 +902,7 @@ msgstr "検索結果はありませんでした。別カテゴリで、他のク #: searx/templates/oscar/messages/save_settings_successfull.html:7 msgid "Well done!" -msgstr "あっぱれ。" +msgstr "あっぱれ!" #: searx/templates/oscar/messages/save_settings_successfull.html:8 msgid "Settings saved successfully." @@ -909,7 +910,7 @@ msgstr "設定の保存に成功しました。" #: searx/templates/oscar/messages/unknow_error.html:7 msgid "Oh snap!" -msgstr "ちぇっ" +msgstr "ちぇっ!" #: searx/templates/oscar/messages/unknow_error.html:8 msgid "Something went wrong." @@ -956,7 +957,7 @@ msgstr "詳細を隠す" #: searx/templates/oscar/result_templates/torrent.html:7 #: searx/templates/simple/result_templates/torrent.html:11 msgid "Filesize" -msgstr "ファイル・サイズ" +msgstr "ファイルサイズ" #: searx/templates/oscar/result_templates/torrent.html:9 #: searx/templates/simple/result_templates/torrent.html:12 @@ -1004,16 +1005,16 @@ msgstr "もっと見る…" #: searx/templates/simple/base.html:31 msgid "No item found" -msgstr "" +msgstr "アイテムが見つかりません" #: searx/templates/simple/preferences.html:89 msgid "Supports selected language" -msgstr "選択している言語のサポート" +msgstr "選択された言語のサポート" #: searx/templates/simple/preferences.html:118 msgid "User interface" -msgstr "" +msgstr "ユーザーインターフェース" #: searx/templates/simple/preferences.html:154 msgid "Privacy" -msgstr "" +msgstr "プライバシー" diff --git a/searx/translations/nl/LC_MESSAGES/messages.mo b/searx/translations/nl/LC_MESSAGES/messages.mo index 15fcacbc4a..057853be52 100644 Binary files a/searx/translations/nl/LC_MESSAGES/messages.mo and b/searx/translations/nl/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/nl/LC_MESSAGES/messages.po b/searx/translations/nl/LC_MESSAGES/messages.po index 1fc8700f95..b4e0614025 100644 --- a/searx/translations/nl/LC_MESSAGES/messages.po +++ b/searx/translations/nl/LC_MESSAGES/messages.po @@ -3,7 +3,7 @@ # This file is distributed under the same license as the PROJECT project. # # Translators: -# André Koot <meneer@tken.net>, 2014-2017 +# André Koot <meneer@tken.net>, 2014-2018 # Nathan Follens, 2015-2018 # Rejo Zenger <rejo@zenger.nl>, 2016-2017 msgid "" @@ -11,8 +11,8 @@ msgstr "" "Project-Id-Version: searx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2017-11-01 21:31+0100\n" -"PO-Revision-Date: 2018-02-15 22:43+0000\n" -"Last-Translator: Nathan Follens\n" +"PO-Revision-Date: 2018-09-22 06:46+0000\n" +"Last-Translator: André Koot <meneer@tken.net>\n" "Language-Team: Dutch (http://www.transifex.com/asciimoo/searx/language/nl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -835,7 +835,7 @@ msgstr "Altijd" #: searx/templates/oscar/time-range.html:6 #: searx/templates/simple/time-range.html:6 msgid "Last day" -msgstr "Voorbije dag" +msgstr "Gisteren" #: searx/templates/oscar/time-range.html:9 #: searx/templates/simple/time-range.html:9 @@ -881,7 +881,7 @@ msgstr "Zoekmachines konden geen resultaten ophalen." #: searx/templates/oscar/messages/no_results.html:10 #: searx/templates/simple/messages/no_results.html:10 msgid "Please, try again later or find another searx instance." -msgstr "Probeer het later opnieuw, of gebruik een andere instantie van searx." +msgstr "Probeer het later opnieuw, of gebruik een andere searx server." #: searx/templates/oscar/messages/no_results.html:14 #: searx/templates/simple/messages/no_results.html:14 diff --git a/searx/translations/nl_BE/LC_MESSAGES/messages.mo b/searx/translations/nl_BE/LC_MESSAGES/messages.mo new file mode 100644 index 0000000000..e233f5c897 Binary files /dev/null and b/searx/translations/nl_BE/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/nl_BE/LC_MESSAGES/messages.po b/searx/translations/nl_BE/LC_MESSAGES/messages.po new file mode 100644 index 0000000000..c4ef0228ac --- /dev/null +++ b/searx/translations/nl_BE/LC_MESSAGES/messages.po @@ -0,0 +1,1013 @@ +# Translations template for PROJECT. +# Copyright (C) 2017 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# +# Translators: +# Nathan Follens, 2018 +msgid "" +msgstr "" +"Project-Id-Version: searx\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2017-11-01 21:31+0100\n" +"PO-Revision-Date: 2018-06-24 07:59+0000\n" +"Last-Translator: Nathan Follens\n" +"Language-Team: Dutch (Belgium) (http://www.transifex.com/asciimoo/searx/language/nl_BE/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.3.4\n" +"Language: nl_BE\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: searx/search.py:137 searx/search.py:182 +msgid "timeout" +msgstr "time-out" + +#: searx/search.py:144 +msgid "request exception" +msgstr "aanvraaguitzondering" + +#: searx/search.py:151 +msgid "unexpected crash" +msgstr "onverwachte crash" + +#: searx/webapp.py:136 +msgid "files" +msgstr "bestanden" + +#: searx/webapp.py:137 +msgid "general" +msgstr "algemeen" + +#: searx/webapp.py:138 +msgid "music" +msgstr "muziek" + +#: searx/webapp.py:139 +msgid "social media" +msgstr "sociale media" + +#: searx/webapp.py:140 +msgid "images" +msgstr "afbeeldingen" + +#: searx/webapp.py:141 +msgid "videos" +msgstr "video’s" + +#: searx/webapp.py:142 +msgid "it" +msgstr "IT" + +#: searx/webapp.py:143 +msgid "news" +msgstr "nieuws" + +#: searx/webapp.py:144 +msgid "map" +msgstr "kaart" + +#: searx/webapp.py:145 +msgid "science" +msgstr "wetenschap" + +#: searx/webapp.py:399 searx/webapp.py:658 +msgid "Invalid settings, please edit your preferences" +msgstr "Ongeldige instellingen, werkt uw voorkeuren bij" + +#: searx/webapp.py:415 +msgid "Invalid settings" +msgstr "Ongeldige instellingen" + +#: searx/webapp.py:449 searx/webapp.py:493 +msgid "search error" +msgstr "zoekfout" + +#: searx/webapp.py:530 +msgid "{minutes} minute(s) ago" +msgstr "{minutes} min geleden" + +#: searx/webapp.py:532 +msgid "{hours} hour(s), {minutes} minute(s) ago" +msgstr "{hours} uur, {minutes} min geleden" + +#: searx/answerers/random/answerer.py:53 +msgid "Random value generator" +msgstr "Willekeurigewaardegenerator" + +#: searx/answerers/random/answerer.py:54 +msgid "Generate different random values" +msgstr "Genereert verschillende willekeurige waarden" + +#: searx/answerers/statistics/answerer.py:53 +msgid "Statistics functions" +msgstr "Statistische functies" + +#: searx/answerers/statistics/answerer.py:54 +msgid "Compute {functions} of the arguments" +msgstr "Berekent {functions} van de argumenten" + +#: searx/engines/__init__.py:194 searx/engines/flycheck___init__.py:201 +msgid "Engine time (sec)" +msgstr "Snelheid zoekmachien (sec)" + +#: searx/engines/__init__.py:198 searx/engines/flycheck___init__.py:205 +msgid "Page loads (sec)" +msgstr "Laden van pagina’s (sec)" + +#: searx/engines/__init__.py:202 searx/engines/flycheck___init__.py:209 +#: searx/templates/oscar/results.html:95 +#: searx/templates/simple/results.html:20 +msgid "Number of results" +msgstr "Aantal zoekresultaten" + +#: searx/engines/__init__.py:206 searx/engines/flycheck___init__.py:213 +msgid "Scores" +msgstr "Scores" + +#: searx/engines/__init__.py:210 searx/engines/flycheck___init__.py:217 +msgid "Scores per result" +msgstr "Scores per zoekresultaat" + +#: searx/engines/__init__.py:214 searx/engines/flycheck___init__.py:221 +msgid "Errors" +msgstr "Fouten" + +#: searx/engines/pdbe.py:87 +msgid "{title}&nbsp;(OBSOLETE)" +msgstr "{title}&nbsp;(VEROUDERD)" + +#: searx/engines/pdbe.py:91 +msgid "This entry has been superseded by" +msgstr "Dit object is vervangen door" + +#: searx/engines/pubmed.py:74 +msgid "No abstract is available for this publication." +msgstr "Voor deze publicatie is geen abstract beschikbaar." + +#: searx/plugins/https_rewrite.py:32 +msgid "Rewrite HTTP links to HTTPS if possible" +msgstr "Herschrijft HTTP-koppelingen naar HTTPS, indien mogelijk" + +#: searx/plugins/infinite_scroll.py:3 +msgid "Infinite scroll" +msgstr "Oneindig scrollen" + +#: searx/plugins/infinite_scroll.py:4 +msgid "Automatically load next page when scrolling to bottom of current page" +msgstr "Volgende pagina automatisch laden bij bereiken van den onderkant van de huidige pagina" + +#: searx/plugins/oa_doi_rewrite.py:9 +msgid "Open Access DOI rewrite" +msgstr "Open Access DOI herschrijven" + +#: searx/plugins/oa_doi_rewrite.py:10 +msgid "" +"Avoid paywalls by redirecting to open-access versions of publications when " +"available" +msgstr "Omzeilt betaalmuren met een doorverwijzing naar vrij toegankelijke versies van publicaties indien beschikbaar" + +#: searx/plugins/open_results_on_new_tab.py:18 +#: searx/templates/oscar/preferences.html:114 +#: searx/templates/simple/preferences.html:149 +msgid "Open result links on new browser tabs" +msgstr "Koppelingen openen in nieuwe tabbladen" + +#: searx/plugins/open_results_on_new_tab.py:19 +msgid "" +"Results are opened in the same window by default. This plugin overwrites the" +" default behaviour to open links on new tabs/windows. (JavaScript required)" +msgstr "Resultaten worden standaard in hetzelfde venster geopend. Deze plug-in overschrijft het standaardgedrag zodat koppelingen in nieuwe tabbladen/vensters worden geopend. (JavaScript vereist)" + +#: searx/plugins/search_on_category_select.py:18 +msgid "Search on category select" +msgstr "Zoeken bij selecteren van categorie" + +#: searx/plugins/search_on_category_select.py:19 +msgid "" +"Perform search immediately if a category selected. Disable to select " +"multiple categories. (JavaScript required)" +msgstr "Zoekopdracht onmiddellijk uitvoeren wanneer dat een categorie wordt geselecteerd. Zet dit uit voor meerdere categorieën te selecteren. (JavaScript vereist)" + +#: searx/plugins/self_info.py:20 +msgid "" +"Displays your IP if the query is \"ip\" and your user agent if the query " +"contains \"user agent\"." +msgstr "Geeft uw IP-adres weer als de zoekopdracht ‘ip’ is, en uwe gebruikersagent als de zoekopdracht ‘user agent’ bevat." + +#: searx/plugins/tracker_url_remover.py:26 +msgid "Tracker URL remover" +msgstr "Tracker-URL-verwijderaar" + +#: searx/plugins/tracker_url_remover.py:27 +msgid "Remove trackers arguments from the returned URL" +msgstr "Verwijdert trackerargumenten van de gekregen URL" + +#: searx/plugins/vim_hotkeys.py:3 +msgid "Vim-like hotkeys" +msgstr "Sneltoetsen gelijk in Vim" + +#: searx/plugins/vim_hotkeys.py:4 +msgid "" +"Navigate search results with Vim-like hotkeys (JavaScript required). Press " +"\"h\" key on main or result page to get help." +msgstr "Bladert door zoekresultaten met sneltoetsen gelijk die in Vim (JavaScript vereist). Drukt op ‘h’ op de hoofdpagina of de pagina met resultaten voor hulp." + +#: searx/templates/courgette/404.html:4 searx/templates/legacy/404.html:4 +#: searx/templates/oscar/404.html:4 searx/templates/pix-art/404.html:4 +#: searx/templates/simple/404.html:4 +msgid "Page not found" +msgstr "Pagina niet gevonden" + +#: searx/templates/courgette/404.html:6 searx/templates/legacy/404.html:6 +#: searx/templates/oscar/404.html:6 searx/templates/pix-art/404.html:6 +#: searx/templates/simple/404.html:6 +#, python-format +msgid "Go to %(search_page)s." +msgstr "Ga naar %(search_page)s." + +#: searx/templates/courgette/404.html:6 searx/templates/legacy/404.html:6 +#: searx/templates/oscar/404.html:6 searx/templates/pix-art/404.html:6 +#: searx/templates/simple/404.html:6 +msgid "search page" +msgstr "zoekpagina" + +#: searx/templates/courgette/index.html:9 +#: searx/templates/courgette/index.html:13 +#: searx/templates/courgette/results.html:5 +#: searx/templates/legacy/index.html:8 searx/templates/legacy/index.html:12 +#: searx/templates/oscar/navbar.html:7 +#: searx/templates/oscar/preferences.html:3 +#: searx/templates/pix-art/index.html:8 +msgid "preferences" +msgstr "voorkeuren" + +#: searx/templates/courgette/index.html:11 +#: searx/templates/legacy/index.html:10 searx/templates/oscar/about.html:2 +#: searx/templates/oscar/navbar.html:6 searx/templates/pix-art/index.html:7 +msgid "about" +msgstr "over" + +#: searx/templates/courgette/preferences.html:5 +#: searx/templates/legacy/preferences.html:5 +#: searx/templates/oscar/preferences.html:8 +#: searx/templates/pix-art/preferences.html:5 +#: searx/templates/simple/preferences.html:26 +msgid "Preferences" +msgstr "Voorkeuren" + +#: searx/templates/courgette/preferences.html:9 +#: searx/templates/legacy/preferences.html:9 +#: searx/templates/oscar/preferences.html:33 +#: searx/templates/oscar/preferences.html:35 +#: searx/templates/simple/preferences.html:34 +msgid "Default categories" +msgstr "Standaardcategorieën" + +#: searx/templates/courgette/preferences.html:13 +#: searx/templates/legacy/preferences.html:14 +#: searx/templates/oscar/preferences.html:41 +#: searx/templates/pix-art/preferences.html:9 +#: searx/templates/simple/preferences.html:39 +#: searx/templates/simple/preferences.html:163 +msgid "Search language" +msgstr "Zoektaal" + +#: searx/templates/courgette/preferences.html:16 +#: searx/templates/legacy/preferences.html:17 +#: searx/templates/oscar/languages.html:6 +#: searx/templates/pix-art/preferences.html:12 +#: searx/templates/simple/languages.html:2 +#: searx/templates/simple/preferences.html:42 +msgid "Default language" +msgstr "Standaardtaal" + +#: searx/templates/courgette/preferences.html:24 +#: searx/templates/legacy/preferences.html:25 +#: searx/templates/oscar/preferences.html:47 +#: searx/templates/pix-art/preferences.html:20 +#: searx/templates/simple/preferences.html:120 +msgid "Interface language" +msgstr "Interfacetaal" + +#: searx/templates/courgette/preferences.html:34 +#: searx/templates/legacy/preferences.html:35 +#: searx/templates/oscar/preferences.html:57 +#: searx/templates/simple/preferences.html:51 +msgid "Autocomplete" +msgstr "Auto-aanvullen" + +#: searx/templates/courgette/preferences.html:45 +#: searx/templates/legacy/preferences.html:46 +#: searx/templates/oscar/preferences.html:68 +#: searx/templates/simple/preferences.html:166 +msgid "Image proxy" +msgstr "Afbeeldingsproxy" + +#: searx/templates/courgette/preferences.html:48 +#: searx/templates/legacy/preferences.html:49 +#: searx/templates/oscar/preferences.html:72 +#: searx/templates/simple/preferences.html:169 +msgid "Enabled" +msgstr "Ingeschakeld" + +#: searx/templates/courgette/preferences.html:49 +#: searx/templates/legacy/preferences.html:50 +#: searx/templates/oscar/preferences.html:73 +#: searx/templates/simple/preferences.html:170 +msgid "Disabled" +msgstr "Uitgeschakeld" + +#: searx/templates/courgette/preferences.html:54 +#: searx/templates/legacy/preferences.html:55 +#: searx/templates/oscar/preferences.html:77 +#: searx/templates/pix-art/preferences.html:30 +#: searx/templates/simple/preferences.html:156 +msgid "Method" +msgstr "Methode" + +#: searx/templates/courgette/preferences.html:63 +#: searx/templates/legacy/preferences.html:64 +#: searx/templates/oscar/preferences.html:86 +#: searx/templates/oscar/preferences.html:165 +#: searx/templates/oscar/preferences.html:173 +#: searx/templates/simple/preferences.html:63 +#: searx/templates/simple/preferences.html:90 +msgid "SafeSearch" +msgstr "SafeSearch" + +#: searx/templates/courgette/preferences.html:66 +#: searx/templates/legacy/preferences.html:67 +#: searx/templates/oscar/preferences.html:90 +#: searx/templates/simple/preferences.html:66 +msgid "Strict" +msgstr "Strikt" + +#: searx/templates/courgette/preferences.html:67 +#: searx/templates/legacy/preferences.html:68 +#: searx/templates/oscar/preferences.html:91 +#: searx/templates/simple/preferences.html:67 +msgid "Moderate" +msgstr "Gemiddeld" + +#: searx/templates/courgette/preferences.html:68 +#: searx/templates/legacy/preferences.html:69 +#: searx/templates/oscar/preferences.html:92 +#: searx/templates/simple/preferences.html:68 +msgid "None" +msgstr "Geen" + +#: searx/templates/courgette/preferences.html:73 +#: searx/templates/legacy/preferences.html:74 +#: searx/templates/oscar/preferences.html:96 +#: searx/templates/pix-art/preferences.html:39 +#: searx/templates/simple/preferences.html:131 +msgid "Themes" +msgstr "Thema’s" + +#: searx/templates/courgette/preferences.html:83 +msgid "Color" +msgstr "Kleur" + +#: searx/templates/courgette/preferences.html:86 +msgid "Blue (default)" +msgstr "Blauw (standaard)" + +#: searx/templates/courgette/preferences.html:87 +msgid "Violet" +msgstr "Paars" + +#: searx/templates/courgette/preferences.html:88 +msgid "Green" +msgstr "Groen" + +#: searx/templates/courgette/preferences.html:89 +msgid "Cyan" +msgstr "Appelblauwzeegroen" + +#: searx/templates/courgette/preferences.html:90 +msgid "Orange" +msgstr "Oranje" + +#: searx/templates/courgette/preferences.html:91 +msgid "Red" +msgstr "Rood" + +#: searx/templates/courgette/preferences.html:96 +#: searx/templates/legacy/preferences.html:93 +#: searx/templates/pix-art/preferences.html:49 +#: searx/templates/simple/preferences.html:77 +msgid "Currently used search engines" +msgstr "Momenteel gebruikte zoekmachienen" + +#: searx/templates/courgette/preferences.html:100 +#: searx/templates/legacy/preferences.html:97 +#: searx/templates/oscar/preferences.html:162 +#: searx/templates/oscar/preferences.html:176 +#: searx/templates/pix-art/preferences.html:53 +#: searx/templates/simple/preferences.html:87 +msgid "Engine name" +msgstr "Naam zoekmachien" + +#: searx/templates/courgette/preferences.html:101 +#: searx/templates/legacy/preferences.html:98 +msgid "Category" +msgstr "Categorie" + +#: searx/templates/courgette/preferences.html:102 +#: searx/templates/courgette/preferences.html:113 +#: searx/templates/legacy/preferences.html:99 +#: searx/templates/legacy/preferences.html:110 +#: searx/templates/oscar/preferences.html:161 +#: searx/templates/oscar/preferences.html:177 +#: searx/templates/pix-art/preferences.html:54 +#: searx/templates/pix-art/preferences.html:64 +#: searx/templates/simple/preferences.html:86 +msgid "Allow" +msgstr "Toestaan" + +#: searx/templates/courgette/preferences.html:102 +#: searx/templates/courgette/preferences.html:114 +#: searx/templates/legacy/preferences.html:99 +#: searx/templates/legacy/preferences.html:111 +#: searx/templates/pix-art/preferences.html:54 +#: searx/templates/pix-art/preferences.html:65 +msgid "Block" +msgstr "Blokkeren" + +#: searx/templates/courgette/preferences.html:122 +#: searx/templates/legacy/preferences.html:119 +#: searx/templates/oscar/preferences.html:297 +#: searx/templates/pix-art/preferences.html:73 +#: searx/templates/simple/preferences.html:180 +msgid "" +"These settings are stored in your cookies, this allows us not to store this " +"data about you." +msgstr "Deze instellingen worden bewaard in uw cookies. Hierdoor hoeven wij niks over u te bewaren." + +#: searx/templates/courgette/preferences.html:124 +#: searx/templates/legacy/preferences.html:121 +#: searx/templates/oscar/preferences.html:299 +#: searx/templates/pix-art/preferences.html:75 +#: searx/templates/simple/preferences.html:182 +msgid "" +"These cookies serve your sole convenience, we don't use these cookies to " +"track you." +msgstr "Deze cookies zijn alleen voor uw eigen gemak, we gebruiken deze cookies niet voor u te volgen." + +#: searx/templates/courgette/preferences.html:127 +#: searx/templates/legacy/preferences.html:124 +#: searx/templates/oscar/preferences.html:305 +#: searx/templates/pix-art/preferences.html:78 +#: searx/templates/simple/preferences.html:185 +msgid "save" +msgstr "opslaan" + +#: searx/templates/courgette/preferences.html:128 +#: searx/templates/legacy/preferences.html:125 +#: searx/templates/oscar/preferences.html:307 +#: searx/templates/simple/preferences.html:186 +msgid "Reset defaults" +msgstr "Standaardinstellingen herstellen" + +#: searx/templates/courgette/preferences.html:129 +#: searx/templates/legacy/preferences.html:126 +#: searx/templates/oscar/preferences.html:306 +#: searx/templates/pix-art/preferences.html:79 +#: searx/templates/simple/preferences.html:187 +msgid "back" +msgstr "terug" + +#: searx/templates/courgette/results.html:12 +#: searx/templates/legacy/results.html:13 +#: searx/templates/oscar/results.html:136 +#: searx/templates/simple/results.html:58 +msgid "Search URL" +msgstr "Zoek-URL" + +#: searx/templates/courgette/results.html:16 +#: searx/templates/legacy/results.html:17 +#: searx/templates/oscar/results.html:141 +#: searx/templates/simple/results.html:62 +msgid "Download results" +msgstr "Zoekresultaten downloaden" + +#: searx/templates/courgette/results.html:34 +#: searx/templates/legacy/results.html:35 +#: searx/templates/simple/results.html:10 +msgid "Answers" +msgstr "Antwoorden" + +#: searx/templates/courgette/results.html:42 +#: searx/templates/legacy/results.html:43 +#: searx/templates/oscar/results.html:116 +#: searx/templates/simple/results.html:42 +msgid "Suggestions" +msgstr "Suggesties" + +#: searx/templates/courgette/results.html:70 +#: searx/templates/legacy/results.html:81 +#: searx/templates/oscar/results.html:68 searx/templates/oscar/results.html:78 +#: searx/templates/simple/results.html:130 +msgid "previous page" +msgstr "vorige pagina" + +#: searx/templates/courgette/results.html:81 +#: searx/templates/legacy/results.html:92 +#: searx/templates/oscar/results.html:62 searx/templates/oscar/results.html:84 +#: searx/templates/simple/results.html:145 +msgid "next page" +msgstr "volgende pagina" + +#: searx/templates/courgette/search.html:3 +#: searx/templates/legacy/search.html:3 searx/templates/oscar/search.html:6 +#: searx/templates/oscar/search_full.html:9 +#: searx/templates/pix-art/search.html:3 searx/templates/simple/search.html:4 +msgid "Search for..." +msgstr "Zoeken naar..." + +#: searx/templates/courgette/stats.html:4 searx/templates/legacy/stats.html:4 +#: searx/templates/oscar/stats.html:5 searx/templates/pix-art/stats.html:4 +#: searx/templates/simple/stats.html:7 +msgid "Engine stats" +msgstr "Zoekmachienstatistieken" + +#: searx/templates/courgette/result_templates/images.html:4 +#: searx/templates/legacy/result_templates/images.html:4 +#: searx/templates/pix-art/result_templates/images.html:4 +msgid "original context" +msgstr "oorspronkelijke context" + +#: searx/templates/courgette/result_templates/torrent.html:7 +#: searx/templates/legacy/result_templates/torrent.html:11 +#: searx/templates/oscar/result_templates/torrent.html:6 +#: searx/templates/simple/result_templates/torrent.html:9 +msgid "Seeder" +msgstr "Seeders" + +#: searx/templates/courgette/result_templates/torrent.html:7 +#: searx/templates/legacy/result_templates/torrent.html:11 +#: searx/templates/oscar/result_templates/torrent.html:6 +#: searx/templates/simple/result_templates/torrent.html:9 +msgid "Leecher" +msgstr "Leechers" + +#: searx/templates/courgette/result_templates/torrent.html:9 +#: searx/templates/legacy/result_templates/torrent.html:9 +#: searx/templates/oscar/macros.html:23 +#: searx/templates/simple/result_templates/torrent.html:6 +msgid "magnet link" +msgstr "magneetkoppeling" + +#: searx/templates/courgette/result_templates/torrent.html:10 +#: searx/templates/legacy/result_templates/torrent.html:10 +#: searx/templates/oscar/macros.html:24 +#: searx/templates/simple/result_templates/torrent.html:7 +msgid "torrent file" +msgstr "torrentbestand" + +#: searx/templates/legacy/categories.html:8 +#: searx/templates/simple/categories.html:6 +msgid "Click on the magnifier to perform search" +msgstr "Klikt op het vergrootglas voor te zoeken" + +#: searx/templates/legacy/preferences.html:84 +#: searx/templates/oscar/preferences.html:113 +#: searx/templates/simple/preferences.html:142 +msgid "Results on new tabs" +msgstr "Resultaten op nieuwe tabbladen" + +#: searx/templates/legacy/preferences.html:87 +#: searx/templates/oscar/preferences.html:117 +#: searx/templates/simple/preferences.html:145 +msgid "On" +msgstr "Aan" + +#: searx/templates/legacy/preferences.html:88 +#: searx/templates/oscar/preferences.html:118 +#: searx/templates/simple/preferences.html:146 +msgid "Off" +msgstr "Uit" + +#: searx/templates/legacy/result_templates/code.html:3 +#: searx/templates/legacy/result_templates/default.html:3 +#: searx/templates/legacy/result_templates/map.html:9 +#: searx/templates/oscar/macros.html:34 searx/templates/oscar/macros.html:48 +#: searx/templates/simple/macros.html:43 +msgid "cached" +msgstr "gecachet" + +#: searx/templates/oscar/advanced.html:4 +msgid "Advanced settings" +msgstr "Geavanceerde instellingen" + +#: searx/templates/oscar/base.html:62 +#: searx/templates/oscar/messages/first_time.html:4 +#: searx/templates/oscar/messages/save_settings_successfull.html:5 +#: searx/templates/oscar/messages/unknow_error.html:5 +msgid "Close" +msgstr "Sluiten" + +#: searx/templates/oscar/base.html:64 +#: searx/templates/oscar/messages/no_results.html:4 +#: searx/templates/simple/messages/no_results.html:4 +#: searx/templates/simple/results.html:25 +msgid "Error!" +msgstr "Fout!" + +#: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 +msgid "Powered by" +msgstr "Aangedreven door" + +#: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 +msgid "a privacy-respecting, hackable metasearch engine" +msgstr "een privacyrespecterend, aanpasbaar metazoekmachien" + +#: searx/templates/oscar/macros.html:36 searx/templates/oscar/macros.html:50 +#: searx/templates/simple/macros.html:43 +msgid "proxied" +msgstr "geproxyt" + +#: searx/templates/oscar/macros.html:92 +msgid "supported" +msgstr "ondersteund" + +#: searx/templates/oscar/macros.html:96 +msgid "not supported" +msgstr "niet ondersteund" + +#: searx/templates/oscar/preferences.html:13 +#: searx/templates/oscar/preferences.html:22 +#: searx/templates/simple/preferences.html:32 +msgid "General" +msgstr "Algemeen" + +#: searx/templates/oscar/preferences.html:14 +#: searx/templates/oscar/preferences.html:146 +#: searx/templates/simple/preferences.html:76 +msgid "Engines" +msgstr "Zoekmachienen" + +#: searx/templates/oscar/preferences.html:15 +#: searx/templates/oscar/preferences.html:219 +msgid "Plugins" +msgstr "Plug-ins" + +#: searx/templates/oscar/preferences.html:16 +#: searx/templates/oscar/preferences.html:245 +msgid "Answerers" +msgstr "Beantwoorders" + +#: searx/templates/oscar/preferences.html:17 +#: searx/templates/oscar/preferences.html:272 +msgid "Cookies" +msgstr "Cookies" + +#: searx/templates/oscar/preferences.html:42 +#: searx/templates/simple/preferences.html:48 +msgid "What language do you prefer for search?" +msgstr "Welke taal wilt ge gebruiken voor het zoeken?" + +#: searx/templates/oscar/preferences.html:48 +#: searx/templates/simple/preferences.html:128 +msgid "Change the language of the layout" +msgstr "Wijzigt de taal van den opmaak" + +#: searx/templates/oscar/preferences.html:58 +#: searx/templates/simple/preferences.html:60 +msgid "Find stuff as you type" +msgstr "Zoekt tijdens het typen" + +#: searx/templates/oscar/preferences.html:69 +#: searx/templates/simple/preferences.html:173 +msgid "Proxying image results through searx" +msgstr "Afbeeldingsresultaten via searx laden" + +#: searx/templates/oscar/preferences.html:78 +msgid "" +"Change how forms are submited, <a " +"href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\"" +" rel=\"external\">learn more about request methods</a>" +msgstr "Bepaalt hoe dat de formulieren worden ingestuurd, <a href=\"http://nl.wikipedia.org/wiki/Hypertext_Transfer_Protocol#HTTP-requests\" rel=\"external\">leest meer over opvraagmethodes</a>" + +#: searx/templates/oscar/preferences.html:87 +#: searx/templates/simple/preferences.html:71 +msgid "Filter content" +msgstr "Filteren op inhoud" + +#: searx/templates/oscar/preferences.html:97 +#: searx/templates/simple/preferences.html:139 +msgid "Change searx layout" +msgstr "Opmaak van searx aanpassen" + +#: searx/templates/oscar/preferences.html:106 +#: searx/templates/oscar/preferences.html:111 +msgid "Choose style for this theme" +msgstr "Kiest ne stijl voor dit thema" + +#: searx/templates/oscar/preferences.html:106 +#: searx/templates/oscar/preferences.html:111 +msgid "Style" +msgstr "Stijl" + +#: searx/templates/oscar/preferences.html:122 +msgid "Open Access DOI resolver" +msgstr "Open Access DOI herschrijven" + +#: searx/templates/oscar/preferences.html:123 +msgid "" +"Redirect to open-access versions of publications when available (plugin " +"required)" +msgstr "Doorverwijzen naar vrij toegankelijke versies van publicaties, indien beschikbaar (plug-in vereist)" + +#: searx/templates/oscar/preferences.html:163 +#: searx/templates/oscar/preferences.html:175 +#: searx/templates/simple/preferences.html:88 +msgid "Shortcut" +msgstr "Snelkoppeling" + +#: searx/templates/oscar/preferences.html:164 +#: searx/templates/oscar/preferences.html:174 +msgid "Selected language" +msgstr "Geselecteerde taal" + +#: searx/templates/oscar/preferences.html:166 +#: searx/templates/oscar/preferences.html:172 +#: searx/templates/simple/preferences.html:91 +msgid "Time range" +msgstr "Tijdspanne" + +#: searx/templates/oscar/preferences.html:167 +#: searx/templates/oscar/preferences.html:171 +#: searx/templates/simple/preferences.html:92 +msgid "Avg. time" +msgstr "Gem. duur" + +#: searx/templates/oscar/preferences.html:168 +#: searx/templates/oscar/preferences.html:170 +#: searx/templates/simple/preferences.html:93 +msgid "Max time" +msgstr "Max. duur" + +#: searx/templates/oscar/preferences.html:248 +msgid "This is the list of searx's instant answering modules." +msgstr "Dit is het overzicht van de instantantwoordmodules van searx." + +#: searx/templates/oscar/preferences.html:252 +msgid "Name" +msgstr "Naam" + +#: searx/templates/oscar/preferences.html:253 +msgid "Keywords" +msgstr "Kernwoorden" + +#: searx/templates/oscar/preferences.html:254 +msgid "Description" +msgstr "Beschrijving" + +#: searx/templates/oscar/preferences.html:255 +msgid "Examples" +msgstr "Voorbeelden" + +#: searx/templates/oscar/preferences.html:275 +msgid "" +"This is the list of cookies and their values searx is storing on your " +"computer." +msgstr "Dit is de lijst van cookies en hun waarden die searx op uwe computer opslaat." + +#: searx/templates/oscar/preferences.html:276 +msgid "With that list, you can assess searx transparency." +msgstr "Met deze lijst kunt ge de openheid van searx beoordelen." + +#: searx/templates/oscar/preferences.html:281 +msgid "Cookie name" +msgstr "Cookienaam" + +#: searx/templates/oscar/preferences.html:282 +msgid "Value" +msgstr "Waarde" + +#: searx/templates/oscar/preferences.html:301 +msgid "Search URL of the currently saved preferences" +msgstr "Zoek-URL van de momenteel opgeslagen voorkeuren" + +#: searx/templates/oscar/preferences.html:301 +msgid "" +"Note: specifying custom settings in the search URL can reduce privacy by " +"leaking data to the clicked result sites." +msgstr "Let op: aangepaste instellingen opgeven in de zoek-URL kan nadelig zijn voor uw privacy, omdat het gegevens lekt aan de aangeklikte resultaatwebsites." + +#: searx/templates/oscar/results.html:17 +msgid "Search results" +msgstr "Zoekresultaten" + +#: searx/templates/oscar/results.html:21 +#: searx/templates/simple/results.html:84 +msgid "Try searching for:" +msgstr "Probeert te zoeken naar:" + +#: searx/templates/oscar/results.html:100 +#: searx/templates/simple/results.html:25 +msgid "Engines cannot retrieve results" +msgstr "Zoekmachienen konden geen resultaten ophalen" + +#: searx/templates/oscar/results.html:131 +msgid "Links" +msgstr "Koppelingen" + +#: searx/templates/oscar/search.html:8 +#: searx/templates/oscar/search_full.html:11 +#: searx/templates/simple/search.html:5 +msgid "Start search" +msgstr "Start zoeken" + +#: searx/templates/oscar/stats.html:2 +msgid "stats" +msgstr "stats" + +#: searx/templates/oscar/time-range.html:3 +#: searx/templates/simple/time-range.html:3 +msgid "Anytime" +msgstr "Altijd" + +#: searx/templates/oscar/time-range.html:6 +#: searx/templates/simple/time-range.html:6 +msgid "Last day" +msgstr "Voorbijen dag" + +#: searx/templates/oscar/time-range.html:9 +#: searx/templates/simple/time-range.html:9 +msgid "Last week" +msgstr "Voorbije week" + +#: searx/templates/oscar/time-range.html:12 +#: searx/templates/simple/time-range.html:12 +msgid "Last month" +msgstr "Voorbije maand" + +#: searx/templates/oscar/time-range.html:15 +#: searx/templates/simple/time-range.html:15 +msgid "Last year" +msgstr "Voorbije jaar" + +#: searx/templates/oscar/messages/first_time.html:6 +#: searx/templates/oscar/messages/no_data_available.html:3 +msgid "Heads up!" +msgstr "Opgelet!" + +#: searx/templates/oscar/messages/first_time.html:7 +msgid "It look like you are using searx first time." +msgstr "Het lijkt erop dat ge searx voor den eerste keer gebruikt." + +#: searx/templates/oscar/messages/no_cookies.html:3 +msgid "Information!" +msgstr "Informatie!" + +#: searx/templates/oscar/messages/no_cookies.html:4 +msgid "currently, there are no cookies defined." +msgstr "der zijn momenteel geen cookies gedefinieerd." + +#: searx/templates/oscar/messages/no_data_available.html:4 +msgid "There is currently no data available. " +msgstr "Der zijn momenteel geen gegevens beschikbaar." + +#: searx/templates/oscar/messages/no_results.html:4 +#: searx/templates/simple/messages/no_results.html:4 +msgid "Engines cannot retrieve results." +msgstr "Zoekmachinen konden geen resultaten ophalen." + +#: searx/templates/oscar/messages/no_results.html:10 +#: searx/templates/simple/messages/no_results.html:10 +msgid "Please, try again later or find another searx instance." +msgstr "Probeert het later opnieuw, of gebruikt een andere instantie van searx." + +#: searx/templates/oscar/messages/no_results.html:14 +#: searx/templates/simple/messages/no_results.html:14 +msgid "Sorry!" +msgstr "Sorry!" + +#: searx/templates/oscar/messages/no_results.html:15 +#: searx/templates/simple/messages/no_results.html:15 +msgid "" +"we didn't find any results. Please use another query or search in more " +"categories." +msgstr "We konden geen resultaten vinden. Probeert nen andere zoekopdracht, of zoekt in meer categorieën." + +#: searx/templates/oscar/messages/save_settings_successfull.html:7 +msgid "Well done!" +msgstr "Goed gedaan!" + +#: searx/templates/oscar/messages/save_settings_successfull.html:8 +msgid "Settings saved successfully." +msgstr "Instellingen opgeslagen." + +#: searx/templates/oscar/messages/unknow_error.html:7 +msgid "Oh snap!" +msgstr "Oeps!" + +#: searx/templates/oscar/messages/unknow_error.html:8 +msgid "Something went wrong." +msgstr "Der is iets misgegaan." + +#: searx/templates/oscar/result_templates/default.html:7 +#: searx/templates/simple/result_templates/default.html:6 +msgid "show media" +msgstr "media tonen" + +#: searx/templates/oscar/result_templates/default.html:7 +#: searx/templates/simple/result_templates/default.html:6 +msgid "hide media" +msgstr "media verbergen" + +#: searx/templates/oscar/result_templates/images.html:30 +msgid "Get image" +msgstr "Afbeelding tonen" + +#: searx/templates/oscar/result_templates/images.html:33 +msgid "View source" +msgstr "Bron bekijken" + +#: searx/templates/oscar/result_templates/map.html:7 +#: searx/templates/simple/result_templates/map.html:7 +msgid "show map" +msgstr "kaart tonen" + +#: searx/templates/oscar/result_templates/map.html:7 +#: searx/templates/simple/result_templates/map.html:7 +msgid "hide map" +msgstr "kaart verbergen" + +#: searx/templates/oscar/result_templates/map.html:11 +#: searx/templates/simple/result_templates/map.html:11 +msgid "show details" +msgstr "details tonen" + +#: searx/templates/oscar/result_templates/map.html:11 +#: searx/templates/simple/result_templates/map.html:11 +msgid "hide details" +msgstr "details verbergen" + +#: searx/templates/oscar/result_templates/torrent.html:7 +#: searx/templates/simple/result_templates/torrent.html:11 +msgid "Filesize" +msgstr "Bestandsgrootte" + +#: searx/templates/oscar/result_templates/torrent.html:9 +#: searx/templates/simple/result_templates/torrent.html:12 +msgid "Bytes" +msgstr "Bytes" + +#: searx/templates/oscar/result_templates/torrent.html:10 +#: searx/templates/simple/result_templates/torrent.html:13 +msgid "kiB" +msgstr "kiB" + +#: searx/templates/oscar/result_templates/torrent.html:11 +#: searx/templates/simple/result_templates/torrent.html:14 +msgid "MiB" +msgstr "MiB" + +#: searx/templates/oscar/result_templates/torrent.html:12 +#: searx/templates/simple/result_templates/torrent.html:15 +msgid "GiB" +msgstr "GiB" + +#: searx/templates/oscar/result_templates/torrent.html:13 +#: searx/templates/simple/result_templates/torrent.html:16 +msgid "TiB" +msgstr "TiB" + +#: searx/templates/oscar/result_templates/torrent.html:15 +#: searx/templates/simple/result_templates/torrent.html:20 +msgid "Number of Files" +msgstr "Aantal bestanden" + +#: searx/templates/oscar/result_templates/videos.html:7 +#: searx/templates/simple/result_templates/videos.html:6 +msgid "show video" +msgstr "video tonen" + +#: searx/templates/oscar/result_templates/videos.html:7 +#: searx/templates/simple/result_templates/videos.html:6 +msgid "hide video" +msgstr "video verbergen" + +#: searx/templates/pix-art/results.html:28 +msgid "Load more..." +msgstr "Meer laden…" + +#: searx/templates/simple/base.html:31 +msgid "No item found" +msgstr "Geen resultaat gevonden" + +#: searx/templates/simple/preferences.html:89 +msgid "Supports selected language" +msgstr "Ondersteunt geselecteerde taal" + +#: searx/templates/simple/preferences.html:118 +msgid "User interface" +msgstr "Gebruikersinterface" + +#: searx/templates/simple/preferences.html:154 +msgid "Privacy" +msgstr "Privacy" diff --git a/searx/translations/pl/LC_MESSAGES/messages.mo b/searx/translations/pl/LC_MESSAGES/messages.mo index d5c5f55efc..e4a4510131 100644 Binary files a/searx/translations/pl/LC_MESSAGES/messages.mo and b/searx/translations/pl/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/pt/LC_MESSAGES/messages.mo b/searx/translations/pt/LC_MESSAGES/messages.mo index bbf2fba0fa..d88c449f1e 100644 Binary files a/searx/translations/pt/LC_MESSAGES/messages.mo and b/searx/translations/pt/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/pt/LC_MESSAGES/messages.po b/searx/translations/pt/LC_MESSAGES/messages.po index 81ac6f5b9e..d8446731a5 100644 --- a/searx/translations/pt/LC_MESSAGES/messages.po +++ b/searx/translations/pt/LC_MESSAGES/messages.po @@ -4,13 +4,14 @@ # # Translators: # Dickprince, 2017 +# Chacal Exodius, 2018 msgid "" msgstr "" "Project-Id-Version: searx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2017-11-01 21:31+0100\n" -"PO-Revision-Date: 2017-11-01 20:31+0000\n" -"Last-Translator: Adam Tauber <asciimoo@gmail.com>\n" +"PO-Revision-Date: 2018-12-26 22:43+0000\n" +"Last-Translator: Chacal Exodius\n" "Language-Team: Portuguese (http://www.transifex.com/asciimoo/searx/language/pt/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -21,15 +22,15 @@ msgstr "" #: searx/search.py:137 searx/search.py:182 msgid "timeout" -msgstr "" +msgstr "tempo esgotado" #: searx/search.py:144 msgid "request exception" -msgstr "" +msgstr "solicitar exceção" #: searx/search.py:151 msgid "unexpected crash" -msgstr "" +msgstr "acidente inesperado" #: searx/webapp.py:136 msgid "files" @@ -77,7 +78,7 @@ msgstr "Definições inválidas, por favor edite as suas preferências" #: searx/webapp.py:415 msgid "Invalid settings" -msgstr "" +msgstr "Configurações inválidas" #: searx/webapp.py:449 searx/webapp.py:493 msgid "search error" @@ -143,7 +144,7 @@ msgstr "Esta entrada foi substituída por" #: searx/engines/pubmed.py:74 msgid "No abstract is available for this publication." -msgstr "" +msgstr "Nenhum resumo está disponível para esta publicação." #: searx/plugins/https_rewrite.py:32 msgid "Rewrite HTTP links to HTTPS if possible" @@ -159,7 +160,7 @@ msgstr "Carregar automaticamente a próxima página assim que se desloque para o #: searx/plugins/oa_doi_rewrite.py:9 msgid "Open Access DOI rewrite" -msgstr "" +msgstr "Reescrita DOI de acesso aberto" #: searx/plugins/oa_doi_rewrite.py:10 msgid "" @@ -461,7 +462,7 @@ msgstr "Estes cookies servem somente para sua conveniência, não os utilizamos #: searx/templates/pix-art/preferences.html:78 #: searx/templates/simple/preferences.html:185 msgid "save" -msgstr "guardar" +msgstr "Guardar" #: searx/templates/courgette/preferences.html:128 #: searx/templates/legacy/preferences.html:125 @@ -476,7 +477,7 @@ msgstr "Repor predefinições" #: searx/templates/pix-art/preferences.html:79 #: searx/templates/simple/preferences.html:187 msgid "back" -msgstr "atrás" +msgstr "Atrás" #: searx/templates/courgette/results.html:12 #: searx/templates/legacy/results.html:13 @@ -630,11 +631,11 @@ msgstr "via proxy" #: searx/templates/oscar/macros.html:92 msgid "supported" -msgstr "" +msgstr "suportado" #: searx/templates/oscar/macros.html:96 msgid "not supported" -msgstr "" +msgstr "não suportado" #: searx/templates/oscar/preferences.html:13 #: searx/templates/oscar/preferences.html:22 @@ -712,13 +713,13 @@ msgstr "Estilo" #: searx/templates/oscar/preferences.html:122 msgid "Open Access DOI resolver" -msgstr "" +msgstr "Resolvedor DOI de Acesso Aberto" #: searx/templates/oscar/preferences.html:123 msgid "" "Redirect to open-access versions of publications when available (plugin " "required)" -msgstr "" +msgstr "Redirecionar para versões de acesso aberto de publicações quando disponíveis (requer plug-in)" #: searx/templates/oscar/preferences.html:163 #: searx/templates/oscar/preferences.html:175 @@ -729,7 +730,7 @@ msgstr "Atalho" #: searx/templates/oscar/preferences.html:164 #: searx/templates/oscar/preferences.html:174 msgid "Selected language" -msgstr "" +msgstr "Idioma selecionado" #: searx/templates/oscar/preferences.html:166 #: searx/templates/oscar/preferences.html:172 @@ -789,13 +790,13 @@ msgstr "Valor" #: searx/templates/oscar/preferences.html:301 msgid "Search URL of the currently saved preferences" -msgstr "" +msgstr "URL de pesquisa das preferências salvas atualmente" #: searx/templates/oscar/preferences.html:301 msgid "" "Note: specifying custom settings in the search URL can reduce privacy by " "leaking data to the clicked result sites." -msgstr "" +msgstr "Nota: a especificação de configurações personalizadas no URL de pesquisa pode reduzir a privacidade ao vazar dados para os sites de resultados clicados." #: searx/templates/oscar/results.html:17 msgid "Search results" @@ -804,12 +805,12 @@ msgstr "Resultados de pesquisa" #: searx/templates/oscar/results.html:21 #: searx/templates/simple/results.html:84 msgid "Try searching for:" -msgstr "" +msgstr "Tente pesquisar por:" #: searx/templates/oscar/results.html:100 #: searx/templates/simple/results.html:25 msgid "Engines cannot retrieve results" -msgstr "" +msgstr "Mecanismos não podem recuperar resultados" #: searx/templates/oscar/results.html:131 msgid "Links" @@ -874,12 +875,12 @@ msgstr "Não existem dados disponíveis." #: searx/templates/oscar/messages/no_results.html:4 #: searx/templates/simple/messages/no_results.html:4 msgid "Engines cannot retrieve results." -msgstr "" +msgstr "Mecanismos não podem recuperar resultados." #: searx/templates/oscar/messages/no_results.html:10 #: searx/templates/simple/messages/no_results.html:10 msgid "Please, try again later or find another searx instance." -msgstr "" +msgstr "Por favor, tente novamente mais tarde ou encontre outra ocorrência de searx." #: searx/templates/oscar/messages/no_results.html:14 #: searx/templates/simple/messages/no_results.html:14 @@ -998,7 +999,7 @@ msgstr "Carregar mais..." #: searx/templates/simple/base.html:31 msgid "No item found" -msgstr "" +msgstr "Nenhum item encontrado" #: searx/templates/simple/preferences.html:89 msgid "Supports selected language" @@ -1006,8 +1007,8 @@ msgstr "Suporta idioma selecionado" #: searx/templates/simple/preferences.html:118 msgid "User interface" -msgstr "" +msgstr "Interface de usuário" #: searx/templates/simple/preferences.html:154 msgid "Privacy" -msgstr "" +msgstr "Privacidade" diff --git a/searx/translations/pt_BR/LC_MESSAGES/messages.mo b/searx/translations/pt_BR/LC_MESSAGES/messages.mo index a169ac908f..03eb74f4ef 100644 Binary files a/searx/translations/pt_BR/LC_MESSAGES/messages.mo and b/searx/translations/pt_BR/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/pt_BR/LC_MESSAGES/messages.po b/searx/translations/pt_BR/LC_MESSAGES/messages.po index b5a786c70c..6a0a6b8374 100644 --- a/searx/translations/pt_BR/LC_MESSAGES/messages.po +++ b/searx/translations/pt_BR/LC_MESSAGES/messages.po @@ -4,6 +4,7 @@ # # Translators: # Adam Tauber <asciimoo@gmail.com>, 2017 +# Chacal Exodius, 2018 # Gabriel Nunes <gabriel.hkr@gmail.com>, 2017 # Guimarães Mello <maeslor@cryptolab.net>, 2017 # Neton Brício <fervelinux@gmail.com>, 2015 @@ -14,8 +15,8 @@ msgstr "" "Project-Id-Version: searx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2017-11-01 21:31+0100\n" -"PO-Revision-Date: 2018-03-03 12:33+0000\n" -"Last-Translator: shizuka\n" +"PO-Revision-Date: 2018-08-06 05:21+0000\n" +"Last-Translator: Chacal Exodius\n" "Language-Team: Portuguese (Brazil) (http://www.transifex.com/asciimoo/searx/language/pt_BR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -164,7 +165,7 @@ msgstr "Automaticamente carregar a próxima página quando ir até o fim da pág #: searx/plugins/oa_doi_rewrite.py:9 msgid "Open Access DOI rewrite" -msgstr "" +msgstr "Reescrita DOI de acesso aberto" #: searx/plugins/oa_doi_rewrite.py:10 msgid "" @@ -717,7 +718,7 @@ msgstr "Estilo" #: searx/templates/oscar/preferences.html:122 msgid "Open Access DOI resolver" -msgstr "" +msgstr "Resolvedor DOI de Acesso Aberto" #: searx/templates/oscar/preferences.html:123 msgid "" diff --git a/searx/translations/ro/LC_MESSAGES/messages.mo b/searx/translations/ro/LC_MESSAGES/messages.mo index 5c6714e939..f39068576a 100644 Binary files a/searx/translations/ro/LC_MESSAGES/messages.mo and b/searx/translations/ro/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/ro/LC_MESSAGES/messages.po b/searx/translations/ro/LC_MESSAGES/messages.po index 21a2e7d1d5..7cfd1be37f 100644 --- a/searx/translations/ro/LC_MESSAGES/messages.po +++ b/searx/translations/ro/LC_MESSAGES/messages.po @@ -4,13 +4,14 @@ # # Translators: # adrian.fita <adrian.fita@gmail.com>, 2015 +# Daniel Șerbănescu <daniel@serbanescu.dk>, 2018 msgid "" msgstr "" "Project-Id-Version: searx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2017-11-01 21:31+0100\n" -"PO-Revision-Date: 2017-11-01 20:31+0000\n" -"Last-Translator: Adam Tauber <asciimoo@gmail.com>\n" +"PO-Revision-Date: 2018-11-15 21:18+0000\n" +"Last-Translator: Daniel Șerbănescu <daniel@serbanescu.dk>\n" "Language-Team: Romanian (http://www.transifex.com/asciimoo/searx/language/ro/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -21,15 +22,15 @@ msgstr "" #: searx/search.py:137 searx/search.py:182 msgid "timeout" -msgstr "" +msgstr "timp alocat expirat" #: searx/search.py:144 msgid "request exception" -msgstr "" +msgstr "excepție la cerere" #: searx/search.py:151 msgid "unexpected crash" -msgstr "" +msgstr "terminare prematură neașteptată" #: searx/webapp.py:136 msgid "files" @@ -37,7 +38,7 @@ msgstr "fișiere" #: searx/webapp.py:137 msgid "general" -msgstr "general" +msgstr "generale" #: searx/webapp.py:138 msgid "music" @@ -57,7 +58,7 @@ msgstr "videouri" #: searx/webapp.py:142 msgid "it" -msgstr "el(ea)" +msgstr "informatică" #: searx/webapp.py:143 msgid "news" @@ -65,23 +66,23 @@ msgstr "știri" #: searx/webapp.py:144 msgid "map" -msgstr "hartă" +msgstr "hărți" #: searx/webapp.py:145 msgid "science" -msgstr "" +msgstr "știință" #: searx/webapp.py:399 searx/webapp.py:658 msgid "Invalid settings, please edit your preferences" -msgstr "" +msgstr "Configurări nevalide, editați preferințele" #: searx/webapp.py:415 msgid "Invalid settings" -msgstr "" +msgstr "Configurări nevalide" #: searx/webapp.py:449 searx/webapp.py:493 msgid "search error" -msgstr "" +msgstr "eroare de căutare" #: searx/webapp.py:530 msgid "{minutes} minute(s) ago" @@ -93,27 +94,27 @@ msgstr "{hours} oră(e), {minutes} minut(e) în urmă" #: searx/answerers/random/answerer.py:53 msgid "Random value generator" -msgstr "" +msgstr "Generator de valori aleatorii" #: searx/answerers/random/answerer.py:54 msgid "Generate different random values" -msgstr "" +msgstr "Generează valori aleatoare diferite" #: searx/answerers/statistics/answerer.py:53 msgid "Statistics functions" -msgstr "" +msgstr "Funcții statistice" #: searx/answerers/statistics/answerer.py:54 msgid "Compute {functions} of the arguments" -msgstr "" +msgstr "Calculează {functions} din argumente" #: searx/engines/__init__.py:194 searx/engines/flycheck___init__.py:201 msgid "Engine time (sec)" -msgstr "" +msgstr "Timpul motorului (sec)" #: searx/engines/__init__.py:198 searx/engines/flycheck___init__.py:205 msgid "Page loads (sec)" -msgstr "Încărcarea paginilor (sec)" +msgstr "Încărcarea paginii (sec)" #: searx/engines/__init__.py:202 searx/engines/flycheck___init__.py:209 #: searx/templates/oscar/results.html:95 @@ -135,15 +136,15 @@ msgstr "Erori" #: searx/engines/pdbe.py:87 msgid "{title}&nbsp;(OBSOLETE)" -msgstr "" +msgstr "{title}&nbsp;(ÎNVECHIT)" #: searx/engines/pdbe.py:91 msgid "This entry has been superseded by" -msgstr "" +msgstr "Această intrare a fost perimată de" #: searx/engines/pubmed.py:74 msgid "No abstract is available for this publication." -msgstr "" +msgstr "Niciun abstract disponibil pentru această publicație." #: searx/plugins/https_rewrite.py:32 msgid "Rewrite HTTP links to HTTPS if possible" @@ -151,86 +152,86 @@ msgstr "Rescrie legăturile HTTP cu HTTPS dacă e posibil" #: searx/plugins/infinite_scroll.py:3 msgid "Infinite scroll" -msgstr "" +msgstr "Derulare infinită" #: searx/plugins/infinite_scroll.py:4 msgid "Automatically load next page when scrolling to bottom of current page" -msgstr "" +msgstr "Încarcă automat pagina următoare când se derulează la baza paginii curente" #: searx/plugins/oa_doi_rewrite.py:9 msgid "Open Access DOI rewrite" -msgstr "" +msgstr "Rescriere către acces deschis DOI" #: searx/plugins/oa_doi_rewrite.py:10 msgid "" "Avoid paywalls by redirecting to open-access versions of publications when " "available" -msgstr "" +msgstr "Evită „zidurile de plată” redirecționând către versiuni cu acces deschis ale publicațiilor când sunt disponibile" #: searx/plugins/open_results_on_new_tab.py:18 #: searx/templates/oscar/preferences.html:114 #: searx/templates/simple/preferences.html:149 msgid "Open result links on new browser tabs" -msgstr "" +msgstr "Deschide legăturile rezultate în taburi noi" #: searx/plugins/open_results_on_new_tab.py:19 msgid "" "Results are opened in the same window by default. This plugin overwrites the" " default behaviour to open links on new tabs/windows. (JavaScript required)" -msgstr "" +msgstr "Rezultatele sunt deschise în aceeași fereastră în mod implicit. Acest modul suprascrie acțiunea implicită de a deschide legături în ferestre/taburi noi. (Necesită JavaScript)" #: searx/plugins/search_on_category_select.py:18 msgid "Search on category select" -msgstr "Căutare în categoria selectată" +msgstr "Caută la selectarea categoriei" #: searx/plugins/search_on_category_select.py:19 msgid "" "Perform search immediately if a category selected. Disable to select " "multiple categories. (JavaScript required)" -msgstr "" +msgstr "Execută căutarea imediat dacă o categorie este selectată. Dezactivează pentru a selecta categorii multiple. (Necesită JavaScript)" #: searx/plugins/self_info.py:20 msgid "" "Displays your IP if the query is \"ip\" and your user agent if the query " "contains \"user agent\"." -msgstr "" +msgstr "Afișează IP-ul dacă interogarea este „ip” și agentul de utilizator dacă interogarea conține „user agent”." #: searx/plugins/tracker_url_remover.py:26 msgid "Tracker URL remover" -msgstr "" +msgstr "Eliminator de URL pentru urmăritor" #: searx/plugins/tracker_url_remover.py:27 msgid "Remove trackers arguments from the returned URL" -msgstr "" +msgstr "Elimină argumentele urmăritorului din URL-ul returnat" #: searx/plugins/vim_hotkeys.py:3 msgid "Vim-like hotkeys" -msgstr "" +msgstr "Scurtături de tastatură în stilul Vim" #: searx/plugins/vim_hotkeys.py:4 msgid "" "Navigate search results with Vim-like hotkeys (JavaScript required). Press " "\"h\" key on main or result page to get help." -msgstr "" +msgstr "Navighează rezultatele căutării cu scurtături de tastatură în stilul Vim (necesită JavaScript). Apăsați tasta „h” în pagina principală sau în pagina cu rezultate pentru a obține ajutor." #: searx/templates/courgette/404.html:4 searx/templates/legacy/404.html:4 #: searx/templates/oscar/404.html:4 searx/templates/pix-art/404.html:4 #: searx/templates/simple/404.html:4 msgid "Page not found" -msgstr "" +msgstr "Pagină negăsită" #: searx/templates/courgette/404.html:6 searx/templates/legacy/404.html:6 #: searx/templates/oscar/404.html:6 searx/templates/pix-art/404.html:6 #: searx/templates/simple/404.html:6 #, python-format msgid "Go to %(search_page)s." -msgstr "" +msgstr "Navighează la %(search_page)s" #: searx/templates/courgette/404.html:6 searx/templates/legacy/404.html:6 #: searx/templates/oscar/404.html:6 searx/templates/pix-art/404.html:6 #: searx/templates/simple/404.html:6 msgid "search page" -msgstr "" +msgstr "pagină de căutare" #: searx/templates/courgette/index.html:9 #: searx/templates/courgette/index.html:13 @@ -280,7 +281,7 @@ msgstr "Limba de căutare" #: searx/templates/simple/languages.html:2 #: searx/templates/simple/preferences.html:42 msgid "Default language" -msgstr "" +msgstr "Limba implicită" #: searx/templates/courgette/preferences.html:24 #: searx/templates/legacy/preferences.html:25 @@ -443,7 +444,7 @@ msgstr "Blochează" msgid "" "These settings are stored in your cookies, this allows us not to store this " "data about you." -msgstr "Aceste setări sunt stocate în cookie-urile d-voastră, aceasta ne permite să nu stocăm aceste date despre d-voastră." +msgstr "Aceste configurări sunt stocate în cookie-uri, ceea ce ne permite să nu stocăm aceste date despre dumeavoastră." #: searx/templates/courgette/preferences.html:124 #: searx/templates/legacy/preferences.html:121 @@ -453,7 +454,7 @@ msgstr "Aceste setări sunt stocate în cookie-urile d-voastră, aceasta ne perm msgid "" "These cookies serve your sole convenience, we don't use these cookies to " "track you." -msgstr "Aceste cookie-uri servesc doar pentru confortul d-voastră, noi nu stocăm aceste cookie-uri pentru a vă urmări." +msgstr "Aceste cookie-uri servesc doar pentru conveniența dumneavoastră, noi nu stocăm aceste cookie-uri pentru a vă urmări." #: searx/templates/courgette/preferences.html:127 #: searx/templates/legacy/preferences.html:124 @@ -468,7 +469,7 @@ msgstr "salvează" #: searx/templates/oscar/preferences.html:307 #: searx/templates/simple/preferences.html:186 msgid "Reset defaults" -msgstr "Resetează valorile implicite" +msgstr "Restabilește la valorile implicite" #: searx/templates/courgette/preferences.html:129 #: searx/templates/legacy/preferences.html:126 @@ -543,14 +544,14 @@ msgstr "contextul original" #: searx/templates/oscar/result_templates/torrent.html:6 #: searx/templates/simple/result_templates/torrent.html:9 msgid "Seeder" -msgstr "Seeder" +msgstr "Partener" #: searx/templates/courgette/result_templates/torrent.html:7 #: searx/templates/legacy/result_templates/torrent.html:11 #: searx/templates/oscar/result_templates/torrent.html:6 #: searx/templates/simple/result_templates/torrent.html:9 msgid "Leecher" -msgstr "Leecher" +msgstr "Sursă incompletă" #: searx/templates/courgette/result_templates/torrent.html:9 #: searx/templates/legacy/result_templates/torrent.html:9 @@ -575,19 +576,19 @@ msgstr "Apăsați pe lupă pentru a executa căutarea" #: searx/templates/oscar/preferences.html:113 #: searx/templates/simple/preferences.html:142 msgid "Results on new tabs" -msgstr "" +msgstr "Rezultate în taburi noi" #: searx/templates/legacy/preferences.html:87 #: searx/templates/oscar/preferences.html:117 #: searx/templates/simple/preferences.html:145 msgid "On" -msgstr "" +msgstr "Pornit" #: searx/templates/legacy/preferences.html:88 #: searx/templates/oscar/preferences.html:118 #: searx/templates/simple/preferences.html:146 msgid "Off" -msgstr "" +msgstr "Oprit" #: searx/templates/legacy/result_templates/code.html:3 #: searx/templates/legacy/result_templates/default.html:3 @@ -599,7 +600,7 @@ msgstr "stocat temporar" #: searx/templates/oscar/advanced.html:4 msgid "Advanced settings" -msgstr "" +msgstr "Configurări avansate" #: searx/templates/oscar/base.html:62 #: searx/templates/oscar/messages/first_time.html:4 @@ -613,7 +614,7 @@ msgstr "Închide" #: searx/templates/simple/messages/no_results.html:4 #: searx/templates/simple/results.html:25 msgid "Error!" -msgstr "" +msgstr "Eroare!" #: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 msgid "Powered by" @@ -626,21 +627,21 @@ msgstr "un meta-motor de căutare care respectă confidențialitatea" #: searx/templates/oscar/macros.html:36 searx/templates/oscar/macros.html:50 #: searx/templates/simple/macros.html:43 msgid "proxied" -msgstr "" +msgstr "delegat" #: searx/templates/oscar/macros.html:92 msgid "supported" -msgstr "" +msgstr "suporat" #: searx/templates/oscar/macros.html:96 msgid "not supported" -msgstr "" +msgstr "nesuportat" #: searx/templates/oscar/preferences.html:13 #: searx/templates/oscar/preferences.html:22 #: searx/templates/simple/preferences.html:32 msgid "General" -msgstr "General" +msgstr "Generale" #: searx/templates/oscar/preferences.html:14 #: searx/templates/oscar/preferences.html:146 @@ -656,12 +657,12 @@ msgstr "Module" #: searx/templates/oscar/preferences.html:16 #: searx/templates/oscar/preferences.html:245 msgid "Answerers" -msgstr "" +msgstr "Răspunzători" #: searx/templates/oscar/preferences.html:17 #: searx/templates/oscar/preferences.html:272 msgid "Cookies" -msgstr "" +msgstr "Cookie-uri" #: searx/templates/oscar/preferences.html:42 #: searx/templates/simple/preferences.html:48 @@ -703,99 +704,99 @@ msgstr "Schimbă aspectul lui searx" #: searx/templates/oscar/preferences.html:106 #: searx/templates/oscar/preferences.html:111 msgid "Choose style for this theme" -msgstr "" +msgstr "Alegeți stilul pentru această temă" #: searx/templates/oscar/preferences.html:106 #: searx/templates/oscar/preferences.html:111 msgid "Style" -msgstr "" +msgstr "Stil" #: searx/templates/oscar/preferences.html:122 msgid "Open Access DOI resolver" -msgstr "" +msgstr "Rezolvator de acces deschis DOI" #: searx/templates/oscar/preferences.html:123 msgid "" "Redirect to open-access versions of publications when available (plugin " "required)" -msgstr "" +msgstr "Redirecționează către versiuni cu acces deschis ale publicațiilor când sunt disponibile (modul necesar)" #: searx/templates/oscar/preferences.html:163 #: searx/templates/oscar/preferences.html:175 #: searx/templates/simple/preferences.html:88 msgid "Shortcut" -msgstr "" +msgstr "Scurtătură" #: searx/templates/oscar/preferences.html:164 #: searx/templates/oscar/preferences.html:174 msgid "Selected language" -msgstr "" +msgstr "Limba selectată" #: searx/templates/oscar/preferences.html:166 #: searx/templates/oscar/preferences.html:172 #: searx/templates/simple/preferences.html:91 msgid "Time range" -msgstr "" +msgstr "Interval de timp" #: searx/templates/oscar/preferences.html:167 #: searx/templates/oscar/preferences.html:171 #: searx/templates/simple/preferences.html:92 msgid "Avg. time" -msgstr "" +msgstr "Timp mediu" #: searx/templates/oscar/preferences.html:168 #: searx/templates/oscar/preferences.html:170 #: searx/templates/simple/preferences.html:93 msgid "Max time" -msgstr "" +msgstr "Timp maxim" #: searx/templates/oscar/preferences.html:248 msgid "This is the list of searx's instant answering modules." -msgstr "" +msgstr "Aceasta este lista de module de răspundere instantă a lui searx." #: searx/templates/oscar/preferences.html:252 msgid "Name" -msgstr "" +msgstr "Nume" #: searx/templates/oscar/preferences.html:253 msgid "Keywords" -msgstr "" +msgstr "Cuvinte cheie" #: searx/templates/oscar/preferences.html:254 msgid "Description" -msgstr "" +msgstr "Descriere" #: searx/templates/oscar/preferences.html:255 msgid "Examples" -msgstr "" +msgstr "Exemple" #: searx/templates/oscar/preferences.html:275 msgid "" "This is the list of cookies and their values searx is storing on your " "computer." -msgstr "" +msgstr "Aceasta este lista de cookie-uri și valorile lor pe care searx le stochează pe calculatorul dumneavoastră." #: searx/templates/oscar/preferences.html:276 msgid "With that list, you can assess searx transparency." -msgstr "" +msgstr "Cu acea listă puteți evalua nivelul de transparență al lui searx." #: searx/templates/oscar/preferences.html:281 msgid "Cookie name" -msgstr "" +msgstr "Nume cookie" #: searx/templates/oscar/preferences.html:282 msgid "Value" -msgstr "" +msgstr "Valuare" #: searx/templates/oscar/preferences.html:301 msgid "Search URL of the currently saved preferences" -msgstr "" +msgstr "URL-ul de căutare al preferințelor salvate curent" #: searx/templates/oscar/preferences.html:301 msgid "" "Note: specifying custom settings in the search URL can reduce privacy by " "leaking data to the clicked result sites." -msgstr "" +msgstr "Notă: specificând configurări personalizate în URL-ul de căutare poate reduce nivelul de confidențialitate prin scurgerea datelor către siturile accesate la căutare." #: searx/templates/oscar/results.html:17 msgid "Search results" @@ -804,12 +805,12 @@ msgstr "Rezultatele căutării" #: searx/templates/oscar/results.html:21 #: searx/templates/simple/results.html:84 msgid "Try searching for:" -msgstr "" +msgstr "Încercați să căutați după:" #: searx/templates/oscar/results.html:100 #: searx/templates/simple/results.html:25 msgid "Engines cannot retrieve results" -msgstr "" +msgstr "Motoarele nu pot obține rezultate" #: searx/templates/oscar/results.html:131 msgid "Links" @@ -828,27 +829,27 @@ msgstr "statistici" #: searx/templates/oscar/time-range.html:3 #: searx/templates/simple/time-range.html:3 msgid "Anytime" -msgstr "" +msgstr "Oricând" #: searx/templates/oscar/time-range.html:6 #: searx/templates/simple/time-range.html:6 msgid "Last day" -msgstr "" +msgstr "Ultima zi" #: searx/templates/oscar/time-range.html:9 #: searx/templates/simple/time-range.html:9 msgid "Last week" -msgstr "" +msgstr "Ultima săptămână" #: searx/templates/oscar/time-range.html:12 #: searx/templates/simple/time-range.html:12 msgid "Last month" -msgstr "" +msgstr "Ultima lună" #: searx/templates/oscar/time-range.html:15 #: searx/templates/simple/time-range.html:15 msgid "Last year" -msgstr "" +msgstr "Ultimul an" #: searx/templates/oscar/messages/first_time.html:6 #: searx/templates/oscar/messages/no_data_available.html:3 @@ -861,11 +862,11 @@ msgstr "Se pare că folosiți searx pentru prima dată." #: searx/templates/oscar/messages/no_cookies.html:3 msgid "Information!" -msgstr "" +msgstr "Informație!" #: searx/templates/oscar/messages/no_cookies.html:4 msgid "currently, there are no cookies defined." -msgstr "" +msgstr "momentan, nu există cookie-uri definite" #: searx/templates/oscar/messages/no_data_available.html:4 msgid "There is currently no data available. " @@ -874,24 +875,24 @@ msgstr "Deocamdată nu există date disponibile." #: searx/templates/oscar/messages/no_results.html:4 #: searx/templates/simple/messages/no_results.html:4 msgid "Engines cannot retrieve results." -msgstr "" +msgstr "Motoarele nu pot obține rezultate" #: searx/templates/oscar/messages/no_results.html:10 #: searx/templates/simple/messages/no_results.html:10 msgid "Please, try again later or find another searx instance." -msgstr "" +msgstr "Încercați din nou mai târziu sau folosiți o altă instanță searx-" #: searx/templates/oscar/messages/no_results.html:14 #: searx/templates/simple/messages/no_results.html:14 msgid "Sorry!" -msgstr "Îmi pare rău!" +msgstr "Ne pare rău!" #: searx/templates/oscar/messages/no_results.html:15 #: searx/templates/simple/messages/no_results.html:15 msgid "" "we didn't find any results. Please use another query or search in more " "categories." -msgstr "n-am găsit nici un rezultat. Vă rog folosiți o altă interogare sau căutați în mai multe categorii." +msgstr "n-am găsit nici un rezultat. Folosiți o altă interogare sau căutați în mai multe categorii." #: searx/templates/oscar/messages/save_settings_successfull.html:7 msgid "Well done!" @@ -899,7 +900,7 @@ msgstr "Bravo!" #: searx/templates/oscar/messages/save_settings_successfull.html:8 msgid "Settings saved successfully." -msgstr "Setările au fost salvate cu succes." +msgstr "Configurările au fost salvate cu succes." #: searx/templates/oscar/messages/unknow_error.html:7 msgid "Oh snap!" @@ -998,16 +999,16 @@ msgstr "Încarcă mai multe..." #: searx/templates/simple/base.html:31 msgid "No item found" -msgstr "" +msgstr "Niciun element găsit" #: searx/templates/simple/preferences.html:89 msgid "Supports selected language" -msgstr "" +msgstr "Suportă limba selectată" #: searx/templates/simple/preferences.html:118 msgid "User interface" -msgstr "" +msgstr "Interfața pentru utilizator" #: searx/templates/simple/preferences.html:154 msgid "Privacy" -msgstr "" +msgstr "Confidențialitate" diff --git a/searx/translations/ru/LC_MESSAGES/messages.mo b/searx/translations/ru/LC_MESSAGES/messages.mo index 9d5ea61b08..c6bcdd1b6d 100644 Binary files a/searx/translations/ru/LC_MESSAGES/messages.mo and b/searx/translations/ru/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/ru/LC_MESSAGES/messages.po b/searx/translations/ru/LC_MESSAGES/messages.po index f6bda5f1b6..befe7f963e 100644 --- a/searx/translations/ru/LC_MESSAGES/messages.po +++ b/searx/translations/ru/LC_MESSAGES/messages.po @@ -3,7 +3,7 @@ # This file is distributed under the same license as the PROJECT project. # # Translators: -# Andrey, 2017 +# Andrey, 2017-2019 # dimqua <dimqua@riseup.net>, 2015 # dimqua <dimqua@riseup.net>, 2015 # dimqua <dimqua@riseup.net>, 2017 @@ -14,8 +14,8 @@ msgstr "" "Project-Id-Version: searx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2017-11-01 21:31+0100\n" -"PO-Revision-Date: 2018-02-26 16:39+0000\n" -"Last-Translator: John DOe <is-kir@ya.ru>\n" +"PO-Revision-Date: 2019-01-05 12:11+0000\n" +"Last-Translator: Andrey\n" "Language-Team: Russian (http://www.transifex.com/asciimoo/searx/language/ru/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -34,7 +34,7 @@ msgstr "ошибка выполнения запроса" #: searx/search.py:151 msgid "unexpected crash" -msgstr "неожиданное падение" +msgstr "неожиданный сбой" #: searx/webapp.py:136 msgid "files" @@ -148,7 +148,7 @@ msgstr "Эта запись была заменена на" #: searx/engines/pubmed.py:74 msgid "No abstract is available for this publication." -msgstr "Для данной публикации недоступно" +msgstr "Нет аннотации для этой публикации." #: searx/plugins/https_rewrite.py:32 msgid "Rewrite HTTP links to HTTPS if possible" @@ -198,15 +198,15 @@ msgstr "Выполнять поиск немедленно, если выбра msgid "" "Displays your IP if the query is \"ip\" and your user agent if the query " "contains \"user agent\"." -msgstr "Отображает ваш IP-адрес при запросе \"ip\" и отпечаток браузера при запросе \"user agent\"." +msgstr "Отображает ваш IP-адрес при запросе \"ip\" и пользовательский агент при запросе \"user agent\"." #: searx/plugins/tracker_url_remover.py:26 msgid "Tracker URL remover" -msgstr "Удаление трекера URL-адресов" +msgstr "Удаление трекинга URL-адресов" #: searx/plugins/tracker_url_remover.py:27 msgid "Remove trackers arguments from the returned URL" -msgstr "Удаляет аргументы отслеживания из возвращенного URL-адреса" +msgstr "Удаляет аргументы отслеживания из URL-адреса" #: searx/plugins/vim_hotkeys.py:3 msgid "Vim-like hotkeys" @@ -300,7 +300,7 @@ msgstr "Язык интерфейса" #: searx/templates/oscar/preferences.html:57 #: searx/templates/simple/preferences.html:51 msgid "Autocomplete" -msgstr "Подгрузка результатов" +msgstr "Автозавершение" #: searx/templates/courgette/preferences.html:45 #: searx/templates/legacy/preferences.html:46 @@ -622,7 +622,7 @@ msgstr "Ошибка!" #: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 msgid "Powered by" -msgstr "Используется" +msgstr "Основано на" #: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 msgid "a privacy-respecting, hackable metasearch engine" @@ -631,7 +631,7 @@ msgstr "уважающая вашу приватность, открытая м #: searx/templates/oscar/macros.html:36 searx/templates/oscar/macros.html:50 #: searx/templates/simple/macros.html:43 msgid "proxied" -msgstr "proxy" +msgstr "proxied" #: searx/templates/oscar/macros.html:92 msgid "supported" @@ -671,7 +671,7 @@ msgstr "Cookie" #: searx/templates/oscar/preferences.html:42 #: searx/templates/simple/preferences.html:48 msgid "What language do you prefer for search?" -msgstr "На каком языке вы предпочитаете искать?" +msgstr "Какой язык предпочтителен для поиска?" #: searx/templates/oscar/preferences.html:48 #: searx/templates/simple/preferences.html:128 @@ -686,7 +686,7 @@ msgstr "Поисковые предложения по мере ввода" #: searx/templates/oscar/preferences.html:69 #: searx/templates/simple/preferences.html:173 msgid "Proxying image results through searx" -msgstr "Загружать найденные изображения через searx" +msgstr "Проксировать найденные изображения с помощью searx" #: searx/templates/oscar/preferences.html:78 msgid "" @@ -698,7 +698,7 @@ msgstr "Изменяет способ отправки запросов. <a href #: searx/templates/oscar/preferences.html:87 #: searx/templates/simple/preferences.html:71 msgid "Filter content" -msgstr "Фильтрация содержимого для взрослых в результатах поиска." +msgstr "Фильтрация контента" #: searx/templates/oscar/preferences.html:97 #: searx/templates/simple/preferences.html:139 @@ -800,7 +800,7 @@ msgstr "URL поиска для текущих сохраненных парам msgid "" "Note: specifying custom settings in the search URL can reduce privacy by " "leaking data to the clicked result sites." -msgstr "Обратите внимание, что задание пользовательских параметров в URL поиска может привести к их утечке к посещаемым сайтам из поисковой выдачи." +msgstr "Учтите, что укаание пользовательских настроек в URL поиска может привести к их утечке к посещаемым сайтам из поисковой выдачи." #: searx/templates/oscar/results.html:17 msgid "Search results" @@ -884,7 +884,7 @@ msgstr "Движки не могут получить результаты." #: searx/templates/oscar/messages/no_results.html:10 #: searx/templates/simple/messages/no_results.html:10 msgid "Please, try again later or find another searx instance." -msgstr "Пожалуйста, попробуйте позже или воспользуйтесь другим searx инстансом." +msgstr "Пожалуйста, попробуйте позже или воспользуйтесь другим сервером searx." #: searx/templates/oscar/messages/no_results.html:14 #: searx/templates/simple/messages/no_results.html:14 diff --git a/searx/translations/sk/LC_MESSAGES/messages.mo b/searx/translations/sk/LC_MESSAGES/messages.mo index af7ac9dbba..0d8f6fa707 100644 Binary files a/searx/translations/sk/LC_MESSAGES/messages.mo and b/searx/translations/sk/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/sl/LC_MESSAGES/messages.mo b/searx/translations/sl/LC_MESSAGES/messages.mo index f20b5275b3..b2cf9e1b13 100644 Binary files a/searx/translations/sl/LC_MESSAGES/messages.mo and b/searx/translations/sl/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/sl/LC_MESSAGES/messages.po b/searx/translations/sl/LC_MESSAGES/messages.po index f3e6fef070..3ce7f97d63 100644 --- a/searx/translations/sl/LC_MESSAGES/messages.po +++ b/searx/translations/sl/LC_MESSAGES/messages.po @@ -3,14 +3,14 @@ # This file is distributed under the same license as the PROJECT project. # # Translators: -# asladic <ales.sladic@gmail.com>, 2017 +# asladic <ales.sladic@gmail.com>, 2017-2018 msgid "" msgstr "" "Project-Id-Version: searx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2017-11-01 21:31+0100\n" -"PO-Revision-Date: 2017-11-01 20:31+0000\n" -"Last-Translator: Adam Tauber <asciimoo@gmail.com>\n" +"PO-Revision-Date: 2018-05-01 08:59+0000\n" +"Last-Translator: asladic <ales.sladic@gmail.com>\n" "Language-Team: Slovenian (http://www.transifex.com/asciimoo/searx/language/sl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -21,15 +21,15 @@ msgstr "" #: searx/search.py:137 searx/search.py:182 msgid "timeout" -msgstr "" +msgstr "presežena časovna omejitev" #: searx/search.py:144 msgid "request exception" -msgstr "" +msgstr "napaka poizvedbe" #: searx/search.py:151 msgid "unexpected crash" -msgstr "" +msgstr "nepričakovana napaka" #: searx/webapp.py:136 msgid "files" @@ -77,7 +77,7 @@ msgstr "Neveljavne nastavitve. Prosimo, preverite vašo konfiguracijo" #: searx/webapp.py:415 msgid "Invalid settings" -msgstr "" +msgstr "Neveljavne nastavitve" #: searx/webapp.py:449 searx/webapp.py:493 msgid "search error" @@ -630,11 +630,11 @@ msgstr "preko posredniškega strežnika" #: searx/templates/oscar/macros.html:92 msgid "supported" -msgstr "" +msgstr "podprto" #: searx/templates/oscar/macros.html:96 msgid "not supported" -msgstr "" +msgstr "ni podprto" #: searx/templates/oscar/preferences.html:13 #: searx/templates/oscar/preferences.html:22 @@ -718,7 +718,7 @@ msgstr "" msgid "" "Redirect to open-access versions of publications when available (plugin " "required)" -msgstr "" +msgstr "Preusmeri na prosto dostopne različice publikacij, ko so na voljo (zahtevan vtičnik)" #: searx/templates/oscar/preferences.html:163 #: searx/templates/oscar/preferences.html:175 @@ -729,7 +729,7 @@ msgstr "Bližnjica" #: searx/templates/oscar/preferences.html:164 #: searx/templates/oscar/preferences.html:174 msgid "Selected language" -msgstr "" +msgstr "Izbrani jezik" #: searx/templates/oscar/preferences.html:166 #: searx/templates/oscar/preferences.html:172 @@ -789,13 +789,13 @@ msgstr "Vrednost" #: searx/templates/oscar/preferences.html:301 msgid "Search URL of the currently saved preferences" -msgstr "" +msgstr "Iskalni URL trenutno shranjenih nastavitev" #: searx/templates/oscar/preferences.html:301 msgid "" "Note: specifying custom settings in the search URL can reduce privacy by " "leaking data to the clicked result sites." -msgstr "" +msgstr "Opomba: navajanje lastnih nastavitev v iskalnem URL lahko vodi do zmanjšane zasebnosti preko podajanja podatkov izbranim rezultatom." #: searx/templates/oscar/results.html:17 msgid "Search results" @@ -804,12 +804,12 @@ msgstr "Zadetki iskanja" #: searx/templates/oscar/results.html:21 #: searx/templates/simple/results.html:84 msgid "Try searching for:" -msgstr "" +msgstr "Poskusite iskati:" #: searx/templates/oscar/results.html:100 #: searx/templates/simple/results.html:25 msgid "Engines cannot retrieve results" -msgstr "" +msgstr "Iskalniki ne morejo pridobiti rezultatov" #: searx/templates/oscar/results.html:131 msgid "Links" @@ -874,12 +874,12 @@ msgstr "Trenutno ni podatkov na voljo." #: searx/templates/oscar/messages/no_results.html:4 #: searx/templates/simple/messages/no_results.html:4 msgid "Engines cannot retrieve results." -msgstr "" +msgstr "Iskalniki ne morejo pridobiti rezultatov." #: searx/templates/oscar/messages/no_results.html:10 #: searx/templates/simple/messages/no_results.html:10 msgid "Please, try again later or find another searx instance." -msgstr "" +msgstr "Prosimo, poskusite kasneje tu ali na drugi instanci searx." #: searx/templates/oscar/messages/no_results.html:14 #: searx/templates/simple/messages/no_results.html:14 @@ -998,7 +998,7 @@ msgstr "Naloži več..." #: searx/templates/simple/base.html:31 msgid "No item found" -msgstr "" +msgstr "Ni zadetkov" #: searx/templates/simple/preferences.html:89 msgid "Supports selected language" @@ -1006,8 +1006,8 @@ msgstr "Podpira izbrani jezik" #: searx/templates/simple/preferences.html:118 msgid "User interface" -msgstr "" +msgstr "Uporabniški vmesnik" #: searx/templates/simple/preferences.html:154 msgid "Privacy" -msgstr "" +msgstr "Zasebnost" diff --git a/searx/translations/sr/LC_MESSAGES/messages.mo b/searx/translations/sr/LC_MESSAGES/messages.mo index b38a68d1d3..65efaaa1a9 100644 Binary files a/searx/translations/sr/LC_MESSAGES/messages.mo and b/searx/translations/sr/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/sv/LC_MESSAGES/messages.mo b/searx/translations/sv/LC_MESSAGES/messages.mo index b3687f94a4..73d36de8cd 100644 Binary files a/searx/translations/sv/LC_MESSAGES/messages.mo and b/searx/translations/sv/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/sv/LC_MESSAGES/messages.po b/searx/translations/sv/LC_MESSAGES/messages.po index 3c98e06fc6..e8b01c8324 100644 --- a/searx/translations/sv/LC_MESSAGES/messages.po +++ b/searx/translations/sv/LC_MESSAGES/messages.po @@ -4,13 +4,14 @@ # # Translators: # Jonatan Nyberg, 2016-2017 +# Jonatan Nyberg, 2018 # Jonatan Nyberg, 2017-2018 msgid "" msgstr "" "Project-Id-Version: searx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2017-11-01 21:31+0100\n" -"PO-Revision-Date: 2018-01-13 11:39+0000\n" +"PO-Revision-Date: 2018-07-24 18:39+0000\n" "Last-Translator: Jonatan Nyberg\n" "Language-Team: Swedish (http://www.transifex.com/asciimoo/searx/language/sv/)\n" "MIME-Version: 1.0\n" @@ -160,7 +161,7 @@ msgstr "Automatiskt ladda nästa sida när du bläddrar till botten av aktuell s #: searx/plugins/oa_doi_rewrite.py:9 msgid "Open Access DOI rewrite" -msgstr "" +msgstr "Open Access DOI-omskrivning" #: searx/plugins/oa_doi_rewrite.py:10 msgid "" @@ -182,7 +183,7 @@ msgstr "Resultat öppnas i samma fönster som standard. Denna insticksmodul skri #: searx/plugins/search_on_category_select.py:18 msgid "Search on category select" -msgstr "Sök på kategori välj" +msgstr "Sök vid val av kategori" #: searx/plugins/search_on_category_select.py:19 msgid "" @@ -198,7 +199,7 @@ msgstr "Visar din IP om förfrågan är \"ip\" och din användaragent om förfr #: searx/plugins/tracker_url_remover.py:26 msgid "Tracker URL remover" -msgstr "Trackerwebbadress borttagare" +msgstr "Bevakningswebbadress borttagare" #: searx/plugins/tracker_url_remover.py:27 msgid "Remove trackers arguments from the returned URL" @@ -263,7 +264,7 @@ msgstr "Inställningar" #: searx/templates/oscar/preferences.html:35 #: searx/templates/simple/preferences.html:34 msgid "Default categories" -msgstr "Standard kategorier" +msgstr "Standardkategorier" #: searx/templates/courgette/preferences.html:13 #: searx/templates/legacy/preferences.html:14 @@ -713,7 +714,7 @@ msgstr "Stil" #: searx/templates/oscar/preferences.html:122 msgid "Open Access DOI resolver" -msgstr "" +msgstr "Open Access DOI-lösare" #: searx/templates/oscar/preferences.html:123 msgid "" diff --git a/searx/translations/te/LC_MESSAGES/messages.mo b/searx/translations/te/LC_MESSAGES/messages.mo new file mode 100644 index 0000000000..57488bf0bd Binary files /dev/null and b/searx/translations/te/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/te/LC_MESSAGES/messages.po b/searx/translations/te/LC_MESSAGES/messages.po new file mode 100644 index 0000000000..8da1506ccf --- /dev/null +++ b/searx/translations/te/LC_MESSAGES/messages.po @@ -0,0 +1,1013 @@ +# Translations template for PROJECT. +# Copyright (C) 2017 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# +# Translators: +# Joseph Nuthalapati <njoseph@thoughtworks.com>, 2018 +msgid "" +msgstr "" +"Project-Id-Version: searx\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2017-11-01 21:31+0100\n" +"PO-Revision-Date: 2018-03-08 16:40+0000\n" +"Last-Translator: Joseph Nuthalapati <njoseph@thoughtworks.com>\n" +"Language-Team: Telugu (http://www.transifex.com/asciimoo/searx/language/te/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.3.4\n" +"Language: te\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: searx/search.py:137 searx/search.py:182 +msgid "timeout" +msgstr "కాలపరిమితి దాటిపోయింది" + +#: searx/search.py:144 +msgid "request exception" +msgstr "" + +#: searx/search.py:151 +msgid "unexpected crash" +msgstr "" + +#: searx/webapp.py:136 +msgid "files" +msgstr "ఫైళ్ళు" + +#: searx/webapp.py:137 +msgid "general" +msgstr "సాధారణ" + +#: searx/webapp.py:138 +msgid "music" +msgstr "సంగీతం" + +#: searx/webapp.py:139 +msgid "social media" +msgstr "సోషల్ మీడియా" + +#: searx/webapp.py:140 +msgid "images" +msgstr "చిత్రాలు" + +#: searx/webapp.py:141 +msgid "videos" +msgstr "వీడియోలు" + +#: searx/webapp.py:142 +msgid "it" +msgstr "ఐటి" + +#: searx/webapp.py:143 +msgid "news" +msgstr "వార్తలు" + +#: searx/webapp.py:144 +msgid "map" +msgstr "పటము" + +#: searx/webapp.py:145 +msgid "science" +msgstr "విజ్ఞానశాస్త్రం" + +#: searx/webapp.py:399 searx/webapp.py:658 +msgid "Invalid settings, please edit your preferences" +msgstr "" + +#: searx/webapp.py:415 +msgid "Invalid settings" +msgstr "చెల్లని అమరికలు" + +#: searx/webapp.py:449 searx/webapp.py:493 +msgid "search error" +msgstr "శోధనలో దోషము" + +#: searx/webapp.py:530 +msgid "{minutes} minute(s) ago" +msgstr "{minutes} నిమిషము(ల) క్రిందట" + +#: searx/webapp.py:532 +msgid "{hours} hour(s), {minutes} minute(s) ago" +msgstr "" + +#: searx/answerers/random/answerer.py:53 +msgid "Random value generator" +msgstr "" + +#: searx/answerers/random/answerer.py:54 +msgid "Generate different random values" +msgstr "" + +#: searx/answerers/statistics/answerer.py:53 +msgid "Statistics functions" +msgstr "సాంఖ్యకశాస్త్ర ప్రమేయాలు" + +#: searx/answerers/statistics/answerer.py:54 +msgid "Compute {functions} of the arguments" +msgstr "" + +#: searx/engines/__init__.py:194 searx/engines/flycheck___init__.py:201 +msgid "Engine time (sec)" +msgstr "" + +#: searx/engines/__init__.py:198 searx/engines/flycheck___init__.py:205 +msgid "Page loads (sec)" +msgstr "" + +#: searx/engines/__init__.py:202 searx/engines/flycheck___init__.py:209 +#: searx/templates/oscar/results.html:95 +#: searx/templates/simple/results.html:20 +msgid "Number of results" +msgstr "ఫలితముల సంఖ్య" + +#: searx/engines/__init__.py:206 searx/engines/flycheck___init__.py:213 +msgid "Scores" +msgstr "" + +#: searx/engines/__init__.py:210 searx/engines/flycheck___init__.py:217 +msgid "Scores per result" +msgstr "" + +#: searx/engines/__init__.py:214 searx/engines/flycheck___init__.py:221 +msgid "Errors" +msgstr "దోషములు" + +#: searx/engines/pdbe.py:87 +msgid "{title}&nbsp;(OBSOLETE)" +msgstr "" + +#: searx/engines/pdbe.py:91 +msgid "This entry has been superseded by" +msgstr "" + +#: searx/engines/pubmed.py:74 +msgid "No abstract is available for this publication." +msgstr "" + +#: searx/plugins/https_rewrite.py:32 +msgid "Rewrite HTTP links to HTTPS if possible" +msgstr "" + +#: searx/plugins/infinite_scroll.py:3 +msgid "Infinite scroll" +msgstr "" + +#: searx/plugins/infinite_scroll.py:4 +msgid "Automatically load next page when scrolling to bottom of current page" +msgstr "" + +#: searx/plugins/oa_doi_rewrite.py:9 +msgid "Open Access DOI rewrite" +msgstr "" + +#: searx/plugins/oa_doi_rewrite.py:10 +msgid "" +"Avoid paywalls by redirecting to open-access versions of publications when " +"available" +msgstr "" + +#: searx/plugins/open_results_on_new_tab.py:18 +#: searx/templates/oscar/preferences.html:114 +#: searx/templates/simple/preferences.html:149 +msgid "Open result links on new browser tabs" +msgstr "" + +#: searx/plugins/open_results_on_new_tab.py:19 +msgid "" +"Results are opened in the same window by default. This plugin overwrites the" +" default behaviour to open links on new tabs/windows. (JavaScript required)" +msgstr "" + +#: searx/plugins/search_on_category_select.py:18 +msgid "Search on category select" +msgstr "" + +#: searx/plugins/search_on_category_select.py:19 +msgid "" +"Perform search immediately if a category selected. Disable to select " +"multiple categories. (JavaScript required)" +msgstr "" + +#: searx/plugins/self_info.py:20 +msgid "" +"Displays your IP if the query is \"ip\" and your user agent if the query " +"contains \"user agent\"." +msgstr "" + +#: searx/plugins/tracker_url_remover.py:26 +msgid "Tracker URL remover" +msgstr "" + +#: searx/plugins/tracker_url_remover.py:27 +msgid "Remove trackers arguments from the returned URL" +msgstr "" + +#: searx/plugins/vim_hotkeys.py:3 +msgid "Vim-like hotkeys" +msgstr "" + +#: searx/plugins/vim_hotkeys.py:4 +msgid "" +"Navigate search results with Vim-like hotkeys (JavaScript required). Press " +"\"h\" key on main or result page to get help." +msgstr "" + +#: searx/templates/courgette/404.html:4 searx/templates/legacy/404.html:4 +#: searx/templates/oscar/404.html:4 searx/templates/pix-art/404.html:4 +#: searx/templates/simple/404.html:4 +msgid "Page not found" +msgstr "పుట దొరకలేదు" + +#: searx/templates/courgette/404.html:6 searx/templates/legacy/404.html:6 +#: searx/templates/oscar/404.html:6 searx/templates/pix-art/404.html:6 +#: searx/templates/simple/404.html:6 +#, python-format +msgid "Go to %(search_page)s." +msgstr "%(search_page)sకు వెళ్ళు" + +#: searx/templates/courgette/404.html:6 searx/templates/legacy/404.html:6 +#: searx/templates/oscar/404.html:6 searx/templates/pix-art/404.html:6 +#: searx/templates/simple/404.html:6 +msgid "search page" +msgstr "శోధన పుట" + +#: searx/templates/courgette/index.html:9 +#: searx/templates/courgette/index.html:13 +#: searx/templates/courgette/results.html:5 +#: searx/templates/legacy/index.html:8 searx/templates/legacy/index.html:12 +#: searx/templates/oscar/navbar.html:7 +#: searx/templates/oscar/preferences.html:3 +#: searx/templates/pix-art/index.html:8 +msgid "preferences" +msgstr "అభిరుచులు" + +#: searx/templates/courgette/index.html:11 +#: searx/templates/legacy/index.html:10 searx/templates/oscar/about.html:2 +#: searx/templates/oscar/navbar.html:6 searx/templates/pix-art/index.html:7 +msgid "about" +msgstr "గురించి" + +#: searx/templates/courgette/preferences.html:5 +#: searx/templates/legacy/preferences.html:5 +#: searx/templates/oscar/preferences.html:8 +#: searx/templates/pix-art/preferences.html:5 +#: searx/templates/simple/preferences.html:26 +msgid "Preferences" +msgstr "అభిరుచులు" + +#: searx/templates/courgette/preferences.html:9 +#: searx/templates/legacy/preferences.html:9 +#: searx/templates/oscar/preferences.html:33 +#: searx/templates/oscar/preferences.html:35 +#: searx/templates/simple/preferences.html:34 +msgid "Default categories" +msgstr "నిష్క్రియ వర్గాలు" + +#: searx/templates/courgette/preferences.html:13 +#: searx/templates/legacy/preferences.html:14 +#: searx/templates/oscar/preferences.html:41 +#: searx/templates/pix-art/preferences.html:9 +#: searx/templates/simple/preferences.html:39 +#: searx/templates/simple/preferences.html:163 +msgid "Search language" +msgstr "శోధన భాష" + +#: searx/templates/courgette/preferences.html:16 +#: searx/templates/legacy/preferences.html:17 +#: searx/templates/oscar/languages.html:6 +#: searx/templates/pix-art/preferences.html:12 +#: searx/templates/simple/languages.html:2 +#: searx/templates/simple/preferences.html:42 +msgid "Default language" +msgstr "నిష్క్రియ భాష" + +#: searx/templates/courgette/preferences.html:24 +#: searx/templates/legacy/preferences.html:25 +#: searx/templates/oscar/preferences.html:47 +#: searx/templates/pix-art/preferences.html:20 +#: searx/templates/simple/preferences.html:120 +msgid "Interface language" +msgstr "వినిమయసీమ భాష" + +#: searx/templates/courgette/preferences.html:34 +#: searx/templates/legacy/preferences.html:35 +#: searx/templates/oscar/preferences.html:57 +#: searx/templates/simple/preferences.html:51 +msgid "Autocomplete" +msgstr "" + +#: searx/templates/courgette/preferences.html:45 +#: searx/templates/legacy/preferences.html:46 +#: searx/templates/oscar/preferences.html:68 +#: searx/templates/simple/preferences.html:166 +msgid "Image proxy" +msgstr "" + +#: searx/templates/courgette/preferences.html:48 +#: searx/templates/legacy/preferences.html:49 +#: searx/templates/oscar/preferences.html:72 +#: searx/templates/simple/preferences.html:169 +msgid "Enabled" +msgstr "" + +#: searx/templates/courgette/preferences.html:49 +#: searx/templates/legacy/preferences.html:50 +#: searx/templates/oscar/preferences.html:73 +#: searx/templates/simple/preferences.html:170 +msgid "Disabled" +msgstr "" + +#: searx/templates/courgette/preferences.html:54 +#: searx/templates/legacy/preferences.html:55 +#: searx/templates/oscar/preferences.html:77 +#: searx/templates/pix-art/preferences.html:30 +#: searx/templates/simple/preferences.html:156 +msgid "Method" +msgstr "విధానం" + +#: searx/templates/courgette/preferences.html:63 +#: searx/templates/legacy/preferences.html:64 +#: searx/templates/oscar/preferences.html:86 +#: searx/templates/oscar/preferences.html:165 +#: searx/templates/oscar/preferences.html:173 +#: searx/templates/simple/preferences.html:63 +#: searx/templates/simple/preferences.html:90 +msgid "SafeSearch" +msgstr "సురక్షితశోధన" + +#: searx/templates/courgette/preferences.html:66 +#: searx/templates/legacy/preferences.html:67 +#: searx/templates/oscar/preferences.html:90 +#: searx/templates/simple/preferences.html:66 +msgid "Strict" +msgstr "కఠినమైన" + +#: searx/templates/courgette/preferences.html:67 +#: searx/templates/legacy/preferences.html:68 +#: searx/templates/oscar/preferences.html:91 +#: searx/templates/simple/preferences.html:67 +msgid "Moderate" +msgstr "మితమైన" + +#: searx/templates/courgette/preferences.html:68 +#: searx/templates/legacy/preferences.html:69 +#: searx/templates/oscar/preferences.html:92 +#: searx/templates/simple/preferences.html:68 +msgid "None" +msgstr "ఏమీ లేదు" + +#: searx/templates/courgette/preferences.html:73 +#: searx/templates/legacy/preferences.html:74 +#: searx/templates/oscar/preferences.html:96 +#: searx/templates/pix-art/preferences.html:39 +#: searx/templates/simple/preferences.html:131 +msgid "Themes" +msgstr "" + +#: searx/templates/courgette/preferences.html:83 +msgid "Color" +msgstr "రంగు" + +#: searx/templates/courgette/preferences.html:86 +msgid "Blue (default)" +msgstr "నీలం (నిష్క్రియం)" + +#: searx/templates/courgette/preferences.html:87 +msgid "Violet" +msgstr "ఊదారంగు" + +#: searx/templates/courgette/preferences.html:88 +msgid "Green" +msgstr "ఆకుపచ్చ" + +#: searx/templates/courgette/preferences.html:89 +msgid "Cyan" +msgstr " ముదురు నీలం" + +#: searx/templates/courgette/preferences.html:90 +msgid "Orange" +msgstr "నారింజ" + +#: searx/templates/courgette/preferences.html:91 +msgid "Red" +msgstr "ఎరుపు" + +#: searx/templates/courgette/preferences.html:96 +#: searx/templates/legacy/preferences.html:93 +#: searx/templates/pix-art/preferences.html:49 +#: searx/templates/simple/preferences.html:77 +msgid "Currently used search engines" +msgstr "ప్రస్తుతం ఉపయోగించబడుతున్న శోధన యంత్రాలు" + +#: searx/templates/courgette/preferences.html:100 +#: searx/templates/legacy/preferences.html:97 +#: searx/templates/oscar/preferences.html:162 +#: searx/templates/oscar/preferences.html:176 +#: searx/templates/pix-art/preferences.html:53 +#: searx/templates/simple/preferences.html:87 +msgid "Engine name" +msgstr "యంత్రం పేరు" + +#: searx/templates/courgette/preferences.html:101 +#: searx/templates/legacy/preferences.html:98 +msgid "Category" +msgstr "వర్గము" + +#: searx/templates/courgette/preferences.html:102 +#: searx/templates/courgette/preferences.html:113 +#: searx/templates/legacy/preferences.html:99 +#: searx/templates/legacy/preferences.html:110 +#: searx/templates/oscar/preferences.html:161 +#: searx/templates/oscar/preferences.html:177 +#: searx/templates/pix-art/preferences.html:54 +#: searx/templates/pix-art/preferences.html:64 +#: searx/templates/simple/preferences.html:86 +msgid "Allow" +msgstr "అనుమతించు" + +#: searx/templates/courgette/preferences.html:102 +#: searx/templates/courgette/preferences.html:114 +#: searx/templates/legacy/preferences.html:99 +#: searx/templates/legacy/preferences.html:111 +#: searx/templates/pix-art/preferences.html:54 +#: searx/templates/pix-art/preferences.html:65 +msgid "Block" +msgstr "అడ్డగించు" + +#: searx/templates/courgette/preferences.html:122 +#: searx/templates/legacy/preferences.html:119 +#: searx/templates/oscar/preferences.html:297 +#: searx/templates/pix-art/preferences.html:73 +#: searx/templates/simple/preferences.html:180 +msgid "" +"These settings are stored in your cookies, this allows us not to store this " +"data about you." +msgstr "" + +#: searx/templates/courgette/preferences.html:124 +#: searx/templates/legacy/preferences.html:121 +#: searx/templates/oscar/preferences.html:299 +#: searx/templates/pix-art/preferences.html:75 +#: searx/templates/simple/preferences.html:182 +msgid "" +"These cookies serve your sole convenience, we don't use these cookies to " +"track you." +msgstr "" + +#: searx/templates/courgette/preferences.html:127 +#: searx/templates/legacy/preferences.html:124 +#: searx/templates/oscar/preferences.html:305 +#: searx/templates/pix-art/preferences.html:78 +#: searx/templates/simple/preferences.html:185 +msgid "save" +msgstr "దాచు" + +#: searx/templates/courgette/preferences.html:128 +#: searx/templates/legacy/preferences.html:125 +#: searx/templates/oscar/preferences.html:307 +#: searx/templates/simple/preferences.html:186 +msgid "Reset defaults" +msgstr "నిష్క్రియాలకు అమర్చు" + +#: searx/templates/courgette/preferences.html:129 +#: searx/templates/legacy/preferences.html:126 +#: searx/templates/oscar/preferences.html:306 +#: searx/templates/pix-art/preferences.html:79 +#: searx/templates/simple/preferences.html:187 +msgid "back" +msgstr "వెనక్కి" + +#: searx/templates/courgette/results.html:12 +#: searx/templates/legacy/results.html:13 +#: searx/templates/oscar/results.html:136 +#: searx/templates/simple/results.html:58 +msgid "Search URL" +msgstr "శోధన URL" + +#: searx/templates/courgette/results.html:16 +#: searx/templates/legacy/results.html:17 +#: searx/templates/oscar/results.html:141 +#: searx/templates/simple/results.html:62 +msgid "Download results" +msgstr "ఫలితాలను దింపుకోండి" + +#: searx/templates/courgette/results.html:34 +#: searx/templates/legacy/results.html:35 +#: searx/templates/simple/results.html:10 +msgid "Answers" +msgstr "జవాబులు" + +#: searx/templates/courgette/results.html:42 +#: searx/templates/legacy/results.html:43 +#: searx/templates/oscar/results.html:116 +#: searx/templates/simple/results.html:42 +msgid "Suggestions" +msgstr "సూచనలు" + +#: searx/templates/courgette/results.html:70 +#: searx/templates/legacy/results.html:81 +#: searx/templates/oscar/results.html:68 searx/templates/oscar/results.html:78 +#: searx/templates/simple/results.html:130 +msgid "previous page" +msgstr "పూర్వపు పుట" + +#: searx/templates/courgette/results.html:81 +#: searx/templates/legacy/results.html:92 +#: searx/templates/oscar/results.html:62 searx/templates/oscar/results.html:84 +#: searx/templates/simple/results.html:145 +msgid "next page" +msgstr "తర్వాతి పుట" + +#: searx/templates/courgette/search.html:3 +#: searx/templates/legacy/search.html:3 searx/templates/oscar/search.html:6 +#: searx/templates/oscar/search_full.html:9 +#: searx/templates/pix-art/search.html:3 searx/templates/simple/search.html:4 +msgid "Search for..." +msgstr "శోధించు..." + +#: searx/templates/courgette/stats.html:4 searx/templates/legacy/stats.html:4 +#: searx/templates/oscar/stats.html:5 searx/templates/pix-art/stats.html:4 +#: searx/templates/simple/stats.html:7 +msgid "Engine stats" +msgstr "" + +#: searx/templates/courgette/result_templates/images.html:4 +#: searx/templates/legacy/result_templates/images.html:4 +#: searx/templates/pix-art/result_templates/images.html:4 +msgid "original context" +msgstr "" + +#: searx/templates/courgette/result_templates/torrent.html:7 +#: searx/templates/legacy/result_templates/torrent.html:11 +#: searx/templates/oscar/result_templates/torrent.html:6 +#: searx/templates/simple/result_templates/torrent.html:9 +msgid "Seeder" +msgstr "" + +#: searx/templates/courgette/result_templates/torrent.html:7 +#: searx/templates/legacy/result_templates/torrent.html:11 +#: searx/templates/oscar/result_templates/torrent.html:6 +#: searx/templates/simple/result_templates/torrent.html:9 +msgid "Leecher" +msgstr "" + +#: searx/templates/courgette/result_templates/torrent.html:9 +#: searx/templates/legacy/result_templates/torrent.html:9 +#: searx/templates/oscar/macros.html:23 +#: searx/templates/simple/result_templates/torrent.html:6 +msgid "magnet link" +msgstr "" + +#: searx/templates/courgette/result_templates/torrent.html:10 +#: searx/templates/legacy/result_templates/torrent.html:10 +#: searx/templates/oscar/macros.html:24 +#: searx/templates/simple/result_templates/torrent.html:7 +msgid "torrent file" +msgstr "" + +#: searx/templates/legacy/categories.html:8 +#: searx/templates/simple/categories.html:6 +msgid "Click on the magnifier to perform search" +msgstr "" + +#: searx/templates/legacy/preferences.html:84 +#: searx/templates/oscar/preferences.html:113 +#: searx/templates/simple/preferences.html:142 +msgid "Results on new tabs" +msgstr "" + +#: searx/templates/legacy/preferences.html:87 +#: searx/templates/oscar/preferences.html:117 +#: searx/templates/simple/preferences.html:145 +msgid "On" +msgstr "" + +#: searx/templates/legacy/preferences.html:88 +#: searx/templates/oscar/preferences.html:118 +#: searx/templates/simple/preferences.html:146 +msgid "Off" +msgstr "" + +#: searx/templates/legacy/result_templates/code.html:3 +#: searx/templates/legacy/result_templates/default.html:3 +#: searx/templates/legacy/result_templates/map.html:9 +#: searx/templates/oscar/macros.html:34 searx/templates/oscar/macros.html:48 +#: searx/templates/simple/macros.html:43 +msgid "cached" +msgstr "" + +#: searx/templates/oscar/advanced.html:4 +msgid "Advanced settings" +msgstr "" + +#: searx/templates/oscar/base.html:62 +#: searx/templates/oscar/messages/first_time.html:4 +#: searx/templates/oscar/messages/save_settings_successfull.html:5 +#: searx/templates/oscar/messages/unknow_error.html:5 +msgid "Close" +msgstr "మూసివేయు" + +#: searx/templates/oscar/base.html:64 +#: searx/templates/oscar/messages/no_results.html:4 +#: searx/templates/simple/messages/no_results.html:4 +#: searx/templates/simple/results.html:25 +msgid "Error!" +msgstr "దోషం!" + +#: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 +msgid "Powered by" +msgstr "" + +#: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 +msgid "a privacy-respecting, hackable metasearch engine" +msgstr "" + +#: searx/templates/oscar/macros.html:36 searx/templates/oscar/macros.html:50 +#: searx/templates/simple/macros.html:43 +msgid "proxied" +msgstr "" + +#: searx/templates/oscar/macros.html:92 +msgid "supported" +msgstr "ఆదరించబడిన" + +#: searx/templates/oscar/macros.html:96 +msgid "not supported" +msgstr "ఆదరణ లేని" + +#: searx/templates/oscar/preferences.html:13 +#: searx/templates/oscar/preferences.html:22 +#: searx/templates/simple/preferences.html:32 +msgid "General" +msgstr "సాధారణ" + +#: searx/templates/oscar/preferences.html:14 +#: searx/templates/oscar/preferences.html:146 +#: searx/templates/simple/preferences.html:76 +msgid "Engines" +msgstr "యంత్రాలు" + +#: searx/templates/oscar/preferences.html:15 +#: searx/templates/oscar/preferences.html:219 +msgid "Plugins" +msgstr "ప్లగిన్లు" + +#: searx/templates/oscar/preferences.html:16 +#: searx/templates/oscar/preferences.html:245 +msgid "Answerers" +msgstr "జవాబులు" + +#: searx/templates/oscar/preferences.html:17 +#: searx/templates/oscar/preferences.html:272 +msgid "Cookies" +msgstr "కుకీలు" + +#: searx/templates/oscar/preferences.html:42 +#: searx/templates/simple/preferences.html:48 +msgid "What language do you prefer for search?" +msgstr "" + +#: searx/templates/oscar/preferences.html:48 +#: searx/templates/simple/preferences.html:128 +msgid "Change the language of the layout" +msgstr "వినిమయసీమ యొక్క భాషను మార్చు" + +#: searx/templates/oscar/preferences.html:58 +#: searx/templates/simple/preferences.html:60 +msgid "Find stuff as you type" +msgstr "టైపు చేస్తూ శోధించు" + +#: searx/templates/oscar/preferences.html:69 +#: searx/templates/simple/preferences.html:173 +msgid "Proxying image results through searx" +msgstr "" + +#: searx/templates/oscar/preferences.html:78 +msgid "" +"Change how forms are submited, <a " +"href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\"" +" rel=\"external\">learn more about request methods</a>" +msgstr "" + +#: searx/templates/oscar/preferences.html:87 +#: searx/templates/simple/preferences.html:71 +msgid "Filter content" +msgstr "విషయాలను వడకట్టు" + +#: searx/templates/oscar/preferences.html:97 +#: searx/templates/simple/preferences.html:139 +msgid "Change searx layout" +msgstr "" + +#: searx/templates/oscar/preferences.html:106 +#: searx/templates/oscar/preferences.html:111 +msgid "Choose style for this theme" +msgstr "" + +#: searx/templates/oscar/preferences.html:106 +#: searx/templates/oscar/preferences.html:111 +msgid "Style" +msgstr "శైలి" + +#: searx/templates/oscar/preferences.html:122 +msgid "Open Access DOI resolver" +msgstr "" + +#: searx/templates/oscar/preferences.html:123 +msgid "" +"Redirect to open-access versions of publications when available (plugin " +"required)" +msgstr "" + +#: searx/templates/oscar/preferences.html:163 +#: searx/templates/oscar/preferences.html:175 +#: searx/templates/simple/preferences.html:88 +msgid "Shortcut" +msgstr "సత్వరమార్గం" + +#: searx/templates/oscar/preferences.html:164 +#: searx/templates/oscar/preferences.html:174 +msgid "Selected language" +msgstr "ఎంచుకున్న భాష" + +#: searx/templates/oscar/preferences.html:166 +#: searx/templates/oscar/preferences.html:172 +#: searx/templates/simple/preferences.html:91 +msgid "Time range" +msgstr "కాల శ్రేణి" + +#: searx/templates/oscar/preferences.html:167 +#: searx/templates/oscar/preferences.html:171 +#: searx/templates/simple/preferences.html:92 +msgid "Avg. time" +msgstr "సగటు సమయం" + +#: searx/templates/oscar/preferences.html:168 +#: searx/templates/oscar/preferences.html:170 +#: searx/templates/simple/preferences.html:93 +msgid "Max time" +msgstr "గరిష్ఠ సమయం" + +#: searx/templates/oscar/preferences.html:248 +msgid "This is the list of searx's instant answering modules." +msgstr "" + +#: searx/templates/oscar/preferences.html:252 +msgid "Name" +msgstr "పేరు" + +#: searx/templates/oscar/preferences.html:253 +msgid "Keywords" +msgstr "" + +#: searx/templates/oscar/preferences.html:254 +msgid "Description" +msgstr "వర్ణన" + +#: searx/templates/oscar/preferences.html:255 +msgid "Examples" +msgstr "ఉదాహరణలు" + +#: searx/templates/oscar/preferences.html:275 +msgid "" +"This is the list of cookies and their values searx is storing on your " +"computer." +msgstr "" + +#: searx/templates/oscar/preferences.html:276 +msgid "With that list, you can assess searx transparency." +msgstr "" + +#: searx/templates/oscar/preferences.html:281 +msgid "Cookie name" +msgstr "కుకీ పేరు" + +#: searx/templates/oscar/preferences.html:282 +msgid "Value" +msgstr "విలువ" + +#: searx/templates/oscar/preferences.html:301 +msgid "Search URL of the currently saved preferences" +msgstr "" + +#: searx/templates/oscar/preferences.html:301 +msgid "" +"Note: specifying custom settings in the search URL can reduce privacy by " +"leaking data to the clicked result sites." +msgstr "" + +#: searx/templates/oscar/results.html:17 +msgid "Search results" +msgstr "" + +#: searx/templates/oscar/results.html:21 +#: searx/templates/simple/results.html:84 +msgid "Try searching for:" +msgstr "దీనికొరకు శోధించండి:" + +#: searx/templates/oscar/results.html:100 +#: searx/templates/simple/results.html:25 +msgid "Engines cannot retrieve results" +msgstr "యంత్రాలు ఫలితాలను రాబట్టలేకపోతున్నాయి" + +#: searx/templates/oscar/results.html:131 +msgid "Links" +msgstr "లంకెలు" + +#: searx/templates/oscar/search.html:8 +#: searx/templates/oscar/search_full.html:11 +#: searx/templates/simple/search.html:5 +msgid "Start search" +msgstr "శోధన ప్రారంభించు" + +#: searx/templates/oscar/stats.html:2 +msgid "stats" +msgstr "స్థితి వివరణ లెక్కలు" + +#: searx/templates/oscar/time-range.html:3 +#: searx/templates/simple/time-range.html:3 +msgid "Anytime" +msgstr "ఎప్పుడైనా" + +#: searx/templates/oscar/time-range.html:6 +#: searx/templates/simple/time-range.html:6 +msgid "Last day" +msgstr "క్రిందటి రోజు" + +#: searx/templates/oscar/time-range.html:9 +#: searx/templates/simple/time-range.html:9 +msgid "Last week" +msgstr "క్రిందటి వారం" + +#: searx/templates/oscar/time-range.html:12 +#: searx/templates/simple/time-range.html:12 +msgid "Last month" +msgstr "క్రిందటి నెల" + +#: searx/templates/oscar/time-range.html:15 +#: searx/templates/simple/time-range.html:15 +msgid "Last year" +msgstr "క్రిందటి సంవత్సరం" + +#: searx/templates/oscar/messages/first_time.html:6 +#: searx/templates/oscar/messages/no_data_available.html:3 +msgid "Heads up!" +msgstr "జాగ్రత్త!" + +#: searx/templates/oscar/messages/first_time.html:7 +msgid "It look like you are using searx first time." +msgstr "" + +#: searx/templates/oscar/messages/no_cookies.html:3 +msgid "Information!" +msgstr "సమాచారం!" + +#: searx/templates/oscar/messages/no_cookies.html:4 +msgid "currently, there are no cookies defined." +msgstr "" + +#: searx/templates/oscar/messages/no_data_available.html:4 +msgid "There is currently no data available. " +msgstr "" + +#: searx/templates/oscar/messages/no_results.html:4 +#: searx/templates/simple/messages/no_results.html:4 +msgid "Engines cannot retrieve results." +msgstr "యంత్రాలు ఫలితాలను రాబట్టలేకపోయాయి." + +#: searx/templates/oscar/messages/no_results.html:10 +#: searx/templates/simple/messages/no_results.html:10 +msgid "Please, try again later or find another searx instance." +msgstr "" + +#: searx/templates/oscar/messages/no_results.html:14 +#: searx/templates/simple/messages/no_results.html:14 +msgid "Sorry!" +msgstr "క్షమించండి!" + +#: searx/templates/oscar/messages/no_results.html:15 +#: searx/templates/simple/messages/no_results.html:15 +msgid "" +"we didn't find any results. Please use another query or search in more " +"categories." +msgstr "" + +#: searx/templates/oscar/messages/save_settings_successfull.html:7 +msgid "Well done!" +msgstr "భళా!" + +#: searx/templates/oscar/messages/save_settings_successfull.html:8 +msgid "Settings saved successfully." +msgstr "ఆమరికలు విజయవంతంగా పొందుపరచబడ్డాయి." + +#: searx/templates/oscar/messages/unknow_error.html:7 +msgid "Oh snap!" +msgstr "అయ్యో!" + +#: searx/templates/oscar/messages/unknow_error.html:8 +msgid "Something went wrong." +msgstr "ఏదో తప్పు జరిగింది." + +#: searx/templates/oscar/result_templates/default.html:7 +#: searx/templates/simple/result_templates/default.html:6 +msgid "show media" +msgstr "" + +#: searx/templates/oscar/result_templates/default.html:7 +#: searx/templates/simple/result_templates/default.html:6 +msgid "hide media" +msgstr "" + +#: searx/templates/oscar/result_templates/images.html:30 +msgid "Get image" +msgstr "" + +#: searx/templates/oscar/result_templates/images.html:33 +msgid "View source" +msgstr "" + +#: searx/templates/oscar/result_templates/map.html:7 +#: searx/templates/simple/result_templates/map.html:7 +msgid "show map" +msgstr "" + +#: searx/templates/oscar/result_templates/map.html:7 +#: searx/templates/simple/result_templates/map.html:7 +msgid "hide map" +msgstr "" + +#: searx/templates/oscar/result_templates/map.html:11 +#: searx/templates/simple/result_templates/map.html:11 +msgid "show details" +msgstr "" + +#: searx/templates/oscar/result_templates/map.html:11 +#: searx/templates/simple/result_templates/map.html:11 +msgid "hide details" +msgstr "" + +#: searx/templates/oscar/result_templates/torrent.html:7 +#: searx/templates/simple/result_templates/torrent.html:11 +msgid "Filesize" +msgstr "" + +#: searx/templates/oscar/result_templates/torrent.html:9 +#: searx/templates/simple/result_templates/torrent.html:12 +msgid "Bytes" +msgstr "" + +#: searx/templates/oscar/result_templates/torrent.html:10 +#: searx/templates/simple/result_templates/torrent.html:13 +msgid "kiB" +msgstr "" + +#: searx/templates/oscar/result_templates/torrent.html:11 +#: searx/templates/simple/result_templates/torrent.html:14 +msgid "MiB" +msgstr "" + +#: searx/templates/oscar/result_templates/torrent.html:12 +#: searx/templates/simple/result_templates/torrent.html:15 +msgid "GiB" +msgstr "" + +#: searx/templates/oscar/result_templates/torrent.html:13 +#: searx/templates/simple/result_templates/torrent.html:16 +msgid "TiB" +msgstr "" + +#: searx/templates/oscar/result_templates/torrent.html:15 +#: searx/templates/simple/result_templates/torrent.html:20 +msgid "Number of Files" +msgstr "ఫైళ్ళ సంఖ్య" + +#: searx/templates/oscar/result_templates/videos.html:7 +#: searx/templates/simple/result_templates/videos.html:6 +msgid "show video" +msgstr "వీడియో చూపించు" + +#: searx/templates/oscar/result_templates/videos.html:7 +#: searx/templates/simple/result_templates/videos.html:6 +msgid "hide video" +msgstr "వీడియోను దాచిపెట్టు" + +#: searx/templates/pix-art/results.html:28 +msgid "Load more..." +msgstr "" + +#: searx/templates/simple/base.html:31 +msgid "No item found" +msgstr "ఏమీ దొరకలేదు" + +#: searx/templates/simple/preferences.html:89 +msgid "Supports selected language" +msgstr "" + +#: searx/templates/simple/preferences.html:118 +msgid "User interface" +msgstr "" + +#: searx/templates/simple/preferences.html:154 +msgid "Privacy" +msgstr "ఆంతరంగికత" diff --git a/searx/translations/tr/LC_MESSAGES/messages.mo b/searx/translations/tr/LC_MESSAGES/messages.mo index 4125a24adb..ec47020aa0 100644 Binary files a/searx/translations/tr/LC_MESSAGES/messages.mo and b/searx/translations/tr/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/tr/LC_MESSAGES/messages.po b/searx/translations/tr/LC_MESSAGES/messages.po index 65974de7a8..a15c85609f 100644 --- a/searx/translations/tr/LC_MESSAGES/messages.po +++ b/searx/translations/tr/LC_MESSAGES/messages.po @@ -3,6 +3,7 @@ # This file is distributed under the same license as the PROJECT project. # # Translators: +# Arda Kılıçdağı <ardakilicdagi@gmail.com>, 2018 # Caner Başaran <basaran.caner@protonmail.com>, 2014-2016 # FIRST AUTHOR <EMAIL@ADDRESS>, 2014 msgid "" @@ -10,8 +11,8 @@ msgstr "" "Project-Id-Version: searx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2017-11-01 21:31+0100\n" -"PO-Revision-Date: 2017-11-01 20:31+0000\n" -"Last-Translator: Adam Tauber <asciimoo@gmail.com>\n" +"PO-Revision-Date: 2018-12-06 17:22+0000\n" +"Last-Translator: Arda Kılıçdağı <ardakilicdagi@gmail.com>\n" "Language-Team: Turkish (http://www.transifex.com/asciimoo/searx/language/tr/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -22,15 +23,15 @@ msgstr "" #: searx/search.py:137 searx/search.py:182 msgid "timeout" -msgstr "" +msgstr "zaman aşımı" #: searx/search.py:144 msgid "request exception" -msgstr "" +msgstr "istekte bir hata oluştu" #: searx/search.py:151 msgid "unexpected crash" -msgstr "" +msgstr "beklenmmeyen hata" #: searx/webapp.py:136 msgid "files" @@ -74,15 +75,15 @@ msgstr "bilim" #: searx/webapp.py:399 searx/webapp.py:658 msgid "Invalid settings, please edit your preferences" -msgstr "" +msgstr "Hatalı ayar girildi, lütfen ayarlarınızı kontrol edin" #: searx/webapp.py:415 msgid "Invalid settings" -msgstr "" +msgstr "Hatalı ayar" #: searx/webapp.py:449 searx/webapp.py:493 msgid "search error" -msgstr "" +msgstr "arama hatası" #: searx/webapp.py:530 msgid "{minutes} minute(s) ago" @@ -94,27 +95,27 @@ msgstr "{hours} saat(), {minutes} dakika() önce" #: searx/answerers/random/answerer.py:53 msgid "Random value generator" -msgstr "" +msgstr "Rastgele değer üretici" #: searx/answerers/random/answerer.py:54 msgid "Generate different random values" -msgstr "" +msgstr "Farklı rastgele metinler üret" #: searx/answerers/statistics/answerer.py:53 msgid "Statistics functions" -msgstr "" +msgstr "İstatistik fonksiyonları" #: searx/answerers/statistics/answerer.py:54 msgid "Compute {functions} of the arguments" -msgstr "" +msgstr "Argümanların {functions} değerlerini hesapla" #: searx/engines/__init__.py:194 searx/engines/flycheck___init__.py:201 msgid "Engine time (sec)" -msgstr "" +msgstr "Motor cevap süresi (sn)" #: searx/engines/__init__.py:198 searx/engines/flycheck___init__.py:205 msgid "Page loads (sec)" -msgstr "Yüklenen sayfa (sn)" +msgstr "Sayfa yüklenmesi (sn)" #: searx/engines/__init__.py:202 searx/engines/flycheck___init__.py:209 #: searx/templates/oscar/results.html:95 @@ -124,11 +125,11 @@ msgstr "Sonuç sayısı" #: searx/engines/__init__.py:206 searx/engines/flycheck___init__.py:213 msgid "Scores" -msgstr "" +msgstr "Skor" #: searx/engines/__init__.py:210 searx/engines/flycheck___init__.py:217 msgid "Scores per result" -msgstr "" +msgstr "Sonuç başına skor" #: searx/engines/__init__.py:214 searx/engines/flycheck___init__.py:221 msgid "Errors" @@ -136,7 +137,7 @@ msgstr "Hatalar" #: searx/engines/pdbe.py:87 msgid "{title}&nbsp;(OBSOLETE)" -msgstr "" +msgstr "{title}&nbsp;(GEÇERSİZ)" #: searx/engines/pdbe.py:91 msgid "This entry has been superseded by" diff --git a/searx/translations/uk/LC_MESSAGES/messages.mo b/searx/translations/uk/LC_MESSAGES/messages.mo new file mode 100644 index 0000000000..6610dfaa7f Binary files /dev/null and b/searx/translations/uk/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/uk/LC_MESSAGES/messages.po b/searx/translations/uk/LC_MESSAGES/messages.po new file mode 100644 index 0000000000..7c6ac5aacf --- /dev/null +++ b/searx/translations/uk/LC_MESSAGES/messages.po @@ -0,0 +1,1015 @@ +# Translations template for PROJECT. +# Copyright (C) 2017 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# +# Translators: +# pvhn4 <pvhn4@protonmail.com>, 2017 +# pvhn4 <pvhn4@protonmail.com>, 2017 +# zubr139, 2016-2017 +msgid "" +msgstr "" +"Project-Id-Version: searx\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2017-11-01 21:31+0100\n" +"PO-Revision-Date: 2017-11-01 20:31+0000\n" +"Last-Translator: Adam Tauber <asciimoo@gmail.com>\n" +"Language-Team: Ukrainian (http://www.transifex.com/asciimoo/searx/language/uk/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.3.4\n" +"Language: uk\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n" + +#: searx/search.py:137 searx/search.py:182 +msgid "timeout" +msgstr "" + +#: searx/search.py:144 +msgid "request exception" +msgstr "" + +#: searx/search.py:151 +msgid "unexpected crash" +msgstr "" + +#: searx/webapp.py:136 +msgid "files" +msgstr "файли" + +#: searx/webapp.py:137 +msgid "general" +msgstr "загальні" + +#: searx/webapp.py:138 +msgid "music" +msgstr "музика" + +#: searx/webapp.py:139 +msgid "social media" +msgstr "соцмережі" + +#: searx/webapp.py:140 +msgid "images" +msgstr "зображення" + +#: searx/webapp.py:141 +msgid "videos" +msgstr "відео" + +#: searx/webapp.py:142 +msgid "it" +msgstr "IT" + +#: searx/webapp.py:143 +msgid "news" +msgstr "новини" + +#: searx/webapp.py:144 +msgid "map" +msgstr "карти" + +#: searx/webapp.py:145 +msgid "science" +msgstr "наука" + +#: searx/webapp.py:399 searx/webapp.py:658 +msgid "Invalid settings, please edit your preferences" +msgstr "Невірні налаштування, будь ласка, зробіть зміни в налаштуваннях" + +#: searx/webapp.py:415 +msgid "Invalid settings" +msgstr "" + +#: searx/webapp.py:449 searx/webapp.py:493 +msgid "search error" +msgstr "помилка пошуку" + +#: searx/webapp.py:530 +msgid "{minutes} minute(s) ago" +msgstr "{minutes} хвилин тому" + +#: searx/webapp.py:532 +msgid "{hours} hour(s), {minutes} minute(s) ago" +msgstr "{hours} годин, {minutes} хвилин тому" + +#: searx/answerers/random/answerer.py:53 +msgid "Random value generator" +msgstr "Генератор випадкових значень" + +#: searx/answerers/random/answerer.py:54 +msgid "Generate different random values" +msgstr "Створити різні випадкові значення" + +#: searx/answerers/statistics/answerer.py:53 +msgid "Statistics functions" +msgstr "Функції статистики" + +#: searx/answerers/statistics/answerer.py:54 +msgid "Compute {functions} of the arguments" +msgstr "Розрахувати {functions} аргументів" + +#: searx/engines/__init__.py:194 searx/engines/flycheck___init__.py:201 +msgid "Engine time (sec)" +msgstr "Час пошуку (сек)" + +#: searx/engines/__init__.py:198 searx/engines/flycheck___init__.py:205 +msgid "Page loads (sec)" +msgstr "Час завантадення (сек)" + +#: searx/engines/__init__.py:202 searx/engines/flycheck___init__.py:209 +#: searx/templates/oscar/results.html:95 +#: searx/templates/simple/results.html:20 +msgid "Number of results" +msgstr "Число результатів" + +#: searx/engines/__init__.py:206 searx/engines/flycheck___init__.py:213 +msgid "Scores" +msgstr "Влучань" + +#: searx/engines/__init__.py:210 searx/engines/flycheck___init__.py:217 +msgid "Scores per result" +msgstr "Влучань за результат" + +#: searx/engines/__init__.py:214 searx/engines/flycheck___init__.py:221 +msgid "Errors" +msgstr "Помилок" + +#: searx/engines/pdbe.py:87 +msgid "{title}&nbsp;(OBSOLETE)" +msgstr "{title}&nbsp;(OBSOLETE)" + +#: searx/engines/pdbe.py:91 +msgid "This entry has been superseded by" +msgstr "Цей запис був змінений" + +#: searx/engines/pubmed.py:74 +msgid "No abstract is available for this publication." +msgstr "" + +#: searx/plugins/https_rewrite.py:32 +msgid "Rewrite HTTP links to HTTPS if possible" +msgstr "За можливістю замінити в посиланнях HTTP на HTTPS" + +#: searx/plugins/infinite_scroll.py:3 +msgid "Infinite scroll" +msgstr "Нескінченна прокрутка" + +#: searx/plugins/infinite_scroll.py:4 +msgid "Automatically load next page when scrolling to bottom of current page" +msgstr "Автоматично завантажувати наступну сторінку при прокрутці поточної до кінця" + +#: searx/plugins/oa_doi_rewrite.py:9 +msgid "Open Access DOI rewrite" +msgstr "" + +#: searx/plugins/oa_doi_rewrite.py:10 +msgid "" +"Avoid paywalls by redirecting to open-access versions of publications when " +"available" +msgstr "Уникайте платіжних каналів шляхом переадресації на версії публікацій з відкритим доступом, коли це можливо" + +#: searx/plugins/open_results_on_new_tab.py:18 +#: searx/templates/oscar/preferences.html:114 +#: searx/templates/simple/preferences.html:149 +msgid "Open result links on new browser tabs" +msgstr "Відкривати посилання результатів в нових вкладках" + +#: searx/plugins/open_results_on_new_tab.py:19 +msgid "" +"Results are opened in the same window by default. This plugin overwrites the" +" default behaviour to open links on new tabs/windows. (JavaScript required)" +msgstr "Типово результати відкриваються в тому ж вікні. Цей плагін змінює поведінку, щоб посилання відкривались типово в нових вкладках/вікнах. (Необхідний JavaScript)" + +#: searx/plugins/search_on_category_select.py:18 +msgid "Search on category select" +msgstr "Пошук по обраній категорії" + +#: searx/plugins/search_on_category_select.py:19 +msgid "" +"Perform search immediately if a category selected. Disable to select " +"multiple categories. (JavaScript required)" +msgstr "Виконувати пошук зразу при обранні категорії. Вимкнути вибір декількох категорій. (Необхідний JavaScript)" + +#: searx/plugins/self_info.py:20 +msgid "" +"Displays your IP if the query is \"ip\" and your user agent if the query " +"contains \"user agent\"." +msgstr "Відображає IP-адресу при запиті \"ip\" та ваш user-agent при запиті \"user agent\"." + +#: searx/plugins/tracker_url_remover.py:26 +msgid "Tracker URL remover" +msgstr "Видалення URL-адреси трекера" + +#: searx/plugins/tracker_url_remover.py:27 +msgid "Remove trackers arguments from the returned URL" +msgstr "Вилучіть аргументи трекера з поверненої URL-адреси" + +#: searx/plugins/vim_hotkeys.py:3 +msgid "Vim-like hotkeys" +msgstr "Гарячі клавіші Vim" + +#: searx/plugins/vim_hotkeys.py:4 +msgid "" +"Navigate search results with Vim-like hotkeys (JavaScript required). Press " +"\"h\" key on main or result page to get help." +msgstr "Переміщення результатів пошуку за допомогою віртуальних клавіш (потрібно JavaScript). Натисніть клавішу \"h\" на головній сторінці або на сторінці результатів, щоб отримати допомогу." + +#: searx/templates/courgette/404.html:4 searx/templates/legacy/404.html:4 +#: searx/templates/oscar/404.html:4 searx/templates/pix-art/404.html:4 +#: searx/templates/simple/404.html:4 +msgid "Page not found" +msgstr "Сторінка не знайдена" + +#: searx/templates/courgette/404.html:6 searx/templates/legacy/404.html:6 +#: searx/templates/oscar/404.html:6 searx/templates/pix-art/404.html:6 +#: searx/templates/simple/404.html:6 +#, python-format +msgid "Go to %(search_page)s." +msgstr "Перейти до %(search_page)s." + +#: searx/templates/courgette/404.html:6 searx/templates/legacy/404.html:6 +#: searx/templates/oscar/404.html:6 searx/templates/pix-art/404.html:6 +#: searx/templates/simple/404.html:6 +msgid "search page" +msgstr "сторінки пошуку" + +#: searx/templates/courgette/index.html:9 +#: searx/templates/courgette/index.html:13 +#: searx/templates/courgette/results.html:5 +#: searx/templates/legacy/index.html:8 searx/templates/legacy/index.html:12 +#: searx/templates/oscar/navbar.html:7 +#: searx/templates/oscar/preferences.html:3 +#: searx/templates/pix-art/index.html:8 +msgid "preferences" +msgstr "опції" + +#: searx/templates/courgette/index.html:11 +#: searx/templates/legacy/index.html:10 searx/templates/oscar/about.html:2 +#: searx/templates/oscar/navbar.html:6 searx/templates/pix-art/index.html:7 +msgid "about" +msgstr "про сайт" + +#: searx/templates/courgette/preferences.html:5 +#: searx/templates/legacy/preferences.html:5 +#: searx/templates/oscar/preferences.html:8 +#: searx/templates/pix-art/preferences.html:5 +#: searx/templates/simple/preferences.html:26 +msgid "Preferences" +msgstr "Опції" + +#: searx/templates/courgette/preferences.html:9 +#: searx/templates/legacy/preferences.html:9 +#: searx/templates/oscar/preferences.html:33 +#: searx/templates/oscar/preferences.html:35 +#: searx/templates/simple/preferences.html:34 +msgid "Default categories" +msgstr "Типові категорії" + +#: searx/templates/courgette/preferences.html:13 +#: searx/templates/legacy/preferences.html:14 +#: searx/templates/oscar/preferences.html:41 +#: searx/templates/pix-art/preferences.html:9 +#: searx/templates/simple/preferences.html:39 +#: searx/templates/simple/preferences.html:163 +msgid "Search language" +msgstr "Мова пошуку" + +#: searx/templates/courgette/preferences.html:16 +#: searx/templates/legacy/preferences.html:17 +#: searx/templates/oscar/languages.html:6 +#: searx/templates/pix-art/preferences.html:12 +#: searx/templates/simple/languages.html:2 +#: searx/templates/simple/preferences.html:42 +msgid "Default language" +msgstr "Стандартна мова" + +#: searx/templates/courgette/preferences.html:24 +#: searx/templates/legacy/preferences.html:25 +#: searx/templates/oscar/preferences.html:47 +#: searx/templates/pix-art/preferences.html:20 +#: searx/templates/simple/preferences.html:120 +msgid "Interface language" +msgstr "Мова інтерфейсу" + +#: searx/templates/courgette/preferences.html:34 +#: searx/templates/legacy/preferences.html:35 +#: searx/templates/oscar/preferences.html:57 +#: searx/templates/simple/preferences.html:51 +msgid "Autocomplete" +msgstr "Автозаповнення" + +#: searx/templates/courgette/preferences.html:45 +#: searx/templates/legacy/preferences.html:46 +#: searx/templates/oscar/preferences.html:68 +#: searx/templates/simple/preferences.html:166 +msgid "Image proxy" +msgstr "Проксі для зображень" + +#: searx/templates/courgette/preferences.html:48 +#: searx/templates/legacy/preferences.html:49 +#: searx/templates/oscar/preferences.html:72 +#: searx/templates/simple/preferences.html:169 +msgid "Enabled" +msgstr "Ввімкнено" + +#: searx/templates/courgette/preferences.html:49 +#: searx/templates/legacy/preferences.html:50 +#: searx/templates/oscar/preferences.html:73 +#: searx/templates/simple/preferences.html:170 +msgid "Disabled" +msgstr "Вимкнено" + +#: searx/templates/courgette/preferences.html:54 +#: searx/templates/legacy/preferences.html:55 +#: searx/templates/oscar/preferences.html:77 +#: searx/templates/pix-art/preferences.html:30 +#: searx/templates/simple/preferences.html:156 +msgid "Method" +msgstr "Метод" + +#: searx/templates/courgette/preferences.html:63 +#: searx/templates/legacy/preferences.html:64 +#: searx/templates/oscar/preferences.html:86 +#: searx/templates/oscar/preferences.html:165 +#: searx/templates/oscar/preferences.html:173 +#: searx/templates/simple/preferences.html:63 +#: searx/templates/simple/preferences.html:90 +msgid "SafeSearch" +msgstr "БезпечнийПошук" + +#: searx/templates/courgette/preferences.html:66 +#: searx/templates/legacy/preferences.html:67 +#: searx/templates/oscar/preferences.html:90 +#: searx/templates/simple/preferences.html:66 +msgid "Strict" +msgstr "Жорский" + +#: searx/templates/courgette/preferences.html:67 +#: searx/templates/legacy/preferences.html:68 +#: searx/templates/oscar/preferences.html:91 +#: searx/templates/simple/preferences.html:67 +msgid "Moderate" +msgstr "Помірний" + +#: searx/templates/courgette/preferences.html:68 +#: searx/templates/legacy/preferences.html:69 +#: searx/templates/oscar/preferences.html:92 +#: searx/templates/simple/preferences.html:68 +msgid "None" +msgstr "Вимкнений" + +#: searx/templates/courgette/preferences.html:73 +#: searx/templates/legacy/preferences.html:74 +#: searx/templates/oscar/preferences.html:96 +#: searx/templates/pix-art/preferences.html:39 +#: searx/templates/simple/preferences.html:131 +msgid "Themes" +msgstr "Теми" + +#: searx/templates/courgette/preferences.html:83 +msgid "Color" +msgstr "Колір" + +#: searx/templates/courgette/preferences.html:86 +msgid "Blue (default)" +msgstr "Синій (типово)" + +#: searx/templates/courgette/preferences.html:87 +msgid "Violet" +msgstr "Фіолетовий" + +#: searx/templates/courgette/preferences.html:88 +msgid "Green" +msgstr "Зелений" + +#: searx/templates/courgette/preferences.html:89 +msgid "Cyan" +msgstr "Блакитний" + +#: searx/templates/courgette/preferences.html:90 +msgid "Orange" +msgstr "Помаранчевий" + +#: searx/templates/courgette/preferences.html:91 +msgid "Red" +msgstr "Червоний" + +#: searx/templates/courgette/preferences.html:96 +#: searx/templates/legacy/preferences.html:93 +#: searx/templates/pix-art/preferences.html:49 +#: searx/templates/simple/preferences.html:77 +msgid "Currently used search engines" +msgstr "Пошукові системи, які використовуються" + +#: searx/templates/courgette/preferences.html:100 +#: searx/templates/legacy/preferences.html:97 +#: searx/templates/oscar/preferences.html:162 +#: searx/templates/oscar/preferences.html:176 +#: searx/templates/pix-art/preferences.html:53 +#: searx/templates/simple/preferences.html:87 +msgid "Engine name" +msgstr "Назва пошукової системи" + +#: searx/templates/courgette/preferences.html:101 +#: searx/templates/legacy/preferences.html:98 +msgid "Category" +msgstr "Категорія" + +#: searx/templates/courgette/preferences.html:102 +#: searx/templates/courgette/preferences.html:113 +#: searx/templates/legacy/preferences.html:99 +#: searx/templates/legacy/preferences.html:110 +#: searx/templates/oscar/preferences.html:161 +#: searx/templates/oscar/preferences.html:177 +#: searx/templates/pix-art/preferences.html:54 +#: searx/templates/pix-art/preferences.html:64 +#: searx/templates/simple/preferences.html:86 +msgid "Allow" +msgstr "Дозволити" + +#: searx/templates/courgette/preferences.html:102 +#: searx/templates/courgette/preferences.html:114 +#: searx/templates/legacy/preferences.html:99 +#: searx/templates/legacy/preferences.html:111 +#: searx/templates/pix-art/preferences.html:54 +#: searx/templates/pix-art/preferences.html:65 +msgid "Block" +msgstr "Заблокувати" + +#: searx/templates/courgette/preferences.html:122 +#: searx/templates/legacy/preferences.html:119 +#: searx/templates/oscar/preferences.html:297 +#: searx/templates/pix-art/preferences.html:73 +#: searx/templates/simple/preferences.html:180 +msgid "" +"These settings are stored in your cookies, this allows us not to store this " +"data about you." +msgstr "Налаштування зберігаються в ваших cookie-файлах, що дає нам змогу не зберігати ці відомості про вас." + +#: searx/templates/courgette/preferences.html:124 +#: searx/templates/legacy/preferences.html:121 +#: searx/templates/oscar/preferences.html:299 +#: searx/templates/pix-art/preferences.html:75 +#: searx/templates/simple/preferences.html:182 +msgid "" +"These cookies serve your sole convenience, we don't use these cookies to " +"track you." +msgstr "Ці cookie-файли необхідні винятково для вашої зручності, ми не використовуємо ці cookie-файли, щоб відслідковувати вас." + +#: searx/templates/courgette/preferences.html:127 +#: searx/templates/legacy/preferences.html:124 +#: searx/templates/oscar/preferences.html:305 +#: searx/templates/pix-art/preferences.html:78 +#: searx/templates/simple/preferences.html:185 +msgid "save" +msgstr "зберегти" + +#: searx/templates/courgette/preferences.html:128 +#: searx/templates/legacy/preferences.html:125 +#: searx/templates/oscar/preferences.html:307 +#: searx/templates/simple/preferences.html:186 +msgid "Reset defaults" +msgstr "Відновити стандартні налаштування" + +#: searx/templates/courgette/preferences.html:129 +#: searx/templates/legacy/preferences.html:126 +#: searx/templates/oscar/preferences.html:306 +#: searx/templates/pix-art/preferences.html:79 +#: searx/templates/simple/preferences.html:187 +msgid "back" +msgstr "назад" + +#: searx/templates/courgette/results.html:12 +#: searx/templates/legacy/results.html:13 +#: searx/templates/oscar/results.html:136 +#: searx/templates/simple/results.html:58 +msgid "Search URL" +msgstr "Посилання на пошук" + +#: searx/templates/courgette/results.html:16 +#: searx/templates/legacy/results.html:17 +#: searx/templates/oscar/results.html:141 +#: searx/templates/simple/results.html:62 +msgid "Download results" +msgstr "Завантажити результати" + +#: searx/templates/courgette/results.html:34 +#: searx/templates/legacy/results.html:35 +#: searx/templates/simple/results.html:10 +msgid "Answers" +msgstr "Відповіді" + +#: searx/templates/courgette/results.html:42 +#: searx/templates/legacy/results.html:43 +#: searx/templates/oscar/results.html:116 +#: searx/templates/simple/results.html:42 +msgid "Suggestions" +msgstr "Пропозиції" + +#: searx/templates/courgette/results.html:70 +#: searx/templates/legacy/results.html:81 +#: searx/templates/oscar/results.html:68 searx/templates/oscar/results.html:78 +#: searx/templates/simple/results.html:130 +msgid "previous page" +msgstr "попередня сторінка" + +#: searx/templates/courgette/results.html:81 +#: searx/templates/legacy/results.html:92 +#: searx/templates/oscar/results.html:62 searx/templates/oscar/results.html:84 +#: searx/templates/simple/results.html:145 +msgid "next page" +msgstr "наступна сторінка" + +#: searx/templates/courgette/search.html:3 +#: searx/templates/legacy/search.html:3 searx/templates/oscar/search.html:6 +#: searx/templates/oscar/search_full.html:9 +#: searx/templates/pix-art/search.html:3 searx/templates/simple/search.html:4 +msgid "Search for..." +msgstr "Шукати..." + +#: searx/templates/courgette/stats.html:4 searx/templates/legacy/stats.html:4 +#: searx/templates/oscar/stats.html:5 searx/templates/pix-art/stats.html:4 +#: searx/templates/simple/stats.html:7 +msgid "Engine stats" +msgstr "Статистика пошукової системи" + +#: searx/templates/courgette/result_templates/images.html:4 +#: searx/templates/legacy/result_templates/images.html:4 +#: searx/templates/pix-art/result_templates/images.html:4 +msgid "original context" +msgstr "в контексті" + +#: searx/templates/courgette/result_templates/torrent.html:7 +#: searx/templates/legacy/result_templates/torrent.html:11 +#: searx/templates/oscar/result_templates/torrent.html:6 +#: searx/templates/simple/result_templates/torrent.html:9 +msgid "Seeder" +msgstr "Сідер" + +#: searx/templates/courgette/result_templates/torrent.html:7 +#: searx/templates/legacy/result_templates/torrent.html:11 +#: searx/templates/oscar/result_templates/torrent.html:6 +#: searx/templates/simple/result_templates/torrent.html:9 +msgid "Leecher" +msgstr "Лічер" + +#: searx/templates/courgette/result_templates/torrent.html:9 +#: searx/templates/legacy/result_templates/torrent.html:9 +#: searx/templates/oscar/macros.html:23 +#: searx/templates/simple/result_templates/torrent.html:6 +msgid "magnet link" +msgstr "магнет-посилання" + +#: searx/templates/courgette/result_templates/torrent.html:10 +#: searx/templates/legacy/result_templates/torrent.html:10 +#: searx/templates/oscar/macros.html:24 +#: searx/templates/simple/result_templates/torrent.html:7 +msgid "torrent file" +msgstr "торрент-файл" + +#: searx/templates/legacy/categories.html:8 +#: searx/templates/simple/categories.html:6 +msgid "Click on the magnifier to perform search" +msgstr "Натисніть лупу, щоб виконати пошук" + +#: searx/templates/legacy/preferences.html:84 +#: searx/templates/oscar/preferences.html:113 +#: searx/templates/simple/preferences.html:142 +msgid "Results on new tabs" +msgstr "Результати в нових вкладках" + +#: searx/templates/legacy/preferences.html:87 +#: searx/templates/oscar/preferences.html:117 +#: searx/templates/simple/preferences.html:145 +msgid "On" +msgstr "Ввімк." + +#: searx/templates/legacy/preferences.html:88 +#: searx/templates/oscar/preferences.html:118 +#: searx/templates/simple/preferences.html:146 +msgid "Off" +msgstr "Вимк." + +#: searx/templates/legacy/result_templates/code.html:3 +#: searx/templates/legacy/result_templates/default.html:3 +#: searx/templates/legacy/result_templates/map.html:9 +#: searx/templates/oscar/macros.html:34 searx/templates/oscar/macros.html:48 +#: searx/templates/simple/macros.html:43 +msgid "cached" +msgstr "архівовано" + +#: searx/templates/oscar/advanced.html:4 +msgid "Advanced settings" +msgstr "Додаткові налаштування" + +#: searx/templates/oscar/base.html:62 +#: searx/templates/oscar/messages/first_time.html:4 +#: searx/templates/oscar/messages/save_settings_successfull.html:5 +#: searx/templates/oscar/messages/unknow_error.html:5 +msgid "Close" +msgstr "Закрити" + +#: searx/templates/oscar/base.html:64 +#: searx/templates/oscar/messages/no_results.html:4 +#: searx/templates/simple/messages/no_results.html:4 +#: searx/templates/simple/results.html:25 +msgid "Error!" +msgstr "Помилка!" + +#: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 +msgid "Powered by" +msgstr "Використовується" + +#: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 +msgid "a privacy-respecting, hackable metasearch engine" +msgstr "вільна система метапошуку, яка поважає вашу приватність" + +#: searx/templates/oscar/macros.html:36 searx/templates/oscar/macros.html:50 +#: searx/templates/simple/macros.html:43 +msgid "proxied" +msgstr "проксовано" + +#: searx/templates/oscar/macros.html:92 +msgid "supported" +msgstr "" + +#: searx/templates/oscar/macros.html:96 +msgid "not supported" +msgstr "" + +#: searx/templates/oscar/preferences.html:13 +#: searx/templates/oscar/preferences.html:22 +#: searx/templates/simple/preferences.html:32 +msgid "General" +msgstr "Загальні" + +#: searx/templates/oscar/preferences.html:14 +#: searx/templates/oscar/preferences.html:146 +#: searx/templates/simple/preferences.html:76 +msgid "Engines" +msgstr "Пошукові системи" + +#: searx/templates/oscar/preferences.html:15 +#: searx/templates/oscar/preferences.html:219 +msgid "Plugins" +msgstr "Плагіни" + +#: searx/templates/oscar/preferences.html:16 +#: searx/templates/oscar/preferences.html:245 +msgid "Answerers" +msgstr "Відповідачі" + +#: searx/templates/oscar/preferences.html:17 +#: searx/templates/oscar/preferences.html:272 +msgid "Cookies" +msgstr "Cookie-файли" + +#: searx/templates/oscar/preferences.html:42 +#: searx/templates/simple/preferences.html:48 +msgid "What language do you prefer for search?" +msgstr "Якій мові ви віддаєте перевагу для пошуку?" + +#: searx/templates/oscar/preferences.html:48 +#: searx/templates/simple/preferences.html:128 +msgid "Change the language of the layout" +msgstr "Змінити мову сайту" + +#: searx/templates/oscar/preferences.html:58 +#: searx/templates/simple/preferences.html:60 +msgid "Find stuff as you type" +msgstr "Шукати підчас набору" + +#: searx/templates/oscar/preferences.html:69 +#: searx/templates/simple/preferences.html:173 +msgid "Proxying image results through searx" +msgstr "Проксувати знайдені зображення за допомогою searx" + +#: searx/templates/oscar/preferences.html:78 +msgid "" +"Change how forms are submited, <a " +"href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\"" +" rel=\"external\">learn more about request methods</a>" +msgstr "Змінити спосіб відправки запитів, <a href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\" rel=\"external\">детальніше про методи запитів</a>" + +#: searx/templates/oscar/preferences.html:87 +#: searx/templates/simple/preferences.html:71 +msgid "Filter content" +msgstr "Фільтр контенту" + +#: searx/templates/oscar/preferences.html:97 +#: searx/templates/simple/preferences.html:139 +msgid "Change searx layout" +msgstr "Змінити вигляд сайту" + +#: searx/templates/oscar/preferences.html:106 +#: searx/templates/oscar/preferences.html:111 +msgid "Choose style for this theme" +msgstr "Обрати стиль для цієї теми" + +#: searx/templates/oscar/preferences.html:106 +#: searx/templates/oscar/preferences.html:111 +msgid "Style" +msgstr "Стиль" + +#: searx/templates/oscar/preferences.html:122 +msgid "Open Access DOI resolver" +msgstr "" + +#: searx/templates/oscar/preferences.html:123 +msgid "" +"Redirect to open-access versions of publications when available (plugin " +"required)" +msgstr "" + +#: searx/templates/oscar/preferences.html:163 +#: searx/templates/oscar/preferences.html:175 +#: searx/templates/simple/preferences.html:88 +msgid "Shortcut" +msgstr "Гарячі клавіші" + +#: searx/templates/oscar/preferences.html:164 +#: searx/templates/oscar/preferences.html:174 +msgid "Selected language" +msgstr "" + +#: searx/templates/oscar/preferences.html:166 +#: searx/templates/oscar/preferences.html:172 +#: searx/templates/simple/preferences.html:91 +msgid "Time range" +msgstr "Часовий діапазон" + +#: searx/templates/oscar/preferences.html:167 +#: searx/templates/oscar/preferences.html:171 +#: searx/templates/simple/preferences.html:92 +msgid "Avg. time" +msgstr "Середній час" + +#: searx/templates/oscar/preferences.html:168 +#: searx/templates/oscar/preferences.html:170 +#: searx/templates/simple/preferences.html:93 +msgid "Max time" +msgstr "Максимальний час" + +#: searx/templates/oscar/preferences.html:248 +msgid "This is the list of searx's instant answering modules." +msgstr "Список модулів миттєвих відповідей searx." + +#: searx/templates/oscar/preferences.html:252 +msgid "Name" +msgstr "Назва" + +#: searx/templates/oscar/preferences.html:253 +msgid "Keywords" +msgstr "Ключові слова" + +#: searx/templates/oscar/preferences.html:254 +msgid "Description" +msgstr "Опис" + +#: searx/templates/oscar/preferences.html:255 +msgid "Examples" +msgstr "Приклади" + +#: searx/templates/oscar/preferences.html:275 +msgid "" +"This is the list of cookies and their values searx is storing on your " +"computer." +msgstr "Це список cookie-файлів та їх значень, які searx зберігає на вашому комп'ютері." + +#: searx/templates/oscar/preferences.html:276 +msgid "With that list, you can assess searx transparency." +msgstr "По цьому списку ви можете оцінити відкритість searx." + +#: searx/templates/oscar/preferences.html:281 +msgid "Cookie name" +msgstr "Ім'я cookie" + +#: searx/templates/oscar/preferences.html:282 +msgid "Value" +msgstr "Значення" + +#: searx/templates/oscar/preferences.html:301 +msgid "Search URL of the currently saved preferences" +msgstr "" + +#: searx/templates/oscar/preferences.html:301 +msgid "" +"Note: specifying custom settings in the search URL can reduce privacy by " +"leaking data to the clicked result sites." +msgstr "" + +#: searx/templates/oscar/results.html:17 +msgid "Search results" +msgstr "Результати пошуку" + +#: searx/templates/oscar/results.html:21 +#: searx/templates/simple/results.html:84 +msgid "Try searching for:" +msgstr "" + +#: searx/templates/oscar/results.html:100 +#: searx/templates/simple/results.html:25 +msgid "Engines cannot retrieve results" +msgstr "" + +#: searx/templates/oscar/results.html:131 +msgid "Links" +msgstr "Посилання" + +#: searx/templates/oscar/search.html:8 +#: searx/templates/oscar/search_full.html:11 +#: searx/templates/simple/search.html:5 +msgid "Start search" +msgstr "Розпочати пошук" + +#: searx/templates/oscar/stats.html:2 +msgid "stats" +msgstr "статистика" + +#: searx/templates/oscar/time-range.html:3 +#: searx/templates/simple/time-range.html:3 +msgid "Anytime" +msgstr "За весь час" + +#: searx/templates/oscar/time-range.html:6 +#: searx/templates/simple/time-range.html:6 +msgid "Last day" +msgstr "За останній день" + +#: searx/templates/oscar/time-range.html:9 +#: searx/templates/simple/time-range.html:9 +msgid "Last week" +msgstr "За останній тиждень" + +#: searx/templates/oscar/time-range.html:12 +#: searx/templates/simple/time-range.html:12 +msgid "Last month" +msgstr "За останній місяць" + +#: searx/templates/oscar/time-range.html:15 +#: searx/templates/simple/time-range.html:15 +msgid "Last year" +msgstr "За останній рік" + +#: searx/templates/oscar/messages/first_time.html:6 +#: searx/templates/oscar/messages/no_data_available.html:3 +msgid "Heads up!" +msgstr "Отакої!" + +#: searx/templates/oscar/messages/first_time.html:7 +msgid "It look like you are using searx first time." +msgstr "Схоже, що ви використовуєте searx вперше." + +#: searx/templates/oscar/messages/no_cookies.html:3 +msgid "Information!" +msgstr "Інформація!" + +#: searx/templates/oscar/messages/no_cookies.html:4 +msgid "currently, there are no cookies defined." +msgstr "в даний час cookie-файли не встановлені." + +#: searx/templates/oscar/messages/no_data_available.html:4 +msgid "There is currently no data available. " +msgstr "В даний час немає доступних даних." + +#: searx/templates/oscar/messages/no_results.html:4 +#: searx/templates/simple/messages/no_results.html:4 +msgid "Engines cannot retrieve results." +msgstr "" + +#: searx/templates/oscar/messages/no_results.html:10 +#: searx/templates/simple/messages/no_results.html:10 +msgid "Please, try again later or find another searx instance." +msgstr "" + +#: searx/templates/oscar/messages/no_results.html:14 +#: searx/templates/simple/messages/no_results.html:14 +msgid "Sorry!" +msgstr "Вибачте!" + +#: searx/templates/oscar/messages/no_results.html:15 +#: searx/templates/simple/messages/no_results.html:15 +msgid "" +"we didn't find any results. Please use another query or search in more " +"categories." +msgstr "ми не знайшли жодних результатів. Будь ласка, використайте інший запит або виконайте пошук в декількох категоріях." + +#: searx/templates/oscar/messages/save_settings_successfull.html:7 +msgid "Well done!" +msgstr "Чудово!" + +#: searx/templates/oscar/messages/save_settings_successfull.html:8 +msgid "Settings saved successfully." +msgstr "Налаштування успішно збережені." + +#: searx/templates/oscar/messages/unknow_error.html:7 +msgid "Oh snap!" +msgstr "От халепа!" + +#: searx/templates/oscar/messages/unknow_error.html:8 +msgid "Something went wrong." +msgstr "Щось пішло не так." + +#: searx/templates/oscar/result_templates/default.html:7 +#: searx/templates/simple/result_templates/default.html:6 +msgid "show media" +msgstr "показати медіа" + +#: searx/templates/oscar/result_templates/default.html:7 +#: searx/templates/simple/result_templates/default.html:6 +msgid "hide media" +msgstr "приховати медіа" + +#: searx/templates/oscar/result_templates/images.html:30 +msgid "Get image" +msgstr "Завантажити зображення" + +#: searx/templates/oscar/result_templates/images.html:33 +msgid "View source" +msgstr "Переглянути джерело" + +#: searx/templates/oscar/result_templates/map.html:7 +#: searx/templates/simple/result_templates/map.html:7 +msgid "show map" +msgstr "показати карту" + +#: searx/templates/oscar/result_templates/map.html:7 +#: searx/templates/simple/result_templates/map.html:7 +msgid "hide map" +msgstr "приховати карту" + +#: searx/templates/oscar/result_templates/map.html:11 +#: searx/templates/simple/result_templates/map.html:11 +msgid "show details" +msgstr "показати деталі" + +#: searx/templates/oscar/result_templates/map.html:11 +#: searx/templates/simple/result_templates/map.html:11 +msgid "hide details" +msgstr "приховати деталі" + +#: searx/templates/oscar/result_templates/torrent.html:7 +#: searx/templates/simple/result_templates/torrent.html:11 +msgid "Filesize" +msgstr "Розмір файла" + +#: searx/templates/oscar/result_templates/torrent.html:9 +#: searx/templates/simple/result_templates/torrent.html:12 +msgid "Bytes" +msgstr "Байтів" + +#: searx/templates/oscar/result_templates/torrent.html:10 +#: searx/templates/simple/result_templates/torrent.html:13 +msgid "kiB" +msgstr "КіБ" + +#: searx/templates/oscar/result_templates/torrent.html:11 +#: searx/templates/simple/result_templates/torrent.html:14 +msgid "MiB" +msgstr "МіБ" + +#: searx/templates/oscar/result_templates/torrent.html:12 +#: searx/templates/simple/result_templates/torrent.html:15 +msgid "GiB" +msgstr "ГіБ" + +#: searx/templates/oscar/result_templates/torrent.html:13 +#: searx/templates/simple/result_templates/torrent.html:16 +msgid "TiB" +msgstr "ТіБ" + +#: searx/templates/oscar/result_templates/torrent.html:15 +#: searx/templates/simple/result_templates/torrent.html:20 +msgid "Number of Files" +msgstr "Кількість Файлів" + +#: searx/templates/oscar/result_templates/videos.html:7 +#: searx/templates/simple/result_templates/videos.html:6 +msgid "show video" +msgstr "показати відео" + +#: searx/templates/oscar/result_templates/videos.html:7 +#: searx/templates/simple/result_templates/videos.html:6 +msgid "hide video" +msgstr "приховати відео" + +#: searx/templates/pix-art/results.html:28 +msgid "Load more..." +msgstr "Завантажити більше..." + +#: searx/templates/simple/base.html:31 +msgid "No item found" +msgstr "" + +#: searx/templates/simple/preferences.html:89 +msgid "Supports selected language" +msgstr "Підтримка обраної мови" + +#: searx/templates/simple/preferences.html:118 +msgid "User interface" +msgstr "" + +#: searx/templates/simple/preferences.html:154 +msgid "Privacy" +msgstr "" diff --git a/searx/translations/vi/LC_MESSAGES/messages.mo b/searx/translations/vi/LC_MESSAGES/messages.mo new file mode 100644 index 0000000000..07dc309ea2 Binary files /dev/null and b/searx/translations/vi/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/vi/LC_MESSAGES/messages.po b/searx/translations/vi/LC_MESSAGES/messages.po new file mode 100644 index 0000000000..d8a1a0c943 --- /dev/null +++ b/searx/translations/vi/LC_MESSAGES/messages.po @@ -0,0 +1,1013 @@ +# Translations template for PROJECT. +# Copyright (C) 2017 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# +# Translators: +# dd721411 <dd721411@gmail.com>, 2018 +msgid "" +msgstr "" +"Project-Id-Version: searx\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2017-11-01 21:31+0100\n" +"PO-Revision-Date: 2018-02-28 17:27+0000\n" +"Last-Translator: dd721411 <dd721411@gmail.com>\n" +"Language-Team: Vietnamese (http://www.transifex.com/asciimoo/searx/language/vi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.3.4\n" +"Language: vi\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: searx/search.py:137 searx/search.py:182 +msgid "timeout" +msgstr "hết thời hạn" + +#: searx/search.py:144 +msgid "request exception" +msgstr "ngoại lệ yêu cầu" + +#: searx/search.py:151 +msgid "unexpected crash" +msgstr "lỗi bất ngờ" + +#: searx/webapp.py:136 +msgid "files" +msgstr "các tập tin" + +#: searx/webapp.py:137 +msgid "general" +msgstr "tổng quát" + +#: searx/webapp.py:138 +msgid "music" +msgstr "âm nhạc" + +#: searx/webapp.py:139 +msgid "social media" +msgstr "mạng xã hội" + +#: searx/webapp.py:140 +msgid "images" +msgstr "hình ảnh" + +#: searx/webapp.py:141 +msgid "videos" +msgstr "phim" + +#: searx/webapp.py:142 +msgid "it" +msgstr "CNTT" + +#: searx/webapp.py:143 +msgid "news" +msgstr "tin tức" + +#: searx/webapp.py:144 +msgid "map" +msgstr "bản đồ" + +#: searx/webapp.py:145 +msgid "science" +msgstr "khoa học" + +#: searx/webapp.py:399 searx/webapp.py:658 +msgid "Invalid settings, please edit your preferences" +msgstr "Cài đặt không hợp lệ, xin xem lại tuỳ chỉnh" + +#: searx/webapp.py:415 +msgid "Invalid settings" +msgstr "Cài đặt không hợp lệ" + +#: searx/webapp.py:449 searx/webapp.py:493 +msgid "search error" +msgstr "lỗi tìm kiếm" + +#: searx/webapp.py:530 +msgid "{minutes} minute(s) ago" +msgstr "{minutes} phút() trước" + +#: searx/webapp.py:532 +msgid "{hours} hour(s), {minutes} minute(s) ago" +msgstr "{hours} giờ(), {minutes} phút() trước" + +#: searx/answerers/random/answerer.py:53 +msgid "Random value generator" +msgstr "Trình tạo giá trị ngẫu nhiên" + +#: searx/answerers/random/answerer.py:54 +msgid "Generate different random values" +msgstr "Tạo các giá trị ngẫu nhiên khác nhau" + +#: searx/answerers/statistics/answerer.py:53 +msgid "Statistics functions" +msgstr "Các hàm thống kê" + +#: searx/answerers/statistics/answerer.py:54 +msgid "Compute {functions} of the arguments" +msgstr "Tính toán {functions} của các đối số" + +#: searx/engines/__init__.py:194 searx/engines/flycheck___init__.py:201 +msgid "Engine time (sec)" +msgstr "Thời gian trình tìm kiếm (giây)" + +#: searx/engines/__init__.py:198 searx/engines/flycheck___init__.py:205 +msgid "Page loads (sec)" +msgstr "Tải trang (giây)" + +#: searx/engines/__init__.py:202 searx/engines/flycheck___init__.py:209 +#: searx/templates/oscar/results.html:95 +#: searx/templates/simple/results.html:20 +msgid "Number of results" +msgstr "Số lượng kết quả" + +#: searx/engines/__init__.py:206 searx/engines/flycheck___init__.py:213 +msgid "Scores" +msgstr "Điểm số" + +#: searx/engines/__init__.py:210 searx/engines/flycheck___init__.py:217 +msgid "Scores per result" +msgstr "Điểm số cho từng kết quả" + +#: searx/engines/__init__.py:214 searx/engines/flycheck___init__.py:221 +msgid "Errors" +msgstr "Các lỗi" + +#: searx/engines/pdbe.py:87 +msgid "{title}&nbsp;(OBSOLETE)" +msgstr "{title}&nbsp;(LỖI THỜI)" + +#: searx/engines/pdbe.py:91 +msgid "This entry has been superseded by" +msgstr "Mục này đã được thay thế bởi" + +#: searx/engines/pubmed.py:74 +msgid "No abstract is available for this publication." +msgstr "Không có bản tóm tắt nào cho ấn phẩm này." + +#: searx/plugins/https_rewrite.py:32 +msgid "Rewrite HTTP links to HTTPS if possible" +msgstr "Viết lại các liên kết HTTP thành HTTPS khi có thể" + +#: searx/plugins/infinite_scroll.py:3 +msgid "Infinite scroll" +msgstr "Cuộn liên tục" + +#: searx/plugins/infinite_scroll.py:4 +msgid "Automatically load next page when scrolling to bottom of current page" +msgstr "Tự động tải trang kế tiếp khi cuộn đến cuối trang hiện tại" + +#: searx/plugins/oa_doi_rewrite.py:9 +msgid "Open Access DOI rewrite" +msgstr "Viết lại DOI Truy Cập Miễn Phí" + +#: searx/plugins/oa_doi_rewrite.py:10 +msgid "" +"Avoid paywalls by redirecting to open-access versions of publications when " +"available" +msgstr "Tránh việc trả phí bằng cách chuyển hướng đến các phiên bản truy cập miễn phí của ấn phẩm khi có thể" + +#: searx/plugins/open_results_on_new_tab.py:18 +#: searx/templates/oscar/preferences.html:114 +#: searx/templates/simple/preferences.html:149 +msgid "Open result links on new browser tabs" +msgstr "Mở kết quả trên những thẻ trình duyệt mới" + +#: searx/plugins/open_results_on_new_tab.py:19 +msgid "" +"Results are opened in the same window by default. This plugin overwrites the" +" default behaviour to open links on new tabs/windows. (JavaScript required)" +msgstr "Theo mặc định thì các kết quả được mở trên cùng một cửa sổ. Phần mở rộng này sẽ ghi đè lên hành vi mặc định đó để mở các liên kết trên các thẻ/cửa sổ mới. (yêu cầu JavaScript)" + +#: searx/plugins/search_on_category_select.py:18 +msgid "Search on category select" +msgstr "Tìm kiếm khi chọn danh mục đơn" + +#: searx/plugins/search_on_category_select.py:19 +msgid "" +"Perform search immediately if a category selected. Disable to select " +"multiple categories. (JavaScript required)" +msgstr "Thực thi tìm kiếm ngay khi chọn một danh mục. Tắt đi để chọn nhiều danh mục. (yêu cầu JavaScript)" + +#: searx/plugins/self_info.py:20 +msgid "" +"Displays your IP if the query is \"ip\" and your user agent if the query " +"contains \"user agent\"." +msgstr "Hiện IP của bạn khi gõ \"ip\" và hiện user agent khi gõ \"user agent\"." + +#: searx/plugins/tracker_url_remover.py:26 +msgid "Tracker URL remover" +msgstr "Trình loại bỏ URL theo dõi" + +#: searx/plugins/tracker_url_remover.py:27 +msgid "Remove trackers arguments from the returned URL" +msgstr "Loại bỏ các đối số theo dõi từ URL trả về" + +#: searx/plugins/vim_hotkeys.py:3 +msgid "Vim-like hotkeys" +msgstr "Các phím tắt Vim-like" + +#: searx/plugins/vim_hotkeys.py:4 +msgid "" +"Navigate search results with Vim-like hotkeys (JavaScript required). Press " +"\"h\" key on main or result page to get help." +msgstr "Điều hướng các kết quả tìm kiếm với các phím tắt Vim-like (yêu cầu JavaScript). Nhấn phím \"h\" trên trang chính hoặc trang kết quả để xem trợ giúp." + +#: searx/templates/courgette/404.html:4 searx/templates/legacy/404.html:4 +#: searx/templates/oscar/404.html:4 searx/templates/pix-art/404.html:4 +#: searx/templates/simple/404.html:4 +msgid "Page not found" +msgstr "Không tìm thấy trang" + +#: searx/templates/courgette/404.html:6 searx/templates/legacy/404.html:6 +#: searx/templates/oscar/404.html:6 searx/templates/pix-art/404.html:6 +#: searx/templates/simple/404.html:6 +#, python-format +msgid "Go to %(search_page)s." +msgstr "Đi đến %(search_page)s." + +#: searx/templates/courgette/404.html:6 searx/templates/legacy/404.html:6 +#: searx/templates/oscar/404.html:6 searx/templates/pix-art/404.html:6 +#: searx/templates/simple/404.html:6 +msgid "search page" +msgstr "tìm kiếm trang" + +#: searx/templates/courgette/index.html:9 +#: searx/templates/courgette/index.html:13 +#: searx/templates/courgette/results.html:5 +#: searx/templates/legacy/index.html:8 searx/templates/legacy/index.html:12 +#: searx/templates/oscar/navbar.html:7 +#: searx/templates/oscar/preferences.html:3 +#: searx/templates/pix-art/index.html:8 +msgid "preferences" +msgstr "tuỳ chỉnh" + +#: searx/templates/courgette/index.html:11 +#: searx/templates/legacy/index.html:10 searx/templates/oscar/about.html:2 +#: searx/templates/oscar/navbar.html:6 searx/templates/pix-art/index.html:7 +msgid "about" +msgstr "thông tin về" + +#: searx/templates/courgette/preferences.html:5 +#: searx/templates/legacy/preferences.html:5 +#: searx/templates/oscar/preferences.html:8 +#: searx/templates/pix-art/preferences.html:5 +#: searx/templates/simple/preferences.html:26 +msgid "Preferences" +msgstr "Tuỳ chỉnh" + +#: searx/templates/courgette/preferences.html:9 +#: searx/templates/legacy/preferences.html:9 +#: searx/templates/oscar/preferences.html:33 +#: searx/templates/oscar/preferences.html:35 +#: searx/templates/simple/preferences.html:34 +msgid "Default categories" +msgstr "Các danh mục mặc định" + +#: searx/templates/courgette/preferences.html:13 +#: searx/templates/legacy/preferences.html:14 +#: searx/templates/oscar/preferences.html:41 +#: searx/templates/pix-art/preferences.html:9 +#: searx/templates/simple/preferences.html:39 +#: searx/templates/simple/preferences.html:163 +msgid "Search language" +msgstr "Ngôn ngữ tìm kiếm" + +#: searx/templates/courgette/preferences.html:16 +#: searx/templates/legacy/preferences.html:17 +#: searx/templates/oscar/languages.html:6 +#: searx/templates/pix-art/preferences.html:12 +#: searx/templates/simple/languages.html:2 +#: searx/templates/simple/preferences.html:42 +msgid "Default language" +msgstr "Ngôn ngữ mặc định" + +#: searx/templates/courgette/preferences.html:24 +#: searx/templates/legacy/preferences.html:25 +#: searx/templates/oscar/preferences.html:47 +#: searx/templates/pix-art/preferences.html:20 +#: searx/templates/simple/preferences.html:120 +msgid "Interface language" +msgstr "Ngôn ngữ giao diện" + +#: searx/templates/courgette/preferences.html:34 +#: searx/templates/legacy/preferences.html:35 +#: searx/templates/oscar/preferences.html:57 +#: searx/templates/simple/preferences.html:51 +msgid "Autocomplete" +msgstr "Gợi ý tự động" + +#: searx/templates/courgette/preferences.html:45 +#: searx/templates/legacy/preferences.html:46 +#: searx/templates/oscar/preferences.html:68 +#: searx/templates/simple/preferences.html:166 +msgid "Image proxy" +msgstr "Proxy hình ảnh" + +#: searx/templates/courgette/preferences.html:48 +#: searx/templates/legacy/preferences.html:49 +#: searx/templates/oscar/preferences.html:72 +#: searx/templates/simple/preferences.html:169 +msgid "Enabled" +msgstr "Đã " + +#: searx/templates/courgette/preferences.html:49 +#: searx/templates/legacy/preferences.html:50 +#: searx/templates/oscar/preferences.html:73 +#: searx/templates/simple/preferences.html:170 +msgid "Disabled" +msgstr "Đã tắt" + +#: searx/templates/courgette/preferences.html:54 +#: searx/templates/legacy/preferences.html:55 +#: searx/templates/oscar/preferences.html:77 +#: searx/templates/pix-art/preferences.html:30 +#: searx/templates/simple/preferences.html:156 +msgid "Method" +msgstr "Phương pháp" + +#: searx/templates/courgette/preferences.html:63 +#: searx/templates/legacy/preferences.html:64 +#: searx/templates/oscar/preferences.html:86 +#: searx/templates/oscar/preferences.html:165 +#: searx/templates/oscar/preferences.html:173 +#: searx/templates/simple/preferences.html:63 +#: searx/templates/simple/preferences.html:90 +msgid "SafeSearch" +msgstr "Tìm Kiếm An Toàn" + +#: searx/templates/courgette/preferences.html:66 +#: searx/templates/legacy/preferences.html:67 +#: searx/templates/oscar/preferences.html:90 +#: searx/templates/simple/preferences.html:66 +msgid "Strict" +msgstr "Nghiêm ngặt" + +#: searx/templates/courgette/preferences.html:67 +#: searx/templates/legacy/preferences.html:68 +#: searx/templates/oscar/preferences.html:91 +#: searx/templates/simple/preferences.html:67 +msgid "Moderate" +msgstr "Vừa phải" + +#: searx/templates/courgette/preferences.html:68 +#: searx/templates/legacy/preferences.html:69 +#: searx/templates/oscar/preferences.html:92 +#: searx/templates/simple/preferences.html:68 +msgid "None" +msgstr "Không" + +#: searx/templates/courgette/preferences.html:73 +#: searx/templates/legacy/preferences.html:74 +#: searx/templates/oscar/preferences.html:96 +#: searx/templates/pix-art/preferences.html:39 +#: searx/templates/simple/preferences.html:131 +msgid "Themes" +msgstr "Nền" + +#: searx/templates/courgette/preferences.html:83 +msgid "Color" +msgstr "Màu sắc" + +#: searx/templates/courgette/preferences.html:86 +msgid "Blue (default)" +msgstr "Xanh lam (mặc định)" + +#: searx/templates/courgette/preferences.html:87 +msgid "Violet" +msgstr "Tím" + +#: searx/templates/courgette/preferences.html:88 +msgid "Green" +msgstr "Xanh lục" + +#: searx/templates/courgette/preferences.html:89 +msgid "Cyan" +msgstr "Lục lam" + +#: searx/templates/courgette/preferences.html:90 +msgid "Orange" +msgstr "Cam" + +#: searx/templates/courgette/preferences.html:91 +msgid "Red" +msgstr "Đỏ" + +#: searx/templates/courgette/preferences.html:96 +#: searx/templates/legacy/preferences.html:93 +#: searx/templates/pix-art/preferences.html:49 +#: searx/templates/simple/preferences.html:77 +msgid "Currently used search engines" +msgstr "Các trình tìm kiếm đang được dùng" + +#: searx/templates/courgette/preferences.html:100 +#: searx/templates/legacy/preferences.html:97 +#: searx/templates/oscar/preferences.html:162 +#: searx/templates/oscar/preferences.html:176 +#: searx/templates/pix-art/preferences.html:53 +#: searx/templates/simple/preferences.html:87 +msgid "Engine name" +msgstr "Tên trình tìm kiếm" + +#: searx/templates/courgette/preferences.html:101 +#: searx/templates/legacy/preferences.html:98 +msgid "Category" +msgstr "Danh mục" + +#: searx/templates/courgette/preferences.html:102 +#: searx/templates/courgette/preferences.html:113 +#: searx/templates/legacy/preferences.html:99 +#: searx/templates/legacy/preferences.html:110 +#: searx/templates/oscar/preferences.html:161 +#: searx/templates/oscar/preferences.html:177 +#: searx/templates/pix-art/preferences.html:54 +#: searx/templates/pix-art/preferences.html:64 +#: searx/templates/simple/preferences.html:86 +msgid "Allow" +msgstr "Cho phép" + +#: searx/templates/courgette/preferences.html:102 +#: searx/templates/courgette/preferences.html:114 +#: searx/templates/legacy/preferences.html:99 +#: searx/templates/legacy/preferences.html:111 +#: searx/templates/pix-art/preferences.html:54 +#: searx/templates/pix-art/preferences.html:65 +msgid "Block" +msgstr "Chặn" + +#: searx/templates/courgette/preferences.html:122 +#: searx/templates/legacy/preferences.html:119 +#: searx/templates/oscar/preferences.html:297 +#: searx/templates/pix-art/preferences.html:73 +#: searx/templates/simple/preferences.html:180 +msgid "" +"These settings are stored in your cookies, this allows us not to store this " +"data about you." +msgstr "Những cài đặt này được lưu trữ trong các cookie, điều này cho phép chúng tôi không phải lưu các dữ liệu về bạn." + +#: searx/templates/courgette/preferences.html:124 +#: searx/templates/legacy/preferences.html:121 +#: searx/templates/oscar/preferences.html:299 +#: searx/templates/pix-art/preferences.html:75 +#: searx/templates/simple/preferences.html:182 +msgid "" +"These cookies serve your sole convenience, we don't use these cookies to " +"track you." +msgstr "Những cookie này chỉ phục vụ cho chính bạn, chúng tôi không sử dụng chúng để theo dõi bạn." + +#: searx/templates/courgette/preferences.html:127 +#: searx/templates/legacy/preferences.html:124 +#: searx/templates/oscar/preferences.html:305 +#: searx/templates/pix-art/preferences.html:78 +#: searx/templates/simple/preferences.html:185 +msgid "save" +msgstr "lưu" + +#: searx/templates/courgette/preferences.html:128 +#: searx/templates/legacy/preferences.html:125 +#: searx/templates/oscar/preferences.html:307 +#: searx/templates/simple/preferences.html:186 +msgid "Reset defaults" +msgstr "Đưa về mặc định" + +#: searx/templates/courgette/preferences.html:129 +#: searx/templates/legacy/preferences.html:126 +#: searx/templates/oscar/preferences.html:306 +#: searx/templates/pix-art/preferences.html:79 +#: searx/templates/simple/preferences.html:187 +msgid "back" +msgstr "trở về" + +#: searx/templates/courgette/results.html:12 +#: searx/templates/legacy/results.html:13 +#: searx/templates/oscar/results.html:136 +#: searx/templates/simple/results.html:58 +msgid "Search URL" +msgstr "URL Tìm kiếm" + +#: searx/templates/courgette/results.html:16 +#: searx/templates/legacy/results.html:17 +#: searx/templates/oscar/results.html:141 +#: searx/templates/simple/results.html:62 +msgid "Download results" +msgstr "Tải về các kết quả" + +#: searx/templates/courgette/results.html:34 +#: searx/templates/legacy/results.html:35 +#: searx/templates/simple/results.html:10 +msgid "Answers" +msgstr "Các đáp án" + +#: searx/templates/courgette/results.html:42 +#: searx/templates/legacy/results.html:43 +#: searx/templates/oscar/results.html:116 +#: searx/templates/simple/results.html:42 +msgid "Suggestions" +msgstr "Các gợi ý" + +#: searx/templates/courgette/results.html:70 +#: searx/templates/legacy/results.html:81 +#: searx/templates/oscar/results.html:68 searx/templates/oscar/results.html:78 +#: searx/templates/simple/results.html:130 +msgid "previous page" +msgstr "trang liền trước" + +#: searx/templates/courgette/results.html:81 +#: searx/templates/legacy/results.html:92 +#: searx/templates/oscar/results.html:62 searx/templates/oscar/results.html:84 +#: searx/templates/simple/results.html:145 +msgid "next page" +msgstr "trang tiếp theo" + +#: searx/templates/courgette/search.html:3 +#: searx/templates/legacy/search.html:3 searx/templates/oscar/search.html:6 +#: searx/templates/oscar/search_full.html:9 +#: searx/templates/pix-art/search.html:3 searx/templates/simple/search.html:4 +msgid "Search for..." +msgstr "Tìm kiếm về..." + +#: searx/templates/courgette/stats.html:4 searx/templates/legacy/stats.html:4 +#: searx/templates/oscar/stats.html:5 searx/templates/pix-art/stats.html:4 +#: searx/templates/simple/stats.html:7 +msgid "Engine stats" +msgstr "Các thông số về trình tìm kiếm" + +#: searx/templates/courgette/result_templates/images.html:4 +#: searx/templates/legacy/result_templates/images.html:4 +#: searx/templates/pix-art/result_templates/images.html:4 +msgid "original context" +msgstr "ngữ cảnh gốc" + +#: searx/templates/courgette/result_templates/torrent.html:7 +#: searx/templates/legacy/result_templates/torrent.html:11 +#: searx/templates/oscar/result_templates/torrent.html:6 +#: searx/templates/simple/result_templates/torrent.html:9 +msgid "Seeder" +msgstr "Seeder" + +#: searx/templates/courgette/result_templates/torrent.html:7 +#: searx/templates/legacy/result_templates/torrent.html:11 +#: searx/templates/oscar/result_templates/torrent.html:6 +#: searx/templates/simple/result_templates/torrent.html:9 +msgid "Leecher" +msgstr "Leecher" + +#: searx/templates/courgette/result_templates/torrent.html:9 +#: searx/templates/legacy/result_templates/torrent.html:9 +#: searx/templates/oscar/macros.html:23 +#: searx/templates/simple/result_templates/torrent.html:6 +msgid "magnet link" +msgstr "liên kết magnet" + +#: searx/templates/courgette/result_templates/torrent.html:10 +#: searx/templates/legacy/result_templates/torrent.html:10 +#: searx/templates/oscar/macros.html:24 +#: searx/templates/simple/result_templates/torrent.html:7 +msgid "torrent file" +msgstr "tập tin torrent" + +#: searx/templates/legacy/categories.html:8 +#: searx/templates/simple/categories.html:6 +msgid "Click on the magnifier to perform search" +msgstr "Nhấp vào hình kính lúp để tiến hành tìm kiếm" + +#: searx/templates/legacy/preferences.html:84 +#: searx/templates/oscar/preferences.html:113 +#: searx/templates/simple/preferences.html:142 +msgid "Results on new tabs" +msgstr "Hiện kết quả trên các thẻ mới" + +#: searx/templates/legacy/preferences.html:87 +#: searx/templates/oscar/preferences.html:117 +#: searx/templates/simple/preferences.html:145 +msgid "On" +msgstr "Bật" + +#: searx/templates/legacy/preferences.html:88 +#: searx/templates/oscar/preferences.html:118 +#: searx/templates/simple/preferences.html:146 +msgid "Off" +msgstr "Tắt" + +#: searx/templates/legacy/result_templates/code.html:3 +#: searx/templates/legacy/result_templates/default.html:3 +#: searx/templates/legacy/result_templates/map.html:9 +#: searx/templates/oscar/macros.html:34 searx/templates/oscar/macros.html:48 +#: searx/templates/simple/macros.html:43 +msgid "cached" +msgstr "đã lưu cache" + +#: searx/templates/oscar/advanced.html:4 +msgid "Advanced settings" +msgstr "Cài đặt nâng cao" + +#: searx/templates/oscar/base.html:62 +#: searx/templates/oscar/messages/first_time.html:4 +#: searx/templates/oscar/messages/save_settings_successfull.html:5 +#: searx/templates/oscar/messages/unknow_error.html:5 +msgid "Close" +msgstr "Đóng" + +#: searx/templates/oscar/base.html:64 +#: searx/templates/oscar/messages/no_results.html:4 +#: searx/templates/simple/messages/no_results.html:4 +#: searx/templates/simple/results.html:25 +msgid "Error!" +msgstr "Lỗi!" + +#: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 +msgid "Powered by" +msgstr "Được cung cấp bởi" + +#: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 +msgid "a privacy-respecting, hackable metasearch engine" +msgstr "một trình tìm kiếm đa nguồn, dễ tuỳ biến và tôn trọng quyền riêng tư" + +#: searx/templates/oscar/macros.html:36 searx/templates/oscar/macros.html:50 +#: searx/templates/simple/macros.html:43 +msgid "proxied" +msgstr "đã proxy" + +#: searx/templates/oscar/macros.html:92 +msgid "supported" +msgstr "có hỗ trợ" + +#: searx/templates/oscar/macros.html:96 +msgid "not supported" +msgstr "không hỗ trợ" + +#: searx/templates/oscar/preferences.html:13 +#: searx/templates/oscar/preferences.html:22 +#: searx/templates/simple/preferences.html:32 +msgid "General" +msgstr "Tổng quát" + +#: searx/templates/oscar/preferences.html:14 +#: searx/templates/oscar/preferences.html:146 +#: searx/templates/simple/preferences.html:76 +msgid "Engines" +msgstr "Các trình tìm kiếm" + +#: searx/templates/oscar/preferences.html:15 +#: searx/templates/oscar/preferences.html:219 +msgid "Plugins" +msgstr "Các phần mở rộng" + +#: searx/templates/oscar/preferences.html:16 +#: searx/templates/oscar/preferences.html:245 +msgid "Answerers" +msgstr "Trình trả lời nhanh" + +#: searx/templates/oscar/preferences.html:17 +#: searx/templates/oscar/preferences.html:272 +msgid "Cookies" +msgstr "Các cookie" + +#: searx/templates/oscar/preferences.html:42 +#: searx/templates/simple/preferences.html:48 +msgid "What language do you prefer for search?" +msgstr "Bạn muốn tìm kiếm bằng ngôn ngữ nào?" + +#: searx/templates/oscar/preferences.html:48 +#: searx/templates/simple/preferences.html:128 +msgid "Change the language of the layout" +msgstr "Thay đổi ngôn ngữ giao diện" + +#: searx/templates/oscar/preferences.html:58 +#: searx/templates/simple/preferences.html:60 +msgid "Find stuff as you type" +msgstr "Tìm kiếm ngay khi gõ" + +#: searx/templates/oscar/preferences.html:69 +#: searx/templates/simple/preferences.html:173 +msgid "Proxying image results through searx" +msgstr "Proxy kết quả hình ảnh qua searx" + +#: searx/templates/oscar/preferences.html:78 +msgid "" +"Change how forms are submited, <a " +"href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\"" +" rel=\"external\">learn more about request methods</a>" +msgstr "Thay đổi cách thức các cụm từ tìm kiếm được gửi đi, <a href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\" rel=\"external\">tìm hiểu thêm về các phương thức tìm kiếm</a>" + +#: searx/templates/oscar/preferences.html:87 +#: searx/templates/simple/preferences.html:71 +msgid "Filter content" +msgstr "Lọc các nội dung" + +#: searx/templates/oscar/preferences.html:97 +#: searx/templates/simple/preferences.html:139 +msgid "Change searx layout" +msgstr "Thay đổi giao diện searx" + +#: searx/templates/oscar/preferences.html:106 +#: searx/templates/oscar/preferences.html:111 +msgid "Choose style for this theme" +msgstr "Chọn phong cách cho nền này" + +#: searx/templates/oscar/preferences.html:106 +#: searx/templates/oscar/preferences.html:111 +msgid "Style" +msgstr "Phong cách" + +#: searx/templates/oscar/preferences.html:122 +msgid "Open Access DOI resolver" +msgstr "Trình xử lý DOI Truy Cập Miễn Phí" + +#: searx/templates/oscar/preferences.html:123 +msgid "" +"Redirect to open-access versions of publications when available (plugin " +"required)" +msgstr "Chuyển hướng đến các phiên bản truy cập miễn phí của ấn phẩm khi có thể (yêu cầu phần mở rộng)" + +#: searx/templates/oscar/preferences.html:163 +#: searx/templates/oscar/preferences.html:175 +#: searx/templates/simple/preferences.html:88 +msgid "Shortcut" +msgstr "Lối tắt" + +#: searx/templates/oscar/preferences.html:164 +#: searx/templates/oscar/preferences.html:174 +msgid "Selected language" +msgstr "Ngôn ngữ được chọn" + +#: searx/templates/oscar/preferences.html:166 +#: searx/templates/oscar/preferences.html:172 +#: searx/templates/simple/preferences.html:91 +msgid "Time range" +msgstr "Khoảng thời gian" + +#: searx/templates/oscar/preferences.html:167 +#: searx/templates/oscar/preferences.html:171 +#: searx/templates/simple/preferences.html:92 +msgid "Avg. time" +msgstr "Thời gian trung bình" + +#: searx/templates/oscar/preferences.html:168 +#: searx/templates/oscar/preferences.html:170 +#: searx/templates/simple/preferences.html:93 +msgid "Max time" +msgstr "Thời gian tối đa" + +#: searx/templates/oscar/preferences.html:248 +msgid "This is the list of searx's instant answering modules." +msgstr "Đây là danh sách các module trả lời nhanh của searx" + +#: searx/templates/oscar/preferences.html:252 +msgid "Name" +msgstr "Tên" + +#: searx/templates/oscar/preferences.html:253 +msgid "Keywords" +msgstr "Các từ khoá" + +#: searx/templates/oscar/preferences.html:254 +msgid "Description" +msgstr "Mô tả" + +#: searx/templates/oscar/preferences.html:255 +msgid "Examples" +msgstr "Các ví dụ" + +#: searx/templates/oscar/preferences.html:275 +msgid "" +"This is the list of cookies and their values searx is storing on your " +"computer." +msgstr "Đây là danh sách các cookie và giá trị của chúng mà searx đang lưu trữ trên máy tính của bạn." + +#: searx/templates/oscar/preferences.html:276 +msgid "With that list, you can assess searx transparency." +msgstr "Với danh sách này, bạn có thể đánh giá tính minh bạch của searx." + +#: searx/templates/oscar/preferences.html:281 +msgid "Cookie name" +msgstr "Tên cookie" + +#: searx/templates/oscar/preferences.html:282 +msgid "Value" +msgstr "Giá trị" + +#: searx/templates/oscar/preferences.html:301 +msgid "Search URL of the currently saved preferences" +msgstr "URL tìm kiếm của tuỳ chỉnh được lưu hiện tại" + +#: searx/templates/oscar/preferences.html:301 +msgid "" +"Note: specifying custom settings in the search URL can reduce privacy by " +"leaking data to the clicked result sites." +msgstr "Ghi chú: việc định rõ cài đặt cá nhân trong URL tìm kiếm có thể làm suy giảm mức độ riêng tư vì nó chuyển dữ liệu đến các trang kết quả được nhấp chọn." + +#: searx/templates/oscar/results.html:17 +msgid "Search results" +msgstr "Kết quả tìm kiếm" + +#: searx/templates/oscar/results.html:21 +#: searx/templates/simple/results.html:84 +msgid "Try searching for:" +msgstr "Thử tìm kiếm:" + +#: searx/templates/oscar/results.html:100 +#: searx/templates/simple/results.html:25 +msgid "Engines cannot retrieve results" +msgstr "Các trình tìm kiếm không nhận được kết quả" + +#: searx/templates/oscar/results.html:131 +msgid "Links" +msgstr "Các liên kết" + +#: searx/templates/oscar/search.html:8 +#: searx/templates/oscar/search_full.html:11 +#: searx/templates/simple/search.html:5 +msgid "Start search" +msgstr "Bắt đầu tìm kiếm" + +#: searx/templates/oscar/stats.html:2 +msgid "stats" +msgstr "các thông số" + +#: searx/templates/oscar/time-range.html:3 +#: searx/templates/simple/time-range.html:3 +msgid "Anytime" +msgstr "Bất kỳ lúc nào" + +#: searx/templates/oscar/time-range.html:6 +#: searx/templates/simple/time-range.html:6 +msgid "Last day" +msgstr "Hôm trước" + +#: searx/templates/oscar/time-range.html:9 +#: searx/templates/simple/time-range.html:9 +msgid "Last week" +msgstr "Tuần trước" + +#: searx/templates/oscar/time-range.html:12 +#: searx/templates/simple/time-range.html:12 +msgid "Last month" +msgstr "Tháng trước" + +#: searx/templates/oscar/time-range.html:15 +#: searx/templates/simple/time-range.html:15 +msgid "Last year" +msgstr "Năm ngoái" + +#: searx/templates/oscar/messages/first_time.html:6 +#: searx/templates/oscar/messages/no_data_available.html:3 +msgid "Heads up!" +msgstr "Cẩn thận!" + +#: searx/templates/oscar/messages/first_time.html:7 +msgid "It look like you are using searx first time." +msgstr "Có vẻ như bạn mới sử dụng searx lần đầu." + +#: searx/templates/oscar/messages/no_cookies.html:3 +msgid "Information!" +msgstr "Thông tin!" + +#: searx/templates/oscar/messages/no_cookies.html:4 +msgid "currently, there are no cookies defined." +msgstr "hiện tại không có cookie nào." + +#: searx/templates/oscar/messages/no_data_available.html:4 +msgid "There is currently no data available. " +msgstr "Hiện không có dữ liệu nào." + +#: searx/templates/oscar/messages/no_results.html:4 +#: searx/templates/simple/messages/no_results.html:4 +msgid "Engines cannot retrieve results." +msgstr "Các trình tìm kiếm không nhận được kết quả." + +#: searx/templates/oscar/messages/no_results.html:10 +#: searx/templates/simple/messages/no_results.html:10 +msgid "Please, try again later or find another searx instance." +msgstr "Xin thử lại lần nữa hoặc tìm một server searx khác" + +#: searx/templates/oscar/messages/no_results.html:14 +#: searx/templates/simple/messages/no_results.html:14 +msgid "Sorry!" +msgstr "Xin lỗi!" + +#: searx/templates/oscar/messages/no_results.html:15 +#: searx/templates/simple/messages/no_results.html:15 +msgid "" +"we didn't find any results. Please use another query or search in more " +"categories." +msgstr "chúng tôi không tìm thấy kết quả nào. Xin gõ cụm từ khác hoặc tìm kiếm trong nhiều danh mục hơn." + +#: searx/templates/oscar/messages/save_settings_successfull.html:7 +msgid "Well done!" +msgstr "Tốt lắm!" + +#: searx/templates/oscar/messages/save_settings_successfull.html:8 +msgid "Settings saved successfully." +msgstr "Lưu cài đặt thành công." + +#: searx/templates/oscar/messages/unknow_error.html:7 +msgid "Oh snap!" +msgstr "Quái quỷ thật!" + +#: searx/templates/oscar/messages/unknow_error.html:8 +msgid "Something went wrong." +msgstr "Đã có sự cố." + +#: searx/templates/oscar/result_templates/default.html:7 +#: searx/templates/simple/result_templates/default.html:6 +msgid "show media" +msgstr "hiện nội dung" + +#: searx/templates/oscar/result_templates/default.html:7 +#: searx/templates/simple/result_templates/default.html:6 +msgid "hide media" +msgstr "ẩn nội dung" + +#: searx/templates/oscar/result_templates/images.html:30 +msgid "Get image" +msgstr "Xem hình ảnh" + +#: searx/templates/oscar/result_templates/images.html:33 +msgid "View source" +msgstr "Xem nguồn" + +#: searx/templates/oscar/result_templates/map.html:7 +#: searx/templates/simple/result_templates/map.html:7 +msgid "show map" +msgstr "hiện bản đồ" + +#: searx/templates/oscar/result_templates/map.html:7 +#: searx/templates/simple/result_templates/map.html:7 +msgid "hide map" +msgstr "ẩn bản đồ" + +#: searx/templates/oscar/result_templates/map.html:11 +#: searx/templates/simple/result_templates/map.html:11 +msgid "show details" +msgstr "hiện chi tiết" + +#: searx/templates/oscar/result_templates/map.html:11 +#: searx/templates/simple/result_templates/map.html:11 +msgid "hide details" +msgstr "ẩn chi tiết" + +#: searx/templates/oscar/result_templates/torrent.html:7 +#: searx/templates/simple/result_templates/torrent.html:11 +msgid "Filesize" +msgstr "Kích thước tập tin" + +#: searx/templates/oscar/result_templates/torrent.html:9 +#: searx/templates/simple/result_templates/torrent.html:12 +msgid "Bytes" +msgstr "Byte" + +#: searx/templates/oscar/result_templates/torrent.html:10 +#: searx/templates/simple/result_templates/torrent.html:13 +msgid "kiB" +msgstr "kiB" + +#: searx/templates/oscar/result_templates/torrent.html:11 +#: searx/templates/simple/result_templates/torrent.html:14 +msgid "MiB" +msgstr "MiB" + +#: searx/templates/oscar/result_templates/torrent.html:12 +#: searx/templates/simple/result_templates/torrent.html:15 +msgid "GiB" +msgstr "GiB" + +#: searx/templates/oscar/result_templates/torrent.html:13 +#: searx/templates/simple/result_templates/torrent.html:16 +msgid "TiB" +msgstr "TiB" + +#: searx/templates/oscar/result_templates/torrent.html:15 +#: searx/templates/simple/result_templates/torrent.html:20 +msgid "Number of Files" +msgstr "Số lượng tập tin" + +#: searx/templates/oscar/result_templates/videos.html:7 +#: searx/templates/simple/result_templates/videos.html:6 +msgid "show video" +msgstr "hiện " + +#: searx/templates/oscar/result_templates/videos.html:7 +#: searx/templates/simple/result_templates/videos.html:6 +msgid "hide video" +msgstr "ẩn phim" + +#: searx/templates/pix-art/results.html:28 +msgid "Load more..." +msgstr "Tải thêm..." + +#: searx/templates/simple/base.html:31 +msgid "No item found" +msgstr "Không tìm thấy gì" + +#: searx/templates/simple/preferences.html:89 +msgid "Supports selected language" +msgstr "Có hỗ trợ ngôn ngữ được chọn" + +#: searx/templates/simple/preferences.html:118 +msgid "User interface" +msgstr "Giao diện người dùng" + +#: searx/templates/simple/preferences.html:154 +msgid "Privacy" +msgstr "Quyền riêng tư" diff --git a/searx/translations/zh_CN/LC_MESSAGES/messages.mo b/searx/translations/zh_CN/LC_MESSAGES/messages.mo index b094298fdb..c2006aca13 100644 Binary files a/searx/translations/zh_CN/LC_MESSAGES/messages.mo and b/searx/translations/zh_CN/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/zh_CN/LC_MESSAGES/messages.po b/searx/translations/zh_CN/LC_MESSAGES/messages.po index f7a7068eb6..78acb2d40b 100644 --- a/searx/translations/zh_CN/LC_MESSAGES/messages.po +++ b/searx/translations/zh_CN/LC_MESSAGES/messages.po @@ -3,15 +3,18 @@ # This file is distributed under the same license as the PROJECT project. # # Translators: +# Crystal RainSlide, 2018 +# Mingye Wang <arthur200126@gmail.com>, 2018 +# Sion Kazama, 2018 # wenke, 2015 -# wenke, 2015-2017 +# wenke, 2015-2018 msgid "" msgstr "" "Project-Id-Version: searx\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2017-11-01 21:31+0100\n" -"PO-Revision-Date: 2017-11-01 20:31+0000\n" -"Last-Translator: Adam Tauber <asciimoo@gmail.com>\n" +"PO-Revision-Date: 2018-12-10 08:32+0000\n" +"Last-Translator: Crystal RainSlide\n" "Language-Team: Chinese (China) (http://www.transifex.com/asciimoo/searx/language/zh_CN/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -58,7 +61,7 @@ msgstr "视频" #: searx/webapp.py:142 msgid "it" -msgstr "it" +msgstr "IT" #: searx/webapp.py:143 msgid "news" @@ -74,7 +77,7 @@ msgstr "学术" #: searx/webapp.py:399 searx/webapp.py:658 msgid "Invalid settings, please edit your preferences" -msgstr "无效的设置,请编辑你的首选项" +msgstr "设置无效,请编辑您的首选项" #: searx/webapp.py:415 msgid "Invalid settings" @@ -86,11 +89,11 @@ msgstr "搜索错误" #: searx/webapp.py:530 msgid "{minutes} minute(s) ago" -msgstr "{minutes}分钟之前" +msgstr "{minutes} 分钟前" #: searx/webapp.py:532 msgid "{hours} hour(s), {minutes} minute(s) ago" -msgstr "{hours}小时{minutes}分钟之前" +msgstr "{hours} 小时 {minutes} 分钟前" #: searx/answerers/random/answerer.py:53 msgid "Random value generator" @@ -106,7 +109,7 @@ msgstr "统计功能" #: searx/answerers/statistics/answerer.py:54 msgid "Compute {functions} of the arguments" -msgstr "计算 {functions}参数" +msgstr "计算 {functions} 参数" #: searx/engines/__init__.py:194 searx/engines/flycheck___init__.py:201 msgid "Engine time (sec)" @@ -114,7 +117,7 @@ msgstr "搜索引擎时间(秒)" #: searx/engines/__init__.py:198 searx/engines/flycheck___init__.py:205 msgid "Page loads (sec)" -msgstr "页面加载 (秒)" +msgstr "页面加载(秒)" #: searx/engines/__init__.py:202 searx/engines/flycheck___init__.py:209 #: searx/templates/oscar/results.html:95 @@ -128,7 +131,7 @@ msgstr "得分" #: searx/engines/__init__.py:210 searx/engines/flycheck___init__.py:217 msgid "Scores per result" -msgstr "每个结果等分" +msgstr "每个结果的分数" #: searx/engines/__init__.py:214 searx/engines/flycheck___init__.py:221 msgid "Errors" @@ -136,19 +139,19 @@ msgstr "错误" #: searx/engines/pdbe.py:87 msgid "{title}&nbsp;(OBSOLETE)" -msgstr "{title}&nbsp;(OBSOLETE)" +msgstr "{title}&nbsp;(过时)" #: searx/engines/pdbe.py:91 msgid "This entry has been superseded by" -msgstr "此条目已经被取代" +msgstr "此条目已被取代" #: searx/engines/pubmed.py:74 msgid "No abstract is available for this publication." -msgstr "" +msgstr "本出版物没有摘要。" #: searx/plugins/https_rewrite.py:32 msgid "Rewrite HTTP links to HTTPS if possible" -msgstr "尽可能重定向HTTP链接到HTTPS" +msgstr "将支持 HTTPS 的 HTTP 链接改为 HTTPS 链接" #: searx/plugins/infinite_scroll.py:3 msgid "Infinite scroll" @@ -160,13 +163,13 @@ msgstr "滚动到当前页面底部时自动加载下一页" #: searx/plugins/oa_doi_rewrite.py:9 msgid "Open Access DOI rewrite" -msgstr "" +msgstr "开放访问 DOI 重定向" #: searx/plugins/oa_doi_rewrite.py:10 msgid "" "Avoid paywalls by redirecting to open-access versions of publications when " "available" -msgstr "重定向到可浏览的文章来避免付费墙(如果可用)" +msgstr "尽量重定向到开放访问的文章以避免付费墙(如果可用)" #: searx/plugins/open_results_on_new_tab.py:18 #: searx/templates/oscar/preferences.html:114 @@ -178,7 +181,7 @@ msgstr "在新标签页打开搜索链接" msgid "" "Results are opened in the same window by default. This plugin overwrites the" " default behaviour to open links on new tabs/windows. (JavaScript required)" -msgstr "搜索结果默认在原窗口打开。这个插件使其在新标签页/窗口打开。(需要启用JavaScript )" +msgstr "搜索结果默认在原窗口打开。此插件能使其在新标签页或新窗口打开。(需启用 JavaScript)" #: searx/plugins/search_on_category_select.py:18 msgid "Search on category select" @@ -188,13 +191,13 @@ msgstr "搜索类别选择" msgid "" "Perform search immediately if a category selected. Disable to select " "multiple categories. (JavaScript required)" -msgstr "选中一个类别立即搜索。禁用可以选择多个类别搜索。(需要启用JavaScript )" +msgstr "选中一个类别后立即执行搜索。禁用后,可以选择多个类别一起搜索。(需启用 JavaScript)" #: searx/plugins/self_info.py:20 msgid "" "Displays your IP if the query is \"ip\" and your user agent if the query " "contains \"user agent\"." -msgstr "搜索“ip”显示你的ip以及搜索内容含有“user agent”显示你的user agent。" +msgstr "当您搜索「ip」时,这将会显示您的 IP 地址;同理,在搜索「user agent」时,将会显示您的 User Agent。" #: searx/plugins/tracker_url_remover.py:26 msgid "Tracker URL remover" @@ -206,13 +209,13 @@ msgstr "从返回的链接中移除跟踪参数" #: searx/plugins/vim_hotkeys.py:3 msgid "Vim-like hotkeys" -msgstr "类vim快捷键" +msgstr "Vim 式快捷键" #: searx/plugins/vim_hotkeys.py:4 msgid "" "Navigate search results with Vim-like hotkeys (JavaScript required). Press " "\"h\" key on main or result page to get help." -msgstr "使用类vim快捷键浏览搜索结果(JavaScript启用)。按“h”键获取帮助。" +msgstr "使用 Vim 式快捷键浏览搜索结果(需要 JavaScript)。在主页或结果页按“h”键获取帮助。" #: searx/templates/courgette/404.html:4 searx/templates/legacy/404.html:4 #: searx/templates/oscar/404.html:4 searx/templates/pix-art/404.html:4 @@ -225,7 +228,7 @@ msgstr "未找到网页" #: searx/templates/simple/404.html:6 #, python-format msgid "Go to %(search_page)s." -msgstr "返回%(search_page)s。" +msgstr "前往 %(search_page)s。" #: searx/templates/courgette/404.html:6 searx/templates/legacy/404.html:6 #: searx/templates/oscar/404.html:6 searx/templates/pix-art/404.html:6 @@ -342,7 +345,7 @@ msgstr "安全搜索" #: searx/templates/oscar/preferences.html:90 #: searx/templates/simple/preferences.html:66 msgid "Strict" -msgstr "严格模式" +msgstr "严格" #: searx/templates/courgette/preferences.html:67 #: searx/templates/legacy/preferences.html:68 @@ -356,7 +359,7 @@ msgstr "中等" #: searx/templates/oscar/preferences.html:92 #: searx/templates/simple/preferences.html:68 msgid "None" -msgstr "不过滤" +msgstr "无" #: searx/templates/courgette/preferences.html:73 #: searx/templates/legacy/preferences.html:74 @@ -444,7 +447,7 @@ msgstr "阻止" msgid "" "These settings are stored in your cookies, this allows us not to store this " "data about you." -msgstr "这些设置保存在你的cookie,我们将不能保存你的数据。" +msgstr "这些设置被存储在您的 cookie 中,这种保存设置的方式允许我们不存储您的设置数据。" #: searx/templates/courgette/preferences.html:124 #: searx/templates/legacy/preferences.html:121 @@ -454,7 +457,7 @@ msgstr "这些设置保存在你的cookie,我们将不能保存你的数据。 msgid "" "These cookies serve your sole convenience, we don't use these cookies to " "track you." -msgstr "这些cookie是为了让你更加方便,我们不会使用cookie追踪你。" +msgstr "这些 Cookie 信息可辅助您便捷地使用服务,我们不会利用这些信息来追踪您。" #: searx/templates/courgette/preferences.html:127 #: searx/templates/legacy/preferences.html:124 @@ -544,14 +547,14 @@ msgstr "原始上下文" #: searx/templates/oscar/result_templates/torrent.html:6 #: searx/templates/simple/result_templates/torrent.html:9 msgid "Seeder" -msgstr "Seeder" +msgstr "做种" #: searx/templates/courgette/result_templates/torrent.html:7 #: searx/templates/legacy/result_templates/torrent.html:11 #: searx/templates/oscar/result_templates/torrent.html:6 #: searx/templates/simple/result_templates/torrent.html:9 msgid "Leecher" -msgstr "Leecher" +msgstr "接收" #: searx/templates/courgette/result_templates/torrent.html:9 #: searx/templates/legacy/result_templates/torrent.html:9 @@ -570,7 +573,7 @@ msgstr "种子文件" #: searx/templates/legacy/categories.html:8 #: searx/templates/simple/categories.html:6 msgid "Click on the magnifier to perform search" -msgstr "点击放大镜开始搜索" +msgstr "点击放大镜按钮开始搜索" #: searx/templates/legacy/preferences.html:84 #: searx/templates/oscar/preferences.html:113 @@ -622,7 +625,7 @@ msgstr "技术支持来自" #: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 msgid "a privacy-respecting, hackable metasearch engine" -msgstr "一个尊重隐私,可再开发的元搜索引擎" +msgstr "一个尊重隐私、可再开发的元搜索引擎" #: searx/templates/oscar/macros.html:36 searx/templates/oscar/macros.html:50 #: searx/templates/simple/macros.html:43 @@ -662,12 +665,12 @@ msgstr "智能答复" #: searx/templates/oscar/preferences.html:17 #: searx/templates/oscar/preferences.html:272 msgid "Cookies" -msgstr "Cookie" +msgstr "Cookies" #: searx/templates/oscar/preferences.html:42 #: searx/templates/simple/preferences.html:48 msgid "What language do you prefer for search?" -msgstr "你搜索时更喜欢什么语言?" +msgstr "您更喜欢使用什么语言进行搜索?" #: searx/templates/oscar/preferences.html:48 #: searx/templates/simple/preferences.html:128 @@ -682,14 +685,14 @@ msgstr "自动补全搜索字词" #: searx/templates/oscar/preferences.html:69 #: searx/templates/simple/preferences.html:173 msgid "Proxying image results through searx" -msgstr "通过searx代理图片" +msgstr "通过 searx 代理图片结果" #: searx/templates/oscar/preferences.html:78 msgid "" "Change how forms are submited, <a " "href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\"" " rel=\"external\">learn more about request methods</a>" -msgstr "更改请求方法,<a href=\"http://zh.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\" rel=\"external\">深入了解请求方法</a>" +msgstr "更改提交表单时使用的请求方法,<a href=\"https://zh.wikipedia.org/wiki/%E8%B6%85%E6%96%87%E6%9C%AC%E4%BC%A0%E8%BE%93%E5%8D%8F%E8%AE%AE#%E8%AF%B7%E6%B1%82%E6%96%B9%E6%B3%95\" rel=\"external\">深入了解请求方法</a>" #: searx/templates/oscar/preferences.html:87 #: searx/templates/simple/preferences.html:71 @@ -699,12 +702,12 @@ msgstr "过滤内容" #: searx/templates/oscar/preferences.html:97 #: searx/templates/simple/preferences.html:139 msgid "Change searx layout" -msgstr "改变searx布局" +msgstr "改变 searx 布局" #: searx/templates/oscar/preferences.html:106 #: searx/templates/oscar/preferences.html:111 msgid "Choose style for this theme" -msgstr "选择这个主题的样式" +msgstr "选择此主题的样式" #: searx/templates/oscar/preferences.html:106 #: searx/templates/oscar/preferences.html:111 @@ -713,13 +716,13 @@ msgstr "样式" #: searx/templates/oscar/preferences.html:122 msgid "Open Access DOI resolver" -msgstr "" +msgstr "开放访问 DOI 解析器" #: searx/templates/oscar/preferences.html:123 msgid "" "Redirect to open-access versions of publications when available (plugin " "required)" -msgstr "" +msgstr "尽可能重定向到出版物的开放访问版本(需要插件)" #: searx/templates/oscar/preferences.html:163 #: searx/templates/oscar/preferences.html:175 @@ -752,7 +755,7 @@ msgstr "最大时间" #: searx/templates/oscar/preferences.html:248 msgid "This is the list of searx's instant answering modules." -msgstr "这是searx的即时回答模块。" +msgstr "这是 searx 的即时回答模块列表。" #: searx/templates/oscar/preferences.html:252 msgid "Name" @@ -768,21 +771,21 @@ msgstr "描述" #: searx/templates/oscar/preferences.html:255 msgid "Examples" -msgstr "例子" +msgstr "示例" #: searx/templates/oscar/preferences.html:275 msgid "" "This is the list of cookies and their values searx is storing on your " "computer." -msgstr "这里展示了searx保存在你的电脑上的cookie。" +msgstr "此列表展示了 searx 在您设备上存储的 cookie 信息。" #: searx/templates/oscar/preferences.html:276 msgid "With that list, you can assess searx transparency." -msgstr "有了这个列表,你可以评估searx透明度。" +msgstr "您可以基于此表格来评估 searx 的透明度。" #: searx/templates/oscar/preferences.html:281 msgid "Cookie name" -msgstr "cookie名称" +msgstr "Cookie 名称" #: searx/templates/oscar/preferences.html:282 msgid "Value" @@ -796,7 +799,7 @@ msgstr "当前保存选项的搜索链接" msgid "" "Note: specifying custom settings in the search URL can reduce privacy by " "leaking data to the clicked result sites." -msgstr "注意:在搜索链接中保存自定义设置会把数据泄露给点击的网站泄漏隐私。" +msgstr "注意:在搜索链接中保存自定义设置会把数据泄露给点击的结果网站,从而泄漏隐私。" #: searx/templates/oscar/results.html:17 msgid "Search results" @@ -810,7 +813,7 @@ msgstr "尝试搜索:" #: searx/templates/oscar/results.html:100 #: searx/templates/simple/results.html:25 msgid "Engines cannot retrieve results" -msgstr "引擎无法检索结果" +msgstr "引擎无法获取结果" #: searx/templates/oscar/results.html:131 msgid "Links" @@ -858,29 +861,29 @@ msgstr "小心!" #: searx/templates/oscar/messages/first_time.html:7 msgid "It look like you are using searx first time." -msgstr "看起来你是第一次使用searx。" +msgstr "看来这是您第一次使用 searx。" #: searx/templates/oscar/messages/no_cookies.html:3 msgid "Information!" -msgstr "信息!" +msgstr "注意!" #: searx/templates/oscar/messages/no_cookies.html:4 msgid "currently, there are no cookies defined." -msgstr "目前还未保存cookie。" +msgstr "目前,还没有任何信息被存储在 Cookie 中。" #: searx/templates/oscar/messages/no_data_available.html:4 msgid "There is currently no data available. " -msgstr "目前没有数据可用。" +msgstr "目前没有可用的数据。" #: searx/templates/oscar/messages/no_results.html:4 #: searx/templates/simple/messages/no_results.html:4 msgid "Engines cannot retrieve results." -msgstr "引擎无法检索结果。" +msgstr "引擎无法获取结果。" #: searx/templates/oscar/messages/no_results.html:10 #: searx/templates/simple/messages/no_results.html:10 msgid "Please, try again later or find another searx instance." -msgstr "请稍后再试或使用其他的searx实例。" +msgstr "请稍后再试,或寻找其它的 searx 实例替代。" #: searx/templates/oscar/messages/no_results.html:14 #: searx/templates/simple/messages/no_results.html:14 @@ -892,7 +895,7 @@ msgstr "抱歉!" msgid "" "we didn't find any results. Please use another query or search in more " "categories." -msgstr "我们没有找到任何结果。请换用其他词语或在更多类别中搜索。" +msgstr "我们没有找到任何结果。请使用其它关键词或在更多类别中搜索。" #: searx/templates/oscar/messages/save_settings_successfull.html:7 msgid "Well done!" @@ -961,22 +964,22 @@ msgstr "B" #: searx/templates/oscar/result_templates/torrent.html:10 #: searx/templates/simple/result_templates/torrent.html:13 msgid "kiB" -msgstr "KB" +msgstr "kiB" #: searx/templates/oscar/result_templates/torrent.html:11 #: searx/templates/simple/result_templates/torrent.html:14 msgid "MiB" -msgstr "MB" +msgstr "MiB" #: searx/templates/oscar/result_templates/torrent.html:12 #: searx/templates/simple/result_templates/torrent.html:15 msgid "GiB" -msgstr "GB" +msgstr "GiB" #: searx/templates/oscar/result_templates/torrent.html:13 #: searx/templates/simple/result_templates/torrent.html:16 msgid "TiB" -msgstr "TB" +msgstr "TiB" #: searx/templates/oscar/result_templates/torrent.html:15 #: searx/templates/simple/result_templates/torrent.html:20 @@ -995,7 +998,7 @@ msgstr "隐藏视频" #: searx/templates/pix-art/results.html:28 msgid "Load more..." -msgstr "载入更多..." +msgstr "载入更多……" #: searx/templates/simple/base.html:31 msgid "No item found" @@ -1003,7 +1006,7 @@ msgstr "未找到条目" #: searx/templates/simple/preferences.html:89 msgid "Supports selected language" -msgstr "是否支持选定的语言" +msgstr "支持选定的语言" #: searx/templates/simple/preferences.html:118 msgid "User interface" diff --git a/searx/translations/zh_Hant_TW/LC_MESSAGES/messages.mo b/searx/translations/zh_Hant_TW/LC_MESSAGES/messages.mo index b7e099977f..0b2a3c921c 100644 Binary files a/searx/translations/zh_Hant_TW/LC_MESSAGES/messages.mo and b/searx/translations/zh_Hant_TW/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/zh_TW/LC_MESSAGES/messages.mo b/searx/translations/zh_TW/LC_MESSAGES/messages.mo new file mode 100644 index 0000000000..b6d43e2a89 Binary files /dev/null and b/searx/translations/zh_TW/LC_MESSAGES/messages.mo differ diff --git a/searx/translations/zh_TW/LC_MESSAGES/messages.po b/searx/translations/zh_TW/LC_MESSAGES/messages.po new file mode 100644 index 0000000000..0a4796f97e --- /dev/null +++ b/searx/translations/zh_TW/LC_MESSAGES/messages.po @@ -0,0 +1,1015 @@ +# Translations template for PROJECT. +# Copyright (C) 2017 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# +# Translators: +# FIRST AUTHOR <EMAIL@ADDRESS>, 2016 +# Jeff Huang <s8321414@gmail.com>, 2017 +# Mingye Wang <arthur200126@gmail.com>, 2018 +msgid "" +msgstr "" +"Project-Id-Version: searx\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2017-11-01 21:31+0100\n" +"PO-Revision-Date: 2018-09-16 00:29+0000\n" +"Last-Translator: Mingye Wang <arthur200126@gmail.com>\n" +"Language-Team: Chinese (Taiwan) (http://www.transifex.com/asciimoo/searx/language/zh_TW/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.3.4\n" +"Language: zh_TW\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: searx/search.py:137 searx/search.py:182 +msgid "timeout" +msgstr "逾時" + +#: searx/search.py:144 +msgid "request exception" +msgstr "請求例外" + +#: searx/search.py:151 +msgid "unexpected crash" +msgstr "未預期的當機" + +#: searx/webapp.py:136 +msgid "files" +msgstr "檔案" + +#: searx/webapp.py:137 +msgid "general" +msgstr "一般" + +#: searx/webapp.py:138 +msgid "music" +msgstr "音樂" + +#: searx/webapp.py:139 +msgid "social media" +msgstr "社群媒體" + +#: searx/webapp.py:140 +msgid "images" +msgstr "圖片" + +#: searx/webapp.py:141 +msgid "videos" +msgstr "影片" + +#: searx/webapp.py:142 +msgid "it" +msgstr "IT" + +#: searx/webapp.py:143 +msgid "news" +msgstr "新聞" + +#: searx/webapp.py:144 +msgid "map" +msgstr "地圖" + +#: searx/webapp.py:145 +msgid "science" +msgstr "科學" + +#: searx/webapp.py:399 searx/webapp.py:658 +msgid "Invalid settings, please edit your preferences" +msgstr "無效的設定,請編輯您的偏好設定" + +#: searx/webapp.py:415 +msgid "Invalid settings" +msgstr "無效的設定" + +#: searx/webapp.py:449 searx/webapp.py:493 +msgid "search error" +msgstr "搜尋錯誤" + +#: searx/webapp.py:530 +msgid "{minutes} minute(s) ago" +msgstr "{minutes} 分鐘前" + +#: searx/webapp.py:532 +msgid "{hours} hour(s), {minutes} minute(s) ago" +msgstr "{hours} 小時 {minutes} 分鐘前" + +#: searx/answerers/random/answerer.py:53 +msgid "Random value generator" +msgstr "隨機數值產生器" + +#: searx/answerers/random/answerer.py:54 +msgid "Generate different random values" +msgstr "生成不同的隨機數值" + +#: searx/answerers/statistics/answerer.py:53 +msgid "Statistics functions" +msgstr "統計功能" + +#: searx/answerers/statistics/answerer.py:54 +msgid "Compute {functions} of the arguments" +msgstr "計算 {functions} 參數" + +#: searx/engines/__init__.py:194 searx/engines/flycheck___init__.py:201 +msgid "Engine time (sec)" +msgstr "引擎時間(秒)" + +#: searx/engines/__init__.py:198 searx/engines/flycheck___init__.py:205 +msgid "Page loads (sec)" +msgstr "頁面載入(秒)" + +#: searx/engines/__init__.py:202 searx/engines/flycheck___init__.py:209 +#: searx/templates/oscar/results.html:95 +#: searx/templates/simple/results.html:20 +msgid "Number of results" +msgstr "結果筆數" + +#: searx/engines/__init__.py:206 searx/engines/flycheck___init__.py:213 +msgid "Scores" +msgstr "分數" + +#: searx/engines/__init__.py:210 searx/engines/flycheck___init__.py:217 +msgid "Scores per result" +msgstr "每個結果的分數" + +#: searx/engines/__init__.py:214 searx/engines/flycheck___init__.py:221 +msgid "Errors" +msgstr "錯誤" + +#: searx/engines/pdbe.py:87 +msgid "{title}&nbsp;(OBSOLETE)" +msgstr "{title}&nbsp;(已過時)" + +#: searx/engines/pdbe.py:91 +msgid "This entry has been superseded by" +msgstr "此條目已被取代" + +#: searx/engines/pubmed.py:74 +msgid "No abstract is available for this publication." +msgstr "此出版品無可用摘要。" + +#: searx/plugins/https_rewrite.py:32 +msgid "Rewrite HTTP links to HTTPS if possible" +msgstr "可以的話將 HTTP 連結重寫為 HTTPS" + +#: searx/plugins/infinite_scroll.py:3 +msgid "Infinite scroll" +msgstr "無限捲動" + +#: searx/plugins/infinite_scroll.py:4 +msgid "Automatically load next page when scrolling to bottom of current page" +msgstr "當捲動至目前頁面的底部時自動載入下一頁" + +#: searx/plugins/oa_doi_rewrite.py:9 +msgid "Open Access DOI rewrite" +msgstr "開放存取 DOI 重寫" + +#: searx/plugins/oa_doi_rewrite.py:10 +msgid "" +"Avoid paywalls by redirecting to open-access versions of publications when " +"available" +msgstr "盡可能重新導向至出版品的開放存取版本,來避免付費牆" + +#: searx/plugins/open_results_on_new_tab.py:18 +#: searx/templates/oscar/preferences.html:114 +#: searx/templates/simple/preferences.html:149 +msgid "Open result links on new browser tabs" +msgstr "在新瀏覽器分頁中開啟結果連結" + +#: searx/plugins/open_results_on_new_tab.py:19 +msgid "" +"Results are opened in the same window by default. This plugin overwrites the" +" default behaviour to open links on new tabs/windows. (JavaScript required)" +msgstr "結果預設會在同一個視窗開啟。這個外掛程式會覆寫預設行為,會在新分頁/視窗中開啟連結。(需要 JavaScript)" + +#: searx/plugins/search_on_category_select.py:18 +msgid "Search on category select" +msgstr "類別選取搜尋" + +#: searx/plugins/search_on_category_select.py:19 +msgid "" +"Perform search immediately if a category selected. Disable to select " +"multiple categories. (JavaScript required)" +msgstr "若分類被選取時立刻執行搜尋。停用以選取多個分類。(需要 JavaScript)" + +#: searx/plugins/self_info.py:20 +msgid "" +"Displays your IP if the query is \"ip\" and your user agent if the query " +"contains \"user agent\"." +msgstr "若搜尋字串爲「ip」則顯示您的 IP,而若是「user agent」則顯示您的使用者代理字串。" + +#: searx/plugins/tracker_url_remover.py:26 +msgid "Tracker URL remover" +msgstr "追蹤器 URL 移除器" + +#: searx/plugins/tracker_url_remover.py:27 +msgid "Remove trackers arguments from the returned URL" +msgstr "從傳回的 URL 中移除追蹤器參數" + +#: searx/plugins/vim_hotkeys.py:3 +msgid "Vim-like hotkeys" +msgstr "類 Vim 快捷鍵" + +#: searx/plugins/vim_hotkeys.py:4 +msgid "" +"Navigate search results with Vim-like hotkeys (JavaScript required). Press " +"\"h\" key on main or result page to get help." +msgstr "以類 Vim 的快捷鍵導覽搜尋結果(需要 JavaScript)。在主頁面或結果頁面按「h」鍵以取得說明。" + +#: searx/templates/courgette/404.html:4 searx/templates/legacy/404.html:4 +#: searx/templates/oscar/404.html:4 searx/templates/pix-art/404.html:4 +#: searx/templates/simple/404.html:4 +msgid "Page not found" +msgstr "找不到頁面" + +#: searx/templates/courgette/404.html:6 searx/templates/legacy/404.html:6 +#: searx/templates/oscar/404.html:6 searx/templates/pix-art/404.html:6 +#: searx/templates/simple/404.html:6 +#, python-format +msgid "Go to %(search_page)s." +msgstr "到 %(search_page)s。" + +#: searx/templates/courgette/404.html:6 searx/templates/legacy/404.html:6 +#: searx/templates/oscar/404.html:6 searx/templates/pix-art/404.html:6 +#: searx/templates/simple/404.html:6 +msgid "search page" +msgstr "搜尋頁面" + +#: searx/templates/courgette/index.html:9 +#: searx/templates/courgette/index.html:13 +#: searx/templates/courgette/results.html:5 +#: searx/templates/legacy/index.html:8 searx/templates/legacy/index.html:12 +#: searx/templates/oscar/navbar.html:7 +#: searx/templates/oscar/preferences.html:3 +#: searx/templates/pix-art/index.html:8 +msgid "preferences" +msgstr "偏好設定" + +#: searx/templates/courgette/index.html:11 +#: searx/templates/legacy/index.html:10 searx/templates/oscar/about.html:2 +#: searx/templates/oscar/navbar.html:6 searx/templates/pix-art/index.html:7 +msgid "about" +msgstr "關於" + +#: searx/templates/courgette/preferences.html:5 +#: searx/templates/legacy/preferences.html:5 +#: searx/templates/oscar/preferences.html:8 +#: searx/templates/pix-art/preferences.html:5 +#: searx/templates/simple/preferences.html:26 +msgid "Preferences" +msgstr "偏好設定" + +#: searx/templates/courgette/preferences.html:9 +#: searx/templates/legacy/preferences.html:9 +#: searx/templates/oscar/preferences.html:33 +#: searx/templates/oscar/preferences.html:35 +#: searx/templates/simple/preferences.html:34 +msgid "Default categories" +msgstr "預設分類" + +#: searx/templates/courgette/preferences.html:13 +#: searx/templates/legacy/preferences.html:14 +#: searx/templates/oscar/preferences.html:41 +#: searx/templates/pix-art/preferences.html:9 +#: searx/templates/simple/preferences.html:39 +#: searx/templates/simple/preferences.html:163 +msgid "Search language" +msgstr "搜尋語言" + +#: searx/templates/courgette/preferences.html:16 +#: searx/templates/legacy/preferences.html:17 +#: searx/templates/oscar/languages.html:6 +#: searx/templates/pix-art/preferences.html:12 +#: searx/templates/simple/languages.html:2 +#: searx/templates/simple/preferences.html:42 +msgid "Default language" +msgstr "預設語言" + +#: searx/templates/courgette/preferences.html:24 +#: searx/templates/legacy/preferences.html:25 +#: searx/templates/oscar/preferences.html:47 +#: searx/templates/pix-art/preferences.html:20 +#: searx/templates/simple/preferences.html:120 +msgid "Interface language" +msgstr "介面語言" + +#: searx/templates/courgette/preferences.html:34 +#: searx/templates/legacy/preferences.html:35 +#: searx/templates/oscar/preferences.html:57 +#: searx/templates/simple/preferences.html:51 +msgid "Autocomplete" +msgstr "自動完成" + +#: searx/templates/courgette/preferences.html:45 +#: searx/templates/legacy/preferences.html:46 +#: searx/templates/oscar/preferences.html:68 +#: searx/templates/simple/preferences.html:166 +msgid "Image proxy" +msgstr "圖片代理伺服器" + +#: searx/templates/courgette/preferences.html:48 +#: searx/templates/legacy/preferences.html:49 +#: searx/templates/oscar/preferences.html:72 +#: searx/templates/simple/preferences.html:169 +msgid "Enabled" +msgstr "已啟用" + +#: searx/templates/courgette/preferences.html:49 +#: searx/templates/legacy/preferences.html:50 +#: searx/templates/oscar/preferences.html:73 +#: searx/templates/simple/preferences.html:170 +msgid "Disabled" +msgstr "已停用" + +#: searx/templates/courgette/preferences.html:54 +#: searx/templates/legacy/preferences.html:55 +#: searx/templates/oscar/preferences.html:77 +#: searx/templates/pix-art/preferences.html:30 +#: searx/templates/simple/preferences.html:156 +msgid "Method" +msgstr "方法" + +#: searx/templates/courgette/preferences.html:63 +#: searx/templates/legacy/preferences.html:64 +#: searx/templates/oscar/preferences.html:86 +#: searx/templates/oscar/preferences.html:165 +#: searx/templates/oscar/preferences.html:173 +#: searx/templates/simple/preferences.html:63 +#: searx/templates/simple/preferences.html:90 +msgid "SafeSearch" +msgstr "安全搜尋" + +#: searx/templates/courgette/preferences.html:66 +#: searx/templates/legacy/preferences.html:67 +#: searx/templates/oscar/preferences.html:90 +#: searx/templates/simple/preferences.html:66 +msgid "Strict" +msgstr "嚴格" + +#: searx/templates/courgette/preferences.html:67 +#: searx/templates/legacy/preferences.html:68 +#: searx/templates/oscar/preferences.html:91 +#: searx/templates/simple/preferences.html:67 +msgid "Moderate" +msgstr "適中" + +#: searx/templates/courgette/preferences.html:68 +#: searx/templates/legacy/preferences.html:69 +#: searx/templates/oscar/preferences.html:92 +#: searx/templates/simple/preferences.html:68 +msgid "None" +msgstr "無" + +#: searx/templates/courgette/preferences.html:73 +#: searx/templates/legacy/preferences.html:74 +#: searx/templates/oscar/preferences.html:96 +#: searx/templates/pix-art/preferences.html:39 +#: searx/templates/simple/preferences.html:131 +msgid "Themes" +msgstr "佈景主題" + +#: searx/templates/courgette/preferences.html:83 +msgid "Color" +msgstr "顏色" + +#: searx/templates/courgette/preferences.html:86 +msgid "Blue (default)" +msgstr "藍色(預設值)" + +#: searx/templates/courgette/preferences.html:87 +msgid "Violet" +msgstr "紫色" + +#: searx/templates/courgette/preferences.html:88 +msgid "Green" +msgstr "綠色" + +#: searx/templates/courgette/preferences.html:89 +msgid "Cyan" +msgstr "青色" + +#: searx/templates/courgette/preferences.html:90 +msgid "Orange" +msgstr "橘色" + +#: searx/templates/courgette/preferences.html:91 +msgid "Red" +msgstr "紅色" + +#: searx/templates/courgette/preferences.html:96 +#: searx/templates/legacy/preferences.html:93 +#: searx/templates/pix-art/preferences.html:49 +#: searx/templates/simple/preferences.html:77 +msgid "Currently used search engines" +msgstr "目前使用的搜尋引擎" + +#: searx/templates/courgette/preferences.html:100 +#: searx/templates/legacy/preferences.html:97 +#: searx/templates/oscar/preferences.html:162 +#: searx/templates/oscar/preferences.html:176 +#: searx/templates/pix-art/preferences.html:53 +#: searx/templates/simple/preferences.html:87 +msgid "Engine name" +msgstr "引擎名稱" + +#: searx/templates/courgette/preferences.html:101 +#: searx/templates/legacy/preferences.html:98 +msgid "Category" +msgstr "分類" + +#: searx/templates/courgette/preferences.html:102 +#: searx/templates/courgette/preferences.html:113 +#: searx/templates/legacy/preferences.html:99 +#: searx/templates/legacy/preferences.html:110 +#: searx/templates/oscar/preferences.html:161 +#: searx/templates/oscar/preferences.html:177 +#: searx/templates/pix-art/preferences.html:54 +#: searx/templates/pix-art/preferences.html:64 +#: searx/templates/simple/preferences.html:86 +msgid "Allow" +msgstr "允許" + +#: searx/templates/courgette/preferences.html:102 +#: searx/templates/courgette/preferences.html:114 +#: searx/templates/legacy/preferences.html:99 +#: searx/templates/legacy/preferences.html:111 +#: searx/templates/pix-art/preferences.html:54 +#: searx/templates/pix-art/preferences.html:65 +msgid "Block" +msgstr "封鎖" + +#: searx/templates/courgette/preferences.html:122 +#: searx/templates/legacy/preferences.html:119 +#: searx/templates/oscar/preferences.html:297 +#: searx/templates/pix-art/preferences.html:73 +#: searx/templates/simple/preferences.html:180 +msgid "" +"These settings are stored in your cookies, this allows us not to store this " +"data about you." +msgstr "這些設定只會儲存在您的 cookies 中,這樣我們無需也不會存儲關於您的資訊。" + +#: searx/templates/courgette/preferences.html:124 +#: searx/templates/legacy/preferences.html:121 +#: searx/templates/oscar/preferences.html:299 +#: searx/templates/pix-art/preferences.html:75 +#: searx/templates/simple/preferences.html:182 +msgid "" +"These cookies serve your sole convenience, we don't use these cookies to " +"track you." +msgstr "這些 cookies 僅做為提供您方便之用,我們不會使用這些 cookies 來追蹤您。" + +#: searx/templates/courgette/preferences.html:127 +#: searx/templates/legacy/preferences.html:124 +#: searx/templates/oscar/preferences.html:305 +#: searx/templates/pix-art/preferences.html:78 +#: searx/templates/simple/preferences.html:185 +msgid "save" +msgstr "儲存" + +#: searx/templates/courgette/preferences.html:128 +#: searx/templates/legacy/preferences.html:125 +#: searx/templates/oscar/preferences.html:307 +#: searx/templates/simple/preferences.html:186 +msgid "Reset defaults" +msgstr "重設為預設值" + +#: searx/templates/courgette/preferences.html:129 +#: searx/templates/legacy/preferences.html:126 +#: searx/templates/oscar/preferences.html:306 +#: searx/templates/pix-art/preferences.html:79 +#: searx/templates/simple/preferences.html:187 +msgid "back" +msgstr "返回" + +#: searx/templates/courgette/results.html:12 +#: searx/templates/legacy/results.html:13 +#: searx/templates/oscar/results.html:136 +#: searx/templates/simple/results.html:58 +msgid "Search URL" +msgstr "搜尋網址" + +#: searx/templates/courgette/results.html:16 +#: searx/templates/legacy/results.html:17 +#: searx/templates/oscar/results.html:141 +#: searx/templates/simple/results.html:62 +msgid "Download results" +msgstr "下載結果" + +#: searx/templates/courgette/results.html:34 +#: searx/templates/legacy/results.html:35 +#: searx/templates/simple/results.html:10 +msgid "Answers" +msgstr "答案" + +#: searx/templates/courgette/results.html:42 +#: searx/templates/legacy/results.html:43 +#: searx/templates/oscar/results.html:116 +#: searx/templates/simple/results.html:42 +msgid "Suggestions" +msgstr "建議" + +#: searx/templates/courgette/results.html:70 +#: searx/templates/legacy/results.html:81 +#: searx/templates/oscar/results.html:68 searx/templates/oscar/results.html:78 +#: searx/templates/simple/results.html:130 +msgid "previous page" +msgstr "上一頁" + +#: searx/templates/courgette/results.html:81 +#: searx/templates/legacy/results.html:92 +#: searx/templates/oscar/results.html:62 searx/templates/oscar/results.html:84 +#: searx/templates/simple/results.html:145 +msgid "next page" +msgstr "下一頁" + +#: searx/templates/courgette/search.html:3 +#: searx/templates/legacy/search.html:3 searx/templates/oscar/search.html:6 +#: searx/templates/oscar/search_full.html:9 +#: searx/templates/pix-art/search.html:3 searx/templates/simple/search.html:4 +msgid "Search for..." +msgstr "搜尋……" + +#: searx/templates/courgette/stats.html:4 searx/templates/legacy/stats.html:4 +#: searx/templates/oscar/stats.html:5 searx/templates/pix-art/stats.html:4 +#: searx/templates/simple/stats.html:7 +msgid "Engine stats" +msgstr "引擎統計" + +#: searx/templates/courgette/result_templates/images.html:4 +#: searx/templates/legacy/result_templates/images.html:4 +#: searx/templates/pix-art/result_templates/images.html:4 +msgid "original context" +msgstr "原始內容" + +#: searx/templates/courgette/result_templates/torrent.html:7 +#: searx/templates/legacy/result_templates/torrent.html:11 +#: searx/templates/oscar/result_templates/torrent.html:6 +#: searx/templates/simple/result_templates/torrent.html:9 +msgid "Seeder" +msgstr "播種者" + +#: searx/templates/courgette/result_templates/torrent.html:7 +#: searx/templates/legacy/result_templates/torrent.html:11 +#: searx/templates/oscar/result_templates/torrent.html:6 +#: searx/templates/simple/result_templates/torrent.html:9 +msgid "Leecher" +msgstr "接收者" + +#: searx/templates/courgette/result_templates/torrent.html:9 +#: searx/templates/legacy/result_templates/torrent.html:9 +#: searx/templates/oscar/macros.html:23 +#: searx/templates/simple/result_templates/torrent.html:6 +msgid "magnet link" +msgstr "磁力連結" + +#: searx/templates/courgette/result_templates/torrent.html:10 +#: searx/templates/legacy/result_templates/torrent.html:10 +#: searx/templates/oscar/macros.html:24 +#: searx/templates/simple/result_templates/torrent.html:7 +msgid "torrent file" +msgstr "torrent 檔案" + +#: searx/templates/legacy/categories.html:8 +#: searx/templates/simple/categories.html:6 +msgid "Click on the magnifier to perform search" +msgstr "在磁鐵上點選以執行搜尋" + +#: searx/templates/legacy/preferences.html:84 +#: searx/templates/oscar/preferences.html:113 +#: searx/templates/simple/preferences.html:142 +msgid "Results on new tabs" +msgstr "在新分頁開啟結果" + +#: searx/templates/legacy/preferences.html:87 +#: searx/templates/oscar/preferences.html:117 +#: searx/templates/simple/preferences.html:145 +msgid "On" +msgstr "開啟" + +#: searx/templates/legacy/preferences.html:88 +#: searx/templates/oscar/preferences.html:118 +#: searx/templates/simple/preferences.html:146 +msgid "Off" +msgstr "關閉" + +#: searx/templates/legacy/result_templates/code.html:3 +#: searx/templates/legacy/result_templates/default.html:3 +#: searx/templates/legacy/result_templates/map.html:9 +#: searx/templates/oscar/macros.html:34 searx/templates/oscar/macros.html:48 +#: searx/templates/simple/macros.html:43 +msgid "cached" +msgstr "已快取" + +#: searx/templates/oscar/advanced.html:4 +msgid "Advanced settings" +msgstr "進階設定" + +#: searx/templates/oscar/base.html:62 +#: searx/templates/oscar/messages/first_time.html:4 +#: searx/templates/oscar/messages/save_settings_successfull.html:5 +#: searx/templates/oscar/messages/unknow_error.html:5 +msgid "Close" +msgstr "關閉" + +#: searx/templates/oscar/base.html:64 +#: searx/templates/oscar/messages/no_results.html:4 +#: searx/templates/simple/messages/no_results.html:4 +#: searx/templates/simple/results.html:25 +msgid "Error!" +msgstr "錯誤!" + +#: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 +msgid "Powered by" +msgstr "技術支援" + +#: searx/templates/oscar/base.html:90 searx/templates/simple/base.html:55 +msgid "a privacy-respecting, hackable metasearch engine" +msgstr "一個尊重隱私,可再開發的集合式搜尋引擎" + +#: searx/templates/oscar/macros.html:36 searx/templates/oscar/macros.html:50 +#: searx/templates/simple/macros.html:43 +msgid "proxied" +msgstr "已代理" + +#: searx/templates/oscar/macros.html:92 +msgid "supported" +msgstr "支援" + +#: searx/templates/oscar/macros.html:96 +msgid "not supported" +msgstr "不支援" + +#: searx/templates/oscar/preferences.html:13 +#: searx/templates/oscar/preferences.html:22 +#: searx/templates/simple/preferences.html:32 +msgid "General" +msgstr "一般" + +#: searx/templates/oscar/preferences.html:14 +#: searx/templates/oscar/preferences.html:146 +#: searx/templates/simple/preferences.html:76 +msgid "Engines" +msgstr "引擎" + +#: searx/templates/oscar/preferences.html:15 +#: searx/templates/oscar/preferences.html:219 +msgid "Plugins" +msgstr "外掛程式" + +#: searx/templates/oscar/preferences.html:16 +#: searx/templates/oscar/preferences.html:245 +msgid "Answerers" +msgstr "答案" + +#: searx/templates/oscar/preferences.html:17 +#: searx/templates/oscar/preferences.html:272 +msgid "Cookies" +msgstr "Cookies" + +#: searx/templates/oscar/preferences.html:42 +#: searx/templates/simple/preferences.html:48 +msgid "What language do you prefer for search?" +msgstr "您偏好用哪種語言搜尋?" + +#: searx/templates/oscar/preferences.html:48 +#: searx/templates/simple/preferences.html:128 +msgid "Change the language of the layout" +msgstr "變更佈局的語言" + +#: searx/templates/oscar/preferences.html:58 +#: searx/templates/simple/preferences.html:60 +msgid "Find stuff as you type" +msgstr "隨打即找" + +#: searx/templates/oscar/preferences.html:69 +#: searx/templates/simple/preferences.html:173 +msgid "Proxying image results through searx" +msgstr "透過 searx 代理圖片結果" + +#: searx/templates/oscar/preferences.html:78 +msgid "" +"Change how forms are submited, <a " +"href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\"" +" rel=\"external\">learn more about request methods</a>" +msgstr "變更遞交形式,<a href=\"https://zh.wikipedia.org/wiki/%E8%B6%85%E6%96%87%E6%9C%AC%E4%BC%A0%E8%BE%93%E5%8D%8F%E8%AE%AE#%E8%AF%B7%E6%B1%82%E6%96%B9%E6%B3%95\" rel=\"external\">看看更多關於請求方法的介紹</a>" + +#: searx/templates/oscar/preferences.html:87 +#: searx/templates/simple/preferences.html:71 +msgid "Filter content" +msgstr "過濾內容" + +#: searx/templates/oscar/preferences.html:97 +#: searx/templates/simple/preferences.html:139 +msgid "Change searx layout" +msgstr "變更 searx 佈局" + +#: searx/templates/oscar/preferences.html:106 +#: searx/templates/oscar/preferences.html:111 +msgid "Choose style for this theme" +msgstr "選擇這個主題的樣式" + +#: searx/templates/oscar/preferences.html:106 +#: searx/templates/oscar/preferences.html:111 +msgid "Style" +msgstr "樣式" + +#: searx/templates/oscar/preferences.html:122 +msgid "Open Access DOI resolver" +msgstr "開放存取 DOI 解析器" + +#: searx/templates/oscar/preferences.html:123 +msgid "" +"Redirect to open-access versions of publications when available (plugin " +"required)" +msgstr "盡可能重新導向至出版品的開放存取版本(需要外掛程式)" + +#: searx/templates/oscar/preferences.html:163 +#: searx/templates/oscar/preferences.html:175 +#: searx/templates/simple/preferences.html:88 +msgid "Shortcut" +msgstr "快捷鍵" + +#: searx/templates/oscar/preferences.html:164 +#: searx/templates/oscar/preferences.html:174 +msgid "Selected language" +msgstr "已選取的語言" + +#: searx/templates/oscar/preferences.html:166 +#: searx/templates/oscar/preferences.html:172 +#: searx/templates/simple/preferences.html:91 +msgid "Time range" +msgstr "時間範圍" + +#: searx/templates/oscar/preferences.html:167 +#: searx/templates/oscar/preferences.html:171 +#: searx/templates/simple/preferences.html:92 +msgid "Avg. time" +msgstr "平均時間" + +#: searx/templates/oscar/preferences.html:168 +#: searx/templates/oscar/preferences.html:170 +#: searx/templates/simple/preferences.html:93 +msgid "Max time" +msgstr "最大時間" + +#: searx/templates/oscar/preferences.html:248 +msgid "This is the list of searx's instant answering modules." +msgstr "這是 searx 的即時回覆模組清單。" + +#: searx/templates/oscar/preferences.html:252 +msgid "Name" +msgstr "名稱" + +#: searx/templates/oscar/preferences.html:253 +msgid "Keywords" +msgstr "關鍵字" + +#: searx/templates/oscar/preferences.html:254 +msgid "Description" +msgstr "描述" + +#: searx/templates/oscar/preferences.html:255 +msgid "Examples" +msgstr "範例" + +#: searx/templates/oscar/preferences.html:275 +msgid "" +"This is the list of cookies and their values searx is storing on your " +"computer." +msgstr "這是 searx 儲存在您電腦上的 cookies 與它們的值的清單。" + +#: searx/templates/oscar/preferences.html:276 +msgid "With that list, you can assess searx transparency." +msgstr "有了這份清單,您就可以評估 searx 的透明度。" + +#: searx/templates/oscar/preferences.html:281 +msgid "Cookie name" +msgstr "Cookie 名稱" + +#: searx/templates/oscar/preferences.html:282 +msgid "Value" +msgstr "值" + +#: searx/templates/oscar/preferences.html:301 +msgid "Search URL of the currently saved preferences" +msgstr "目前偏好設定的搜尋 URL" + +#: searx/templates/oscar/preferences.html:301 +msgid "" +"Note: specifying custom settings in the search URL can reduce privacy by " +"leaking data to the clicked result sites." +msgstr "注意:在搜尋 URL 中指定自訂的設定可能會降低隱私,因為會洩漏資料給點選的結果頁面。" + +#: searx/templates/oscar/results.html:17 +msgid "Search results" +msgstr "搜尋結果" + +#: searx/templates/oscar/results.html:21 +#: searx/templates/simple/results.html:84 +msgid "Try searching for:" +msgstr "嘗試搜尋:" + +#: searx/templates/oscar/results.html:100 +#: searx/templates/simple/results.html:25 +msgid "Engines cannot retrieve results" +msgstr "引擎無法擷取結果" + +#: searx/templates/oscar/results.html:131 +msgid "Links" +msgstr "連結" + +#: searx/templates/oscar/search.html:8 +#: searx/templates/oscar/search_full.html:11 +#: searx/templates/simple/search.html:5 +msgid "Start search" +msgstr "開始搜尋" + +#: searx/templates/oscar/stats.html:2 +msgid "stats" +msgstr "統計" + +#: searx/templates/oscar/time-range.html:3 +#: searx/templates/simple/time-range.html:3 +msgid "Anytime" +msgstr "任何時間" + +#: searx/templates/oscar/time-range.html:6 +#: searx/templates/simple/time-range.html:6 +msgid "Last day" +msgstr "一天內" + +#: searx/templates/oscar/time-range.html:9 +#: searx/templates/simple/time-range.html:9 +msgid "Last week" +msgstr "一週內" + +#: searx/templates/oscar/time-range.html:12 +#: searx/templates/simple/time-range.html:12 +msgid "Last month" +msgstr "一個月內" + +#: searx/templates/oscar/time-range.html:15 +#: searx/templates/simple/time-range.html:15 +msgid "Last year" +msgstr "一年內" + +#: searx/templates/oscar/messages/first_time.html:6 +#: searx/templates/oscar/messages/no_data_available.html:3 +msgid "Heads up!" +msgstr "注意!" + +#: searx/templates/oscar/messages/first_time.html:7 +msgid "It look like you are using searx first time." +msgstr "看起來您是第一次使用 searx。" + +#: searx/templates/oscar/messages/no_cookies.html:3 +msgid "Information!" +msgstr "資訊!" + +#: searx/templates/oscar/messages/no_cookies.html:4 +msgid "currently, there are no cookies defined." +msgstr "目前未有已定義的 cookies。" + +#: searx/templates/oscar/messages/no_data_available.html:4 +msgid "There is currently no data available. " +msgstr "目前無可用資料。" + +#: searx/templates/oscar/messages/no_results.html:4 +#: searx/templates/simple/messages/no_results.html:4 +msgid "Engines cannot retrieve results." +msgstr "引擎無法擷取結果。" + +#: searx/templates/oscar/messages/no_results.html:10 +#: searx/templates/simple/messages/no_results.html:10 +msgid "Please, try again later or find another searx instance." +msgstr "請再試一次或是使用其他 searx 實體搜尋。" + +#: searx/templates/oscar/messages/no_results.html:14 +#: searx/templates/simple/messages/no_results.html:14 +msgid "Sorry!" +msgstr "抱歉!" + +#: searx/templates/oscar/messages/no_results.html:15 +#: searx/templates/simple/messages/no_results.html:15 +msgid "" +"we didn't find any results. Please use another query or search in more " +"categories." +msgstr "我們找不到任何結果。請使用其他搜尋方式或在更多分類中搜尋。" + +#: searx/templates/oscar/messages/save_settings_successfull.html:7 +msgid "Well done!" +msgstr "很好!" + +#: searx/templates/oscar/messages/save_settings_successfull.html:8 +msgid "Settings saved successfully." +msgstr "設定成功儲存。" + +#: searx/templates/oscar/messages/unknow_error.html:7 +msgid "Oh snap!" +msgstr "糟糕!" + +#: searx/templates/oscar/messages/unknow_error.html:8 +msgid "Something went wrong." +msgstr "發生了一點問題。" + +#: searx/templates/oscar/result_templates/default.html:7 +#: searx/templates/simple/result_templates/default.html:6 +msgid "show media" +msgstr "顯示媒體" + +#: searx/templates/oscar/result_templates/default.html:7 +#: searx/templates/simple/result_templates/default.html:6 +msgid "hide media" +msgstr "隱藏媒體" + +#: searx/templates/oscar/result_templates/images.html:30 +msgid "Get image" +msgstr "取得圖片" + +#: searx/templates/oscar/result_templates/images.html:33 +msgid "View source" +msgstr "檢視來源" + +#: searx/templates/oscar/result_templates/map.html:7 +#: searx/templates/simple/result_templates/map.html:7 +msgid "show map" +msgstr "顯示地圖" + +#: searx/templates/oscar/result_templates/map.html:7 +#: searx/templates/simple/result_templates/map.html:7 +msgid "hide map" +msgstr "隱藏地圖" + +#: searx/templates/oscar/result_templates/map.html:11 +#: searx/templates/simple/result_templates/map.html:11 +msgid "show details" +msgstr "顯示詳情" + +#: searx/templates/oscar/result_templates/map.html:11 +#: searx/templates/simple/result_templates/map.html:11 +msgid "hide details" +msgstr "隱藏詳情" + +#: searx/templates/oscar/result_templates/torrent.html:7 +#: searx/templates/simple/result_templates/torrent.html:11 +msgid "Filesize" +msgstr "檔案大小" + +#: searx/templates/oscar/result_templates/torrent.html:9 +#: searx/templates/simple/result_templates/torrent.html:12 +msgid "Bytes" +msgstr "位元組" + +#: searx/templates/oscar/result_templates/torrent.html:10 +#: searx/templates/simple/result_templates/torrent.html:13 +msgid "kiB" +msgstr "kiB" + +#: searx/templates/oscar/result_templates/torrent.html:11 +#: searx/templates/simple/result_templates/torrent.html:14 +msgid "MiB" +msgstr "MiB" + +#: searx/templates/oscar/result_templates/torrent.html:12 +#: searx/templates/simple/result_templates/torrent.html:15 +msgid "GiB" +msgstr "GiB" + +#: searx/templates/oscar/result_templates/torrent.html:13 +#: searx/templates/simple/result_templates/torrent.html:16 +msgid "TiB" +msgstr "TiB" + +#: searx/templates/oscar/result_templates/torrent.html:15 +#: searx/templates/simple/result_templates/torrent.html:20 +msgid "Number of Files" +msgstr "檔案數量" + +#: searx/templates/oscar/result_templates/videos.html:7 +#: searx/templates/simple/result_templates/videos.html:6 +msgid "show video" +msgstr "顯示影片" + +#: searx/templates/oscar/result_templates/videos.html:7 +#: searx/templates/simple/result_templates/videos.html:6 +msgid "hide video" +msgstr "隱藏影片" + +#: searx/templates/pix-art/results.html:28 +msgid "Load more..." +msgstr "載入更多……" + +#: searx/templates/simple/base.html:31 +msgid "No item found" +msgstr "找不到項目" + +#: searx/templates/simple/preferences.html:89 +msgid "Supports selected language" +msgstr "支援選定的語言" + +#: searx/templates/simple/preferences.html:118 +msgid "User interface" +msgstr "使用者介面" + +#: searx/templates/simple/preferences.html:154 +msgid "Privacy" +msgstr "隱私" diff --git a/searx/version.py b/searx/version.py index 11dfb1eeff..4e149722e5 100644 --- a/searx/version.py +++ b/searx/version.py @@ -18,7 +18,7 @@ # version of searx VERSION_MAJOR = 0 -VERSION_MINOR = 14 +VERSION_MINOR = 15 VERSION_BUILD = 0 VERSION_STRING = "{0}.{1}.{2}".format(VERSION_MAJOR,
UTNkar__moore-554
Fix cookies for Utnarm Utnarm recently switched to utnarm.se instead of utnarm.utn.se. This lead to that you can’t sign in to utnarm.se. Per default, moore uses utn.se as cookie domain and since utnarm.se is a different top level domain the cookies can’t be used. We need to dynamically add utnarm.se as a cookie domain. This python package might be useful https://github.com/ViktorStiskala/django-shared-session
[ { "content": "\"\"\"\nDjango settings for the production environment of Project Moore.\n\nFor more information regarding running in production see,\nSee https://docs.djangoproject.com/en/1.10/howto/deployment/checklist/\n\nFor more information on this file, see\nhttps://docs.djangoproject.com/en/1.10/topics/set...
[ { "content": "\"\"\"\nDjango settings for the production environment of Project Moore.\n\nFor more information regarding running in production see,\nSee https://docs.djangoproject.com/en/1.10/howto/deployment/checklist/\n\nFor more information on this file, see\nhttps://docs.djangoproject.com/en/1.10/topics/set...
diff --git a/src/moore/settings/production.py b/src/moore/settings/production.py index 9fca8dec..4dd269e0 100644 --- a/src/moore/settings/production.py +++ b/src/moore/settings/production.py @@ -106,8 +106,6 @@ CSRF_COOKIE_SECURE = True -SESSION_COOKIE_DOMAIN = '.utn.se' - SESSION_COOKIE_SECURE = True MELOS_URL = os.environ.get('MELOS_URL')
chainer__chainer-1568
Inconsistency between cupy.dstack and numpy.dstack ``` In [10]: import cupy, numpy In [11]: a = cupy.arange(24).reshape(2, 3, 4) In [12]: numpy.dstack((a.get(),)) Out[12]: array([[[ 0, 1, 2, 3], [ 4, 5, 6, 7], [ 8, 9, 10, 11]], [[12, 13, 14, 15], [16, 17, 18, 19], [20, 21, 22, 23]]]) In [13]: cupy.dstack((a,)) --------------------------------------------------------------------------- IndexError Traceback (most recent call last) <ipython-input-13-aa573685da21> in <module>() ----> 1 cupy.dstack((a,)) /home/delta/dev/chainer/cupy/manipulation/join.py in dstack(tup) 101 102 """ --> 103 return concatenate(cupy.atleast_3d(*tup), 2) 104 105 /home/delta/dev/chainer/cupy/manipulation/join.py in concatenate(tup, axis) 59 ndim = a.ndim 60 shape = list(a.shape) ---> 61 axis = _get_positive_axis(a.ndim, axis) 62 continue 63 /home/delta/dev/chainer/cupy/manipulation/join.py in _get_positive_axis(ndim, axis) 167 a += ndim 168 if a < 0 or a >= ndim: --> 169 raise IndexError('axis {} out of bounds [0, {})'.format(axis, ndim)) 170 return a IndexError: axis 2 out of bounds [0, 2) ```
[ { "content": "import numpy\nimport six\n\nimport cupy\n\n\ndef column_stack(tup):\n \"\"\"Stacks 1-D and 2-D arrays as columns into a 2-D array.\n\n A 1-D array is first converted to a 2-D column array. Then, the 2-D arrays\n are concatenated along the second axis.\n\n Args:\n tup (sequence o...
[ { "content": "import numpy\nimport six\n\nimport cupy\n\n\ndef column_stack(tup):\n \"\"\"Stacks 1-D and 2-D arrays as columns into a 2-D array.\n\n A 1-D array is first converted to a 2-D column array. Then, the 2-D arrays\n are concatenated along the second axis.\n\n Args:\n tup (sequence o...
diff --git a/cupy/manipulation/join.py b/cupy/manipulation/join.py index 14165a8ff2f0..6e077d78221b 100644 --- a/cupy/manipulation/join.py +++ b/cupy/manipulation/join.py @@ -100,7 +100,7 @@ def dstack(tup): .. seealso:: :func:`numpy.dstack` """ - return concatenate(cupy.atleast_3d(*tup), 2) + return concatenate([cupy.atleast_3d(m) for m in tup], 2) def hstack(tup): diff --git a/tests/cupy_tests/manipulation_tests/test_join.py b/tests/cupy_tests/manipulation_tests/test_join.py index 949ea1406001..e37ab83b5405 100644 --- a/tests/cupy_tests/manipulation_tests/test_join.py +++ b/tests/cupy_tests/manipulation_tests/test_join.py @@ -73,6 +73,21 @@ def test_dstack(self, xp): c = testing.shaped_arange((1, 3), xp) return xp.dstack((a, b, c)) + @testing.numpy_cupy_array_equal() + def test_dstack_single_element(self, xp): + a = testing.shaped_arange((1, 2, 3), xp) + return xp.dstack((a,)) + + @testing.numpy_cupy_array_equal() + def test_dstack_single_element_2(self, xp): + a = testing.shaped_arange((1, 2), xp) + return xp.dstack((a,)) + + @testing.numpy_cupy_array_equal() + def test_dstack_single_element_3(self, xp): + a = testing.shaped_arange((1,), xp) + return xp.dstack((a,)) + @testing.numpy_cupy_array_equal() def test_hstack_vectors(self, xp): a = xp.arange(3)
talonhub__community-740
auto_insert is documented to call auto_format I understand if you want to override `auto_insert` too because you're adjusting the cursor position afterwards, but the general intention is for `auto_format` to do text formatting I think the dictation `auto_insert()` implementation should potentially first `text = auto_format(text)` (which is the identity function by default) as per the docstring: ``` auto_insert(text: str) Insert text at the current cursor position, automatically formatting it using actions.auto_format(text) ``` https://github.com/knausj85/knausj_talon/blob/master/code/dictation.py#L401
[ { "content": "# Descended from https://github.com/dwiel/talon_community/blob/master/misc/dictation.py\nfrom talon import Module, Context, ui, actions, clip, app, grammar\nfrom typing import Optional, Tuple, Literal, Callable\nimport re\n\nmod = Module()\n\nsetting_context_sensitive_dictation = mod.setting(\n ...
[ { "content": "# Descended from https://github.com/dwiel/talon_community/blob/master/misc/dictation.py\nfrom talon import Module, Context, ui, actions, clip, app, grammar\nfrom typing import Optional, Tuple, Literal, Callable\nimport re\n\nmod = Module()\n\nsetting_context_sensitive_dictation = mod.setting(\n ...
diff --git a/code/dictation.py b/code/dictation.py index c0229af1ac..d25fb9c506 100644 --- a/code/dictation.py +++ b/code/dictation.py @@ -398,4 +398,5 @@ def dictation_peek_right() -> Optional[str]: @dictation_ctx.action_class("main") class main_action: - def auto_insert(text): actions.user.dictation_insert(text) + def auto_insert(text): + actions.user.dictation_insert(actions.auto_format(text))
mlflow__mlflow-4368
Make mlflow compatible with protobuf 3.6.1 ## What changes are proposed in this pull request? Make mlflow compatible with protobuf 3.6.1: for protobuf ==3.6.1 Add EnumTypeWrapper.__getattr__ to access values ## How is this patch tested? N/A ## Release Notes ### Is this a user-facing change? - [x] No. You can skip the rest of this section. - [ ] Yes. Give a description of this change to be included in the release notes for MLflow users. (Details in 1-2 sentences. You can just refer to another PR with a description if this PR is part of a larger change.) ### What component(s), interfaces, languages, and integrations does this PR affect? Components - [ ] `area/artifacts`: Artifact stores and artifact logging - [ ] `area/build`: Build and test infrastructure for MLflow - [ ] `area/docs`: MLflow documentation pages - [ ] `area/examples`: Example code - [ ] `area/model-registry`: Model Registry service, APIs, and the fluent client calls for Model Registry - [ ] `area/models`: MLmodel format, model serialization/deserialization, flavors - [ ] `area/projects`: MLproject format, project running backends - [ ] `area/scoring`: Local serving, model deployment tools, spark UDFs - [ ] `area/server-infra`: MLflow server, JavaScript dev server - [x] `area/tracking`: Tracking Service, tracking client APIs, autologging Interface - [ ] `area/uiux`: Front-end, user experience, JavaScript, plotting - [ ] `area/docker`: Docker use across MLflow's components, such as MLflow Projects and MLflow Models - [ ] `area/sqlalchemy`: Use of SQLAlchemy in the Tracking Service or Model Registry - [ ] `area/windows`: Windows support Language - [ ] `language/r`: R APIs and clients - [ ] `language/java`: Java APIs and clients - [ ] `language/new`: Proposals for new client languages Integrations - [ ] `integrations/azure`: Azure and Azure ML integrations - [ ] `integrations/sagemaker`: SageMaker integrations - [ ] `integrations/databricks`: Databricks integrations <!-- Insert an empty named anchor here to allow jumping to this section with a fragment URL (e.g. https://github.com/mlflow/mlflow/pull/123#user-content-release-note-category). Note that GitHub prefixes anchor names in markdown with "user-content-". --> <a name="release-note-category"></a> ### How should the PR be classified in the release notes? Choose one: - [ ] `rn/breaking-change` - The PR will be mentioned in the "Breaking Changes" section - [x] `rn/none` - No description will be included. The PR will be mentioned only by the PR number in the "Small Bugfixes and Documentation Updates" section - [ ] `rn/feature` - A new user-facing feature worth mentioning in the release notes - [ ] `rn/bug-fix` - A user-facing bug fix worth mentioning in the release notes - [ ] `rn/documentation` - A user-facing documentation change worth mentioning in the release notes
[ { "content": "import os\nimport logging\n\nfrom importlib.machinery import SourceFileLoader\nfrom setuptools import setup, find_packages\n\n_MLFLOW_SKINNY_ENV_VAR = \"MLFLOW_SKINNY\"\n\nversion = (\n SourceFileLoader(\"mlflow.version\", os.path.join(\"mlflow\", \"version.py\")).load_module().VERSION\n)\n\n\n...
[ { "content": "import os\nimport logging\n\nfrom importlib.machinery import SourceFileLoader\nfrom setuptools import setup, find_packages\n\n_MLFLOW_SKINNY_ENV_VAR = \"MLFLOW_SKINNY\"\n\nversion = (\n SourceFileLoader(\"mlflow.version\", os.path.join(\"mlflow\", \"version.py\")).load_module().VERSION\n)\n\n\n...
diff --git a/setup.py b/setup.py index 1a98478b5e3d4..186d2f67fbf30 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ def package_files(directory): "entrypoints", "gitpython>=2.1.0", "pyyaml", - "protobuf>=3.6.0", + "protobuf>=3.7.0", "pytz", "requests>=2.17.3", "packaging",
google__turbinia-616
Add retries to tox Tox fails when trying to check links within our docs if the link is temporarily down/unresponsive. Adding retries to sphinx config should take care of that.
[ { "content": "# Configuration file for the Sphinx documentation builder.\n#\n# This file only contains a selection of the most common options. For a full\n# list see the documentation:\n# https://www.sphinx-doc.org/en/master/usage/configuration.html\n\n# -- Path setup -------------------------------------------...
[ { "content": "# Configuration file for the Sphinx documentation builder.\n#\n# This file only contains a selection of the most common options. For a full\n# list see the documentation:\n# https://www.sphinx-doc.org/en/master/usage/configuration.html\n\n# -- Path setup -------------------------------------------...
diff --git a/docs/conf.py b/docs/conf.py index 68dbdd555..a0c2084bb 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -76,6 +76,8 @@ ] } +# Adding retries to linkchecks before declaring a link broken +linkcheck_retries = 3 # Output file base name for HTML help builder. htmlhelp_basename = 'turbiniadoc'
getmoto__moto-1992
Replace pyaml dependency with PyYAML There is a dependency on pyaml in setup.py: https://github.com/spulec/moto/blob/master/setup.py#L18 I think that this is intended to be PyYAML (which pyaml depends on), and I do not see any usages of pyaml itself in this codebase. pyaml uses WTFPL (https://github.com/mk-fg/pretty-yaml/blob/master/COPYING) which is not approved by the OSI (https://opensource.org/minutes20090304)
[ { "content": "#!/usr/bin/env python\nfrom __future__ import unicode_literals\nimport setuptools\nfrom setuptools import setup, find_packages\nimport sys\n\n\ninstall_requires = [\n \"Jinja2>=2.7.3\",\n \"boto>=2.36.0\",\n \"boto3>=1.6.16\",\n \"botocore>=1.12.13\",\n \"cryptography>=2.3.0\",\n ...
[ { "content": "#!/usr/bin/env python\nfrom __future__ import unicode_literals\nimport setuptools\nfrom setuptools import setup, find_packages\nimport sys\n\n\ninstall_requires = [\n \"Jinja2>=2.7.3\",\n \"boto>=2.36.0\",\n \"boto3>=1.6.16\",\n \"botocore>=1.12.13\",\n \"cryptography>=2.3.0\",\n ...
diff --git a/setup.py b/setup.py index a1b8c5daecbe..0598d7a10aa7 100755 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ "xmltodict", "six>1.9", "werkzeug", - "pyaml", + "PyYAML", "pytz", "python-dateutil<3.0.0,>=2.1", "python-jose<3.0.0",
Nitrate__Nitrate-527
Remove dependency mock Use `unittest.mock` instead.
[ { "content": "# -*- coding: utf-8 -*-\n\nfrom setuptools import setup, find_packages\n\n\nwith open('VERSION.txt', 'r') as f:\n pkg_version = f.read().strip()\n\n\ndef get_long_description():\n with open('README.rst', 'r') as f:\n return f.read()\n\n\ninstall_requires = [\n 'beautifulsoup4 >= 4....
[ { "content": "# -*- coding: utf-8 -*-\n\nfrom setuptools import setup, find_packages\n\n\nwith open('VERSION.txt', 'r') as f:\n pkg_version = f.read().strip()\n\n\ndef get_long_description():\n with open('README.rst', 'r') as f:\n return f.read()\n\n\ninstall_requires = [\n 'beautifulsoup4 >= 4....
diff --git a/setup.py b/setup.py index 80906912..f0b2be6b 100644 --- a/setup.py +++ b/setup.py @@ -46,7 +46,6 @@ def get_long_description(): 'coverage', 'factory_boy', 'flake8', - 'mock', 'pytest', 'pytest-cov', 'pytest-django', diff --git a/src/tests/core/test_commands.py b/src/tests/core/test_commands.py index a375629c..b2a83775 100644 --- a/src/tests/core/test_commands.py +++ b/src/tests/core/test_commands.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from django.contrib.auth.models import Group -from mock import patch +from unittest.mock import patch from django import test from django.core.management import call_command diff --git a/src/tests/core/test_core.py b/src/tests/core/test_core.py index 96388ed9..194a1ac9 100644 --- a/src/tests/core/test_core.py +++ b/src/tests/core/test_core.py @@ -2,8 +2,7 @@ import sys import unittest -from mock import patch -from mock import Mock +from unittest.mock import patch, Mock from django import test from django.conf import settings diff --git a/src/tests/core/test_files.py b/src/tests/core/test_files.py index 62e0aa46..0a449f4b 100644 --- a/src/tests/core/test_files.py +++ b/src/tests/core/test_files.py @@ -11,7 +11,7 @@ from django.test import RequestFactory from django.urls import reverse from django.conf import settings -from mock import patch +from unittest.mock import patch from tcms.core.files import able_to_delete_attachment from tcms.management.models import TestAttachment diff --git a/src/tests/issuetracker/test_services.py b/src/tests/issuetracker/test_services.py index 408000b4..f8f5716e 100644 --- a/src/tests/issuetracker/test_services.py +++ b/src/tests/issuetracker/test_services.py @@ -3,7 +3,7 @@ import unittest from django import test -from mock import Mock +from unittest.mock import Mock from tcms.issuetracker import services from tcms.issuetracker.services import IssueTrackerService diff --git a/src/tests/issuetracker/test_task.py b/src/tests/issuetracker/test_task.py index e8f8b3f5..8e4fb306 100644 --- a/src/tests/issuetracker/test_task.py +++ b/src/tests/issuetracker/test_task.py @@ -2,7 +2,7 @@ import unittest -from mock import patch, Mock +from unittest.mock import patch, Mock from tcms.issuetracker.task import bugzilla_external_track diff --git a/src/tests/test_auth.py b/src/tests/test_auth.py index 1806ae05..5810c48b 100644 --- a/src/tests/test_auth.py +++ b/src/tests/test_auth.py @@ -3,7 +3,7 @@ import datetime from hashlib import sha1 -from mock import patch +from unittest.mock import patch from django.conf import settings from django.contrib.auth.models import User diff --git a/src/tests/testcases/test_models.py b/src/tests/testcases/test_models.py index b1f25852..0814583b 100644 --- a/src/tests/testcases/test_models.py +++ b/src/tests/testcases/test_models.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from datetime import timedelta -from mock import patch +from unittest.mock import patch from django.contrib.auth.models import User from django.core import mail diff --git a/src/tests/testcases/test_views.py b/src/tests/testcases/test_views.py index 7b58d714..fd8caedf 100644 --- a/src/tests/testcases/test_views.py +++ b/src/tests/testcases/test_views.py @@ -7,8 +7,7 @@ from bs4 import BeautifulSoup from datetime import datetime, timedelta from operator import attrgetter, itemgetter - -import mock +from unittest.mock import patch from django import test from django.contrib.auth.models import User @@ -62,13 +61,13 @@ def test_get_plan_id_from_post_request(self): pk = plan_from_request_or_none(request, pk_enough=True) self.assertEqual(1, pk) - @mock.patch('tcms.testcases.views.get_object_or_404') + @patch('tcms.testcases.views.get_object_or_404') def test_get_plan_object_from_get_request(self, get_object_or_404): request = self.factory.get('/uri', data={'from_plan': 1}) plan = plan_from_request_or_none(request) self.assertEqual(get_object_or_404.return_value, plan) - @mock.patch('tcms.testcases.views.get_object_or_404') + @patch('tcms.testcases.views.get_object_or_404') def test_get_plan_object_from_post_request(self, get_object_or_404): request = self.factory.post('/uri', data={'from_plan': 1}) plan = plan_from_request_or_none(request) @@ -84,14 +83,14 @@ def test_missing_plan_id_in_post_request(self): plan = plan_from_request_or_none(request) self.assertIsNone(plan) - @mock.patch('tcms.testcases.views.get_object_or_404') + @patch('tcms.testcases.views.get_object_or_404') def test_nonexisting_plan_id_from_get_request(self, get_object_or_404): get_object_or_404.side_effect = Http404 request = self.factory.get('/uri', data={'from_plan': 1}) self.assertRaises(Http404, plan_from_request_or_none, request) - @mock.patch('tcms.testcases.views.get_object_or_404') + @patch('tcms.testcases.views.get_object_or_404') def test_nonexisting_plan_id_from_post_request(self, get_object_or_404): get_object_or_404.side_effect = Http404 @@ -352,7 +351,7 @@ def test_fail_to_remove_if_component_not_exist(self): data = json.loads(resp.content) self.assertIn('Cannot remove component', data['response']) - @mock.patch('tcms.testcases.models.TestCase.remove_component') + @patch('tcms.testcases.models.TestCase.remove_component') def test_case_remove_component_fails(self, remove_component): remove_component.side_effect = Exception @@ -682,8 +681,8 @@ def test_remove_tags_from_cases(self): TestCaseTag.objects.filter( case=self.case_3.pk, tag=self.tag_python.pk).exists()) - @mock.patch('tcms.testcases.models.TestCase.remove_tag', - side_effect=ValueError('value error')) + @patch('tcms.testcases.models.TestCase.remove_tag', + side_effect=ValueError('value error')) def test_ensure_response_if_error_happens_when_remove_tag(self, remove_tag): # This test does not care about what tags are removed from which cases response = self.client.post( @@ -1535,7 +1534,7 @@ def test_create_new_plan_case_rel_sort_key_for_link(self): orig_plan=self.orphan_plan, copy_case=False) - @mock.patch('tcms.testplans.models.TestPlan.get_case_sortkey') + @patch('tcms.testplans.models.TestPlan.get_case_sortkey') def test_clone_to_same_plan(self, get_case_sortkey): # Make it easier to assert the new sort key. get_case_sortkey.return_value = 100 @@ -1783,7 +1782,7 @@ def test_invalid_arguments(self): data = json.loads(resp.content) self.assertIn('Cannot add component', data['response']) - @mock.patch('tcms.testcases.models.TestCase.add_component') + @patch('tcms.testcases.models.TestCase.add_component') def test_failed_to_add_component(self, add_component): add_component.side_effect = ValueError @@ -1933,7 +1932,7 @@ def test_invalid_input_for_adding_an_issue(self): ['Invalid issue tracker that does not exist.'], error_messages) - @mock.patch('tcms.testcases.models.TestCase.add_issue') + @patch('tcms.testcases.models.TestCase.add_issue') def test_fail_if_case_add_issue_fails(self, add_issue): add_issue.side_effect = Exception('Something wrong') @@ -2437,14 +2436,14 @@ def setUpTestData(cls): cls.case_run_1.notes = 'Some notes' cls.case_run_1.save() - with mock.patch('django.utils.timezone.now') as mock_now: + with patch('django.utils.timezone.now') as mock_now: cls.submit_date = datetime(2020, 1, 22, 19, 47, 30) mock_now.return_value = cls.submit_date add_comment( cls.tester, 'testruns.testcaserun', [cls.case_run_1.pk], 'first comment') - with mock.patch('django.utils.timezone.now') as mock_now: + with patch('django.utils.timezone.now') as mock_now: cls.submit_date_later = cls.submit_date + timedelta(minutes=10) mock_now.return_value = cls.submit_date_later add_comment( diff --git a/src/tests/testplans/test_forms.py b/src/tests/testplans/test_forms.py index e16cb49d..996df0cd 100644 --- a/src/tests/testplans/test_forms.py +++ b/src/tests/testplans/test_forms.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- import unittest -from mock import Mock +from unittest.mock import Mock from tcms.testplans.forms import UploadedHTMLFile diff --git a/src/tests/testplans/test_models.py b/src/tests/testplans/test_models.py index 7f9e604f..2daec6a7 100644 --- a/src/tests/testplans/test_models.py +++ b/src/tests/testplans/test_models.py @@ -2,7 +2,7 @@ from django.conf import settings from django import test -from mock import patch +from unittest.mock import patch from tcms.testplans.helpers import email from tcms.testplans.models import _disconnect_signals, TestPlan diff --git a/src/tests/testruns/test_views.py b/src/tests/testruns/test_views.py index 48426be7..1a9d7329 100644 --- a/src/tests/testruns/test_views.py +++ b/src/tests/testruns/test_views.py @@ -7,7 +7,7 @@ from http import HTTPStatus from operator import attrgetter -from mock import patch +from unittest.mock import patch from xml.etree import ElementTree from django.db.models import Max diff --git a/src/tests/xmlrpc/test_testcase.py b/src/tests/xmlrpc/test_testcase.py index 7dfe0bfe..e4451228 100644 --- a/src/tests/xmlrpc/test_testcase.py +++ b/src/tests/xmlrpc/test_testcase.py @@ -7,7 +7,7 @@ from django_comments.models import Comment from django.db.models import Max, Min from django import test -from mock import patch, PropertyMock +from unittest.mock import patch, PropertyMock from tcms.core.utils import checksum from tcms.issuetracker.models import Issue diff --git a/src/tests/xmlrpc/test_user.py b/src/tests/xmlrpc/test_user.py index 09d16574..9a7b3332 100644 --- a/src/tests/xmlrpc/test_user.py +++ b/src/tests/xmlrpc/test_user.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from mock import patch +from unittest.mock import patch from django.contrib.auth.models import User from django.test import TestCase
flask-admin__flask-admin-1068
Tests failing due to new Pillow 3.0.0 Tests are currently failing when a tiff file (https://github.com/flask-admin/flask-admin/blob/master/flask_admin/tests/data/copyleft.jpg) is uploaded: ``` ====================================================================== FAIL: flask_admin.tests.test_form_upload.test_image_upload_field ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/home/travis/build/flask-admin/flask-admin/flask_admin/tests/test_form_upload.py", line 225, in test_image_upload_field ok_(my_form.validate()) AssertionError: None >> raise AssertionError(None) ``` The issue has to do with the new 3.0.0 version of Pillow. I started an issue for it here: https://github.com/python-pillow/Pillow/issues/1466 A temporary solution might be to lock Pillow to 2.9.0. I can submit a pull request if that's what we decide to do: https://github.com/flask-admin/flask-admin/compare/master...pawl:fix_pillow_build
[ { "content": "# Fix for older setuptools\nimport re\nimport os\n\nfrom setuptools import setup, find_packages\n\n\ndef fpath(name):\n return os.path.join(os.path.dirname(__file__), name)\n\n\ndef read(fname):\n return open(fpath(fname)).read()\n\n\ndef desc():\n info = read('README.rst')\n try:\n ...
[ { "content": "# Fix for older setuptools\nimport re\nimport os\n\nfrom setuptools import setup, find_packages\n\n\ndef fpath(name):\n return os.path.join(os.path.dirname(__file__), name)\n\n\ndef read(fname):\n return open(fpath(fname)).read()\n\n\ndef desc():\n info = read('README.rst')\n try:\n ...
diff --git a/examples/forms/requirements.txt b/examples/forms/requirements.txt index 1d4552c1d..3c503e3c4 100644 --- a/examples/forms/requirements.txt +++ b/examples/forms/requirements.txt @@ -1,4 +1,4 @@ Flask Flask-Admin Flask-SQLAlchemy -pillow \ No newline at end of file +pillow==2.9.0 diff --git a/requirements-dev.txt b/requirements-dev.txt index 7d96bdb70..a2435b77b 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -5,7 +5,7 @@ peewee wtf-peewee pymongo==2.8 flask-mongoengine -pillow +pillow==2.9.0 Babel<=1.3 flask-babelex shapely==1.5.9 diff --git a/setup.py b/setup.py index d46d6345e..b527c8dde 100644 --- a/setup.py +++ b/setup.py @@ -49,7 +49,7 @@ def grep(attrname): ], tests_require=[ 'nose>=1.0', - 'pillow', + 'pillow==2.9.0', 'mongoengine', 'pymongo', 'wtf-peewee',
google-research__t5x-475
Seg Fault after saving checkpoints Hi, I am getting a seg fault sometimes after the model has saved the checkpoint. It is not every checkpoint and seems to be random which checkpoints it crashes after. I am not sure if it is related to issue #340 For example, I am running `prompt_tuning/scripts/sst2-demo-xxl.sh`, and the output is below. ``` 317 18:14:56.525280 140415323761728 utils.py:138] Saved Numpy Arrays for step 1104000 to gs://nicl/checkpoint_models/sst/full_dataset/prompt-tuning/t5-11b/numpy_checkpoints/checkpoint_1104000 I0317 18:14:56.604028 140415323761728 checkpoints.py:600] Saving checkpoint for step 1104000 to gs://nicl/checkpoint_models/sst/full_dataset/prompt-tuning/t5-11b/checkpoint_1104000.tmp-1647540896 I0317 18:14:56.614308 140622481194048 checkpoints.py:600] Saving checkpoint for step 1104000 to gs://nicl/checkpoint_models/sst/full_dataset/prompt-tuning/t5-11b/checkpoint_1104000.tmp-1647540896 I0317 18:14:56.624289 140590966570048 checkpoints.py:600] Saving checkpoint for step 1104000 to gs://nicl/checkpoint_models/sst/full_dataset/prompt-tuning/t5-11b/checkpoint_1104000.tmp-1647540896 I0317 18:14:56.653718 140272509271104 checkpoints.py:600] Saving checkpoint for step 1104000 to gs://nicl/checkpoint_models/sst/full_dataset/prompt-tuning/t5-11b/checkpoint_1104000.tmp-1647540896 Fatal Python error: Segmentation fault Thread 0x00007fdb1dc01700 (most recent call first): File "/home/dptam/.local/lib/python3.8/site-packages/jax/interpreters/pxla.py", line 664 in _sda_value File "/home/dptam/.local/lib/python3.8/site-packages/jax/_src/device_array.py", line 266 in __array__ File "/home/dptam/.local/lib/python3.8/site-packages/t5x/checkpoints.py", line 447 in <lambda> File "/home/dptam/.local/lib/python3.8/site-packages/t5x/checkpoint_importer.py", line 84 in get File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57 in run File "/usr/lib/python3.8/concurrent/futures/thread.py", line 80 in _worker File "/usr/lib/python3.8/threading.py", line 870 in run File "/usr/lib/python3.8/threading.py", line 932 in _bootstrap_inner File "/usr/lib/python3.8/threading.py", line 890 in _bootstrap Thread 0x00007f56809df700 (most recent call first): File "/usr/lib/python3.8/concurrent/futures/thread.py", line 78 in _worker File "/usr/lib/python3.8/threading.py", line 870 in run File "/usr/lib/python3.8/threading.py", line 932 in _bootstrap_inner File "/usr/lib/python3.8/threading.py", line 890 in _bootstrap Thread 0x00007f56c7aad700 (most recent call first): File "/usr/lib/python3.8/concurrent/futures/thread.py", line 78 in _worker File "/usr/lib/python3.8/threading.py", line 870 in run File "/usr/lib/python3.8/threading.py", line 932 in _bootstrap_inner File "/usr/lib/python3.8/threading.py", line 890 in _bootstrap Thread 0x00007fdde29efc40 (most recent call first): File "/home/dptam/.local/lib/python3.8/site-packages/t5x/checkpoints.py", line 693 in _write_array https://symbolize.stripped_domain/r/?trace=7fdde2e4203b,7fdde2e420bf,e,5ef27540f,e,26f7c5aff,f,b15f59df&map= E0317 18:14:57.770066 341059 process_state.cc:1062] RAW: Signal 11 raised at PC: 0x7fdde2e4203b while already in FailureSignalHandler! E0317 18:14:57.770096 341059 process_state.cc:1065] RAW: tid: 341059 raised new signal @ 0xf 1440 (unknown) @ 0x25ed159b0 (unknown) (unknown) @ 0x10 76231216 (unknown) @ 0x261cdc840 (unknown) (unknown) @ 0x2dfdd4780 (unknown) (unknown) @ 0x5f1f8a120 (unknown) (unknown) https://symbolize.stripped_domain/r/?trace=7fdde301ffd3,7fddd98d57f9,7fdde2e420bf,7,e,25ed159af,f,261cdc83f,2dfdd477f,5f1f8a11f&map=7a511a57244151c993b16b37978e7ed7:7fddcaefd000-7fddd9c3fd50 E0317 18:14:57.818885 341068 coredump_hook.cc:365] RAW: Remote crash data gathering hook invoked. E0317 18:14:57.818900 341068 coredump_hook.cc:411] RAW: Skipping coredump since rlimit was 0 at process start. E0317 18:14:57.818919 341068 client.cc:221] RAW: Coroner client retries enabled (b/136286901), will retry for up to 30 sec. E0317 18:14:57.818922 341068 coredump_hook.cc:473] RAW: Sending fingerprint to remote end. E0317 18:14:57.818928 341068 coredump_socket.cc:124] RAW: Stat failed errno=2 on socket /var/google/services/logmanagerd/remote_coredump.socket E0317 18:14:57.818933 341068 coredump_hook.cc:477] RAW: Cannot send fingerprint to Coroner: [NOT_FOUND] Missing crash reporting socket. Is the listener running? E0317 18:14:57.818938 341068 coredump_hook.cc:550] RAW: Discarding core. prompt_tuning/scripts/sst2-demo-xxl.sh: line 37: 337643 Segmentation fault (core dumped) python3 -m t5x.train --gin_search_paths="${T5X_DIR},${FLAXFORMER_DIR},${PROMPT_DIR}" --gin_file="prompt_tuning/configs/models/t5_1_1_xxl_prompt.gin" --gin_file="prompt_tuning/configs/prompts/from_class_labels.gin" --gin_file="prompt_tuning/configs/runs/prompt_finetune.gin" --gin.CLASS_LABELS="['positive', 'negative']" --gin.MODEL_DIR="'${MODEL_DIR}'" --gin.MIXTURE_OR_TASK_NAME="'taskless_glue_sst2_v200_examples'" --gin.MIXTURE_OR_TASK_MODULE="'prompt_tuning.data.glue'" --gin.TASK_FEATURE_LENGTHS="{'inputs': 512, 'targets': 8}" --gin.INITIAL_CHECKPOINT_PATH="'${PRETRAINED_MODEL}'" --gin.TRAIN_STEPS="1_212_000" --gin.USE_CACHED_TASKS="False" --gin.BATCH_SIZE="16" --gin.partitioning.PjitPartitioner.model_parallel_submesh="(4, 4, 1, 2)" --tfds_data_dir=${TFDS_DATA_DIR} ##### Command execution on worker 3 failed with return code 139. Continuing. prompt_tuning/scripts/sst2-demo-xxl.sh: line 37: 334750 Aborted (core dumped) python3 -m t5x.train --gin_search_paths="${T5X_DIR},${FLAXFORMER_DIR},${PROMPT_DIR}" --gin_file="prompt_tuning/configs/models/t5_1_1_xxl_prompt.gin" --gin_file="prompt_tuning/configs/prompts/from_class_labels.gin" --gin_file="prompt_tuning/configs/runs/prompt_finetune.gin" --gin.CLASS_LABELS="['positive', 'negative']" --gin.MODEL_DIR="'${MODEL_DIR}'" --gin.MIXTURE_OR_TASK_NAME="'taskless_glue_sst2_v200_examples'" --gin.MIXTURE_OR_TASK_MODULE="'prompt_tuning.data.glue'" --gin.TASK_FEATURE_LENGTHS="{'inputs': 512, 'targets': 8}" --gin.INITIAL_CHECKPOINT_PATH="'${PRETRAINED_MODEL}'" --gin.TRAIN_STEPS="1_212_000" --gin.USE_CACHED_TASKS="False" --gin.BATCH_SIZE="16" --gin.partitioning.PjitPartitioner.model_parallel_submesh="(4, 4, 1, 2)" --tfds_data_dir=${TFDS_DATA_DIR} ##### Command execution on worker 1 failed with return code 134. Continuing. prompt_tuning/scripts/sst2-demo-xxl.sh: line 37: 335504 Aborted (core dumped) python3 -m t5x.train --gin_search_paths="${T5X_DIR},${FLAXFORMER_DIR},${PROMPT_DIR}" --gin_file="prompt_tuning/configs/models/t5_1_1_xxl_prompt.gin" --gin_file="prompt_tuning/configs/prompts/from_class_labels.gin" --gin_file="prompt_tuning/configs/runs/prompt_finetune.gin" --gin.CLASS_LABELS="['positive', 'negative']" --gin.MODEL_DIR="'${MODEL_DIR}'" --gin.MIXTURE_OR_TASK_NAME="'taskless_glue_sst2_v200_examples'" --gin.MIXTURE_OR_TASK_MODULE="'prompt_tuning.data.glue'" --gin.TASK_FEATURE_LENGTHS="{'inputs': 512, 'targets': 8}" --gin.INITIAL_CHECKPOINT_PATH="'${PRETRAINED_MODEL}'" --gin.TRAIN_STEPS="1_212_000" --gin.USE_CACHED_TASKS="False" --gin.BATCH_SIZE="16" --gin.partitioning.PjitPartitioner.model_parallel_submesh="(4, 4, 1, 2)" --tfds_data_dir=${TFDS_DATA_DIR} ##### Command execution on worker 0 failed with return code 134. Continuing. ``` Thanks
[ { "content": "# Copyright 2022 The T5X Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by app...
[ { "content": "# Copyright 2022 The T5X Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by app...
diff --git a/setup.py b/setup.py index d9dbe74ea..02f838b6a 100644 --- a/setup.py +++ b/setup.py @@ -58,7 +58,7 @@ 'seqio-nightly', 't5', 'tensorflow', - 'tensorstore', + 'tensorstore >= 0.1.20', ], extras_require={ 'gcp': [
pallets__werkzeug-2320
ProxyMiddleware encodes characters allowed in path We have a dollar sign in URL and proxy middleware converts it to `%24`. Unfortunately, for backend server url with `$` and url with `%24` are two different urls. It could be fixed by extending safe characters in middleware as it done in [url_fix](https://github.com/pallets/werkzeug/blob/9efe8c00dcb2b6fc086961ba304729db01912652/src/werkzeug/urls.py#L691) function, but it seems to me that the right way is to make the middleware to use `REQUEST_URI`/`RAW_URI` when possible. This way also can fix middleware for cases like the one described in https://github.com/pallets/werkzeug/issues/766. I can send PR, but since it will require some efforts on making `remove_prefix` option working correctly and to ensure backward compatibility for public method `proxy_to`, I'd like to discuss this solution first. If it can be accepted, then I proceed.
[ { "content": "\"\"\"Functions for working with URLs.\n\nContains implementations of functions from :mod:`urllib.parse` that\nhandle bytes and strings.\n\"\"\"\nimport codecs\nimport os\nimport re\nimport typing as t\n\nfrom ._internal import _check_str_tuple\nfrom ._internal import _decode_idna\nfrom ._internal...
[ { "content": "\"\"\"Functions for working with URLs.\n\nContains implementations of functions from :mod:`urllib.parse` that\nhandle bytes and strings.\n\"\"\"\nimport codecs\nimport os\nimport re\nimport typing as t\n\nfrom ._internal import _check_str_tuple\nfrom ._internal import _decode_idna\nfrom ._internal...
diff --git a/CHANGES.rst b/CHANGES.rst index 88bee32ea..661c3d38a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -63,6 +63,8 @@ Unreleased a list, to custom URL converters. :issue:`2249` - ``run_simple`` shows instructions for dealing with "address already in use" errors, including extra instructions for macOS. :pr:`2321` +- Extend list of characters considered always safe in URLs based on + :rfc:`3986`. :issue:`2319` Version 2.0.3 diff --git a/src/werkzeug/urls.py b/src/werkzeug/urls.py index 1cb9418d2..67c08b0bc 100644 --- a/src/werkzeug/urls.py +++ b/src/werkzeug/urls.py @@ -27,6 +27,7 @@ b"ABCDEFGHIJKLMNOPQRSTUVWXYZ" b"0123456789" b"-._~" + b"$!'()*+,;" # RFC3986 sub-delims set, not including query string delimiters &= ) ) diff --git a/tests/middleware/test_http_proxy.py b/tests/middleware/test_http_proxy.py index b39cd3517..2b3bc55bf 100644 --- a/tests/middleware/test_http_proxy.py +++ b/tests/middleware/test_http_proxy.py @@ -45,3 +45,7 @@ def test_http_proxy(standard_app): assert "HTTP_X_SPECIAL" not in r.json assert r.json["HTTP_HOST"] == "127.0.0.1" assert r.json["PATH_INFO"] == "/autohost/aha" + + # test if characters allowed in URL are not encoded by proxy + r = client.get("/autohost/$") + assert r.json["REQUEST_URI"] == "/autohost/$"
wright-group__WrightTools-640
CITATION text file not distributed
[ { "content": "#! /usr/bin/env python3\n\nimport os\nfrom setuptools import setup, find_packages\n\n\nhere = os.path.abspath(os.path.dirname(__file__))\n\n\ndef read(fname):\n return open(os.path.join(here, fname)).read()\n\n\nextra_files = {\n \"WrightTools\": [\n \"datasets\",\n \"datasets/...
[ { "content": "#! /usr/bin/env python3\n\nimport os\nfrom setuptools import setup, find_packages\n\n\nhere = os.path.abspath(os.path.dirname(__file__))\n\n\ndef read(fname):\n return open(os.path.join(here, fname)).read()\n\n\nextra_files = {\n \"WrightTools\": [\n \"datasets\",\n \"datasets/...
diff --git a/setup.py b/setup.py index d79eb6dfa..fa23eb776 100755 --- a/setup.py +++ b/setup.py @@ -18,6 +18,7 @@ def read(fname): "datasets/*/*", "datasets/*/*/*", "datasets/*/*/*/*", + "CITATION", "VERSION", "WT5_VERSION", ]
typeddjango__django-stubs-1782
Make mypy a soft dependency Given that there are several popular alternatives to mypy (e.g. pyright and pytype), mypy should be an optional dependency, installable with e.g. `django-stubs[mypy]`. I haven't tested it myself yet, but if `django-stubs` doesn't work with these "alternative" typecheckers, then I'd suggest that it should explicitly mentioned that this is a mypy-only stubs package.
[ { "content": "#!/usr/bin/env python\nimport os\nfrom typing import List\n\nfrom setuptools import find_packages, setup\n\n\ndef find_stub_files(name: str) -> List[str]:\n result = []\n for root, _dirs, files in os.walk(name):\n for file in files:\n if file.endswith(\".pyi\"):\n ...
[ { "content": "#!/usr/bin/env python\nimport os\nfrom typing import List\n\nfrom setuptools import find_packages, setup\n\n\ndef find_stub_files(name: str) -> List[str]:\n result = []\n for root, _dirs, files in os.walk(name):\n for file in files:\n if file.endswith(\".pyi\"):\n ...
diff --git a/setup.py b/setup.py index b5067b3fe..5973d2e63 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,6 @@ def find_stub_files(name: str) -> List[str]: readme = f.read() dependencies = [ - "mypy>=1.0.0", "django", "django-stubs-ext>=4.2.5", "tomli; python_version < '3.11'",
optuna__optuna-4965
Use `__future__.annotations` everywhere in the Optuna code base ### Motivation Optuna drops Python 3.6 from v3.1, so we can use `__future__.annotations`, which simplifies the code base. See [PEP 563](https://peps.python.org/pep-0563/), [PEP584](https://peps.python.org/pep-0584/), [PEP 585](https://peps.python.org/pep-0585/), and [PEP 604](https://peps.python.org/pep-0604/) for more details. This issue suggests to use the module and simplifies the code base. ### Suggestion Use `__future__.annotations` for each file and simplify the type annotations. The list of classes whose type annotations can be simplified is [here](https://peps.python.org/pep-0585/#implementation). The list of files where the `__future__.annotations` can be used is as follows. In order to reduce review costs and to encourage more contributors to work on it, please, as a rule, fix one file per PR. - [x] optuna/_convert_positional_args.py - [x] optuna/visualization/_optimization_history.py - [x] optuna/visualization/_hypervolume_history.py - [x] optuna/visualization/_edf.py - [x] optuna/visualization/_pareto_front.py - [x] optuna/visualization/matplotlib/_optimization_history.py - [x] optuna/visualization/matplotlib/_hypervolume_history.py - [x] optuna/visualization/matplotlib/_edf.py - [x] optuna/visualization/matplotlib/_pareto_front.py - [x] optuna/visualization/matplotlib/_contour.py - [x] optuna/visualization/_utils.py - [x] optuna/logging.py - [ ] optuna/storages/_base.py - [ ] optuna/storages/_cached_storage.py - [ ] optuna/storages/__init__.py - [ ] optuna/storages/_heartbeat.py - [ ] optuna/storages/_in_memory.py - [ ] optuna/storages/_rdb/models.py - [ ] optuna/storages/_rdb/storage.py - [ ] optuna/storages/_rdb/alembic/versions/v3.0.0.c.py - [ ] optuna/storages/_rdb/alembic/versions/v3.0.0.d.py - [ ] optuna/storages/_rdb/alembic/versions/v3.0.0.a.py - [ ] optuna/storages/_journal/file.py - [ ] optuna/storages/_journal/redis.py - [ ] optuna/storages/_journal/storage.py - [ ] optuna/storages/_journal/base.py - [ ] optuna/study/_dataframe.py - [ ] optuna/study/_optimize.py - [ ] optuna/study/_tell.py - [ ] optuna/study/_multi_objective.py - [ ] optuna/study/_frozen.py - [ ] optuna/study/study.py - [ ] optuna/study/_study_summary.py - [ ] optuna/search_space/group_decomposed.py - [ ] optuna/search_space/intersection.py - [ ] optuna/_typing.py - [ ] optuna/_deprecated.py - [ ] optuna/pruners/_hyperband.py - [ ] optuna/pruners/_patient.py - [ ] optuna/pruners/_successive_halving.py - [ ] optuna/pruners/_percentile.py - [ ] optuna/pruners/_threshold.py - [ ] optuna/trial/_base.py - [ ] optuna/trial/_fixed.py - [ ] optuna/trial/_trial.py - [ ] optuna/trial/_frozen.py - [ ] optuna/integration/cma.py - [ ] optuna/integration/shap.py - [ ] optuna/integration/lightgbm.py - [ ] optuna/integration/pytorch_distributed.py - [ ] optuna/integration/_lightgbm_tuner/optimize.py - [ ] optuna/integration/_lightgbm_tuner/alias.py - [ ] optuna/integration/mlflow.py - [ ] optuna/integration/wandb.py - [ ] optuna/integration/catboost.py - [ ] optuna/integration/skopt.py - [ ] optuna/integration/botorch.py - [ ] optuna/integration/dask.py - [x] optuna/integration/sklearn.py - [ ] optuna/integration/tensorboard.py - [ ] optuna/terminator/callback.py - [ ] optuna/terminator/terminator.py - [ ] optuna/terminator/improvement/_preprocessing.py - [ ] optuna/terminator/improvement/gp/botorch.py - [ ] optuna/terminator/improvement/gp/base.py - [ ] optuna/terminator/improvement/evaluator.py - [ ] optuna/importance/_base.py - [ ] optuna/importance/_mean_decrease_impurity.py - [ ] optuna/importance/__init__.py - [ ] optuna/importance/_fanova/_fanova.py - [ ] optuna/importance/_fanova/_evaluator.py - [ ] optuna/importance/_fanova/_tree.py - [ ] optuna/_imports.py - [ ] optuna/testing/tempfile_pool.py - [ ] optuna/testing/threading.py - [ ] optuna/testing/distributions.py - [ ] optuna/testing/samplers.py - [ ] optuna/testing/storages.py - [ ] optuna/distributions.py - [ ] optuna/cli.py - [ ] optuna/multi_objective/visualization/_pareto_front.py - [ ] optuna/multi_objective/trial.py - [ ] optuna/multi_objective/samplers/_base.py - [ ] optuna/multi_objective/samplers/_nsga2.py - [ ] optuna/multi_objective/samplers/_adapter.py - [ ] optuna/multi_objective/samplers/_random.py - [ ] optuna/multi_objective/samplers/_motpe.py - [ ] optuna/multi_objective/study.py - [ ] optuna/_experimental.py - [ ] optuna/samplers/_base.py - [ ] optuna/samplers/nsgaii/_crossovers/_undx.py - [ ] optuna/samplers/nsgaii/_crossovers/_spx.py - [ ] optuna/samplers/nsgaii/_crossovers/_sbx.py - [ ] optuna/samplers/nsgaii/_crossovers/_vsbx.py - [ ] optuna/samplers/nsgaii/_sampler.py - [ ] optuna/samplers/nsgaii/_crossover.py - [ ] optuna/samplers/_search_space/intersection.py - [ ] optuna/samplers/_qmc.py - [ ] optuna/samplers/_tpe/probability_distributions.py - [ ] optuna/samplers/_tpe/_truncnorm.py - [ ] optuna/samplers/_tpe/multi_objective_sampler.py - [ ] optuna/samplers/_tpe/parzen_estimator.py - [ ] optuna/samplers/_tpe/sampler.py - [ ] optuna/samplers/_random.py - [ ] optuna/samplers/_cmaes.py - [ ] optuna/samplers/_partial_fixed.py - [ ] optuna/samplers/_brute_force.py - [ ] optuna/samplers/_nsgaiii.py - [ ] optuna/samplers/_grid.py - [ ] optuna/_hypervolume/wfg.py - [ ] optuna/_hypervolume/hssp.py - [ ] optuna/progress_bar.py - [ ] optuna/_transform.py - [ ] optuna/_callbacks.py - [ ] tests/multi_objective_tests/test_study.py - [ ] tests/multi_objective_tests/samplers_tests/test_motpe.py - [ ] tests/multi_objective_tests/samplers_tests/test_nsga2.py - [ ] tests/multi_objective_tests/test_trial.py - [ ] tests/multi_objective_tests/visualization_tests/test_pareto_front.py - [ ] tests/trial_tests/test_frozen.py - [ ] tests/trial_tests/test_trials.py - [ ] tests/trial_tests/test_trial.py - [ ] tests/pruners_tests/test_percentile.py - [ ] tests/pruners_tests/test_median.py - [ ] tests/pruners_tests/test_patient.py - [ ] tests/pruners_tests/test_successive_halving.py - [ ] tests/study_tests/test_optimize.py - [ ] tests/study_tests/test_study.py - [ ] tests/hypervolume_tests/test_hssp.py - [x] tests/integration_tests/test_skopt.py - [x] tests/integration_tests/test_pytorch_lightning.py - [ ] tests/integration_tests/test_shap.py - [ ] tests/integration_tests/test_cma.py - [ ] tests/integration_tests/test_pytorch_distributed.py - [ ] tests/integration_tests/lightgbm_tuner_tests/test_optimize.py - [ ] tests/integration_tests/lightgbm_tuner_tests/test_alias.py - [ ] tests/integration_tests/test_botorch.py - [ ] tests/integration_tests/test_mlflow.py - [ ] tests/integration_tests/test_mxnet.py - [ ] tests/integration_tests/test_wandb.py - [ ] tests/importance_tests/fanova_tests/test_tree.py - [ ] tests/importance_tests/test_mean_decrease_impurity.py - [ ] tests/importance_tests/test_fanova.py - [ ] tests/importance_tests/test_init.py - [ ] tests/test_convert_positional_args.py - [ ] tests/test_deprecated.py - [ ] tests/storages_tests/test_journal.py - [ ] tests/storages_tests/test_heartbeat.py - [ ] tests/storages_tests/test_storages.py - [ ] tests/storages_tests/rdb_tests/test_storage.py - [ ] tests/storages_tests/rdb_tests/create_db.py - [ ] tests/storages_tests/test_with_server.py - [ ] tests/samplers_tests/test_grid.py - [ ] tests/samplers_tests/tpe_tests/test_parzen_estimator.py - [ ] tests/samplers_tests/tpe_tests/test_multi_objective_sampler.py - [ ] tests/samplers_tests/tpe_tests/test_sampler.py - [ ] tests/samplers_tests/test_cmaes.py - [ ] tests/samplers_tests/test_samplers.py - [x] tests/samplers_tests/test_nsgaii.py - [x] tests/samplers_tests/test_nsgaiii.py - [ ] tests/samplers_tests/test_qmc.py - [ ] tests/test_distributions.py - [ ] tests/test_multi_objective.py - [ ] tests/test_cli.py - [ ] tests/visualization_tests/test_hypervolume_history.py - [ ] tests/visualization_tests/test_pareto_front.py - [ ] tests/terminator_tests/improvement_tests/test_evaluator.py - [ ] benchmarks/kurobako/problems/wfg/transformation_functions.py - [ ] benchmarks/bayesmark/report_bayesmark.py - [ ] benchmarks/bayesmark/optuna_optimizer.py ### Additional context (optional) The above list is generated by the following script. <details> <summary>script</summary> ```python import os import pathlib PATTERS = [ "from typing import Union", "from typing import Optional", "from typing import Tuple", "from typing import List", "from typing import Dict", "from typing import Set", "from typing import FrozenSet", "from typing import Type", "from typing import FrozenSet", "from typing import Sequence", ] def get_filenames_to_be_simplified(dir_path): ret = [] for f in os.listdir(dir_path): file_path = os.path.join(dir_path, f) if not os.path.isfile(file_path): ret.extend(get_filenames_to_be_simplified(file_path)) else: try: with open(file_path) as fd: contents = fd.read() if any([s in contents for s in PATTERS]): ret.append(str(file_path)) except UnicodeDecodeError as e: pass return ret def main(): dirs = ["optuna", "tests", "benchmarks"] for dir_name in dirs: filenames = get_filenames_to_be_simplified(pathlib.Path(dir_name)) for filename in filenames: print(f"- [ ] {filename}") if __name__ == "__main__": main() ``` </details>
[ { "content": "from __future__ import annotations\n\nfrom typing import NamedTuple\nfrom typing import Sequence\n\nimport numpy as np\n\nfrom optuna._experimental import experimental_func\nfrom optuna._hypervolume import WFG\nfrom optuna.logging import get_logger\nfrom optuna.samplers._base import _CONSTRAINTS_K...
[ { "content": "from __future__ import annotations\n\nfrom collections.abc import Sequence\nfrom typing import NamedTuple\n\nimport numpy as np\n\nfrom optuna._experimental import experimental_func\nfrom optuna._hypervolume import WFG\nfrom optuna.logging import get_logger\nfrom optuna.samplers._base import _CONS...
diff --git a/optuna/visualization/_hypervolume_history.py b/optuna/visualization/_hypervolume_history.py index c1fff4b877..39e6c23e53 100644 --- a/optuna/visualization/_hypervolume_history.py +++ b/optuna/visualization/_hypervolume_history.py @@ -1,7 +1,7 @@ from __future__ import annotations +from collections.abc import Sequence from typing import NamedTuple -from typing import Sequence import numpy as np
ansible__ansible-modules-core-3859
Bug in regex checker for azure_rm_virtualnetwork ##### ISSUE TYPE - Feature Idea ##### COMPONENT NAME azure_rm_virtualnetwork ##### ANSIBLE VERSION 2.2.0 ##### CONFIGURATION N/A ##### OS / ENVIRONMENT Ubuntu 14.04 ##### SUMMARY azure_rm_virtualnetwork contains code to check for the validity of the "name" parameter (https://github.com/ansible/ansible-modules-core/blob/devel/cloud/azure/azure_rm_virtualnetwork.py#L148). That regex does not take into account that the "." character is valid, as long as it's neither at the start or end of the name string. ##### STEPS TO REPRODUCE ``` - name: Create virtual network azure_rm_virtualnetwork: name: My.Sweet.Network ``` ##### EXPECTED RESULTS The network should get created, since it has a valid name ##### ACTUAL RESULTS msg": "Parameter error: name must begin with a letter or number, end with a letter, number or underscore and may contain only letters, numbers, periods, underscores or hyphens."}
[ { "content": "#!/usr/bin/python\n#\n# Copyright (c) 2016 Matt Davis, <mdavis@ansible.com>\n# Chris Houseknecht, <house@redhat.com>\n#\n# This file is part of Ansible\n#\n# Ansible is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License a...
[ { "content": "#!/usr/bin/python\n#\n# Copyright (c) 2016 Matt Davis, <mdavis@ansible.com>\n# Chris Houseknecht, <house@redhat.com>\n#\n# This file is part of Ansible\n#\n# Ansible is free software: you can redistribute it and/or modify\n# it under the terms of the GNU General Public License a...
diff --git a/cloud/azure/azure_rm_virtualnetwork.py b/cloud/azure/azure_rm_virtualnetwork.py index 9f1e7e61f23..d7bbdd00d85 100644 --- a/cloud/azure/azure_rm_virtualnetwork.py +++ b/cloud/azure/azure_rm_virtualnetwork.py @@ -145,7 +145,7 @@ pass -NAME_PATTERN = re.compile(r"^[a-zA-Z0-9_]{1,61}[a-z0-9_]$") +NAME_PATTERN = re.compile(r"^[a-zA-Z0-9]+[a-zA-Z0-9\._-]+[a-zA-Z0-9_]+$") def virtual_network_to_dict(vnet):
optuna__optuna-1882
Remove the document for `with_traceback` method of Optuna's exception classes Currently, Optuna's exception classes have the documentations of `with_traceback` method, which is inherited from `Exception`. I don't think it is informative for readers and it can be removed from the reference. ![image](https://user-images.githubusercontent.com/3255979/89862021-0a4afd80-dbe2-11ea-8f86-626d960b4255.png) The following `Exception` has the `with_traceback` method. - [ ] `optuna.exceptions.CLIUsageError` - [ ] `optuna.exceptions.OptunaError` - [ ] `optuna.exceptions.TrialPruned` - [ ] `optuna.exceptions.CLIUsageError` - [ ] `optuna.exceptions.StorageInternalError` - [ ] `optuna.exceptions.DuplicatedStudyError` CC @keisuke-umezawa Please let me know if you have any comments.
[ { "content": "# -*- coding: utf-8 -*-\n#\n# Configuration file for the Sphinx documentation builder.\n#\n# This file does only contain a selection of the most common options. For a\n# full list see the documentation:\n# http://www.sphinx-doc.org/en/master/config\n\n# -- Path setup ------------------------------...
[ { "content": "# -*- coding: utf-8 -*-\n#\n# Configuration file for the Sphinx documentation builder.\n#\n# This file does only contain a selection of the most common options. For a\n# full list see the documentation:\n# http://www.sphinx-doc.org/en/master/config\n\n# -- Path setup ------------------------------...
diff --git a/docs/source/conf.py b/docs/source/conf.py index 16d954afae..05540085a2 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -172,6 +172,7 @@ autodoc_default_options = { 'members': True, 'inherited-members': True, + 'exclude-members': 'with_traceback', } sphinx_gallery_conf = {
bokeh__bokeh-1948
`publishing` example from the `embed` directory fails With an error message that is not particularly helpfull. Using bokeh 0.8. ``` ➜ embed python publishing.py Using saved session configuration for http://localhost:5006/ To override, pass 'load_from_config=False' to Session INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): localhost Traceback (most recent call last): File "publishing.py", line 11, in <module> Session().register('testuser', 'testpassword') File "/Users/nicolas/anaconda/lib/python2.7/site-packages/bokeh/session.py", line 208, in register raise RuntimeError("Unknown Error") RuntimeError: Unknown Error ```
[ { "content": "# The plot server must be running\n# Go to http://localhost:5006/bokeh to view this plot\n\nimport time\n\nimport numpy as np\n\nfrom bokeh.plotting import *\nfrom bokeh.session import Session\nfrom bokeh import embed\nSession().register('testuser', 'testpassword')\nN = 80\nx = np.linspace(0, 4*np...
[ { "content": "# The plot server must be running\n# The server must run with --multi-user for this example to work\n# Go to http://localhost:5006/bokeh to view this plot\n\nimport time\n\nimport numpy as np\n\nfrom bokeh.plotting import *\nfrom bokeh.session import Session\nfrom bokeh import embed\nSession().reg...
diff --git a/examples/embed/README.md b/examples/embed/README.md index f4e77c448c9..9b98f24661e 100644 --- a/examples/embed/README.md +++ b/examples/embed/README.md @@ -2,7 +2,11 @@ To try these example you first have to start the bokeh-server, ie., bokeh-server --backend=memory -and then run the examples: +Some examples (e.g. publishing) need the server to run in multi-user mode: + + bokeh-server -m --backend=memory + +Then run the examples: python widget.py @@ -10,6 +14,7 @@ or python animated.py + To view them, start a web server in this directory, for instance, the server built into python: diff --git a/examples/embed/publishing.py b/examples/embed/publishing.py index a099eda61ea..d0dcd17888b 100644 --- a/examples/embed/publishing.py +++ b/examples/embed/publishing.py @@ -1,4 +1,5 @@ # The plot server must be running +# The server must run with --multi-user for this example to work # Go to http://localhost:5006/bokeh to view this plot import time
mozilla__bugbug-3941
[model:accessibility] Add the model to `http_service` and `data_pipeline` Depends on merging: #3775
[ { "content": "# -*- coding: utf-8 -*-\n# This Source Code Form is subject to the terms of the Mozilla Public\n# License, v. 2.0. If a copy of the MPL was not distributed with this file,\n# You can obtain one at http://mozilla.org/MPL/2.0/.\n\nimport logging\nimport os\nfrom datetime import timedelta\nfrom funct...
[ { "content": "# -*- coding: utf-8 -*-\n# This Source Code Form is subject to the terms of the Mozilla Public\n# License, v. 2.0. If a copy of the MPL was not distributed with this file,\n# You can obtain one at http://mozilla.org/MPL/2.0/.\n\nimport logging\nimport os\nfrom datetime import timedelta\nfrom funct...
diff --git a/http_service/bugbug_http/models.py b/http_service/bugbug_http/models.py index 6fb1247b65..3615050925 100644 --- a/http_service/bugbug_http/models.py +++ b/http_service/bugbug_http/models.py @@ -34,6 +34,7 @@ "spambug", "testlabelselect", "testgroupselect", + "accessibility", ] DEFAULT_EXPIRATION_TTL = 7 * 24 * 3600 # A week diff --git a/infra/data-pipeline.yml b/infra/data-pipeline.yml index b1160932bb..c0ad93b0c6 100644 --- a/infra/data-pipeline.yml +++ b/infra/data-pipeline.yml @@ -1003,6 +1003,44 @@ tasks: owner: release-mgmt-analysis@mozilla.com source: ${repository}/raw/master/data-pipeline.yml + - ID: train-accessibility + created: { $fromNow: "" } + deadline: { $fromNow: "3 days" } + expires: { $fromNow: "1 year" } + provisionerId: proj-bugbug + workerType: compute-smaller + dependencies: + - bugs-retrieval + payload: + maxRunTime: 25200 + image: mozilla/bugbug-base:${version} + command: + - bugbug-train + - accessibility + + artifacts: + public/accessibilitymodel.tar.zst: + expires: { $fromNow: "1 month" } + path: /accessibilitymodel.tar.zst + type: file + public/metrics.json: + expires: { $fromNow: "1 year" } + path: /metrics.json + type: file + + routes: + - notify.email.release-mgmt-analysis@mozilla.com.on-failed + - notify.irc-channel.#bugbug.on-failed + - index.project.bugbug.train_accessibility.${version} + - index.project.bugbug.train_accessibility.per_version.${version}.${year}.${month}.${day}.${hour}.${minute}.${second} + - index.project.bugbug.train_accessibility.per_date.${year}.${month}.${day}.${hour}.${minute}.${second}.${version} + - index.project.bugbug.train_accessibility.latest + metadata: + name: bugbug train accessibility model + description: bugbug train accessibility model + owner: release-mgmt-analysis@mozilla.com + source: ${repository}/raw/master/data-pipeline.yml + - ID: train-test-label-select created: { $fromNow: "" } deadline: { $fromNow: "5 days" } @@ -1215,6 +1253,7 @@ tasks: - train-test-group-select - train-test-failure - train-needsdiagnosis + - train-accessibility payload: maxRunTime: 3600 image: mozilla/bugbug-base:${version} @@ -1250,6 +1289,7 @@ tasks: - train-test-label-select - train-test-group-select - train-needsdiagnosis + - train-accessibility payload: capabilities: privileged: true
getmoto__moto-698
Unable to create a key with a trailing slash using OrdinaryCallingFormat When using OrdinaryCallingFormat, it's not possible to create a key ending with a slash (e.g. when mimicking directory creation), since this is stripped off when parsing the key name. I can't comment on S3, but this is at least different behaviour from Ceph. For example, the below fails as is, but works if the connection uses SubdomainCallingFormat instead. ``` import boto import moto import unittest class TestCreatingKeyEndingWithSlash(unittest.TestCase): @moto.mock_s3 def test_ordinary_calling_format(self): bucket_name = 'testbucket' key_name = 'key_ending_with_slash/' conn = boto.connect_s3('access_key', 'secret_key', calling_format=boto.s3.connection.OrdinaryCallingFormat()) bucket = conn.create_bucket(bucket_name) key = boto.s3.key.Key(bucket) key.key = key_name key.set_contents_from_string('') self.assertIn(key_name, [k.name for k in bucket.get_all_keys()]) ```
[ { "content": "from __future__ import unicode_literals\nfrom six.moves.urllib.parse import urlparse\n\n\ndef bucket_name_from_url(url):\n pth = urlparse(url).path.lstrip(\"/\")\n\n l = pth.lstrip(\"/\").split(\"/\")\n if len(l) == 0 or l[0] == \"\":\n return None\n return l[0]\n\n\ndef parse_k...
[ { "content": "from __future__ import unicode_literals\nfrom six.moves.urllib.parse import urlparse\n\n\ndef bucket_name_from_url(url):\n pth = urlparse(url).path.lstrip(\"/\")\n\n l = pth.lstrip(\"/\").split(\"/\")\n if len(l) == 0 or l[0] == \"\":\n return None\n return l[0]\n\n\ndef parse_k...
diff --git a/moto/s3bucket_path/utils.py b/moto/s3bucket_path/utils.py index aa7dc12f0961..e10e64fb6492 100644 --- a/moto/s3bucket_path/utils.py +++ b/moto/s3bucket_path/utils.py @@ -12,7 +12,7 @@ def bucket_name_from_url(url): def parse_key_name(path): - return "/".join(path.rstrip("/").split("/")[2:]) + return "/".join(path.split("/")[2:]) def is_delete_keys(request, path, bucket_name): diff --git a/tests/test_s3/test_s3.py b/tests/test_s3/test_s3.py index 95a755ab13d5..5519f0c5759a 100644 --- a/tests/test_s3/test_s3.py +++ b/tests/test_s3/test_s3.py @@ -1076,3 +1076,20 @@ def test_website_configuration_xml(): bucket = conn.create_bucket('test-bucket') bucket.set_website_configuration_xml(TEST_XML) bucket.get_website_configuration_xml().should.equal(TEST_XML) + + +@mock_s3 +def test_key_with_trailing_slash_in_ordinary_calling_format(): + conn = boto.connect_s3( + 'access_key', + 'secret_key', + calling_format=boto.s3.connection.OrdinaryCallingFormat() + ) + bucket = conn.create_bucket('test_bucket_name') + + key_name = 'key_with_slash/' + + key = Key(bucket, key_name) + key.set_contents_from_string('some value') + + [k.name for k in bucket.get_all_keys()].should.contain(key_name)
pyca__cryptography-7106
adding custom attribute that have octetstring parameter looks like I still can't put an octetstring attribute even if I used _tag in addattribute function that will be added in version 37 because _ASN1Type doesn't have octetstring(tag 04) in it. (PS: why it needs some whitelist for allowed tag types?) attribute I wanted to add: https://cabforum.org/wp-content/uploads/CA-Browser-Forum-BR-1.8.2.pdf appendix B, 2-b cabf OBJECT IDENTIFIER ::= { joint-iso-itu-t(2) international-organizations(23) ca-browser-forum(140) } caSigningNonce ATTRIBUTE ::= { WITH SYNTAX OCTET STRING EQUALITY MATCHING RULE octetStringMatch SINGLE VALUE TRUE ID { cabf-caSigningNonce } } cabf-caSigningNonce OBJECT IDENTIFIER ::= { cabf 41 } https://github.com/pyca/cryptography/pull/7038 tested locally by editing name.py, rust part of code doesn't complain.
[ { "content": "# This file is dual licensed under the terms of the Apache License, Version\n# 2.0, and the BSD License. See the LICENSE file in the root of this repository\n# for complete details.\n\nimport binascii\nimport re\nimport sys\nimport typing\nimport warnings\n\nfrom cryptography import utils\nfrom cr...
[ { "content": "# This file is dual licensed under the terms of the Apache License, Version\n# 2.0, and the BSD License. See the LICENSE file in the root of this repository\n# for complete details.\n\nimport binascii\nimport re\nimport sys\nimport typing\nimport warnings\n\nfrom cryptography import utils\nfrom cr...
diff --git a/src/cryptography/x509/name.py b/src/cryptography/x509/name.py index 8b7e4ab430e4..4b32115781d1 100644 --- a/src/cryptography/x509/name.py +++ b/src/cryptography/x509/name.py @@ -17,6 +17,7 @@ class _ASN1Type(utils.Enum): BitString = 3 + OctetString = 4 UTF8String = 12 NumericString = 18 PrintableString = 19
liqd__a4-meinberlin-1740
2 link limit on nav items affects the footer, need more than 2 items
[ { "content": "from django.db import models\nfrom modelcluster.fields import ParentalKey\nfrom modelcluster.models import ClusterableModel\nfrom wagtail.admin import edit_handlers\nfrom wagtail.core.models import Orderable\nfrom wagtail.snippets.models import register_snippet\n\n\nclass MenuItem(models.Model):\n...
[ { "content": "from django.db import models\nfrom modelcluster.fields import ParentalKey\nfrom modelcluster.models import ClusterableModel\nfrom wagtail.admin import edit_handlers\nfrom wagtail.core.models import Orderable\nfrom wagtail.snippets.models import register_snippet\n\n\nclass MenuItem(models.Model):\n...
diff --git a/meinberlin/apps/cms/models/navigation_menues.py b/meinberlin/apps/cms/models/navigation_menues.py index 87eec0169b..d8b2ad88ff 100644 --- a/meinberlin/apps/cms/models/navigation_menues.py +++ b/meinberlin/apps/cms/models/navigation_menues.py @@ -32,7 +32,7 @@ def __str__(self): panels = [ edit_handlers.FieldPanel('title'), - edit_handlers.InlinePanel('items', max_num=2) + edit_handlers.InlinePanel('items') ] diff --git a/meinberlin/assets/scss/components/_footer.scss b/meinberlin/assets/scss/components/_footer.scss index 17616dd3b9..a04f779997 100644 --- a/meinberlin/assets/scss/components/_footer.scss +++ b/meinberlin/assets/scss/components/_footer.scss @@ -20,7 +20,9 @@ body { .footer-nav__link { display: inline-block; - padding: 0.7em; + padding-left: $padding; + padding-top: 0.7em; + padding-bottom: 0.7em; color: inherit; text-decoration: none; @@ -43,3 +45,11 @@ body { float: left; } } + +.beberlin__logo { + padding-right: $padding; +} + +.berlin__logo { + padding-left: $padding; +} diff --git a/meinberlin/templates/footer.html b/meinberlin/templates/footer.html index ba327ddc68..506015f099 100644 --- a/meinberlin/templates/footer.html +++ b/meinberlin/templates/footer.html @@ -3,11 +3,17 @@ <footer class="main-footer"> <div class="l-wrapper"> <div class="shariff" data-theme="white"></div> - <nav class="footer-nav"> + <nav class="footer-nav u-spacer-bottom-double"> {% get_menu "footer-nav" as footer_nav %} {% for item in footer_nav %} <a class="footer-nav__link" href="{{ item.url }}">{{ item.title }}</a> {% endfor %} </nav> + <div class="footer__logo"> + <img class="beberlin__logo" src="{% static 'images/beberlin.svg' %}" alt="be Berlin" width="127.5" height="30"/> + <a href="https://www.berlin.de/" class="berlin__logo" rel="home"> + <img src="{% static 'images/berlin_de.png' %}" alt="Zur Homepage von Berlin.de" width="125" height="31"/> + </a> + </div> </div> </footer>
pytorch__rl-1536
[BUG] TruncatedNormal crashing when computing entropy ## Describe the bug Calling `.entropy()` on a `TruncatedNormal` distribution causes the code to crash. ## To Reproduce First crash happened using a PPO agent with entropy bonus turned on and actor parametrized with a `TruncatedNormal`. A simple snippet to reproduce is the following: ```python import torch from torchrl.modules.distributions import IndependentNormal, TruncatedNormal if __name__ == '__main__': loc, scale = torch.zeros(1), torch.ones(1) d1 = IndependentNormal(loc, scale) print(d1.entropy()) d2 = TruncatedNormal(loc, scale) print(d2.entropy()) ``` ```bash tensor(1.4189) Traceback (most recent call last): File "/home/diego/Desktop/test.py", line 10, in <module> print(d2.entropy()) File "/home/diego/miniconda3/envs/pytorch/lib/python3.10/site-packages/torch/distributions/independent.py", line 103, in entropy entropy = self.base_dist.entropy() TypeError: 'Tensor' object is not callable ``` ## Expected behavior The entropy value should be returned. ## System info * Python 3.10.12 * torch 2.0.1 ```python import torchrl, numpy, sys print(torchrl.__version__, numpy.__version__, sys.version, sys.platform) ``` ``` 0.1.1 1.25.1 3.10.12 (main, Jul 5 2023, 18:54:27) [GCC 11.2.0] linux ``` ## Reason and Possible fixes In the `TruncatedStandardNormal` class, the `self._entropy` attribute is a constant tensor computed at initialization. For some reason, calling `TruncatedStandardNormal.entropy` returns the `self._entropy` attribute, rather than the `entropy()` property: ```python import torch from torchrl.modules.distributions.truncated_normal import TruncatedStandardNormal loc, scale = torch.zeros(1), torch.ones(1) print(TruncatedStandardNormal(loc, scale).entropy) print(TruncatedStandardNormal(loc, scale).entropy()) ``` ```bash tensor([-0.0104]) Traceback (most recent call last): File "/home/diego/Desktop/test.py", line 5, in <module> print(TruncatedStandardNormal(loc, scale).entropy()) TypeError: 'Tensor' object is not callable ``` ## Checklist - [x] I have checked that there is no similar issue in the repo (**required**) - [x] I have read the [documentation](https://github.com/pytorch/rl/tree/main/docs/) (**required**) - [x] I have provided a minimal working example to reproduce the bug (**required**)
[ { "content": "# Copyright (c) Meta Platforms, Inc. and affiliates.\n#\n# This source code is licensed under the MIT license found in the\n# LICENSE file in the root directory of this source tree.\n\n\n# from https://github.com/toshas/torch_truncnorm\n\nimport math\nfrom numbers import Number\n\nimport torch\nfr...
[ { "content": "# Copyright (c) Meta Platforms, Inc. and affiliates.\n#\n# This source code is licensed under the MIT license found in the\n# LICENSE file in the root directory of this source tree.\n\n\n# from https://github.com/toshas/torch_truncnorm\n\nimport math\nfrom numbers import Number\n\nimport torch\nfr...
diff --git a/test/test_distributions.py b/test/test_distributions.py index c804dcf7e53..30bb0288dd4 100644 --- a/test/test_distributions.py +++ b/test/test_distributions.py @@ -30,40 +30,46 @@ @pytest.mark.skipif(torch.__version__ < "2.0", reason="torch 2.0 is required") @pytest.mark.parametrize("device", get_default_devices()) -@pytest.mark.parametrize("div_up", [1, 2]) -@pytest.mark.parametrize("div_down", [1, 2]) -def test_delta(device, div_up, div_down): - x = torch.randn(1000000, 4, device=device, dtype=torch.double) - d = Delta(x) - assert d.log_prob(d.mode).shape == x.shape[:-1] - assert (d.log_prob(d.mode) == float("inf")).all() - - x = torch.randn(1000000, 4, device=device, dtype=torch.double) - d = TanhDelta(x, -1 / div_down, 1.0 / div_up, atol=1e-4, rtol=1e-4) - xinv = d.transforms[0].inv(d.mode) - assert d.base_dist._is_equal(xinv).all() - assert d.log_prob(d.mode).shape == x.shape[:-1] - assert (d.log_prob(d.mode) == float("inf")).all() - - x = torch.randn(1000000, 4, device=device, dtype=torch.double) - d = TanhDelta( - x, - -torch.ones_like(x) / div_down, - torch.ones_like(x) / div_up, - atol=1e-4, - rtol=1e-4, - ) - xinv = d.transforms[0].inv(d.mode) - assert d.base_dist._is_equal(xinv).all() - assert d.log_prob(d.mode).shape == x.shape[:-1] - assert (d.log_prob(d.mode) == float("inf")).all() +class TestDelta: + def test_delta_logprob(self, device): + x = torch.randn(1000000, 4, device=device, dtype=torch.double) + d = Delta(x) + assert d.log_prob(d.mode).shape == x.shape[:-1] + assert (d.log_prob(d.mode) == float("inf")).all() + + @pytest.mark.parametrize("div_up", [1, 2]) + @pytest.mark.parametrize("div_down", [1, 2]) + def test_tanhdelta_logprob(self, device, div_up, div_down): + x = torch.randn(1000000, 4, device=device, dtype=torch.double) + d = TanhDelta(x, -1 / div_down, 1.0 / div_up, atol=1e-4, rtol=1e-4) + xinv = d.transforms[0].inv(d.mode) + assert d.base_dist._is_equal(xinv).all() + assert d.log_prob(d.mode).shape == x.shape[:-1] + assert (d.log_prob(d.mode) == float("inf")).all() + + @pytest.mark.parametrize("div_up", [1, 2]) + @pytest.mark.parametrize("div_down", [1, 2]) + def test_tanhdelta_inv(self, device, div_up, div_down): + x = torch.randn(1000000, 4, device=device, dtype=torch.double) + d = TanhDelta( + x, + -torch.ones_like(x) / div_down, + torch.ones_like(x) / div_up, + atol=1e-4, + rtol=1e-4, + ) + xinv = d.transforms[0].inv(d.mode) + assert d.base_dist._is_equal(xinv).all() + assert d.log_prob(d.mode).shape == x.shape[:-1] + assert (d.log_prob(d.mode) == float("inf")).all() - x = torch.randn(1000000, 4, device=device) - d = TanhDelta(x, -torch.ones_like(x), torch.ones_like(x), atol=1e-4, rtol=1e-4) - xinv = d.transforms[0].inv(d.mode) - assert d.base_dist._is_equal(xinv).all() - assert d.log_prob(d.mode).shape == x.shape[:-1] - assert (d.log_prob(d.mode) == float("inf")).all() + def test_tanhdelta_inv_ones(self, device): + x = torch.randn(1000000, 4, device=device) + d = TanhDelta(x, -torch.ones_like(x), torch.ones_like(x), atol=1e-4, rtol=1e-4) + xinv = d.transforms[0].inv(d.mode) + assert d.base_dist._is_equal(xinv).all() + assert d.log_prob(d.mode).shape == x.shape[:-1] + assert (d.log_prob(d.mode) == float("inf")).all() def _map_all(*tensors_or_other, device): @@ -74,42 +80,43 @@ def _map_all(*tensors_or_other, device): yield t -@pytest.mark.parametrize( - "min", [-torch.ones(3), -1, 3 * torch.tensor([-1.0, -2.0, -0.5]), -0.1] -) -@pytest.mark.parametrize( - "max", [torch.ones(3), 1, 3 * torch.tensor([1.0, 2.0, 0.5]), 0.1] -) -@pytest.mark.parametrize( - "vecs", - [ - (torch.tensor([0.1, 10.0, 5.0]), torch.tensor([0.1, 10.0, 5.0])), - (torch.zeros(7, 3), torch.ones(7, 3)), - ], -) -@pytest.mark.parametrize( - "upscale", [torch.ones(3), 1, 3 * torch.tensor([1.0, 2.0, 0.5]), 3] -) -@pytest.mark.parametrize("shape", [torch.Size([]), torch.Size([3, 4])]) -@pytest.mark.parametrize("device", get_default_devices()) -def test_tanhnormal(min, max, vecs, upscale, shape, device): - min, max, vecs, upscale, shape = _map_all( - min, max, vecs, upscale, shape, device=device +class TestTanhNormal: + @pytest.mark.parametrize( + "min", [-torch.ones(3), -1, 3 * torch.tensor([-1.0, -2.0, -0.5]), -0.1] ) - torch.manual_seed(0) - d = TanhNormal( - *vecs, - upscale=upscale, - min=min, - max=max, + @pytest.mark.parametrize( + "max", [torch.ones(3), 1, 3 * torch.tensor([1.0, 2.0, 0.5]), 0.1] ) - for _ in range(100): - a = d.rsample(shape) - assert a.shape[: len(shape)] == shape - assert (a >= d.min).all() - assert (a <= d.max).all() - lp = d.log_prob(a) - assert torch.isfinite(lp).all() + @pytest.mark.parametrize( + "vecs", + [ + (torch.tensor([0.1, 10.0, 5.0]), torch.tensor([0.1, 10.0, 5.0])), + (torch.zeros(7, 3), torch.ones(7, 3)), + ], + ) + @pytest.mark.parametrize( + "upscale", [torch.ones(3), 1, 3 * torch.tensor([1.0, 2.0, 0.5]), 3] + ) + @pytest.mark.parametrize("shape", [torch.Size([]), torch.Size([3, 4])]) + @pytest.mark.parametrize("device", get_default_devices()) + def test_tanhnormal(self, min, max, vecs, upscale, shape, device): + min, max, vecs, upscale, shape = _map_all( + min, max, vecs, upscale, shape, device=device + ) + torch.manual_seed(0) + d = TanhNormal( + *vecs, + upscale=upscale, + min=min, + max=max, + ) + for _ in range(100): + a = d.rsample(shape) + assert a.shape[: len(shape)] == shape + assert (a >= d.min).all() + assert (a <= d.max).all() + lp = d.log_prob(a) + assert torch.isfinite(lp).all() @pytest.mark.parametrize( @@ -130,24 +137,40 @@ def test_tanhnormal(min, max, vecs, upscale, shape, device): ) @pytest.mark.parametrize("shape", [torch.Size([]), torch.Size([3, 4])]) @pytest.mark.parametrize("device", get_default_devices()) -def test_truncnormal(min, max, vecs, upscale, shape, device): - torch.manual_seed(0) - min, max, vecs, upscale, shape = _map_all( - min, max, vecs, upscale, shape, device=device - ) - d = TruncatedNormal( - *vecs, - upscale=upscale, - min=min, - max=max, - ) - for _ in range(100): - a = d.rsample(shape) - assert a.shape[: len(shape)] == shape - assert (a >= d.min).all() - assert (a <= d.max).all() - lp = d.log_prob(a) - assert torch.isfinite(lp).all() +class TestTruncatedNormal: + def test_truncnormal(self, min, max, vecs, upscale, shape, device): + torch.manual_seed(0) + min, max, vecs, upscale, shape = _map_all( + min, max, vecs, upscale, shape, device=device + ) + d = TruncatedNormal( + *vecs, + upscale=upscale, + min=min, + max=max, + ) + for _ in range(100): + a = d.rsample(shape) + assert a.shape[: len(shape)] == shape + assert (a >= d.min).all() + assert (a <= d.max).all() + lp = d.log_prob(a) + assert torch.isfinite(lp).all() + + def test_truncnormal_mode(self, min, max, vecs, upscale, shape, device): + torch.manual_seed(0) + min, max, vecs, upscale, shape = _map_all( + min, max, vecs, upscale, shape, device=device + ) + d = TruncatedNormal( + *vecs, + upscale=upscale, + min=min, + max=max, + ) + assert d.mode is not None + assert d.entropy() is not None + assert d.mean is not None @pytest.mark.parametrize( diff --git a/torchrl/modules/distributions/truncated_normal.py b/torchrl/modules/distributions/truncated_normal.py index 1dfde393709..59b95658ea5 100644 --- a/torchrl/modules/distributions/truncated_normal.py +++ b/torchrl/modules/distributions/truncated_normal.py @@ -87,7 +87,6 @@ def mean(self): def variance(self): return self._variance - @property def entropy(self): return self._entropy
conda__conda-build-3082
Build variants does not work with source repo revision variations With a `meta.yaml` that contains: ``` source: svn_url: an_url svn_rev: {{ version }} ``` and a `conda_build_config.yaml` with: ``` version: - 1 - 2 ``` Both packages are built from the same sources of the first version, the repo is only checked out once. Am I doing it properly or is it a bug?
[ { "content": "from __future__ import absolute_import, division, print_function\n\nimport contextlib\nimport json\nimport logging\nimport multiprocessing\nimport os\nimport platform\nimport re\nimport subprocess\nimport sys\nimport warnings\nfrom glob import glob\nfrom os.path import join, normpath\n\n# noqa her...
[ { "content": "from __future__ import absolute_import, division, print_function\n\nimport contextlib\nimport json\nimport logging\nimport multiprocessing\nimport os\nimport platform\nimport re\nimport subprocess\nimport sys\nimport warnings\nfrom glob import glob\nfrom os.path import join, normpath\n\n# noqa her...
diff --git a/conda_build/environ.py b/conda_build/environ.py index e67982bfd6..9afe7a026f 100644 --- a/conda_build/environ.py +++ b/conda_build/environ.py @@ -154,7 +154,6 @@ def verify_git_repo(git_exe, git_dir, git_url, git_commits_since_tag, debug=Fals return OK -@memoized def get_git_info(git_exe, repo, debug): """ Given a repo to a git repo, return a dictionary of: diff --git a/tests/test-recipes/variants/29_different_git_vars/conda_build_config.yaml b/tests/test-recipes/variants/29_different_git_vars/conda_build_config.yaml new file mode 100644 index 0000000000..b6f56ca4bd --- /dev/null +++ b/tests/test-recipes/variants/29_different_git_vars/conda_build_config.yaml @@ -0,0 +1,3 @@ +git_tag: + - 1.21.11 + - 1.20.0 diff --git a/tests/test-recipes/variants/29_different_git_vars/meta.yaml b/tests/test-recipes/variants/29_different_git_vars/meta.yaml new file mode 100644 index 0000000000..0c0231ccb3 --- /dev/null +++ b/tests/test-recipes/variants/29_different_git_vars/meta.yaml @@ -0,0 +1,15 @@ +package: + name: conda-build-test-variant-git + version: {{ GIT_DESCRIBE_TAG }} + +source: + git_url: https://github.com/conda/conda_build_test_recipe + git_tag: {{ git_tag }} + +build: + number: {{ GIT_DESCRIBE_NUMBER }} + +requirements: + build: + - python + diff --git a/tests/test_variants.py b/tests/test_variants.py index 58c360c2f4..4b2366ce36 100644 --- a/tests/test_variants.py +++ b/tests/test_variants.py @@ -441,3 +441,11 @@ def test_custom_compiler(): recipe = os.path.join(recipe_dir, '28_custom_compiler') ms = api.render(recipe, permit_unsatisfiable_variants=True, finalize=False, bypass_env_check=True) assert len(ms) == 3 + + +def test_different_git_vars(): + recipe = os.path.join(recipe_dir, '29_different_git_vars') + ms = api.render(recipe) + versions = [m[0].version() for m in ms] + assert "1.20.0" in versions + assert "1.21.11" in versions
nltk__nltk-3156
Class 'CharTokenizer' is missing attribute '_string' I think the class `CharTokenizer` is missing the attribute `_string=""` https://github.com/nltk/nltk/blob/fc53edbf6f0763971afca5855386a2a382da37ac/nltk/tokenize/simple.py#L68-L77 Without this attribute, when trying to use the class, I get the following error: `TypeError: Can't instantiate abstract class CharTokenizer with abstract method _string` Example code: ```python from nltk.tokenize.simple import CharTokenizer tokenizer = CharTokenizer() ``` Error: ```bash Traceback (most recent call last): File "/home/francis/.local/share/virtualenvs/cafa-challenge-bUqSu2Tm/lib/python3.10/site-packages/IPython/core/interactiveshell.py", line 3508, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "<ipython-input-7-803c2e672729>", line 1, in <module> tokenizer = CharTokenizer() TypeError: Can't instantiate abstract class CharTokenizer with abstract method _string ```
[ { "content": "# Natural Language Toolkit: Simple Tokenizers\n#\n# Copyright (C) 2001-2023 NLTK Project\n# Author: Edward Loper <edloper@gmail.com>\n# Steven Bird <stevenbird1@gmail.com>\n# URL: <https://www.nltk.org>\n# For license information, see LICENSE.TXT\n\nr\"\"\"\nSimple Tokenizers\n\nThese toke...
[ { "content": "# Natural Language Toolkit: Simple Tokenizers\n#\n# Copyright (C) 2001-2023 NLTK Project\n# Author: Edward Loper <edloper@gmail.com>\n# Steven Bird <stevenbird1@gmail.com>\n# URL: <https://www.nltk.org>\n# For license information, see LICENSE.TXT\n\nr\"\"\"\nSimple Tokenizers\n\nThese toke...
diff --git a/nltk/test/unit/test_tokenize.py b/nltk/test/unit/test_tokenize.py index 7688f52397..662b4562b2 100644 --- a/nltk/test/unit/test_tokenize.py +++ b/nltk/test/unit/test_tokenize.py @@ -16,6 +16,7 @@ sent_tokenize, word_tokenize, ) +from nltk.tokenize.simple import CharTokenizer def load_stanford_segmenter(): @@ -865,3 +866,21 @@ class ExtLangVars(punkt.PunktLanguageVars): ) def test_sent_tokenize(self, sentences: str, expected: List[str]): assert sent_tokenize(sentences) == expected + + def test_string_tokenizer(self) -> None: + sentence = "Hello there" + tokenizer = CharTokenizer() + assert tokenizer.tokenize(sentence) == list(sentence) + assert list(tokenizer.span_tokenize(sentence)) == [ + (0, 1), + (1, 2), + (2, 3), + (3, 4), + (4, 5), + (5, 6), + (6, 7), + (7, 8), + (8, 9), + (9, 10), + (10, 11), + ] diff --git a/nltk/tokenize/simple.py b/nltk/tokenize/simple.py index 71a02d3098..54b2bf8440 100644 --- a/nltk/tokenize/simple.py +++ b/nltk/tokenize/simple.py @@ -70,6 +70,8 @@ class CharTokenizer(StringTokenizer): is ever required directly, use ``for char in string``. """ + _string = None + def tokenize(self, s): return list(s)
wemake-services__wemake-python-styleguide-200
Feature: allow magic numbers in async functions constructors We check that some magic numbers can be used in function constructors like so: ```python def some_function(price, delta=0.1): return price * delta ``` But, we only allow regular functions, not `async` ones: https://github.com/wemake-services/wemake-python-styleguide/blob/master/wemake_python_styleguide/visitors/ast/numbers.py#L19-L21 What we need to do is: 1. Add `ast.AsyncFunctionDef` to the allowed list 2. Write a unit test for it: https://github.com/wemake-services/wemake-python-styleguide/blob/master/tests/test_visitors/test_ast/test_general/test_magic_numbers.py
[ { "content": "# -*- coding: utf-8 -*-\n\nimport ast\nfrom typing import Optional\n\nfrom wemake_python_styleguide.constants import MAGIC_NUMBERS_WHITELIST\nfrom wemake_python_styleguide.violations.best_practices import (\n MagicNumberViolation,\n)\nfrom wemake_python_styleguide.visitors.base import BaseNodeV...
[ { "content": "# -*- coding: utf-8 -*-\n\nimport ast\nfrom typing import Optional\n\nfrom wemake_python_styleguide.constants import MAGIC_NUMBERS_WHITELIST\nfrom wemake_python_styleguide.violations.best_practices import (\n MagicNumberViolation,\n)\nfrom wemake_python_styleguide.visitors.base import BaseNodeV...
diff --git a/tests/test_visitors/test_ast/test_general/test_magic_numbers.py b/tests/test_visitors/test_ast/test_general/test_magic_numbers.py index 0b1128a40..98d860c81 100644 --- a/tests/test_visitors/test_ast/test_general/test_magic_numbers.py +++ b/tests/test_visitors/test_ast/test_general/test_magic_numbers.py @@ -20,6 +20,11 @@ def function_name(param1, param2={0}): return param1 / param2 """ +async_function_definition = """ +async def function_name(param1, param2={0}): + return param1 / param2 +""" + list_definition = '[{0}]' dict_definition_key = '{{{0}: "value"}}' dict_definition_value = '{{"first": {0}}}' @@ -47,6 +52,7 @@ def function_name(param1, param2={0}): assignment, assignment_unary, function_definition, + async_function_definition, list_definition, dict_definition_key, dict_definition_value, diff --git a/wemake_python_styleguide/visitors/ast/numbers.py b/wemake_python_styleguide/visitors/ast/numbers.py index 30a8859b9..1bb34a335 100644 --- a/wemake_python_styleguide/visitors/ast/numbers.py +++ b/wemake_python_styleguide/visitors/ast/numbers.py @@ -18,6 +18,7 @@ class MagicNumberVisitor(BaseNodeVisitor): # Constructor usages: ast.FunctionDef, + ast.AsyncFunctionDef, ast.arguments, # Primitives:
learningequality__kolibri-8895
Reports - Missing answered question data after upgrade from 0.14.7 to 0.15 ## Observed behavior This issue is a follow-up of https://github.com/learningequality/kolibri/pull/8818 When I'm logged in as a Coach and I go to the reports immediately after I've upgraded Kolibri from 0.14.7 to 0.15 and I attempt to go through the completed lessons or quizzes I'm not able to see the actual questions, instead I see the following text: No attempts made on this question. ## Expected behavior All the completion details should be displayed. ## Steps to reproduce the issue 1. Install the a 0.14.7 version of Kolibri from [here](https://learningequality.org/r/kolibri-windows-setup-latest). 2. Setup a facility, create classes, users, lesson etc and complete a lesson and a quiz using exercises such as CK12's 'Make 10 (grids and number bonds)'. 3. Upgrade to the 0.15 version by Installing the following [build.](https://buildkite.com/learningequality/kolibri-python-package/builds/4467). 4. Go to Coach>Reports and observe the reports for the completed lesson and quiz. (Note that after restart of Kolibri the issue is observed only for the completed lesson while the quiz data is displayed correctly) ## Additional information ![2021-12-07_16-19-30](https://user-images.githubusercontent.com/79847249/145059555-47a4535f-9f9c-4118-b059-05487be78d51.png) ## Logs and DB files: [UbuntuDBlogs.zip](https://github.com/learningequality/kolibri/files/7669547/UbuntuDBlogs.zip) [WindowsDBLogs.zip](https://github.com/learningequality/kolibri/files/7669548/WindowsDBLogs.zip) ## Usage Details - OS: Windows 10 - Browser: Chrome
[ { "content": "import logging\nfrom datetime import timedelta\nfrom itertools import groupby\nfrom random import randint\n\nfrom django.core.exceptions import PermissionDenied\nfrom django.db import transaction\nfrom django.db.models import OuterRef\nfrom django.db.models import Q\nfrom django.db.models import S...
[ { "content": "import logging\nfrom datetime import timedelta\nfrom itertools import groupby\nfrom random import randint\n\nfrom django.core.exceptions import PermissionDenied\nfrom django.db import transaction\nfrom django.db.models import OuterRef\nfrom django.db.models import Q\nfrom django.db.models import S...
diff --git a/kolibri/core/logger/api.py b/kolibri/core/logger/api.py index e5b55a5c8fa..a2f040fac14 100644 --- a/kolibri/core/logger/api.py +++ b/kolibri/core/logger/api.py @@ -918,6 +918,7 @@ class AttemptLogViewSet(ReadOnlyValuesViewset): ordering = ("end_timestamp",) values = ( + "id", "item", "start_timestamp", "end_timestamp", diff --git a/kolibri/plugins/coach/assets/src/views/reports/ReportsLearnerReportLessonPage.vue b/kolibri/plugins/coach/assets/src/views/reports/ReportsLearnerReportLessonPage.vue index e62a7b30123..8b9a0c33c1f 100644 --- a/kolibri/plugins/coach/assets/src/views/reports/ReportsLearnerReportLessonPage.vue +++ b/kolibri/plugins/coach/assets/src/views/reports/ReportsLearnerReportLessonPage.vue @@ -68,10 +68,7 @@ <KRouterLink v-if="showLink(tableRow)" :text="tableRow.title" - :to="classRoute( - 'ReportsLearnerReportLessonExercisePage', - { exerciseId: tableRow.content_id } - )" + :to="tableRow.link" /> <template v-else> {{ tableRow.title }} @@ -99,6 +96,7 @@ <script> import commonCoreStrings from 'kolibri.coreVue.mixins.commonCoreStrings'; + import { PageNames } from '../../constants'; import commonCoach from '../common'; import CSVExporter from '../../csv/exporter'; import * as csvFields from '../../csv/fields'; @@ -125,6 +123,10 @@ return contentArray.map(content => { const tableRow = { statusObj: this.getContentStatusObjForLearner(content.content_id, this.learner.id), + link: this.classRoute(PageNames.REPORTS_LEARNER_REPORT_LESSON_EXERCISE_PAGE_ROOT, { + exerciseId: content.content_id, + learnerId: this.learner.id, + }), }; Object.assign(tableRow, content); return tableRow;
pypa__pipenv-3424
NameError: name 'unicode' is not defined ### Issue description ``` [hadoop@ip-192-168-0-84 sales-forecast]$ pipenv install --python 3 Virtualenv already exists! Removing existing virtualenv... Creating a virtualenv for this project... Pipfile: /home/hadoop/sales-forecast/Pipfile Using /usr/bin/python3.4 (3.4.8) to create virtualenv... ⠼ Creating virtual environment...Using base prefix '/usr' New python executable in /home/hadoop/.local/share/virtualenvs/sales-forecast-ZYWIRznP/bin/python3.4 Also creating executable in /home/hadoop/.local/share/virtualenvs/sales-forecast-ZYWIRznP/bin/python Installing setuptools, pip, wheel...done. Running virtualenv with interpreter /usr/bin/python3.4 ✔ Successfully created virtual environment! Virtualenv location: /home/hadoop/.local/share/virtualenvs/sales-forecast-ZYWIRznP requirements.txt found, instead of Pipfile! Converting... ✔ Success! Warning: Your Pipfile now contains pinned versions, if your requirements.txt did. We recommend updating your Pipfile to specify the "*" version, instead. Pipfile.lock not found, creating... Locking [dev-packages] dependencies... Locking [packages] dependencies... ✘ Locking Failed! Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/pipenv/resolver.py", line 126, in <module> main() File "/usr/local/lib/python2.7/site-packages/pipenv/resolver.py", line 119, in main parsed.requirements_dir, parsed.packages) File "/usr/local/lib/python2.7/site-packages/pipenv/resolver.py", line 85, in _main requirements_dir=requirements_dir, File "/usr/local/lib/python2.7/site-packages/pipenv/resolver.py", line 69, in resolve req_dir=requirements_dir File "/usr/local/lib/python2.7/site-packages/pipenv/utils.py", line 700, in resolve_deps from .vendor.requirementslib.models.requirements import Requirement File "/usr/local/lib/python2.7/site-packages/pipenv/vendor/requirementslib/__init__.py", line 14, in <module> from .models.pipfile import Pipfile File "/usr/local/lib/python2.7/site-packages/pipenv/vendor/requirementslib/models/pipfile.py", line 23, in <module> from ..environment import MYPY_RUNNING File "/usr/local/lib/python2.7/site-packages/pipenv/vendor/requirementslib/environment.py", line 17, in <module> MYPY_RUNNING = os.environ.get("MYPY_RUNNING", is_type_checking()) File "/usr/local/lib/python2.7/site-packages/pipenv/vendor/requirementslib/environment.py", line 10, in is_type_checking from typing import TYPE_CHECKING File "/usr/local/lib/python2.7/site-packages/typing.py", line 624, in <module> AnyStr = TypeVar('AnyStr', bytes, unicode) NameError: name 'unicode' is not defined File "/usr/local/lib/python2.7/site-packages/pipenv/resolver.py", line 126, in <module> main() File "/usr/local/lib/python2.7/site-packages/pipenv/resolver.py", line 119, in main parsed.requirements_dir, parsed.packages) File "/usr/local/lib/python2.7/site-packages/pipenv/resolver.py", line 85, in _main requirements_dir=requirements_dir, File "/usr/local/lib/python2.7/site-packages/pipenv/resolver.py", line 69, in resolve req_dir=requirements_dir File "/usr/local/lib/python2.7/site-packages/pipenv/utils.py", line 700, in resolve_deps from .vendor.requirementslib.models.requirements import Requirement File "/usr/local/lib/python2.7/site-packages/pipenv/vendor/requirementslib/__init__.py", line 14, in <module> from .models.pipfile import Pipfile File "/usr/local/lib/python2.7/site-packages/pipenv/vendor/requirementslib/models/pipfile.py", line 23, in <module> from ..environment import MYPY_RUNNING File "/usr/local/lib/python2.7/site-packages/pipenv/vendor/requirementslib/environment.py", line 17, in <module> MYPY_RUNNING = os.environ.get("MYPY_RUNNING", is_type_checking()) File "/usr/local/lib/python2.7/site-packages/pipenv/vendor/requirementslib/environment.py", line 10, in is_type_checking from typing import TYPE_CHECKING File "/usr/local/lib/python2.7/site-packages/typing.py", line 624, in <module> AnyStr = TypeVar('AnyStr', bytes, unicode) NameError: name 'unicode' is not defined ``` ------------------------------------------------------------------------------- <details><summary>$ pipenv --support</summary> Pipenv version: `'2018.11.26'` Pipenv location: `'/usr/local/lib/python2.7/site-packages/pipenv'` Python location: `'/usr/bin/python2.7'` Python installations found: - `3.4.8`: `/usr/bin/python3` - `2.7.14`: `/usr/bin/python2.7` - `3.4.8`: `/usr/bin/python3.4m` PEP 508 Information: ``` {'implementation_name': 'cpython', 'implementation_version': '0', 'os_name': 'posix', 'platform_machine': 'x86_64', 'platform_python_implementation': 'CPython', 'platform_release': '4.14.72-68.55.amzn1.x86_64', 'platform_system': 'Linux', 'platform_version': '#1 SMP Fri Sep 28 21:14:54 UTC 2018', 'python_full_version': '2.7.14', 'python_version': '2.7', 'sys_platform': 'linux2'} ``` System environment variables: - `AWS_PATH` - `PYTHONDONTWRITEBYTECODE` - `LESSOPEN` - `SSH_CLIENT` - `LOGNAME` - `USER` - `HOME` - `PATH` - `PS1` - `LANG` - `LESS_TERMCAP_se` - `TERM` - `SHELL` - `EC2_AMITOOL_HOME` - `LESS_TERMCAP_me` - `LESS_TERMCAP_md` - `LESS_TERMCAP_mb` - `HISTSIZE` - `PYTHONFINDER_IGNORE_UNSUPPORTED` - `AWS_ELB_HOME` - `JAVA_HOME` - `EC2_HOME` - `LESS_TERMCAP_ue` - `AWS_AUTO_SCALING_HOME` - `PIP_PYTHON_PATH` - `_` - `AWS_DEFAULT_REGION` - `SSH_CONNECTION` - `AWS_CLOUDWATCH_HOME` - `SSH_TTY` - `OLDPWD` - `HOSTNAME` - `HISTCONTROL` - `SHLVL` - `PWD` - `LESS_TERMCAP_us` - `PIP_SHIMS_BASE_MODULE` - `PIP_DISABLE_PIP_VERSION_CHECK` - `MAIL` - `LS_COLORS` Pipenv–specific environment variables: Debug–specific environment variables: - `PATH`: `/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/aws/bin` - `SHELL`: `/bin/bash` - `LANG`: `en_US.UTF-8` - `PWD`: `/home/hadoop/sales-forecast` --------------------------- Contents of `Pipfile` ('/home/hadoop/sales-forecast/Pipfile'): ```toml [[source]] name = "pypi" url = "https://pypi.org/simple" verify_ssl = true [dev-packages] [packages] numpy = "*" scipy = "*" scikit-learn = "==0.19.1" statsmodels = "*" xgboost = "*" pystan = "*" fbprophet = "*" matplotlib = "==2.2.3" seaborn = "*" redis = "*" sqlalchemy = "*" mysqlclient = "*" pyarrow = "==0.11.1" hdfs = "*" hdfs3 = "*" s3fs = "*" python-dateutil = "*" chinesecalendar = "*" pandas = "*" h5py = "*" lxml = "*" openpyxl = "*" xlrd = "*" click = "*" pathlib2 = "*" python-dotenv = "*" environs = "*" joblib = "*" tqdm = "*" dask = {extras = ["complete"],version = "*"} [requires] python_version = "3.4" ``` </details>
[ { "content": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\nimport codecs\nimport os\nimport sys\nfrom shutil import rmtree\n\nfrom setuptools import find_packages, setup, Command\n\nhere = os.path.abspath(os.path.dirname(__file__))\n\nwith codecs.open(os.path.join(here, \"README.md\"), encoding=\"utf-8\") as...
[ { "content": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\nimport codecs\nimport os\nimport sys\nfrom shutil import rmtree\n\nfrom setuptools import find_packages, setup, Command\n\nhere = os.path.abspath(os.path.dirname(__file__))\n\nwith codecs.open(os.path.join(here, \"README.md\"), encoding=\"utf-8\") as...
diff --git a/setup.py b/setup.py index 069a5252ff..4c848c4794 100644 --- a/setup.py +++ b/setup.py @@ -27,8 +27,7 @@ "setuptools>=36.2.1", "virtualenv-clone>=0.2.5", "virtualenv", - 'enum34; python_version<"3"', - 'typing; python_version<"3.5"' + 'enum34; python_version<"3"' ]
bokeh__bokeh-8067
Add an option to disable column titles in DataTable # READ AND FOLLOW THESE INSTRUCTIONS CAREFULLY This issue is being reported for bokeh version 0.12.6. DataTable widgets do not include an option to hide column titles. It would be nice to have that option. Coincidentally, the `row_headers` property is poorly named. It turns on/off the index column, but its name seems to suggest it would toggle column titles. Perhaps that option should be redefined. #### Complete, minimal, self-contained example code that reproduces the issue ``` data = dict( dates=[date(2014, 3, i+1) for i in range(10)], downloads=[randint(0, 100) for i in range(10)], ) source = ColumnDataSource(data) columns = [ TableColumn(field="dates", title="Date", formatter=DateFormatter()), TableColumn(field="downloads", title="Downloads"), ] data_table = DataTable(source=source, columns=columns, row_headers=False, editable=True) ``` #### Screenshots or screencasts of the bug in action <img width="463" alt="screenshot" src="https://user-images.githubusercontent.com/1383911/27066925-73e0f548-4fbc-11e7-90c7-3761de80b990.png">
[ { "content": "''' Various kinds of data table (data grid) widgets.\n\n'''\nfrom __future__ import absolute_import\n\nfrom ...core.enums import DateFormat, FontStyle, NumeralLanguage, TextAlign, RoundingFunction\nfrom ...core.has_props import abstract\nfrom ...core.properties import Bool, Color, Either, Enum, Fl...
[ { "content": "''' Various kinds of data table (data grid) widgets.\n\n'''\nfrom __future__ import absolute_import\n\nfrom ...core.enums import DateFormat, FontStyle, NumeralLanguage, TextAlign, RoundingFunction\nfrom ...core.has_props import abstract\nfrom ...core.properties import Bool, Color, Either, Enum, Fl...
diff --git a/bokeh/models/widgets/tables.py b/bokeh/models/widgets/tables.py index c13e80236d2..dffeb9baac2 100644 --- a/bokeh/models/widgets/tables.py +++ b/bokeh/models/widgets/tables.py @@ -571,4 +571,8 @@ class DataTable(TableWidget): in the viewport. """) + header_row = Bool(True, help=""" + Whether to show a header row with column names at the top of the table. + """) + height = Override(default=400) diff --git a/bokehjs/src/lib/models/widgets/tables/data_table.ts b/bokehjs/src/lib/models/widgets/tables/data_table.ts index ab6c8abfb9e..49da6ed501a 100644 --- a/bokehjs/src/lib/models/widgets/tables/data_table.ts +++ b/bokehjs/src/lib/models/widgets/tables/data_table.ts @@ -247,6 +247,9 @@ export class DataTableView extends WidgetView { this.grid.invalidate() this.updateSelection() this.grid.render() + if (!this.model.header_row) { + this._hide_header() + } }) if (this.model.selectable !== false) { @@ -263,7 +266,19 @@ export class DataTableView extends WidgetView { }) this.updateSelection() + + if (!this.model.header_row) { + this._hide_header() + } + + } + } + + _hide_header(): void { + for (const el of Array.from(this.el.querySelectorAll('.slick-header-columns'))) { + (el as HTMLElement).style.height = "0px" } + this.grid.resizeCanvas() } } @@ -279,6 +294,7 @@ export namespace DataTable { index_header: string index_width: number scroll_to_selection: boolean + header_row: boolean } export interface Props extends TableWidget.Props {} @@ -309,6 +325,7 @@ export class DataTable extends TableWidget { index_header: [ p.String, "#" ], index_width: [ p.Int, 40 ], scroll_to_selection: [ p.Bool, true ], + header_row: [ p.Bool, true ], }) this.override({
ocf__ocfweb-48
Have next 7 days in hours sidebar This means all our normal hours are visible on a normal week.
[ { "content": "from datetime import date\nfrom datetime import timedelta\n\nfrom django.shortcuts import render_to_response\nfrom django.template import RequestContext\nfrom django.utils import timezone\nfrom ocflib.lab.hours import get_hours\nfrom ocflib.lab.staff_hours import get_staff_hours_soonest_first\n\nf...
[ { "content": "from datetime import date\nfrom datetime import timedelta\n\nfrom django.shortcuts import render_to_response\nfrom django.template import RequestContext\nfrom django.utils import timezone\nfrom ocflib.lab.hours import get_hours\nfrom ocflib.lab.staff_hours import get_staff_hours_soonest_first\n\nf...
diff --git a/Makefile b/Makefile index 5098a575a..e1b0d8d9d 100644 --- a/Makefile +++ b/Makefile @@ -32,11 +32,11 @@ gunicorn: venv scss: venv $(PYTHON) setup.py build_sass -watch-scss: scss +watch-scss: scss venv while :; do \ find ocfweb/static -type f -name '*.scss' | \ inotifywait --fromfile - -e modify; \ - make scss; \ + $(PYTHON) setup.py build_sass; \ done update-requirements: diff --git a/ocfweb/main/home.py b/ocfweb/main/home.py index 9d51ce57d..6c5d63494 100644 --- a/ocfweb/main/home.py +++ b/ocfweb/main/home.py @@ -13,7 +13,7 @@ def home(request): hours = [ - get_hours(date.today() + timedelta(days=i)) for i in range(7) + get_hours(date.today() + timedelta(days=i)) for i in range(5) ] blog_posts = [ diff --git a/ocfweb/main/templates/home.html b/ocfweb/main/templates/home.html index 392ceacfc..1c4e80c37 100644 --- a/ocfweb/main/templates/home.html +++ b/ocfweb/main/templates/home.html @@ -67,7 +67,7 @@ <h4>News from the staff team</h4> <h3>Upcoming Lab Hours</h3> <div class="ocf-hours"> {% for hour in hours %} - <div class="ocf-hour row"> + <div class="ocf-hour row {% cycle 'odd' 'even' %}"> <div class="col-sm-3 ocf-hour-title"> {{hour.weekday}}<br /> </div> @@ -81,7 +81,7 @@ <h3>Upcoming Lab Hours</h3> </div> {% endfor %} </div> - <p><a href="{% url 'doc' 'services/lab' %}">See more lab hours &raquo;</a></p> + <p><a href="{% url 'doc' 'services/lab' %}" class="more-hours">more lab hours &raquo;</a></p> <p>{% google_map '100%' '250px' %}</p> diff --git a/ocfweb/static/scss/pages/home.scss b/ocfweb/static/scss/pages/home.scss index 513d9643a..846ccd535 100644 --- a/ocfweb/static/scss/pages/home.scss +++ b/ocfweb/static/scss/pages/home.scss @@ -13,13 +13,31 @@ .ocf-hours { font-size: 14px; + margin: 5px 15px; .ocf-hour { - padding: 10px 0; - border-bottom: solid 1px #222; + border-bottom: solid 1px #ccc; + padding: 10px; + + &.odd { + background-color: #f5f5f5; + } + + .ocf-hour-title { + padding: 0 5px; + font-weight: bold; + } + + .ocf-hour-hours { + padding: 0 5px; + } } } + .more-hours { + font-size: 14px; + } + .ocf-staffhours { p { margin: 0;
Lightning-Universe__lightning-bolts-319
docs: Add Bolts logo ## 🚀 Feature Not a strong opinion, but I would like to suggest a change to the logo image located at the top left in https://pytorch-lightning-bolts.readthedocs.io/en/. Currently, both `pytorch-lightning` and `pytorch-lightning-bolts` docs use the same logo image, and I personally think that makes it somewhat confusing. It would be much easier to distinguish them if the `pytorch-lightning-bolts` logo is different from `pytorch-lightning` logo.
[ { "content": "# -*- coding: utf-8 -*-\n#\n# Configuration file for the Sphinx documentation builder.\n#\n# This file does only contain a selection of the most common options. For a\n# full list see the documentation:\n# http://www.sphinx-doc.org/en/master/config\n\n# -- Path setup ------------------------------...
[ { "content": "# -*- coding: utf-8 -*-\n#\n# Configuration file for the Sphinx documentation builder.\n#\n# This file does only contain a selection of the most common options. For a\n# full list see the documentation:\n# http://www.sphinx-doc.org/en/master/config\n\n# -- Path setup ------------------------------...
diff --git a/README.md b/README.md index 33e2c43a5e..fd7a57d447 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ <div align="center"> -![Logo](https://raw.githubusercontent.com/PyTorchLightning/pytorch-lightning-bolts/master/docs/source/_images/logos/lightning_logo.svg) +![Logo](https://raw.githubusercontent.com/PyTorchLightning/pytorch-lightning-bolts/master/docs/source/_images/logos/bolts_logo.png) # PyTorch Lightning Bolts diff --git a/docs/source/_images/logos/bolts_logo.png b/docs/source/_images/logos/bolts_logo.png new file mode 100644 index 0000000000..841505feb3 Binary files /dev/null and b/docs/source/_images/logos/bolts_logo.png differ diff --git a/docs/source/_images/logos/lightning_icon.svg b/docs/source/_images/logos/lightning_icon.svg index 5ab3512c04..c2213e4f9e 100644 --- a/docs/source/_images/logos/lightning_icon.svg +++ b/docs/source/_images/logos/lightning_icon.svg @@ -1,62 +1,8 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg - xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:cc="http://creativecommons.org/ns#" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:svg="http://www.w3.org/2000/svg" - xmlns="http://www.w3.org/2000/svg" - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - id="svg" - version="1.1" - width="16.000004" - height="15.999986" - viewBox="0 0 16.000004 15.999986" - sodipodi:docname="lightning_icon.svg" - inkscape:version="0.92.3 (2405546, 2018-03-11)"> - <metadata - id="metadata13"> - <rdf:RDF> - <cc:Work - rdf:about=""> - <dc:format>image/svg+xml</dc:format> - <dc:type - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title></dc:title> - </cc:Work> - </rdf:RDF> - </metadata> - <defs - id="defs11" /> - <sodipodi:namedview - pagecolor="#ffffff" - bordercolor="#666666" - borderopacity="1" - objecttolerance="10" - gridtolerance="10" - guidetolerance="10" - inkscape:pageopacity="0" - inkscape:pageshadow="2" - inkscape:window-width="1920" - inkscape:window-height="1028" - id="namedview9" - showgrid="false" - inkscape:zoom="0.59" - inkscape:cx="-669.05062" - inkscape:cy="373.84245" - inkscape:window-x="0" - inkscape:window-y="0" - inkscape:window-maximized="1" - inkscape:current-layer="svg" /> - <path - style="fill:#fbfbfb;fill-rule:evenodd;stroke:none;stroke-width:0.04002798" - inkscape:connector-curvature="0" - d="m 8.987101,1.723485 c -0.05588,0.03422 -4.121881,4.096544 -4.184645,4.180924 -0.02317,0.0311 -0.04587,0.06016 -0.05044,0.06456 -0.0087,0.0084 -0.07477,0.145063 -0.09679,0.20014 -0.05848,0.146583 -0.05804,0.44387 0.001,0.592413 0.08426,0.21243 0.08826,0.216754 1.576864,1.706274 0.779463,0.779947 1.41719,1.426877 1.41719,1.437604 0,0.0232 -0.253177,0.79848 -0.273873,0.838707 -0.0079,0.0153 -0.01433,0.04087 -0.01433,0.05684 0,0.01597 -0.0059,0.03587 -0.01313,0.04423 -0.0072,0.0084 -0.03678,0.09086 -0.06568,0.18333 -0.02893,0.09246 -0.05904,0.180647 -0.06693,0.195937 -0.0079,0.0153 -0.01437,0.04087 -0.01437,0.05684 0,0.01597 -0.0059,0.03586 -0.01313,0.04423 -0.0072,0.0084 -0.03679,0.09086 -0.06569,0.18333 -0.02893,0.09246 -0.05904,0.180643 -0.06693,0.195937 -0.0079,0.0153 -0.01437,0.04187 -0.01437,0.05908 0,0.0172 -0.0072,0.03574 -0.016,0.04119 -0.0088,0.0054 -0.016,0.02607 -0.016,0.04579 0,0.01973 -0.006,0.04271 -0.0134,0.05108 -0.0074,0.0084 -0.04439,0.112477 -0.08222,0.23136 -0.03787,0.118884 -0.151103,0.461124 -0.251693,0.760534 -0.489984,1.45874 -0.462444,1.36155 -0.413611,1.45938 0.06917,0.138657 0.23128,0.199741 0.358251,0.134974 0.07057,-0.03602 4.143298,-4.099985 4.245368,-4.236242 0.03382,-0.04515 0.09094,-0.165796 0.109916,-0.232123 0.0088,-0.03083 0.0243,-0.08498 0.03442,-0.120363 0.03346,-0.11668 0.0068,-0.361134 -0.0566,-0.520084 C 10.880518,9.229614 10.738898,9.079187 9.372744,7.714673 8.601524,6.944416 7.970523,6.302806 7.970523,6.288916 c 0,-0.01393 0.02817,-0.107833 0.0626,-0.208663 0.03442,-0.100834 0.07881,-0.237367 0.09859,-0.303414 0.0198,-0.06605 0.04207,-0.12693 0.04947,-0.135293 0.0074,-0.0084 0.0135,-0.03133 0.0135,-0.05108 0,-0.01973 0.0072,-0.04035 0.016,-0.04579 0.0088,-0.0054 0.016,-0.02707 0.016,-0.04803 0,-0.02097 0.0072,-0.04259 0.016,-0.04803 0.0088,-0.0054 0.016,-0.02707 0.016,-0.04803 0,-0.02097 0.0072,-0.04259 0.016,-0.04803 0.0088,-0.0054 0.016,-0.02707 0.016,-0.04803 0,-0.02097 0.0072,-0.04259 0.016,-0.04803 0.0088,-0.0054 0.016,-0.02707 0.016,-0.04803 0,-0.02097 0.0072,-0.04259 0.016,-0.04803 0.0088,-0.0054 0.016,-0.02707 0.016,-0.04803 0,-0.02097 0.0072,-0.04259 0.016,-0.04803 0.0088,-0.0054 0.016,-0.02707 0.016,-0.04803 0,-0.02097 0.0072,-0.04259 0.016,-0.04804 0.0088,-0.0054 0.016,-0.02707 0.016,-0.04803 0,-0.02097 0.0072,-0.04259 0.016,-0.04803 0.0088,-0.0054 0.016,-0.02707 0.016,-0.04803 0,-0.02097 0.0072,-0.04259 0.016,-0.04803 0.0088,-0.0054 0.016,-0.02707 0.016,-0.04803 0,-0.02097 0.0072,-0.04259 0.016,-0.04803 0.0088,-0.0054 0.016,-0.02707 0.016,-0.04803 0,-0.02097 0.0072,-0.04259 0.016,-0.04803 0.0088,-0.0054 0.016,-0.02707 0.016,-0.04803 0,-0.02097 0.0072,-0.04259 0.016,-0.04803 0.0088,-0.0054 0.016,-0.02707 0.016,-0.04803 0,-0.02097 0.0072,-0.04259 0.016,-0.04803 0.0088,-0.0054 0.016,-0.02707 0.016,-0.04803 0,-0.02097 0.0072,-0.04259 0.016,-0.04804 0.0088,-0.0054 0.016,-0.02707 0.016,-0.04803 0,-0.02097 0.0072,-0.04259 0.016,-0.04803 0.0088,-0.0054 0.016,-0.02397 0.016,-0.04119 0,-0.0172 0.0065,-0.04379 0.0144,-0.05908 0.0079,-0.0153 0.119204,-0.34484 0.247334,-0.73231 C 9.064507,2.979766 9.220177,2.513319 9.28226,2.330632 9.408267,1.960092 9.41367,1.921146 9.35255,1.826839 9.27225,1.703032 9.099973,1.654399 8.986893,1.723566" - id="path0" /> - <path - style="fill:#540c8c;fill-rule:evenodd;stroke:none;stroke-width:0.04002798" - inkscape:connector-curvature="0" - d="m 0.07719102,0.01733399 c -0.02187,0.0111 -0.04875,0.03799 -0.05984,0.05984 -0.0161,0.03173 -0.01937,1.62421701 -0.01633,7.94479601 l 0.0038,7.905086 0.03647,0.03646 0.03646,0.03647 H 8.00241 15.927073 l 0.03646,-0.03647 0.03647,-0.03646 V 8.002393 0.07773399 l -0.03647,-0.03646 -0.03646,-0.03647 -7.905086,-0.0038 c -6.320579,-0.003 -7.91305298,2.4e-4 -7.94479598,0.01633 M 9.193764,1.668208 c 0.259903,0.09046 0.275193,0.212427 0.09363,0.74628 C 8.845834,3.776859 8.388843,5.102846 7.991127,6.302606 L 9.415644,7.72492 c 1.24415,1.242111 1.51682,1.523547 1.51682,1.565414 0,0.0051 0.0133,0.03987 0.02953,0.07718 0.12913,0.296607 0.0877,0.664983 -0.103314,0.91872 -0.141456,0.187933 -4.207341,4.228478 -4.273468,4.246848 -0.139417,0.03871 -0.248653,-0.006 -0.34324,-0.140417 -0.07665,-0.108996 -0.06985,-0.137256 0.287004,-1.194633 0.34663,-1.101761 0.75901,-2.243218 1.08916,-3.290661 0,-0.0078 -0.636164,-0.650377 -1.413707,-1.427921 C 4.877658,7.152643 4.728155,6.995813 4.673718,6.87361 4.661948,6.84718 4.645988,6.81305 4.638168,6.79776 4.630368,6.78246 4.624038,6.75689 4.624038,6.74092 c 0,-0.01597 -0.0076,-0.03659 -0.01687,-0.04587 -0.02253,-0.02253 -0.02253,-0.436904 0,-0.45944 0.0093,-0.0093 0.01687,-0.0327 0.01687,-0.05204 0,-0.0363 0.06917,-0.178363 0.130414,-0.267907 0.07965,-0.1164 4.221831,-4.237681 4.259458,-4.237921 0.02047,-1.2e-4 0.04803,-0.0072 0.06124,-0.01577 0.03147,-0.02033 0.04415,-0.01967 0.118603,0.0062" - id="path1" - sodipodi:nodetypes="ccscccccccccccscccccscccccccccsssscccc" /> +<svg width="36" height="42" viewBox="0 0 36 42" fill="none" xmlns="http://www.w3.org/2000/svg"> +<mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="36" height="42"> +<path d="M17.9368 0L0 10.5V31.5L17.9375 42L35.875 31.5V10.5L17.9368 0ZM14.8314 31.5014L16.7203 23.3499L12.4729 19.1555L21.0692 10.4993L19.1768 18.6634L23.4014 22.8354L14.8314 31.5014Z" fill="#792EE5"/> +</mask> +<g mask="url(#mask0)"> +<rect x="-6.03564" y="-6.38623" width="47.8901" height="54.6798" fill="#792EE5"/> +</g> </svg> diff --git a/docs/source/conf.py b/docs/source/conf.py index af7696c8f9..838abf291f 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -179,7 +179,7 @@ 'logo_only': False, } -html_logo = '_images/logos/lightning_logo-name.svg' +html_logo = '_images/logos/bolts_logo.png' html_favicon = '_images/logos/lightning_icon.svg'
pulp__pulpcore-119
[noissue]: Update aiohttp requirement from <3.9.1,>=3.8.1 to >=3.8.1,<3.9.2 Updates the requirements on [aiohttp](https://github.com/aio-libs/aiohttp) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/aio-libs/aiohttp/releases">aiohttp's releases</a>.</em></p> <blockquote> <h2>3.9.1</h2> <h2>Bugfixes</h2> <ul> <li> <p>Fixed importing aiohttp under PyPy on Windows.</p> <p>(<a href="https://redirect.github.com/aio-libs/aiohttp/issues/7848">#7848</a>)</p> </li> <li> <p>Fixed async concurrency safety in websocket compressor.</p> <p>(<a href="https://redirect.github.com/aio-libs/aiohttp/issues/7865">#7865</a>)</p> </li> <li> <p>Fixed <code>ClientResponse.close()</code> releasing the connection instead of closing.</p> <p>(<a href="https://redirect.github.com/aio-libs/aiohttp/issues/7869">#7869</a>)</p> </li> <li> <p>Fixed a regression where connection may get closed during upgrade. -- by :user:<code>Dreamsorcerer</code></p> <p>(<a href="https://redirect.github.com/aio-libs/aiohttp/issues/7879">#7879</a>)</p> </li> <li> <p>Fixed messages being reported as upgraded without an Upgrade header in Python parser. -- by :user:<code>Dreamsorcerer</code></p> <p>(<a href="https://redirect.github.com/aio-libs/aiohttp/issues/7895">#7895</a>)</p> </li> </ul> <hr /> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst">aiohttp's changelog</a>.</em></p> <blockquote> <h1>3.9.1 (2023-11-26)</h1> <h2>Bugfixes</h2> <ul> <li> <p>Fixed importing aiohttp under PyPy on Windows.</p> <p><code>[#7848](https://github.com/aio-libs/aiohttp/issues/7848) &lt;https://github.com/aio-libs/aiohttp/issues/7848&gt;</code>_</p> </li> <li> <p>Fixed async concurrency safety in websocket compressor.</p> <p><code>[#7865](https://github.com/aio-libs/aiohttp/issues/7865) &lt;https://github.com/aio-libs/aiohttp/issues/7865&gt;</code>_</p> </li> <li> <p>Fixed <code>ClientResponse.close()</code> releasing the connection instead of closing.</p> <p><code>[#7869](https://github.com/aio-libs/aiohttp/issues/7869) &lt;https://github.com/aio-libs/aiohttp/issues/7869&gt;</code>_</p> </li> <li> <p>Fixed a regression where connection may get closed during upgrade. -- by :user:<code>Dreamsorcerer</code></p> <p><code>[#7879](https://github.com/aio-libs/aiohttp/issues/7879) &lt;https://github.com/aio-libs/aiohttp/issues/7879&gt;</code>_</p> </li> <li> <p>Fixed messages being reported as upgraded without an Upgrade header in Python parser. -- by :user:<code>Dreamsorcerer</code></p> <p><code>[#7895](https://github.com/aio-libs/aiohttp/issues/7895) &lt;https://github.com/aio-libs/aiohttp/issues/7895&gt;</code>_</p> </li> </ul> <hr /> <h1>3.9.0 (2023-11-18)</h1> <h2>Features</h2> <ul> <li> <p>Introduced <code>AppKey</code> for static typing support of <code>Application</code> storage. See <a href="https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config">https://docs.aiohttp.org/en/stable/web_advanced.html#application-s-config</a></p> <p><code>[#5864](https://github.com/aio-libs/aiohttp/issues/5864) &lt;https://github.com/aio-libs/aiohttp/issues/5864&gt;</code>_</p> </li> <li> <p>Added a graceful shutdown period which allows pending tasks to complete before the application's cleanup is called. The period can be adjusted with the <code>shutdown_timeout</code> parameter. -- by :user:<code>Dreamsorcerer</code>. See <a href="https://docs.aiohttp.org/en/latest/web_advanced.html#graceful-shutdown">https://docs.aiohttp.org/en/latest/web_advanced.html#graceful-shutdown</a></p> <p><code>[#7188](https://github.com/aio-libs/aiohttp/issues/7188) &lt;https://github.com/aio-libs/aiohttp/issues/7188&gt;</code>_</p> </li> <li> <p>Added <code>handler_cancellation &lt;https://docs.aiohttp.org/en/stable/web_advanced.html#web-handler-cancellation&gt;</code>_ parameter to cancel web handler on client disconnection. -- by :user:<code>mosquito</code> This (optionally) reintroduces a feature removed in a previous release.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/aio-libs/aiohttp/commit/6333c026422c6b0fe57ff63cde4104e2d00f47f4"><code>6333c02</code></a> Release v3.9.1 (<a href="https://redirect.github.com/aio-libs/aiohttp/issues/7911">#7911</a>)</li> <li><a href="https://github.com/aio-libs/aiohttp/commit/9dbd273093d6af6f5e1481816b05a7192860b440"><code>9dbd273</code></a> [PR <a href="https://redirect.github.com/aio-libs/aiohttp/issues/7673">#7673</a>/aa7d1a8f backport][3.9] Document release process (<a href="https://redirect.github.com/aio-libs/aiohttp/issues/7909">#7909</a>)</li> <li><a href="https://github.com/aio-libs/aiohttp/commit/dd175b6b89564dc74fba0692a8a5f9a9b38e528a"><code>dd175b6</code></a> Fix regression with connection upgrade (<a href="https://redirect.github.com/aio-libs/aiohttp/issues/7879">#7879</a>) (<a href="https://redirect.github.com/aio-libs/aiohttp/issues/7908">#7908</a>)</li> <li><a href="https://github.com/aio-libs/aiohttp/commit/946523d6380bd79e13146557432f46f6f9bbd53f"><code>946523d</code></a> Fix flaky websocket test (<a href="https://redirect.github.com/aio-libs/aiohttp/issues/7902">#7902</a>) (<a href="https://redirect.github.com/aio-libs/aiohttp/issues/7904">#7904</a>)</li> <li><a href="https://github.com/aio-libs/aiohttp/commit/ddc2a26c9e0c43fd1229e4424f2a30d1b10ced13"><code>ddc2a26</code></a> [PR <a href="https://redirect.github.com/aio-libs/aiohttp/issues/7896">#7896</a>/9a7cfe77 backport][3.9] Fix some flaky tests (<a href="https://redirect.github.com/aio-libs/aiohttp/issues/7900">#7900</a>)</li> <li><a href="https://github.com/aio-libs/aiohttp/commit/2ae4d6ffdd015f622bfb75dee98ad629240cccc4"><code>2ae4d6f</code></a> Message is not upgraded if Upgrade header is missing (<a href="https://redirect.github.com/aio-libs/aiohttp/issues/7895">#7895</a>) (<a href="https://redirect.github.com/aio-libs/aiohttp/issues/7898">#7898</a>)</li> <li><a href="https://github.com/aio-libs/aiohttp/commit/bb111012706d3ef9edc525be3d8d4df410ad847f"><code>bb11101</code></a> Restore async concurrency safety to websocket compressor (<a href="https://redirect.github.com/aio-libs/aiohttp/issues/7865">#7865</a>) (<a href="https://redirect.github.com/aio-libs/aiohttp/issues/7889">#7889</a>)</li> <li><a href="https://github.com/aio-libs/aiohttp/commit/6dd0122417f00ed4b2b353226a1b164b6463a245"><code>6dd0122</code></a> Update dependabot.yml (<a href="https://redirect.github.com/aio-libs/aiohttp/issues/7888">#7888</a>)</li> <li><a href="https://github.com/aio-libs/aiohttp/commit/41a9f1f5b9b2630b1f4b971811c7ef8f016262fb"><code>41a9f1f</code></a> Bump mypy from 1.7.0 to 1.7.1 (<a href="https://redirect.github.com/aio-libs/aiohttp/issues/7882">#7882</a>)</li> <li><a href="https://github.com/aio-libs/aiohttp/commit/a04970150c6ce9fda22c9f63d947845f79148b4c"><code>a049701</code></a> Fix usage of proxy.py in test_proxy_functional (<a href="https://redirect.github.com/aio-libs/aiohttp/issues/7773">#7773</a>) (<a href="https://redirect.github.com/aio-libs/aiohttp/issues/7876">#7876</a>)</li> <li>Additional commits viewable in <a href="https://github.com/aio-libs/aiohttp/compare/v3.8.1...v3.9.1">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
[ { "content": "from gettext import gettext as _\nimport hashlib\n\nfrom django.db import transaction\nfrom drf_chunked_upload.serializers import ChunkedUploadSerializer\nfrom rest_framework import serializers\nfrom rest_framework.validators import UniqueValidator\n\nfrom pulpcore.app import models, files\nfrom p...
[ { "content": "from gettext import gettext as _\nimport hashlib\n\nfrom django.db import transaction\nfrom drf_chunked_upload.serializers import ChunkedUploadSerializer\nfrom rest_framework import serializers\nfrom rest_framework.validators import UniqueValidator\n\nfrom pulpcore.app import models, files\nfrom p...
diff --git a/pulpcore/app/serializers/content.py b/pulpcore/app/serializers/content.py index c92f386f6d..69588fce10 100644 --- a/pulpcore/app/serializers/content.py +++ b/pulpcore/app/serializers/content.py @@ -99,6 +99,7 @@ class ArtifactSerializer(base.ModelSerializer): file = serializers.FileField( help_text=_("The stored file."), + allow_empty_file=True, required=False ) diff --git a/pulpcore/tests/functional/api/test_crd_artifacts.py b/pulpcore/tests/functional/api/test_crd_artifacts.py index b96b98fe05..886cd9ceb4 100644 --- a/pulpcore/tests/functional/api/test_crd_artifacts.py +++ b/pulpcore/tests/functional/api/test_crd_artifacts.py @@ -54,11 +54,31 @@ def test_upload_valid_attrs(self): for keys in itertools.combinations(file_attrs, i): data = {key: file_attrs[key] for key in keys} with self.subTest(data=data): - self._do_upload_valid_attrs(data) + self._do_upload_valid_attrs(data, self.file) - def _do_upload_valid_attrs(self, data): + def test_upload_empty_file(self): + """Upload an empty file. + + For each possible combination of ``sha256`` and ``size`` (including + neither), do the following: + + 1. Upload a file with the chosen combination of attributes. + 2. Verify that an artifact has been created, and that it has valid + attributes. + 3. Delete the artifact, and verify that its attributes are + inaccessible. + """ + empty_file = b'' + file_attrs = {'sha256': hashlib.sha256(empty_file).hexdigest(), 'size': 0} + for i in range(len(file_attrs) + 1): + for keys in itertools.combinations(file_attrs, i): + data = {key: file_attrs[key] for key in keys} + with self.subTest(data=data): + self._do_upload_valid_attrs(data, files={'file': empty_file}) + + def _do_upload_valid_attrs(self, data, files): """Upload a file with the given attributes.""" - artifact = self.client.post(ARTIFACTS_PATH, data=data, files=self.file) + artifact = self.client.post(ARTIFACTS_PATH, data=data, files=files) self.addCleanup(self.client.delete, artifact['_href']) read_artifact = self.client.get(artifact['_href']) for key, val in artifact.items():
pypa__setuptools-4007
Extra directories exposed by editable wheel for `setuptools` project itself I noticed in `main` (5169a9b1f) that some extra directories of the `setuptools` project ended up exposed by the editable wheel. Specifically `launcher` and `newsfragments`. This is a quick reproducer: ```bash git clone --depth 1 https://github.com/pypa/setuptools /tmp/test-setuptools cd /tmp/test-setuptools git reset --hard 5169a9b python3.11 -m venv .venv .venv/bin/python -m pip install -U 'pip==23.2.1' .venv/bin/python -m pip install -e . cat .venv/lib/python3.11/site-packages/__editable___setuptools_*_finder.py | head ``` ```console import sys from importlib.machinery import ModuleSpec from importlib.machinery import all_suffixes as module_suffixes from importlib.util import spec_from_file_location from itertools import chain from pathlib import Path MAPPING = {'_distutils_hack': '/tmp/test-setuptools/_distutils_hack', 'launcher': '/tmp/test-setuptools/launcher', 'newsfragments': '/tmp/test-setuptools/newsfragments', 'pkg_resources': '/tmp/test-setuptools/pkg_resources', 'setuptools': '/tmp/test-setuptools/setuptools'} NAMESPACES = {'launcher': ['/tmp/test-setuptools/launcher'], 'newsfragments': ['/tmp/test-setuptools/newsfragments']} PATH_PLACEHOLDER = '__editable__.setuptools-68.0.0.post20230808.finder' + ".__path_hook__" ``` This is likely caused by the way `packages = find_namespace:` is configured in `setup.cfg`. We can check that by running: ```python # Still inside /tmp/test-setuptools from the previous example .venv/bin/python Python 3.11.4 (main, Jun 7 2023, 12:45:49) [GCC 9.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import setuptools >>> from distutils.core import run_setup >>> dist = run_setup("setup.py", stop_after="commandline") >>> dist.packages ['launcher', 'newsfragments', 'pkg_resources', 'setuptools', '_distutils_hack', 'pkg_resources.extern', 'pkg_resources._vendor', 'pkg_resources._vendor.importlib_resources', 'pkg_resources._vendor.jaraco', 'pkg_resources._vendor.more_itertools', 'pkg_resources._vendor.packaging', 'pkg_resources._vendor.platformdirs', 'pkg_resources._vendor.jaraco.text', 'setuptools.command', 'setuptools.config', 'setuptools.extern', 'setuptools._distutils', 'setuptools._vendor', 'setuptools.config._validate_pyproject', 'setuptools._distutils.command', 'setuptools._vendor.importlib_metadata', 'setuptools._vendor.importlib_resources', 'setuptools._vendor.jaraco', 'setuptools._vendor.more_itertools', 'setuptools._vendor.packaging', 'setuptools._vendor.tomli', 'setuptools._vendor.jaraco.text'] >>> "newsfragments" in dist.packages True >>> "launcher" in dist.packages True ``` I imagine that the reason why `newsfragments` and `launcher` are not included in the regular wheel is because `setup.cfg/setup.py` does not have `package_data = [...]` or `include_package_data = True`, so the `.rst` and `.exe` files are excluded from the wheel, and therefore the `newsfragments` and `launcher` directories end up empty during the build, which will automatically remove them from the zip (zip files cannot contain empty directories right?) The expectation would be that the `packages` configuration exclude these directories by default (even if they don't contain `.py` files) to prevent errors (e.g. in the future we could end up adding files to these directories that are captured by setuptools `package_data` or `include_package_data`).
[ { "content": "\"\"\"Automatic discovery of Python modules and packages (for inclusion in the\ndistribution) and other config values.\n\nFor the purposes of this module, the following nomenclature is used:\n\n- \"src-layout\": a directory representing a Python project that contains a \"src\"\n folder. Everythin...
[ { "content": "\"\"\"Automatic discovery of Python modules and packages (for inclusion in the\ndistribution) and other config values.\n\nFor the purposes of this module, the following nomenclature is used:\n\n- \"src-layout\": a directory representing a Python project that contains a \"src\"\n folder. Everythin...
diff --git a/newsfragments/4007.misc.rst b/newsfragments/4007.misc.rst new file mode 100644 index 0000000000..5d57bf9d47 --- /dev/null +++ b/newsfragments/4007.misc.rst @@ -0,0 +1 @@ +Ignore ``newsfragments`` directories in the source tree when performing automatic discovery of packages. diff --git a/setup.cfg b/setup.cfg index d201e9d22c..f8ca0998b7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -38,6 +38,8 @@ exclude = *.tests.* tools* debian* + launcher* + newsfragments* [options.extras_require] testing = diff --git a/setuptools/discovery.py b/setuptools/discovery.py index ec817ab45f..25962863b9 100644 --- a/setuptools/discovery.py +++ b/setuptools/discovery.py @@ -219,6 +219,7 @@ class FlatLayoutPackageFinder(PEP420PackageFinder): "documentation", "manpages", "news", + "newsfragments", "changelog", "test", "tests",
freedomofpress__securedrop-6492
Initial messages containing non-ascii characters fail if codename filtering is enabled. ## Description Codename filtering was introduced in 2.3.0, allowing admins to block initial submissions containing only the user's codename, as they should not be shared with journalists. The filter uses the `compare_digest()` function to ensure constant-time comparison, but this fn will throw a `TypeError` if any of the strings being compared contain Unicode. ## Steps to Reproduce - start up `make dev` on 2.4.0 - visit the JI and enable codename filtering under Admin > Instance Config - visit the SI, create a new source, and submit an initial message containing unicode, ie `Hallo! ö, ü, ä, or ß` ## Expected Behavior - Message is submitted ## Actual Behavior - 500 error, and (in dev) stack trace due to TypeError ## Comments Suggestions to fix, any other relevant information.
[ { "content": "import json\nimport re\nimport subprocess\nimport typing\nfrom hmac import compare_digest\n\nimport werkzeug\nfrom flask import current_app, flash, redirect, render_template, url_for\nfrom flask.sessions import SessionMixin\nfrom flask_babel import gettext\nfrom markupsafe import Markup, escape\nf...
[ { "content": "import json\nimport re\nimport subprocess\nimport typing\nfrom hmac import compare_digest\n\nimport werkzeug\nfrom flask import current_app, flash, redirect, render_template, url_for\nfrom flask.sessions import SessionMixin\nfrom flask_babel import gettext\nfrom markupsafe import Markup, escape\nf...
diff --git a/securedrop/source_app/utils.py b/securedrop/source_app/utils.py index 5dbcb5d675..589f416c91 100644 --- a/securedrop/source_app/utils.py +++ b/securedrop/source_app/utils.py @@ -23,7 +23,7 @@ def codename_detected(message: str, codename: str) -> bool: """ message = message.strip() - return compare_digest(message.strip(), codename) + return compare_digest(message.strip().encode("utf-8"), codename.encode("utf-8")) def flash_msg( diff --git a/securedrop/tests/test_source.py b/securedrop/tests/test_source.py index 6a57d37489..53efdbd1a9 100644 --- a/securedrop/tests/test_source.py +++ b/securedrop/tests/test_source.py @@ -356,7 +356,10 @@ def _dummy_submission(app): """ return app.post( url_for("main.submit"), - data=dict(msg="Pay no attention to the man behind the curtain.", fh=(BytesIO(b""), "")), + data=dict( + msg="Hallo! ö, ü, ä, or ß...Pay no attention to the man behind the curtain.", + fh=(BytesIO(b""), ""), + ), follow_redirects=True, )
automl__auto-sklearn-1361
Check if test requirement `flaky` can be removed We currently have a test dependancy [flaky](https://pypi.org/project/flaky/) used to annotate a test `KernelPCAComponentTest::test_default_configuration_classify()`. This is the only place it's used.
[ { "content": "# -*- encoding: utf-8 -*-\nimport os\nimport sys\nfrom setuptools import setup, find_packages\n\n\n# Check if Auto-sklearn *could* run on the given system\nif os.name != 'posix':\n raise ValueError(\n 'Detected unsupported operating system: %s. Please check '\n 'the compability in...
[ { "content": "# -*- encoding: utf-8 -*-\nimport os\nimport sys\nfrom setuptools import setup, find_packages\n\n\n# Check if Auto-sklearn *could* run on the given system\nif os.name != 'posix':\n raise ValueError(\n 'Detected unsupported operating system: %s. Please check '\n 'the compability in...
diff --git a/Dockerfile b/Dockerfile index d9f73b2c83..e2a74c04f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,7 +32,7 @@ ADD . /auto-sklearn/ # Upgrade pip then install dependencies RUN pip3 install --upgrade pip -RUN pip3 install pytest==4.6.* pep8 codecov pytest-cov flake8 flaky openml +RUN pip3 install pytest==4.6.* pep8 codecov pytest-cov flake8 openml RUN cat /auto-sklearn/requirements.txt | xargs -n 1 -L 1 pip3 install RUN pip3 install jupyter diff --git a/setup.py b/setup.py index ac284efcf6..6107e60321 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,6 @@ "mypy", "pytest-xdist", "pytest-timeout", - "flaky", "openml", "pre-commit", "pytest-cov", diff --git a/test/test_pipeline/components/feature_preprocessing/test_kernel_pca.py b/test/test_pipeline/components/feature_preprocessing/test_kernel_pca.py index 839b0df947..19b1368a49 100644 --- a/test/test_pipeline/components/feature_preprocessing/test_kernel_pca.py +++ b/test/test_pipeline/components/feature_preprocessing/test_kernel_pca.py @@ -1,7 +1,5 @@ import unittest -import pytest - from sklearn.linear_model import RidgeClassifier from autosklearn.pipeline.components.feature_preprocessing.kernel_pca import \ KernelPCA @@ -25,7 +23,6 @@ def test_default_configuration_sparse(self): self.assertEqual(transformation.shape[0], original.shape[0]) self.assertFalse((transformation == 0).all()) - @pytest.mark.flaky() def test_default_configuration_classify(self): for i in range(5): X_train, Y_train, X_test, Y_test = get_dataset(dataset='digits',
python__python-docs-es-1712
Translate 'library/base64.po' This needs to reach 100% translated. The rendered version of this file will be available at https://docs.python.org/es/3.10/library/base64.html once translated. Meanwhile, the English version is shown. Current stats for `library/base64.po`: * Fuzzy: 4 * Percent translated: 90.9% * Entries: 50 / 55 * Untranslated: 5 Please, comment here if you want this file to be assigned to you and an member will assign it to you as soon as possible, so you can start working on it. Remember to follow the steps in our [Contributing Guide](https://python-docs-es.readthedocs.io/page/CONTRIBUTING.html).
[ { "content": "import os\nimport re\nimport sys\nfrom typing import Dict, Tuple\n\nimport polib\n\nVERBOSE = False\nDEBUG = False\nSKIP_TRANSLATED_ENTRIES = True\n\ntry:\n from deep_translator import GoogleTranslator\nexcept ImportError:\n print(\"Error: This util script needs `deep_translator` to be insta...
[ { "content": "import os\nimport re\nimport sys\nfrom typing import Dict, Tuple\n\nimport polib\n\nVERBOSE = False\nDEBUG = False\nSKIP_TRANSLATED_ENTRIES = True\n\ntry:\n from deep_translator import GoogleTranslator\nexcept ImportError:\n print(\"Error: This util script needs `deep_translator` to be insta...
diff --git a/library/base64.po b/library/base64.po index 1a27805120..f3ee62a0e7 100644 --- a/library/base64.po +++ b/library/base64.po @@ -13,12 +13,12 @@ msgstr "" "POT-Creation-Date: 2021-10-16 21:42+0200\n" "PO-Revision-Date: 2020-06-29 21:32+0200\n" "Last-Translator: Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n" -"Language: es\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1)\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" "Generated-By: Babel 2.9.1\n" #: ../Doc/library/base64.rst:2 @@ -31,7 +31,6 @@ msgid "**Source code:** :source:`Lib/base64.py`" msgstr "**Código fuente:** :source:`Lib/base64.py`" #: ../Doc/library/base64.rst:16 -#, fuzzy msgid "" "This module provides functions for encoding binary data to printable ASCII " "characters and decoding such encodings back to binary data. It provides " @@ -42,25 +41,24 @@ msgstr "" "Este módulo proporciona funciones para codificar datos binarios en " "caracteres ASCII imprimibles y decodificar dichas codificaciones en datos " "binarios. Proporciona funciones de codificación y decodificación para las " -"codificaciones especificadas en :rfc:`3548`, que define los algoritmos " +"codificaciones especificadas en :rfc:`4648`, que define los algoritmos " "Base16, Base32 y Base64, y para las codificaciones estándar de facto Ascii85 " "y Base85." #: ../Doc/library/base64.rst:22 -#, fuzzy msgid "" "The :rfc:`4648` encodings are suitable for encoding binary data so that it " "can be safely sent by email, used as parts of URLs, or included as part of " "an HTTP POST request. The encoding algorithm is not the same as the :" "program:`uuencode` program." msgstr "" -"Las codificaciones :rfc:`3548` son adecuadas para codificar datos binarios " +"Las codificaciones :rfc:`4648` son adecuadas para codificar datos binarios " "para que puedan enviarse de forma segura por correo electrónico, usarse como " -"partes de URL o incluirse como parte de una solicitud HTTP POST. El " -"algoritmo de codificación no es el mismo que el programa :program:`uuencode`." +"parte de las URL o incluirse como parte de una solicitud HTTP POST. El " +"algoritmo de codificación no es el mismo que el del programa :program:" +"`uuencode`." #: ../Doc/library/base64.rst:27 -#, fuzzy msgid "" "There are two interfaces provided by this module. The modern interface " "supports encoding :term:`bytes-like objects <bytes-like object>` to ASCII :" @@ -70,10 +68,10 @@ msgid "" msgstr "" "Hay dos interfaces proporcionadas por este módulo. La interfaz moderna " "admite la codificación de :term:`objetos similares a bytes <bytes-like " -"object>` a ASCII :class:`bytes`, y decodificación :term:`objetos similares a " -"bytes <bytes-like object>` o cadenas de caracteres que contienen ASCII a :" -"class:`bytes`. Ambos alfabetos de base 64 definidos en :rfc:`3548` (normal y " -"seguro para URL y sistema de archivos) son compatibles." +"object>` a ASCII :class:`bytes` y la decodificación de :term:`objetos " +"similares a bytes <bytes-like object>` o cadenas que contienen ASCII a :" +"class:`bytes`. Se admiten los dos alfabetos base 64 definidos en :rfc:`4648` " +"(normal y seguro para URL y sistema de archivos)." #: ../Doc/library/base64.rst:33 msgid "" @@ -246,7 +244,6 @@ msgstr "" "es ``Falso``." #: ../Doc/library/base64.rst:127 -#, fuzzy msgid "" ":rfc:`4648` allows for optional mapping of the digit 0 (zero) to the letter " "O (oh), and for optional mapping of the digit 1 (one) to either the letter I " @@ -256,13 +253,13 @@ msgid "" "purposes the default is ``None``, so that 0 and 1 are not allowed in the " "input." msgstr "" -":rfc:`3548` permite el mapeo opcional del dígito 0 (cero) a la letra O (oh), " -"y el mapeo opcional del dígito 1 (uno) a la letra I (*eye*) o la letra L " -"(el) . El argumento opcional *map01* cuando no es ``None``, especifica a qué " -"letra se debe asignar el dígito 1 (cuando *map01* no es ``None``, el dígito " -"0 siempre se asigna a la letra O). Por motivos de seguridad, el valor " -"predeterminado es ``None``, por lo que 0 y 1 no están permitidos en la " -"entrada." +":rfc:`4648` permite la asignación opcional del dígito 0 (cero) a la letra O " +"(oh), y la asignación opcional del dígito 1 (uno) a la letra I (ojo) o la " +"letra L (el) . El argumento opcional *map01* cuando no es ``None``, " +"especifica la letra a la cual el dígito 1 debería mapearse(cuando *map01* no " +"es ``None``, el dígito 0 siempre se asigna a la letra O). Por motivos de " +"seguridad, el valor predeterminado es ``None``, por lo que 0 y 1 no están " +"permitidos en la entrada." #: ../Doc/library/base64.rst:134 ../Doc/library/base64.rst:175 msgid "" @@ -277,12 +274,16 @@ msgid "" "Similar to :func:`b32encode` but uses the Extended Hex Alphabet, as defined " "in :rfc:`4648`." msgstr "" +"Similar a :func:`b32encode` pero usa el Alfabeto Hexagonal Extendido, como " +"se define en :rfc:`4648`." #: ../Doc/library/base64.rst:149 msgid "" "Similar to :func:`b32decode` but uses the Extended Hex Alphabet, as defined " "in :rfc:`4648`." msgstr "" +"Similar a :func:`b32decode` pero usa el Alfabeto Hexagonal Extendido, como " +"se define en :rfc:`4648`." #: ../Doc/library/base64.rst:152 msgid "" @@ -291,6 +292,10 @@ msgid "" "these characters are included in the Extended Hex Alphabet and are not " "interchangeable." msgstr "" +"Esta versión no permite el dígito 0 (cero) a la letra O (oh) y el dígito 1 " +"(uno) a las asignaciones de la letra I (ojo) o la letra L (el), todos estos " +"caracteres están incluidos en el Alfabeto Hexagonal Extendido y no son " +"intercambiables." #: ../Doc/library/base64.rst:162 msgid "" @@ -482,7 +487,7 @@ msgstr "Un ejemplo de uso del módulo:" #: ../Doc/library/base64.rst:293 msgid "Security Considerations" -msgstr "" +msgstr "Consideraciones de Seguridad" #: ../Doc/library/base64.rst:295 msgid "" @@ -490,6 +495,9 @@ msgid "" "it's recommended to review the security section for any code deployed to " "production." msgstr "" +"Se agregó una nueva sección de consideraciones de seguridad a :rfc:`4648` " +"(sección 12); se recomienda revisar la sección de seguridad para cualquier " +"código implementado en producción." #: ../Doc/library/base64.rst:301 msgid "Module :mod:`binascii`" diff --git a/scripts/translate.py b/scripts/translate.py index 7b9b131374..9a589214ef 100644 --- a/scripts/translate.py +++ b/scripts/translate.py @@ -42,6 +42,7 @@ ":program:`[^`]+`", ":keyword:`[^`]+`", ":RFC:`[^`]+`", + ":rfc:`[^`]+`", ":doc:`[^`]+`", "``[^`]+``", "`[^`]+`__",
holoviz__holoviews-5924
Unpin matplotlib 3.8 In https://github.com/holoviz/holoviews/pull/5895 I pinned matplotlib 3.8, this should be removed before the next release.
[ { "content": "#!/usr/bin/env python\n\nimport json\nimport os\nimport sys\nimport shutil\n\nfrom setuptools import setup, find_packages\n\nimport pyct.build\n\nsetup_args = {}\ninstall_requires = [\n \"param >=1.12.0,<3.0\",\n \"numpy >=1.0\",\n \"pyviz_comms >=0.7.4\",\n \"panel >=1.0\",\n \"col...
[ { "content": "#!/usr/bin/env python\n\nimport json\nimport os\nimport sys\nimport shutil\n\nfrom setuptools import setup, find_packages\n\nimport pyct.build\n\nsetup_args = {}\ninstall_requires = [\n \"param >=1.12.0,<3.0\",\n \"numpy >=1.0\",\n \"pyviz_comms >=0.7.4\",\n \"panel >=1.0\",\n \"col...
diff --git a/examples/gallery/demos/bokeh/bachelors_degrees_by_gender.ipynb b/examples/gallery/demos/bokeh/bachelors_degrees_by_gender.ipynb index 7a682ea46c..b1463b1a63 100644 --- a/examples/gallery/demos/bokeh/bachelors_degrees_by_gender.ipynb +++ b/examples/gallery/demos/bokeh/bachelors_degrees_by_gender.ipynb @@ -29,17 +29,6 @@ "## Define data" ] }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "This example uses the matplotlib sample data that conda users can fetch using:\n", - "\n", - "```\n", - "conda install -c conda-forge mpl_sample_data\n", - "```" - ] - }, { "cell_type": "code", "execution_count": null, @@ -47,10 +36,8 @@ "outputs": [], "source": [ "import pandas as pd\n", - "from matplotlib.cbook import get_sample_data\n", "\n", - "fname = get_sample_data('percent_bachelors_degrees_women_usa.csv')\n", - "gender_degree_data = pd.read_csv(fname)\n", + "gender_degree_data = pd.read_csv(\"https://datasets.holoviz.org/bachelor_women/v1/percent_bachelors_degrees_women_usa.csv\")\n", "\n", "title = ('Percentage of Bachelor\\'s degrees conferred to women in '\n", " 'the U.S.A. by major (1970-2011)\\n')\n", @@ -130,5 +117,5 @@ } }, "nbformat": 4, - "nbformat_minor": 2 + "nbformat_minor": 4 } diff --git a/examples/gallery/demos/bokeh/bars_economic.ipynb b/examples/gallery/demos/bokeh/bars_economic.ipynb index 4c08fefe11..559dbd3ded 100644 --- a/examples/gallery/demos/bokeh/bars_economic.ipynb +++ b/examples/gallery/demos/bokeh/bars_economic.ipynb @@ -68,5 +68,5 @@ } }, "nbformat": 4, - "nbformat_minor": 2 + "nbformat_minor": 4 } diff --git a/examples/gallery/demos/bokeh/topographic_hillshading.ipynb b/examples/gallery/demos/bokeh/topographic_hillshading.ipynb index 511b5c025e..bf7f972366 100644 --- a/examples/gallery/demos/bokeh/topographic_hillshading.ipynb +++ b/examples/gallery/demos/bokeh/topographic_hillshading.ipynb @@ -40,7 +40,7 @@ "from matplotlib.cbook import get_sample_data\n", "from matplotlib.colors import LightSource\n", "\n", - "dem = np.load(get_sample_data('jacksboro_fault_dem.npz'))\n", + "dem = get_sample_data('jacksboro_fault_dem.npz')\n", "z = dem['elevation']\n", "\n", "dx, dy = dem['dx'], dem['dy']\n", @@ -89,5 +89,5 @@ } }, "nbformat": 4, - "nbformat_minor": 2 + "nbformat_minor": 4 } diff --git a/examples/gallery/demos/matplotlib/bachelors_degrees_by_gender.ipynb b/examples/gallery/demos/matplotlib/bachelors_degrees_by_gender.ipynb index 129d2031d1..4277bf24db 100644 --- a/examples/gallery/demos/matplotlib/bachelors_degrees_by_gender.ipynb +++ b/examples/gallery/demos/matplotlib/bachelors_degrees_by_gender.ipynb @@ -37,10 +37,8 @@ "outputs": [], "source": [ "import pandas as pd\n", - "from matplotlib.cbook import get_sample_data\n", "\n", - "fname = get_sample_data('percent_bachelors_degrees_women_usa.csv')\n", - "gender_degree_data = pd.read_csv(fname)\n", + "gender_degree_data = pd.read_csv(\"https://datasets.holoviz.org/bachelor_women/v1/percent_bachelors_degrees_women_usa.csv\")\n", "\n", "title = ('Percentage of Bachelor\\'s degrees conferred to women in '\n", " 'the U.S.A. by major (1970-2011)\\n')\n", @@ -123,5 +121,5 @@ } }, "nbformat": 4, - "nbformat_minor": 2 + "nbformat_minor": 4 } diff --git a/examples/gallery/demos/matplotlib/topographic_hillshading.ipynb b/examples/gallery/demos/matplotlib/topographic_hillshading.ipynb index 92e4a3c126..3c03b418cc 100644 --- a/examples/gallery/demos/matplotlib/topographic_hillshading.ipynb +++ b/examples/gallery/demos/matplotlib/topographic_hillshading.ipynb @@ -42,7 +42,7 @@ "from matplotlib.cbook import get_sample_data\n", "from matplotlib.colors import LightSource\n", "\n", - "dem = np.load(get_sample_data('jacksboro_fault_dem.npz'))\n", + "dem = get_sample_data('jacksboro_fault_dem.npz')\n", "z = dem['elevation']\n", "\n", "dx, dy = dem['dx'], dem['dy']\n", @@ -92,5 +92,5 @@ } }, "nbformat": 4, - "nbformat_minor": 2 + "nbformat_minor": 4 } diff --git a/holoviews/tests/plotting/matplotlib/test_heatmapplot.py b/holoviews/tests/plotting/matplotlib/test_heatmapplot.py index 0b13711669..f33bc90f30 100644 --- a/holoviews/tests/plotting/matplotlib/test_heatmapplot.py +++ b/holoviews/tests/plotting/matplotlib/test_heatmapplot.py @@ -2,7 +2,7 @@ from holoviews.element import HeatMap, Image -from .test_plot import TestMPLPlot, mpl_renderer +from .test_plot import TestMPLPlot, mpl38, mpl_renderer class TestHeatMapPlot(TestMPLPlot): @@ -12,25 +12,35 @@ def test_heatmap_invert_axes(self): hm = HeatMap(Image(arr)).opts(invert_axes=True) plot = mpl_renderer.get_plot(hm) artist = plot.handles['artist'] - self.assertEqual(artist.get_array().data, arr.T[::-1].flatten()) + if mpl38: + np.testing.assert_equal(artist.get_array().data, arr.T[::-1]) + else: + np.testing.assert_equal(artist.get_array().data, arr.T[::-1].flatten()) def test_heatmap_extents(self): hmap = HeatMap([('A', 50, 1), ('B', 2, 2), ('C', 50, 1)]) plot = mpl_renderer.get_plot(hmap) - self.assertEqual(plot.get_extents(hmap, {}), (-.5, -22, 2.5, 74)) + assert plot.get_extents(hmap, {}) == (-.5, -22, 2.5, 74) def test_heatmap_invert_xaxis(self): hmap = HeatMap([('A',1, 1), ('B', 2, 2)]).opts(invert_xaxis=True) plot = mpl_renderer.get_plot(hmap) array = plot.handles['artist'].get_array() - expected = np.array([1, np.inf, np.inf, 2]) + if mpl38: + expected = np.array([[1, np.inf], [np.inf, 2]]) + else: + expected = np.array([1, np.inf, np.inf, 2]) masked = np.ma.array(expected, mask=np.logical_not(np.isfinite(expected))) - self.assertEqual(array, masked) + np.testing.assert_equal(array, masked) def test_heatmap_invert_yaxis(self): hmap = HeatMap([('A',1, 1), ('B', 2, 2)]).opts(invert_yaxis=True) plot = mpl_renderer.get_plot(hmap) array = plot.handles['artist'].get_array() expected = np.array([1, np.inf, np.inf, 2]) + if mpl38: + expected = np.array([[1, np.inf], [np.inf, 2]]) + else: + expected = np.array([1, np.inf, np.inf, 2]) masked = np.ma.array(expected, mask=np.logical_not(np.isfinite(expected))) - self.assertEqual(array, masked) + np.testing.assert_equal(array, masked) diff --git a/holoviews/tests/plotting/matplotlib/test_plot.py b/holoviews/tests/plotting/matplotlib/test_plot.py index 666e08f6f3..bd00393461 100644 --- a/holoviews/tests/plotting/matplotlib/test_plot.py +++ b/holoviews/tests/plotting/matplotlib/test_plot.py @@ -1,14 +1,17 @@ import matplotlib.pyplot as plt import pyviz_comms as comms +from packaging.version import Version from param import concrete_descendents from holoviews.core.options import Store from holoviews.element.comparison import ComparisonTestCase +from holoviews.plotting.mpl import mpl_version from holoviews.plotting.mpl.element import ElementPlot from .. import option_intersections mpl_renderer = Store.renderers['matplotlib'] +mpl38 = mpl_version >= Version("3.8") class TestPlotDefinitions(ComparisonTestCase): diff --git a/holoviews/tests/plotting/matplotlib/test_quadmeshplot.py b/holoviews/tests/plotting/matplotlib/test_quadmeshplot.py index 7a59868fc6..1d3096b658 100644 --- a/holoviews/tests/plotting/matplotlib/test_quadmeshplot.py +++ b/holoviews/tests/plotting/matplotlib/test_quadmeshplot.py @@ -2,49 +2,53 @@ from holoviews.element import Dataset, Image, QuadMesh -from .test_plot import TestMPLPlot, mpl_renderer +from .test_plot import TestMPLPlot, mpl38, mpl_renderer class TestQuadMeshPlot(TestMPLPlot): def test_quadmesh_invert_axes(self): - arr = np.array([[0, 1, 2], [3, 4, 5]]) + arr = np.array([[0, 1, 2], [3, 4, 5]]) qmesh = QuadMesh(Image(arr)).opts(invert_axes=True) plot = mpl_renderer.get_plot(qmesh) artist = plot.handles['artist'] - self.assertEqual(artist.get_array().data, arr.T[:, ::-1].flatten()) + if mpl38: + np.testing.assert_equal(artist.get_array().data, arr[::-1].T) + else: + np.testing.assert_equal(artist.get_array().data, arr.T[::-1].flatten()) def test_quadmesh_nodata(self): - arr = np.array([[0, 1, 2], [3, 4, 5]]) + arr = np.array([[0, 1, 2], [3, 4, 5]]) qmesh = QuadMesh(Image(arr)).opts(nodata=0) plot = mpl_renderer.get_plot(qmesh) artist = plot.handles['artist'] - self.assertEqual(artist.get_array().data, - np.array([3, 4, 5, np.nan, 1, 2])) + if mpl38: + expected = np.array([[3, 4, 5], [np.nan, 1, 2]]) + else: + expected = np.array([3, 4, 5, np.nan, 1, 2]) + + np.testing.assert_equal(artist.get_array().data, expected) def test_quadmesh_nodata_uint(self): - arr = np.array([[0, 1, 2], [3, 4, 5]], dtype='uint32') + arr = np.array([[0, 1, 2], [3, 4, 5]], dtype='uint32') qmesh = QuadMesh(Image(arr)).opts(nodata=0) plot = mpl_renderer.get_plot(qmesh) artist = plot.handles['artist'] - self.assertEqual(artist.get_array().data, - np.array([3, 4, 5, np.nan, 1, 2])) + if mpl38: + expected = np.array([[3, 4, 5], [np.nan, 1, 2]]) + else: + expected = np.array([3, 4, 5, np.nan, 1, 2]) + np.testing.assert_equal(artist.get_array().data, expected) def test_quadmesh_update_cbar(self): xs = ys = np.linspace(0, 6, 10) zs = np.linspace(1, 2, 5) - XS, YS, ZS = np.meshgrid(xs, ys, zs) + XS, _YS, ZS = np.meshgrid(xs, ys, zs) values = np.sin(XS) * ZS ds = Dataset((xs, ys, zs, values.T), ['x', 'y', 'z'], 'values') hmap = ds.to(QuadMesh).opts(colorbar=True, framewise=True) plot = mpl_renderer.get_plot(hmap) cbar = plot.handles['cbar'] - self.assertEqual( - np.allclose([cbar.vmin, cbar.vmax], [-0.9989549170979283, 0.9719379013633128]), - True - ) + np.testing.assert_allclose([cbar.vmin, cbar.vmax], [-0.9989549170979283, 0.9719379013633128]) plot.update(3) - self.assertEqual( - np.allclose([cbar.vmin, cbar.vmax], [-1.7481711049213744, 1.7008913273857975]), - True - ) + np.testing.assert_allclose([cbar.vmin, cbar.vmax], [-1.7481711049213744, 1.7008913273857975]) diff --git a/setup.py b/setup.py index 2c4370e82d..3185442f03 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ 'pytest-cov', 'pytest-xdist', 'flaky', - 'matplotlib >=3, <3.8', # 3.8 breaks tests + 'matplotlib >=3', 'nbconvert', 'bokeh >=3.1', 'pillow',
bokeh__bokeh-8651
grid_axis_alignment_no_toolbar is broken in Windows (32-bit) `examples/integration/layout/grid_axis_alignment_no_toolbar`: ![image](https://user-images.githubusercontent.com/27475/52644650-81191480-2edf-11e9-9905-eb5b000448f1.png) All axes should be in 0 to 10, 10^3, 10^6, 10^9 ranges. All major browsers are affected the same way. I suspect this may be due to 32-bit system architecture. It would be good if someone with 64-bit windows could run this example for comparison.
[ { "content": "from __future__ import absolute_import\n\nimport numpy as np\n\nfrom bokeh.plotting import figure, save\nfrom bokeh.layouts import gridplot\n\ncoeffs = [10**0, 10**3, 10**6, 10**9]\nV = np.arange(10)\n\nfigs = []\n\nfor ycoeff in coeffs:\n row = []\n for xcoeff in coeffs:\n fig = figu...
[ { "content": "from __future__ import absolute_import\n\nimport numpy as np\n\nfrom bokeh.plotting import figure, save\nfrom bokeh.layouts import gridplot\n\ncoeffs = [10**0, 10**3, 10**6, 10**9]\nV = np.arange(10, dtype=\"int64\")\n\nfigs = []\n\nfor ycoeff in coeffs:\n row = []\n for xcoeff in coeffs:\n ...
diff --git a/examples/integration/layout/grid_axis_alignment_no_toolbar.py b/examples/integration/layout/grid_axis_alignment_no_toolbar.py index 3bc06696e11..05cefe38274 100644 --- a/examples/integration/layout/grid_axis_alignment_no_toolbar.py +++ b/examples/integration/layout/grid_axis_alignment_no_toolbar.py @@ -6,7 +6,7 @@ from bokeh.layouts import gridplot coeffs = [10**0, 10**3, 10**6, 10**9] -V = np.arange(10) +V = np.arange(10, dtype="int64") figs = []
fidals__shopelectro-209
Move CI to our server Трэвис на беспланом серве билдит не очень. Сейчас у нас один travis ci идёт ~20 мин. Учитывая, что мы будем оперировать задачами с оценкой по 15-30 мин, это слишком долго. Кроме того, Трэвис часто отваливается по ресурсам, что плодит нам в ci рандомные ошибки. А это очень дорого, конечно же. Исследуй разные коробки. Например travis, jenkins, team-city и тд. Нам нужно что-то простенькое, позже развернём коробку на своём серве. Результат задачи - отчёт по исследованию здесь в комментах, решение по инструменту принято, создана новая задача по внедрению инструмента Концы от нашего хоста бери у @duker33
[ { "content": "\"\"\"\nDjango settings for shopelectro project.\n\nGenerated by 'django-admin startproject' using Django 1.9.5.\n\nFor more information on this file, see\nhttps://docs.djangoproject.com/en/1.9/topics/settings/\n\nFor the full list of settings and their values, see\nhttps://docs.djangoproject.com/...
[ { "content": "\"\"\"\nDjango settings for shopelectro project.\n\nGenerated by 'django-admin startproject' using Django 1.9.5.\n\nFor more information on this file, see\nhttps://docs.djangoproject.com/en/1.9/topics/settings/\n\nFor the full list of settings and their values, see\nhttps://docs.djangoproject.com/...
diff --git a/.drone.yml b/.drone.yml index 7244fa27..3b79a3cc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,7 +1,83 @@ -# @todo #178 Напиши конфиг для Drone CI +# @todo #208 Определи оптимальное количество параллельных тестов pipeline: - build: - image: alpine + pip-install: + image: python commands: - - echo "Hello!" + - pip install -r requirements.txt + - rm -rf /usr/app/deps/site-packages + - mv /usr/local/lib/python3.6/site-packages /usr/app/deps + volumes: + - /tmp/cache/drone/shopelectro/site-packages/${DRONE_COMMIT_SHA}:/usr/app/deps + + npm: + image: node + environment: + - DEPS_DIR=/usr/app/deps + commands: + - npm install + - npm install -g gulp-cli + - gulp build + volumes: + - /tmp/cache/drone/shopelectro/node_modules:/drone/src/github.com/fidals/shopelectro/commit/${DRONE_COMMIT_SHA}/node_modules + - /tmp/cache/drone/shopelectro/site-packages/${DRONE_COMMIT_SHA}/site-packages:/usr/app/deps + + test: + image: python + environment: + - TEST_ENV=true + - DJANGO_SETTINGS_MODULE=shopelectro.settings.dev + - DATABASE_URL=postgres://postgres:test@postgres/test + - BROCKER_URL=amqp://rabbitmq:test@rabbitmq:5672/ + - SELENIUM_URL=http://selenium:4444/wd/hub + - FTP_IP=${FTP_IP} + - FTP_USER=${FTP_USER} + - FTP_PASS=${FTP_PASS} + commands: + - python manage.py migrate + - python manage.py excel + - python manage.py price + - python manage.py collectstatic --noinput + - python manage.py test -v 3 --parallel --liveserver=test:8020-8030 + volumes: + - /tmp/cache/drone/shopelectro/site-packages/${DRONE_COMMIT_SHA}/site-packages:/usr/local/lib/python3.6/site-packages + secrets: [ FTP_IP, FTP_USER, FTP_PASS ] + + notify: + image: plugins/slack + channel: drone + webhook: ${SLACK_WEBHOOK} + when: + status: [ success, failure ] + secrets: [ SLACK_WEBHOOK ] + + pip-clean: + image: busybox + commands: + - rm -rf /site-packages/${DRONE_COMMIT_SHA} + volumes: + - /tmp/cache/drone/shopelectro/site-packages/:/site-packages/ + when: + status: [ success, failure ] + +services: + postgres: + image: postgres + environment: + - POSTGRES_USER=postgres + - POSTGRES_PASSWORD=test + - POSTGRES_DB=test + + rabbitmq: + image: rabbitmq + environment: + - RABBITMQ_DEFAULT_USER=rabbitmq + - RABBITMQ_DEFAULT_PASS=test + + selenium: + image: selenium/standalone-chrome-debug:3.3.0 + environment: # https://github.com/SeleniumHQ/docker-selenium/issues/392 + - DBUS_SESSION_BUS_ADDRESS=/dev/null + shm_size: 4G + volumes: # https://github.com/SeleniumHQ/docker-selenium#running-the-images + - /dev/shm:/dev/shm diff --git a/shopelectro/settings/base.py b/shopelectro/settings/base.py index 3f3942b0..41ba2c75 100644 --- a/shopelectro/settings/base.py +++ b/shopelectro/settings/base.py @@ -182,6 +182,8 @@ }, } +SELENIUM_URL = os.environ.get('SELENIUM_URL', 'http://se-selenium:4444/wd/hub') + SITE_CREATED = datetime(2013, 1, 1) LOCALHOST = 'http://127.0.0.1:8000/' diff --git a/shopelectro/tests/helpers.py b/shopelectro/tests/helpers.py index 0130a3a9..1cb67768 100644 --- a/shopelectro/tests/helpers.py +++ b/shopelectro/tests/helpers.py @@ -1,3 +1,4 @@ +from django.conf import settings from django.test import LiveServerTestCase, override_settings from selenium.common.exceptions import InvalidElementStateException from selenium.webdriver.common.action_chains import ActionChains @@ -44,7 +45,7 @@ def setUpClass(cls): """Instantiate browser instance.""" super(SeleniumTestCase, cls).setUpClass() cls.browser = Remote( - command_executor='http://se-selenium:4444/wd/hub', + command_executor=settings.SELENIUM_URL, desired_capabilities=DesiredCapabilities.CHROME ) cls.wait = WebDriverWait(cls.browser, 120) diff --git a/shopelectro/tests/tests_selenium_mobile.py b/shopelectro/tests/tests_selenium_mobile.py index 9b9abf84..40a52d33 100644 --- a/shopelectro/tests/tests_selenium_mobile.py +++ b/shopelectro/tests/tests_selenium_mobile.py @@ -4,6 +4,7 @@ If you need to create new test-suite, subclass it from SeleniumTestCase class. Every Selenium-based test suite uses fixture called dump.json. """ +from django.conf import settings from django.test import LiveServerTestCase from django.urls import reverse from selenium import webdriver @@ -30,7 +31,7 @@ def setUpClass(cls): }, } cls.browser = webdriver.Remote( - command_executor='http://se-selenium:4444/wd/hub', + command_executor=settings.SELENIUM_URL, desired_capabilities=capabilities ) cls.wait = WebDriverWait(cls.browser, 120)
rucio__rucio-2062
Documentation build fails Motivation ---------- Currently the documentation builds fail with ``` Running Sphinx v1.6.5 making output directory... loading translations [en]... done Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/rucio/envs/latest/local/lib/python2.7/site-packages/sphinx/cmdline.py", line 305, in main opts.warningiserror, opts.tags, opts.verbosity, opts.jobs) File "/home/docs/checkouts/readthedocs.org/user_builds/rucio/envs/latest/local/lib/python2.7/site-packages/sphinx/application.py", line 196, in __init__ self.setup_extension(extension) File "/home/docs/checkouts/readthedocs.org/user_builds/rucio/envs/latest/local/lib/python2.7/site-packages/sphinx/application.py", line 456, in setup_extension self.registry.load_extension(self, extname) File "/home/docs/checkouts/readthedocs.org/user_builds/rucio/envs/latest/local/lib/python2.7/site-packages/sphinx/registry.py", line 199, in load_extension raise ExtensionError(__('Could not import extension %s') % extname, err) ExtensionError: Could not import extension rucio.common.doc.argparse.ext (exception: No module named rucio.common.doc.argparse.ext) Extension error: Could not import extension rucio.common.doc.argparse.ext (exception: No module named rucio.common.doc.argparse.ext) ``` I did not look too much into the issue yet, but I wonder why we added this `rucio.common.doc.argparse.ext` to the repository instead of using `sphinx-argparse`? @vingar do you maybe remember?
[ { "content": "# -*- coding: utf-8 -*-\n#\n# Rucio documentation build configuration file, created by\n# sphinx-quickstart on Fri Oct 27 14:25:40 2017.\n#\n# This file is execfile()d with the current directory set to its\n# containing dir.\n#\n# Note that not all possible configuration values are present in this...
[ { "content": "# -*- coding: utf-8 -*-\n#\n# Rucio documentation build configuration file, created by\n# sphinx-quickstart on Fri Oct 27 14:25:40 2017.\n#\n# This file is execfile()d with the current directory set to its\n# containing dir.\n#\n# Note that not all possible configuration values are present in this...
diff --git a/doc/source/conf.py b/doc/source/conf.py index 60e19bdfaf..99bdb9c1fc 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -20,7 +20,7 @@ import sys from mock import Mock as MagicMock -sys.path.insert(len(sys.path) - 1, os.path.abspath('.')) +sys.path.insert(len(sys.path), os.path.abspath('../../lib')) class Mock(MagicMock):
pyro-ppl__pyro-2345
Switch from pillow to pillow-simd This attempts to fix some `pillow`-`torchvision` breakage blocking #2239 by switching to the alternative torchvision-recommended library `pillow-simd`.
[ { "content": "# Copyright (c) 2017-2019 Uber Technologies, Inc.\n# SPDX-License-Identifier: Apache-2.0\n\nimport os\nimport subprocess\nimport sys\n\nfrom setuptools import find_packages, setup\n\nPROJECT_PATH = os.path.dirname(os.path.abspath(__file__))\nVERSION = \"\"\"\n# This file is auto-generated with the...
[ { "content": "# Copyright (c) 2017-2019 Uber Technologies, Inc.\n# SPDX-License-Identifier: Apache-2.0\n\nimport os\nimport subprocess\nimport sys\n\nfrom setuptools import find_packages, setup\n\nPROJECT_PATH = os.path.dirname(os.path.abspath(__file__))\nVERSION = \"\"\"\n# This file is auto-generated with the...
diff --git a/docs/requirements.txt b/docs/requirements.txt index 84dc77d139..c941f0e148 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -5,6 +5,5 @@ graphviz>=0.8 numpy>=1.7 observations>=0.1.4 opt_einsum>=2.3.2 -pillow-simd pyro-api>=0.1.1 tqdm>=4.36 diff --git a/setup.py b/setup.py index f87b5296e0..7f965ffb40 100644 --- a/setup.py +++ b/setup.py @@ -60,7 +60,6 @@ 'jupyter>=1.0.0', 'graphviz>=0.8', 'matplotlib>=1.3', - 'pillow-simd', 'torchvision>=0.5.0', 'visdom>=0.1.4', 'pandas',
napalm-automation__napalm-1681
IOS-XR get_lldp_neighbor_details does not support 'N/A' capabilities ### Description of Issue/Question The constants LLDP_CAPAB_TRANFORM_TABLE does not include 'N/A' of system capabilities. No checks for this value either. ``` <SystemCapabilities> N/A </SystemCapabilities> ``` *Note*: Please check https://guides.github.com/features/mastering-markdown/ to see how to properly format your request. ### Did you follow the steps from https://github.com/napalm-automation/napalm#faq (Place an ``x`` between the square brackets where applicable) - [x] Yes - [] No ### Setup ### napalm version (Paste verbatim output from `pip freeze | grep napalm` between quotes below) ``` root@salt-master1:/# python3 -m pip freeze | grep napalm napalm==3.2.0 ``` ### Network operating system version (Paste verbatim output from `show version` - or equivalent - between quotes below) ``` RP/0/RP0/CPU0:hbr1.12345.999#show version Wed Sep 23 18:41:02.500 CEST Cisco IOS XR Software, Version 7.1.2 LNT Copyright (c) 2013-2020 by Cisco Systems, Inc. Build Information: Built By : ahoang Built On : Sat Aug 29 20:04:27 UTC 2020 Build Host : iox-lnx-069 Workspace : /auto/srcarchive13/prod/7.1.2/ncs540l/ws Version : 7.1.2 Label : 7.1.2 cisco NCS540L (C3708 @ 1.70GHz) System uptime is 1 week, 1 day, 10 hours, 2 minutes ``` ### Steps to Reproduce the Issue ### Error Traceback (Paste the complete traceback of the exception between quotes below) ``` ================= Traceback ================= Traceback (most recent call last): File "/usr/local/bin/napalm", line 8, in <module> sys.exit(main()) File "/usr/local/lib/python3.8/dist-packages/napalm/base/clitools/cl_napalm.py", line 308, in main run_tests(args) File "/usr/local/lib/python3.8/dist-packages/napalm/base/clitools/cl_napalm.py", line 291, in run_tests call_getter(device, args.method, **method_kwargs) File "/usr/local/lib/python3.8/dist-packages/napalm/base/clitools/cl_napalm.py", line 27, in wrapper r = func(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/napalm/base/clitools/cl_napalm.py", line 255, in call_getter r = func(**kwargs) File "/usr/local/lib/python3.8/dist-packages/napalm/iosxr/iosxr.py", line 852, in get_lldp_neighbors_detail "remote_system_capab": napalm.base.helpers.transform_lldp_capab( File "/usr/local/lib/python3.8/dist-packages/napalm/base/helpers.py", line 463, in transform_lldp_capab [constants.LLDP_CAPAB_TRANFORM_TABLE[c.strip()] for c in capabilities] File "/usr/local/lib/python3.8/dist-packages/napalm/base/helpers.py", line 463, in <listcomp> [constants.LLDP_CAPAB_TRANFORM_TABLE[c.strip()] for c in capabilities] KeyError: 'n/a' ```
[ { "content": "\"\"\"Constants to be used across NAPALM drivers.\"\"\"\n\nCONFIG_LOCK = True # must be changed soon!\nTIMEOUT = 60 # seconds\n\nINTERFACE_NULL_SPEED = -1\n\nACTION_TYPE_METHODS = (\"ping\", \"traceroute\")\n\nBGP_NEIGHBOR_NULL_COUNTER = -1\n\nSNMP_AUTHORIZATION_MODE_MAP = {\"read-only\": \"ro\"...
[ { "content": "\"\"\"Constants to be used across NAPALM drivers.\"\"\"\n\nCONFIG_LOCK = True # must be changed soon!\nTIMEOUT = 60 # seconds\n\nINTERFACE_NULL_SPEED = -1\n\nACTION_TYPE_METHODS = (\"ping\", \"traceroute\")\n\nBGP_NEIGHBOR_NULL_COUNTER = -1\n\nSNMP_AUTHORIZATION_MODE_MAP = {\"read-only\": \"ro\"...
diff --git a/napalm/base/constants.py b/napalm/base/constants.py index 75f492b1a..d505081ab 100644 --- a/napalm/base/constants.py +++ b/napalm/base/constants.py @@ -69,6 +69,7 @@ } LLDP_CAPAB_TRANFORM_TABLE = { "o": "other", + "n/a": "other", "p": "repeater", "b": "bridge", "w": "wlan-access-point",
Cog-Creators__Red-DiscordBot-1170
[V3] Error in command repl ### Type: - [ ] Suggestion - [x] Bug ### Brief description of the problem So I first tried to use the core repl function on V3 for the first time. I set a very basic value and got an error ### Steps to reproduce 1. `=repl` 2. `level = 1` ![screen shot 2017-12-10 at 19 42 22](https://user-images.githubusercontent.com/23153234/33808207-a5778400-dde2-11e7-99a7-861432d50eda.png) Full error: ```Py Exception in command 'repl' Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/discord/ext/commands/core.py", line 62, in wrapped ret = yield from coro(*args, **kwargs) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/redbot/core/dev_commands.py", line 273, in repl msg = self.sanitize_output(ctx, msg) File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/redbot/core/dev_commands.py", line 64, in sanitize_output result = input_.replace(token, r) AttributeError: 'NoneType' object has no attribute 'replace' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/discord/ext/commands/bot.py", line 886, in invoke yield from ctx.command.invoke(ctx) File "/usr/local/lib/python3.6/site-packages/discord/ext/commands/core.py", line 489, in invoke yield from injected(*ctx.args, **ctx.kwargs) File "/usr/local/lib/python3.6/site-packages/discord/ext/commands/core.py", line 71, in wrapped raise CommandInvokeError(e) from e discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'NoneType' object has no attribute 'replace' ```
[ { "content": "import asyncio\nimport inspect\nimport io\nimport textwrap\nimport traceback\nfrom contextlib import redirect_stdout\nfrom copy import copy\n\nimport discord\nfrom discord.ext import commands\nfrom . import checks\nfrom .i18n import CogI18n\nfrom .utils.chat_formatting import box, pagify\n\"\"\"\n...
[ { "content": "import asyncio\nimport inspect\nimport io\nimport textwrap\nimport traceback\nfrom contextlib import redirect_stdout\nfrom copy import copy\n\nimport discord\nfrom discord.ext import commands\nfrom . import checks\nfrom .i18n import CogI18n\nfrom .utils.chat_formatting import box, pagify\n\"\"\"\n...
diff --git a/redbot/core/dev_commands.py b/redbot/core/dev_commands.py index 3ee48e710b4..8ec038bf073 100644 --- a/redbot/core/dev_commands.py +++ b/redbot/core/dev_commands.py @@ -253,7 +253,7 @@ async def repl(self, ctx): stdout = io.StringIO() - msg = None + msg = "" try: with redirect_stdout(stdout):
python__python-docs-es-760
Reemplazar 'PyCampES/python-docs-es' en links a repositorio 'python/python-docs-es' Parece que se están realizando redirecciones en links del repositorio `PyCampES/python-docs-es` a `python/python-docs-es`. Me imagino que `PyCampES` sería la antigua organización que administraba este proyecto. No vendría mal reemplazar los links para que apunten a este repositorio y nos ahorramos la redirección. Lo haría en un momento, pero prefiero abrir este issue para asegurarme que no se han mantenido así por alguna razón.
[ { "content": "# Use together with `pageviews.py`\n# python scripts/pageviews.py | head -n 150 | grep -v whats | cut -d ' ' -f 2 | sed 's/\\.html/\\.po/g' | xargs -I '{}' python scripts/create_issue.py '{}'\n\nimport os\nimport sys\nfrom pathlib import Path\n\nfrom github import Github\nfrom potodo._po_file impo...
[ { "content": "# Use together with `pageviews.py`\n# python scripts/pageviews.py | head -n 150 | grep -v whats | cut -d ' ' -f 2 | sed 's/\\.html/\\.po/g' | xargs -I '{}' python scripts/create_issue.py '{}'\n\nimport os\nimport sys\nfrom pathlib import Path\n\nfrom github import Github\nfrom potodo._po_file impo...
null
zostera__django-bootstrap3-843
Upgrade importlib_metadata This library currently enforces `importlib_metadata<3` for Python<3.8. This causes conflicts for us, since other libraries such as `markdown` start enforcing `importlib_metadata>4.4` to get Python-3.10-like behaviour. Is there a specific reason this version is enforced to be `<3`? refs https://github.com/pretix/pretix/pull/2329
[ { "content": "import pathlib\n\nfrom setuptools import find_packages, setup\n\n# The directory containing this file\nHERE = pathlib.Path(__file__).parent\n\n# The text of the README file\nREADME = (HERE / \"README.md\").read_text()\n\n\n# This call to setup() does all the work\nsetup(\n name=\"django-bootstr...
[ { "content": "import pathlib\n\nfrom setuptools import find_packages, setup\n\n# The directory containing this file\nHERE = pathlib.Path(__file__).parent\n\n# The text of the README file\nREADME = (HERE / \"README.md\").read_text()\n\n\n# This call to setup() does all the work\nsetup(\n name=\"django-bootstr...
diff --git a/CHANGELOG.md b/CHANGELOG.md index dca2095f..011f2a3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## 23.2 (in development) +- Remove version restriction on importlib-metadata (#). - Replace m2r2 with sphinx-mdinclude (#). ## 23.1 (2023-04-02) diff --git a/setup.py b/setup.py index 791b0652..65f80339 100644 --- a/setup.py +++ b/setup.py @@ -47,6 +47,6 @@ python_requires=">=3.7", install_requires=[ "Django>=3.2", - 'importlib-metadata<3; python_version<"3.8"', + 'importlib-metadata; python_version<"3.8"', ], )
oppia__oppia-6435
CSRF tokens are not generated in 404-error pages <!-- - Thanks for taking the time to report a bug in the Oppia project. - Before filing a new issue, please do a quick search to check that it hasn't - already been filed on the [issue tracker](https://github.com/oppia/oppia/issues)._ --> **Describe the bug** Unable to create Exploration from 404-error page because CSRF tokens are not generated in 404-error pages **To Reproduce** Steps to reproduce the behaviour: 1. Go to '/error' 2. Click on 'create' 3. See error ![1](https://user-images.githubusercontent.com/41017303/54055134-1b842380-4212-11e9-8404-f916059755ed.png) Also, See the sourcecode of 404-error page. you'll find CSRF in GLOBALS is null, Line:57 ![2](https://user-images.githubusercontent.com/41017303/54055319-aebd5900-4212-11e9-8b95-0df24f411170.png)
[ { "content": "# Copyright 2014 The Oppia Authors. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n...
[ { "content": "# Copyright 2014 The Oppia Authors. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n...
diff --git a/core/controllers/base.py b/core/controllers/base.py index 5933f3c52c5a2..abb25ce29a0ce 100755 --- a/core/controllers/base.py +++ b/core/controllers/base.py @@ -513,7 +513,7 @@ def handle_exception(self, exception, unused_debug_mode): class Error404Handler(BaseHandler): """Handles 404 errors.""" - REQUIRE_PAYLOAD_CSRF_CHECK = False + pass class CsrfTokenManager(object): diff --git a/core/controllers/base_test.py b/core/controllers/base_test.py index e32cebb0d6b1b..01f1b01349e70 100644 --- a/core/controllers/base_test.py +++ b/core/controllers/base_test.py @@ -107,6 +107,8 @@ def test_that_no_get_results_in_500_error(self): def test_requests_for_invalid_paths(self): """Test that requests for invalid paths result in a 404 error.""" + user_id = user_services.get_user_id_from_username('learneruser') + csrf_token = base.CsrfTokenManager.create_csrf_token(user_id) self.get_html_response( '/library/extra', expected_status_int=404) @@ -115,10 +117,12 @@ def test_requests_for_invalid_paths(self): '/library/data/extra', expected_status_int=404) self.post_json( - '/library/extra', payload={}, expected_status_int=404) + '/library/extra', payload={}, csrf_token=csrf_token, + expected_status_int=404) self.put_json( - '/library/extra', payload={}, expected_status_int=404) + '/library/extra', payload={}, csrf_token=csrf_token, + expected_status_int=404) def test_redirect_in_logged_out_states(self): """Test for a redirect in logged out state on '/'."""
nautobot__nautobot-3981
2.0: Tag string representation is incorrect ### Environment * Nautobot version (Docker tag too if applicable): `next`, e13883b7b8a4f44bca0c40d8074dcf8f82e544e6 ### Steps to Reproduce 1. Create a Tag and associate it to any model 2. View the legacy-UI list view or detail view of that model <!-- What did you expect to happen? --> ### Expected Behavior Tag name to be displayed <!-- What happened instead? --> ### Observed Behavior `Tag object (<uuid>)` is displayed. ![image](https://github.com/nautobot/nautobot/assets/5603551/1da33bf8-f9ee-4fb7-b4cb-4f2c2d682496) Appears to be a regression due to #3914.
[ { "content": "from django.contrib.contenttypes.models import ContentType\nfrom django.db import models\nfrom taggit.models import GenericUUIDTaggedItemBase\n\nfrom nautobot.core.choices import ColorChoices\nfrom nautobot.core.models import BaseManager, BaseModel\nfrom nautobot.core.models.fields import ColorFie...
[ { "content": "from django.contrib.contenttypes.models import ContentType\nfrom django.db import models\nfrom taggit.models import GenericUUIDTaggedItemBase\n\nfrom nautobot.core.choices import ColorChoices\nfrom nautobot.core.models import BaseManager, BaseModel\nfrom nautobot.core.models.fields import ColorFie...
diff --git a/changes/3980.fixed b/changes/3980.fixed new file mode 100644 index 00000000000..14e85a78fd9 --- /dev/null +++ b/changes/3980.fixed @@ -0,0 +1 @@ +Fixed a regression in the display of Tag records in the UI. diff --git a/nautobot/extras/models/tags.py b/nautobot/extras/models/tags.py index 93145e33722..160f33ad89b 100644 --- a/nautobot/extras/models/tags.py +++ b/nautobot/extras/models/tags.py @@ -46,6 +46,9 @@ class Tag(BaseModel, ChangeLoggedModel, CustomFieldModel, RelationshipModel, Not objects = BaseManager.from_queryset(TagQuerySet)() + def __str__(self): + return self.name + class Meta: ordering = ["name"]
python__python-docs-es-1787
Translate 'using/unix.po' This needs to reach 100% translated. The rendered version of this file will be available at https://docs.python.org/es/3.10/using/unix.html once translated. Meanwhile, the English version is shown. Current stats for `using/unix.po`: * Fuzzy: 1 * Percent translated: 88.9% * Entries: 40 / 45 * Untranslated: 5 Please, comment here if you want this file to be assigned to you and an member will assign it to you as soon as possible, so you can start working on it. Remember to follow the steps in our [Contributing Guide](https://python-docs-es.readthedocs.io/page/CONTRIBUTING.html).
[ { "content": "import os\nimport re\nimport sys\nfrom typing import Dict, Tuple\n\nimport polib\n\nVERBOSE = False\nDEBUG = False\nSKIP_TRANSLATED_ENTRIES = True\n\ntry:\n from deep_translator import GoogleTranslator\nexcept ImportError:\n print(\"Error: This util script needs `deep_translator` to be insta...
[ { "content": "import os\nimport re\nimport sys\nfrom typing import Dict, Tuple\n\nimport polib\n\nVERBOSE = False\nDEBUG = False\nSKIP_TRANSLATED_ENTRIES = True\n\ntry:\n from deep_translator import GoogleTranslator\nexcept ImportError:\n print(\"Error: This util script needs `deep_translator` to be insta...
diff --git a/scripts/translate.py b/scripts/translate.py index 26c8d5f80d..a8c9ab5f2c 100644 --- a/scripts/translate.py +++ b/scripts/translate.py @@ -44,6 +44,7 @@ ":RFC:`[^`]+`", ":rfc:`[^`]+`", ":doc:`[^`]+`", + ":source:`[^`]+`", ":manpage:`[^`]+`", ":sup:`[^`]+`", "``[^`]+``", diff --git a/using/unix.po b/using/unix.po index da3b7dd465..a68b80ac1a 100644 --- a/using/unix.po +++ b/using/unix.po @@ -13,12 +13,12 @@ msgstr "" "POT-Creation-Date: 2021-10-16 21:42+0200\n" "PO-Revision-Date: 2020-10-05 20:17+0200\n" "Last-Translator: \n" -"Language: es_ES\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1)\n" +"Language: es_ES\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" "Generated-By: Babel 2.9.1\n" #: ../Doc/using/unix.rst:7 @@ -147,15 +147,14 @@ msgid "The build process consists of the usual commands::" msgstr "El proceso de construcción consta de los comandos habituales::" #: ../Doc/using/unix.rst:81 -#, fuzzy msgid "" ":ref:`Configuration options <configure-options>` and caveats for specific " "Unix platforms are extensively documented in the :source:`README.rst` file " "in the root of the Python source tree." msgstr "" -"Las opciones de configuración y las advertencias para plataformas Unix " -"específicas están ampliamente documentadas en el fichero :source:`README." -"rst` del árbol de origen." +":ref:`Opciones de configuración <configure-options>` y las advertencias para " +"plataformas Unix específicas están ampliamente documentadas en el archivo :" +"source:`README.rst` en la raíz del árbol de fuentes de Python." #: ../Doc/using/unix.rst:87 msgid "" @@ -280,7 +279,7 @@ msgstr "" #: ../Doc/using/unix.rst:141 msgid "Custom OpenSSL" -msgstr "" +msgstr "OpenSSL personalizado" #: ../Doc/using/unix.rst:143 msgid "" @@ -290,18 +289,27 @@ msgid "" "directory should also contain a ``cert.pem`` file and/or a ``certs`` " "directory." msgstr "" +"Para utilizar la configuración de OpenSSL de su proveedor y el almacén de " +"confianza del sistema, busque el directorio con el archivo ``openssl.cnf`` o " +"el enlace simbólico en ``/etc``. En la mayoría de las distribuciones, el " +"archivo está en ``/etc/ssl`` o ``/etc/pki/tls``. El directorio también debe " +"contener un archivo ``cert.pem`` y / o un directorio ``certs``." #: ../Doc/using/unix.rst:154 msgid "" "Download, build, and install OpenSSL. Make sure you use ``install_sw`` and " "not ``install``. The ``install_sw`` target does not override ``openssl.cnf``." msgstr "" +"Descargue, compile e instale OpenSSL. Asegúrese de utilizar ``install_sw`` y " +"no ``install``. El destino ``install_sw`` no anula ``openssl.cnf``." #: ../Doc/using/unix.rst:172 msgid "" "Build Python with custom OpenSSL (see the configure `--with-openssl` and `--" "with-openssl-rpath` options)" msgstr "" +"Compile Python con OpenSSL personalizado (consulte las opciones configure `--" +"with-openssl` y` --with-openssl-rpath`)" #: ../Doc/using/unix.rst:187 msgid "" @@ -309,3 +317,7 @@ msgid "" "recompile Python to update OpenSSL. It's sufficient to replace the custom " "OpenSSL installation with a newer version." msgstr "" +"Las versiones de parche de OpenSSL tienen una ABI compatible con versiones " +"anteriores. No es necesario volver a compilar Python para actualizar " +"OpenSSL. Es suficiente reemplazar la instalación personalizada de OpenSSL " +"con una versión más nueva."
python__python-docs-es-1762
Translate 'library/os.po' This needs to reach 100% translated. The rendered version of this file will be available at https://docs.python.org/es/3.10/library/os.html once translated. Meanwhile, the English version is shown. Current stats for `library/os.po`: * Fuzzy: 27 * Percent translated: 94.8% * Entries: 804 / 848 * Untranslated: 44 Please, comment here if you want this file to be assigned to you and an member will assign it to you as soon as possible, so you can start working on it. Remember to follow the steps in our [Contributing Guide](https://python-docs-es.readthedocs.io/page/CONTRIBUTING.html).
[ { "content": "import os\nimport re\nimport sys\nfrom typing import Dict, Tuple\n\nimport polib\n\nVERBOSE = False\nDEBUG = False\nSKIP_TRANSLATED_ENTRIES = True\n\ntry:\n from deep_translator import GoogleTranslator\nexcept ImportError:\n print(\"Error: This util script needs `deep_translator` to be insta...
[ { "content": "import os\nimport re\nimport sys\nfrom typing import Dict, Tuple\n\nimport polib\n\nVERBOSE = False\nDEBUG = False\nSKIP_TRANSLATED_ENTRIES = True\n\ntry:\n from deep_translator import GoogleTranslator\nexcept ImportError:\n print(\"Error: This util script needs `deep_translator` to be insta...
diff --git a/dictionaries/library_os.txt b/dictionaries/library_os.txt index 08f036ea71..97081ad219 100644 --- a/dictionaries/library_os.txt +++ b/dictionaries/library_os.txt @@ -1,43 +1,42 @@ -inodo -nanosegundos -urandom -umask -syscall -quantum -glibc -errno -pty -Desestablece -TerminateProcess -fork +configurarlos +ctime Cygwin +Desestablece +egid ejecutabilidad -misceláneas entropía -interactividad -v -ruid -sgid -suid +errno euid -egid +execv +fork +glibc +group +initgroups +inodo +interactividad +merge +misceláneas +nanosegundos +pty +putenv +quantum +reescritura rgid -round robin -subshell -signal -subshell -stdio -ctime -configurarlos -reescritura -stat +round +ruid setgid -setuid setgroups -initgroups -putenv +setuid +sgid +signal spawn -execv -group -merge \ No newline at end of file +stat +stdio +subcapa +subshell +suid +syscall +TerminateProcess +umask +urandom diff --git a/library/os.po b/library/os.po index 23c64bec87..8923200fd5 100644 --- a/library/os.po +++ b/library/os.po @@ -13,12 +13,12 @@ msgstr "" "POT-Creation-Date: 2021-10-16 21:42+0200\n" "PO-Revision-Date: 2021-08-19 21:45-0500\n" "Last-Translator: Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n" -"Language: es\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1)\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" "Generated-By: Babel 2.9.1\n" #: ../Doc/library/os.rst:2 @@ -86,10 +86,10 @@ msgstr "" "se retorna una ruta o un archivo." #: ../Doc/library/os.rst:35 -#, fuzzy msgid "" "On VxWorks, os.popen, os.fork, os.execv and os.spawn*p* are not supported." -msgstr "En VxWorks, no están soportados os.fork, os.execv y os.spawn*p*." +msgstr "" +"En VxWorks, os.popen, os.fork, os.execv y os.spawn*p* no son compatibles." #: ../Doc/library/os.rst:39 msgid "" @@ -136,7 +136,6 @@ msgstr "" "entorno" #: ../Doc/library/os.rst:68 -#, fuzzy msgid "" "In Python, file names, command line arguments, and environment variables are " "represented using the string type. On some systems, decoding these strings " @@ -145,11 +144,12 @@ msgid "" "this conversion (see :func:`sys.getfilesystemencoding`)." msgstr "" "En Python, los nombres de archivo, los argumentos de la línea de comandos y " -"las variables de entorno están representados usando cadena de caracteres. En " -"algunos sistemas, decodificar esas cadenas desde y hacia *bytes* es " -"necesario para pasárselos al sistema operativo. Python usa la codificación " -"del sistema operativo para realizar esta conversión (ver :func:`sys." -"getfilesystemencoding`)." +"las variables de entorno se representan mediante el tipo de cadena de " +"caracteres. En algunos sistemas, es necesario decodificar estas cadenas " +"desde y hacia bytes antes de pasarlas al sistema operativo. Python usa la :" +"term:`codificación del sistema de archivos y manejador de errores " +"<filesystem encoding and error handler>` para realizar esta conversión " +"(consulte :func:`sys.getfilesystemencoding`)." #: ../Doc/library/os.rst:74 msgid "" @@ -158,6 +158,11 @@ msgid "" "filesystem_encoding` and :c:member:`~PyConfig.filesystem_errors` members of :" "c:type:`PyConfig`." msgstr "" +"La :term:`codificación del sistema de archivos y manejador de errores " +"<filesystem encoding and error handler>` se configuran al inicio de Python " +"mediante la función :c:func:`PyConfig_Read`: consulte los miembros :c:member:" +"`~PyConfig.filesystem_encoding` y :c:member:`~PyConfig.filesystem_errors` " +"de :c:type:`PyConfig`." #: ../Doc/library/os.rst:79 msgid "" @@ -181,40 +186,53 @@ msgid "" "system encoding fails to provide this guarantee, API functions can raise :" "exc:`UnicodeError`." msgstr "" +"La :term:`codificación del sistema de archivos y manejador de errores " +"<filesystem encoding and error handler>` debe garantizar la decodificación " +"exitosa de todos los bytes por debajo de 128. Si la codificación del sistema " +"de archivos no proporciona esta garantía, las funciones de API pueden " +"generar :exc:`UnicodeError`." #: ../Doc/library/os.rst:92 msgid "See also the :term:`locale encoding`." msgstr "" +"Consulte también la :term:`codificación de la configuración regional <locale " +"encoding>`." #: ../Doc/library/os.rst:98 msgid "Python UTF-8 Mode" -msgstr "" +msgstr "Modo Python UTF-8" #: ../Doc/library/os.rst:100 msgid "See :pep:`540` for more details." -msgstr "" +msgstr "Consulte :pep:`540` para obtener más detalles." #: ../Doc/library/os.rst:103 msgid "" "The Python UTF-8 Mode ignores the :term:`locale encoding` and forces the " "usage of the UTF-8 encoding:" msgstr "" +"El modo Python UTF-8 ignora la :term:`codificación de la configuración " +"regional <locale encoding>` y fuerza el uso de la codificación UTF-8:" #: ../Doc/library/os.rst:106 msgid "" "Use UTF-8 as the :term:`filesystem encoding <filesystem encoding and error " "handler>`." msgstr "" +"Utilice UTF-8 como :term:`codificación del sistema de archivos y manejador " +"de errores <filesystem encoding and error handler>`." #: ../Doc/library/os.rst:108 msgid ":func:`sys.getfilesystemencoding()` returns ``'UTF-8'``." -msgstr "" +msgstr ":func:`sys.getfilesystemencoding()` retorna ``'UTF-8'``." #: ../Doc/library/os.rst:109 msgid "" ":func:`locale.getpreferredencoding()` returns ``'UTF-8'`` (the " "*do_setlocale* argument has no effect)." msgstr "" +":func:`locale.getpreferredencoding()` retorna ``'UTF-8'`` (el argumento " +"*do_setlocale* no tiene ningún efecto)." #: ../Doc/library/os.rst:111 msgid "" @@ -224,12 +242,19 @@ msgid "" "(:data:`sys.stderr` continues to use ``backslashreplace`` as it does in the " "default locale-aware mode)" msgstr "" +":data:`sys.stdin`, :data:`sys.stdout` y :data:`sys.stderr` usan UTF-8 como " +"su codificación de texto, con ``surrogateescape`` :ref:`error handler <error-" +"handlers>` habilitado para :data:`sys.stdin` y :data:`sys.stdout` (:data:" +"`sys.stderr` continúa usando ``backslashreplace`` como lo hace en el modo " +"predeterminado de reconocimiento de configuración regional)" #: ../Doc/library/os.rst:116 msgid "" "On Unix, :func:`os.device_encoding` returns ``'UTF-8'``. rather than the " "device encoding." msgstr "" +"En Unix, :func:`os.device_encoding` retorna ``'UTF-8'``. en lugar de la " +"codificación del dispositivo." #: ../Doc/library/os.rst:119 msgid "" @@ -237,22 +262,30 @@ msgid "" "envvar:`PYTHONIOENCODING` (just as they can be in the default locale-aware " "mode)." msgstr "" +"Tenga en cuenta que :envvar:`PYTHONIOENCODING` puede anular la configuración " +"de transmisión estándar en el modo UTF-8 (al igual que en el modo " +"predeterminado con reconocimiento de configuración regional)." #: ../Doc/library/os.rst:123 msgid "" "As a consequence of the changes in those lower level APIs, other higher " "level APIs also exhibit different default behaviours:" msgstr "" +"Como consecuencia de los cambios en esas API de nivel inferior, otras API de " +"nivel superior también exhiben diferentes comportamientos predeterminados:" #: ../Doc/library/os.rst:126 msgid "" "Command line arguments, environment variables and filenames are decoded to " "text using the UTF-8 encoding." msgstr "" +"Los argumentos de la línea de comandos, las variables de entorno y los " +"nombres de archivo se decodifican en texto utilizando la codificación UTF-8." #: ../Doc/library/os.rst:128 msgid ":func:`os.fsdecode()` and :func:`os.fsencode()` use the UTF-8 encoding." msgstr "" +":func:`os.fsdecode()` y :func:`os.fsencode()` utilizan la codificación UTF-8." #: ../Doc/library/os.rst:129 msgid "" @@ -261,6 +294,11 @@ msgid "" "default so that attempting to open a binary file in text mode is likely to " "raise an exception rather than producing nonsense data." msgstr "" +":func:`open()`, :func:`io.open()` y :func:`codecs.open()` utilizan la " +"codificación UTF-8 de forma predeterminada. Sin embargo, todavía usan el " +"controlador de errores estricto de forma predeterminada, por lo que es " +"probable que intentar abrir un archivo binario en modo texto genere una " +"excepción en lugar de producir datos sin sentido." #: ../Doc/library/os.rst:134 msgid "" @@ -268,12 +306,17 @@ msgid "" "is ``C`` or ``POSIX`` at Python startup (see the :c:func:`PyConfig_Read` " "function)." msgstr "" +"El :ref:`Modo Python UTF-8 <utf8-mode>` se habilita si la configuración " +"regional LC_CTYPE es ``C`` o ``POSIX`` al iniciar Python (consulte la " +"función :c:func:`PyConfig_Read`)." #: ../Doc/library/os.rst:138 msgid "" "It can be enabled or disabled using the :option:`-X utf8 <-X>` command line " "option and the :envvar:`PYTHONUTF8` environment variable." msgstr "" +"Se puede habilitar o deshabilitar usando la opción de línea de comando :" +"option:`-X utf8 <-X>` y la variable de entorno :envvar:`PYTHONUTF8`." #: ../Doc/library/os.rst:141 msgid "" @@ -284,18 +327,32 @@ msgid "" "or fails. In such legacy locales, the interpreter will default to enabling " "UTF-8 mode unless explicitly instructed not to do so." msgstr "" +"Si la variable de entorno :envvar:`PYTHONUTF8` no está configurada en " +"absoluto, entonces el intérprete utiliza de forma predeterminada la " +"configuración regional actual, *a no ser que* la configuración regional " +"actual se identifica como una configuración regional heredada basada en " +"ASCII (como se describe para :envvar:`PYTHONCOERCECLOCALE`) y la coerción de " +"la configuración regional está deshabilitada o falla . En tales " +"configuraciones regionales heredadas, el intérprete habilitará de forma " +"predeterminada el modo UTF-8 a menos que se le indique explícitamente que no " +"lo haga." #: ../Doc/library/os.rst:148 msgid "" "The Python UTF-8 Mode can only be enabled at the Python startup. Its value " "can be read from :data:`sys.flags.utf8_mode <sys.flags>`." msgstr "" +"El modo Python UTF-8 solo se puede habilitar al inicio de Python. Su valor " +"se puede leer en :data:`sys.flags.utf8_mode <sys.flags>`." #: ../Doc/library/os.rst:151 msgid "" "See also the :ref:`UTF-8 mode on Windows <win-utf8-mode>` and the :term:" "`filesystem encoding and error handler`." msgstr "" +"Consulte también :ref:`modo UTF-8 en Windows <win-utf8-mode>` y :term:" +"`codificación del sistema de archivos y manejador de errores <filesystem " +"encoding and error handler>`." #: ../Doc/library/os.rst:158 msgid "Process Parameters" @@ -425,14 +482,13 @@ msgstr "" "así que es mejor modificar ``os.environ``." #: ../Doc/library/os.rst:197 -#, fuzzy msgid "" "On some platforms, including FreeBSD and macOS, setting ``environ`` may " "cause memory leaks. Refer to the system documentation for :c:func:`putenv`." msgstr "" -"En algunas plataformas, como FreeBSD y Mac OS X, establece ``environ`` " -"pueden generar pérdidas de memoria. Hay que referirse a la documentación del " -"sistema para la función :c:func:`putenv`." +"En algunas plataformas, incluidas FreeBSD y macOS, configurar ``environ`` " +"puede provocar pérdidas de memoria. Consulte la documentación del sistema " +"para :c:func:`putenv`." #: ../Doc/library/os.rst:201 msgid "" @@ -478,15 +534,12 @@ msgid "These functions are described in :ref:`os-file-dir`." msgstr "Estas funciones están detalladas en :ref:`os-file-dir`." #: ../Doc/library/os.rst:236 -#, fuzzy msgid "" "Encode :term:`path-like <path-like object>` *filename* to the :term:" "`filesystem encoding and error handler`; return :class:`bytes` unchanged." msgstr "" -"Codifica un nombre de archivo :term:`tipo ruta <path-like object>` con la " -"codificación del sistema de archivos usando el controlador de errores " -"``'surrogateescape'``, o ``'strict'`` en Windows; retorna :class:`bytes` sin " -"alterar." +"Codifique :term:`path-like <path-like object>` *filename* en :term:" +"`filesystem encoding and error handler`; retorna :class:`bytes` sin cambios." #: ../Doc/library/os.rst:240 msgid ":func:`fsdecode` is the reverse function." @@ -501,15 +554,12 @@ msgstr "" "`os.PathLike`." #: ../Doc/library/os.rst:251 -#, fuzzy msgid "" "Decode the :term:`path-like <path-like object>` *filename* from the :term:" "`filesystem encoding and error handler`; return :class:`str` unchanged." msgstr "" -"Decodifica un nombre de archivo :term:`tipo ruta <path-like object>` desde " -"la codificación del sistema de archivos usando el controlador de errores " -"``'surrogateescape'``, o ``'strict'`` en Windows; retorna :class:`str` sin " -"alterar." +"Decodifica el :term:`path-like <path-like object>` *filename* del :term:" +"`filesystem encoding and error handler`; retorna :class:`str` sin cambios." #: ../Doc/library/os.rst:255 msgid ":func:`fsencode` is the reverse function." @@ -648,7 +698,6 @@ msgstr "" "actual." #: ../Doc/library/os.rst:372 -#, fuzzy msgid "" "On macOS, :func:`getgroups` behavior differs somewhat from other Unix " "platforms. If the Python interpreter was built with a deployment target of :" @@ -664,20 +713,20 @@ msgid "" "`MACOSX_DEPLOYMENT_TARGET`, can be obtained with :func:`sysconfig." "get_config_var`." msgstr "" -"En Mac OS X, la función :func:`getgroups` se comporta diferente que en otras " -"plataformas del tipo Unix. Si el intérprete de Python se compiló con un " -"objetivo de despliegue igual a :const:`10.5` o anterior, la función :func:" -"`getgroups` retorna la lista de *ids* de grupos efectivos asociados con el " -"proceso actual; esta lista está limitada a un número de entradas definidas a " -"nivel de sistema, típicamente 16, y puede modificarse con la ejecución de :" -"func:`setgroups` si se tiene los privilegios adecuados. Si se compila con un " -"objetivo de despliegue mayor que :const:`10.5`, :func:`getgroups` retorna la " -"lista de acceso de grupo actual asociada para el *id* efectivo del usuario " -"del proceso; la lista de acceso de grupo puede cambiar durante el ciclo de " -"vida del proceso, no se ve afectada por las llamadas a :func:`setgroups`, y " -"su longitud no está limitada a 16. El valor de objetivo de despliegue, :" -"const:`MACOSX_DEPLOYMENT_TARGET`, se puede ver con :func:`sysconfig." -"get_config_var`." +"En macOS, el comportamiento de :func:`getgroups` difiere algo del de otras " +"plataformas Unix. Si el intérprete de Python se creó con un destino de " +"implementación de :const:`10.5` o anterior, :func:`getgroups` retorna la " +"lista de identificadores de grupo efectivos asociados con el proceso de " +"usuario actual; esta lista está limitada a un número de entradas definido " +"por el sistema, normalmente 16, y puede modificarse mediante llamadas a :" +"func:`setgroups` si tiene los privilegios adecuados. Si se construyó con un " +"objetivo de implementación mayor que :const:`10.5`, :func:`getgroups` " +"retorna la lista de acceso de grupo actual para el usuario asociado con el " +"ID de usuario efectivo del proceso; la lista de acceso de grupo puede " +"cambiar durante la vida útil del proceso, no se ve afectada por las llamadas " +"a :func:`setgroups` y su longitud no está limitada a 16. El valor de destino " +"de implementación, :const:`MACOSX_DEPLOYMENT_TARGET`, se puede obtener con :" +"func:`sysconfig.get_config_var`." #: ../Doc/library/os.rst:389 msgid "" @@ -814,14 +863,13 @@ msgstr "" "elementos de ``os.environ``." #: ../Doc/library/os.rst:519 -#, fuzzy msgid "" "On some platforms, including FreeBSD and macOS, setting ``environ`` may " "cause memory leaks. Refer to the system documentation for :c:func:`putenv`." msgstr "" -"En algunas plataformas, como FreeBSD y Mac OS X, establecer ``environ`` " -"pueden generar fugas de memoria. Referirse a la documentación para :c:func:" -"`putenv`." +"En algunas plataformas, incluidas FreeBSD y macOS, configurar ``environ`` " +"puede provocar pérdidas de memoria. Consulte la documentación del sistema " +"para :c:func:`putenv`." #: ../Doc/library/os.rst:522 msgid "" @@ -860,17 +908,16 @@ msgstr "" "disponible sólo para el superusuario." #: ../Doc/library/os.rst:557 -#, fuzzy msgid "" "On macOS, the length of *groups* may not exceed the system-defined maximum " "number of effective group ids, typically 16. See the documentation for :func:" "`getgroups` for cases where it may not return the same group list set by " "calling setgroups()." msgstr "" -"En Mac OS X, la longitud de *groups* no puede exceder el número máximo de " -"identificadores de grupo efectivos definidos por el sistema, generalmente " -"16. Consulte la documentación de :func:`getgroups` para casos en los que no " -"puede retornar el mismo conjunto de listas de grupos llamando a setgroups()." +"En macOS, la longitud de *groups* no puede exceder el número máximo definido " +"por el sistema de ID de grupo efectivos, por lo general 16. Consulte la " +"documentación de :func:`getgroups` para ver los casos en los que puede no " +"retornar la misma lista de grupos establecida llamando a setgroups()." #: ../Doc/library/os.rst:564 msgid "" @@ -1222,10 +1269,12 @@ msgid "" "On Unix, if the :ref:`Python UTF-8 Mode <utf8-mode>` is enabled, return " "``'UTF-8'`` rather than the device encoding." msgstr "" +"En Unix, si el :ref:`Modo Python UTF-8 <utf8-mode>` está habilitado, retorna " +"``'UTF-8'`` en lugar de la codificación del dispositivo." #: ../Doc/library/os.rst:816 msgid "On Unix, the function now implements the Python UTF-8 Mode." -msgstr "" +msgstr "En Unix, la función ahora implementa el modo Python UTF-8." #: ../Doc/library/os.rst:822 msgid "" @@ -1624,15 +1673,16 @@ msgid "The above constants are only available on Windows." msgstr "Las constantes anteriores sólo están disponibles en Windows." #: ../Doc/library/os.rst:1098 -#, fuzzy msgid "The above constants are only available on macOS." -msgstr "Las constantes anteriores sólo están disponibles en Windows." +msgstr "Las constantes anteriores solo están disponibles en macOS." #: ../Doc/library/os.rst:1100 msgid "" "Add :data:`O_EVTONLY`, :data:`O_FSYNC`, :data:`O_SYMLINK` and :data:" "`O_NOFOLLOW_ANY` constants." msgstr "" +"Agregue las constantes :data:`O_EVTONLY`, :data:`O_FSYNC`, :data:`O_SYMLINK` " +"y :data:`O_NOFOLLOW_ANY`." #: ../Doc/library/os.rst:1114 msgid "" @@ -1887,7 +1937,7 @@ msgstr ":data:`RWF_SYNC`" #: ../Doc/library/os.rst:1298 msgid ":data:`RWF_APPEND`" -msgstr "" +msgstr ":data:`RWF_APPEND`" #: ../Doc/library/os.rst:1300 msgid "Return the total number of bytes actually written." @@ -1908,28 +1958,26 @@ msgstr "" "requiere Linux 4.7 o posterior." #: ../Doc/library/os.rst:1316 -#, fuzzy msgid "" "Provide a per-write equivalent of the :data:`O_DSYNC` :func:`os.open` flag. " "This flag effect applies only to the data range written by the system call." msgstr "" -"Proporciona un equivalente por escritura de la flag :data:`O_SYNC`` " -"`open(2)``. Esta flag sólo se aplica al rango de datos escrito por la " -"llamada al sistema." +"Proporcione un equivalente por escritura del indicador :data:`O_DSYNC` :func:" +"`os.open`. Este efecto de bandera se aplica solo al rango de datos escrito " +"por la llamada al sistema." #: ../Doc/library/os.rst:1320 ../Doc/library/os.rst:1330 msgid ":ref:`Availability <availability>`: Linux 4.7 and newer." msgstr ":ref:`Disponibilidad <availability>`: Linux 4.7 y más nuevos." #: ../Doc/library/os.rst:1326 -#, fuzzy msgid "" "Provide a per-write equivalent of the :data:`O_SYNC` :func:`os.open` flag. " "This flag effect applies only to the data range written by the system call." msgstr "" -"Proporciona un equivalente por escritura de la flag :data:`O_SYNC`` " -"`open(2)``. Esta flag sólo se aplica al rango de datos escrito por la " -"llamada al sistema." +"Proporcione un equivalente por escritura del indicador :data:`O_SYNC` :func:" +"`os.open`. Este efecto de bandera se aplica solo al rango de datos escrito " +"por la llamada al sistema." #: ../Doc/library/os.rst:1336 msgid "" @@ -1940,11 +1988,16 @@ msgid "" "of the file. However, if the *offset* argument is ``-1``, the current file " "*offset* is updated." msgstr "" +"Proporcione un equivalente por escritura del indicador :data:`O_APPEND` :" +"func:`os.open`. Esta bandera es significativa solo para :func:`os.pwritev` y " +"su efecto se aplica solo al rango de datos escrito por la llamada al " +"sistema. El argumento *offset* no afecta la operación de escritura; los " +"datos siempre se añaden al final del archivo. Sin embargo, si el argumento " +"*offset* es ``-1``, se actualiza el *offset* actual del archivo." #: ../Doc/library/os.rst:1344 -#, fuzzy msgid ":ref:`Availability <availability>`: Linux 4.16 and newer." -msgstr ":ref:`Disponibilidad <availability>`: Linux 4.6 y más nuevos." +msgstr ":ref:`Disponibilidad <availability>`: Linux 4.16 y más nuevos." #: ../Doc/library/os.rst:1350 msgid "Read at most *n* bytes from file descriptor *fd*." @@ -1991,26 +2044,24 @@ msgstr "" "posición actual de *in_fd* y la posición de *in_fd* se actualiza." #: ../Doc/library/os.rst:1382 -#, fuzzy msgid "" "The second case may be used on macOS and FreeBSD where *headers* and " "*trailers* are arbitrary sequences of buffers that are written before and " "after the data from *in_fd* is written. It returns the same as the first " "case." msgstr "" -"El segundo caso puede usarse en Mac OS X y FreeBSD donde *headers* y " +"El segundo caso se puede usar en macOS y FreeBSD donde *headers* y " "*trailers* son secuencias arbitrarias de búferes que se escriben antes y " -"después de que los datos de *in_fd* sean escritos. Retorna lo mismo que el " +"después de que se escriban los datos de *in_fd*. Retorna lo mismo que el " "primer caso." #: ../Doc/library/os.rst:1386 -#, fuzzy msgid "" "On macOS and FreeBSD, a value of ``0`` for *count* specifies to send until " "the end of *in_fd* is reached." msgstr "" -"En Mac OS X y FreeBSD, un valor de 0 para *count* especifica enviar hasta el " -"que final de *in_fd* sea alcanzado." +"En macOS y FreeBSD, un valor de ``0`` para *count* especifica enviar hasta " +"que se alcanza el final de *in_fd*." #: ../Doc/library/os.rst:1389 msgid "" @@ -2063,7 +2114,6 @@ msgstr "" "Parámetros para la función :func:`sendfile`, si la implementación los admite." #: ../Doc/library/os.rst:1434 -#, fuzzy msgid "" "Transfer *count* bytes from file descriptor *src*, starting from offset " "*offset_src*, to file descriptor *dst*, starting from offset *offset_dst*. " @@ -2074,13 +2124,16 @@ msgid "" "the same filesystem, otherwise an :exc:`OSError` is raised with :attr:" "`~OSError.errno` set to :data:`errno.EXDEV`." msgstr "" -"Copia *count* bytes del descriptor de archivo *src*, comenzando desde offset " -"*offset_src*, al descriptor de archivo *dst*, comenzando desde offset " -"*offset_dst*. Si *offset_src* es None, entonces *src* se lee desde la " -"posición actual; respectivamente para *offset_dst*. Los archivos señalados " -"por *src* y *dst* deben estar en el mismo sistema de archivos; de lo " -"contrario, se genera una :exc:`OSError` con :attr:`~OSError.errno` " -"establecido en :data:`errno.EXDEV`." +"Transfiera *count* bytes desde el descriptor de archivo *src*, comenzando " +"desde el desplazamiento *offset_src*, al descriptor de archivo *dst*, " +"comenzando desde el desplazamiento *offset_dst*. Al menos uno de los " +"descriptores de archivo debe hacer referencia a una tubería. Si *offset_src* " +"es None, entonces *src* se lee desde la posición actual; respectivamente " +"para *offset_dst*. El desplazamiento asociado al descriptor de archivo que " +"hace referencia a una tubería debe ser ``None``. Los archivos señalados por " +"*src* y *dst* deben residir en el mismo sistema de archivos; de lo " +"contrario, se genera un :exc:`OSError` con :attr:`~OSError.errno` " +"configurado en :data:`errno.EXDEV`." #: ../Doc/library/os.rst:1448 msgid "" @@ -2090,13 +2143,18 @@ msgid "" "sense to block because there are no writers connected to the write end of " "the pipe." msgstr "" +"Una vez completado con éxito, retorna el número de bytes empalmados hacia o " +"desde la tubería. Un valor de retorno de 0 significa el final de la entrada. " +"Si *src* se refiere a una tubería, esto significa que no hay datos para " +"transferir y no tendría sentido bloquear porque no hay escritores conectados " +"al extremo de escritura de la tubería." #: ../Doc/library/os.rst:1455 -#, fuzzy msgid "" ":ref:`Availability <availability>`: Linux kernel >= 2.6.17 and glibc >= 2.5" msgstr "" -":ref:`Disponibilidad <availability>`: Kernel de Linux >= 4.5 o glibc >= 2.27." +":ref:`Disponibilidad <availability>`: Kernel de Linux >= 2.6.17 y glibc >= " +"2.5." #: ../Doc/library/os.rst:1467 msgid "" @@ -3232,14 +3290,14 @@ msgstr "" "anteriormente." #: ../Doc/library/os.rst:2248 -#, fuzzy msgid "" "Remove (delete) the file *path*. If *path* is a directory, an :exc:" "`IsADirectoryError` is raised. Use :func:`rmdir` to remove directories. If " "the file does not exist, a :exc:`FileNotFoundError` is raised." msgstr "" -"Elimina (elimine) el archivo *path*. Si *path* es un directorio, se genera " -"un :exc:`IsADirectoryError`. Use :func:`rmdir` para eliminar directorios." +"Quite (elimine) el archivo *path*. Si *path* es un directorio, se genera un :" +"exc:`IsADirectoryError`. Utilice :func:`rmdir` para eliminar directorios. Si " +"el archivo no existe, se lanza un :exc:`FileNotFoundError`." #: ../Doc/library/os.rst:2252 ../Doc/library/os.rst:2363 #: ../Doc/library/os.rst:2999 @@ -4158,10 +4216,9 @@ msgstr "" "contiene el archivo." #: ../Doc/library/os.rst:2792 -#, fuzzy msgid "On macOS systems, the following attributes may also be available:" msgstr "" -"En los sistemas Mac OS, los siguientes atributos también pueden estar " +"En los sistemas macOS, los siguientes atributos también pueden estar " "disponibles:" #: ../Doc/library/os.rst:2796 @@ -4925,6 +4982,12 @@ msgid "" "`eventfd(2)` for more information. By default, the new file descriptor is :" "ref:`non-inheritable <fd_inheritance>`." msgstr "" +"Crea y retorna un descriptor de archivo de eventos. Los descriptores de " +"archivo admiten :func:`read` y :func:`write` sin procesar con un tamaño de " +"búfer de 8, :func:`~select.select`, :func:`~select.poll` y similares. " +"Consulte la página de manual :manpage:`eventfd(2)` para obtener más " +"información. De forma predeterminada, el nuevo descriptor de archivo :ref:" +"`no es heredable <fd_inheritance>`." #: ../Doc/library/os.rst:3331 msgid "" @@ -4933,18 +4996,27 @@ msgid "" "to a 32 bit unsigned int although the event counter is an unsigned 64 bit " "integer with a maximum value of 2\\ :sup:`64`\\ -\\ 2." msgstr "" +"*initval* es el valor inicial del contador de eventos. El valor inicial debe " +"ser un entero sin signo de 32 bits. Tenga en cuenta que el valor inicial " +"está limitado a un entero sin signo de 32 bits, aunque el contador de " +"eventos es un entero de 64 bits sin signo con un valor máximo de 2 \\ :sup:" +"`64`\\ -\\ 2." #: ../Doc/library/os.rst:3336 msgid "" "*flags* can be constructed from :const:`EFD_CLOEXEC`, :const:`EFD_NONBLOCK`, " "and :const:`EFD_SEMAPHORE`." msgstr "" +"*flags* se puede construir a partir de :const:`EFD_CLOEXEC`, :const:" +"`EFD_NONBLOCK` y :const:`EFD_SEMAPHORE`." #: ../Doc/library/os.rst:3339 msgid "" "If :const:`EFD_SEMAPHORE` is specified and the event counter is non-zero, :" "func:`eventfd_read` returns 1 and decrements the counter by one." msgstr "" +"Si se especifica :const:`EFD_SEMAPHORE` y el contador de eventos no es " +"cero, :func:`eventfd_read` retorna 1 y reduce el contador en uno." #: ../Doc/library/os.rst:3342 msgid "" @@ -4952,12 +5024,17 @@ msgid "" "zero, :func:`eventfd_read` returns the current event counter value and " "resets the counter to zero." msgstr "" +"Si no se especifica :const:`EFD_SEMAPHORE` y el contador de eventos no es " +"cero, :func:`eventfd_read` retorna el valor actual del contador de eventos y " +"restablece el contador a cero." #: ../Doc/library/os.rst:3346 msgid "" "If the event counter is zero and :const:`EFD_NONBLOCK` is not specified, :" "func:`eventfd_read` blocks." msgstr "" +"Si el contador de eventos es cero y no se especifica :const:`EFD_NONBLOCK`, :" +"func:`eventfd_read` se bloquea." #: ../Doc/library/os.rst:3349 msgid "" @@ -4965,14 +5042,16 @@ msgid "" "write operation would increment the counter to a value larger than 2\\ :sup:" "`64`\\ -\\ 2." msgstr "" +":func:`eventfd_write` incrementa el contador de eventos. Escribe bloques si " +"la operación de escritura incrementaría el contador a un valor mayor que \\ :" +"sup:`64`\\ -\\ 2." #: ../Doc/library/os.rst:3371 -#, fuzzy msgid "" ":ref:`Availability <availability>`: Linux 2.6.27 or newer with glibc 2.8 or " "newer." msgstr "" -":ref:`Disponibilidad <availability>`: Linux 3.17 o posterior con glibc 2.27 " +":ref:`Disponibilidad <availability>`: Linux 2.6.27 o posterior con glibc 2.8 " "o posterior." #: ../Doc/library/os.rst:3376 @@ -4980,41 +5059,51 @@ msgid "" "Read value from an :func:`eventfd` file descriptor and return a 64 bit " "unsigned int. The function does not verify that *fd* is an :func:`eventfd`." msgstr "" +"Lee el valor de un descriptor de archivo :func:`eventfd` y retorna un int " +"sin signo de 64 bits. La función no verifica que *fd* sea un :func:`eventfd`." #: ../Doc/library/os.rst:3380 ../Doc/library/os.rst:3389 #: ../Doc/library/os.rst:3397 ../Doc/library/os.rst:3406 -#, fuzzy msgid ":ref:`Availability <availability>`: See :func:`eventfd`" -msgstr ":ref:`Disponibilidad <availability>`: Unix." +msgstr ":ref:`Disponibilidad <availability>`: Ver :func:`eventfd`" #: ../Doc/library/os.rst:3385 msgid "" "Add value to an :func:`eventfd` file descriptor. *value* must be a 64 bit " "unsigned int. The function does not verify that *fd* is an :func:`eventfd`." msgstr "" +"Agregue valor a un descriptor de archivo :func:`eventfd`. *value* debe ser " +"un int sin signo de 64 bits. La función no verifica que *fd* sea un :func:" +"`eventfd`." #: ../Doc/library/os.rst:3394 msgid "Set close-on-exec flag for new :func:`eventfd` file descriptor." msgstr "" +"Establezca el indicador close-on-exec para el nuevo descriptor de archivo :" +"func:`eventfd`." #: ../Doc/library/os.rst:3402 msgid "" "Set :const:`O_NONBLOCK` status flag for new :func:`eventfd` file descriptor." msgstr "" +"Establezca el indicador de estado :const:`O_NONBLOCK` para el nuevo " +"descriptor de archivo :func:`eventfd`." #: ../Doc/library/os.rst:3411 msgid "" "Provide semaphore-like semantics for reads from a :func:`eventfd` file " "descriptor. On read the internal counter is decremented by one." msgstr "" +"Proporcione semántica similar a un semáforo para las lecturas de un " +"descriptor de archivo :func:`eventfd`. Al leer, el contador interno se " +"reduce en uno." #: ../Doc/library/os.rst:3415 -#, fuzzy msgid "" ":ref:`Availability <availability>`: Linux 2.6.30 or newer with glibc 2.8 or " "newer." msgstr "" -":ref:`Disponibilidad <availability>`: Linux 3.17 o posterior con glibc 2.27 " +":ref:`Disponibilidad <availability>`: Linux 2.6.30 o posterior con glibc 2.8 " "o posterior." #: ../Doc/library/os.rst:3420 @@ -5071,17 +5160,16 @@ msgstr "" "argumento ``path``." #: ../Doc/library/os.rst:3460 -#, fuzzy msgid "" "Removes the extended filesystem attribute *attribute* from *path*. " "*attribute* should be bytes or str (directly or indirectly through the :" "class:`PathLike` interface). If it is a string, it is encoded with the :term:" "`filesystem encoding and error handler`." msgstr "" -"Elimina el atributo del sistema de archivos extendido *attribute* de *path*. " +"Elimina el atributo extendido del sistema de archivos *attribute* de *path*. " "*attribute* debe ser bytes o str (directa o indirectamente a través de la " -"interfaz :class:`PathLike`). Si es una cadena, se codifica con la " -"codificación del sistema de archivos." +"interfaz :class:`PathLike`). Si es una cadena, está codificada con :term:" +"`filesystem encoding and error handler`." #: ../Doc/library/os.rst:3468 msgid "" @@ -5092,7 +5180,6 @@ msgstr "" "argumentos ``path``, ``attribute``." #: ../Doc/library/os.rst:3476 -#, fuzzy msgid "" "Set the extended filesystem attribute *attribute* on *path* to *value*. " "*attribute* must be a bytes or str with no embedded NULs (directly or " @@ -5104,13 +5191,13 @@ msgid "" "will not be created and ``EEXISTS`` will be raised." msgstr "" "Establece el atributo del sistema de archivos extendido *attribute* en " -"*path* a *value*. *attribute* debe ser un byte o str sin NUL incrustados " -"(directa o indirectamente a través de la interfaz :class:`PathLike`). Si es " -"un str, se codifica con la codificación del sistema de archivos. *flags* " -"pueden ser :data:`XATTR_REPLACE` o :data:`XATTR_CREATE`. Si :data:" -"`XATTR_REPLACE` se proporciona y el atributo no existe, se generará " -"``EEXISTS``. Si :data:`XATTR_CREATE` se proporciona y el atributo ya existe, " -"el atributo no se creará y se generará ``ENODATA``." +"*path* en *value*. *attribute* debe ser un bytes o una cadena sin NUL " +"incrustados (directa o indirectamente a través de la interfaz :class:" +"`PathLike`). Si es una cadena, está codificado con :term:`filesystem " +"encoding and error handler`. *flags* puede ser :data:`XATTR_REPLACE` o :data:" +"`XATTR_CREATE`. Si se proporciona :data:`XATTR_REPLACE` y el atributo no " +"existe, se generará ``ENODATA``. Si se proporciona :data:`XATTR_CREATE` y el " +"atributo ya existe, no se creará el atributo y se lanza ``EEXISTS``." #: ../Doc/library/os.rst:3490 msgid "" @@ -6198,6 +6285,9 @@ msgid "" "string. This argument may have no effect when using this function to launch " "a document." msgstr "" +"Al iniciar una aplicación, especifique *arguments* para que se pase como una " +"sola cadena. Es posible que este argumento no tenga ningún efecto cuando se " +"utiliza esta función para iniciar un documento." #: ../Doc/library/os.rst:4177 msgid "" @@ -6205,6 +6295,9 @@ msgid "" "*cwd* argument. This should be an absolute path. A relative *path* will be " "resolved against this argument." msgstr "" +"El directorio de trabajo predeterminado se hereda, pero el argumento *cwd* " +"puede anularlo. Este debería ser un camino absoluto. Un *path* relativo se " +"resolverá contra este argumento." #: ../Doc/library/os.rst:4181 msgid "" @@ -6212,9 +6305,12 @@ msgid "" "effect will depend on the application being launched. Values are integers as " "supported by the Win32 :c:func:`ShellExecute` function." msgstr "" +"Utilice *show_cmd* para anular el estilo de ventana predeterminado. Si esto " +"tiene algún efecto dependerá de la aplicación que se esté iniciando. Los " +"valores son números enteros admitidos por la función Win32 :c:func:" +"`ShellExecute`." #: ../Doc/library/os.rst:4185 -#, fuzzy msgid "" ":func:`startfile` returns as soon as the associated application is launched. " "There is no option to wait for the application to close, and no way to " @@ -6224,14 +6320,13 @@ msgid "" "the :func:`os.path.normpath` function to ensure that paths are properly " "encoded for Win32." msgstr "" -":func:`startfile` vuelve tan pronto como se inicia la aplicación asociada. " -"No hay opción de esperar a que la aplicación se cierre y no hay forma de " +":func:`startfile` retorna tan pronto como se inicia la aplicación asociada. " +"No hay opción para esperar a que se cierre la aplicación y no hay forma de " "recuperar el estado de salida de la aplicación. El parámetro *path* es " -"relativo al directorio actual. Si desea utilizar una ruta absoluta, " -"asegúrese de que el primer carácter no sea una barra inclinada (``'/'``); la " -"función subyacente Win32 :c:func:`ShellExecute` no funciona si lo es. Use la " -"función :func:`os.path.normpath` para asegurarse de que la ruta esté " -"codificada correctamente para Win32." +"relativo al directorio actual o *cwd*. Si desea utilizar una ruta absoluta, " +"asegúrese de que el primer carácter no sea una barra (``'/'``) Utilice :mod:" +"`pathlib` o la función :func:`os.path.normpath` para asegurarse de que las " +"rutas estén codificadas correctamente para Win32." #: ../Doc/library/os.rst:4193 msgid "" @@ -6253,22 +6348,22 @@ msgstr "" "argumentos ``path``, ``operation``." #: ../Doc/library/os.rst:4199 -#, fuzzy msgid "" "Raises an :ref:`auditing event <auditing>` ``os.startfile/2`` with arguments " "``path``, ``operation``, ``arguments``, ``cwd``, ``show_cmd``." msgstr "" -"Lanza un :ref:`evento de auditoría <auditing>` ``os.startfile`` con " -"argumentos ``path``, ``operation``." +"Lanza un :ref:`evento de auditoria <auditing>` ``os.startfile/2`` con " +"argumentos ``path``, ``operation``, ``arguments``, ``cwd``, ``show_cmd``." #: ../Doc/library/os.rst:4203 msgid "" "Added the *arguments*, *cwd* and *show_cmd* arguments, and the ``os." "startfile/2`` audit event." msgstr "" +"Se agregaron los argumentos *arguments*, *cwd* y *show_cmd*, y el evento de " +"auditoría ``os.startfile/2``." #: ../Doc/library/os.rst:4210 -#, fuzzy msgid "" "Execute the command (a string) in a subshell. This is implemented by " "calling the Standard C function :c:func:`system`, and has the same " @@ -6278,17 +6373,21 @@ msgid "" "not specify the meaning of the return value of the C function, so the return " "value of the Python function is system-dependent." msgstr "" -"Ejecute el comando (una cadena) en una subshell. Esto se implementa llamando " -"a la función Estándar C :c:func:`system`, y tiene las mismas limitaciones. " +"Ejecute el comando (una cadena) en una subcapa. Esto se implementa llamando " +"a la función C estándar :c:func:`system` y tiene las mismas limitaciones. " "Los cambios en :data:`sys.stdin`, etc. no se reflejan en el entorno del " "comando ejecutado. Si *command* genera alguna salida, se enviará al flujo de " -"salida estándar del intérprete." +"salida estándar del intérprete. El estándar C no especifica el significado " +"del valor de retorno de la función C, por lo que el valor de retorno de la " +"función de Python depende del sistema." #: ../Doc/library/os.rst:4218 msgid "" "On Unix, the return value is the exit status of the process encoded in the " "format specified for :func:`wait`." msgstr "" +"En Unix, el valor de retorno es el estado de salida del proceso codificado " +"en el formato especificado para :func:`wait`." #: ../Doc/library/os.rst:4221 msgid "" @@ -6884,14 +6983,13 @@ msgstr "" "de política de programación anteriores." #: ../Doc/library/os.rst:4638 -#, fuzzy msgid "" "Set the scheduling parameters for the process with PID *pid*. A *pid* of 0 " "means the calling process. *param* is a :class:`sched_param` instance." msgstr "" -"Establece parámetros de programación para el proceso con PID *pid*. Un *pid* " -"de 0 significa el proceso de llamada. *param* es una instancia de :class:" -"`sched_param`." +"Establece los parámetros de programación para el proceso con PID *pid*. Un " +"*pid* de 0 significa el proceso de llamada. *param* es una instancia de :" +"class:`sched_param`." #: ../Doc/library/os.rst:4644 msgid "" diff --git a/scripts/translate.py b/scripts/translate.py index 16d0c50aa4..26c8d5f80d 100644 --- a/scripts/translate.py +++ b/scripts/translate.py @@ -44,6 +44,8 @@ ":RFC:`[^`]+`", ":rfc:`[^`]+`", ":doc:`[^`]+`", + ":manpage:`[^`]+`", + ":sup:`[^`]+`", "``[^`]+``", "`[^`]+`__", "`[^`]+`_",
qtile__qtile-2450
Widgets missing from docs Some widgets seem to have disappeared from the [official docs](http://docs.qtile.org/en/latest/manual/ref/widgets.html) (specifically `Mpris2` and `KeyboardKbdd`). Given that these are two widgets that I've done some work on, it may be linked to that (but not immediately sure how). I can do some bisecting and report back. # Qtile version Latest (3fb1e46 at time of posting) EDIT: I can't replicate this on my system. However, given the identity of the two widgets, my guess is that this is related to `dbus-next` and that the modules need to be included in the `docs\conf.py` file here: https://github.com/qtile/qtile/blob/3fb1e4645910c67bf6d302d59302dfb88f10c4ad/docs/conf.py#L27-L48 I'll submit a PR on that basis.
[ { "content": "# -*- coding: utf-8 -*-\n#\n# Qtile documentation build configuration file, created by\n# sphinx-quickstart on Sat Feb 11 15:20:21 2012.\n#\n# This file is execfile()d with the current directory set to its containing dir.\n#\n# Note that not all possible configuration values are present in this\n#...
[ { "content": "# -*- coding: utf-8 -*-\n#\n# Qtile documentation build configuration file, created by\n# sphinx-quickstart on Sat Feb 11 15:20:21 2012.\n#\n# This file is execfile()d with the current directory set to its containing dir.\n#\n# Note that not all possible configuration values are present in this\n#...
diff --git a/docs/conf.py b/docs/conf.py index aaaa5d23bf..bc52457694 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -33,6 +33,10 @@ def __dir__(self): 'cffi', 'dateutil', 'dateutil.parser', + 'dbus_next', + 'dbus_next.aio', + 'dbus_next.service', + 'dbus_next.constants', 'iwlib', 'keyring', 'mpd',
wemake-services__wemake-python-styleguide-1630
Allow async magic __call__ # Thesis `__call__` method should be asyncable. ```python import asyncio import os class RequestHandler(object): async def __call__(self, reader, writer): ipc_input = (await reader.readline()).decode('utf8').strip() writer.write('You sent: "{0}"\n'.format(ipc_input).encode('utf8')) async def bootstrap(): handler = RequestHandler() server = await asyncio.start_unix_server(handler, path='/var/tmp/my_sock') os.chmod('/var/tmp/my_sock', 0o666) while True: try: await asyncio.sleep(120) except asyncio.CancelledError: server.close() break asyncio.run(bootstrap()) ``` ## Reasoning Much like how `__call__` can be a generator there is no reason it can't be async.
[ { "content": "\"\"\"\nThis module contains list of white- and black-listed ``python`` members.\n\nWe add values here when we want to make them public.\nOr when a value is reused in several places.\nThen, we automatically have to add it here and document it.\n\nOther constants that are not used across modules\na...
[ { "content": "\"\"\"\nThis module contains list of white- and black-listed ``python`` members.\n\nWe add values here when we want to make them public.\nOr when a value is reused in several places.\nThen, we automatically have to add it here and document it.\n\nOther constants that are not used across modules\na...
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5f9abc0dc..9a6577b3b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,6 +18,8 @@ jobs: - name: Install poetry run: | + pip install -U pip + curl -sSL \ "https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py" | python @@ -39,7 +41,7 @@ jobs: make test - - name: Upload coverage to Codecov + - name: Upload coverage to Codecov uses: codecov/codecov-action@v1 with: file: ./coverage.xml diff --git a/CHANGELOG.md b/CHANGELOG.md index 5773218d4..c409bc377 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ Semantic versioning in our case means: ### Features - Forbids using too many variables in a tuple unpacking +- Allow `__call__` method to be asynchronous ### Bugfixes diff --git a/Makefile b/Makefile index bc043cb7d..d75786b5f 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ unit: package: poetry run poetry check poetry run pip check - poetry run safety check --bare --full-report + poetry run safety check --full-report .PHONY: test test: lint unit package diff --git a/tests/test_visitors/test_ast/test_classes/test_methods/test_async_magic_methods.py b/tests/test_visitors/test_ast/test_classes/test_methods/test_async_magic_methods.py index da974edd0..47ff9bbcf 100644 --- a/tests/test_visitors/test_ast/test_classes/test_methods/test_async_magic_methods.py +++ b/tests/test_visitors/test_ast/test_classes/test_methods/test_async_magic_methods.py @@ -46,6 +46,7 @@ def test_wrong_async_magic_used( '__anext__', '__aenter__', '__aexit__', + '__call__', '__custom__', ]) def test_correct_async_magic_used( diff --git a/wemake_python_styleguide/constants.py b/wemake_python_styleguide/constants.py index c570a0f1f..acfedccf4 100644 --- a/wemake_python_styleguide/constants.py +++ b/wemake_python_styleguide/constants.py @@ -266,6 +266,7 @@ '__anext__', '__aenter__', '__aexit__', + '__call__', }) #: List of builtin classes that are allowed to subclass.
open-telemetry__opentelemetry-python-1145
ReadTheDocs configuration issue The RTD documentation is not updated with my changes in #1096 https://opentelemetry-python.readthedocs.io/en/latest/sdk/resources.html However, it works fine locally. **Steps to reproduce** Reproduced in all builds on RTD. For example, see logs here: https://readthedocs.org/projects/opentelemetry-python/builds/11937984/ (all builds [here](https://readthedocs.org/projects/google-cloud-opentelemetry/builds/)) You can run the commands in the logs to repro locally and see many of these types of errors: ``` WARNING: autodoc: failed to import module 'zipkin' from module 'opentelemetry.exporter'; the following exception was raised: Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/opentelemetry-python/envs/latest/lib/python3.8/site-packages/sphinx/ext/autodoc/importer.py", line 32, in import_module return importlib.import_module(modname) File "/home/docs/checkouts/readthedocs.org/user_builds/opentelemetry-python/envs/latest/lib/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 671, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 783, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/home/docs/checkouts/readthedocs.org/user_builds/opentelemetry-python/checkouts/latest/exporter/opentelemetry-exporter-zipkin/src/opentelemetry/exporter/zipkin/__init__.py", line 72, in <module> from opentelemetry.sdk.trace.export import SpanExporter, SpanExportResult File "/home/docs/checkouts/readthedocs.org/user_builds/opentelemetry-python/checkouts/latest/opentelemetry-sdk/src/opentelemetry/sdk/__init__.py", line 19, in <module> from . import metrics, trace, util File "/home/docs/checkouts/readthedocs.org/user_builds/opentelemetry-python/checkouts/latest/opentelemetry-sdk/src/opentelemetry/sdk/metrics/__init__.py", line 33, in <module> from opentelemetry.sdk.resources import Resource File "/home/docs/checkouts/readthedocs.org/user_builds/opentelemetry-python/checkouts/latest/opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py", line 98, in <module> OPENTELEMETRY_SDK_VERSION = pkg_resources.get_distribution( File "/home/docs/checkouts/readthedocs.org/user_builds/opentelemetry-python/envs/latest/lib/python3.8/site-packages/pkg_resources/__init__.py", line 481, in get_distribution dist = get_provider(dist) File "/home/docs/checkouts/readthedocs.org/user_builds/opentelemetry-python/envs/latest/lib/python3.8/site-packages/pkg_resources/__init__.py", line 357, in get_provider return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0] File "/home/docs/checkouts/readthedocs.org/user_builds/opentelemetry-python/envs/latest/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require needed = self.resolve(parse_requirements(requirements)) File "/home/docs/checkouts/readthedocs.org/user_builds/opentelemetry-python/envs/latest/lib/python3.8/site-packages/pkg_resources/__init__.py", line 786, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'opentelemetry-sdk' distribution was not found and is required by the application ``` **What is the expected behavior?** <img width="1218" alt="Screen Shot 2020-09-22 at 3 23 21 PM" src="https://user-images.githubusercontent.com/1510004/93927952-9410df00-fce7-11ea-9328-2d4c9951089e.png"> **What is the actual behavior?** See logs above
[ { "content": "# Configuration file for the Sphinx documentation builder.\n#\n# This file only contains a selection of the most common options. For a full\n# list see the documentation:\n# http://www.sphinx-doc.org/en/master/config\n\n# -- Path setup --------------------------------------------------------------...
[ { "content": "# Configuration file for the Sphinx documentation builder.\n#\n# This file only contains a selection of the most common options. For a full\n# list see the documentation:\n# http://www.sphinx-doc.org/en/master/config\n\n# -- Path setup --------------------------------------------------------------...
diff --git a/docs-requirements.txt b/docs-requirements.txt index e98a0d35dfb..a3168862770 100644 --- a/docs-requirements.txt +++ b/docs-requirements.txt @@ -2,6 +2,11 @@ sphinx~=2.4 sphinx-rtd-theme~=0.4 sphinx-autodoc-typehints~=1.10.2 +# Need to install the api/sdk in the venv for autodoc. Modifying sys.path +# doesn't work for pkg_resources. +./opentelemetry-api +./opentelemetry-sdk + # Required by ext packages asgiref~=3.0 asyncpg>=0.12.0 diff --git a/docs/conf.py b/docs/conf.py index d15d8b2ed5b..68b871aaac2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -25,8 +25,6 @@ source_dirs = [ - os.path.abspath("../opentelemetry-api/src/"), - os.path.abspath("../opentelemetry-sdk/src/"), os.path.abspath("../opentelemetry-instrumentation/src/"), ]
HybirdCorp__creme_crm-431
[WIP] fix python3.9.12 3.9.13 ci issue
[ { "content": "__version__ = '2.4-alpha1'\n\n# App registry hooking ---------------------------------------------------------\n\ntry:\n from django.apps.config import AppConfig\n from django.apps.registry import Apps\nexcept ImportError:\n # This error may appear with old versions of setuptools during i...
[ { "content": "__version__ = '2.4-alpha1'\n\n\ndef get_version():\n return __version__\n\n\n# App registry hooking ---------------------------------------------------------\n\ntry:\n from django.apps.config import AppConfig\n from django.apps.registry import Apps\nexcept ImportError:\n # This error m...
diff --git a/.circleci/config.yml b/.circleci/config.yml index e1450abb5f..e63a241f5f 100755 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,6 +7,9 @@ parameters: instance_directory: type: string default: 'creme_project' + pycache_prefix: + type: string + default: 'creme-crm-cache-v1' commands: wait-database: @@ -31,29 +34,29 @@ commands: - run: sudo apt install -y python3-dev graphviz libgraphviz-dev pkg-config install-py-dev-env: - parameters: - python: - type: string steps: - - run: which <<parameters.python>> + - run: which python + - run: python --version + - run: python --version > /tmp/python_version + - run: cat /tmp/python_version + + - run: cd << pipeline.parameters.source_path >> && python -c "import creme; print(creme.get_version())" > /tmp/creme_version + - run: cat /tmp/creme_version - restore_cache: keys: - - << parameters.python >>-creme_crm-v2.4-{{ checksum "<< pipeline.parameters.source_path >>/setup.cfg" }} - - << parameters.python >>-creme_crm-v2.4 + - << pipeline.parameters.pycache_prefix >>-{{ checksum "/tmp/python_version" }}-{{ checksum "/tmp/creme_version" }}-{{ checksum "<< pipeline.parameters.source_path >>/setup.cfg" }} - - run: <<parameters.python>> -m venv ~/venv + - run: python -m venv ~/venv # Require setuptools v46.4.0 at least - run: ~/venv/bin/pip install -U pip setuptools - run: echo "source ~/venv/bin/activate" >> $BASH_ENV - - run: which python - run: pip install -U -e << pipeline.parameters.source_path >>[dev,mysql,pgsql,graphs] - - run: python --version - run: pip freeze - run: pip list --outdated - save_cache: - key: << parameters.python >>-creme_crm-v2.4-{{ checksum "<< pipeline.parameters.source_path >>/setup.cfg" }} + key: << pipeline.parameters.pycache_prefix >>-{{ checksum "/tmp/python_version" }}-{{ checksum "/tmp/creme_version" }}-{{ checksum "<< pipeline.parameters.source_path >>/setup.cfg" }} paths: "~/venv" install-node-env: @@ -158,8 +161,7 @@ jobs: steps: - checkout-creme - install-creme-system-packages - - install-py-dev-env: - python: "python3.7" + - install-py-dev-env - run: make -C << pipeline.parameters.source_path >> isort-check @@ -169,8 +171,7 @@ jobs: steps: - checkout-creme - install-creme-system-packages - - install-py-dev-env: - python: "python3.7" + - install-py-dev-env - run: flake8 << pipeline.parameters.source_path >>/creme/ --config << pipeline.parameters.source_path >>/setup.cfg @@ -191,8 +192,7 @@ jobs: port: 3306 - install-creme-system-packages - run: sudo apt install -y mariadb-client - - install-py-dev-env: - python: "python3.7" + - install-py-dev-env - create-creme-project - setup-creme-unit-tests: local_settings: 'mysql_settings' @@ -216,8 +216,7 @@ jobs: - wait-database: port: 5432 - install-creme-system-packages - - install-py-dev-env: - python: "python3.7" + - install-py-dev-env - create-creme-project - setup-creme-unit-tests: local_settings: 'pgsql_settings' @@ -234,8 +233,7 @@ jobs: language: fr_FR encoding: UTF-8 - install-creme-system-packages - - install-py-dev-env: - python: "python3.7" + - install-py-dev-env - create-creme-project - setup-creme-unit-tests - run-creme-unit-tests @@ -258,8 +256,7 @@ jobs: - wait-database: port: 5432 - install-creme-system-packages - - install-py-dev-env: - python: "python3.7" + - install-py-dev-env - create-creme-project - setup-creme-unit-tests: local_settings: 'pgsql_settings' @@ -276,8 +273,7 @@ jobs: language: fr_FR encoding: UTF-8 - install-creme-system-packages - - install-py-dev-env: - python: "python3.8" + - install-py-dev-env - create-creme-project - setup-creme-unit-tests - run-creme-unit-tests @@ -293,8 +289,7 @@ jobs: language: fr_FR encoding: UTF-8 - install-creme-system-packages - - install-py-dev-env: - python: "python3.9" + - install-py-dev-env - create-creme-project - setup-creme-unit-tests - run-creme-unit-tests @@ -310,8 +305,7 @@ jobs: language: fr_FR encoding: UTF-8 - install-creme-system-packages - - install-py-dev-env: - python: "python3.10" + - install-py-dev-env - create-creme-project - setup-creme-unit-tests - run-creme-unit-tests @@ -323,8 +317,7 @@ jobs: steps: - checkout-creme - install-creme-system-packages - - install-py-dev-env: - python: "python3.7" + - install-py-dev-env - create-creme-project - setup-creme-statics - install-node-env @@ -361,8 +354,7 @@ jobs: - browser-tools/install-browser-tools - checkout-creme - install-creme-system-packages - - install-py-dev-env: - python: "python3.7" + - install-py-dev-env - create-creme-project - setup-creme-statics - install-node-env diff --git a/creme/__init__.py b/creme/__init__.py index 8e78936fce..0cf661a023 100644 --- a/creme/__init__.py +++ b/creme/__init__.py @@ -1,5 +1,10 @@ __version__ = '2.4-alpha1' + +def get_version(): + return __version__ + + # App registry hooking --------------------------------------------------------- try:
kornia__kornia-2476
Next release? ## 🚀 Feature Hi, when will the next kornia release on conda or pypi be? ## Motivation Last conda release was in April, and new features have landed since then, but are unavailable in wheels.
[ { "content": "# NOTE: kornia filters and geometry must go first since are the core of the library\n# and by changing the import order you might get into a circular dependencies issue.\nfrom . import filters\nfrom . import geometry\nfrom . import grad_estimator\n\n# import the other modules for convenience\nfrom...
[ { "content": "# NOTE: kornia filters and geometry must go first since are the core of the library\n# and by changing the import order you might get into a circular dependencies issue.\nfrom . import filters\nfrom . import geometry\nfrom . import grad_estimator\n\n# import the other modules for convenience\nfrom...
diff --git a/kornia/__init__.py b/kornia/__init__.py index b9f6844940..3499c3d694 100644 --- a/kornia/__init__.py +++ b/kornia/__init__.py @@ -13,4 +13,4 @@ from kornia.utils import eye_like, vec_like, create_meshgrid, image_to_tensor, tensor_to_image # Version variable -__version__ = "0.6.13-dev" +__version__ = "0.7.0" diff --git a/test/feature/test_matching.py b/test/feature/test_matching.py index 209d57f85a..25c15c7e08 100644 --- a/test/feature/test_matching.py +++ b/test/feature/test_matching.py @@ -468,8 +468,11 @@ def test_real(self, device, dtype, data): assert idxs.shape[0] == dists.shape[0] assert dists.shape[0] <= data_dev['descs1'].shape[0] assert dists.shape[0] <= data_dev['descs2'].shape[0] - expected_idxs = data_dev['lightglue_disk_idxs'].long() - assert_close(idxs, expected_idxs, rtol=1e-4, atol=1e-4) + # key doesn't exist in data_dev + # expected_idxs = data_dev['lightglue_disk_idxs'].long() + data_dev['expected_idxs'].long() + # TODO: fix this + # assert_close(idxs, expected_idxs, rtol=1e-4, atol=1e-4) @pytest.mark.parametrize("data", ["lightglue_idxs"], indirect=True) def test_single_nocrash(self, device, dtype, data):
imAsparky__django-cookiecutter-251
[BUG]: Initial commit message is bounded by "". Remove the quotation marks **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - imAsparky cookiecutter-pypackage version: - Python version: - OS: [e.g. iOS] - Browser [e.g. chrome, safari] - Version [e.g. 22] **Smartphone (please complete the following information):** - Device: [e.g. iPhone6] - OS: [e.g. iOS8.1] - Browser [e.g. stock browser, safari] - Version [e.g. 22] **Additional context** Add any other context about the problem here.
[ { "content": "#!/usr/bin/env python\n\"\"\"django-cookiecutter post project generation jobs.\"\"\"\nimport os\nimport subprocess # nosec\nfrom shutil import rmtree\n\nPROJECT_DIRECTORY = os.path.realpath(os.path.curdir)\n\nREMOTE_REPO = \"git@github.com:{{cookiecutter.github_username}}/\\\n{{cookiecutter.git_p...
[ { "content": "#!/usr/bin/env python\n\"\"\"django-cookiecutter post project generation jobs.\"\"\"\nimport os\nimport subprocess # nosec\nfrom shutil import rmtree\n\nPROJECT_DIRECTORY = os.path.realpath(os.path.curdir)\n\nREMOTE_REPO = \"git@github.com:{{cookiecutter.github_username}}/\\\n{{cookiecutter.git_p...
diff --git a/hooks/post_gen_project.py b/hooks/post_gen_project.py index fb39b27c..debd7c1e 100644 --- a/hooks/post_gen_project.py +++ b/hooks/post_gen_project.py @@ -154,7 +154,7 @@ def git_add_and_commit_initial(): "git", "commit", "-m", - '"chore(git): Initial Commit"', + "chore(git): Initial Commit", cwd=PROJECT_DIRECTORY, )
microsoft__ptvsd-1923
test_flask_breakpoint_multiproc fails with run=attach_by_socket Python 3.7, Win32. Logs are unclear - needs investigation.
[ { "content": "# Copyright (c) Microsoft Corporation. All rights reserved.\n# Licensed under the MIT License. See LICENSE in the project root\n# for license information.\n\nfrom __future__ import absolute_import, division, print_function, unicode_literals\n\nimport os\nimport runpy\nimport sys\n\n# ptvsd.__main_...
[ { "content": "# Copyright (c) Microsoft Corporation. All rights reserved.\n# Licensed under the MIT License. See LICENSE in the project root\n# for license information.\n\nfrom __future__ import absolute_import, division, print_function, unicode_literals\n\nimport os\nimport runpy\nimport sys\n\n# ptvsd.__main_...
diff --git a/src/ptvsd/server/cli.py b/src/ptvsd/server/cli.py index 339820624..499833382 100644 --- a/src/ptvsd/server/cli.py +++ b/src/ptvsd/server/cli.py @@ -337,7 +337,7 @@ def attach_to_pid(): def main(): - original_argv = sys.argv + original_argv = list(sys.argv) try: sys.argv[1:] = parse(sys.argv[1:]) except Exception as ex: diff --git a/tests/debug/session.py b/tests/debug/session.py index 7ec19f284..4607b62fc 100644 --- a/tests/debug/session.py +++ b/tests/debug/session.py @@ -561,8 +561,9 @@ def _request_start(self, method): ) if start_request.response is not None: - # It was an immediate response - configuration is not possible. Just get - # the "process" event, and return to caller. + # It was an immediate response - either the request failed, or there is + # no configuration stage for this debug session. + start_request.response.result # raise exception if failed return self.wait_for_process() # We got "initialized" - now we need to yield to the caller, so that it can diff --git a/tests/net.py b/tests/net.py index 83107f8de..2e21ab1fa 100644 --- a/tests/net.py +++ b/tests/net.py @@ -63,11 +63,11 @@ def wait_until_port_is_listening(port, interval=1, max_attempts=1000): try: log.info("Probing localhost:{0} (attempt {1})...", port, i) sock.connect(("localhost", port)) - except socket.error: + except socket.error as exc: # The first attempt will almost always fail, because the port isn't # open yet. But if it keeps failing after that, we want to know why. if i > 1: - log.exception() + log.warning("Failed to connect to localhost:{0}:\n{1}", port, exc) time.sleep(interval) else: log.info("localhost:{0} is listening - server is up!", port) diff --git a/tests/test_data/flask1/main.py b/tests/test_data/flask1/main.py index c14c129bc..ddd228908 100644 --- a/tests/test_data/flask1/main.py +++ b/tests/test_data/flask1/main.py @@ -5,4 +5,4 @@ import debug_me # noqa import runpy -runpy.run_module("flask", run_name="__main__") +runpy.run_module("flask", run_name="__main__", alter_sys=True) diff --git a/tests/timeline.py b/tests/timeline.py index fa3b6e316..92acbae8d 100644 --- a/tests/timeline.py +++ b/tests/timeline.py @@ -1104,6 +1104,10 @@ def __init__(self, request_occ, message): def body(self): return self.message.body + @property + def result(self): + return self.message.result + @property def success(self): return self.message.success
mitmproxy__mitmproxy-1864
Missing documentation about unit testing inline scripts At the company I work on we are developing some inline scripts to use internally. We are struggling to create test for our scripts because the only code we found to test scripts are the ones at [/mitmproxy/mitmproxy/blob/v0.17/test/mitmproxy/test_examples.py](/mitmproxy/mitmproxy/blob/v0.17/test/mitmproxy/test_examples.py). The examples are quite good but real documentation is missing for the ones who wants to unit test. Is there another place where I can find better (maybe more advanced) test examples ?
[ { "content": "from mitmproxy import controller\nfrom mitmproxy import http\nfrom mitmproxy import tcp\nfrom mitmproxy import websocket\n\nEvents = frozenset([\n \"clientconnect\",\n \"clientdisconnect\",\n \"serverconnect\",\n \"serverdisconnect\",\n\n \"tcp_start\",\n \"tcp_message\",\n \"...
[ { "content": "from mitmproxy import controller\nfrom mitmproxy import http\nfrom mitmproxy import tcp\nfrom mitmproxy import websocket\n\nEvents = frozenset([\n \"clientconnect\",\n \"clientdisconnect\",\n \"serverconnect\",\n \"serverdisconnect\",\n\n \"tcp_start\",\n \"tcp_message\",\n \"...
diff --git a/docs/scripting/overview.rst b/docs/scripting/overview.rst index 7df5532df5..84f2135e59 100644 --- a/docs/scripting/overview.rst +++ b/docs/scripting/overview.rst @@ -131,6 +131,23 @@ purposes. You can use it as follows: :language: python +Testing +------- + +Mitmproxy includes a number of helpers for testing addons. The +``mitmproxy.test.taddons`` module contains a context helper that takes care of +setting up and tearing down the addon event context. The +``mitmproxy.test.tflow`` module contains helpers for quickly creating test +flows. Pydoc is the canonical reference for these modules, and mitmproxy's own +test suite is an excellent source of examples of usage. Here, for instance, is +the mitmproxy unit tests for the `anticache` option, demonstrating a good +cross-section of the test helpers: + +.. literalinclude:: ../../test/mitmproxy/addons/test_anticache.py + :caption: :src:`test/mitmproxy/addons/test_anticache.py` + :language: python + + Developing scripts ------------------ diff --git a/mitmproxy/events.py b/mitmproxy/events.py index f144b4128b..53f236ca3b 100644 --- a/mitmproxy/events.py +++ b/mitmproxy/events.py @@ -21,9 +21,6 @@ "responseheaders", "error", - "intercept", - "resume", - "websocket_handshake", "websocket_start", "websocket_message",
cloudtools__troposphere-835
Add Tags to AWS::EC2::NatGateway [AWS::EC2::NatGateway](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-natgateway.html) Use the Tags property to specify resource tags for a NAT gateway.
[ { "content": "# Copyright (c) 2012-2013, Mark Peek <mark@peek.org>\n# All rights reserved.\n#\n# See LICENSE file for full license.\n\nfrom . import AWSHelperFn, AWSObject, AWSProperty\nfrom .validators import (\n boolean, exactly_one, integer, integer_range,\n network_port, positive_integer\n)\n\ntry:\n ...
[ { "content": "# Copyright (c) 2012-2013, Mark Peek <mark@peek.org>\n# All rights reserved.\n#\n# See LICENSE file for full license.\n\nfrom . import AWSHelperFn, AWSObject, AWSProperty\nfrom .validators import (\n boolean, exactly_one, integer, integer_range,\n network_port, positive_integer\n)\n\ntry:\n ...
diff --git a/troposphere/ec2.py b/troposphere/ec2.py index c4de721d1..746e414df 100644 --- a/troposphere/ec2.py +++ b/troposphere/ec2.py @@ -102,6 +102,7 @@ class NatGateway(AWSObject): props = { 'AllocationId': (basestring, True), 'SubnetId': (basestring, True), + 'Tags': (list, False), }
pypa__setuptools-2584
Add mechanism for side-by-side comparison of setup.py and its equivalent setup.cfg We have many documentation examples that are purely declarative and are either documented as `setup.py` or `setup.cfg`. It would be really awesome if, for each of these, we had the option to have either both versions side-by-side or, even better, in a sort of "tabbed container", like the one in the [code sample at the bottom of this example](https://leetcode.com/articles/median-of-two-sorted-arrays/). Requirements for this: 1. Cannot *link to* any third-party javascript dependencies. Ideally we wouldn't use any at all, but if you do they must be vendored in the documentation. 2. If javascript is disabled, it has to fall back to something intelligible. Ideally it would be implemented in pure CSS / HTML if that's at all possible.
[ { "content": "extensions = ['sphinx.ext.autodoc', 'jaraco.packaging.sphinx', 'rst.linker']\n\nmaster_doc = \"index\"\n\nlink_files = {\n '../CHANGES.rst': dict(\n using=dict(\n BB='https://bitbucket.org',\n GH='https://github.com',\n ),\n replace=[\n dict...
[ { "content": "extensions = ['sphinx.ext.autodoc', 'jaraco.packaging.sphinx', 'rst.linker']\n\nmaster_doc = \"index\"\n\nlink_files = {\n '../CHANGES.rst': dict(\n using=dict(\n BB='https://bitbucket.org',\n GH='https://github.com',\n ),\n replace=[\n dict...
diff --git a/changelog.d/2584.doc.rst b/changelog.d/2584.doc.rst new file mode 100644 index 0000000000..3474049963 --- /dev/null +++ b/changelog.d/2584.doc.rst @@ -0,0 +1 @@ +Added ``sphinx-inline-tabs`` extension to allow for comparison of ``setup.py`` and its equivalent ``setup.cfg`` -- by :user:`amy-lei` \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index 18cd7bdc49..581d8d5e75 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -93,3 +93,6 @@ html_theme = 'alabaster' templates_path = ['_templates'] html_sidebars = {'index': ['tidelift-sidebar.html']} + +# Add support for inline tabs +extensions += ['sphinx_inline_tabs'] diff --git a/docs/requirements.txt b/docs/requirements.txt index 104d68faef..0292759301 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -3,5 +3,6 @@ sphinx jaraco.packaging>=6.1 rst.linker>=1.9 pygments-github-lexers==0.0.5 +sphinx-inline-tabs setuptools>=34 diff --git a/docs/userguide/dependency_management.rst b/docs/userguide/dependency_management.rst index 0eb2186494..6108d9b2e9 100644 --- a/docs/userguide/dependency_management.rst +++ b/docs/userguide/dependency_management.rst @@ -49,23 +49,27 @@ be able to run. ``setuptools`` support automatically download and install these dependencies when the package is installed. Although there is more finess to it, let's start with a simple example. -.. code-block:: ini +.. tab:: setup.cfg - [options] - #... - install_requires = - docutils - BazSpam ==1.1 + .. code-block:: ini + + [options] + #... + install_requires = + docutils + BazSpam ==1.1 + +.. tab:: setup.py -.. code-block:: python + .. code-block:: python - setup( - #..., - install_requires = [ - 'docutils', - 'BazSpam ==1.1' - ] - ) + setup( + #..., + install_requires = [ + 'docutils', + 'BazSpam ==1.1' + ] + ) When your project is installed (e.g. using pip), all of the dependencies not @@ -82,41 +86,49 @@ specific dependencies. For example, the ``enum`` package was added in Python 3.4, therefore, package that depends on it can elect to install it only when the Python version is older than 3.4. To accomplish this -.. code-block:: ini - - [options] - #... - install_requires = - enum34;python_version<'3.4' +.. tab:: setup.cfg -.. code-block:: python + .. code-block:: ini - setup( + [options] #... - install_requires=[ - "enum34;python_version<'3.4'",] - ) + install_requires = + enum34;python_version<'3.4' + +.. tab:: setup.py + + .. code-block:: python + + setup( + #... + install_requires=[ + "enum34;python_version<'3.4'",] + ) Similarly, if you also wish to declare ``pywin32`` with a minimal version of 1.0 and only install it if the user is using a Windows operating system: -.. code-block:: ini - - [options] - #... - install_requires = - enum34;python_version<'3.4' - pywin32 >= 1.0;platform_system=='Windows' +.. tab:: setup.cfg -.. code-block:: python + .. code-block:: ini - setup( + [options] #... - install_requires=[ - "enum34;python_version<'3.4'", - "pywin32 >= 1.0;platform_system=='Windows'" - ] - ) + install_requires = + enum34;python_version<'3.4' + pywin32 >= 1.0;platform_system=='Windows' + +.. tab:: setup.py + + .. code-block:: python + + setup( + #... + install_requires=[ + "enum34;python_version<'3.4'", + "pywin32 >= 1.0;platform_system=='Windows'" + ] + ) The environmental markers that may be used for testing platform types are detailed in `PEP 508 <https://www.python.org/dev/peps/pep-0508/>`_. @@ -181,20 +193,24 @@ The ``dependency_links`` option takes the form of a list of URL strings. For example, this will cause a search of the specified page for eggs or source distributions, if the package's dependencies aren't already installed: -.. code-block:: ini - - [options] - #... - dependency_links = http://peak.telecommunity.com/snapshots/ +.. tab:: setup.cfg -.. code-block:: python + .. code-block:: ini - setup( + [options] #... - dependency_links=[ - "http://peak.telecommunity.com/snapshots/" - ], - ) + dependency_links = http://peak.telecommunity.com/snapshots/ + +.. tab:: setup.py + + .. code-block:: python + + setup( + #... + dependency_links=[ + "http://peak.telecommunity.com/snapshots/" + ], + ) Optional dependencies @@ -211,24 +227,28 @@ ancillary functions such as "tests" and "docs". For example, Package-A offers optional PDF support and requires two other dependencies for it to work: -.. code-block:: ini +.. tab:: setup.cfg - [metadata] - name = Package-A + .. code-block:: ini - [options.extras_require] - PDF = ReportLab>=1.2; RXP + [metadata] + name = Package-A + [options.extras_require] + PDF = ReportLab>=1.2; RXP -.. code-block:: python - setup( - name="Project-A", - #... - extras_require={ - "PDF": ["ReportLab>=1.2", "RXP"], - } - ) +.. tab:: setup.py + + .. code-block:: python + + setup( + name="Project-A", + #... + extras_require={ + "PDF": ["ReportLab>=1.2", "RXP"], + } + ) The name ``PDF`` is an arbitary identifier of such a list of dependencies, to which other components can refer and have them installed. There are two common @@ -236,31 +256,35 @@ use cases. First is the console_scripts entry point: -.. code-block:: ini +.. tab:: setup.cfg - [metadata] - name = Project A - #... + .. code-block:: ini - [options] - #... - entry_points= - [console_scripts] - rst2pdf = project_a.tools.pdfgen [PDF] - rst2html = project_a.tools.htmlgen - -.. code-block:: python - - setup( - name = "Project-A" - #..., - entry_points={ - "console_scripts": [ - "rst2pdf = project_a.tools.pdfgen [PDF]", - "rst2html = project_a.tools.htmlgen", - ], - } - ) + [metadata] + name = Project A + #... + + [options] + #... + entry_points= + [console_scripts] + rst2pdf = project_a.tools.pdfgen [PDF] + rst2html = project_a.tools.htmlgen + +.. tab:: setup.py + + .. code-block:: python + + setup( + name = "Project-A" + #..., + entry_points={ + "console_scripts": [ + "rst2pdf = project_a.tools.pdfgen [PDF]", + "rst2html = project_a.tools.htmlgen", + ], + } + ) This syntax indicates that the entry point (in this case a console script) is only valid when the PDF extra is installed. It is up to the installer @@ -273,24 +297,28 @@ The second use case is that other package can use this "extra" for their own dependencies. For example, if "Project-B" needs "project A" with PDF support installed, it might declare the dependency like this: -.. code-block:: ini +.. tab:: setup.cfg - [metadata] - name = Project-B - #... + .. code-block:: ini - [options] - #... - install_requires = - Project-A[PDF] + [metadata] + name = Project-B + #... + + [options] + #... + install_requires = + Project-A[PDF] + +.. tab:: setup.py -.. code-block:: python + .. code-block:: python - setup( - name="Project-B", - install_requires=["Project-A[PDF]"], - ... - ) + setup( + name="Project-B", + install_requires=["Project-A[PDF]"], + ... + ) This will cause ReportLab to be installed along with project A, if project B is installed -- even if project A was already installed. In this way, a project diff --git a/docs/userguide/package_discovery.rst b/docs/userguide/package_discovery.rst index de4ef6682f..842ade828d 100644 --- a/docs/userguide/package_discovery.rst +++ b/docs/userguide/package_discovery.rst @@ -19,36 +19,44 @@ Package Discovery and Namespace Package support for namespace package. Normally, you would specify the package to be included manually in the following manner: -.. code-block:: ini - - [options] - #... - packages = - mypkg1 - mypkg2 +.. tab:: setup.cfg -.. code-block:: python + .. code-block:: ini - setup( + [options] #... - packages = ['mypkg1', 'mypkg2'] - ) + packages = + mypkg1 + mypkg2 + +.. tab:: setup.py + + .. code-block:: python + + setup( + #... + packages = ['mypkg1', 'mypkg2'] + ) This can get tiresome reallly quickly. To speed things up, we introduce two functions provided by setuptools: -.. code-block:: ini +.. tab:: setup.cfg - [options] - packages = find: - #or - packages = find_namespace: + .. code-block:: ini -.. code-block:: python + [options] + packages = find: + #or + packages = find_namespace: - from setuptools import find_packages - #or - from setuptools import find_namespace_packages +.. tab:: setup.py + + .. code-block:: python + + from setuptools import find_packages + #or + from setuptools import find_namespace_packages Using ``find:`` or ``find_packages`` @@ -71,30 +79,34 @@ it, consider the following directory To have your setup.cfg or setup.py to automatically include packages found in ``src`` that starts with the name ``pkg`` and not ``additional``: -.. code-block:: ini +.. tab:: setup.cfg - [options] - packages = find: - package_dir = - =src + .. code-block:: ini - [options.packages.find] - where = src - include = pkg* - exclude = additional + [options] + packages = find: + package_dir = + =src -.. code-block:: python + [options.packages.find] + where = src + include = pkg* + exclude = additional - setup( - #... - packages = find_packages( - where = 'src', - include = ['pkg*',], - exclude = ['additional',] - ), - package_dir = {"":"src"} - #... - ) +.. tab:: setup.py + + .. code-block:: python + + setup( + #... + packages = find_packages( + where = 'src', + include = ['pkg*',], + exclude = ['additional',] + ), + package_dir = {"":"src"} + #... + ) .. _Namespace Packages: @@ -195,17 +207,21 @@ following: And the ``namespace_packages`` keyword in your ``setup.cfg`` or ``setup.py``: -.. code-block:: ini +.. tab:: setup.cfg - [options] - namespace_packages = timmins + .. code-block:: ini -.. code-block:: python + [options] + namespace_packages = timmins + +.. tab:: setup.py + + .. code-block:: python - setup( - # ... - namespace_packages = ['timmins'] - ) + setup( + # ... + namespace_packages = ['timmins'] + ) And your directory should look like this diff --git a/docs/userguide/quickstart.rst b/docs/userguide/quickstart.rst index 1d557d47bd..16cd4f7192 100644 --- a/docs/userguide/quickstart.rst +++ b/docs/userguide/quickstart.rst @@ -37,26 +37,45 @@ package your project: requires = ["setuptools", "wheel"] build-backend = "setuptools.build_meta" -Then, you will need a ``setup.cfg`` to specify your package information, -such as metadata, contents, dependencies, etc. Here we demonstrate the minimum +Then, you will need a ``setup.cfg`` or ``setup.py`` to specify your package +information, such as metadata, contents, dependencies, etc. Here we demonstrate +the minimum -.. code-block:: ini +.. tab:: setup.cfg - [metadata] - name = mypackage - version = 0.0.1 + .. code-block:: ini - [options] - packages = mypackage - install_requires = - requests - importlib; python_version == "2.6" + [metadata] + name = mypackage + version = 0.0.1 + + [options] + packages = mypackage + install_requires = + requests + importlib; python_version == "2.6" + +.. tab:: setup.py + + .. code-block:: python + + from setuptools import setup + + setup( + name='mypackage"' + version='0.0.1', + packages=['mypackage'], + install_requires=[ + 'requests', + 'importlib; python_version == "2.6"', + ], + ) This is what your project would look like:: ~/mypackage/ pyproject.toml - setup.cfg + setup.cfg # or setup.py mypackage/__init__.py Then, you need an installer, such as `pep517 <https://pypi.org/project/pep517/>`_ diff --git a/setup.cfg b/setup.cfg index 14ff445daa..9de9f87f88 100644 --- a/setup.cfg +++ b/setup.cfg @@ -65,6 +65,7 @@ docs = sphinx jaraco.packaging >= 8.2 rst.linker >= 1.9 + sphinx-inline-tabs # local pygments-github-lexers==0.0.5
OpenMined__PySyft-155
Set up CI for automated testing and style checks Now that our codebase is growing (hooray!), we should set up CI for automated testing and style checks (PEP8, PEP257). Choices include [CircleCI](https://circleci.com) and [TravisCI](https://travis-ci.org). These can be integrated into our repo such that every pull request will be checked before review.
[ { "content": "import os\nfrom setuptools import setup,find_packages\n\n# Utility function to read the README file.\n# Used for the long_description. It's nice, because now 1) we have a top level\n# README file and 2) it's easier to type in the README file than to put a raw\n# string in below ...\ndef read(fnam...
[ { "content": "import os\nfrom setuptools import setup,find_packages\n\n# Utility function to read the README file.\n# Used for the long_description. It's nice, because now 1) we have a top level\n# README file and 2) it's easier to type in the README file than to put a raw\n# string in below ...\ndef read(fnam...
diff --git a/.circleci/config.yml b/.circleci/config.yml old mode 100644 new mode 100755 index 2463e5be82e..48ff5d9bcb4 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,12 +21,16 @@ jobs: - run: name: Run tests command: | - docker run -it pysyft pytest tests/test_tensor.py + docker run -it pysyft pytest && py.test --flake8 - deploy: name: Push application Docker image command: | - if [ "${CIRCLE_BRANCH}" == "master" ]; then + if [ "${CIRCLE_BRANCH}" == "develop" ]; then docker login -e "${DOCKERHUB_EMAIL}" -u "${DOCKERHUB_USER}" -p "${DOCKERHUB_PASS}" - docker tag pysyft "${DOCKERHUB_REPO}:${CIRCLE_TAG}" - docker push "${DOCKERHUB_REPO}:${CIRCLE_TAG}" + docker tag pysyft "${DOCKERHUB_REPO}:edge" + docker push "${DOCKERHUB_REPO}:edge" + elif [ "${CIRCLE_BRANCH}" == "master" ]; then + docker login -e "${DOCKERHUB_EMAIL}" -u "${DOCKERHUB_USER}" -p "${DOCKERHUB_PASS}" + docker tag pysyft "${DOCKERHUB_REPO}:latest" + docker push "${DOCKERHUB_REPO}:latest" fi diff --git a/Dockerfile b/Dockerfile old mode 100644 new mode 100755 index 9eac210a245..09efd8942d8 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ FROM alpine:edge RUN ["apk", "add", "--no-cache", "python3", "python3-dev", "musl-dev", "linux-headers", "g++", "gmp-dev", "mpfr-dev", "mpc1-dev", "ca-certificates"] -RUN ["mkdir", "/syft"] -COPY requirements.txt /syft +RUN ["mkdir", "/PySyft"] +COPY requirements.txt /PySyft -WORKDIR /syft +WORKDIR /PySyft RUN ["pip3", "install", "-r", "requirements.txt"] -COPY . /syft +COPY . /PySyft RUN ["python3", "setup.py", "install"] diff --git a/setup.py b/setup.py index 0a3aff4faec..48a4e06a3d1 100755 --- a/setup.py +++ b/setup.py @@ -28,5 +28,5 @@ def read(fname): scripts=['bin/syft_cmd'], install_requires=requirements, setup_requires=['pytest-runner'], - tests_require=['pytest'] + tests_require=['pytest', 'pytest-flake8'] )
localstack__localstack-1075
Update code climate and badge https://codeclimate.com/github/atlassian/localstack is the old repo, is there a new code climate check for the new repo? The README is pointing to this old code climate project.
[ { "content": "import os\nimport localstack_client.config\n\n# LocalStack version\nVERSION = '0.8.9'\n\n# default AWS region\nif 'DEFAULT_REGION' not in os.environ:\n os.environ['DEFAULT_REGION'] = 'us-east-1'\nDEFAULT_REGION = os.environ['DEFAULT_REGION']\n\n# constant to represent the \"local\" region, i.e....
[ { "content": "import os\nimport localstack_client.config\n\n# LocalStack version\nVERSION = '0.8.10'\n\n# default AWS region\nif 'DEFAULT_REGION' not in os.environ:\n os.environ['DEFAULT_REGION'] = 'us-east-1'\nDEFAULT_REGION = os.environ['DEFAULT_REGION']\n\n# constant to represent the \"local\" region, i.e...
diff --git a/README.md b/README.md index 0ed9bde568b1e..8ed764360f628 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -[![Build Status](https://travis-ci.org/localstack/localstack.png)](https://travis-ci.org/localstack/localstack) [![Backers on Open Collective](https://opencollective.com/localstack/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/localstack/sponsors/badge.svg)](#sponsors) [![Coverage Status](https://coveralls.io/repos/github/localstack/localstack/badge.svg?branch=master)](https://coveralls.io/github/atlassian/localstack?branch=master) +[![Build Status](https://travis-ci.org/localstack/localstack.png)](https://travis-ci.org/localstack/localstack) [![Backers on Open Collective](https://opencollective.com/localstack/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/localstack/sponsors/badge.svg)](#sponsors) [![Coverage Status](https://coveralls.io/repos/github/localstack/localstack/badge.svg?branch=master)](https://coveralls.io/github/localstack/localstack?branch=master) [![Gitter](https://img.shields.io/gitter/room/localstack/Platform.svg)](https://gitter.im/localstack/Platform) [![PyPI Version](https://badge.fury.io/py/localstack.svg)](https://badge.fury.io/py/localstack) [![PyPI License](https://img.shields.io/pypi/l/localstack.svg)](https://img.shields.io/pypi/l/localstack.svg) -[![Code Climate](https://codeclimate.com/github/atlassian/localstack/badges/gpa.svg)](https://codeclimate.com/github/atlassian/localstack) +[![Code Climate](https://codeclimate.com/github/localstack/localstack/badges/gpa.svg)](https://codeclimate.com/github/localstack/localstack) [![Twitter](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/_localstack) # LocalStack - A fully functional local AWS cloud stack @@ -412,6 +412,7 @@ localstack web ## Change Log +* v0.8.10: Add kclpy to pip package; fix badges in README * v0.8.9: Replace moto-ext with upstream moto; fix SNS message attributes; fix swagger; make external SQS port configurable; support for SNS DeleteTopic; S3 notifications for multipart uploads; support requestContext in AWS_PROXY integration; update docs for SSL usage * v0.8.8: Support Docker network config for Lambda containers; support queryStringParameters for Lambda AWS_PROXY apigateway; add AWS SecretsManager service; add SQS/Lambda integration; add support for Firehose Kinesis source; add GetAlias to Lambda API; add function properties to LambdaContext for invocations; fix extraction of Java Lambda archives; check region headers for SNS; fix Lambda output buffering; fix S3 download of gzip; bump ElasticMQ to 0.14.5; fix Lambda response codes; fix syntax issues for Python 3.7 * v0.8.7: Support .Net Core 2.0 and nodejs8.10 Lambdas; refactor Java libs and integrate with JUnit 5; support tags for ES domains; add CloudFormation support for SNS topics; fix kinesis error injection; fix override of `ES_JAVA_OPTS`; fix SQS CORS preflight response; fix S3 content md5 checks and Host header; fix ES startup issue; Bump elasticmq to 0.13.10; bump kinesalite version @@ -520,7 +521,7 @@ Support this project by becoming a sponsor. Your logo will show up here with a l ## License -Copyright (c) 2017 *LocalStack* maintainers and contributors. +Copyright (c) 2017-2019 *LocalStack* maintainers and contributors. Copyright (c) 2016 Atlassian and others. @@ -528,26 +529,26 @@ This version of *LocalStack* is released under the Apache License, Version 2.0 ( By downloading and using this software you agree to the [End-User License Agreement (EULA)](doc/end_user_license_agreement). -We build on a number of third-party software tools, with the following licenses: - -Third-Party software | License -----------------------------|----------------------- -**Python/pip modules:** | -airspeed | BSD License -amazon_kclpy | Amazon Software License -boto3 | Apache License 2.0 -coverage | Apache License 2.0 -docopt | MIT License -elasticsearch | Apache License 2.0 -flask | BSD License -flask_swagger | MIT License -jsonpath-rw | Apache License 2.0 -moto | Apache License 2.0 -nose | GNU LGPL -pep8 | Expat license -requests | Apache License 2.0 -subprocess32 | PSF License -**Node.js/npm modules:** | -kinesalite | MIT License -**Other tools:** | -Elasticsearch | Apache License 2.0 +We build on a number of third-party software tools, including the following: + +Third-Party software | License +--------------------------|----------------------- +**Python/pip modules:** | +airspeed | BSD License +amazon_kclpy | Amazon Software License +boto3 | Apache License 2.0 +coverage | Apache License 2.0 +docopt | MIT License +elasticsearch | Apache License 2.0 +flask | BSD License +flask_swagger | MIT License +jsonpath-rw | Apache License 2.0 +moto | Apache License 2.0 +nose | GNU LGPL +pep8 | Expat license +requests | Apache License 2.0 +subprocess32 | PSF License +**Node.js/npm modules:** | +kinesalite | MIT License +**Other tools:** | +Elasticsearch | Apache License 2.0 diff --git a/localstack/constants.py b/localstack/constants.py index 74af689d6dd86..e8fc1aeb6693f 100644 --- a/localstack/constants.py +++ b/localstack/constants.py @@ -2,7 +2,7 @@ import localstack_client.config # LocalStack version -VERSION = '0.8.9' +VERSION = '0.8.10' # default AWS region if 'DEFAULT_REGION' not in os.environ: diff --git a/requirements.txt b/requirements.txt index 84a5f5fdc6ccc..03410e291ace6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ # from the dependencies when we build the pip package airspeed==0.5.10 -amazon-kclpy==1.4.5 #extended-lib +amazon-kclpy==1.5.0 awscli>=1.14.18 boto>=2.49.0 boto3>=1.9.71
pyca__cryptography-3035
1.4 Test failure TestRSACertificate.test_cert_serial_warning While testing an upgrade of the GNU Guix python-cryptography package from 1.3.2 to 1.4, I encountered the following failure of `TestRSACertificate.test_cert_serial_warning[backend0]`. ``` =================================== FAILURES =================================== ____________ TestRSACertificate.test_cert_serial_warning[backend0] _____________ self = <tests.test_x509.TestRSACertificate object at 0x7fffe0fa7978> backend = <cryptography.hazmat.backends.openssl.backend.Backend object at 0x7ffff3020278> def test_cert_serial_warning(self, backend): cert = _load_cert( os.path.join("x509", "PKITS_data", "certs", "GoodCACert.crt"), x509.load_der_x509_certificate, backend ) with warnings.catch_warnings(): warnings.simplefilter("always", utils.DeprecatedIn10) > with pytest.deprecated_call(): E TypeError: deprecated_call() missing 1 required positional argument: 'func' tests/test_x509.py:516: TypeError ============ 1 failed, 83123 passed, 3222 skipped in 164.91 seconds ============ ``` The dependency graph is using Python 3.4.3 and Hypothesis 3.1.0. Please let me know what other information I can provide to help debug this failure.
[ { "content": "#!/usr/bin/env python\n\n# This file is dual licensed under the terms of the Apache License, Version\n# 2.0, and the BSD License. See the LICENSE file in the root of this repository\n# for complete details.\n\nfrom __future__ import absolute_import, division, print_function\n\nimport os\nimport pl...
[ { "content": "#!/usr/bin/env python\n\n# This file is dual licensed under the terms of the Apache License, Version\n# 2.0, and the BSD License. See the LICENSE file in the root of this repository\n# for complete details.\n\nfrom __future__ import absolute_import, division, print_function\n\nimport os\nimport pl...
diff --git a/setup.py b/setup.py index 4b632507fcf1..3bacae7b2ed6 100644 --- a/setup.py +++ b/setup.py @@ -58,7 +58,7 @@ setup_requirements.append("cffi>=1.4.1") test_requirements = [ - "pytest", + "pytest>=2.9.0", "pretend", "iso8601", "pyasn1_modules",
django-wiki__django-wiki-447
Ordered list doesn't render properly I am running django-wiki on Mac OS X 10.10.4 with a django 1.8 project and PostgreSQL database. Here's what pip reports from my virtualenv: ``` -e git://github.com/django-wiki/django-wiki.git@23705786796424a3b36be77c1e78d7316f89bb00#egg=wiki-master ``` I can display an ordered list fine with: ``` 1. Dog 1. Cat 1. Mouse ``` That is: 1. Dog 2. Cat 3. Mouse However, if the ordered list is preceded by an unordered list: ``` - Dog - Cat - Mouse 1. Dog 1. Cat 1. Mouse ``` Then the ordered list is rendered as an unordered list: - Dog - Cat - Mouse - Dog - Cat - Mouse
[ { "content": "from __future__ import absolute_import\nfrom __future__ import unicode_literals\n# -*- coding: utf-8 -*-\nfrom django.conf import settings as django_settings\nfrom django.core.urlresolvers import reverse_lazy\nfrom django.utils.translation import ugettext_lazy as _\n\n# Should urls be case sensiti...
[ { "content": "from __future__ import absolute_import\nfrom __future__ import unicode_literals\n# -*- coding: utf-8 -*-\nfrom django.conf import settings as django_settings\nfrom django.core.urlresolvers import reverse_lazy\nfrom django.utils.translation import ugettext_lazy as _\n\n# Should urls be case sensiti...
diff --git a/wiki/conf/settings.py b/wiki/conf/settings.py index 125a08c3c..93f9f9873 100644 --- a/wiki/conf/settings.py +++ b/wiki/conf/settings.py @@ -25,6 +25,7 @@ 'attr_list', 'extra', 'codehilite', + 'sane_lists', ], 'safe_mode': 'replace', 'extension_configs': {
wagtail__wagtail-10050
Django Unittest issues with `StructValue.__init__()` <!-- Found a bug? Please fill out the sections below. 👍 --> ### Issue Summary Recently we've bumped packages in our project and some tests which are using `setUpTestData` in test suite has started failing. Below I'll give more context. In our project we `django.TestCase` to test our headless API. Some of our tests require data to be populated before each test. To improve performance we've decided to use `setUpTestData` method in some of test suites. Small example : ```python class TestSomeViewSet(TestCase): @classmethod def setUpTestData(cls): root_page = Page.objects.get(slug='root') cls.tested_page_1 = MyTestPage( title='test app resource 1', resources=json.dumps(MOCK_RESOURCES_1) #some dict mocks imported from another module ) cls.tested_page_2 = MyTestPage( title='test app resource 2', resources=json.dumps(MOCK_RESOURCES_2) ) cls.parent_page = ParentPage(title='test.com') cls.another_parent_page = AnotherParentPage(title='region 1', timezone=settings.TIMEZONES[0]) cls.language_1 = LanguagePage(title='language 1') cls.language_2 = LanguagePage(title='language 2') root_page.add_child(instance=cls.parent_page) cls.site_config_1.add_child(instance=cls.another_parent_page) cls.region_1.add_child(instance=cls.language_1) cls.region_1.add_child(instance=cls.language_2) cls.language_1.add_child(instance=cls.tested_page_1) cls.language_2.add_child(instance=cls.app_tested_page_2) cls.parent_page.save() cls.another_parent_page.save() cls.language_1.save() cls.language_2.save() cls.tested_page_1.save() cls.tested_page_2.save() def test_list_view_returns_expected_response(self): url = reverse('app-resources-list') response = self.client.get(url) expected_response = get_configuration_list_expected_response( #this function generates expected output [self.tested_page_1, self.tested_page_2] ``` This test fails with with packages versions described below in "Technical details". Here is traceback: ``` /usr/local/lib/python3.10/site-packages/django/test/testcases.py:1384: in __get__ data = deepcopy(self.data, memo) /usr/local/lib/python3.10/copy.py:172: in deepcopy y = _reconstruct(x, memo, *rv) /usr/local/lib/python3.10/copy.py:271: in _reconstruct state = deepcopy(state, memo) /usr/local/lib/python3.10/copy.py:146: in deepcopy y = copier(x, memo) /usr/local/lib/python3.10/copy.py:231: in _deepcopy_dict y[deepcopy(key, memo)] = deepcopy(value, memo) /usr/local/lib/python3.10/copy.py:172: in deepcopy y = _reconstruct(x, memo, *rv) /usr/local/lib/python3.10/copy.py:271: in _reconstruct state = deepcopy(state, memo) /usr/local/lib/python3.10/copy.py:146: in deepcopy y = copier(x, memo) /usr/local/lib/python3.10/copy.py:231: in _deepcopy_dict y[deepcopy(key, memo)] = deepcopy(value, memo) /usr/local/lib/python3.10/copy.py:146: in deepcopy y = copier(x, memo) /usr/local/lib/python3.10/copy.py:206: in _deepcopy_list append(deepcopy(a, memo)) /usr/local/lib/python3.10/copy.py:172: in deepcopy y = _reconstruct(x, memo, *rv) /usr/local/lib/python3.10/copy.py:271: in _reconstruct state = deepcopy(state, memo) /usr/local/lib/python3.10/copy.py:146: in deepcopy y = copier(x, memo) /usr/local/lib/python3.10/copy.py:231: in _deepcopy_dict y[deepcopy(key, memo)] = deepcopy(value, memo) /usr/local/lib/python3.10/copy.py:172: in deepcopy y = _reconstruct(x, memo, *rv) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ x = StructValue([('name', 'application'), ('content', '{"config": "data"}')]) memo = {139851395249680: <Locale: English - United States>, 139851395379648: {'_state': <django.db.models.base.ModelState obj...le': <Locale: English - United States>, 'owner': None, 'site_page': <SiteConfig: test.com>}}, 139851395528192: {}, ...} func = <class 'wagtail.blocks.struct_block.StructValue'>, args = () state = {'block': <applications.configuration.models.ResourceBlock object at 0x7f31b22fc400>} listiter = None, dictiter = <odict_iterator object at 0x7f31b0c25760> deepcopy = <function deepcopy at 0x7f31b6b82830> def _reconstruct(x, memo, func, args, state=None, listiter=None, dictiter=None, deepcopy=deepcopy): deep = memo is not None if deep and args: args = (deepcopy(arg, memo) for arg in args) > y = func(*args) E TypeError: StructValue.__init__() missing 1 required positional argument: 'block' /usr/local/lib/python3.10/copy.py:265: TypeError ``` When we run those test with `setUp` instead of `setUpTestData` method or we change versions of Wagtail and Django to: - Wagtail <= 4.1 and Django < 4.1.x - Wagtail 4.0.x and Django == 4.1 tests pass without any issues. It looks like `StructValue` class might not support deepcopy-ing, but this is only suggestion, cuz when I was reading django release notes I found this (1st point from list): https://docs.djangoproject.com/en/4.1/releases/4.1/#features-removed-in-4-1 ### Technical details - Python version: 3.10.5. - Django version: 4.1.4 - Wagtail version: 4.1.1
[ { "content": "import collections\n\nfrom django import forms\nfrom django.core.exceptions import ValidationError\nfrom django.forms.utils import ErrorList\nfrom django.template.loader import render_to_string\nfrom django.utils.functional import cached_property\nfrom django.utils.html import format_html, format_...
[ { "content": "import collections\n\nfrom django import forms\nfrom django.core.exceptions import ValidationError\nfrom django.forms.utils import ErrorList\nfrom django.template.loader import render_to_string\nfrom django.utils.functional import cached_property\nfrom django.utils.html import format_html, format_...
diff --git a/wagtail/blocks/struct_block.py b/wagtail/blocks/struct_block.py index 9fe188e3bdf4..2a5824ef1413 100644 --- a/wagtail/blocks/struct_block.py +++ b/wagtail/blocks/struct_block.py @@ -70,6 +70,9 @@ def bound_blocks(self): ] ) + def __reduce__(self): + return (self.__class__, (self.block,), None, None, iter(self.items())) + class PlaceholderBoundBlock(BoundBlock): """ diff --git a/wagtail/tests/test_blocks.py b/wagtail/tests/test_blocks.py index faa1e9f551b3..3febc2f72ba9 100644 --- a/wagtail/tests/test_blocks.py +++ b/wagtail/tests/test_blocks.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -* import base64 import collections +import copy import json import unittest from decimal import Decimal @@ -2157,6 +2158,19 @@ def test_render_structvalue_with_extra_context(self): result = value.render_as_block(context={"language": "fr"}) self.assertEqual(result, """<h1 lang="fr">Bonjour</h1>monde <i>italique</i>""") + def test_copy_structvalue(self): + block = SectionBlock() + value = block.to_python({"title": "Hello", "body": "world"}) + copied = copy.copy(value) + + # Ensure we have a new object + self.assertIsNot(value, copied) + + # Check copy operation + self.assertIsInstance(copied, blocks.StructValue) + self.assertIs(value.block, copied.block) + self.assertEqual(value, copied) + class TestStructBlockWithCustomStructValue(SimpleTestCase): def test_initialisation(self):
flask-admin__flask-admin-1769
flask-admin doesn't work on Python 2.7 Running flask-admin version `1.5.2` on Python `2.7` fails with ``` File "/usr/local/lib/python2.7/site-packages/flask_admin/contrib/sqla/form.py", line 2, in <module> from enum import Enum ImportError: No module named enum ``` Does flask-admin supports Python 2.7 ? The issue is line https://github.com/flask-admin/flask-admin/blob/829c24dbe4da9e28f705d07608e3326e4ff0b209/flask_admin/contrib/sqla/form.py#L2 I fixed the issue by installing `enum34` package. flask-admin should have `enum34` as it's dependency for python versions smaller than 3.4
[ { "content": "# Fix for older setuptools\nimport re\nimport os\nimport sys\n\nfrom setuptools import setup, find_packages\n\n\ndef fpath(name):\n return os.path.join(os.path.dirname(__file__), name)\n\n\ndef read(fname):\n return open(fpath(fname)).read()\n\n\ndef desc():\n info = read('README.rst')\n ...
[ { "content": "# Fix for older setuptools\nimport re\nimport os\nimport sys\n\nfrom setuptools import setup, find_packages\n\n\ndef fpath(name):\n return os.path.join(os.path.dirname(__file__), name)\n\n\ndef read(fname):\n return open(fpath(fname)).read()\n\n\ndef desc():\n info = read('README.rst')\n ...
diff --git a/setup.py b/setup.py index ea00a6f2d..2bec77fec 100644 --- a/setup.py +++ b/setup.py @@ -42,6 +42,11 @@ def grep(attrname): 'wtforms' ] +if sys.version_info[0:2] < (3, 4): + # required for python < 3.4 + install_requires.append('enum34>=1.1.6') + + setup( name='Flask-Admin', version=grep('__version__'),
saleor__saleor-5259
Customer shouldn't be able to query draft order. Customer shouldn't be able to query draft order, by id and by token.
[ { "content": "import graphene\nimport graphene_django_optimizer as gql_optimizer\n\nfrom ...order import OrderStatus, models\nfrom ...order.events import OrderEvents\nfrom ...order.models import OrderEvent\nfrom ...order.utils import sum_order_totals\nfrom ..utils import filter_by_period, filter_by_query_param,...
[ { "content": "import graphene\nimport graphene_django_optimizer as gql_optimizer\n\nfrom ...order import OrderStatus, models\nfrom ...order.events import OrderEvents\nfrom ...order.models import OrderEvent\nfrom ...order.utils import sum_order_totals\nfrom ..utils import filter_by_period, filter_by_query_param,...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 21401312eb2..a367e6d2e81 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -67,6 +67,7 @@ All notable, unreleased changes to this project will be documented in this file. - Return `null` when querying `me` as an anonymous user - #5231 by @maarcingebala - Added `PLAYGROUND_ENABLED` environment variable/setting to allow to enable the GraphQL playground when `DEBUG` is disabled - #5254 by @NyanKiyoshi - Fix access to order query when request from service account - #5258 by @fowczarek +- Customer shouldn't be able to see draft orders by token - #5259 by @fowczarek ## 2.9.0 diff --git a/saleor/graphql/order/resolvers.py b/saleor/graphql/order/resolvers.py index a5b9f205744..3b7034be16a 100644 --- a/saleor/graphql/order/resolvers.py +++ b/saleor/graphql/order/resolvers.py @@ -65,4 +65,8 @@ def resolve_homepage_events(): def resolve_order_by_token(token): - return models.Order.objects.filter(token=token).first() + return ( + models.Order.objects.exclude(status=OrderStatus.DRAFT) + .filter(token=token) + .first() + ) diff --git a/tests/api/test_order.py b/tests/api/test_order.py index 1d8b9379513..30d52a1e34f 100644 --- a/tests/api/test_order.py +++ b/tests/api/test_order.py @@ -2027,6 +2027,36 @@ def test_authorized_access_to_order_by_token( assert content["data"]["orderByToken"]["user"]["id"] == customer_user_id +def test_query_draft_order_by_token_with_requester_as_customer( + user_api_client, draft_order +): + draft_order.user = user_api_client.user + draft_order.save(update_fields=["user"]) + query = """ + query OrderByToken($token: UUID!) { + orderByToken(token: $token) { + id + } + } + """ + response = user_api_client.post_graphql(query, {"token": draft_order.token}) + content = get_graphql_content(response) + assert not content["data"]["orderByToken"] + + +def test_query_draft_order_by_token_as_anonymous_customer(api_client, draft_order): + query = """ + query OrderByToken($token: UUID!) { + orderByToken(token: $token) { + id + } + } + """ + response = api_client.post_graphql(query, {"token": draft_order.token}) + content = get_graphql_content(response) + assert not content["data"]["orderByToken"] + + MUTATION_CANCEL_ORDERS = """ mutation CancelManyOrders($ids: [ID]!, $restock: Boolean!) { orderBulkCancel(ids: $ids, restock: $restock) {
django-oscar__django-oscar-3365
Support for Django 3.0 Hi, Just a low life dev wondering if you have an expected time frame for Django 3.0 support to be released ? I saw #3303 got merged into master a couple month ago. Anything I can do to help the delivery process ? Should I copy master if I want to use Django 3.0 for the time being ? Thanks for all the wonderful work you guys do on this project ! :) Update Readme first page of quickstart This is what works on windows 10
[ { "content": "# Use 'alpha', 'beta', 'rc' or 'final' as the 4th element to indicate release type.\nVERSION = (2, 0, 1, 'final')\n\n\ndef get_short_version():\n return '%s.%s' % (VERSION[0], VERSION[1])\n\n\ndef get_version():\n version = '%s.%s' % (VERSION[0], VERSION[1])\n # Append 3rd digit if > 0\n ...
[ { "content": "# Use 'alpha', 'beta', 'rc' or 'final' as the 4th element to indicate release type.\nVERSION = (2, 1, 0, 'beta')\n\n\ndef get_short_version():\n return '%s.%s' % (VERSION[0], VERSION[1])\n\n\ndef get_version():\n version = '%s.%s' % (VERSION[0], VERSION[1])\n # Append 3rd digit if > 0\n ...
diff --git a/docs/source/howto/how_to_configure_surcharges.rst b/docs/source/howto/how_to_configure_surcharges.rst index daf68631a9b..6d708371cce 100644 --- a/docs/source/howto/how_to_configure_surcharges.rst +++ b/docs/source/howto/how_to_configure_surcharges.rst @@ -1,3 +1,5 @@ +.. _how_to_surcharges: + ========================= How to configure surcharges ========================= @@ -25,7 +27,7 @@ This method is called in several places: * To give the applicable surcharges to the order total calculator so wo can show the correct price breakdown. -The ``get_applicable_surcharges`` method takes the basket and any other kwargs. +The ``get_applicable_surcharges`` method takes the basket and any other kwargs. These kwargs can later be determined when setting up your own surcharges. Note that you can also implement surcharges as models just like shipping methods. @@ -33,7 +35,7 @@ Note that you can also implement surcharges as models just like shipping methods Custom applicators ------------------- -If the available surcharges are the same for all customers and payment +If the available surcharges are the same for all customers and payment methods, then override the ``get_surcharges`` method of the repository: .. code-block:: python @@ -62,7 +64,7 @@ For more complex logic, override the ``is_applicable`` method: return True else: return False - + Surcharges ---------------- @@ -72,8 +74,8 @@ following properties which define the metadata about the surcharge: * ``name`` - The name of the surcharges. This will be visible to the customer during checkout and is translatable - -* ``code`` - The code of the surcharge. This could be the slugified name or anything else. + +* ``code`` - The code of the surcharge. This could be the slugified name or anything else. The code is used as a non-translatable identifier for a charge. Further, each surcharge must implement a ``calculate`` method which accepts the @@ -91,7 +93,7 @@ subclassed and customised: * :class:`~oscar.apps.checkout.surcharges.PercentageCharge` - percentage based charge * :class:`~oscar.apps.checkout.surcharges.FlatCharge` - flat surcharge - + Example usage: .. code-block:: python diff --git a/docs/source/internals/contributing/development-environment.rst b/docs/source/internals/contributing/development-environment.rst index 31cdc493660..2a341a63df1 100644 --- a/docs/source/internals/contributing/development-environment.rst +++ b/docs/source/internals/contributing/development-environment.rst @@ -38,7 +38,7 @@ As the sandbox is a vanilla Oscar site, it is what we use to build migrations against:: $ make sandbox - $ sites/sandbox/manage.py schemamigration $YOURAPP --auto + $ sandbox/manage.py makemigrations Writing LESS/CSS ---------------- @@ -52,7 +52,7 @@ If you want to develop the LESS files, set:: OSCAR_USE_LESS = True -in ``sites/sandbox/settings_local.py``. This will include the on-the-fly +in ``sandbox/settings_local.py``. This will include the on-the-fly ``less`` pre-processor. That will allow you to see changes to the LESS files after a page reload. diff --git a/docs/source/internals/getting_started.rst b/docs/source/internals/getting_started.rst index 5ad36b464cd..f6f9da888ff 100644 --- a/docs/source/internals/getting_started.rst +++ b/docs/source/internals/getting_started.rst @@ -25,7 +25,7 @@ project: $ mkvirtualenv oscar $ pip install django-oscar - $ django-admin.py startproject frobshop + $ django-admin startproject frobshop If you do not have :command:`mkvirtualenv`, then replace that line with:: @@ -241,18 +241,18 @@ you will also need to include Django's i18n URLs: .. code-block:: django from django.apps import apps - from django.urls import include, path + from django.urls import include, path from django.contrib import admin urlpatterns = [ - path('i18n/', include('django.conf.urls.i18n')), + path('i18n/', include('django.conf.urls.i18n')), # The Django admin is not officially supported; expect breakage. # Nonetheless, it's often useful for debugging. - path('admin/', admin.site.urls), + path('admin/', admin.site.urls), - path('', include(apps.get_app_config('oscar').urls[0])), + path('', include(apps.get_app_config('oscar').urls[0])), ] diff --git a/docs/source/releases/index.rst b/docs/source/releases/index.rst index 8b95b82c2cd..1e3cee25544 100644 --- a/docs/source/releases/index.rst +++ b/docs/source/releases/index.rst @@ -5,6 +5,14 @@ Release notes Release notes for each version of Oscar published to PyPI. +2.1 release branch + +.. toctree:: + :maxdepth: 1 + + v2.1 + + 2.0 release branch .. toctree:: diff --git a/docs/source/releases/v0.7.rst b/docs/source/releases/v0.7.rst index 73de41c4042..b37e7b80bae 100644 --- a/docs/source/releases/v0.7.rst +++ b/docs/source/releases/v0.7.rst @@ -192,7 +192,7 @@ Minor changes * Experimental support for having a language prefix in the URL has been added, and enabled for the sandbox. This can be achieved by using Django's `i18n_patterns`_ function in your ``urls.py``. for the sandbox. - See ``sites/sandbox/urls.py`` for an example. + See ``sandbox/urls.py`` for an example. * A basic example for a multi-language sitemap has been added to the sandbox. diff --git a/docs/source/releases/v2.1.rst b/docs/source/releases/v2.1.rst index 6ec0ebfe6b1..07290a4d89a 100644 --- a/docs/source/releases/v2.1.rst +++ b/docs/source/releases/v2.1.rst @@ -1,10 +1,11 @@ -======================================== -Oscar 2.1 release notes (in development) -======================================== +======================= +Oscar 2.1 release notes +======================= :release: tbd -Welcome to Oscar 2.1. +Welcome to Oscar 2.1! This is a significant release which includes a number of +new features and performance improvements. .. contents:: :local: @@ -15,12 +16,20 @@ Welcome to Oscar 2.1. Compatibility ~~~~~~~~~~~~~ +Oscar 2.1 is compatible with Django versions 2.2 and 3.0, and Python versions 3.5, 3.6, 3.7 and 3.8. + +Support for Django versions 1.11 and 2.0 has been dropped. .. _new_in_2.1: What's new in Oscar 2.1? ~~~~~~~~~~~~~~~~~~~~~~~~~~ +- The ability to add arbitrary surcharges to orders (e.g., a processing fee for + a particular payment method) was introduced. + See :ref:`how_to_surcharges` for details on how to configure this. + This change requires a database migration. + - The database performance of ``offer.Range.all_products()`` was substantially improved. The internals of that method have changed and specifically ``Range.invalidate_cached_ids()`` has been removed and replaced with @@ -30,12 +39,13 @@ What's new in Oscar 2.1? ``ProductAttributeValue`` models was changed to use a callable, so that Django doesn't generate migrations if a project modifies the ``OSCAR_IMAGE_FOLDER`` to specify a custom directory structure for uploaded images. + This change requires a database migration. - ``catalogue.Category`` now has an ``is_public`` boolean field that serves a - similar purpose to ``catalogue.Product.is_public`` - i.e., hides them from + similar purpose to ``catalogue.Product.is_public`` - i.e., to hide categories public views. The ``Category`` model also now has a custom manager that provides a ``browsable()`` queryset method that excludes non-public - categories. This changes requires a database migration. + categories. This change requires a database migration. Category hierarchy implies that the children of any non-public category are also non-public. This is enforced through an ``ancestors_are_public`` field @@ -58,7 +68,7 @@ as follows: moved from the ``customer`` app to the ``communication`` app. In order to preserve existing data, the table names for these models are unchanged. - This is a change that requires database migration. + This change requires a database migration. - The ``Dispatcher`` class moved from ``customer.utils`` to ``communication.utils``. ``Dispatcher`` is now responsible for sending @@ -148,6 +158,11 @@ Removal of deprecated features URLs that are not provided by a subclass of ``oscar.core.application.OscarDashboardConfig`` will result in a ``KeyError``. +- ``customer.forms.PasswordResetForm.get_reset_url`` has been removed. + +- The internal and undocumented class ``oscar.core.compat.UnicodeCSVReader`` + has been removed. Use ``csv.reader`` instead. + Minor changes ~~~~~~~~~~~~~ @@ -176,12 +191,32 @@ Minor changes - Fixed the ``brand_title`` block in ``partials/brand.html`` so that it doesn't span unclosed HTML tags. +- ``customer.views.ProfileUpdateView.form_valid`` was modified + to use a new ``send_email_changed_email`` method. + +- ``customer.views.ChangePasswordView.form_valid`` was modified + to use a new ``send_password_changed_email`` method. + Dependency changes ~~~~~~~~~~~~~~~~~~ -- Upgraded ``django-phonenumber-field`` to use the latest in the 3.x series. -- Upgraded ``select2`` to version 4.0.10. -- Upgraded ``inputmask`` to version 4.0.8. +Python package dependencies: + +- Upgraded ``pillow`` to version 6.0.0 or higher. +- Upgraded ``django-extra-views`` to version 0.13. +- Upgraded ``django-haystack`` to version 3.0 or higher. +- Upgraded ``django-phonenumber-field`` to version 3.0. +- Upgraded ``django-tables2`` to version 2.2. +- Upgraded ``sorl-thumbnail`` (optional requirement) to version 12.6. +- Upgraded ``easy-thumbnails`` (optional requirement) to version 2.7. + + +Javascript dependencies: + +- Upgraded ``jquery`` to version 3.5. +- Upgraded ``inputmask`` to version 5.0. +- Upgraded ``select2`` to version 4.0. +- Upgraded ``tinymce`` to version 5.2. .. _deprecated_features_in_2.1: @@ -203,14 +238,3 @@ Deprecated features - ``customer.notifications.services.notify_users`` is deprecated. Use ``Dispatcher.notify_users`` instead. - -- ``customer.forms.PasswordResetForm.get_reset_url`` has been removed. - -- ``customer.views.ProfileUpdateView.form_valid`` was modified - to use a new ``send_email_changed_email`` method. - -- ``customer.views.ChangePasswordView.form_valid`` was modified - to use a new ``send_password_changed_email`` method. - -- The internal class ``oscar.core.compat.UnicodeSCVReader`` has been removed. - Use ``csv.reader`` instead. diff --git a/src/oscar/__init__.py b/src/oscar/__init__.py index ab67522bace..372aede1df5 100644 --- a/src/oscar/__init__.py +++ b/src/oscar/__init__.py @@ -1,5 +1,5 @@ # Use 'alpha', 'beta', 'rc' or 'final' as the 4th element to indicate release type. -VERSION = (2, 0, 1, 'final') +VERSION = (2, 1, 0, 'beta') def get_short_version():
doccano__doccano-1209
ModuleNotFoundError: No module named 'auto_labeling_pipeline' How to reproduce the behaviour --------- <!-- Before submitting an issue, make sure to check the docs and closed issues and FAQ to see if any of the solutions work for you. https://github.com/doccano/doccano/wiki/Frequently-Asked-Questions --> <!-- Include a code example or the steps that led to the problem. Please try to be as specific as possible. --> I just installed `Doccano==1.2.0` (released just now..) with `pip install doccano` on my Linux machine to check out the `auto_labeling` feature. However, I got the following error running `doccano` in the shell. ``` >>> doccano ``` ``` Setup Database. Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/app/manage.py", line 15, in <module> execute_from_command_line(sys.argv) File "/usr/local/lib/python3.6/dist-packages/django/core/management/__init__.py", line 401, in execute_from_command_line utility.execute() File "/usr/local/lib/python3.6/dist-packages/django/core/management/__init__.py", line 377, in execute django.setup() File "/usr/local/lib/python3.6/dist-packages/django/__init__.py", line 24, in setup apps.populate(settings.INSTALLED_APPS) File "/usr/local/lib/python3.6/dist-packages/django/apps/registry.py", line 114, in populate app_config.import_models() File "/usr/local/lib/python3.6/dist-packages/django/apps/config.py", line 211, in import_models self.models_module = import_module(models_module_name) File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/usr/local/lib/python3.6/dist-packages/app/api/models.py", line 3, in <module> from auto_labeling_pipeline.models import RequestModelFactory ModuleNotFoundError: No module named 'auto_labeling_pipeline' Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/app/manage.py", line 15, in <module> execute_from_command_line(sys.argv) File "/usr/local/lib/python3.6/dist-packages/django/core/management/__init__.py", line 401, in execute_from_command_line utility.execute() File "/usr/local/lib/python3.6/dist-packages/django/core/management/__init__.py", line 377, in execute django.setup() File "/usr/local/lib/python3.6/dist-packages/django/__init__.py", line 24, in setup apps.populate(settings.INSTALLED_APPS) File "/usr/local/lib/python3.6/dist-packages/django/apps/registry.py", line 114, in populate app_config.import_models() File "/usr/local/lib/python3.6/dist-packages/django/apps/config.py", line 211, in import_models self.models_module = import_module(models_module_name) File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/usr/local/lib/python3.6/dist-packages/app/api/models.py", line 3, in <module> from auto_labeling_pipeline.models import RequestModelFactory ModuleNotFoundError: No module named 'auto_labeling_pipeline' Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/app/manage.py", line 15, in <module> execute_from_command_line(sys.argv) File "/usr/local/lib/python3.6/dist-packages/django/core/management/__init__.py", line 401, in execute_from_command_line utility.execute() File "/usr/local/lib/python3.6/dist-packages/django/core/management/__init__.py", line 377, in execute django.setup() File "/usr/local/lib/python3.6/dist-packages/django/__init__.py", line 24, in setup apps.populate(settings.INSTALLED_APPS) File "/usr/local/lib/python3.6/dist-packages/django/apps/registry.py", line 114, in populate app_config.import_models() File "/usr/local/lib/python3.6/dist-packages/django/apps/config.py", line 211, in import_models self.models_module = import_module(models_module_name) File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/usr/local/lib/python3.6/dist-packages/app/api/models.py", line 3, in <module> from auto_labeling_pipeline.models import RequestModelFactory ModuleNotFoundError: No module named 'auto_labeling_pipeline' Create admin user. Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/app/manage.py", line 15, in <module> execute_from_command_line(sys.argv) File "/usr/local/lib/python3.6/dist-packages/django/core/management/__init__.py", line 401, in execute_from_command_line utility.execute() File "/usr/local/lib/python3.6/dist-packages/django/core/management/__init__.py", line 377, in execute django.setup() File "/usr/local/lib/python3.6/dist-packages/django/__init__.py", line 24, in setup apps.populate(settings.INSTALLED_APPS) File "/usr/local/lib/python3.6/dist-packages/django/apps/registry.py", line 114, in populate app_config.import_models() File "/usr/local/lib/python3.6/dist-packages/django/apps/config.py", line 211, in import_models self.models_module = import_module(models_module_name) File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/usr/local/lib/python3.6/dist-packages/app/api/models.py", line 3, in <module> from auto_labeling_pipeline.models import RequestModelFactory ModuleNotFoundError: No module named 'auto_labeling_pipeline' Starting server with port 8000. Exception in thread django-main-thread: Traceback (most recent call last): File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner self.run() File "/usr/lib/python3.6/threading.py", line 864, in run self._target(*self._args, **self._kwargs) File "/usr/local/lib/python3.6/dist-packages/django/utils/autoreload.py", line 53, in wrapper fn(*args, **kwargs) File "/usr/local/lib/python3.6/dist-packages/django/core/management/commands/runserver.py", line 110, in inner_run autoreload.raise_last_exception() File "/usr/local/lib/python3.6/dist-packages/django/utils/autoreload.py", line 76, in raise_last_exception raise _exception[1] File "/usr/local/lib/python3.6/dist-packages/django/core/management/__init__.py", line 357, in execute autoreload.check_errors(django.setup)() File "/usr/local/lib/python3.6/dist-packages/django/utils/autoreload.py", line 53, in wrapper fn(*args, **kwargs) File "/usr/local/lib/python3.6/dist-packages/django/__init__.py", line 24, in setup apps.populate(settings.INSTALLED_APPS) File "/usr/local/lib/python3.6/dist-packages/django/apps/registry.py", line 114, in populate app_config.import_models() File "/usr/local/lib/python3.6/dist-packages/django/apps/config.py", line 211, in import_models self.models_module = import_module(models_module_name) File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/usr/local/lib/python3.6/dist-packages/app/api/models.py", line 3, in <module> from auto_labeling_pipeline.models import RequestModelFactory ModuleNotFoundError: No module named 'auto_labeling_pipeline' ``` Your Environment --------- <!-- Include details of your environment.--> * Operating System: Ubuntu 18.04.5 LTS * Python Version Used: 3.6.9 * When you install doccano: 02/19/21 7:40 AM GMT * How did you install doccano (Heroku button etc): `pip install doccano` * Doccano version: 1.2.0
[ { "content": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\nimport io\nimport os\n\nfrom setuptools import find_packages, setup\n\nNAME = 'doccano'\nDESCRIPTION = 'doccano, text annotation tool for machine learning practitioners'\nURL = 'https://github.com/doccano/doccano'\nEMAIL = 'hiroki.nakayama.py@gmail.c...
[ { "content": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\nimport io\nimport os\n\nfrom setuptools import find_packages, setup\n\nNAME = 'doccano'\nDESCRIPTION = 'doccano, text annotation tool for machine learning practitioners'\nURL = 'https://github.com/doccano/doccano'\nEMAIL = 'hiroki.nakayama.py@gmail.c...
diff --git a/setup.py b/setup.py index 15a723b0ec..de5f683cf3 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,8 @@ 'python-jose>=3.2.0', 'seqeval>=1.2.2', 'social-auth-app-django>=4.0.0', - 'whitenoise>=5.2.0' + 'whitenoise>=5.2.0', + 'auto-labeling-pipeline>=0.1.12' ] setup(
sktime__sktime-170
Documentation needs to be fixed Single comment line on `sktime.utils.validation.forecasting` needs to be fixed. Check the image below. Instead of `<<<<<<< HEAD:sktime/utils/validation/forecasting.py` we should see `Returns`. ![image](https://user-images.githubusercontent.com/7353520/66719148-2c0d0580-edc2-11e9-9a10-8632c1d896e4.png)
[ { "content": "import numpy as np\nimport pandas as pd\nfrom sklearn.utils.validation import check_is_fitted\n\n__author__ = \"Markus Löning\"\n__all__ = [\"validate_y\", \"validate_X\", \"validate_y_X\", \"validate_fh\"]\n\n\ndef validate_y_X(y, X):\n \"\"\"Validate input data.\n\n Parameters\n -------...
[ { "content": "import numpy as np\nimport pandas as pd\nfrom sklearn.utils.validation import check_is_fitted\n\n__author__ = \"Markus Löning\"\n__all__ = [\"validate_y\", \"validate_X\", \"validate_y_X\", \"validate_fh\"]\n\n\ndef validate_y_X(y, X):\n \"\"\"Validate input data.\n\n Parameters\n -------...
diff --git a/sktime/utils/validation/forecasting.py b/sktime/utils/validation/forecasting.py index 19846e22115..34814f1f118 100644 --- a/sktime/utils/validation/forecasting.py +++ b/sktime/utils/validation/forecasting.py @@ -14,7 +14,6 @@ def validate_y_X(y, X): y : pandas Series or numpy ndarray X : pandas DataFrame -<<<<<<< HEAD:sktime/utils/validation/forecasting.py Returns ------- None
docker__docker-py-1156
Requests v2.11.0 causes breakage This is a known issue within requests and looks like it will be fixed in v2.11.1. Documenting for the benefit of anyone else who runs into this :). After a recent pip upgrade I found that docker-py was passing along an error from requests: File "/usr/local/lib/python2.7/dist-packages/docker/client.py", line 307, in _stream_raw_result for out in response.iter_content(chunk_size=1, decode_unicode=True): File "/usr/local/lib/python2.7/dist-packages/requests/utils.py", line 372, in stream_decode_response_unicode raise UnicodeError("Unable to decode contents with encoding %s." % encoding) UnicodeError: Unable to decode contents with encoding None. This has already been reported to requests (https://github.com/kennethreitz/requests/issues/3481) and fixed (https://github.com/kennethreitz/requests/commit/d7f56ba9383575a6b7d361db0123a93c70a2b42f) for the next version. If you are running into this issue, the easiest fix for now appears to be reverting to a pre 2.11 version of requests.
[ { "content": "#!/usr/bin/env python\nimport os\nimport sys\n\nfrom setuptools import setup\n\n\nROOT_DIR = os.path.dirname(__file__)\nSOURCE_DIR = os.path.join(ROOT_DIR)\n\nrequirements = [\n 'requests >= 2.5.2',\n 'six >= 1.4.0',\n 'websocket-client >= 0.32.0',\n]\n\nif sys.platform == 'win32':\n r...
[ { "content": "#!/usr/bin/env python\nimport os\nimport sys\n\nfrom setuptools import setup\n\n\nROOT_DIR = os.path.dirname(__file__)\nSOURCE_DIR = os.path.join(ROOT_DIR)\n\nrequirements = [\n 'requests >= 2.5.2, < 2.11',\n 'six >= 1.4.0',\n 'websocket-client >= 0.32.0',\n]\n\nif sys.platform == 'win32'...
diff --git a/setup.py b/setup.py index ac58b1f94..85a449942 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ SOURCE_DIR = os.path.join(ROOT_DIR) requirements = [ - 'requests >= 2.5.2', + 'requests >= 2.5.2, < 2.11', 'six >= 1.4.0', 'websocket-client >= 0.32.0', ]
jupyterhub__jupyterhub-882
jupyterhub update-db fails When I run it, I get: ``` FileNotFoundError: [Errno 2] No such file or directory: '/home/yuvipanda/code/jupyterhub-kubernetes-spawner/lib/python3.5/site-packages/jupyterhub/alembic.ini' ``` I didn't capture the full stack trace though.
[ { "content": "#!/usr/bin/env python3\n# coding: utf-8\n\n# Copyright (c) Juptyer Development Team.\n# Distributed under the terms of the Modified BSD License.\n\n#-----------------------------------------------------------------------------\n# Minimal Python version sanity check (from IPython)\n#---------------...
[ { "content": "#!/usr/bin/env python3\n# coding: utf-8\n\n# Copyright (c) Juptyer Development Team.\n# Distributed under the terms of the Modified BSD License.\n\n#-----------------------------------------------------------------------------\n# Minimal Python version sanity check (from IPython)\n#---------------...
diff --git a/setup.py b/setup.py index 68e529ed52..4ffb77536a 100755 --- a/setup.py +++ b/setup.py @@ -66,6 +66,7 @@ def get_package_data(): """ package_data = {} package_data['jupyterhub'] = [ + 'alembic.ini', 'alembic/*', 'alembic/versions/*', ]
paperless-ngx__paperless-ngx-1091
[BUG] Constant moderate CPU usage when idle (aka. paperless is contributing to global warming) ### Description paperless ngx relies on redis to move data between the processes. The problem is that somehow something somewhere is not configured correctly, resulting on a permanent 1-3% CPU usage (see below) It may seem not much but given that - it is idling, as in, not doing anything meaningful, so CPU usage should be 0% - it is using CPU on everyone's instances all the time (thousands and thousands instances) - multiply these two together (instanceCount * Watts), and we are wasting useful energy to do... absolutely nothing (or contribute to climate change, depending how we obtain the energy to do nothing) ### Steps to reproduce Start up the docker image `linuxserver/paperless-ngx` with the embedded redis. This is the typical usage ``` top - 06:49:06 up 39 days, 7:55, 0 users, load average: 0.01, 0.02, 0.01 Tasks: 19 total, 1 running, 18 sleeping, 0 stopped, 0 zombie %Cpu(s): 1.2 us, 1.0 sy, 0.0 ni, 97.8 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 3820.6 total, 644.3 free, 1353.6 used, 1822.7 buff/cache MiB Swap: 2048.0 total, 1244.2 free, 803.8 used. 2175.0 avail Mem scroll coordinates: y = 1/19 (tasks), x = 1/12 (fields) PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 401 abc 20 0 50188 4204 3400 S 0.7 0.1 1:42.51 redis-server 459 abc 20 0 248844 62192 8032 S 0.7 1.6 2:02.26 python3 405 abc 20 0 181140 65540 13416 S 0.3 1.7 0:06.16 python3 434 abc 20 0 1091836 128732 22712 S 0.3 3.3 1:32.53 gunicorn 435 abc 20 0 1161544 140780 24080 S 0.3 3.6 1:44.55 gunicorn 2891 root 20 0 9124 3688 3180 R 0.3 0.1 0:01.57 top 1 root 20 0 196 0 0 S 0.0 0.0 0:00.07 s6-svscan 35 root 20 0 196 0 0 S 0.0 0.0 0:00.00 s6-supervise 396 root 20 0 196 0 0 S 0.0 0.0 0:00.00 s6-supervise 397 root 20 0 196 0 0 S 0.0 0.0 0:00.00 s6-supervise 398 root 20 0 196 0 0 S 0.0 0.0 0:00.00 s6-supervise 399 root 20 0 196 0 0 S 0.0 0.0 0:00.00 s6-supervise ``` ### Webserver logs _No response_ ### Paperless-ngx version 1.7.1 ### Host OS Ubuntu ### Installation method Docker ### Browser None ### Configuration changes _No response_ ### Other _No response_
[ { "content": "import datetime\nimport json\nimport math\nimport multiprocessing\nimport os\nimport re\nfrom typing import Final\nfrom typing import Optional\nfrom typing import Set\nfrom urllib.parse import urlparse\n\nfrom concurrent_log_handler.queue import setup_logging_queues\nfrom django.utils.translation ...
[ { "content": "import datetime\nimport json\nimport math\nimport multiprocessing\nimport os\nimport re\nfrom typing import Final\nfrom typing import Optional\nfrom typing import Set\nfrom urllib.parse import urlparse\n\nfrom concurrent_log_handler.queue import setup_logging_queues\nfrom django.utils.translation ...
diff --git a/src/paperless/settings.py b/src/paperless/settings.py index c512b1d47c2..9a5d9453d77 100644 --- a/src/paperless/settings.py +++ b/src/paperless/settings.py @@ -458,6 +458,7 @@ def default_task_workers() -> int: Q_CLUSTER = { "name": "paperless", + "guard_cycle": 5, "catch_up": False, "recycle": 1, "retry": PAPERLESS_WORKER_RETRY,
tensorflow__addons-1770
Enable multiprocessing when testing with GPU and support distributed strategies in the tests. **Describe the feature and the current behavior/state.** Here I'm not going to discuss the bazel case as it's much more complicated to handle, and we currently advertize using pytest anyway to run the tests. We can of course make sure everything is compatible though. This revamping of gpu testing has multiple objectives: * The tests should behave the same weither the contributor has a gpu or not. Meaning we shouldn't run all the tests on a gpu just because a gpu is available, otherwise it hurts reproducibility. * The test suite should be able to run with multiple workers in kokoro or when a user has multiple gpus. Pytest should use all gpus visible by the main process. * We need to support testing with distributed strategies. Currently it doesn't work. A fix has been started in #1209 but we need to update it for pytest. * Making the whole thing simple to use and to maintain. Notably, we would get rid of this file: https://github.com/tensorflow/addons/blob/master/tools/testing/parallel_gpu_execute.sh which is quite hard to work on. To do all that, here is my proposal: Stuff to know: * Pytest-xdist uses multiprocessing to run the tests, not multithreading. * 2 environement variables are available in each of the workers to identify them. https://github.com/pytest-dev/pytest-xdist#identifying-the-worker-process-during-a-test ### Test workers Suppose we have a machine with 10CPUs and 4 GPUs, 10 processes will start to run the test suite. Workers 0 to 3 will have ownership of one GPU each (we can use CUDA_VISIBLE_DEVICES to enforce that, but I'm not even sure that's needed with the proposed implementation). Workers 4 to 9 will have no gpu available. ### Virtual devices Each of those processes, when starting, will split their physical device into 2 virtual device. Tests that just need to run on gpu will use the first of those virtual devices. Processes which need to test distributed strategies will use the two of them. We assume here that 2 virtual devices are enough to test distributed strategies. ### Impact on the contributors: For this whole machinery to work, we need to know which test needs to run on CPU, GPU, or in distributed strategies. To do that we'll use pytest markers: `@pytest.mark.....` * By default, if no marker is found, the test will run on CPU: `with device("CPU:0")`. It's equivalent to `@pytest.mark.run_on(["cpu"])`. * To run with gpu only: `@pytest.mark.run_on(["gpu"])`. * To run on the cpu and gpu: `@pytest.mark.run_on(["cpu", "gpu"])` (test runs twice) * To run in within a distributed strategy `@pytest.mark.run_on(["distributed strategy"])`. (runs once here). * To run with everything `@pytest.mark.run_on(["cpu", "gpu", "distributed strategy"])` * To make crazy stuff, and not run the test in any device scope: `@pytest.mark.no_device_scope`. Then the contributor can do whatever he/she wants in the test. Of course, if no gpu is available, we just skip the tests needing a distribution strategy or the gpu. Contributors who handle the devices manually have to make sure to skip manually the test if the gpu is used. Since gpu are often the scarsest ressource (nb gpus << nb cpus), tests needing the gpu will also be marked with `@pytest.mark.tryfirst` to ensure that we don't have workers starvation at the end (to get maximum speed). To implement that, we need first to convert all tests to pytest (as opposed to unittest) it's currently 80% done and thanks a lot @autoih for putting a LOT of work into that. **Relevant information** - Are you willing to contribute it (yes/no): yes - Are you willing to maintain it going forward? (yes/no): yes - Is there a relevant academic paper? (if so, where): no - Is there already an implementation in another framework? (if so, where): no - Was it part of tf.contrib? (if so, where): no **Which API type would this fall under (layer, metric, optimizer, etc.)** Testing **Who will benefit with this feature?** Contributors with gpu, CI. **Any other info.** I believe that the implementation will first go in tensorflow addons because we have 4 GPUs available in the CI. Later on when it's stable we can split it from tensorflow addons and make it a separate pytest plugin with a public API. Comments welcome. Especially from @Squadrick , @hyang0129 , @seanpmorgan since I'm not a ninja of tf.device.
[ { "content": "from tensorflow_addons.utils.test_utils import ( # noqa: F401\n maybe_run_functions_eagerly,\n pytest_make_parametrize_id,\n data_format,\n set_seeds,\n pytest_addoption,\n set_global_variables,\n pytest_configure,\n device,\n pytest_generate_tests,\n)\n\n# fixtures pre...
[ { "content": "from tensorflow_addons.utils.test_utils import ( # noqa: F401\n maybe_run_functions_eagerly,\n pytest_make_parametrize_id,\n data_format,\n set_seeds,\n pytest_addoption,\n set_global_variables,\n pytest_configure,\n device,\n pytest_generate_tests,\n pytest_collecti...
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e3d04ddb67..9e0836d26e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -428,6 +428,8 @@ the test twice, on CPU and on GPU, or only on GPU. Here is how to do it. ```python import pytest +import tensorflow as tf +from tensorflow_addons.utils import test_utils @pytest.mark.with_device(["cpu", "gpu"]) def test_something(): @@ -445,6 +447,24 @@ def test_something2(device): print("do something else.") + +@pytest.mark.with_device(["cpu", "gpu", tf.distribute.MirroredStrategy]) +def test_something3(device): + # the code here will run three times, once on gpu, once on cpu and once with + # a mirror distributed strategy. + # device will be "cpu:0" or "gpu:0" or the strategy. + # with the MirroredStrategy, it's equivalent to: + # strategy = tf.distribute.MirroredStrategy(...) + # with strategy.scope(): + # test_function(strategy) + if "cpu" in device: + print("do something.") + if "gpu" in device: + print("do something else.") + if isinstance(device, tf.distribute.Strategy): + device.run(...) + + @pytest.mark.with_device(["gpu"]) def test_something_else(): # This test will be only run on gpu. @@ -458,9 +478,20 @@ def test_something_more(): @pytest.mark.with_device(["no_device"]) +@pytest.mark.needs_gpu def test_something_more2(): # When running the function, there will be no `with tf.device` wrapper. # You are free to do whatever you wish with the devices in there. + # Make sure to use only the cpu, or only gpus available to the current process with + # test_utils.gpu_for_testing() , otherwise, it might not play nice with + # pytest's multiprocessing. + # If you use a gpu, mark the test with @pytest.mark.needs_gpu , otherwise the + # test will fail if no gpu is available on the system. + # for example + ... + strategy = tf.distribute.MirroredStrategy(test_utils.gpus_for_testing()) + with strategy.scope(): + print("I'm doing whatever I want.") ... ``` diff --git a/tensorflow_addons/conftest.py b/tensorflow_addons/conftest.py index 85b035a9ee..e6f9f7a6ef 100644 --- a/tensorflow_addons/conftest.py +++ b/tensorflow_addons/conftest.py @@ -8,6 +8,7 @@ pytest_configure, device, pytest_generate_tests, + pytest_collection_modifyitems, ) # fixtures present in this file will be available diff --git a/tensorflow_addons/optimizers/tests/conditional_gradient_test.py b/tensorflow_addons/optimizers/tests/conditional_gradient_test.py index 884b1a29ec..b3f7ac37be 100644 --- a/tensorflow_addons/optimizers/tests/conditional_gradient_test.py +++ b/tensorflow_addons/optimizers/tests/conditional_gradient_test.py @@ -190,7 +190,7 @@ def test_basic_nuclear(use_resource): # to address issue #36764 for i, dtype in enumerate( _dtypes_with_checking_system( - use_gpu=tf.test.is_gpu_available(), system=platform.system() + use_gpu=test_utils.is_gpu_available(), system=platform.system() ) ): @@ -276,7 +276,7 @@ def test_minimize_sparse_resource_variable_nuclear(): # TODO: # to address issue #347 and #36764. for dtype in _dtypes_with_checking_system( - use_gpu=tf.test.is_gpu_available(), system=platform.system() + use_gpu=test_utils.is_gpu_available(), system=platform.system() ): var0 = tf.Variable([[1.0, 2.0]], dtype=dtype) @@ -316,7 +316,7 @@ def loss(): @pytest.mark.usefixtures("maybe_run_functions_eagerly") def test_tensor_learning_rate_and_conditional_gradient_nuclear(): for dtype in _dtypes_with_checking_system( - use_gpu=tf.test.is_gpu_available(), system=platform.system() + use_gpu=test_utils.is_gpu_available(), system=platform.system() ): # TODO: # Based on issue #36764 in the following link, @@ -845,7 +845,7 @@ def test_like_dist_belief_frobenius_cg01(): def test_sparse_frobenius(): # TODO: # To address the issue #347. - for dtype in _dtypes_to_test(use_gpu=tf.test.is_gpu_available()): + for dtype in _dtypes_to_test(use_gpu=test_utils.is_gpu_available()): var0 = tf.Variable(tf.zeros([4, 2], dtype=dtype)) var1 = tf.Variable(tf.constant(1.0, dtype, [4, 2])) grads0 = tf.IndexedSlices( @@ -1001,7 +1001,7 @@ def test_sharing_nuclear(): # TODO: # To address the issue #36764. for dtype in _dtypes_with_checking_system( - use_gpu=tf.test.is_gpu_available(), system=platform.system() + use_gpu=test_utils.is_gpu_available(), system=platform.system() ): var0 = tf.Variable([1.0, 2.0], dtype=dtype) var1 = tf.Variable([3.0, 4.0], dtype=dtype) @@ -1340,7 +1340,7 @@ def test_sparse_nuclear(): # TODO: # To address the issue #347 and issue #36764. for dtype in _dtypes_with_checking_system( - use_gpu=tf.test.is_gpu_available(), system=platform.system() + use_gpu=test_utils.is_gpu_available(), system=platform.system() ): var0 = tf.Variable(tf.zeros([4, 2], dtype=dtype)) var1 = tf.Variable(tf.constant(1.0, dtype, [4, 2])) diff --git a/tensorflow_addons/optimizers/tests/lamb_test.py b/tensorflow_addons/optimizers/tests/lamb_test.py index 06113d7ad3..9c497600e2 100644 --- a/tensorflow_addons/optimizers/tests/lamb_test.py +++ b/tensorflow_addons/optimizers/tests/lamb_test.py @@ -67,7 +67,7 @@ def get_beta_accumulators(opt, dtype): @pytest.mark.usefixtures("maybe_run_functions_eagerly") def test_sparse(): - for dtype in _dtypes_to_test(use_gpu=tf.test.is_gpu_available()): + for dtype in _dtypes_to_test(use_gpu=test_utils.is_gpu_available()): # Initialize tf for numpy implementation. m0, v0, m1, v1 = 0.0, 0.0, 0.0, 0.0 var0_np = np.array([1.0, 1.0, 2.0], dtype=dtype.as_numpy_dtype) @@ -113,7 +113,7 @@ def test_sparse(): @pytest.mark.usefixtures("maybe_run_functions_eagerly") def test_basic_with_learning_rate_decay(): - for i, dtype in enumerate(_dtypes_to_test(use_gpu=tf.test.is_gpu_available())): + for i, dtype in enumerate(_dtypes_to_test(use_gpu=test_utils.is_gpu_available())): # Initialize variables for numpy implementation. m0, v0, m1, v1 = 0.0, 0.0, 0.0, 0.0 var0_np = np.array([1.0, 2.0], dtype=dtype.as_numpy_dtype) @@ -162,7 +162,7 @@ def test_basic_with_learning_rate_decay(): @pytest.mark.usefixtures("maybe_run_functions_eagerly") def test_basic_with_learning_rate_inverse_time_decay(): - for i, dtype in enumerate(_dtypes_to_test(use_gpu=tf.test.is_gpu_available())): + for i, dtype in enumerate(_dtypes_to_test(use_gpu=test_utils.is_gpu_available())): # Initialize variables for numpy implementation. m0, v0, m1, v1 = 0.0, 0.0, 0.0, 0.0 var0_np = np.array([1.0, 2.0], dtype=dtype.as_numpy_dtype) @@ -204,7 +204,7 @@ def test_basic_with_learning_rate_inverse_time_decay(): @pytest.mark.usefixtures("maybe_run_functions_eagerly") def test_tensor_learning_rate(): - for dtype in _dtypes_to_test(use_gpu=tf.test.is_gpu_available()): + for dtype in _dtypes_to_test(use_gpu=test_utils.is_gpu_available()): # Initialize variables for numpy implementation. m0, v0, m1, v1 = 0.0, 0.0, 0.0, 0.0 var0_np = np.array([1.0, 2.0], dtype=dtype.as_numpy_dtype) @@ -239,7 +239,7 @@ def test_tensor_learning_rate(): @pytest.mark.usefixtures("maybe_run_functions_eagerly") def test_sharing(): - for dtype in _dtypes_to_test(use_gpu=tf.test.is_gpu_available()): + for dtype in _dtypes_to_test(use_gpu=test_utils.is_gpu_available()): # Initialize variables for numpy implementation. m0, v0, m1, v1 = 0.0, 0.0, 0.0, 0.0 var0_np = np.array([1.0, 2.0], dtype=dtype.as_numpy_dtype) @@ -293,7 +293,7 @@ def loss(): @pytest.mark.usefixtures("maybe_run_functions_eagerly") def test_resource(): - for i, dtype in enumerate(_dtypes_to_test(use_gpu=tf.test.is_gpu_available())): + for i, dtype in enumerate(_dtypes_to_test(use_gpu=test_utils.is_gpu_available())): # Initialize variables for numpy implementation. m0, v0, m1, v1 = 0.0, 0.0, 0.0, 0.0 var0_np = np.array([1.0, 2.0], dtype=dtype.as_numpy_dtype) diff --git a/tensorflow_addons/optimizers/tests/weight_decay_optimizers_test.py b/tensorflow_addons/optimizers/tests/weight_decay_optimizers_test.py index 98f1379b2a..d1653206f2 100644 --- a/tensorflow_addons/optimizers/tests/weight_decay_optimizers_test.py +++ b/tensorflow_addons/optimizers/tests/weight_decay_optimizers_test.py @@ -53,7 +53,7 @@ def do_test( the optimizer_params in the update_fn. """ # TODO: Fix #347 issue - if do_sparse and tf.test.is_gpu_available(): + if do_sparse and test_utils.is_gpu_available(): pytest.skip("Wait #347 to be fixed") # Initialize variables for numpy implementation. @@ -112,7 +112,7 @@ def do_test_sparse_repeated_indices(dtype, optimizer, **optimizer_kwargs): the optimizer_params in the update_fn. """ # TODO: Fix #347 issue - if tf.test.is_gpu_available(): + if test_utils.is_gpu_available(): pytest.skip("Wait #347 to be fixed") repeated_index_update_var = tf.Variable([[1.0], [2.0]], dtype=dtype) diff --git a/tensorflow_addons/optimizers/tests/yogi_test.py b/tensorflow_addons/optimizers/tests/yogi_test.py index 1cc0498eff..fcd98d49bb 100644 --- a/tensorflow_addons/optimizers/tests/yogi_test.py +++ b/tensorflow_addons/optimizers/tests/yogi_test.py @@ -96,7 +96,7 @@ def _dtypes_to_test(use_gpu): def do_test_sparse(beta1=0.0, l1reg=0.0, l2reg=0.0): - for dtype in _dtypes_to_test(use_gpu=tf.test.is_gpu_available()): + for dtype in _dtypes_to_test(use_gpu=test_utils.is_gpu_available()): # Initialize variables for numpy implementation. m0, v0, m1, v1 = 0.0, 1.0, 0.0, 1.0 var0_np = np.array([1.0, 2.0], dtype=dtype.as_numpy_dtype) @@ -169,7 +169,7 @@ def test_sparse_momentum_regularization(): def test_sparse_repeated_indices(): - for dtype in _dtypes_to_test(use_gpu=tf.test.is_gpu_available()): + for dtype in _dtypes_to_test(use_gpu=test_utils.is_gpu_available()): repeated_index_update_var = tf.Variable([[1.0], [2.0]], dtype=dtype) aggregated_update_var = tf.Variable([[1.0], [2.0]], dtype=dtype) grad_repeated_index = tf.IndexedSlices( @@ -199,7 +199,7 @@ def test_sparse_repeated_indices(): def do_test_basic(beta1=0.0, l1reg=0.0, l2reg=0.0): - for dtype in _dtypes_to_test(use_gpu=tf.test.is_gpu_available()): + for dtype in _dtypes_to_test(use_gpu=test_utils.is_gpu_available()): # Initialize variables for numpy implementation. m0, v0, m1, v1 = 0.0, 1.0, 0.0, 1.0 var0_np = np.array([1.0, 2.0], dtype=dtype.as_numpy_dtype) @@ -265,7 +265,7 @@ def test_basic_momentum_regularization(): @pytest.mark.usefixtures("maybe_run_functions_eagerly") def test_tensor_learning_rate(): - for dtype in _dtypes_to_test(use_gpu=tf.test.is_gpu_available()): + for dtype in _dtypes_to_test(use_gpu=test_utils.is_gpu_available()): # Initialize variables for numpy implementation. m0, v0, m1, v1 = 0.0, 1.0, 0.0, 1.0 var0_np = np.array([1.0, 2.0], dtype=dtype.as_numpy_dtype) @@ -301,7 +301,7 @@ def test_tensor_learning_rate(): @pytest.mark.usefixtures("maybe_run_functions_eagerly") def test_sharing(): - for dtype in _dtypes_to_test(use_gpu=tf.test.is_gpu_available()): + for dtype in _dtypes_to_test(use_gpu=test_utils.is_gpu_available()): # Initialize variables for numpy implementation. m0, v0, m1, v1 = 0.0, 1.0, 0.0, 1.0 var0_np = np.array([1.0, 2.0], dtype=dtype.as_numpy_dtype) diff --git a/tensorflow_addons/utils/test_utils.py b/tensorflow_addons/utils/test_utils.py index 4b3c082fe3..fad6fcc22a 100644 --- a/tensorflow_addons/utils/test_utils.py +++ b/tensorflow_addons/utils/test_utils.py @@ -31,6 +31,11 @@ WORKER_ID = int(os.environ.get("PYTEST_XDIST_WORKER", "gw0")[2]) NUMBER_OF_GPUS = len(tf.config.list_physical_devices("GPU")) + +def is_gpu_available(): + return NUMBER_OF_GPUS >= 1 + + # Some configuration before starting the tests. # we only need one core per worker. @@ -39,18 +44,22 @@ tf.config.threading.set_intra_op_parallelism_threads(1) tf.config.threading.set_inter_op_parallelism_threads(1) -if NUMBER_OF_GPUS != 0: +if is_gpu_available(): # We use only the first gpu at the moment. That's enough for most use cases. - # split the first gpu into chunks of 100MB per pytest worker. + # split the first gpu into chunks of 100MB per virtual device. # It's the user's job to limit the amount of pytest workers depending # on the available memory. # In practice, each process takes a bit more memory. # There must be some kind of overhead but it's not very big (~200MB more) + # Each worker has two virtual devices. + # When running on gpu, only the first device is used. The other one is used + # in distributed strategies. first_gpu = tf.config.list_physical_devices("GPU")[0] + virtual_gpus = [ + tf.config.LogicalDeviceConfiguration(memory_limit=100) for _ in range(2) + ] - tf.config.set_logical_device_configuration( - first_gpu, [tf.config.LogicalDeviceConfiguration(memory_limit=100)], - ) + tf.config.set_logical_device_configuration(first_gpu, virtual_gpus) def finalizer(): @@ -96,6 +105,20 @@ def pytest_addoption(parser): ) +def gpus_for_testing(): + """For the moment it's very simple, but it might change in the future, + with multiple physical gpus for example. So it's better if this function + is called rather than hardcoding the gpu devices in the tests. + """ + if not is_gpu_available(): + raise SystemError( + "You are trying to get some gpus for testing but no gpu is available on " + "your system. \nDid you forget to use `@pytest.mark.needs_gpu` on your test" + " so that it's skipped automatically when no gpu is available?" + ) + return ["gpu:0", "gpu:1"] + + @pytest.fixture(scope="session", autouse=True) def set_global_variables(request): if request.config.getoption("--skip-custom-ops"): @@ -114,7 +137,11 @@ def device(request): requested_device = request.param if requested_device == "no_device": yield requested_device - else: + elif requested_device == tf.distribute.MirroredStrategy: + strategy = requested_device(gpus_for_testing()) + with strategy.scope(): + yield strategy + elif isinstance(requested_device, str): if requested_device in ["cpu", "gpu"]: # we use GPU:0 because the virtual device we created is the # only one in the first GPU (so first in the list of virtual devices). @@ -126,13 +153,10 @@ def device(request): def get_marks(device_name): - marks = [] - if device_name == "gpu": - marks.append(pytest.mark.needs_gpu) - if NUMBER_OF_GPUS == 0: - skip_message = "The gpu is not available." - marks.append(pytest.mark.skip(reason=skip_message)) - return marks + if device_name == "gpu" or device_name == tf.distribute.MirroredStrategy: + return [pytest.mark.needs_gpu] + else: + return [] def pytest_generate_tests(metafunc): @@ -149,6 +173,13 @@ def pytest_generate_tests(metafunc): metafunc.parametrize("device", parameters, indirect=True) +def pytest_collection_modifyitems(items): + for item in items: + if item.get_closest_marker("needs_gpu") is not None: + if not is_gpu_available(): + item.add_marker(pytest.mark.skip("The gpu is not available.")) + + def assert_allclose_according_to_type( a, b, diff --git a/tensorflow_addons/utils/tests/test_utils_test.py b/tensorflow_addons/utils/tests/test_utils_test.py index 0220ef3747..3886ce2eef 100644 --- a/tensorflow_addons/utils/tests/test_utils_test.py +++ b/tensorflow_addons/utils/tests/test_utils_test.py @@ -1,10 +1,45 @@ import random import numpy as np +import pytest import tensorflow as tf +from tensorflow_addons.utils import test_utils def test_seed_is_set(): assert random.randint(0, 10000) == 6311 assert np.random.randint(0, 10000) == 2732 assert tf.random.uniform([], 0, 10000, dtype=tf.int64).numpy() == 9457 + + +@pytest.mark.with_device(["cpu", "gpu", tf.distribute.MirroredStrategy]) +def test_all_scopes(device): + assert isinstance(device, str) or isinstance(device, tf.distribute.Strategy) + + +def train_small_model(): + model_input = tf.keras.layers.Input((3,)) + model_output = tf.keras.layers.Dense(4)(model_input) + model = tf.keras.Model(model_input, model_output) + model.compile(loss="mse") + + x = np.random.uniform(size=(5, 3)) + y = np.random.uniform(size=(5, 4)) + model.fit(x, y, epochs=1) + + +@pytest.mark.with_device([tf.distribute.MirroredStrategy]) +def test_distributed_strategy(device): + assert isinstance(device, tf.distribute.Strategy) + train_small_model() + + +@pytest.mark.with_device(["no_device"]) +@pytest.mark.needs_gpu +def test_custom_device_placement(): + with tf.device(test_utils.gpus_for_testing()[0]): + train_small_model() + + strategy = tf.distribute.MirroredStrategy(test_utils.gpus_for_testing()) + with strategy.scope(): + train_small_model()
PaddlePaddle__models-3094
PaddleCV/Research/astar2019/reader.py中的bug [PaddleCV/Research/astar2019/reader.py](https://github.com/PaddlePaddle/models/blob/develop/PaddleCV/Research/astar2019/reader.py)中第74行有一处bug,代码如下 ``` @property def apply_distort(self): # line 74: 按功能,此处应该是 def apply_expand(self): return self._apply_expand @property def apply_distort(self): return self._apply_distort ```
[ { "content": "# Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0...
[ { "content": "# Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0...
diff --git a/PaddleCV/Research/astar2019/reader.py b/PaddleCV/Research/astar2019/reader.py index 8024bf067f..39efa44aa0 100644 --- a/PaddleCV/Research/astar2019/reader.py +++ b/PaddleCV/Research/astar2019/reader.py @@ -71,7 +71,7 @@ def ap_version(self): return self._ap_version @property - def apply_distort(self): + def apply_expand(self): return self._apply_expand @property
adamchainz__django-perf-rec-469
overwrite MODE can result in invalid snapshot files ### Python Version 3.9 ### Django Version 3.2 ### Package Version 4.20.0 ### Description If the new snapshot data are smaller than the previous ones, then `overwrite` mode can result in the file contents containing trailing data left over from the previous snapshots. In turn that data can end up being invalid YAML which then causes issues when the file is next read. It looks like `set_and_save` needs to call [`fp.truncate()`](https://docs.python.org/3/library/io.html#io.IOBase.truncate) after `yaml.safe_dump`. If you agree with this approach I'd be happy to put together a PR.
[ { "content": "from __future__ import annotations\n\nimport errno\nimport os\nfrom typing import Any\n\nimport yaml\nfrom django.core.files import locks\n\nfrom django_perf_rec.types import PerformanceRecord\n\n\nclass KVFile:\n def __init__(self, file_name: str) -> None:\n self.file_name = file_name\n...
[ { "content": "from __future__ import annotations\n\nimport errno\nimport os\nfrom typing import Any\n\nimport yaml\nfrom django.core.files import locks\n\nfrom django_perf_rec.types import PerformanceRecord\n\n\nclass KVFile:\n def __init__(self, file_name: str) -> None:\n self.file_name = file_name\n...
diff --git a/HISTORY.rst b/HISTORY.rst index 331d0a69..a3ebf194 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -2,6 +2,10 @@ History ======= +* Fix 'overwrite' mode to prevent file corruption. + + Thanks to Peter Law for the report in `Issue #468 <https://github.com/adamchainz/django-perf-rec/issues/468>`__. + 4.20.0 (2022-05-10) ------------------- diff --git a/src/django_perf_rec/yaml.py b/src/django_perf_rec/yaml.py index cc58265e..2dd6da6c 100644 --- a/src/django_perf_rec/yaml.py +++ b/src/django_perf_rec/yaml.py @@ -76,3 +76,4 @@ def set_and_save(self, key: str, value: PerformanceRecord) -> None: yaml.safe_dump( data, fp, default_flow_style=False, allow_unicode=True, width=10000 ) + fp.truncate() diff --git a/tests/test_api.py b/tests/test_api.py index 54419fee..9abd5374 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -3,6 +3,7 @@ import os import pytest +import yaml from django.core.cache import caches from django.db.models import F, Q from django.db.models.functions import Upper @@ -243,19 +244,19 @@ def test_mode_overwrite(self): with record(path="perf_files/api/", record_name="test_mode_overwrite"): caches["default"].get("foo") + caches["default"].get("bar") full_path = os.path.join(FILE_DIR, "perf_files", "api", "test_api.perf.yml") assert os.path.exists(full_path) with record(path="perf_files/api/", record_name="test_mode_overwrite"): - caches["default"].get("bar") + caches["default"].get("baz") full_path = os.path.join(FILE_DIR, "perf_files", "api", "test_api.perf.yml") with open(full_path) as f: - text = f.read() + data = yaml.safe_load(f.read()) - assert "bar" in text - assert "foo" not in text + assert data == {"test_mode_overwrite": [{"cache|get": "baz"}]} def test_delete_on_cascade_called_twice(self): arthur = Author.objects.create(name="Arthur", age=42)
spyder-ide__spyder-6089
Spyder not starting in macOS because pyopengl is present I updated python and spyder using "conda update spyder" and "conda update python" respectively on MacOSX. Is this a python error or a spyder error? Please find attached the conda list output listing the versions. Thanks for your support. -------- Traceback (most recent call last): File "/Users/Nagraj/anaconda3/bin/spyder", line 7, in [conda_list.txt](https://github.com/spyder-ide/spyder/files/1590875/conda_list.txt) from spyder.app.start import main File "/Users/Nagraj/anaconda3/lib/python3.6/site-packages/spyder/app/start.py", line 19, in from OpenGL import GL File "/Users/Nagraj/anaconda3/lib/python3.6/site-packages/OpenGL/GL/__init__.py", line 3, in from OpenGL import error as _error File "/Users/Nagraj/anaconda3/lib/python3.6/site-packages/OpenGL/error.py", line 12, in from OpenGL import platform, _configflags File "/Users/Nagraj/anaconda3/lib/python3.6/site-packages/OpenGL/platform/__init__.py", line 35, in _load() File "/Users/Nagraj/anaconda3/lib/python3.6/site-packages/OpenGL/platform/__init__.py", line 29, in _load plugin = plugin_class() TypeError: 'NoneType' object is not callable
[ { "content": "# -*- coding: utf-8 -*-\r\n\r\n# Std imports\r\nimport os\r\nimport os.path as osp\r\nimport random\r\nimport socket\r\nimport sys\r\nimport time\r\n\r\n# To prevent a race condition with ZMQ\r\n# See issue 5324\r\nimport zmq\r\n\r\n# This import is needed to fix errors with OpenGL when installed ...
[ { "content": "# -*- coding: utf-8 -*-\r\n\r\n# Std imports\r\nimport os\r\nimport os.path as osp\r\nimport random\r\nimport socket\r\nimport sys\r\nimport time\r\n\r\n# To prevent a race condition with ZMQ\r\n# See issue 5324\r\nimport zmq\r\n\r\n# This import is needed to fix errors with OpenGL when installed ...
diff --git a/spyder/app/start.py b/spyder/app/start.py index 8d0a33f8156..542afde3420 100644 --- a/spyder/app/start.py +++ b/spyder/app/start.py @@ -16,8 +16,7 @@ # See issue 3332 try: from OpenGL import GL -except ImportError: - # pyopengl is not present when installed using conda +except: pass # Local imports
ros__ros_comm-683
unregister() method to message_filter.Subscriber on python Do you have plan to implement this? Or there is other way to achieve this?
[ { "content": "# Copyright (c) 2009, Willow Garage, Inc.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are met:\n#\n# * Redistributions of source code must retain the above copyright\n# ...
[ { "content": "# Copyright (c) 2009, Willow Garage, Inc.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are met:\n#\n# * Redistributions of source code must retain the above copyright\n# ...
diff --git a/utilities/message_filters/src/message_filters/__init__.py b/utilities/message_filters/src/message_filters/__init__.py index dc7d7cf105..ae6b929ee1 100644 --- a/utilities/message_filters/src/message_filters/__init__.py +++ b/utilities/message_filters/src/message_filters/__init__.py @@ -76,6 +76,9 @@ def callback(self, msg): def getTopic(self): return self.topic + def unregister(self): + self.sub.unregister() + class Cache(SimpleFilter): """
Flexget__Flexget-2652
Dependencies on non pure Python modules Hi, Sorry for [x-posting](https://discuss.flexget.com/t/dependencies-on-non-pure-python-modules/5086). This is kind of a development issue so it might fit here better than in the forum. Feel free to just close this and reply on Discourse. When upgrading Flexget I stumbled upon the fact that now it depends on Pillow, as per: https://github.com/Flexget/Flexget/pull/2621 My Flexget runs on an embedded aarch64 device so every time you add a dep on a module that links against C libraries (Pillow depends on zlib and libjpeg) I have to cross compile the necessary native extensions, distribute them etc. Either that or manually installing a skimmed `requirements.txt` and finally installing Flexget passing `--no-dependencies` to `pip install`. Does adding a tray icon justify this hassle for users? No saying that’s wrong of course, just trying to bring to your attention this use case and the potential annoyance for users. Could perhaps these things be made optional at install/build time by relaxing the hard dependency? Thanks. Dependencies on non pure Python modules Hi, Sorry for [x-posting](https://discuss.flexget.com/t/dependencies-on-non-pure-python-modules/5086). This is kind of a development issue so it might fit here better than in the forum. Feel free to just close this and reply on Discourse. When upgrading Flexget I stumbled upon the fact that now it depends on Pillow, as per: https://github.com/Flexget/Flexget/pull/2621 My Flexget runs on an embedded aarch64 device so every time you add a dep on a module that links against C libraries (Pillow depends on zlib and libjpeg) I have to cross compile the necessary native extensions, distribute them etc. Either that or manually installing a skimmed `requirements.txt` and finally installing Flexget passing `--no-dependencies` to `pip install`. Does adding a tray icon justify this hassle for users? No saying that’s wrong of course, just trying to bring to your attention this use case and the potential annoyance for users. Could perhaps these things be made optional at install/build time by relaxing the hard dependency? Thanks.
[ { "content": "import logging\nimport webbrowser\nfrom functools import partial, wraps\nfrom pathlib import Path\nfrom typing import List, Optional\n\nfrom loguru import logger\n\nfrom flexget import __version__\n\nlogger = logger.bind(name='tray_icon')\n\ntry:\n # If we are running outside of a graphical env...
[ { "content": "import logging\nimport webbrowser\nfrom functools import partial, wraps\nfrom pathlib import Path\nfrom typing import List, Optional\n\nfrom loguru import logger\n\nfrom flexget import __version__\n\nlogger = logger.bind(name='tray_icon')\n\ntry:\n # If we are running outside of a graphical env...
diff --git a/flexget/tray_icon.py b/flexget/tray_icon.py index 36cb008561..c669515fbc 100644 --- a/flexget/tray_icon.py +++ b/flexget/tray_icon.py @@ -17,7 +17,7 @@ _import_success = True except Exception as e: - logger.debug('Could not import pystray: {}', e) + logger.debug('Could not load tray icon: {}', e) _import_success = False diff --git a/requirements.in b/requirements.in index fc2b21595e..b9226b8afa 100644 --- a/requirements.in +++ b/requirements.in @@ -30,4 +30,3 @@ pyparsing>=2.0.3 zxcvbn-python progressbar==2.5 more-itertools -Pillow diff --git a/requirements.txt b/requirements.txt index d3e2ac288b..bd674aa440 100644 --- a/requirements.txt +++ b/requirements.txt @@ -31,7 +31,6 @@ jsonschema==2.6.0 # via -r requirements.in, flask-restplus loguru==0.4.1 # via -r requirements.in markupsafe==1.1.1 # via jinja2 more-itertools==7.2.0 # via -r requirements.in, cheroot, cherrypy, jaraco.functools -pillow==7.0.0 # via -r requirements.in plumbum==1.6.3 # via rpyc portend==2.6 # via cherrypy progressbar==2.5 # via -r requirements.in @@ -55,7 +54,6 @@ webencodings==0.5.1 # via html5lib werkzeug==0.15.6 # via flask zc.lockfile==2.0 # via cherrypy zxcvbn-python==4.4.15 # via -r requirements.in -pystray==0.15.0 # The following packages are considered to be unsafe in a requirements file: # setuptools
vaexio__vaex-2186
[FEATURE-REQUEST]: Expose `vaex.DataFrame` for type hinting I would like to add type annotations to my code. Currently I can do `from vaex.dataframe import DataFrame`, but it would be nice if the DataFrame was exposed at the top level so I could just do `import vaex` and then `df: vaex.DataFrame = ...` I like being able to namespace it like this to differentiate between other DataFrames, eg `import pandas as pd` and then `pdf: pd.DataFrame = ...` I can submit a PR if you want. Thank you for this awesome library, I'm excited to get started with it! Better string processing is a big requirement of mine and this is 💯
[ { "content": "\"\"\"\nVaex is a library for dealing with larger than memory DataFrames (out of core).\n\nThe most important class (datastructure) in vaex is the :class:`.DataFrame`. A DataFrame is obtained by either opening\nthe example dataset:\n\n>>> import vaex\n>>> df = vaex.example()\n\nOr using :func:`ope...
[ { "content": "\"\"\"\nVaex is a library for dealing with larger than memory DataFrames (out of core).\n\nThe most important class (datastructure) in vaex is the :class:`.DataFrame`. A DataFrame is obtained by either opening\nthe example dataset:\n\n>>> import vaex\n>>> df = vaex.example()\n\nOr using :func:`ope...
diff --git a/packages/vaex-core/vaex/__init__.py b/packages/vaex-core/vaex/__init__.py index f7a91b5fc6..50bbb0b921 100644 --- a/packages/vaex-core/vaex/__init__.py +++ b/packages/vaex-core/vaex/__init__.py @@ -56,6 +56,9 @@ from . import agg import vaex.datasets +# Re-export these so users can type hint with eg vaex.DataFrame +from vaex.dataframe import DataFrame as DataFrame +from vaex.expression import Expression as Expression
Textualize__textual-2755
A lone `Static` results in a `TooManyMatches` error when using `query_one` I've not dived into this beyond knocking up this example to isolate what I saw (about to head out of the door but wanted to record this as a reminder). With 0.27.0 (perhaps before too, just noting the version here for the record), this code: ```python from textual.app import App, ComposeResult from textual.widgets import Static class OneStatic( App[ None ] ): def compose( self ) -> ComposeResult: yield Static() def on_mount( self ) -> None: self.query_one( Static ).update( "Hello, World!" ) if __name__ == "__main__": OneStatic().run() ``` results in a `TooManyMatches` error being raised from the `query_one`. With very early testing this only seems to be the case with `Static` (at least, I tested with `Label` and `Button` and they're fine). I think most people would rightly find this surprising.
[ { "content": "from __future__ import annotations\n\nfrom textual.widgets import Static\n\n\nclass Tooltip(Static):\n DEFAULT_CSS = \"\"\"\n Tooltip {\n layer: _tooltips;\n margin: 1 2;\n padding: 1 2;\n background: $panel;\n width: auto;\n height: auto;\n c...
[ { "content": "from __future__ import annotations\n\nfrom textual.widgets import Static\n\n\nclass Tooltip(Static, inherit_css=False):\n DEFAULT_CSS = \"\"\"\n Tooltip {\n layer: _tooltips;\n margin: 1 2;\n padding: 1 2;\n background: $panel;\n width: auto;\n heigh...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 23739959d7..ce7c782824 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Fixed setting `TreeNode.label` on an existing `Tree` node not immediately https://github.com/Textualize/textual/pull/2713 - Correctly implement `__eq__` protocol in DataTable https://github.com/Textualize/textual/pull/2705 +- Fixed `Tooltip` causing a `query_one` on a lone `Static` to fail https://github.com/Textualize/textual/issues/2723 ### Changed diff --git a/src/textual/widgets/_tooltip.py b/src/textual/widgets/_tooltip.py index c00b57be62..94664edb47 100644 --- a/src/textual/widgets/_tooltip.py +++ b/src/textual/widgets/_tooltip.py @@ -3,7 +3,7 @@ from textual.widgets import Static -class Tooltip(Static): +class Tooltip(Static, inherit_css=False): DEFAULT_CSS = """ Tooltip { layer: _tooltips;
openfun__marsha-2411
🐛(backend) licence not saved during creation video resource ## Bug Report **Problematic Behavior** When we create a video and set a licence, the licence is not saved. [error-licence-2023-09-12 143121.webm](https://github.com/openfun/marsha/assets/25994652/60514ad8-07cd-4390-97c9-21eb3525ecc6)
[ { "content": "\"\"\"Marsha forms module.\"\"\"\nfrom django.core.exceptions import ValidationError\nfrom django.forms import CharField, ModelForm\n\nfrom . import models\nfrom .defaults import INITIALIZED\n\n\nclass DocumentForm(ModelForm):\n \"\"\"Form to create or update documents.\"\"\"\n\n class Meta:...
[ { "content": "\"\"\"Marsha forms module.\"\"\"\nfrom django.core.exceptions import ValidationError\nfrom django.forms import CharField, ModelForm\n\nfrom . import models\nfrom .defaults import INITIALIZED\n\n\nclass DocumentForm(ModelForm):\n \"\"\"Form to create or update documents.\"\"\"\n\n class Meta:...
diff --git a/CHANGELOG.md b/CHANGELOG.md index d6c580de24..3705a01655 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Fixed + +- Save license when a video is created + ## [4.4.0] - 2023-09-08 ### Added diff --git a/src/backend/marsha/core/forms.py b/src/backend/marsha/core/forms.py index 8be51131dd..f1ab78baef 100644 --- a/src/backend/marsha/core/forms.py +++ b/src/backend/marsha/core/forms.py @@ -35,6 +35,7 @@ class Meta: "playlist", "title", "upload_state", + "license", ] def clean_upload_state(self): diff --git a/src/backend/marsha/core/tests/api/video/test_create.py b/src/backend/marsha/core/tests/api/video/test_create.py index b8191bbbab..748b1879bd 100644 --- a/src/backend/marsha/core/tests/api/video/test_create.py +++ b/src/backend/marsha/core/tests/api/video/test_create.py @@ -78,6 +78,7 @@ def test_api_video_create_by_playlist_admin(self): "lti_id": "video_one", "playlist": str(playlist.id), "title": "Some video", + "license": "CC_BY-ND", }, HTTP_AUTHORIZATION=f"Bearer {jwt_token}", ) @@ -127,7 +128,7 @@ def test_api_video_create_by_playlist_admin(self): "urls": None, "xmpp": None, "tags": [], - "license": None, + "license": "CC_BY-ND", }, ) @@ -174,6 +175,7 @@ def test_api_video_create_by_playlist_instructor(self): "lti_id": "video_one", "playlist": str(playlist.id), "title": "Some video", + "license": "CC_BY-ND", }, HTTP_AUTHORIZATION=f"Bearer {jwt_token}", ) @@ -223,7 +225,7 @@ def test_api_video_create_by_playlist_instructor(self): "urls": None, "xmpp": None, "tags": [], - "license": None, + "license": "CC_BY-ND", }, )
dbt-labs__dbt-core-2537
Python 3.6.2 doesn't work with dbt 0.17.0 ### Describe the bug Running dbt on python <= 3.6.2 results in an error that `name 'TimestampSnapshotConfig' is not defined`. 3.6.3 is unaffected. ### Steps To Reproduce Install python 3.6.2 Install dbt Try to use dbt ### Expected behavior dbt should run, not crash, etc ### System information **Which database are you using dbt with?** Any **The output of `dbt --version`:** ``` 0.17.0 ``` **The operating system you're using:** macos, linux **The output of `python --version`:** `Python 3.6.2`
[ { "content": "#!/usr/bin/env python\nimport os\nimport sys\n\nfrom setuptools import setup\ntry:\n from setuptools import find_namespace_packages\nexcept ImportError:\n # the user has a downlevel version of setuptools.\n print('Error: dbt requires setuptools v40.1.0 or higher.')\n print('Please upgr...
[ { "content": "#!/usr/bin/env python\nimport os\nimport sys\n\nfrom setuptools import setup\ntry:\n from setuptools import find_namespace_packages\nexcept ImportError:\n # the user has a downlevel version of setuptools.\n print('Error: dbt requires setuptools v40.1.0 or higher.')\n print('Please upgr...
diff --git a/core/setup.py b/core/setup.py index b63daad5d0a..82fc31ae8ba 100644 --- a/core/setup.py +++ b/core/setup.py @@ -86,5 +86,5 @@ def read(fname): 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', ], - python_requires=">=3.6.2", + python_requires=">=3.6.3", )
cowrie__cowrie-1063
Can't enter using "oracle" or "tomcat" users Hello. I'm using stock userdb.txt file, where "oracle" and "tomcat" users are defined with any password. When using these users, the ssh client gives me an error of "Permission denied (publickey,password)" after entering three times any password. The ugly thing is that in cowrie.json file appear entries of "cowrie.login.success" type with the message "login attempt [oracle/password] suceeded", which is, obviously, incorrect. Thanks a lot
[ { "content": "# Copyright (c) 2015 Michel Oosterhof <michel@oosterhof.net>\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions\n# are met:\n#\n# 1. Redistributions of source code must retain the ab...
[ { "content": "# Copyright (c) 2015 Michel Oosterhof <michel@oosterhof.net>\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions\n# are met:\n#\n# 1. Redistributions of source code must retain the ab...
diff --git a/src/cowrie/shell/pwd.py b/src/cowrie/shell/pwd.py index 394a95899c..c3a3842a74 100644 --- a/src/cowrie/shell/pwd.py +++ b/src/cowrie/shell/pwd.py @@ -117,7 +117,7 @@ def setpwentry(self, name): """ # ensure consistent uid and gid - seed_id = crc32(name) + seed_id = crc32(name.encode("utf-8")) seed(seed_id) e = {}
strawberry-graphql__strawberry-2528
Additional type hints for strawberry.field - so that it can be used with async reolvers If I use strawberry.field as explained in the documentation for async resolvers I get the following warning from pylance. ```python import asyncio import strawberry async def resolve_hello(root) -> str: await asyncio.sleep(1) return "Hello world" @strawberry.type class Query: hello: str = strawberry.field(resolver=resolve_hello) schema = strawberry.Schema(Query) ``` ``` (module) strawberry Expression of type "StrawberryField" cannot be assigned to declared type "str" "StrawberryField" is incompatible with "str" Pylance[reportGeneralTypeIssues] ``` It would be nice if you could enhance the overloaded `field` defitions in field.py for use with coroutines. Used Version: 0.155.2 <!-- POLAR PLEDGE BADGE START --> ## Upvote & Fund - We're using [Polar.sh](https://polar.sh/strawberry-graphql) so you can upvote and help fund this issue. - We receive the funding once the issue is completed & confirmed by you. - Thank you in advance for helping prioritize & fund our backlog. <a href="https://polar.sh/strawberry-graphql/strawberry/issues/2500"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://polar.sh/api/github/strawberry-graphql/strawberry/issues/2500/pledge.svg?darkmode=1"> <img alt="Fund with Polar" src="https://polar.sh/api/github/strawberry-graphql/strawberry/issues/2500/pledge.svg"> </picture> </a> <!-- POLAR PLEDGE BADGE END -->
[ { "content": "import builtins\nimport dataclasses\nimport inspect\nimport sys\nfrom typing import (\n TYPE_CHECKING,\n Any,\n Awaitable,\n Callable,\n Dict,\n List,\n Mapping,\n Optional,\n Sequence,\n Type,\n TypeVar,\n Union,\n overload,\n)\nfrom typing_extensions import...
[ { "content": "import builtins\nimport dataclasses\nimport inspect\nimport sys\nfrom typing import (\n TYPE_CHECKING,\n Any,\n Awaitable,\n Callable,\n Dict,\n List,\n Mapping,\n Optional,\n Sequence,\n Type,\n TypeVar,\n Union,\n overload,\n)\nfrom typing_extensions import...
diff --git a/RELEASE.md b/RELEASE.md new file mode 100644 index 0000000000..9a29a22c51 --- /dev/null +++ b/RELEASE.md @@ -0,0 +1,20 @@ +Release type: patch + +This release updates the typing for the resolver argument in +`strawberry.field`i to support async resolvers. +This means that now you won't get any type +error from Pyright when using async resolver, like the following example: + +```python +import strawberry + + +async def get_user_age() -> int: + return 0 + + +@strawberry.type +class User: + name: str + age: int = strawberry.field(resolver=get_user_age) +``` diff --git a/strawberry/field.py b/strawberry/field.py index b6593c0f2a..a7ad30c355 100644 --- a/strawberry/field.py +++ b/strawberry/field.py @@ -39,6 +39,7 @@ _RESOLVER_TYPE = Union[ StrawberryResolver[T], Callable[..., T], + Callable[..., Awaitable[T]], "staticmethod[T]", "classmethod[T]", ] diff --git a/tests/pyright/test_fields_resolver_async.py b/tests/pyright/test_fields_resolver_async.py new file mode 100644 index 0000000000..85da5db557 --- /dev/null +++ b/tests/pyright/test_fields_resolver_async.py @@ -0,0 +1,54 @@ +from .utils import Result, requires_pyright, run_pyright, skip_on_windows + +pytestmark = [skip_on_windows, requires_pyright] + +CODE = """ +import strawberry + +async def get_user_age() -> int: + return 0 + + +@strawberry.type +class User: + name: str + age: int = strawberry.field(resolver=get_user_age) + + +User(name="Patrick") +User(n="Patrick") + +reveal_type(User) +reveal_type(User.__init__) +""" + + +def test_pyright(): + results = run_pyright(CODE) + + assert results == [ + Result( + type="error", + message='No parameter named "n" (reportGeneralTypeIssues)', + line=15, + column=6, + ), + Result( + type="error", + message='Argument missing for parameter "name" (reportGeneralTypeIssues)', + line=15, + column=1, + ), + Result( + type="information", + message='Type of "User" is "Type[User]"', + line=17, + column=13, + ), + Result( + type="information", + message='Type of "User.__init__" is "(self: User, *, name: str) -> None"', + line=18, + column=13, + ), + ]
inventree__InvenTree-1525
[BUG] no attribute MPN # System Version: 0.2.2 pre Commit-Date: 2021-04-27 Commit-Hash: 4d2e23f Plattform: Win H2 - WSL2 Debian Buster Deployment Method: runserver # Steps to reproduce - open supplier part - add price break (button) - enter data (does not matter, in my case: number 1, price 1) -> results in 'Internal Server Error' Error Code 500 # Message AttributeError at /price-break/new/ 'SupplierPart' object has no attribute 'MPN'
[ { "content": "\"\"\"\nCompany database model definitions\n\"\"\"\n\n# -*- coding: utf-8 -*-\nfrom __future__ import unicode_literals\n\nimport os\n\nimport math\n\nfrom django.utils.translation import ugettext_lazy as _\nfrom django.core.validators import MinValueValidator\nfrom django.core.exceptions import Va...
[ { "content": "\"\"\"\nCompany database model definitions\n\"\"\"\n\n# -*- coding: utf-8 -*-\nfrom __future__ import unicode_literals\n\nimport os\n\nimport math\n\nfrom django.utils.translation import ugettext_lazy as _\nfrom django.core.validators import MinValueValidator\nfrom django.core.exceptions import Va...
diff --git a/InvenTree/company/models.py b/InvenTree/company/models.py index 3ea50b162219..c743bf44343c 100644 --- a/InvenTree/company/models.py +++ b/InvenTree/company/models.py @@ -675,4 +675,4 @@ class Meta: db_table = 'part_supplierpricebreak' def __str__(self): - return f'{self.part.MPN} - {self.price} @ {self.quantity}' + return f'{self.part.SKU} - {self.price} @ {self.quantity}'