diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 000000000..749973351 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,5 @@ +# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/displaying-a-sponsor-button-in-your-repository + +github: wger-project +liberapay: wger +custom: https://www.buymeacoffee.com/wger diff --git a/.github/workflows/angular-ci.yml b/.github/workflows/angular-ci.yml index bec6626b5..20ac7db42 100644 --- a/.github/workflows/angular-ci.yml +++ b/.github/workflows/angular-ci.yml @@ -1,12 +1,15 @@ name: Continous Integration (Angular) -on: push +on: + push: + paths: + - '**.ts' jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Use Node.js 14.x - uses: actions/setup-node@v2.4.0 + uses: actions/setup-node@v2.4.1 with: node-version: 14.x diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 74334fdcf..c16e843c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,14 @@ name: Continous Integration -on: [pull_request, push] +on: + push: + paths: + - '**.py' + - 'requirements.txt' + pull_request: + paths: + - '**.py' + - 'requirements.txt' jobs: ci-job: @@ -8,7 +16,7 @@ jobs: strategy: max-parallel: 3 matrix: - python-version: [ 3.8, 3.9, pypy3 ] + python-version: [ '3.8', '3.9', '3.10', pypy3 ] name: CI job (python ${{ matrix.python-version }}) services: diff --git a/.github/workflows/docker-base.yml b/.github/workflows/docker-base.yml index 4cc4c644f..27bfca414 100644 --- a/.github/workflows/docker-base.yml +++ b/.github/workflows/docker-base.yml @@ -1,8 +1,10 @@ name: Build and push base Docker images -on: - schedule: - - cron: '0 5 1 * *' +on: workflow_dispatch + +# on: +# schedule: +# - cron: '0 5 1 * *' jobs: path-context: @@ -27,6 +29,7 @@ jobs: uses: docker/build-push-action@v2.7.0 with: context: . - file: extras/docker/base/Dockerfile push: true + file: extras/docker/base/Dockerfile + platforms: linux/amd64,linux/arm64 tags: wger/base:latest,wger/base:2.1-dev diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 12c24e426..840c55a4f 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -28,14 +28,16 @@ jobs: uses: docker/build-push-action@v2.7.0 with: context: . - file: extras/docker/apache/Dockerfile push: true - tags: wger/apache:latest,wger/apache:2.1-dev + file: extras/docker/demo/Dockerfile + platforms: linux/amd64,linux/arm64 + tags: wger/demo:latest,wger/demo:2.1-dev,wger/apache:latest,wger/apache:2.1-dev - name: Build dev image uses: docker/build-push-action@v2.7.0 with: context: . - file: extras/docker/development/Dockerfile push: true - tags: wger/devel:latest,wger/devel:2.1-dev + file: extras/docker/development/Dockerfile + platforms: linux/amd64,linux/arm64 + tags: wger/server:latest,wger/server:2.1-dev,wger/devel:latest,wger/devel:2.1-dev diff --git a/.github/workflows/formatter.yml b/.github/workflows/formatter.yml index 6bf11d9b6..583ebe534 100644 --- a/.github/workflows/formatter.yml +++ b/.github/workflows/formatter.yml @@ -4,6 +4,8 @@ on: push: branches: - "master" + paths: + - '**.py' jobs: diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 2601fda1e..5e0e3fd10 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -18,9 +18,13 @@ on: push: branches: - master + paths: + - '**.py' pull_request: branches: - master + paths: + - '**.py' ############### # Set the Job # diff --git a/AUTHORS.rst b/AUTHORS.rst index 4de30c795..8ee23eddd 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -62,6 +62,8 @@ Developers * Leninux - https://github.com/RedRudeBoy * Ayush Kumar - https://github.com/gr8ayu * Gorkem Arslan - https://github.com/gorkemarslan +* Lucas Stone-Drake - https://github.com/LucasSD +* absolutely-not-bot - https://github.com/absolutely-not-bot Translators ----------- diff --git a/README.md b/README.md index 6e37d0f20..5a91afa0b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # wger -wger (ˈvɛɡɐ) Workout Manager is a free, open source web application that help +wger (ˈvɛɡɐ) Workout Manager is a free, open source web application that helps you manage your personal workouts, weight and diet plans and can also be used as a simple gym management utility. It offers a REST API as well, for easy integration with other projects and tools. @@ -40,7 +40,7 @@ compose file. This config will persist your database and uploaded images: If you just want to try it out: ```shell script - docker run -ti --name wger.apache --publish 8000:80 wger/apache + docker run -ti --name wger.demo --publish 8000:80 wger/demo ``` Then just open and log in as **admin**, password **adminadmin** diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 000000000..5a3a384a2 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,10 @@ +# Security Policy + +## Supported Versions + +While we do have versions and releases, wger is developed and deployed like a rolling release. Currently we don't have the resources to support older versions. + + +## Reporting a Vulnerability + +If you found a vulnerability, please mention @rolandgeider in an issue or write an email to roland [at] geider.net. We will try to fix it as fast as we can. diff --git a/angular/package-lock.json b/angular/package-lock.json index 1a0305fe5..9f9fb54d1 100644 --- a/angular/package-lock.json +++ b/angular/package-lock.json @@ -4249,9 +4249,9 @@ "dev": true }, "@types/component-emitter": { - "version": "1.2.10", - "resolved": "https://registry.npmjs.org/@types/component-emitter/-/component-emitter-1.2.10.tgz", - "integrity": "sha512-bsjleuRKWmGqajMerkzox19aGbscQX5rmmvvXl3wlIp5gMG1HgkiwPxsN5p070fBDKTNSPgojVbuY1+HWMbFhg==", + "version": "1.2.11", + "resolved": "https://registry.npmjs.org/@types/component-emitter/-/component-emitter-1.2.11.tgz", + "integrity": "sha512-SRXjM+tfsSlA9VuG8hGO2nft2p8zjXCK1VcC6N4NXbBbYbSia9kzCChYQajIjzIqOOOuh5Ock6MmV2oux4jDZQ==", "dev": true }, "@types/cookie": { @@ -5218,9 +5218,9 @@ } }, "base64-arraybuffer": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.4.tgz", - "integrity": "sha1-mBjHngWbE1X5fgQooBfIOOkLqBI=", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-1.0.1.tgz", + "integrity": "sha512-vFIUq7FdLtjZMhATwDul5RZWv2jpXQ09Pd6jcVEOvIsqCWTRFD/ONHNfyOS8dA/Ippi5dsIgpyKWKZaAKZltbA==", "dev": true }, "base64-js": { @@ -7054,18 +7054,21 @@ } }, "engine.io": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-4.1.1.tgz", - "integrity": "sha512-t2E9wLlssQjGw0nluF6aYyfX8LwYU8Jj0xct+pAhfWfv/YrBn6TSNtEYsgxHIfaMqfrLx07czcMg9bMN6di+3w==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.0.1.tgz", + "integrity": "sha512-Y53UaciUh2Rmx5MiogtMxOQcfh7pnemday+Bb4QDg0Wjmnvo/VTvuEyNGQgYmh8L7VOe8Je1QuiqjLNDelMqLA==", "dev": true, "requires": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", "accepts": "~1.3.4", "base64id": "2.0.0", "cookie": "~0.4.1", "cors": "~2.8.5", "debug": "~4.3.1", - "engine.io-parser": "~4.0.0", - "ws": "~7.4.2" + "engine.io-parser": "~5.0.0", + "ws": "~8.2.3" }, "dependencies": { "cookie": { @@ -7075,20 +7078,20 @@ "dev": true }, "ws": { - "version": "7.4.6", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", - "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==", + "version": "8.2.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.2.3.tgz", + "integrity": "sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA==", "dev": true } } }, "engine.io-parser": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-4.0.2.tgz", - "integrity": "sha512-sHfEQv6nmtJrq6TKuIz5kyEKH/qSdK56H/A+7DnAuUPWosnIZAS2NHNcPLmyjtY3cGS/MqJdZbUjW97JU72iYg==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.0.2.tgz", + "integrity": "sha512-wuiO7qO/OEkPJSFueuATIXtrxF7/6GTbAO9QLv7nnbjwZ5tYhLm9zxvLwxstRs0dcT0KUlWTjtIOs1T86jt12g==", "dev": true, "requires": { - "base64-arraybuffer": "0.1.4" + "base64-arraybuffer": "~1.0.1" } }, "enhanced-resolve": { @@ -9425,9 +9428,9 @@ } }, "jszip": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.6.0.tgz", - "integrity": "sha512-jgnQoG9LKnWO3mnVNBnfhkh0QknICd1FGSrXcgrl67zioyJ4wgx25o9ZqwNtrROSflGBCGYnJfjrIyRIby1OoQ==", + "version": "3.7.1", + "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.7.1.tgz", + "integrity": "sha512-ghL0tz1XG9ZEmRMcEN2vt7xabrDdqHHeykgARpmZ0BiIctWxM47Vt63ZO2dnp4QYt/xJVLLy5Zv1l/xRdh2byg==", "dev": true, "requires": { "lie": "~3.3.0", @@ -9463,9 +9466,9 @@ } }, "karma": { - "version": "6.3.4", - "resolved": "https://registry.npmjs.org/karma/-/karma-6.3.4.tgz", - "integrity": "sha512-hbhRogUYIulfkBTZT7xoPrCYhRBnBoqbbL4fszWD0ReFGUxU+LYBr3dwKdAluaDQ/ynT9/7C+Lf7pPNW4gSx4Q==", + "version": "6.3.8", + "resolved": "https://registry.npmjs.org/karma/-/karma-6.3.8.tgz", + "integrity": "sha512-10wBBU9S0lBHhbCNfmmbWQaY5C1bXlKdnvzN2QKThujCI/+DKaezrI08l6bfTlpJ92VsEboq3zYKpXwK6DOi3A==", "dev": true, "requires": { "body-parser": "^1.19.0", @@ -9486,10 +9489,10 @@ "qjobs": "^1.2.0", "range-parser": "^1.2.1", "rimraf": "^3.0.2", - "socket.io": "^3.1.0", + "socket.io": "^4.2.0", "source-map": "^0.6.1", "tmp": "^0.2.1", - "ua-parser-js": "^0.7.28", + "ua-parser-js": "^0.7.30", "yargs": "^16.1.1" }, "dependencies": { @@ -9529,9 +9532,9 @@ "dev": true }, "glob": { - "version": "7.1.7", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", - "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", "dev": true, "requires": { "fs.realpath": "^1.0.0", @@ -9543,9 +9546,9 @@ } }, "mime": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/mime/-/mime-2.5.2.tgz", - "integrity": "sha512-tqkh47FzKeCPD2PUiPB6pkbMzsCasjxAfC62/Wap5qrUWcb+sFasXUC5I3gYM5iBM8v/Qpn4UK0x+j0iHyFPDg==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", + "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==", "dev": true }, "source-map": { @@ -10597,9 +10600,9 @@ } }, "nth-check": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.0.0.tgz", - "integrity": "sha512-i4sc/Kj8htBrAiH1viZ0TgU8Y5XqCaV/FziYK6TBczxmeKm3AEFWqqF3195yKudrarqy7Zu80Ra5dobFjn9X/Q==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.0.1.tgz", + "integrity": "sha512-it1vE95zF6dTT9lBsYbxvqh0Soy4SPowchj0UBGj/V6cTPnXXtQOPUbhZ6CmGzAD/rW22LQK6E96pcdJXk4A4w==", "dev": true, "requires": { "boolbase": "^1.0.0" @@ -14110,26 +14113,34 @@ } }, "socket.io": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-3.1.2.tgz", - "integrity": "sha512-JubKZnTQ4Z8G4IZWtaAZSiRP3I/inpy8c/Bsx2jrwGrTbKeVU5xd6qkKMHpChYeM3dWZSO0QACiGK+obhBNwYw==", + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.3.2.tgz", + "integrity": "sha512-6S5tV4jcY6dbZ/lLzD6EkvNWI3s81JO6ABP/EpvOlK1NPOcIj3AS4khi6xXw6JlZCASq82HQV4SapfmVMMl2dg==", "dev": true, "requires": { - "@types/cookie": "^0.4.0", - "@types/cors": "^2.8.8", - "@types/node": ">=10.0.0", "accepts": "~1.3.4", "base64id": "~2.0.0", - "debug": "~4.3.1", - "engine.io": "~4.1.0", - "socket.io-adapter": "~2.1.0", - "socket.io-parser": "~4.0.3" + "debug": "~4.3.2", + "engine.io": "~6.0.0", + "socket.io-adapter": "~2.3.2", + "socket.io-parser": "~4.0.4" + }, + "dependencies": { + "debug": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", + "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + } } }, "socket.io-adapter": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-2.1.0.tgz", - "integrity": "sha512-+vDov/aTsLjViYTwS9fPy5pEtTkrbEKsw2M+oVSoFGw6OD1IpvlV1VPhUzNbofCQ8oyMbdYJqDtGdmHQK6TdPg==", + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-2.3.2.tgz", + "integrity": "sha512-PBZpxUPYjmoogY0aoaTmo1643JelsaS1CiAwNjRVdrI0X9Seuc19Y2Wife8k88avW6haG8cznvwbubAZwH4Mtg==", "dev": true }, "socket.io-parser": { @@ -14847,15 +14858,15 @@ } }, "typescript": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.2.tgz", - "integrity": "sha512-gzP+t5W4hdy4c+68bfcv0t400HVJMMd2+H9B7gae1nQlBzCqvrXX+6GL/b3GAgyTH966pzrZ70/fRjwAtZksSQ==", + "version": "4.4.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.4.tgz", + "integrity": "sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA==", "dev": true }, "ua-parser-js": { - "version": "0.7.28", - "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.28.tgz", - "integrity": "sha512-6Gurc1n//gjp9eQNXjD9O3M/sMwVtN5S8Lv9bvOYBfKfDNiIIhqiyi01vMBO45u4zkDE420w/e0se7Vs+sIg+g==", + "version": "0.7.31", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.31.tgz", + "integrity": "sha512-qLK/Xe9E2uzmYI3qLeOmI0tEOt+TBBQyUIAh4aAgU05FVYzeZrKUdkAZfBNVGRaHVgV0TDkdEngJSw/SyQchkQ==", "dev": true }, "unicode-canonical-property-names-ecmascript": { diff --git a/angular/package.json b/angular/package.json index fff7d6e0e..fafd47314 100644 --- a/angular/package.json +++ b/angular/package.json @@ -44,7 +44,7 @@ "eslint": "^7.32.0", "jasmine-core": "~3.9.0", "jasmine-spec-reporter": "~7.0.0", - "karma": "~6.3.4", + "karma": "~6.3.8", "karma-chrome-launcher": "~3.1.0", "karma-coverage": "~2.0.3", "karma-jasmine": "~4.0.0", diff --git a/angular/src/locale/messages.es.xlf b/angular/src/locale/messages.es.xlf new file mode 100644 index 000000000..7b072ecd1 --- /dev/null +++ b/angular/src/locale/messages.es.xlf @@ -0,0 +1,372 @@ + + + + + + Close + Cerrar + + node_modules/@ng-bootstrap/src/alert/alert.ts + 58,61 + + + + Slide of + Diapositiva de + + node_modules/@ng-bootstrap/src/carousel/carousel.ts + 114,118 + + Currently selected slide number read by screen reader + + + Previous + Anterior + + node_modules/@ng-bootstrap/src/carousel/carousel.ts + 132,134 + + + + Next + Siguiente + + node_modules/@ng-bootstrap/src/carousel/carousel.ts + 147,152 + + + + Select month + Seleccionar mes + + node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation-select.ts + 44,49 + + + node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation-select.ts + 49,50 + + + + Select year + Seleccionar año + + node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation-select.ts + 59,63 + + + node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation-select.ts + 74 + + + + Previous month + Mes anterior + + node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation.ts + 24,27 + + + node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation.ts + 35,36 + + + + Next month + Mes siguiente + + node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation.ts + 47,50 + + + node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation.ts + 60,64 + + + + «« + «« + + node_modules/@ng-bootstrap/src/pagination/pagination.ts + 182,183 + + + + « + « + + node_modules/@ng-bootstrap/src/pagination/pagination.ts + 186,190 + + + + » + » + + node_modules/@ng-bootstrap/src/pagination/pagination.ts + 194,195 + + + + »» + »» + + node_modules/@ng-bootstrap/src/pagination/pagination.ts + 201,204 + + + + First + Primero + + node_modules/@ng-bootstrap/src/pagination/pagination.ts + 208,209 + + + + Previous + Anterior + + node_modules/@ng-bootstrap/src/pagination/pagination.ts + 215,216 + + + + Next + Siguiente + + node_modules/@ng-bootstrap/src/pagination/pagination.ts + 226,228 + + + + Last + Último + + node_modules/@ng-bootstrap/src/pagination/pagination.ts + 232,233 + + + + + + + node_modules/@ng-bootstrap/src/progressbar/progressbar.ts + 32,38 + + + + HH + HH + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 40,41 + + + + Hours + Horas + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 46,47 + + + + MM + MM + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 51,54 + + + + Minutes + Minutos + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 58,59 + + + + Increment hours + Incrementar horas + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 63,64 + + + + Decrement hours + Reducir horas + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 69,70 + + + + Increment minutes + Incrementar minutos + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 76,78 + + + + Decrement minutes + Reducir minutos + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 82,84 + + + + SS + SS + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 87,88 + + + + Seconds + Segundos + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 92,93 + + + + Increment seconds + Incrementar segundos + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 100,101 + + + + Decrement seconds + Reducir segundos + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 106,110 + + + + + + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 115,121 + + + + + + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 123,131 + + + + Close + Cerrar + + node_modules/@ng-bootstrap/src/toast/toast.ts + 78,85 + + + + Add entry + Añadir entrada + + src/app/weight/weight-chart/weight-chart.component.html + 25 + + + + Close + Cerrar + + src/app/weight/weight-chart/weight-chart.component.html + 34 + + + + Weight + Peso + + src/app/weight/weight-chart/weight-chart.component.ts + 64 + + + src/app/weight/weight-edit/weight-edit.component.html + 14 + + + src/app/weight/weight-list/weight-list.component.html + 13 + + + + Edit + Editar + + src/app/weight/weight-detail/weight-detail.component.html + 27 + + + + Delete + Borrar + + src/app/weight/weight-detail/weight-detail.component.html + 28 + + + + Date + Fecha + + src/app/weight/weight-edit/weight-edit.component.html + 5 + + + src/app/weight/weight-list/weight-list.component.html + 12 + + + + Save + Guardar + + src/app/weight/weight-edit/weight-edit.component.html + 26 + + + + Cancel + Cancelar + + src/app/weight/weight-edit/weight-edit.component.html + 31 + + + + Change + Cambio + + src/app/weight/weight-list/weight-list.component.html + 14 + + + + Days + Días + + src/app/weight/weight-list/weight-list.component.html + 15 + + + + + diff --git a/angular/src/locale/messages.hr.xlf b/angular/src/locale/messages.hr.xlf new file mode 100644 index 000000000..4d9447d49 --- /dev/null +++ b/angular/src/locale/messages.hr.xlf @@ -0,0 +1,372 @@ + + + + + + Close + Zatvori + + node_modules/@ng-bootstrap/src/alert/alert.ts + 58,61 + + + + Slide of + Slika od + + node_modules/@ng-bootstrap/src/carousel/carousel.ts + 114,118 + + Currently selected slide number read by screen reader + + + Previous + Prethodna + + node_modules/@ng-bootstrap/src/carousel/carousel.ts + 132,134 + + + + Next + Sljedeća + + node_modules/@ng-bootstrap/src/carousel/carousel.ts + 147,152 + + + + Select month + Odaberi mjesec + + node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation-select.ts + 44,49 + + + node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation-select.ts + 49,50 + + + + Select year + Odaberi godinu + + node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation-select.ts + 59,63 + + + node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation-select.ts + 74 + + + + Previous month + Prethodni mjesec + + node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation.ts + 24,27 + + + node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation.ts + 35,36 + + + + Next month + Sljedeći mjesec + + node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation.ts + 47,50 + + + node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation.ts + 60,64 + + + + «« + «« + + node_modules/@ng-bootstrap/src/pagination/pagination.ts + 182,183 + + + + « + « + + node_modules/@ng-bootstrap/src/pagination/pagination.ts + 186,190 + + + + » + » + + node_modules/@ng-bootstrap/src/pagination/pagination.ts + 194,195 + + + + »» + »» + + node_modules/@ng-bootstrap/src/pagination/pagination.ts + 201,204 + + + + First + Prva + + node_modules/@ng-bootstrap/src/pagination/pagination.ts + 208,209 + + + + Previous + Prethodna + + node_modules/@ng-bootstrap/src/pagination/pagination.ts + 215,216 + + + + Next + Sljedeća + + node_modules/@ng-bootstrap/src/pagination/pagination.ts + 226,228 + + + + Last + Zadnja + + node_modules/@ng-bootstrap/src/pagination/pagination.ts + 232,233 + + + + + + + node_modules/@ng-bootstrap/src/progressbar/progressbar.ts + 32,38 + + + + HH + HH + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 40,41 + + + + Hours + Sati + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 46,47 + + + + MM + MM + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 51,54 + + + + Minutes + Minute + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 58,59 + + + + Increment hours + Povećaj sate + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 63,64 + + + + Decrement hours + Smanji sate + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 69,70 + + + + Increment minutes + Povećaj minute + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 76,78 + + + + Decrement minutes + Smanji minute + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 82,84 + + + + SS + SS + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 87,88 + + + + Seconds + Sekunde + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 92,93 + + + + Increment seconds + Povećaj sekunde + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 100,101 + + + + Decrement seconds + Smanji sekunde + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 106,110 + + + + + + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 115,121 + + + + + + + node_modules/@ng-bootstrap/src/timepicker/timepicker.ts + 123,131 + + + + Close + Zatvori + + node_modules/@ng-bootstrap/src/toast/toast.ts + 78,85 + + + + Add entry + Dodaj unos + + src/app/weight/weight-chart/weight-chart.component.html + 25 + + + + Close + Zatvori + + src/app/weight/weight-chart/weight-chart.component.html + 34 + + + + Weight + Težina + + src/app/weight/weight-chart/weight-chart.component.ts + 64 + + + src/app/weight/weight-edit/weight-edit.component.html + 14 + + + src/app/weight/weight-list/weight-list.component.html + 13 + + + + Edit + Uredi + + src/app/weight/weight-detail/weight-detail.component.html + 27 + + + + Delete + Izbriši + + src/app/weight/weight-detail/weight-detail.component.html + 28 + + + + Date + Datum + + src/app/weight/weight-edit/weight-edit.component.html + 5 + + + src/app/weight/weight-list/weight-list.component.html + 12 + + + + Save + Spremi + + src/app/weight/weight-edit/weight-edit.component.html + 26 + + + + Cancel + Odustani + + src/app/weight/weight-edit/weight-edit.component.html + 31 + + + + Change + Promijeni + + src/app/weight/weight-list/weight-list.component.html + 14 + + + + Days + Dani + + src/app/weight/weight-list/weight-list.component.html + 15 + + + + + diff --git a/docs/changelog.rst b/docs/changelog.rst index 60870176f..945dedbdb 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -18,7 +18,8 @@ Upgrade steps from 2.0: * Add templates / centrally managed workouts (thanks `@qwert45hi`_) `#639`_ * Add comment filed to set for user notes `#702`_ * Custom measurements such as biceps size or body fat `#133`_ - +* Add picture type to exercise images (thanks `@LucasSD`_) `#589`_ +* Add toptional relation from nutritional diary to meal (thanks `@Alig1493`_) `#819`_ 🐛 Bug Fixes: @@ -30,22 +31,31 @@ Upgrade steps from 2.0: + /exerciseimage/ - ``exercise`` was renamed to ``exercise_base`` (was pointing there anyway) + - New field ``style`` + /workout/ - ``comment`` was renamed to name - field ``description`` was added, for longer descriptions + /set/ - field ``comment`` added, for user notes + + /nutritiondiary/ + - field ``meal`` added, optional reference to meal + + /min-app-version/ + - New endpoint indicating minimum required version for flutter app * `#666`_, `#667`_, `#656`_ (thanks `@jackmulligan-ire`_), `#716`_ .. _#133: https://github.com/wger-project/wger/issues/133 .. _#572: https://github.com/wger-project/wger/issues/572 +.. _#589: https://github.com/wger-project/wger/issues/589 .. _#639: https://github.com/wger-project/wger/issues/639 .. _#656: https://github.com/wger-project/wger/issues/656 .. _#666: https://github.com/wger-project/wger/issues/666 .. _#667: https://github.com/wger-project/wger/issues/667 .. _#702: https://github.com/wger-project/wger/issues/702 .. _#716: https://github.com/wger-project/wger/issues/716 +.. _#819: https://github.com/wger-project/wger/issues/819 +.. _@Alig1493: https://github.com/Alig1493 +.. _@LucasSD: https://github.com/LucasSD .. _@qwert45hi: https://github.com/qwert45hi .. _@jackmulligan-ire: https://github.com/jackmulligan-ire diff --git a/docs/docker.rst b/docs/docker.rst index c2298603c..890e1afe3 100644 --- a/docs/docker.rst +++ b/docs/docker.rst @@ -7,22 +7,23 @@ them yourself. Note that you need to build from the project's source folder, e.g:: - docker build -f extras/docker/development/Dockerfile -t wger/devel . - docker build -f extras/docker/apache/Dockerfile --tag wger/apache . + docker build -f extras/docker/development/Dockerfile -t wger/server . + docker build -f extras/docker/demo/Dockerfile --tag wger/demo . -Apache ------- +Demo +---- -This image runs the application using WSGI and apache. +Self contained demo image Get the image:: - docker pull wger/apache + docker pull wger/demo Run a container and start the application:: - docker run -ti --name wger.apache --publish 8000:80 wger/apache + docker run -ti --name wger.demo --publish 8000:80 wger/demo + Then just open http://localhost:8000 and log in as: **admin**, password **adminadmin** @@ -35,11 +36,11 @@ and serves it with Django's development server. Get the image:: - docker pull wger/devel + docker pull wger/server Run a container and start the application:: - docker run -ti --name wger.devel --publish 8000:8000 wger/devel + docker run -ti --name wger.dev --publish 8000:8000 wger/server (in docker) source ~/venv/bin/activate (in docker) python manage.py runserver 0.0.0.0:8000 @@ -53,7 +54,7 @@ your host machine and use docker only to serve it. Then do this:: --name wger.test1 \ --publish 8005:8000 \ --volume /path/to/local/wger/:/home/wger/src \ - wger/devel + wger/server It will mount the local path *on top* of the folder in the container. For this to work you obviously need to manually checkout the code to ``/path/to/local/wger/`` diff --git a/extras/bench/README.txt b/extras/bench/README.txt deleted file mode 100644 index 0919aa55e..000000000 --- a/extras/bench/README.txt +++ /dev/null @@ -1,41 +0,0 @@ -==================== -Simple funkLoad test -==================== - -This is a simple funkLoad testcase. - -You need to install funkload (can be done e.g. with pip) and gnuplot (via your -package manager) if you want to create plots. It requires a running web test -server (you can edit which one in the .conf file) - -WARNING: You should *not* run this script against a server that is not under -your responsibility as it can result a DOS in bench mode. - -For more information on configuration, options, etc. refer to the funkload -documentation page: http://funkload.nuxeo.org - - - -Instruction ------------ - -1/ Bench it - - Bench it with few cycles:: - - fl-run-bench test_Simple.py Simple.test_simple - - Note that for correct interpretation you should run the FunkLoad bencher - in a different host than the server, the server should be 100% dedicated - to the application. - - If you want to bench with more than 200 users, you need to reduce the - default stack size used by a thread, for example try a `ulimit -s 2048` - before running the bench. - - Performance limits are hit by FunkLoad before apache's limit is reached, - since it uses significant CPU resources. - -2/ Build the report:: - - fl-build-report --html simple-bench.xml diff --git a/extras/bench/Simple.conf b/extras/bench/Simple.conf deleted file mode 100644 index 6fe610dca..000000000 --- a/extras/bench/Simple.conf +++ /dev/null @@ -1,52 +0,0 @@ -# FunkLoad test configuration file - -# ------------------------------------------------------------ -# Main section -# -[main] -title=Simple FunkLoad tests -description=Simply testing a default static page - -# the server to test -url=http://localhost:8000 - - -# ------------------------------------------------------------ -# Tests description and configuration -# -[test_simple] -description=Access some pages - - -# ------------------------------------------------------------ -# Configuration for bench mode fl-run-bench -# -[bench] - -# cycles = list of cycles with their number of concurrent users -cycles = 1:5:10:15:20:30 - -# duration = duration of a cycle in seconds -duration = 10 - -# startup_delay = time to wait between starting-up threads in seconds -startup_delay = 0.01 - -# sleep_time = time to wait between test in seconds -sleep_time = 0.01 - -# cycle_time = time to wait between cycle in seconds -cycle_time = 1 - -# same keys than in [ftest] section -log_to = -log_path = simple-bench.log -result_path = simple-bench.xml -#ok_codes = 200:301:302 -sleep_time_min = 0 -sleep_time_max = 0.5 - -[distribute] -log_path = log-distributed -funkload_location=http://pypi.python.org/packages/source/f/funkload/funkload-1.16.1.tar.gz - diff --git a/extras/bench/test_Simple.py b/extras/bench/test_Simple.py deleted file mode 100644 index 08e1d13ba..000000000 --- a/extras/bench/test_Simple.py +++ /dev/null @@ -1,36 +0,0 @@ -# -*- coding: utf-8 -*- - -""" -Simple FunkLoad test -""" -import unittest -from random import random -from funkload.FunkLoadTestCase import FunkLoadTestCase - -class Simple(FunkLoadTestCase): - """ - This test uses the configuration file Simple.conf. - """ - - def setUp(self): - """ - Setting up test. - """ - self.server_url = self.conf_get('main', 'url') - - def test_simple(self): - # The description should be set in the configuration file - server_url = self.server_url - - # Exercises - self.get(server_url + '/en/exercise/overview/', description='Get exercise overview') - self.get(server_url + '/en/exercise/muscle/overview/', description='Get muscle overview') - self.get(server_url + '/de/exercise/79/view/', description='Get exercise page') - - # Nutrition - self.get(server_url + '/de/nutrition/ingredient/overview/', description='Get ingredient overview') - self.get(server_url + '/de/nutrition/ingredient/8304/view/4-korn-waffeln/', description='Get ingredient page') - - -if __name__ in ('main', '__main__'): - unittest.main() diff --git a/extras/docker/base/README.md b/extras/docker/base/README.md index dcbc31105..d6b98d66c 100644 --- a/extras/docker/base/README.md +++ b/extras/docker/base/README.md @@ -3,7 +3,7 @@ Development image for wger - Base image This is the base image for some of the other wger images and offers no functionality, it's only use is to provide some common dependencies. -If you want to develop, try ``wger/devel``. +If you want to develop, try ``wger/server``. Contact diff --git a/extras/docker/compose/README.md b/extras/docker/compose/README.md index 8625a7df3..ac0072e6d 100644 --- a/extras/docker/compose/README.md +++ b/extras/docker/compose/README.md @@ -12,7 +12,7 @@ as well, for easy integration with other projects and tools. This docker-compose file starts up a development environment with django's development server, postgres as a database and redis for caching and saving the sessions. It binds your current code checkout into the volume, if you -don't want or have one, use the `wger/apache` image, it is self-contained. +don't want or have one, use the `wger/demo` image, it is self-contained. ### 1 - Start all services @@ -65,7 +65,7 @@ the file to re-run migrations, etc. ## Building If you want to build this yourself, keep in mind that you **must** build from the -project root. Make sure the wger/devel image is available locally as well: +project root. Make sure the wger/server image is available locally as well: docker-compose -f extras/docker/compose/docker-compose.yml build. diff --git a/extras/docker/compose/docker-compose.yml b/extras/docker/compose/docker-compose.yml index ad98e823f..9a69fc122 100644 --- a/extras/docker/compose/docker-compose.yml +++ b/extras/docker/compose/docker-compose.yml @@ -2,14 +2,14 @@ version: '3.7' services: web: - image: wger/devel:2.1-dev + image: wger/server:latest volumes: - type: bind source: ../../../ target: /home/wger/src/ - media:/home/wger/media ports: - - 8000:8000 + - "8000:8000" env_file: - ./dev.env depends_on: diff --git a/extras/docker/apache/Dockerfile b/extras/docker/demo/Dockerfile similarity index 94% rename from extras/docker/apache/Dockerfile rename to extras/docker/demo/Dockerfile index f366dec7f..bba8f8935 100644 --- a/extras/docker/apache/Dockerfile +++ b/extras/docker/demo/Dockerfile @@ -2,10 +2,10 @@ # A wger installation under apache with WSGI # # Note: you MUST build this image from the project's root! -# docker build -f extras/docker/apache/Dockerfile --tag wger/apache . +# docker build -f extras/docker/demo/Dockerfile --tag wger/demo . # # Please consult the documentation for usage -# docker run -ti --name wger.apache --publish 8000:80 wger/apache +# docker run -ti --name wger.demo --publish 8000:80 wger/demo # # To stop the container: # sudo docker container stop wger.apache @@ -40,7 +40,7 @@ RUN pip3 wheel --no-cache-dir --wheel-dir /usr/src/app/wheels -r requirements_de FROM wger/base:2.1-dev LABEL maintainer="Roland Geider " -ARG DOCKER_DIR=./extras/docker/apache +ARG DOCKER_DIR=./extras/docker/demo EXPOSE 80 diff --git a/extras/docker/apache/README.md b/extras/docker/demo/README.md similarity index 94% rename from extras/docker/apache/README.md rename to extras/docker/demo/README.md index 56fa2225e..67b81a967 100644 --- a/extras/docker/apache/README.md +++ b/extras/docker/demo/README.md @@ -21,7 +21,7 @@ process under apache with a sqlite database. It is useful to just try it out and play around. To start it: -```docker run -ti --name wger.apache --publish 8000:80 wger/apache``` +```docker run -ti --name wger.demo --publish 8000:80 wger/demo``` Then just open and log in as: **admin**, password **adminadmin** @@ -40,7 +40,7 @@ Building If you build this yourself, keep in mind that you **must** build from the project root! -```docker build -f extras/docker/apache/Dockerfile --tag wger/apache .``` +```docker build -f extras/docker/demo/Dockerfile --tag wger/demo .``` Contact diff --git a/extras/docker/apache/crontab b/extras/docker/demo/crontab similarity index 100% rename from extras/docker/apache/crontab rename to extras/docker/demo/crontab diff --git a/extras/docker/apache/entrypoint.sh b/extras/docker/demo/entrypoint.sh old mode 100755 new mode 100644 similarity index 100% rename from extras/docker/apache/entrypoint.sh rename to extras/docker/demo/entrypoint.sh diff --git a/extras/docker/apache/venvwrapper b/extras/docker/demo/venvwrapper similarity index 100% rename from extras/docker/apache/venvwrapper rename to extras/docker/demo/venvwrapper diff --git a/extras/docker/apache/wger.conf b/extras/docker/demo/wger.conf similarity index 100% rename from extras/docker/apache/wger.conf rename to extras/docker/demo/wger.conf diff --git a/extras/docker/development-venv/Dockerfile b/extras/docker/development-venv/Dockerfile deleted file mode 100644 index 11a7bc657..000000000 --- a/extras/docker/development-venv/Dockerfile +++ /dev/null @@ -1,78 +0,0 @@ -# -# Docker image for wger development: -# -# This image uses a virtual environment, which is not necessary in a docker -# image and is more or less intended to check that the installation instructions -# for a local development are up-to-date -# -# Please consult the documentation for usage -# -# Note: you MUST build this image from the project's root! -# docker build -f extras/docker/development/Dockerfile --tag wger/devel . -# -# Run the container: -# docker run -ti --publish 8000:8000 --name wger.devel wger/devel -# (in docker) source ~/venv/bin/activate -# (in docker) python manage.py download-exercise-images (optional, may take some time) -# (in docker) wger load-online-fixtures (optional, may take some time) -# (in docker) python manage.py runserver 0.0.0.0:8000 -# -# Alternatively, you can bind the local checkout into the container: -# docker run -ti -v /path/to/this/checkout:/home/wger/src --name wger.devel --publish 8000:8000 wger/devel -# -# -# To stop the container: -# sudo docker container stop wger.devel -# -# To start developing again -# sudo docker container start --attach wger.devel -# - -########## -# Builder -########## -FROM ubuntu:21.04 as builder - -RUN apt-get update \ - && apt-get install --no-install-recommends -y \ - build-essential \ - python3-dev \ - python3-pip \ - git \ - && rm -rf /var/lib/apt/lists/* - -# Set up the application -COPY . . -RUN pip3 install wheel \ - && pip3 wheel --no-cache-dir --wheel-dir /usr/src/app/wheels -r requirements_dev.txt - - -######## -# Final -######## -FROM wger/base:2.0-dev -LABEL maintainer="Roland Geider " -ARG DOCKER_DIR=./extras/docker/development -EXPOSE 8000 - -# Set up the application -USER wger -COPY --chown=wger:wger . /home/wger/src -COPY --from=builder /usr/src/app/wheels /wheels -#RUN git clone https://github.com/wger-project/wger.git /home/wger/src - -WORKDIR /home/wger/src -RUN python3 -m venv /home/wger/venv -RUN . /home/wger/venv/bin/activate \ - && pip install --upgrade pip \ - && pip install --no-cache /wheels/* \ - && python setup.py develop \ - && wger create-settings --database-path /home/wger/db/database.sqlite \ - && wger bootstrap \ - && wger load-online-fixtures - -# Download the exercise images -RUN mkdir ~/media \ - && sed -i "/^MEDIA_ROOT/c\MEDIA_ROOT='\/home\/wger\/media'" settings.py - -CMD ["/bin/bash"] diff --git a/extras/docker/development/Dockerfile b/extras/docker/development/Dockerfile index fa97c6564..278c29010 100644 --- a/extras/docker/development/Dockerfile +++ b/extras/docker/development/Dockerfile @@ -4,10 +4,10 @@ # Please consult the README for usage # # Note: you MUST build this image from the project's root! -# docker build -f extras/docker/development/Dockerfile --tag wger/devel . +# docker build -f extras/docker/development/Dockerfile --tag wger/server . # # Run the container: -# docker run -ti -v /path/to/this/checkout:/home/wger/src --name wger.devel --publish 8000:8000 wger/devel +# docker run -ti -v /path/to/this/checkout:/home/wger/src --name wger.dev --publish 8000:8000 wger/server ########## # Builder diff --git a/extras/docker/development/README.md b/extras/docker/development/README.md index ac06f1d45..1c4623bdc 100644 --- a/extras/docker/development/README.md +++ b/extras/docker/development/README.md @@ -15,7 +15,7 @@ host your own instance, take a look at the provided docker compose file: This docker image is meant to provide a quick development environment using django's development server and an sqlite database from your current code -checkout (if you don't want or need a local checkout, use the wger/apache image, +checkout (if you don't want or need a local checkout, use the wger/demo image, it is self-contained). A more comfortable development version is provided in the compose folder. @@ -26,7 +26,7 @@ A more comfortable development version is provided in the compose folder. docker run -ti \ -v /path/to/your/wger/checkout:/home/wger/src \ --name wger.devel \ - --publish 8000:8000 wger/devel + --publish 8000:8000 wger/server When developing with windows, you might have problems with the `--volume` option, use the more verbose mount instead: @@ -63,7 +63,7 @@ If you need to update the CSS/JS libraries or just issue some other command: If you build this yourself, keep in mind that you **must** build from the project root! -```docker build -f extras/docker/development/Dockerfile --tag wger/devel .``` +```docker build -f extras/docker/development/Dockerfile --tag wger/server .``` ## Contact diff --git a/extras/scripts/create_ingredients_from_foodfacts.py b/extras/scripts/create_ingredients_from_foodfacts.py index 38335545f..50af0dfee 100644 --- a/extras/scripts/create_ingredients_from_foodfacts.py +++ b/extras/scripts/create_ingredients_from_foodfacts.py @@ -11,6 +11,8 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU Affero General Public License +import enum +from enum import Enum from pymongo import MongoClient import os @@ -30,13 +32,17 @@ from wger.core.models import Language # noqa: E402 Simple script that imports and loads the Open Food Facts database into the ingredients database. -NOTE: The file is VERY large (17 GB), so it takes a long time (> 3 hours) to run -and create all ingredients. +NOTE: The file is VERY large (17 GB), so it takes a long time (> 3 hours) to +import the data and create all the ingredients. * Requirements: -pip3 install pymongo zip -apt-get install mongo-tools # (for mongorestore) +(note that the local mongo version needs to be compatible with the one used to + create the dump, otherwise the indices won't be compatible, it is best to use + a newer version than the one found in the ubuntu/debian repos) + +pip3 install pymongo +apt-get install mongo-tools zip * Steps: wget https://static.openfoodfacts.org/data/openfoodfacts-mongodbdump.tar.gz @@ -62,7 +68,7 @@ rm -r dump # Update ingredient fixture python3 manage.py dumpdata nutrition.ingredient > extras/scripts/data.json cd extras/scripts/ -python3 python3 filter-fixtures.py +python3 filter-fixtures.py zip ingredients.json.zip ingredients.json """ @@ -70,11 +76,17 @@ zip ingredients.json.zip ingredients.json client = MongoClient('mongodb://off:off-wger@127.0.0.1', port=27017) db = client.admin + # Mode for this script. When using 'insert', the script will bulk-insert the new # ingredients, which is very efficient. Importing the whole database will require # barely a minute. When using 'update', existing ingredients will be updated, which # requires two queries per product. -MODE = 'insert' +class Mode(Enum): + INSERT = enum.auto() + UPDATE = enum.auto() + + +MODE = Mode.INSERT languages = {i[0]: Language.objects.get(short_name=i[0]) for i in settings.LANGUAGES} @@ -89,17 +101,24 @@ stats = {'new': 0, # total = db.products.count_documents({'lang': lang}) # print(f'Lang {lang} has {count} completed products out of {total}') -# Lang de has 15667 completed products out of 52669 -# Lang es has 8757 completed products out of 186171 -# Lang ru has 505 completed products out of 2918 -# Lang fr has 85058 completed products out of 811715 -# Lang bg has 15 completed products out of 718 -# Lang el has 20 completed products out of 251 -# Lang nl has 750 completed products out of 5611 -# Lang no has 9 completed products out of 141 -# Lang cs has 123 completed products out of 789 -# Lang sv has 1340 completed products out of 2878 -# Lang pt has 526 completed products out of 3541 +# Completeness status of ingredients as of 2021-11-18 +# +# Lang en has 5154 completed products out of 579495 +# Lang de has 8882 completed products out of 90885 +# Lang bg has 16 completed products out of 897 +# Lang es has 6785 completed products out of 236210 +# Lang ru has 481 completed products out of 8729 +# Lang nl has 628 completed products out of 7428 +# Lang pt has 482 completed products out of 5024 +# Lang el has 27 completed products out of 544 +# Lang cs has 154 completed products out of 1451 +# Lang sv has 1234 completed products out of 3459 +# Lang no has 9 completed products out of 155 +# Lang fr has 45358 completed products out of 960096 +# Lang it has 821 completed products out of 118270 +# Lang pl has 2032 completed products out of 4978 +# Lang uk has 4 completed products out of 158 +# Lang tr has 8 completed products out of 425 print('***********************************') print(languages.keys()) @@ -174,7 +193,7 @@ for product in db.products.find({'lang': {"$in": list(languages.keys())}, 'compl } # Add entries as new products - if MODE == 'insert': + if MODE == Mode.INSERT: bulk_update_bucket.append(Ingredient(**ingredient_data)) if len(bulk_update_bucket) > BULK_SIZE: try: @@ -190,8 +209,9 @@ for product in db.products.find({'lang': {"$in": list(languages.keys())}, 'compl ingredient.save() # ¯\_(ツ)_/¯ - except Exception: - pass + except Exception as e: + print('--> Error while saving the product individually') + print(e) stats['new'] += BULK_SIZE bulk_update_bucket = [] @@ -212,7 +232,9 @@ for product in db.products.find({'lang': {"$in": list(languages.keys())}, 'compl stats['edited'] += 1 # print('-> updated') - except: # noqa: E722 + except Exception as e: + print('--> Error while performing update_or_create') + print(e) continue print('***********************************') diff --git a/package.json b/package.json index d081af2db..255c55057 100644 --- a/package.json +++ b/package.json @@ -17,9 +17,9 @@ "homepage": "https://github.com/wger-project/wger", "dependencies": { "Sortable": "RubaXa/Sortable#1.14.0", - "bootstrap": "4.6.0", + "bootstrap": "4.6.1", "components-font-awesome": "5.9.0", - "d3": "^7.0.1", + "d3": "^7.1.1", "datatables": "^1.10.18", "devbridge-autocomplete": "^1.4.11", "jquery": "^3.6.0", @@ -27,8 +27,8 @@ "metrics-graphics": "^2.15.6", "popper.js": "^1.16.1", "shariff": "^3.2.1", - "tinymce": "^5.9.2", - "yarn": "^1.22.11" + "tinymce": "^5.10.2", + "yarn": "^1.22.17" }, "scripts": { "build:css:sass": "sass wger/core/static/scss/main.scss:wger/core/static/yarn/bootstrap-compiled.css", diff --git a/requirements.txt b/requirements.txt index 891adeeff..abca9fb68 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,15 +13,15 @@ django-simple-history~=3.0 django-email-verification~=0.1.0 django_compressor~=2.4 django_extensions~=3.1 -django-storages~=1.11 -easy-thumbnails~=2.7 -icalendar==4.0.7 +django-storages~=1.12 +easy-thumbnails~=2.8 +icalendar==4.0.9 invoke~=1.6 -pillow~=8.3 -reportlab==3.6.1 -requests +pillow~=8.4 +reportlab==3.6.2 +requests==2.26.0 setuptools>=18.5 -sphinx +sphinx==4.3.0 # AWS #boto3 @@ -29,7 +29,7 @@ sphinx # REST API django-cors-headers>=3.0 -django-filter==2.4.0 +django-filter==21.1 djangorestframework~=3.12 @@ -41,4 +41,4 @@ six>=1.12.0 # for django-compressor # Not used anymore, but needed because some modules are imported in DB migration # files -django-sortedm2m~=3.0 +django-sortedm2m~=3.1 diff --git a/requirements_dev.txt b/requirements_dev.txt index f26827b1e..efc84270f 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -6,10 +6,13 @@ -r requirements.txt # Building/installing -wheel +wheel==0.37.0 + +# for ingredient import script from OFF +pymongo==3.12.1 # Development packages -coverage -django-debug-toolbar -tblib -isort +coverage==6.1.2 +django-debug-toolbar==3.2.2 +tblib==1.7.0 +isort==5.10.1 diff --git a/requirements_prod.txt b/requirements_prod.txt index 4a4c88d09..329888341 100644 --- a/requirements_prod.txt +++ b/requirements_prod.txt @@ -6,6 +6,6 @@ -r requirements.txt gunicorn~=20.1 -psycopg2-binary -django-redis +psycopg2-binary==2.9.2 +django-redis==5.0.0 diff --git a/wger/__init__.py b/wger/__init__.py index 716859df6..fe9cc5071 100644 --- a/wger/__init__.py +++ b/wger/__init__.py @@ -5,7 +5,9 @@ :license: GNU GPL, see LICENSE for more details. """ -VERSION = (2, 1, 0, 'alpha', 2) +MIN_APP_VERSION = (1, 3, 0, 'final', 1) + +VERSION = (2, 1, 0, 'alpha', 3) RELEASE = False diff --git a/wger/core/api/views.py b/wger/core/api/views.py index b98e1f288..e2e8efe0f 100644 --- a/wger/core/api/views.py +++ b/wger/core/api/views.py @@ -31,7 +31,10 @@ from rest_framework.permissions import AllowAny from rest_framework.response import Response # wger -from wger import get_version +from wger import ( + MIN_APP_VERSION, + get_version, +) from wger.core.api.permissions import AllowRegisterUser from wger.core.api.serializers import ( DaysOfWeekSerializer, @@ -99,10 +102,22 @@ class ApplicationVersionView(viewsets.ViewSet): """ permission_classes = (AllowAny, ) - def get(self, request): + @staticmethod + def get(request): return Response(get_version()) +class RequiredApplicationVersionView(viewsets.ViewSet): + """ + Returns the minimum required version of flutter app to access this server + """ + permission_classes = (AllowAny, ) + + @staticmethod + def get(request): + return Response(get_version(MIN_APP_VERSION, True)) + + class UserAPILoginView(viewsets.ViewSet): """ API endpoint for api user objects diff --git a/wger/core/static/images/logos/play-store/README.txt b/wger/core/static/images/logos/play-store/README.txt new file mode 100644 index 000000000..441b68e34 --- /dev/null +++ b/wger/core/static/images/logos/play-store/README.txt @@ -0,0 +1 @@ +Google Play and the Google Play logo are trademarks of Google LLC. \ No newline at end of file diff --git a/wger/core/static/images/logos/play-store/google-play-badge.png b/wger/core/static/images/logos/play-store/google-play-badge.png new file mode 100644 index 000000000..c77b7464b Binary files /dev/null and b/wger/core/static/images/logos/play-store/google-play-badge.png differ diff --git a/wger/core/templates/template.html b/wger/core/templates/template.html index 177677e38..4423d2fc4 100644 --- a/wger/core/templates/template.html +++ b/wger/core/templates/template.html @@ -160,58 +160,55 @@ diff --git a/wger/exercises/api/serializers.py b/wger/exercises/api/serializers.py index abd5e544e..cd467b8e9 100644 --- a/wger/exercises/api/serializers.py +++ b/wger/exercises/api/serializers.py @@ -75,6 +75,7 @@ class ExerciseImageSerializer(serializers.ModelSerializer): 'image', 'is_main', 'status', + 'style', ] diff --git a/wger/exercises/forms.py b/wger/exercises/forms.py index adc29ae4b..0db52a2a6 100644 --- a/wger/exercises/forms.py +++ b/wger/exercises/forms.py @@ -33,6 +33,7 @@ class ExerciseImageForm(forms.ModelForm): 'is_main', 'license', 'license_author', + 'style', ) diff --git a/wger/exercises/management/commands/sync-exercises.py b/wger/exercises/management/commands/sync-exercises.py index 4b26a7585..300b7a1aa 100644 --- a/wger/exercises/management/commands/sync-exercises.py +++ b/wger/exercises/management/commands/sync-exercises.py @@ -169,6 +169,14 @@ class Command(BaseCommand): exercise = Exercise.objects.get(uuid=exercise_uuid) exercise.name = exercise_name exercise.description = exercise_description + + # Note: this should not happen and is an unnecessary workaround + # https://github.com/wger-project/wger/issues/840 + if not exercise.exercise_base: + warning = f'Exercise {exercise.uuid} has no base, this should not happen!' \ + f'Skipping...\n' + self.stdout.write(self.style.WARNING(warning)) + continue exercise.exercise_base.category_id = data['category']['id'] exercise.exercise_base.muscles.set(muscles) exercise.exercise_base.muscles_secondary.set(muscles_sec) diff --git a/wger/exercises/migrations/0014_exerciseimage_style.py b/wger/exercises/migrations/0014_exerciseimage_style.py new file mode 100644 index 000000000..91dd36424 --- /dev/null +++ b/wger/exercises/migrations/0014_exerciseimage_style.py @@ -0,0 +1,25 @@ +# Generated by Django 3.2.7 on 2021-09-17 15:38 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('exercises', '0013_auto_20210503_1232'), + ] + + operations = [ + migrations.AddField( + model_name='exerciseimage', + name='style', + field=models.CharField( + choices=[ + ('1', 'Line'), ('2', '3D'), ('3', 'Low-poly'), ('4', 'Photo'), ('5', 'Other') + ], + default='1', + help_text='The art style of your image', + max_length=1 + ), + ), + ] diff --git a/wger/exercises/models/image.py b/wger/exercises/models/image.py index 18c4115f2..9bfd20982 100644 --- a/wger/exercises/models/image.py +++ b/wger/exercises/models/image.py @@ -50,6 +50,19 @@ class ExerciseImage(AbstractSubmissionModel, AbstractLicenseModel, models.Model) objects = SubmissionManager() """Custom manager""" + LINE_ART = '1' + THREE_D = '2' + LOW_POLY = '3' + PHOTO = '4' + OTHER = '5' + STYLE = ( + (LINE_ART, _('Line')), + (THREE_D, _('3D')), + (LOW_POLY, _('Low-poly')), + (PHOTO, _('Photo')), + (OTHER, _('Other')), + ) + uuid = models.UUIDField( default=uuid.uuid4, editable=False, @@ -83,6 +96,14 @@ class ExerciseImage(AbstractSubmissionModel, AbstractLicenseModel, models.Model) ) """A flag indicating whether the image is the exercise's main image""" + style = models.CharField( + help_text=_('The art style of your image'), + max_length=1, + choices=STYLE, + default=PHOTO, + ) + """The art style of the image""" + class Meta: """ Set default ordering @@ -131,12 +152,10 @@ class ExerciseImage(AbstractSubmissionModel, AbstractLicenseModel, models.Model) delete_template_fragment_cache('equipment-overview', language.id) # Make sure there is always a main image - if not ExerciseImage.objects.accepted() \ - .filter(exercise_base=self.exercise_base, is_main=True).count() \ - and ExerciseImage.objects.accepted() \ - .filter(exercise_base=self.exercise_base) \ - .filter(is_main=False) \ - .count(): + if not ExerciseImage.objects.accepted().filter( + exercise_base=self.exercise_base, is_main=True + ).count() and ExerciseImage.objects.accepted().filter(exercise_base=self.exercise_base + ).filter(is_main=False).count(): image = ExerciseImage.objects.accepted() \ .filter(exercise_base=self.exercise_base, is_main=False)[0] diff --git a/wger/exercises/tests/test_exercise_images.py b/wger/exercises/tests/test_exercise_images.py index 7e82e0da2..14115946f 100644 --- a/wger/exercises/tests/test_exercise_images.py +++ b/wger/exercises/tests/test_exercise_images.py @@ -116,7 +116,8 @@ class AddExerciseImageTestCase(WgerAddTestCase): data = { 'is_main': True, 'image': open('wger/exercises/tests/protestschwein.jpg', 'rb'), - 'license': 1 + 'license': 1, + 'style': '1' } @@ -128,7 +129,7 @@ class EditExerciseImageTestCase(WgerEditTestCase): object_class = ExerciseImage url = 'exercise:image:edit' pk = 2 - data = {'is_main': True, 'license': 1} + data = {'is_main': True, 'license': 1, 'style': '1'} class DeleteExerciseImageTestCase(WgerDeleteTestCase): diff --git a/wger/locale/ar_SA/LC_MESSAGES/django.po b/wger/locale/ar_SA/LC_MESSAGES/django.po index fe96941aa..67a64f61c 100644 --- a/wger/locale/ar_SA/LC_MESSAGES/django.po +++ b/wger/locale/ar_SA/LC_MESSAGES/django.po @@ -9,16 +9,17 @@ msgstr "" "Project-Id-Version: wger Workout Manager\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-08-17 17:23+0200\n" -"PO-Revision-Date: 2021-04-11 18:54+0000\n" -"Last-Translator: rge \n" -"Language-Team: Arabic (Saudi Arabia) (http://www.transifex.com/rge/wger-" -"workout-manager/language/ar_SA/)\n" +"PO-Revision-Date: 2021-09-13 21:39+0000\n" +"Last-Translator: My Google \n" +"Language-Team: Arabic (Saudi Arabia) \n" "Language: ar_SA\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=6; plural=(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " -"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5);\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " +"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n" +"X-Generator: Weblate 4.9-dev\n" #: config/models/gym_config.py:46 gym/templates/gym/list.html:50 msgid "Default gym" @@ -29,6 +30,9 @@ msgid "" "Select the default gym for this installation. This will assign all new " "registered users to this gym and update all existing users without a gym." msgstr "" +"حدد الصالة الرياضية الافتراضية لهذا التثبيت. سيؤدي هذا إلى تعيين جميع " +"المستخدمين المسجلين الجدد في هذه الصالة الرياضية وتحديث جميع المستخدمين " +"الحاليين بدون صالة رياضية." #: config/models/language_config.py:41 core/templates/navigation.html:63 #: exercises/templates/exercise/overview.html:11 manager/forms.py:122 @@ -46,7 +50,7 @@ msgstr "اللغات" #: config/templates/language/overview.html:16 msgid "Nothing found." -msgstr "" +msgstr "لم يتم العثور على شيء." #: config/templates/language/overview.html:16 core/templates/index.html:147 #: core/templates/index.html:199 manager/templates/calendar/month.html:132 @@ -58,8 +62,9 @@ msgstr "" #: nutrition/templates/plan/view.html:148 #: nutrition/templates/plan/view.html:151 #: nutrition/templates/plan/view.html:189 +#, fuzzy msgid "Add one now." -msgstr "" +msgstr "أضف واحدة الآن." #: config/templates/language/overview.html:29 #: core/templates/license/list.html:38 core/templates/misc/license/list.html:41 @@ -80,24 +85,27 @@ msgstr "" #: mailer/templates/mailer/gym/overview.html:43 #: weight/templates/overview.html:78 msgid "Add" -msgstr "" +msgstr "اضف" #: config/templates/language/view.html:21 core/models/language.py:29 +#, fuzzy msgid "Language short name" -msgstr "" +msgstr "اسم قصير للغة" #: config/templates/language/view.html:22 #: config/templates/language/view.html:43 core/models/language.py:32 msgid "Language full name" -msgstr "" +msgstr "الاسم الكامل للغة" #: config/templates/language/view.html:34 core/templates/user/overview.html:451 #: gym/views/admin_config.py:44 gym/views/admin_config.py:58 #: gym/views/user_config.py:46 +#, fuzzy msgid "Configuration" -msgstr "" +msgstr "إعدادات" #: config/templates/language/view.html:35 +#, fuzzy msgid "" "Use the configuration to select in what languages the\n" "exercises and ingredients will be shown for the current language (for " @@ -105,10 +113,14 @@ msgid "" "the exercises should be shown in languages A, B and C; the ingredients only\n" "in A)." msgstr "" +"استخدم إعدادات لتحديد اللغات\n" +"سيتم عرض التمارين والمكونات للغة الحالية (على سبيل المثال\n" +"يجب أن تكون التدريبات باللغات أ ، ب ، ج ؛ المكونات فقط\n" +"في اللغة أ )." #: config/templates/language/view.html:44 gym/templates/contract/list.html:36 msgid "Show" -msgstr "" +msgstr "العرض" #: config/templates/language/view.html:91 core/templates/user/api_key.html:44 #: core/templates/user/preferences.html:28 @@ -121,7 +133,7 @@ msgstr "" #: nutrition/templates/ingredient/view.html:226 #: nutrition/templates/plan/view.html:409 weight/templates/overview.html:62 msgid "Options" -msgstr "" +msgstr "الخيارات" #: config/templates/language/view.html:96 config/views/gym_config.py:41 #: config/views/language_config.py:49 core/templates/license/list.html:16 @@ -152,7 +164,7 @@ msgstr "" #: nutrition/templates/plan/view.html:89 nutrition/templates/plan/view.html:124 #: nutrition/templates/units/list.html:18 msgid "Edit" -msgstr "" +msgstr "تعديل" #: config/templates/language/view.html:101 core/forms.py:191 #: core/templates/license/list.html:17 core/templates/misc/license/list.html:20 @@ -181,7 +193,7 @@ msgstr "" #: nutrition/templates/plan/view.html:95 nutrition/templates/plan/view.html:130 #: nutrition/templates/units/list.html:20 msgid "Delete" -msgstr "" +msgstr "حذف" #: core/demo.py:86 msgid "Sample workout" diff --git a/wger/locale/bg/LC_MESSAGES/django.mo b/wger/locale/bg/LC_MESSAGES/django.mo index dad003cee..7e041851a 100644 Binary files a/wger/locale/bg/LC_MESSAGES/django.mo and b/wger/locale/bg/LC_MESSAGES/django.mo differ diff --git a/wger/locale/da/LC_MESSAGES/django.mo b/wger/locale/da/LC_MESSAGES/django.mo index 050c76e8b..a03168dbf 100644 Binary files a/wger/locale/da/LC_MESSAGES/django.mo and b/wger/locale/da/LC_MESSAGES/django.mo differ diff --git a/wger/locale/da/LC_MESSAGES/django.po b/wger/locale/da/LC_MESSAGES/django.po index 80cfe2546..1221473d7 100644 --- a/wger/locale/da/LC_MESSAGES/django.po +++ b/wger/locale/da/LC_MESSAGES/django.po @@ -10,15 +10,15 @@ msgstr "" "Project-Id-Version: wger Workout Manager\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-08-17 17:23+0200\n" -"PO-Revision-Date: 2021-04-11 18:54+0000\n" -"Last-Translator: rge \n" -"Language-Team: Danish (http://www.transifex.com/rge/wger-workout-manager/" -"language/da/)\n" +"PO-Revision-Date: 2021-10-14 06:50+0000\n" +"Last-Translator: Roland Geider \n" +"Language-Team: Danish \n" "Language: da\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" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.9-dev\n" #: config/models/gym_config.py:46 gym/templates/gym/list.html:50 msgid "Default gym" @@ -253,32 +253,30 @@ msgstr "Bruges til kode-nulstilling og, hvis ønsket, påmindelser." #: core/forms.py:102 msgid "Personal data" -msgstr "" +msgstr "Personlige oplysninger" #: core/forms.py:110 msgid "Workout reminders" -msgstr "" +msgstr "Træningspåmindelser" #: core/forms.py:117 msgid "Other settings" -msgstr "" +msgstr "Andre indstillinger" #: core/forms.py:125 core/views/user.py:599 core/views/user.py:614 #: core/views/user.py:626 gym/forms.py:72 manager/templates/log/add.html:65 #: manager/templates/set/add.html:69 manager/views/workout.py:221 #: utils/generic_views.py:142 msgid "Save" -msgstr "" +msgstr "Gem" #: core/forms.py:132 msgid "Used for password resets and, optionally, email reminders." msgstr "Bruges til kode-nulstilling og, hvis ønsket, påmindelser." #: core/forms.py:160 -#, fuzzy -#| msgid "This email is already used." msgid "This e-mail address is already in use." -msgstr "Denne email er allere i brug." +msgstr "Denne emailadresse er allerede i brug." #: core/forms.py:180 gym/templates/gym/new_user.html:26 #: gym/templates/gym/reset_user_password.html:24 gym/views/gym.py:218 @@ -295,14 +293,14 @@ msgstr "Ukorrekt kodeord" #: core/forms.py:212 core/forms.py:278 msgid "The form is secured with reCAPTCHA" -msgstr "" +msgstr "Denne formular er sikret med reCAPTCHA" #: core/forms.py:226 core/forms.py:245 core/templates/navigation.html:190 #: core/templates/navigation.html:195 core/templates/template.html:150 #: core/templates/user/login.html:20 core/views/user.py:293 #: software/templates/features.html:38 msgid "Register" -msgstr "" +msgstr "Registrer" #: core/forms.py:256 msgid "Contact" @@ -325,11 +323,11 @@ msgstr "Hvad vil du gerne sige?" #: core/models/days_of_week.py:29 msgid "Day of the week" -msgstr "" +msgstr "Ugedag" #: core/models/license.py:29 msgid "Full name" -msgstr "" +msgstr "Fulde navn" #: core/models/license.py:31 msgid "" diff --git a/wger/locale/de/LC_MESSAGES/django.mo b/wger/locale/de/LC_MESSAGES/django.mo index d906f0026..8e1957a36 100644 Binary files a/wger/locale/de/LC_MESSAGES/django.mo and b/wger/locale/de/LC_MESSAGES/django.mo differ diff --git a/wger/locale/de/LC_MESSAGES/django.po b/wger/locale/de/LC_MESSAGES/django.po index 809778720..454c1fa43 100644 --- a/wger/locale/de/LC_MESSAGES/django.po +++ b/wger/locale/de/LC_MESSAGES/django.po @@ -12,15 +12,15 @@ msgstr "" "Project-Id-Version: wger Workout Manager\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-08-17 15:00+0200\n" -"PO-Revision-Date: 2021-08-18 15:35+0000\n" -"Last-Translator: Roland Geider \n" +"PO-Revision-Date: 2021-09-19 02:37+0000\n" +"Last-Translator: J. Lavoie \n" "Language-Team: German \n" "Language: de\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" -"X-Generator: Weblate 4.8-dev\n" +"X-Generator: Weblate 4.9-dev\n" #: config/models/gym_config.py:46 gym/templates/gym/list.html:50 msgid "Default gym" @@ -1695,7 +1695,9 @@ msgstr "Nur registrierte Benutzer dürfen das" msgid "" "Your exercise '%(exercise)s' was successfully added to the general\n" "database." -msgstr "Die Übung '%(exercise)s' wurde erfolgreich zur Datenbank hinzugefügt." +msgstr "" +"Die Übung „%(exercise)s“ wurde erfolgreich zur\n" +"Datenbank hinzugefügt." #: exercises/templates/exercise/email_new.tpl:4 msgid "" diff --git a/wger/locale/el/LC_MESSAGES/django.mo b/wger/locale/el/LC_MESSAGES/django.mo index 4b5fdcc18..a40be5e22 100644 Binary files a/wger/locale/el/LC_MESSAGES/django.mo and b/wger/locale/el/LC_MESSAGES/django.mo differ diff --git a/wger/locale/es/LC_MESSAGES/django.mo b/wger/locale/es/LC_MESSAGES/django.mo index e22b103fb..58404303c 100644 Binary files a/wger/locale/es/LC_MESSAGES/django.mo and b/wger/locale/es/LC_MESSAGES/django.mo differ diff --git a/wger/locale/es/LC_MESSAGES/django.po b/wger/locale/es/LC_MESSAGES/django.po index cb18c7e45..87e3a3d54 100644 --- a/wger/locale/es/LC_MESSAGES/django.po +++ b/wger/locale/es/LC_MESSAGES/django.po @@ -16,15 +16,15 @@ msgstr "" "Project-Id-Version: wger Workout Manager\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-08-17 17:23+0200\n" -"PO-Revision-Date: 2021-05-09 09:11+0000\n" -"Last-Translator: J. Lavoie \n" +"PO-Revision-Date: 2021-10-27 10:48+0000\n" +"Last-Translator: Roland Geider \n" "Language-Team: Spanish \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" -"X-Generator: Weblate 4.7-dev\n" +"X-Generator: Weblate 4.9-dev\n" #: config/models/gym_config.py:46 gym/templates/gym/list.html:50 msgid "Default gym" @@ -55,7 +55,7 @@ msgstr "Idiomas" #: config/templates/language/overview.html:16 msgid "Nothing found." -msgstr "No se ha encontrado nada" +msgstr "No se ha encontrado nada." #: config/templates/language/overview.html:16 core/templates/index.html:147 #: core/templates/index.html:199 manager/templates/calendar/month.html:132 @@ -114,11 +114,10 @@ msgid "" "the exercises should be shown in languages A, B and C; the ingredients only\n" "in A)." msgstr "" -"Usa la configuración para elegir en que idiomas se muestran los ingredientes " -"y los\n" -"ejercicios para el idioma actual (por ejemplo, mostrar los ejercicios en los " -"idiomas A, B y C;\n" -"los ingredientes, sólo en A)." +"Usa la configuración para elegir en que idiomas se muestran los\n" +"ingredientes y los ejercicios para el idioma actual (por ejemplo,\n" +"mostrar los ejercicios en los idiomas A, B y C; los ingredientes\n" +"sólo en A)." #: config/templates/language/view.html:44 gym/templates/contract/list.html:36 msgid "Show" @@ -294,7 +293,7 @@ msgstr "Contraseña" #: core/forms.py:182 msgid "Please enter your current password." -msgstr "Por favor, ingrese su contraseña actual. " +msgstr "Por favor, ingrese su contraseña actual." #: core/forms.py:200 msgid "Invalid password" @@ -350,7 +349,7 @@ msgstr "Nombre corto, por ejemplo CC-BY-SA 3" #: core/models/license.py:42 nutrition/models/ingredient.py:182 msgid "Link" -msgstr "Enlace " +msgstr "Enlace" #: core/models/license.py:43 msgid "Link to license text or other information" @@ -423,9 +422,9 @@ msgid "" "Check to activate automatic reminders for workouts. You need to provide a " "valid email for this to work." msgstr "" -"Activa recordatorios automáticos para rutinas expiradas. Necesitarás " -"proporcionar\n" -"una dirección de correo electrónico válida para que esto funcione." +"Activa los recordatorios automáticos para rutinas expiradas. Necesitarás " +"proporcionar una dirección de correo electrónico válida para que estos " +"funcionen." #: core/models/profile.py:145 msgid "Remind before expiration" @@ -434,8 +433,8 @@ msgstr "Recordar antes de expiración" #: core/models/profile.py:146 msgid "The number of days you want to be reminded before a workout expires." msgstr "" -"El número de días que quieres que se te recuerde\n" -"antes de un entrenamiento expire." +"El número de días que quieres que se te recuerde antes de que un " +"entrenamiento expire." #: core/models/profile.py:152 msgid "Default duration of workouts" @@ -446,8 +445,8 @@ msgid "" "Default duration in weeks of workouts not in a schedule. Used for email " "workout reminders." msgstr "" -"Duración en semanas de rutinas que no pertenezcan a un programa.\n" -"Esto se utilizará para los recordatorios de rutinas expiradas." +"Duración por defecto en semanas para las rutinas que no pertenezcan a una " +"programación. Usado para los recordatorios de rutinas expiradas." #: core/models/profile.py:171 msgid "Notification language" @@ -458,9 +457,9 @@ msgid "" "Language to use when sending you email notifications, e.g. email reminders " "for workouts. This does not affect the language used on the website." msgstr "" -"Idioma que se utilizará al enviar notificaciones por correo electrónico,\n" -"por ejemplo, recordatorios para los entrenamientos. Esto no afecta el\n" -"idioma utilizado en la página web." +"Idioma que se utilizará al enviar notificaciones por correo electrónico, por " +"ejemplo, recordatorios para los entrenamientos. Esto no afecta al idioma " +"utilizado en la web." #: core/models/profile.py:186 gym/views/export.py:66 msgid "Age" @@ -523,7 +522,7 @@ msgstr "Unidad de peso" #: core/models/profile.py:313 msgid "Allow external access" -msgstr "Permitir acceso externo." +msgstr "Permitir acceso externo" #: core/models/profile.py:315 msgid "" @@ -536,7 +535,7 @@ msgstr "" #: core/models/profile.py:324 msgid "Automatic reminders for weight entries" -msgstr "Avisos automáticos para las entradas de peso." +msgstr "Avisos automáticos para las entradas de peso" #: core/models/profile.py:326 msgid "Number of days after the last weight entry (enter 0 to deactivate)" @@ -597,6 +596,10 @@ msgid "" "performed on their data.\n" " " msgstr "" +"Estás\n" +" navegando por la web como el usuario \"%(current_user)s\", todas las " +"acciones se realizan sobre tus datos.\n" +" " #: core/templates/base.html:16 core/templates/base_wide.html:14 #, python-format @@ -769,7 +772,7 @@ msgstr "Peso" #: core/templates/index.html:217 msgid "Your current weight is: " -msgstr "Tu peso actual es:" +msgstr "Tu peso actual es: " #: core/templates/index.html:248 core/templates/navigation.html:97 #: weight/views.py:70 @@ -831,8 +834,9 @@ msgid "" "If a license has been localized, e.g. the Creative Commons\n" "licenses for the different countries, add them as separate entries here." msgstr "" -"Si la licencia ha sido localizada como por ejemplo las licencias Creative " -"Commons para los diferentes países, agrégalas como entradas separadas aquí." +"Si la licencia ha sido localizada, como por ejemplo las licencias Creative " +"Commons\n" +"para los diferentes países, agrégalas como entradas separadas aquí." #: core/templates/navigation.html:22 msgid "Training" @@ -856,23 +860,19 @@ msgstr "Calendario" #: core/templates/navigation.html:44 gallery/templates/images/overview.html:6 msgid "Gallery" -msgstr "" +msgstr "Galería" #: core/templates/navigation.html:48 -#, fuzzy -#| msgid "Workout complete!" msgid "Workout templates" -msgstr "¡Entrenamiento completado!" +msgstr "Plantillas de entrenamiento" #: core/templates/navigation.html:53 manager/views/workout.py:101 -#, fuzzy -#| msgid "Your schedules" msgid "Your templates" -msgstr "Tus programas" +msgstr "Tus plantillas" #: core/templates/navigation.html:59 manager/views/workout.py:115 msgid "Public templates" -msgstr "" +msgstr "Plantillas públicas" #: core/templates/navigation.html:64 msgctxt "as in sorted by category" @@ -921,7 +921,7 @@ msgstr "Músculos" #: core/templates/navigation.html:79 #: exercises/templates/categories/admin-overview.html:4 msgid "Categories" -msgstr "Categorias " +msgstr "Categorias" #: core/templates/navigation.html:94 msgid "Body weight" @@ -1033,7 +1033,7 @@ msgstr "Restablecimiento de contraseña completado" #: core/templates/registration/password_reset_complete.html:8 msgid "Your password has been set. You may go ahead and log in now." msgstr "" -"Tu contraseña ha sido establecida. Ahora puedes seguir adelante e iniciar\n" +"Tu contraseña ha sido establecida. Ahora puedes seguir adelante e iniciar " "sesión." #: core/templates/registration/password_reset_complete.html:10 @@ -1049,10 +1049,9 @@ msgid "" "We've e-mailed you instructions for setting your password to the e-mail " "address you submitted. You should be receiving it shortly." msgstr "" -"Te hemos enviado un email con instrucciones para cambiar tu contraseña a la\n" -"dirección de correo electróńico que nos has dado. Deberías recibir el email " -"en\n" -"unos momentos." +"Te hemos enviado un email con instrucciones para cambiar tu contraseña a la " +"dirección de correo que nos has dado. Deberías recibir el email en unos " +"momentos." #: core/templates/registration/password_reset_email.html:2 #, python-format @@ -1060,13 +1059,12 @@ msgid "" "You're receiving this e-mail because you requested a password reset for your " "user account at %(site_name)s." msgstr "" -"Recibes este correo electrónico porqué has solicitado restablecer tu " -"contraseña\n" -"para tu cuenta en %(site_name)s." +"Estás recibiendo este correo electrónico porque has solicitado restablecer " +"la contraseña para tu cuenta en %(site_name)s." #: core/templates/registration/password_reset_email.html:4 msgid "Please go to the following page and choose a new password:" -msgstr "Por favor, ve a la página siguiente y escoje una nueva contraseña." +msgstr "Por favor, ve a la página siguiente y escoje una nueva contraseña:" #: core/templates/registration/password_reset_email.html:9 msgid "Your username, in case you've forgotten:" @@ -1123,7 +1121,7 @@ msgstr "Editar ahora." #: core/templates/tags/render_day.html:159 msgid "Add exercises to this workout day" -msgstr "Añadir ejercicios a este dia." +msgstr "Añadir ejercicios a este dia" #: core/templates/tags/render_weight_log.html:17 manager/helpers.py:89 #: manager/models/setting.py:57 manager/templates/set/formset.html:10 @@ -1223,8 +1221,9 @@ msgid "" "and can't be undone. " msgstr "" "Esta acción borrará la cuenta de usuario \"%(username)s\".\n" -"También se eliminarán irrevocablemente todos los datos asociados con ella " -"(entrenamientos, registros, etc.). " +"También se eliminarán irrevocablemente todos los datos asociados con ella (" +"entrenamientos, registros, etc.). \n" +"y no podrán ser recuperados. " #: core/templates/user/login.html:16 msgid "No account?" @@ -1248,7 +1247,7 @@ msgstr "últimos %(number)s" #: gym/templates/gym/member_list.html:243 #: gym/templates/gym/member_list.html:280 msgid "Overview" -msgstr "Resumen " +msgstr "Resumen" #: core/templates/user/overview.html:28 #: manager/templates/schedule/view.html:164 @@ -1505,9 +1504,9 @@ msgid "" "weight and nutrition plan entries so you can better see what this site can " "do. Feel free to edit or delete them!" msgstr "" -"Hemos creado ejemplos de rutinas, programas, entradas de peso y planes\n" -"nutricionales para que te puedas hacer mejor una idea de lo que puede hacer\n" -"esta página. No dudes en editar o borrar las entradas." +"Hemos creado ejemplos de rutinas, programas, entradas de peso y planes " +"nutricionales para que puedas ver mejor lo que puede hacer esta página. No " +"dudes en editar o borrar las entradas." #: core/views/misc.py:155 msgid "Rest day" @@ -1580,7 +1579,7 @@ msgstr "Músculos primarios" #: exercises/templates/exercise/view.html:218 #: exercises/templates/muscles/overview.html:73 msgid "Secondary muscles" -msgstr "Músculos secundarios " +msgstr "Músculos secundarios" #: exercises/models/base.py:79 msgid "Variations" @@ -1597,7 +1596,7 @@ msgstr "Ejercicio" #: exercises/models/comment.py:41 msgid "A comment about how to correctly do this exercise." -msgstr "Comentario describiendo como hacer correctamente el ejercicio" +msgstr "Comentario describiendo como hacer correctamente el ejercicio." #: exercises/models/exercise.py:86 nutrition/models/ingredient.py:80 #: nutrition/models/plan.py:61 nutrition/models/weight_unit.py:32 @@ -1641,7 +1640,7 @@ msgstr "" #: exercises/models/image.py:166 msgid "New user submitted image" -msgstr "Nueva imagen enviada por un usuario " +msgstr "Nueva imagen enviada por un usuario" #: exercises/models/image.py:167 #, python-brace-format @@ -1704,7 +1703,7 @@ msgid "" "Your exercise '%(exercise)s' was successfully added to the general\n" "database." msgstr "" -"El ejercicio '%(exercise)s' se agrego exitosamente a la base de datos " +"El ejercicio '%(exercise)s' se agrego exitosamente a la base de datos\n" "general." #: exercises/templates/exercise/email_new.tpl:4 @@ -1712,15 +1711,13 @@ msgid "" "It is now available on the exercise and muscle overview and can be\n" "added to workouts. You can access it on this address:" msgstr "" -"Está disponible en el resumen de ejercicios y puede ser añadido a rutinas. " -"Puedes accederlo con esta dirección:" +"Ahora está disponible en el resumen de ejercicios y músculos y puede ser\n" +"añadido a rutinas. Puedes acceder en esta dirección:" #: exercises/templates/exercise/email_new.tpl:8 #: nutrition/templates/ingredient/email_new.tpl:8 msgid "Thank you for contributing and making this site better!" -msgstr "" -"¡Gracias por contribuir y hacer esta página mejor!\n" -"El equipo de wger.de" +msgstr "¡Gracias por contribuir y hacer esta página mejor!" #: exercises/templates/exercise/email_new.tpl:9 #: manager/templates/workout/email_reminder.tpl:15 @@ -1749,12 +1746,12 @@ msgid "" "when you registered, you will get notified when the process is completed " "successfully." msgstr "" -"Después de enviar el formulario un administrador será notificado. Una vez\n" -"que se haya revisado será añádido a la base de datos. Hasta entonces,\n" -"no será visible en el resumen o la búsqueda. En caso de que nos hayas dado\n" -"tu dirección de email, recibirás una notificación cuando el proceso termine " -"con\n" -"éxito." +"Después de enviar el formulario un administrador será notificado.\n" +"Una vez que se haya revisado será añádido a la base de datos. Hasta entonces," +"\n" +"no será visible en el resumen o la búsqueda. En caso de que nos hayas dado " +"tu dirección de email, \n" +"recibirás una notificación cuando el proceso termine con éxito." #: exercises/templates/exercise/form_correct.html:4 msgid "Correcting an exercise" @@ -1764,7 +1761,9 @@ msgstr "Corregir un ejercicio" msgid "" "Thank you for correcting and improving this exercise.\n" "This is much appreciated!" -msgstr "Gracias por corregir y mejorar este ejercicio. ¡Lo apreciamos mucho!" +msgstr "" +"Gracias por corregir y mejorar este ejercicio.\n" +"¡Lo apreciamos mucho!" #: exercises/templates/exercise/form_correct.html:8 msgid "" @@ -1781,7 +1780,7 @@ msgstr "No hay categorías." #: exercises/templates/exercise/overview.html:88 msgid "Use link to create one" -msgstr "Usa el enlace para crear uno." +msgstr "Usa el enlace para crear uno" #: exercises/templates/exercise/pending.html:14 #: nutrition/templates/ingredient/pending.html:14 @@ -1807,8 +1806,8 @@ msgid "" "This user submitted exercise is pending a decision to be\n" " included in the database." msgstr "" -"El ejercicio enviado por este usuario esta pendiente por decidir para ser " -"incluido en la base de datos." +"El ejercicio enviado por este usuario esta pendiente por decidir para ser\n" +" incluido en la base de datos." #: exercises/templates/exercise/view.html:53 msgid "Till then, it will not be shown in the overview or the search." @@ -1866,7 +1865,7 @@ msgstr "Variantes de ejercicios" #: exercises/templates/exercise/view.html:277 msgid "Submit a correction" -msgstr "Enviar una corrección " +msgstr "Enviar una corrección" #: exercises/templates/muscles/admin-overview.html:4 #: exercises/templates/muscles/overview.html:7 @@ -1906,6 +1905,8 @@ msgstr "¿Borrar equipo?" msgid "" "%(name_original)s is too similar to existing exercise \"%(exercise_name)s\"" msgstr "" +"%(name_original)s es demasiado similar al ejercicio ya existente \"" +"%(exercise_name)s\"" #: exercises/views/exercises.py:246 msgid "Add exercise" @@ -1939,10 +1940,8 @@ msgid "Delete exercise image?" msgstr "¿Borrar imagen de ejercicio?" #: gallery/templates/images/overview.html:62 -#, fuzzy -#| msgid "Add new image" msgid "Add image" -msgstr "Añadir nueva imagen" +msgstr "Añadir imagen" #: gym/forms.py:59 gym/templates/gym/member_list.html:44 msgid "Trainer" @@ -1967,7 +1966,7 @@ msgstr "Este valor puede contener sólo letras, números y @/.//-/_" #: gym/forms.py:116 msgid "A user with that username already exists." -msgstr "Ya existe un usuario con ese nombre" +msgstr "Ya existe un usuario con ese nombre." #: gym/management/commands/inactive-members.py:97 gym/models/gym_config.py:44 msgid "Reminder of inactive members" @@ -2019,7 +2018,7 @@ msgstr "Tipo de pago" #: gym/models/contract.py:222 msgid "How often the amount will be charged to the member" -msgstr "Con que frecuencia la cantidad será cobrada al miembro." +msgstr "Con que frecuencia la cantidad será cobrada al miembro" #: gym/models/contract.py:228 gym/templates/contract/view.html:24 msgid "Contract is active" @@ -2088,7 +2087,7 @@ msgstr "Configuración para {}" #: gym/models/user_config.py:65 gym/templates/gym/member_list.html:184 msgid "Overview of inactive members" -msgstr "Visión de miembros inactivos. " +msgstr "Visión de miembros inactivos." #: gym/models/user_config.py:66 msgid "Receive email overviews of inactive members" @@ -2206,9 +2205,10 @@ msgid "" "password\n" "cannot be recovered later." msgstr "" -"Por favor, escribe la contraseña del usuario o guarda el archivo, que " -"contiene todos los datos del usuario, y guárdalo en un lugar seguro. La " -"contraseña no podrá ser recuperada posteriormente." +"Por favor, escribe la contraseña del usuario o guarda el archivo,\n" +"que contiene todos los datos del usuario, y guárdalo en un lugar seguro. La " +"contraseña\n" +"no podrá ser recuperada posteriormente." #: gym/templates/gym/new_user.html:57 msgid "Export user data" @@ -2220,7 +2220,7 @@ msgid "" "password." msgstr "" "La contraseña de este usuario ha sido cambiada. Por favor notificar al " -"usuario de su nueva contraseña" +"usuario de su nueva contraseña." #: gym/views/admin_notes.py:94 gym/views/document.py:94 msgid "Add note" @@ -2388,10 +2388,8 @@ msgid "Kilometers" msgstr "Kilómetros" #: i18n.tpl:35 -#, fuzzy -#| msgid "Reps" msgid "Max Reps" -msgstr "Repeticiones" +msgstr "Repeticiones máximas" #: i18n.tpl:36 msgid "Miles" @@ -2450,8 +2448,8 @@ msgid "" "You can update and correct the content as often as you need before sending " "the emails" msgstr "" -"Usted puede actualizar y corregir el contenido las veces necesarias antes de " -"enviar los correos electrónicos." +"Puedes actualizar y corregir el contenido las veces necesarias antes de " +"enviar los correos electrónicos" #: mailer/templates/mailer/gym/preview.html:22 msgid "Current version" @@ -2467,10 +2465,8 @@ msgid "Correction" msgstr "Corrección" #: manager/forms.py:89 manager/models/workout.py:59 -#, fuzzy -#| msgid "Make a copy of this workout" msgid "The name of the workout" -msgstr "Hacer una copia de esta rutina" +msgstr "El nombre del entrenamiento" #: manager/forms.py:93 manager/models/workout.py:66 msgid "" @@ -2485,8 +2481,8 @@ msgid "" "You can search for more than one exercise, they will be grouped together for " "a superset." msgstr "" -"Puedes buscar y seleccionar más de un ejercicio, se agruparán\n" -"juntos para una superserie." +"Puedes buscar y seleccionar más de un ejercicio, se agruparán juntos para " +"una superserie." #: manager/forms.py:155 manager/forms.py:160 manager/models/log.py:62 #: manager/models/log.py:90 manager/models/setting.py:47 @@ -2595,8 +2591,8 @@ msgid "" "Your impression about this workout session. Did you exercise as well as you " "could?" msgstr "" -"Su impresión sobre esta sesión de entrenamiento.\n" -"¿Has entrenado tan bien como podrías?" +"Su impresión sobre esta sesión de entrenamiento. ¿Has entrenado tan bien " +"como podrías?" #: manager/models/session.py:97 msgid "Start time" @@ -2604,7 +2600,7 @@ msgstr "Tiempo de inicio" #: manager/models/session.py:102 msgid "Finish time" -msgstr "Tiempo de finalizacion " +msgstr "Tiempo de finalizacion" #: manager/models/session.py:128 msgid "If you enter a time, you must enter both start and end time." @@ -2634,28 +2630,30 @@ msgstr "Fecha de creación" #: manager/models/workout.py:72 manager/templates/workout/template_view.html:11 #: manager/templates/workout/template_view.html:19 -#, fuzzy -#| msgid "Workout complete!" msgid "Workout template" -msgstr "¡Entrenamiento completado!" +msgstr "Pantilla de entrenamiento" #: manager/models/workout.py:74 msgid "" "Marking a workout as a template will freeze it and allow you to make copies " "of it" msgstr "" +"Marcando un entrenamiento como una plantilla lo bloqueará y te permitirá " +"hacer copias de el" #: manager/models/workout.py:81 msgid "Public template" -msgstr "" +msgstr "Plantilla pública" #: manager/models/workout.py:82 msgid "A public template is available to other users" -msgstr "" +msgstr "Una plantilla pública estará disponible para otros usuarios" #: manager/models/workout.py:114 msgid "You must mark this workout as a template before declaring it public" msgstr "" +"Tienes que marcar este entrenamiento como plantilla antes de declararlo " +"público" #: manager/templates/calendar/day.html:9 manager/templates/calendar/day.html:31 msgid "Workout log" @@ -2705,7 +2703,7 @@ msgstr "Añadir impresión de entrenamiento" #: manager/templates/log/add.html:20 msgid "New weight log" -msgstr "Nuevo registro de peso " +msgstr "Nuevo registro de peso" #: manager/templates/log/add.html:76 msgid "" @@ -2775,7 +2773,7 @@ msgid "" "This schedule is a loop and will go through the workouts above till you " "deactivate it" msgstr "" -"Este programa es un bucle y pasará por las rutinas hasta que lo desactives." +"Este programa es un bucle y pasará por las rutinas hasta que lo desactives" #: manager/templates/schedule/view.html:106 manager/views/schedule.py:168 #: manager/views/schedule.py:238 @@ -2799,10 +2797,10 @@ msgid_plural "" "%(weeks)s Weeks\n" " " msgstr[0] "" -"Semana\n" +"%(weeks)s Semana\n" " " msgstr[1] "" -"Semanas\n" +"%(weeks)s Semanas\n" " " #: manager/templates/schedule/view.html:220 @@ -2816,9 +2814,10 @@ msgid "" "workout more\n" "than once." msgstr "" -"Agregue los ejercicios que desee a su calendario. Pueden ser editados con " -"solo arrastrarlos y soltarlos. También es posible añadir el mismo ejercicio " -"más de una vez." +"Agrega los ejercicios que desees a tu calendario. Puedes\n" +"editar el orden con solo arrastrarlos y soltarlos. También es posible añadir " +"el mismo ejercicio más\n" +"de una vez." #: manager/templates/schedule/view.html:231 #: manager/templates/schedule/view.html:241 @@ -2873,10 +2872,9 @@ msgid "" "automatically becomes \"4 x 10\"." msgstr "" "Si haces las mismas repeticiones para todas las series,\n" -"puedes entrar simplemente un solo valor: por ejemplo para 4 series,\n" -"introduce un \"10\" para las repeticiones, esto se convertirá " -"automáticamente\n" -"en \"4 x 10\"." +"puedes intriducir un solo valor: por ejemplo para 4 series, introduce un \"10" +"\" para las repeticiones,\n" +"esto se convertirá automáticamente en \"4 x 10\"." #: manager/templates/set/edit.html:10 msgid "Edit set" @@ -2913,7 +2911,8 @@ msgid "" "If you don't want to ever receive email reminders, deactivate the\n" "option in your settings." msgstr "" -"Si no quieres recibir estos emails, desactiva la opción en tus preferencias." +"Si no quieres recibir nunca estos emails recordatorios, desactiva la\n" +" opción en tus preferencias." #: manager/templates/workout/email_weight_reminder.tpl:3 #, python-format @@ -2953,9 +2952,8 @@ msgid "" "only. Click on an exercise to see all the historical data for\n" "it." msgstr "" -"Esta página muestra solamente los registros de peso que pertenecen a esta " -"rutina.\n" -"Haz click en un ejercicio para ver todos los datos históricos." +"Esta página muestra los registros de peso que pertenecen a esta rutina\n" +"solamente. Haz click en un ejercicio para ver todos los datos históricos." #: manager/templates/workout/log.html:100 msgid "" @@ -2963,9 +2961,9 @@ msgid "" "same number of repetitions, but different weights, only the entry with the\n" "higher weight is shown in the diagram." msgstr "" -"Si en un solo día, hay más de una entrada con el mismo número de " -"repeticiones, pero diferentes pesos, solamente la entrada con el peso más " -"alto se muestra en el diagrama." +"Si en un solo día, hay más de una entrada con el mismo \n" +"número de repeticiones, pero diferentes pesos, solamente la entrada con el\n" +"peso más alto se muestra en el diagrama." #: manager/templates/workout/log.html:104 msgid "" @@ -2979,16 +2977,12 @@ msgstr "" "se ignoran aquí." #: manager/templates/workout/overview.html:25 -#, fuzzy -#| msgid "No schedules found." msgid "No templates found." -msgstr "No se han encontrado programas." +msgstr "No se han encontrado plantillas." #: manager/templates/workout/template_view.html:53 -#, fuzzy -#| msgid "Make a copy of this workout" msgid "Mark as workout" -msgstr "Hacer una copia de esta rutina" +msgstr "Marcar como entrenamiento" #: manager/templates/workout/template_view.html:65 #: manager/templates/workout/view.html:97 @@ -3000,14 +2994,12 @@ msgstr "Músculos entrenados" msgid "" "Images show combined muscles as trained by the exercises on the workout." msgstr "" -"Las imágenes muestran los músculos combinados como se entrenan por los\n" +"Las imágenes muestran los músculos combinados como se entrenan por los " "ejercicios de la rutina." #: manager/templates/workout/template_view.html:89 -#, fuzzy -#| msgid "Share this page" msgid "Use this template" -msgstr "Compartir esta página" +msgstr "Usar esta plantilla" #: manager/templates/workout/view.html:72 msgid "Add training day" @@ -3047,7 +3039,7 @@ msgstr "Editar rutina" #: manager/templates/workout/view.html:225 manager/views/workout.py:300 msgid "Mark as template" -msgstr "" +msgstr "Marcar como plantilla" #: manager/views/day.py:109 msgid "Add workout day" @@ -3170,11 +3162,11 @@ msgstr "Sodio" #: nutrition/models/ingredient.py:183 msgid "Link to product" -msgstr "" +msgstr "Enlace al producto" #: nutrition/models/ingredient.py:212 msgid "Brand name of product" -msgstr "" +msgstr "Marca del producto" #: nutrition/models/ingredient.py:272 #, python-brace-format @@ -3183,6 +3175,9 @@ msgid "" "provided by protein, carbohydrates and fat ({energy_calculated}kcal +/-" "{energy_approx}%)" msgstr "" +"La energía total ({energy}kcal) no es la suma aproximada de la energía " +"aportada por las proteínas, carbohidratos y grasas ({energy_calculated}kcal " +"+/-{energy_approx}%)" #: nutrition/models/ingredient.py:357 nutrition/views/ingredient.py:225 msgid "Ingredient was successfully added to the general database" @@ -3199,7 +3194,7 @@ msgstr "El usuario {0} ha enviado un nuevo ingrediente \"{1}\"." #: nutrition/models/ingredient_category.py:30 msgid "Ingredient Categories" -msgstr "" +msgstr "Categoría de ingredientes" #: nutrition/models/ingredient_weight_unit.py:49 msgid "Amount in grams" @@ -3230,6 +3225,9 @@ msgid "" "Tick the box if you want to mark this plan as having a goal amount of " "calories. You can use the calculator or enter the value yourself." msgstr "" +"Marque la casilla si desea marcar este plan como si tuviera una cantidad " +"objetivo de calorías. Puede usar la calculadora o ingresar el valor usted " +"mismo." #: nutrition/templates/bmi/form.html:62 msgid "Results" @@ -3237,7 +3235,7 @@ msgstr "Resultados" #: nutrition/templates/bmi/form.html:63 msgid "Your BMI is: " -msgstr "Tu IMC es:" +msgstr "Tu IMC es: " #: nutrition/templates/bmi/form.html:71 msgid "Legend" @@ -3366,7 +3364,7 @@ msgstr "Macronutrientes" #: nutrition/templates/ingredient/view.html:80 #: nutrition/templates/plan/view.html:62 nutrition/templates/plan/view.html:244 msgid "kJ" -msgstr "" +msgstr "kJ" #: nutrition/templates/ingredient/view.html:101 #: nutrition/templates/ingredient/view.html:117 @@ -3408,11 +3406,11 @@ msgstr "Borrar ingrediente" #: nutrition/templates/log/overview.html:7 #: nutrition/templates/plan/view.html:300 msgid "Nutrition diary" -msgstr "" +msgstr "Diario nutricional" #: nutrition/templates/log/detail.html:32 msgid "Planned" -msgstr "" +msgstr "Planeado" #: nutrition/templates/log/detail.html:33 #: nutrition/templates/log/overview.html:31 @@ -3428,7 +3426,7 @@ msgstr "" #: nutrition/templates/log/detail.html:150 msgid "Entries" -msgstr "" +msgstr "Entradas" #: nutrition/templates/log/detail.html:170 msgid "g" @@ -3437,7 +3435,7 @@ msgstr "g" #: nutrition/templates/log/overview.html:53 #: nutrition/templates/plan/view.html:330 msgid "nothing found" -msgstr "" +msgstr "no se encontraron resultados" #: nutrition/templates/plan/overview.html:5 msgid "Your nutrition plans" @@ -3449,15 +3447,15 @@ msgstr "Contenidos" #: nutrition/templates/plan/view.html:79 msgid "Log this meal" -msgstr "" +msgstr "Registrar esta comida" #: nutrition/templates/plan/view.html:84 msgid "Add ingredient to meal" -msgstr "" +msgstr "Añadir ingrendiente a la comida" #: nutrition/templates/plan/view.html:150 msgid "No items for this meal." -msgstr "" +msgstr "No hay artículos para esta comida." #: nutrition/templates/plan/view.html:188 msgid "No meals for this plan." @@ -3465,7 +3463,7 @@ msgstr "No hay comidas para este plan." #: nutrition/templates/plan/view.html:200 msgid "Log this Plan" -msgstr "" +msgstr "Registrar este plan" #: nutrition/templates/plan/view.html:206 msgid "Add a new meal" @@ -3498,7 +3496,7 @@ msgstr "oz por lb de peso" #: nutrition/templates/plan/view.html:338 msgid "View complete nutrition log" -msgstr "" +msgstr "Ver el registro completo de nutrición" #: nutrition/templates/plan/view.html:371 msgid "Goal" @@ -3573,6 +3571,8 @@ msgid "" "The base caloric intake is the amount of calories your metabolism\n" "needs based on your level of physical activity." msgstr "" +"La ingesta base calorica es el total de calorias que tu metabolismo\n" +"necesita en base a tu nivel de actividad física." #: nutrition/templates/rate/form.html:81 msgid "Calculate basic caloric intake" @@ -3585,6 +3585,10 @@ msgid "" "Alternatively\n" "you might just enter yourself the amount of calories if you know the value." msgstr "" +"Las calorías totales son las calorías totales reales por día. Este\n" +"puede incluir, por ejemplo, un superávit o un déficit si estás haciendo " +"volumen o definición. Alternativamente,\n" +"puedes introducir tú mismo la cantidad de calorías si conoces el valor." #: nutrition/templates/rate/form.html:102 msgid "Transfer basic intake to total daily calories" @@ -3634,12 +3638,12 @@ msgstr "Editar ítem de alimentación" #: nutrition/views/plan.py:265 msgid "Nutritional plan" -msgstr "" +msgstr "Plan nutricional" #: nutrition/views/plan.py:267 #, python-format msgid "Nutritional plan for %s" -msgstr "" +msgstr "Plan nutricional para %s" #: nutrition/views/plan.py:341 msgid "This is an empty plan, what did you expect on the PDF?" @@ -3658,32 +3662,38 @@ msgid "" "Thank you for using wger! wger is a collaborative open source project, made " "by fitness enthusiasts from around the world." msgstr "" +"¡Gracias por usar wger! wger es un proyecto colaborativo de código abierto, " +"hecho por entusiastas del fitness de todo el mundo" #: software/templates/about_us.html:18 msgid "Source code" -msgstr "" +msgstr "Código fuente" #: software/templates/about_us.html:20 msgid "Get the source code of this application and its server on github" -msgstr "" +msgstr "Consigue el código fuente de esta aplicación y su servidor en GitHub" #: software/templates/about_us.html:25 msgid "Have a problem or idea?" -msgstr "" +msgstr "¿Tiene un problema o una idea?" #: software/templates/about_us.html:27 msgid "" "Get in touch if something didn't behave as expected or if there is a feature " "that you feel is missing." msgstr "" +"Ponte en contacto con nosotros si algo no funciona como esperabas o si hay " +"una función que crees que falta." #: software/templates/about_us.html:32 msgid "Say hi!" -msgstr "" +msgstr "¡Saluda!" #: software/templates/about_us.html:34 msgid "If you want to chat with us, hop on the Discord server and get in touch" msgstr "" +"Si quieres chatear con nosotros, ingresa a nuestro servidor de Discord y " +"ponte en contacto" #: software/templates/about_us.html:39 #, fuzzy @@ -3696,6 +3706,8 @@ msgid "" "This application is translated on weblate. If you also want to help, click " "the link and start translating" msgstr "" +"Esta aplicación fue traducida en weblate. Si tú también quieres ayudar, haz " +"click en el link y comienza a traducir" #: software/templates/about_us.html:50 msgid "Our goal" @@ -3717,6 +3729,8 @@ msgid "" "wger Workout Manager is a free, open source web application that manages " "your exercises and workouts. " msgstr "" +"wger Workout Manager es una aplicación web gratuita y de código abierto que " +"gestiona tus ejercicios y entrenamientos. " #: software/templates/features.html:24 msgid "Welcome to wger" @@ -3744,7 +3758,7 @@ msgstr "Pruébalo ahora" #: software/templates/features.html:55 msgid "Your advantages" -msgstr "" +msgstr "Tus ventajas" #: software/templates/features.html:57 msgid "" @@ -3765,6 +3779,10 @@ msgid "" "distance you want to do them. You can also combine different workouts into a " "schedule." msgstr "" +"Puedes crear y gestionar rutinas de entrenamiento flexibles para cualquier " +"objetivo que tengas. Selecciona exactamente qué ejercicios vas a hacer y " +"cuántas repeticiones, tiempo o distancia quieres hacer. También puedes " +"combinar diferentes entrenamientos en un mismo programa." #: software/templates/features.html:89 msgid "" @@ -3773,6 +3791,10 @@ msgid "" "nutritional values (total energy, protein, carbohydrates, and so on) about " "the whole plan as well as the indivual meals." msgstr "" +"Crea tu plan de dieta personal creando tantas comidas con tantos " +"ingredientes diferentes como necesites. La aplicación calculará los valores " +"nutricionales (energía total, proteínas, hidratos de carbono, etc.) de todo " +"el plan y de cada una de las comidas." #: software/templates/features.html:102 msgid "Diary" @@ -3784,6 +3806,9 @@ msgid "" "diagrams that let you see at a glance how well you are doing. The raw " "numbers are of course still accessible." msgstr "" +"Introduce los pesos y las repeticiones que has hecho en cada ejercicio para " +"generar diagramas que te permitan ver de un vistazo lo bien que lo estás " +"haciendo. Por supuesto, los números en bruto siguen siendo accesibles." #: software/templates/features.html:109 msgid "" @@ -3804,12 +3829,17 @@ msgid "" "Keep track of your progress with the body weight chart. This makes it easy " "to see if you are reaching your goals or need to adjust something." msgstr "" +"Controla tu progreso con la tabla de peso corporal. Esta hace que sea fácil " +"ver si estás alcanzando tus objetivos o necesitas ajustar algo." #: software/templates/features.html:156 msgid "" "Get an overview of how and when you trained as well as how you personally " "felt you performed. Access all your individual diary entries with one click." msgstr "" +"Obtenga una visión general de cómo y cuándo ha entrenado, así como de su " +"rendimiento personal. Accede a todas tus entradas individuales del registro " +"con un solo clic." #: software/templates/features.html:171 msgid "Exercise database" @@ -3835,6 +3865,9 @@ msgid "" "attendance. You can manage the members' contracts, keep notes and upload any " "files you might need." msgstr "" +"Utilice la aplicación en su gimnasio para gestionar a sus socios, sus " +"entrenamientos y su asistencia. Podrás gestionar los contratos de los " +"socios, guardar notas y subir los archivos que necesites." #: software/templates/features.html:213 msgid "" @@ -4027,7 +4060,7 @@ msgstr "" #: weight/views.py:127 #, python-format msgid "Delete weight entry for the %s" -msgstr "" +msgstr "Eliminar la entrada de peso para el %s" #~ msgid "Responsible for the content of this site as per German law §5 TMG:" #~ msgstr "" diff --git a/wger/locale/fa/LC_MESSAGES/django.po b/wger/locale/fa/LC_MESSAGES/django.po index 71d28a824..2a069c98b 100644 --- a/wger/locale/fa/LC_MESSAGES/django.po +++ b/wger/locale/fa/LC_MESSAGES/django.po @@ -9,15 +9,15 @@ msgstr "" "Project-Id-Version: wger Workout Manager\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-08-17 17:23+0200\n" -"PO-Revision-Date: 2021-04-15 07:27+0000\n" -"Last-Translator: Allan Nordhøy \n" +"PO-Revision-Date: 2021-10-17 08:36+0000\n" +"Last-Translator: keyvanmj \n" "Language-Team: Persian \n" "Language: fa\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" -"X-Generator: Weblate 4.6-dev\n" +"X-Generator: Weblate 4.9-dev\n" #: config/models/gym_config.py:46 gym/templates/gym/list.html:50 msgid "Default gym" @@ -40,7 +40,7 @@ msgstr "تمرینات" #: config/models/language_config.py:42 msgid "Ingredients" -msgstr "دستور تهیه" +msgstr "عناصر" #: config/templates/language/overview.html:4 core/templates/navigation.html:228 msgid "Languages" @@ -100,6 +100,7 @@ msgid "Configuration" msgstr "تنظیمات" #: config/templates/language/view.html:35 +#, fuzzy msgid "" "Use the configuration to select in what languages the\n" "exercises and ingredients will be shown for the current language (for " @@ -108,9 +109,8 @@ msgid "" "in A)." msgstr "" "از تنظیمات استفاده کنید \n" -"برای انتخاب اینکه از چه زبانی برای نمایش تمرینات و دستور تهیه استفاده شود " -"(برای مثال تمرینات باید با زبان A, B و C نمایش داده شود، اما دستور تهیه فقط " -"با زبان A)" +"برای انتخاب اینکه از چه زبانی برای نمایش تمرینات و عناصر استفاده شود (برای " +"مثال تمرینات باید با زبان A, B و C نمایش داده شود، اما عناصر فقط با زبان A)" #: config/templates/language/view.html:44 gym/templates/contract/list.html:36 msgid "Show" @@ -208,11 +208,11 @@ msgstr "نمونه برنامه غذایی" #: core/demo.py:349 core/demo.py:351 core/demo.py:353 #, python-brace-format msgid "Placeholder workout nr {0} for schedule" -msgstr "" +msgstr "تمرین نگه دارنده مکان شماره {0} برای برنامه" #: core/demo.py:358 msgid "My cool workout schedule" -msgstr "برنامه تمرین من" +msgstr "برنامه تمرینی جالب من" #: core/demo.py:397 core/demo.py:412 msgid "Empty placeholder schedule" @@ -245,33 +245,31 @@ msgid "Email" msgstr "ایمیل" #: core/forms.py:77 -#, fuzzy -#| msgid "Used for password resets and, optionally, email reminders." msgid "Used for password resets and, optionally, e-mail reminders." -msgstr "استفاده کنید برای بازیابی رمز عبور و یا یادآوری ایمیل" +msgstr "استفاده شده برای بازیابی رمز عبور و به صورت اختیاری, یادآوری ایمیل" #: core/forms.py:102 msgid "Personal data" -msgstr "" +msgstr "اطلاعات شخصی" #: core/forms.py:110 msgid "Workout reminders" -msgstr "" +msgstr "یاداوری تمرین" #: core/forms.py:117 msgid "Other settings" -msgstr "" +msgstr "تنظیمات دیگر" #: core/forms.py:125 core/views/user.py:599 core/views/user.py:614 #: core/views/user.py:626 gym/forms.py:72 manager/templates/log/add.html:65 #: manager/templates/set/add.html:69 manager/views/workout.py:221 #: utils/generic_views.py:142 msgid "Save" -msgstr "" +msgstr "ذخیره" #: core/forms.py:132 msgid "Used for password resets and, optionally, email reminders." -msgstr "استفاده کنید برای بازیابی رمز عبور و یا یادآوری ایمیل" +msgstr "استفاده شده برای بازیابی رمز عبور و به صورت اختیاری, یادآوری ایمیل" #: core/forms.py:160 #, fuzzy @@ -294,7 +292,7 @@ msgstr "پسورد نامعتبر" #: core/forms.py:212 core/forms.py:278 msgid "The form is secured with reCAPTCHA" -msgstr "" +msgstr "این فرم با ریکپچا امن شده است" #: core/forms.py:226 core/forms.py:245 core/templates/navigation.html:190 #: core/templates/navigation.html:195 core/templates/template.html:150 @@ -308,10 +306,8 @@ msgid "Contact" msgstr "ارتباط" #: core/forms.py:257 -#, fuzzy -#| msgid "Some way of answering you (email, etc.)" msgid "Some way of answering you (e-mail, etc.)" -msgstr "راه های ارتباطی (ایمیل و ... )" +msgstr "راه های ارتباطی با شما(ایمیل و ... )" #: core/forms.py:265 exercises/models/comment.py:40 manager/models/set.py:60 #: manager/models/setting.py:99 nutrition/models/log.py:61 @@ -320,7 +316,7 @@ msgstr "نظر" #: core/forms.py:266 msgid "What do you want to say?" -msgstr "چه میخواهید بگویید" +msgstr "چه میخواهید بگویید؟" #: core/models/days_of_week.py:29 msgid "Day of the week" @@ -328,13 +324,16 @@ msgstr "روز در هفته" #: core/models/license.py:29 msgid "Full name" -msgstr "تمام وقت" +msgstr "نام و نام خانوادگی" #: core/models/license.py:31 +#, fuzzy msgid "" "If a license has been localized, e.g. the Creative Commons licenses for the " "different countries, add them as separate entries here." msgstr "" +"اگریک مجوز محلی شده باشد , به عنوان مثال مجوزهای عوام خلاق برای کشورهای " +"مختلف ,ان ها را در اینجا به عنوان ورودی ها جدا اضافه کنید" #: core/models/license.py:38 msgid "Short name, e.g. CC-BY-SA 3" @@ -346,12 +345,12 @@ msgstr "پیوند" #: core/models/license.py:43 msgid "Link to license text or other information" -msgstr "" +msgstr "پیوند به متن مجوز یا سایر اطلاعات" #: core/models/profile.py:52 #, python-format msgid "%(birthdate)s is not a valid birthdate" -msgstr "" +msgstr "%(birthdate)s روز تولد معتبر نمی باشد" #: core/models/profile.py:61 msgid "Male" @@ -387,11 +386,11 @@ msgstr "نمایش نظرات تمرینات" #: core/models/profile.py:112 msgid "Check to show exercise comments on the workout view" -msgstr "انتخاب کنید تا نظرات تمرینات در بخش تمرین نمایش داده شود." +msgstr "بررسی کنید تا نظرات تمرینات در بخش تمرین نمایش داده شود." #: core/models/profile.py:123 msgid "Also use ingredients in English" -msgstr "همچنین مواد مورد نیاز را به انگلیسی نمایش بده" +msgstr "همچنین عناصر مورد نیاز را به انگلیسی نمایش بده" #: core/models/profile.py:125 msgid "" @@ -400,13 +399,15 @@ msgid "" "by the US Department of Agriculture. It is extremely complete, with around\n" "7000 entries, but can be somewhat overwhelming and make the search difficult." msgstr "" -"همچنین مواد مورد نیاز را در زمان تهیه به زبان انگلیسی نمایش بده.\n" -"مواد این لیست، توسط وزارت کشاورزی ایالات متحده تهیه شده است\n" -"بسیار کامل است و شامل 7000 داده می باشد که کمی جستجو در آن گیج کننده است" +"همچنین عناصر مورد نیاز را در زمان ایجاد برنامه غذایی به زبان انگلیسی نمایش " +"بده.\n" +"عناصرخارج شده این لیست، توسط وزارت کشاورزی ایالات متحده تهیه شده است\n" +"بسیار کامل است و شامل 7000 داده می باشد اما می تواند تا حدودی طاقت فرسا باشد " +"و جستجو را دشوار کند." #: core/models/profile.py:134 msgid "Activate workout reminders" -msgstr "تمرینات فعال" +msgstr "یاد اوری تمرینات فعال" #: core/models/profile.py:136 msgid "" @@ -426,13 +427,15 @@ msgstr "تعداد روزهایی را که میخواهید یادآوری به #: core/models/profile.py:152 msgid "Default duration of workouts" -msgstr "میزان متعادل زمان تمرین" +msgstr "مدت زمان پیش فرض زمان تمرین" #: core/models/profile.py:154 msgid "" "Default duration in weeks of workouts not in a schedule. Used for email " "workout reminders." msgstr "" +"مدت زمان پیش فرض در هفته های تمرین نه در برنامه. برای یادآوری تمرینات ایمیل " +"استفاده می شود." #: core/models/profile.py:171 msgid "Notification language" @@ -443,10 +446,13 @@ msgid "" "Language to use when sending you email notifications, e.g. email reminders " "for workouts. This does not affect the language used on the website." msgstr "" +"زبانی که هنگام ارسال اعلان های ایمیل برای شما استفاده می شود ، به عنوان مثال " +"یادآوری ایمیل برای تمرینات این بر زبان مورد استفاده در وب سایت تأثیر نمی " +"گذارد." #: core/models/profile.py:186 gym/views/export.py:66 msgid "Age" -msgstr "سال" +msgstr "سن" #: core/models/profile.py:202 nutrition/forms.py:98 msgid "Height (cm)" diff --git a/wger/locale/fr/LC_MESSAGES/django.mo b/wger/locale/fr/LC_MESSAGES/django.mo index d4989c2a3..3fd775e7c 100644 Binary files a/wger/locale/fr/LC_MESSAGES/django.mo and b/wger/locale/fr/LC_MESSAGES/django.mo differ diff --git a/wger/locale/fr/LC_MESSAGES/django.po b/wger/locale/fr/LC_MESSAGES/django.po index 6522fc241..d6d8b073a 100644 --- a/wger/locale/fr/LC_MESSAGES/django.po +++ b/wger/locale/fr/LC_MESSAGES/django.po @@ -22,15 +22,15 @@ msgstr "" "Project-Id-Version: wger Workout Manager\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-08-17 17:23+0200\n" -"PO-Revision-Date: 2021-08-25 21:34+0000\n" -"Last-Translator: Roland Geider \n" +"PO-Revision-Date: 2021-11-07 16:51+0000\n" +"Last-Translator: J. Lavoie \n" "Language-Team: French \n" "Language: fr\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" -"X-Generator: Weblate 4.8.1-dev\n" +"X-Generator: Weblate 4.9-dev\n" #: config/models/gym_config.py:46 gym/templates/gym/list.html:50 msgid "Default gym" @@ -813,7 +813,7 @@ msgstr "Rien trouvé" #: core/templates/template_features.html:118 #: core/templates/template_no_context.html:88 msgid "Imprint" -msgstr "" +msgstr "Informations légales" #: core/templates/misc/fragments/shariff_modal.html:6 msgid "Share this page" @@ -837,7 +837,7 @@ msgid "" "If a license has been localized, e.g. the Creative Commons\n" "licenses for the different countries, add them as separate entries here." msgstr "" -"Si une licence a été localisée, par exemple les licences Creative Commons " +"Si une licence a été localisée, par exemple les licences Creative Commons\n" "pour les différents pays, ajoutez-les comme des entrées distinctes ici." #: core/templates/navigation.html:22 @@ -862,23 +862,19 @@ msgstr "Calendrier" #: core/templates/navigation.html:44 gallery/templates/images/overview.html:6 msgid "Gallery" -msgstr "" +msgstr "Galerie" #: core/templates/navigation.html:48 -#, fuzzy -#| msgid "Workout complete!" msgid "Workout templates" -msgstr "Séance terminée !" +msgstr "Modèles d'entraînement" #: core/templates/navigation.html:53 manager/views/workout.py:101 -#, fuzzy -#| msgid "Your schedules" msgid "Your templates" -msgstr "Vos programmes" +msgstr "Vos modèles" #: core/templates/navigation.html:59 manager/views/workout.py:115 msgid "Public templates" -msgstr "" +msgstr "Modèles publics" #: core/templates/navigation.html:64 msgctxt "as in sorted by category" @@ -1230,7 +1226,8 @@ msgid "" msgstr "" "Cette action supprimera le compte utilisateur « %(username)s ».\n" "Cela supprimera également définitivement toutes les données qui lui sont " -"associées (entraînements, journaux, etc.) et ne peut être annulé. " +"associées (entraînements, journaux, etc.)\n" +"et ne peut être annulé. " #: core/templates/user/login.html:16 msgid "No account?" @@ -1712,16 +1709,16 @@ msgid "" "Your exercise '%(exercise)s' was successfully added to the general\n" "database." msgstr "" -"Votre exercice « %(exercise)s » a été rajouté avec succès à la base de " -"donnée." +"Votre exercice « %(exercise)s » a été rajouté avec succès à\n" +"la base de donnée." #: exercises/templates/exercise/email_new.tpl:4 msgid "" "It is now available on the exercise and muscle overview and can be\n" "added to workouts. You can access it on this address:" msgstr "" -"Il est maintenant disponible dans la vue d'ensemble des exercices et peut " -"être ajouter à des séances. Vous pouvez y accéder à cette adresse :" +"Il est maintenant disponible dans la vue d'ensemble des exercices\n" +"et peut être ajouté à des séances. Vous pouvez y accéder à cette adresse :" #: exercises/templates/exercise/email_new.tpl:8 #: nutrition/templates/ingredient/email_new.tpl:8 @@ -1775,15 +1772,16 @@ msgid "" "Thank you for correcting and improving this exercise.\n" "This is much appreciated!" msgstr "" -"Merci pour avoir corrigé et amélioré cet exercice. Ceci nous aide beaucoup !" +"Merci pour avoir corrigé et amélioré cet exercice.\n" +"Ceci nous aide beaucoup !" #: exercises/templates/exercise/form_correct.html:8 msgid "" "After you submit the form, the administrators will be notified.\n" "Once the changes are reviewed the exercise will be updated." msgstr "" -"Après avoir soumis le formulaire, un administrateur sera averti. Une fois " -"que les modifications seront vérifiées, l'exercice sera mis à jour." +"Après avoir soumis le formulaire, un administrateur sera averti.\n" +"Une fois que les modifications seront vérifiées, l'exercice sera mis à jour." #: exercises/templates/exercise/overview.html:88 msgid "No categories." @@ -1817,8 +1815,9 @@ msgid "" "This user submitted exercise is pending a decision to be\n" " included in the database." msgstr "" -"Cet utilisateur a soumis l’exercice et est en attente d’une décision avant " -"de figurer dans la base de données." +"Cet utilisateur a soumis l’exercice et est en attente d’une décision avant " +"de\n" +"figurer dans la base de données." #: exercises/templates/exercise/view.html:53 msgid "Till then, it will not be shown in the overview or the search." @@ -1949,10 +1948,8 @@ msgid "Delete exercise image?" msgstr "Supprimer l'image de l'exercice ?" #: gallery/templates/images/overview.html:62 -#, fuzzy -#| msgid "Add new image" msgid "Add image" -msgstr "Ajouter une nouvelle image" +msgstr "Ajouter une image" #: gym/forms.py:59 gym/templates/gym/member_list.html:44 msgid "Trainer" @@ -2221,8 +2218,10 @@ msgid "" "cannot be recovered later." msgstr "" "Veuillez indiquer le mot de passe de l'utilisateur ou enregistrer le fichier " -"exporté qui contient toutes les données de l'utilisateur, et le garder dans " -"un endroit sûr. Le mot de passe ne pourra pas être rétablis plus tard." +"exporté\n" +"qui contient toutes les données de l'utilisateur, et le garder dans un " +"endroit sûr.\n" +"Le mot de passe ne pourra pas être rétablis plus tard." #: gym/templates/gym/new_user.html:57 msgid "Export user data" @@ -2402,10 +2401,8 @@ msgid "Kilometers" msgstr "kilomètres" #: i18n.tpl:35 -#, fuzzy -#| msgid "Reps" msgid "Max Reps" -msgstr "Reps" +msgstr "Reps max" #: i18n.tpl:36 msgid "Miles" @@ -2482,10 +2479,8 @@ msgid "Correction" msgstr "Correction" #: manager/forms.py:89 manager/models/workout.py:59 -#, fuzzy -#| msgid "Make a copy of this workout" msgid "The name of the workout" -msgstr "Faire une copie de cette séance" +msgstr "Le nom de la séance d'entraînement" #: manager/forms.py:93 manager/models/workout.py:66 msgid "" @@ -2651,28 +2646,30 @@ msgstr "Date de création" #: manager/models/workout.py:72 manager/templates/workout/template_view.html:11 #: manager/templates/workout/template_view.html:19 -#, fuzzy -#| msgid "Workout complete!" msgid "Workout template" -msgstr "Séance terminée !" +msgstr "Modèle d'entraînement" #: manager/models/workout.py:74 msgid "" "Marking a workout as a template will freeze it and allow you to make copies " "of it" msgstr "" +"Marquer une séance d'entraînement comme modèle la figera et vous permettra " +"d'en faire des copies" #: manager/models/workout.py:81 msgid "Public template" -msgstr "" +msgstr "Modèle public" #: manager/models/workout.py:82 msgid "A public template is available to other users" -msgstr "" +msgstr "Un modèle public est disponible pour les autres utilisateurs" #: manager/models/workout.py:114 msgid "You must mark this workout as a template before declaring it public" msgstr "" +"Vous devez marquer cet entraînement comme un modèle avant de le déclarer " +"public" #: manager/templates/calendar/day.html:9 manager/templates/calendar/day.html:31 msgid "Workout log" @@ -2697,8 +2694,8 @@ msgid "" "The coloured days in the calendar have weight logs,\n" "you can click on them to see the details." msgstr "" -"Les jours colorés dans le calendrier ont des journaux de poids, vous pouvez " -"cliquer dessus pour voir les détails." +"Les jours colorés dans le calendrier ont des journaux de poids,\n" +"vous pouvez cliquer dessus pour voir les détails." #: manager/templates/calendar/month.html:157 msgid "Go to current month" @@ -2778,9 +2775,10 @@ msgid "" "shown e.g. in your dashboard) till it reaches the last workout or till you\n" "deactivate it, if it is a loop." msgstr "" -"Le calendrier actuellement actif reste actif (et figurer par exemple dans " -"votre tableau de bord) jusqu'à ce qu’elle atteigne la dernière séance " -"d’entraînement, ou jusqu'à ce que vous la désactiver, si c’est une boucle." +"Le calendrier actuellement actif reste actif (et figurer\n" +"par exemple dans votre tableau de bord) jusqu'à ce qu’elle atteigne la " +"dernière séance d’entraînement,\n" +"ou jusqu'à ce que vous la désactiver, si c’est une boucle." #: manager/templates/schedule/overview.html:51 msgid "Add schedule" @@ -2837,9 +2835,10 @@ msgid "" "workout more\n" "than once." msgstr "" -"Ajoutez autant de séances d’entraînements à la planification que vous " -"voulez. Vous pouvez changer l’ordre par glisser-déposer. C’est également " -"possible d’ajouter une séance plus d’une fois." +"Ajoutez autant de séances d’entraînements à la planification que vous voulez." +"\n" +"Vous pouvez changer l’ordre par glisser-déposer.\n" +"C’est également possible d’ajouter une séance plus d’une fois." #: manager/templates/schedule/view.html:231 #: manager/templates/schedule/view.html:241 @@ -2861,9 +2860,10 @@ msgid "" "application for example google calendar, outlook or iCal. This will create\n" "an appointment for each training day with the appropriate exercises." msgstr "" -"Vous pouvez ensuite importer le fichier dans votre application de " -"calendrier, par exemple Google Agenda, Outlook où iCal. Cela va créer un " -"rendez-vous pour chaque jour d'entraînement avec les exercices appropriés." +"Vous pouvez ensuite importer le fichier dans votre application de calendrier," +"\n" +"par exemple Google Agenda, Outlook où iCal. Ceci va créer un rendez-vous\n" +"pour chaque jour d'entraînement avec les exercices appropriés." #: manager/templates/schedule/view.html:256 #: manager/templates/schedule/view.html:290 @@ -2893,9 +2893,10 @@ msgid "" "repetitions, this\n" "automatically becomes \"4 x 10\"." msgstr "" -"Si vous faites les mêmes répétitions pour toutes les séries, vous pouvez " -"juste entrer une valeur : par exemple, pour quatre séries entrez juste une " -"fois « 10 » pour les répétitions, ceci deviendra automatiquement « 4 × 10 »." +"Si vous faites les mêmes répétitions pour toutes les séries,\n" +"vous pouvez juste entrer une valeur : par exemple, pour quatre séries entrez " +"juste une fois « 10 » pour les répétitions,\n" +"ceci deviendra automatiquement « 4 × 10 »." #: manager/templates/set/edit.html:10 msgid "Edit set" @@ -3000,16 +3001,12 @@ msgstr "" "jusqu'à l'échec sont ignorés ici." #: manager/templates/workout/overview.html:25 -#, fuzzy -#| msgid "No schedules found." msgid "No templates found." -msgstr "Aucun programme trouvé." +msgstr "Aucun modèle n'a été trouvé." #: manager/templates/workout/template_view.html:53 -#, fuzzy -#| msgid "Make a copy of this workout" msgid "Mark as workout" -msgstr "Faire une copie de cette séance" +msgstr "Marquer comme entraînement" #: manager/templates/workout/template_view.html:65 #: manager/templates/workout/view.html:97 @@ -3024,10 +3021,8 @@ msgstr "" "Les images montrent les muscles travaillés par les exercices de la séance." #: manager/templates/workout/template_view.html:89 -#, fuzzy -#| msgid "Share this page" msgid "Use this template" -msgstr "Partager cette page" +msgstr "Utiliser ce modèle" #: manager/templates/workout/view.html:72 msgid "Add training day" @@ -3067,7 +3062,7 @@ msgstr "Modifier la séance" #: manager/templates/workout/view.html:225 manager/views/workout.py:300 msgid "Mark as template" -msgstr "" +msgstr "Marquer comme modèle" #: manager/views/day.py:109 msgid "Add workout day" @@ -3534,19 +3529,15 @@ msgid "Goal" msgstr "Objectif" #: nutrition/templates/plan/view.html:382 -#, fuzzy -#| msgid "" -#| "You have selected that this nutritional plan has a\n" -#| " goal amount of calories. Use the calculator or enter the value " -#| "yourself." msgid "" "You have selected that this nutritional plan has a\n" " goal amount of calories. Use the calculator or enter the value\n" " yourself." msgstr "" -"Vous avez sélectionné que ce régime a\n" -"un objectif de calories. Utiliser la calculatrice ou entrez la valeur vous-" -"même." +"Vous avez sélectionné que ce plan nutritionnel a un\n" +" quantité cible de calories. Utilisez la calculatrice ou entrez " +"la valeur\n" +" vous-même." #: nutrition/templates/plan/view.html:392 msgid "" @@ -3738,10 +3729,8 @@ msgstr "" "contactez-nous" #: software/templates/about_us.html:39 -#, fuzzy -#| msgid "Translate" msgid "Translation" -msgstr "Traduire" +msgstr "Traduction" #: software/templates/about_us.html:41 msgid "" diff --git a/wger/locale/he/LC_MESSAGES/django.po b/wger/locale/he/LC_MESSAGES/django.po new file mode 100644 index 000000000..a1f0ab6d1 --- /dev/null +++ b/wger/locale/he/LC_MESSAGES/django.po @@ -0,0 +1,3808 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2021-04-12 00:23+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \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" + +#: config/models.py:54 core/templates/navigation.html:41 +#: exercises/templates/exercise/overview.html:11 manager/forms.py:99 +#: manager/models.py:756 +msgid "Exercises" +msgstr "" + +#: config/models.py:55 +msgid "Ingredients" +msgstr "" + +#: config/models.py:121 gym/templates/gym/list.html:50 +msgid "Default gym" +msgstr "" + +#: config/models.py:122 +msgid "" +"Select the default gym for this installation. This will assign all new " +"registered users to this gym and update all existing users without a gym." +msgstr "" + +#: config/templates/language/overview.html:4 core/templates/navigation.html:203 +msgid "Languages" +msgstr "" + +#: config/templates/language/overview.html:16 +msgid "Nothing found." +msgstr "" + +#: config/templates/language/overview.html:16 core/templates/index.html:145 +#: core/templates/index.html:197 manager/templates/calendar/month.html:132 +#: manager/templates/schedule/overview.html:28 +#: manager/templates/schedule/view.html:146 +#: manager/templates/workout/overview.html:25 +#: nutrition/templates/ingredient/overview.html:45 +#: nutrition/templates/plan/overview.html:23 +#: nutrition/templates/plan/view.html:140 +#: nutrition/templates/plan/view.html:143 +#: nutrition/templates/plan/view.html:163 +msgid "Add one now." +msgstr "" + +#: config/templates/language/overview.html:29 +#: core/templates/license/list.html:38 core/templates/misc/license/list.html:41 +#: core/templates/repetition_unit/list.html:41 +#: core/templates/user/overview.html:327 core/templates/user/overview.html:366 +#: core/templates/user/overview.html:402 +#: core/templates/weight_unit/list.html:41 core/views/languages.py:73 +#: core/views/license.py:65 core/views/repetition_units.py:65 +#: core/views/weight_units.py:65 +#: exercises/templates/categories/admin-overview.html:36 +#: gym/templates/admin_notes/list.html:67 gym/templates/contract/list.html:72 +#: gym/templates/contract_option/list.html:70 +#: gym/templates/contract_type/list.html:70 gym/templates/document/list.html:78 +#: gym/templates/gym/member_list.html:211 +#: gym/templates/gym/member_list.html:244 +#: gym/templates/gym/member_list.html:281 +#: mailer/templates/mailer/gym/overview.html:43 +#: weight/templates/overview.html:136 +msgid "Add" +msgstr "" + +#: config/templates/language/view.html:21 core/models.py:47 +msgid "Language short name" +msgstr "" + +#: config/templates/language/view.html:22 +#: config/templates/language/view.html:43 core/models.py:51 +msgid "Language full name" +msgstr "" + +#: config/templates/language/view.html:34 core/templates/user/overview.html:451 +#: gym/views/admin_config.py:44 gym/views/admin_config.py:58 +#: gym/views/user_config.py:46 +msgid "Configuration" +msgstr "" + +#: config/templates/language/view.html:35 +msgid "" +"Use the configuration to select in what languages the\n" +"exercises and ingredients will be shown for the current language (for " +"example\n" +"the exercises should be shown in languages A, B and C; the ingredients only\n" +"in A)." +msgstr "" + +#: config/templates/language/view.html:44 gym/templates/contract/list.html:36 +msgid "Show" +msgstr "" + +#: config/templates/language/view.html:91 core/templates/user/api_key.html:44 +#: core/templates/user/preferences.html:28 +#: exercises/templates/exercise/view.html:274 +#: exercises/templates/exercise/view.html:297 gym/models.py:525 +#: gym/templates/contract/view.html:41 gym/templates/contract/view.html:106 +#: gym/templates/gym/member_list.html:248 +#: manager/templates/schedule/view.html:281 +#: manager/templates/workout/view.html:202 +#: nutrition/templates/ingredient/view.html:226 +#: nutrition/templates/plan/view.html:373 weight/templates/overview.html:120 +msgid "Options" +msgstr "" + +#: config/templates/language/view.html:96 config/views/gym_config.py:41 +#: config/views/language_config.py:47 core/templates/license/list.html:16 +#: core/templates/misc/license/list.html:17 +#: core/templates/repetition_unit/list.html:17 +#: core/templates/tags/render_day.html:35 +#: core/templates/tags/render_day.html:63 core/templates/user/overview.html:205 +#: core/templates/user/overview.html:446 +#: core/templates/weight_unit/list.html:17 +#: exercises/templates/categories/admin-overview.html:16 +#: exercises/templates/equipment/admin-overview.html:16 +#: exercises/templates/exercise/view.html:181 +#: exercises/templates/exercise/view.html:302 +#: exercises/templates/muscles/admin-overview.html:16 +#: exercises/views/comments.py:62 gym/templates/admin_notes/list.html:32 +#: gym/templates/contract/list.html:31 gym/templates/contract/view.html:107 +#: gym/templates/contract_option/list.html:31 +#: gym/templates/contract_type/list.html:31 gym/templates/document/list.html:38 +#: gym/templates/gym/list.html:19 gym/templates/gym/list.html:43 +#: gym/templates/gym/member_list.html:87 gym/templates/gym/member_list.html:140 +#: gym/templates/gym/member_list.html:176 +#: manager/templates/calendar/day.html:65 +#: manager/templates/calendar/month.html:85 +#: manager/templates/calendar/partial_overview_table.html:18 +#: manager/templates/schedule/view.html:121 +#: nutrition/templates/ingredient/view.html:198 +#: nutrition/templates/plan/view.html:91 nutrition/templates/plan/view.html:116 +#: nutrition/templates/units/list.html:18 +msgid "Edit" +msgstr "" + +#: config/templates/language/view.html:101 core/forms.py:194 +#: core/templates/license/list.html:17 core/templates/misc/license/list.html:20 +#: core/templates/repetition_unit/list.html:18 +#: core/templates/tags/render_day.html:40 +#: core/templates/tags/render_day.html:68 core/templates/user/overview.html:218 +#: core/templates/weight_unit/list.html:18 +#: exercises/templates/categories/admin-overview.html:17 +#: exercises/templates/equipment/admin-overview.html:17 +#: exercises/templates/exercise/view.html:68 +#: exercises/templates/exercise/view.html:155 +#: exercises/templates/exercise/view.html:186 +#: exercises/templates/exercise/view.html:307 +#: exercises/templates/muscles/admin-overview.html:17 +#: gym/templates/admin_notes/list.html:40 +#: gym/templates/contract_option/list.html:39 +#: gym/templates/contract_type/list.html:39 gym/templates/document/list.html:46 +#: gym/templates/gym/list.html:20 manager/templates/calendar/day.html:69 +#: manager/templates/calendar/month.html:89 +#: manager/templates/calendar/partial_overview_table.html:23 +#: manager/templates/schedule/view.html:125 +#: manager/templates/workout/view.html:227 +#: nutrition/templates/ingredient/view.html:199 +#: nutrition/templates/ingredient/view.html:239 +#: nutrition/templates/log/detail.html:197 +#: nutrition/templates/plan/view.html:96 nutrition/templates/plan/view.html:121 +#: nutrition/templates/units/list.html:20 weight/templates/overview.html:88 +msgid "Delete" +msgstr "" + +#: core/demo.py:86 +msgid "Sample workout" +msgstr "" + +#: core/demo.py:90 +msgid "Sample day" +msgstr "" + +#: core/demo.py:94 +msgid "Another sample day" +msgstr "" + +#: core/demo.py:209 +msgid "Sample nutrional plan" +msgstr "" + +#: core/demo.py:341 core/demo.py:343 core/demo.py:345 +#, python-brace-format +msgid "Placeholder workout nr {0} for schedule" +msgstr "" + +#: core/demo.py:350 +msgid "My cool workout schedule" +msgstr "" + +#: core/demo.py:389 core/demo.py:404 +msgid "Empty placeholder schedule" +msgstr "" + +#: core/forms.py:63 core/templates/navigation.html:165 +#: core/templates/navigation.html:169 core/templates/user/login.html:4 +#: software/templates/features.html:43 +msgid "Login" +msgstr "" + +#: core/forms.py:75 core/forms.py:167 gym/views/export.py:61 +#: gym/views/gym.py:210 +msgid "First name" +msgstr "" + +#: core/forms.py:77 core/forms.py:169 core/templates/user/overview.html:267 +#: gym/views/export.py:62 gym/views/gym.py:210 +msgid "Last name" +msgstr "" + +#: core/forms.py:79 core/forms.py:135 core/templates/user/overview.html:271 +#: gym/models.py:62 gym/models.py:569 gym/templates/contract/view.html:77 +#: gym/templates/gym/member_list.html:104 gym/templates/gym/new_user.html:30 +#: gym/views/export.py:60 mailer/templates/mailer/gym/form.html:4 +#: mailer/templates/mailer/gym/overview.html:4 +#: mailer/templates/mailer/gym/preview.html:4 +msgid "Email" +msgstr "" + +#: core/forms.py:80 core/forms.py:136 +msgid "Used for password resets and, optionally, email reminders." +msgstr "" + +#: core/forms.py:105 +msgid "Personal data" +msgstr "" + +#: core/forms.py:111 +msgid "Workout reminders" +msgstr "" + +#: core/forms.py:120 +msgid "Other settings" +msgstr "" + +#: core/forms.py:130 core/views/user.py:584 core/views/user.py:598 +#: core/views/user.py:610 gym/forms.py:71 manager/templates/log/add.html:65 +#: manager/templates/set/add.html:68 manager/templates/workout/timer.html:371 +#: manager/templates/workout/timer.html:512 manager/views/workout.py:189 +#: utils/generic_views.py:141 +msgid "Save" +msgstr "" + +#: core/forms.py:163 +msgid "This email is already used." +msgstr "" + +#: core/forms.py:184 gym/templates/gym/new_user.html:26 +#: gym/templates/gym/reset_user_password.html:24 gym/views/gym.py:210 +msgid "Password" +msgstr "" + +#: core/forms.py:186 +msgid "Please enter your current password." +msgstr "" + +#: core/forms.py:203 +msgid "Invalid password" +msgstr "" + +#: core/forms.py:214 core/forms.py:278 +msgid "Form is secured with reCaptcha" +msgstr "" + +#: core/forms.py:229 core/forms.py:250 core/templates/navigation.html:165 +#: core/templates/navigation.html:170 core/templates/template.html:149 +#: core/templates/user/login.html:20 core/views/user.py:291 +#: software/templates/features.html:38 +msgid "Register" +msgstr "" + +#: core/forms.py:260 +msgid "Contact" +msgstr "" + +#: core/forms.py:261 +msgid "Some way of answering you (email, etc.)" +msgstr "" + +#: core/forms.py:267 exercises/models.py:573 manager/models.py:805 +#: nutrition/models.py:864 +msgid "Comment" +msgstr "" + +#: core/forms.py:268 +msgid "What do you want to say?" +msgstr "" + +#: core/models.py:94 +#, python-format +msgid "%(birthdate)s is not a valid birthdate" +msgstr "" + +#: core/models.py:103 +msgid "Male" +msgstr "" + +#: core/models.py:104 +msgid "Female" +msgstr "" + +#: core/models.py:111 +msgid "Low" +msgstr "" + +#: core/models.py:112 +msgid "Medium" +msgstr "" + +#: core/models.py:113 +msgid "High" +msgstr "" + +#: core/models.py:119 +msgid "Metric (kilogram)" +msgstr "" + +#: core/models.py:120 +msgid "Imperial (pound)" +msgstr "" + +#: core/models.py:149 +msgid "Show exercise comments" +msgstr "" + +#: core/models.py:150 +msgid "Check to show exercise comments on the workout view" +msgstr "" + +#: core/models.py:160 +msgid "Also use ingredients in English" +msgstr "" + +#: core/models.py:161 +msgid "" +"Check to also show ingredients in English while creating\n" +"a nutritional plan. These ingredients are extracted from a list provided\n" +"by the US Department of Agriculture. It is extremely complete, with around\n" +"7000 entries, but can be somewhat overwhelming and make the search difficult." +msgstr "" + +#: core/models.py:167 +msgid "Activate workout reminders" +msgstr "" + +#: core/models.py:168 +msgid "" +"Check to activate automatic reminders for workouts. You need to provide a " +"valid email for this to work." +msgstr "" + +#: core/models.py:174 +msgid "Remind before expiration" +msgstr "" + +#: core/models.py:175 +msgid "The number of days you want to be reminded before a workout expires." +msgstr "" + +#: core/models.py:179 +msgid "Default duration of workouts" +msgstr "" + +#: core/models.py:180 +msgid "" +"Default duration in weeks of workouts not in a schedule. Used for email " +"workout reminders." +msgstr "" + +#: core/models.py:196 +msgid "Notification language" +msgstr "" + +#: core/models.py:197 +msgid "" +"Language to use when sending you email notifications, e.g. email reminders " +"for workouts. This does not affect the language used on the website." +msgstr "" + +#: core/models.py:204 +msgid "Use pauses in workout timer" +msgstr "" + +#: core/models.py:205 +msgid "Check to activate timer pauses between exercises." +msgstr "" + +#: core/models.py:212 +msgid "Default duration of workout pauses" +msgstr "" + +#: core/models.py:213 +msgid "" +"Default duration in seconds of pauses used by the timer in the gym mode." +msgstr "" + +#: core/models.py:224 gym/views/export.py:64 +msgid "Age" +msgstr "" + +#: core/models.py:237 nutrition/forms.py:95 +msgid "Height (cm)" +msgstr "" + +#: core/models.py:250 +msgid "Hours of sleep" +msgstr "" + +#: core/models.py:251 +msgid "The average hours of sleep per day" +msgstr "" + +#: core/models.py:258 +msgid "Work" +msgstr "" + +#: core/models.py:259 core/models.py:293 +msgid "Average hours per day" +msgstr "" + +#: core/models.py:266 core/models.py:283 core/models.py:300 +msgid "Physical intensity" +msgstr "" + +#: core/models.py:267 core/models.py:284 core/models.py:301 +msgid "Approximately" +msgstr "" + +#: core/models.py:275 +msgid "Sport" +msgstr "" + +#: core/models.py:276 +msgid "Average hours per week" +msgstr "" + +#: core/models.py:292 +msgid "Free time" +msgstr "" + +#: core/models.py:309 nutrition/templates/rate/form.html:66 +msgid "Total daily calories" +msgstr "" + +#: core/models.py:310 +msgid "Total caloric intake, including e.g. any surplus" +msgstr "" + +#: core/models.py:320 nutrition/models.py:637 nutrition/models.py:817 +#: nutrition/models.py:879 +msgid "Weight unit" +msgstr "" + +#: core/models.py:326 +msgid "Allow external access" +msgstr "" + +#: core/models.py:327 +msgid "" +"Allow external users to access your workouts and logs in a read-only mode. " +"You need to set this before you can share links e.g. to social media." +msgstr "" + +#: core/models.py:333 +msgid "Automatic reminders for weight entries" +msgstr "" + +#: core/models.py:335 +msgid "Number of days after the last weight entry (enter 0 to deactivate)" +msgstr "" + +#: core/models.py:396 +msgid "The sum of all hours has to be 24" +msgstr "" + +#: core/models.py:552 +msgid "Day of the week" +msgstr "" + +#: core/models.py:573 +msgid "Full name" +msgstr "" + +#: core/models.py:574 +msgid "" +"If a license has been localized, e.g. the Creative Commons licenses for the " +"different countries, add them as separate entries here." +msgstr "" + +#: core/models.py:580 +msgid "Short name, e.g. CC-BY-SA 3" +msgstr "" + +#: core/models.py:583 nutrition/models.py:395 +msgid "Link" +msgstr "" + +#: core/models.py:584 +msgid "Link to license text or other information" +msgstr "" + +#: core/models.py:626 core/models.py:665 core/templates/user/overview.html:263 +#: core/views/user.py:561 exercises/models.py:62 exercises/models.py:101 +#: exercises/models.py:127 exercises/models.py:249 exercises/models.py:253 +#: exercises/templates/exercise/pending.html:15 gym/models.py:53 +#: gym/models.py:335 gym/models.py:387 gym/models.py:436 +#: gym/templates/contract/view.html:50 gym/templates/gym/member_list.html:28 +#: gym/templates/gym/member_list.html:96 gym/views/gym.py:152 +#: manager/models.py:239 nutrition/models.py:270 nutrition/models.py:321 +#: nutrition/models.py:609 nutrition/templates/ingredient/pending.html:15 +#: nutrition/templates/ingredient/view.html:185 +msgid "Name" +msgstr "" + +#: core/templates/403.html:4 +msgid "Forbidden!" +msgstr "" + +#: core/templates/403.html:7 +msgid "Something happened that is not allowed." +msgstr "" + +#: core/templates/404.html:4 +msgid "Page not found" +msgstr "" + +#: core/templates/404.html:7 +msgid "The page you requested does not exist." +msgstr "" + +#: core/templates/500.html:4 core/templates/template_no_context.html:36 +msgid "An error occurred" +msgstr "" + +#: core/templates/500.html:7 +msgid "Something happened that caused an error." +msgstr "" + +#: core/templates/base.html:12 core/templates/base_wide.html:10 +#, python-format +msgid "" +"You are\n" +" browsing the site as the user \"%(current_user)s\", all actions are " +"performed on their data.\n" +" " +msgstr "" + +#: core/templates/base.html:16 core/templates/base_wide.html:14 +#, python-format +msgid "Back to \"%(target)s\"" +msgstr "" + +#: core/templates/base.html:42 core/templates/base_wide.html:40 +msgid "Share" +msgstr "" + +#: core/templates/delete.html:15 +msgid "Are you sure you want to delete this? This action cannot be undone." +msgstr "" + +#: core/templates/index.html:4 manager/templates/workout/timer.html:506 +msgid "Dashboard" +msgstr "" + +#: core/templates/index.html:29 manager/templates/calendar/month.html:115 +msgid "Add log to day" +msgstr "" + +#: core/templates/index.html:33 manager/templates/calendar/month.html:120 +msgid "" +"Click to add weight logs to a training\n" +"day in your current workout:" +msgstr "" + +#: core/templates/index.html:41 core/templates/index.html:81 +#: core/templates/misc/fragments/shariff_modal.html:29 +#: core/templates/template.html:124 manager/templates/calendar/month.html:138 +#: manager/templates/schedule/view.html:246 +#: manager/templates/schedule/view.html:266 +#: manager/templates/workout/timer.html:449 +#: manager/templates/workout/timer.html:476 +#: manager/templates/workout/view.html:128 +#: manager/templates/workout/view.html:177 +msgid "Close" +msgstr "" + +#: core/templates/index.html:52 core/templates/index.html:201 +msgid "Add new diary entry" +msgstr "" + +#: core/templates/index.html:57 +msgid "" +"Click to add an entry to your nutrition diary for today. You can either log " +"a meal as you defined it, or entry any number of custom entries." +msgstr "" + +#: core/templates/index.html:65 core/templates/index.html:169 +#: core/templates/user/overview.html:171 +#: nutrition/templates/ingredient/view.html:79 +#: nutrition/templates/log/detail.html:40 +#: nutrition/templates/log/detail.html:41 +#: nutrition/templates/log/detail.html:187 +#: nutrition/templates/log/overview.html:7 +#: nutrition/templates/log/overview.html:44 +#: nutrition/templates/plan/overview.html:17 +#: nutrition/templates/plan/view.html:64 nutrition/templates/plan/view.html:215 +#: nutrition/templates/plan/view.html:271 +#: nutrition/templates/plan/view.html:291 +#: nutrition/templates/plan/view.html:331 +#: nutrition/templates/plan/view.html:341 +msgid "kcal" +msgstr "" + +#: core/templates/index.html:77 nutrition/templates/plan/view.html:316 +msgid "Add custom diary entry" +msgstr "" + +#: core/templates/index.html:92 core/templates/index.html:100 +#: manager/models.py:103 manager/models.py:393 manager/models.py:857 +#: manager/models.py:980 manager/templates/schedule/view.html:105 +#: manager/templates/workout/view.html:11 +#: manager/templates/workout/view.html:19 manager/views/pdf.py:84 +#: manager/views/pdf.py:155 manager/views/schedule.py:151 +#: manager/views/schedule.py:216 +msgid "Workout" +msgstr "" + +#: core/templates/index.html:126 +msgid "This workout is part of a schedule:" +msgstr "" + +#: core/templates/index.html:131 +msgid "" +"The current workout is selected from your active schedule or, if you don't " +"have one, simply by date." +msgstr "" + +#: core/templates/index.html:140 manager/templates/calendar/month.html:188 +msgid "Add new log" +msgstr "" + +#: core/templates/index.html:145 core/templates/user/overview.html:58 +#: manager/templates/calendar/month.html:128 +#: manager/templates/schedule/view.html:146 +#: manager/templates/workout/overview.html:25 +msgid "No workouts found." +msgstr "" + +#: core/templates/index.html:155 nutrition/models.py:115 +#: nutrition/models.py:672 nutrition/models.py:810 nutrition/models.py:853 +#: nutrition/templates/plan/view.html:11 nutrition/templates/plan/view.html:19 +msgid "Nutrition plan" +msgstr "" + +#: core/templates/index.html:167 core/templates/user/overview.html:155 +#: nutrition/models.py:324 nutrition/templates/ingredient/view.html:77 +#: nutrition/templates/log/detail.html:39 +#: nutrition/templates/log/detail.html:156 +#: nutrition/templates/plan/view.html:55 nutrition/templates/plan/view.html:214 +#: nutrition/templates/plan/view.html:326 +#: nutrition/templates/plan/view.html:330 nutrition/views/plan.py:360 +msgid "Energy" +msgstr "" + +#: core/templates/index.html:173 core/templates/user/overview.html:156 +#: nutrition/models.py:329 nutrition/templates/ingredient/view.html:84 +#: nutrition/templates/log/detail.html:52 +#: nutrition/templates/log/detail.html:174 +#: nutrition/templates/plan/view.html:56 nutrition/templates/plan/view.html:221 +#: nutrition/views/plan.py:362 +msgid "Protein" +msgstr "" + +#: core/templates/index.html:179 core/templates/user/overview.html:157 +#: nutrition/models.py:336 nutrition/templates/ingredient/view.html:90 +#: nutrition/templates/log/detail.html:65 +#: nutrition/templates/log/detail.html:175 +#: nutrition/templates/plan/view.html:57 nutrition/templates/plan/view.html:227 +#: nutrition/views/plan.py:366 +msgid "Carbohydrates" +msgstr "" + +#: core/templates/index.html:185 core/templates/user/overview.html:158 +#: nutrition/models.py:352 nutrition/templates/ingredient/view.html:106 +#: nutrition/templates/log/detail.html:91 +#: nutrition/templates/log/detail.html:176 +#: nutrition/templates/plan/view.html:58 nutrition/templates/plan/view.html:239 +#: nutrition/views/plan.py:376 +msgid "Fat" +msgstr "" + +#: core/templates/index.html:197 nutrition/templates/plan/overview.html:22 +msgid "No nutrition plans." +msgstr "" + +#: core/templates/index.html:211 core/templates/user/overview.html:112 +#: core/templates/user/overview.html:121 manager/forms.py:137 +#: manager/helpers.py:85 manager/models.py:775 manager/models.py:879 +#: manager/templates/log/add.html:54 manager/templates/set/formset.html:12 +#: manager/templates/workout/timer.html:312 +#: manager/templates/workout/timer.html:315 weight/models.py:33 +#: weight/templates/import_csv_preview.html:14 +#: weight/templates/import_csv_preview.html:43 +#: weight/templates/overview.html:49 weight/views.py:151 +msgid "Weight" +msgstr "" + +#: core/templates/index.html:215 +msgid "Your current weight is: " +msgstr "" + +#: core/templates/index.html:248 core/templates/navigation.html:75 +#: weight/views.py:70 +msgid "Add weight entry" +msgstr "" + +#: core/templates/license/list.html:4 core/templates/misc/license/list.html:4 +msgid "License list" +msgstr "" + +#: core/templates/license/list.html:24 core/templates/misc/license/list.html:28 +#: core/templates/repetition_unit/list.html:26 +#: core/templates/user/overview.html:104 core/templates/user/overview.html:136 +#: core/templates/user/overview.html:186 core/templates/user/overview.html:348 +#: core/templates/user/overview.html:384 core/templates/user/overview.html:428 +#: core/templates/weight_unit/list.html:26 +#: exercises/templates/categories/admin-overview.html:24 +#: exercises/templates/equipment/admin-overview.html:24 +#: exercises/templates/exercise/pending.html:30 +#: exercises/templates/muscles/admin-overview.html:24 +#: gym/templates/admin_notes/list.html:52 gym/templates/contract/list.html:60 +#: gym/templates/contract_option/list.html:56 +#: gym/templates/contract_type/list.html:56 gym/templates/document/list.html:63 +#: gym/templates/gym/list.html:27 gym/templates/gym/member_list.html:229 +#: gym/templates/gym/member_list.html:262 +#: gym/templates/gym/member_list.html:299 +#: mailer/templates/mailer/gym/overview.html:30 +#: manager/templates/calendar/day.html:83 +#: nutrition/templates/ingredient/pending.html:30 +#: nutrition/templates/units/list.html:27 +msgid "Nothing found" +msgstr "" + +#: core/templates/misc/about.html:4 +msgid "About us" +msgstr "" + +#: core/templates/misc/about.html:8 +msgid "Responsible for the content of this site as per German law §5 TMG:" +msgstr "" + +#: core/templates/misc/about.html:16 +msgid "GNUPG-Key:" +msgstr "" + +#: core/templates/misc/contact.html:4 core/templates/navigation.html:131 +#: core/templates/template_features.html:86 +#: software/templates/contribute.html:28 +msgid "Get in touch" +msgstr "" + +#: core/templates/misc/contact.html:10 +#, python-format +msgid "" +"Thank you for your interest. Feel free to use any of the\n" +"ways below to send feedback you have about any aspect of the site. For\n" +"support, say hi\n" +"on the discord channel, to report\n" +"a bug, consider doing it through the issue tracker\n" +"." +msgstr "" + +#: core/templates/misc/contact.html:20 +#, python-format +msgid "" +"If you want to further help and improve this project,\n" +"you might also be interested in contributing." +msgstr "" + +#: core/templates/misc/contact.html:29 +msgid "Feedback form" +msgstr "" + +#: core/templates/misc/contact.html:30 +msgid "" +"A simple contact form. Remember that\n" +"if you want an answer, you need to include some way to contact you." +msgstr "" + +#: core/templates/misc/contact.html:35 +msgid "Twitter" +msgstr "" + +#: core/templates/misc/contact.html:36 +msgid "" +"We are also on twitter. Write us and tell us what\n" +"you think! Except patches, don't send patches via twitter." +msgstr "" + +#: core/templates/misc/contact.html:42 +msgid "Discord" +msgstr "" + +#: core/templates/misc/contact.html:43 +msgid "" +"Use the public group to get support for your\n" +"local wger installation, discuss issues or your new idea, etc.\n" +"(no registration needed)" +msgstr "" + +#: core/templates/misc/contact.html:49 +msgid "Open feedback form" +msgstr "" + +#: core/templates/misc/contact.html:53 +msgid "tweet to @wger_project" +msgstr "" + +#: core/templates/misc/contact.html:56 +msgid "Go to the discord server" +msgstr "" + +#: core/templates/misc/fragments/shariff_modal.html:6 +msgid "Share this page" +msgstr "" + +#: core/templates/misc/fragments/shariff_modal.html:18 +msgid "" +"Before you share links on social media you need to allow external access." +msgstr "" + +#: core/templates/misc/fragments/shariff_modal.html:22 +#: nutrition/templates/plan/view.html:351 +#: nutrition/templates/plan/view.html:359 +msgid "That's done here" +msgstr "" + +#: core/templates/misc/license/list.html:45 +msgid "" +"If a license has been localized, e.g. the Creative Commons\n" +"licenses for the different countries, add them as separate entries here." +msgstr "" + +#: core/templates/navigation.html:22 +msgid "Training" +msgstr "" + +#: core/templates/navigation.html:28 core/templates/user/overview.html:25 +#: software/templates/features.html:72 +msgid "Workouts" +msgstr "" + +#: core/templates/navigation.html:34 +msgid "Workouts schedules" +msgstr "" + +#: core/templates/navigation.html:37 core/templates/user/overview.html:70 +#: manager/templates/calendar/month.html:10 +#: manager/templates/calendar/month.html:21 +#: software/templates/features.html:152 +msgid "Calendar" +msgstr "" + +#: core/templates/navigation.html:42 +msgctxt "as in sorted by category" +msgid "by category" +msgstr "" + +#: core/templates/navigation.html:43 +msgctxt "as in sorted by muscle" +msgid "by muscle" +msgstr "" + +#: core/templates/navigation.html:44 +msgctxt "as in sorted by equipment" +msgid "by equipment" +msgstr "" + +#: core/templates/navigation.html:48 +#: exercises/templates/equipment/overview.html:109 +#: exercises/templates/equipment/overview.html:113 +#: exercises/templates/exercise/overview.html:112 +#: exercises/templates/exercise/overview.html:116 +#: exercises/templates/muscles/overview.html:108 +#: exercises/templates/muscles/overview.html:112 +msgid "Add new exercise" +msgstr "" + +#: core/templates/navigation.html:53 core/templates/navigation.html:112 +#: core/templates/navigation.html:201 +msgid "Administration" +msgstr "" + +#: core/templates/navigation.html:54 +#: exercises/templates/exercise/pending.html:6 +msgid "Exercises pending review" +msgstr "" + +#: core/templates/navigation.html:55 exercises/models.py:212 +#: exercises/templates/exercise/view.html:80 +msgid "Equipment" +msgstr "" + +#: core/templates/navigation.html:56 exercises/templates/exercise/view.html:209 +msgid "Muscles" +msgstr "" + +#: core/templates/navigation.html:57 +#: exercises/templates/categories/admin-overview.html:4 +msgid "Categories" +msgstr "" + +#: core/templates/navigation.html:72 +msgid "Body weight" +msgstr "" + +#: core/templates/navigation.html:74 core/templates/user/overview.html:114 +#: weight/templates/overview.html:7 +msgid "Weight overview" +msgstr "" + +#: core/templates/navigation.html:89 software/templates/features.html:87 +msgid "Nutrition" +msgstr "" + +#: core/templates/navigation.html:95 core/templates/user/overview.html:144 +msgid "Nutrition plans" +msgstr "" + +#: core/templates/navigation.html:101 nutrition/templates/bmi/form.html:50 +msgid "BMI calculator" +msgstr "" + +#: core/templates/navigation.html:107 nutrition/templates/rate/form.html:17 +msgid "Daily calories calculator" +msgstr "" + +#: core/templates/navigation.html:109 +#: nutrition/templates/ingredient/overview.html:29 +msgid "Ingredient overview" +msgstr "" + +#: core/templates/navigation.html:113 nutrition/templates/units/list.html:6 +msgid "Ingredient weight units" +msgstr "" + +#: core/templates/navigation.html:114 +#: nutrition/templates/ingredient/pending.html:6 +msgid "Ingredients pending review" +msgstr "" + +#: core/templates/navigation.html:127 +msgid "About this software" +msgstr "" + +#: core/templates/navigation.html:129 core/templates/template_features.html:83 +#: software/templates/contribute.html:6 +msgid "Contribute!" +msgstr "" + +#: core/templates/navigation.html:130 +msgid "Problems and wishes" +msgstr "" + +#: core/templates/navigation.html:133 software/templates/features.html:209 +msgid "REST API" +msgstr "" + +#: core/templates/navigation.html:134 software/templates/license.html:7 +#: utils/models.py:39 +msgid "License" +msgstr "" + +#: core/templates/navigation.html:138 +msgid "Developer documentation" +msgstr "" + +#: core/templates/navigation.html:144 software/templates/contribute.html:60 +msgid "Get the code" +msgstr "" + +#: core/templates/navigation.html:150 software/templates/contribute.html:51 +msgid "Translate with Transifex" +msgstr "" + +#: core/templates/navigation.html:171 core/templates/user/login.html:28 +msgid "Reset password" +msgstr "" + +#: core/templates/navigation.html:184 +msgid "My preferences" +msgstr "" + +#: core/templates/navigation.html:191 +msgid "Logout" +msgstr "" + +#: core/templates/navigation.html:206 +msgid "Licenses" +msgstr "" + +#: core/templates/navigation.html:209 +#: core/templates/repetition_unit/list.html:4 +msgid "Repetition units" +msgstr "" + +#: core/templates/navigation.html:212 core/templates/weight_unit/list.html:4 +#: nutrition/templates/ingredient/view.html:174 +msgid "Weight units" +msgstr "" + +#: core/templates/navigation.html:215 core/templates/user/list.html:4 +msgid "User list" +msgstr "" + +#: core/templates/navigation.html:216 +msgid "Gyms" +msgstr "" + +#: core/templates/registration/password_reset_complete.html:4 +msgid "Password reset complete" +msgstr "" + +#: core/templates/registration/password_reset_complete.html:8 +msgid "Your password has been set. You may go ahead and log in now." +msgstr "" + +#: core/templates/registration/password_reset_complete.html:10 +msgid "Log in" +msgstr "" + +#: core/templates/registration/password_reset_done.html:4 +msgid "Password reset successful" +msgstr "" + +#: core/templates/registration/password_reset_done.html:8 +msgid "" +"We've e-mailed you instructions for setting your password to the e-mail " +"address you submitted. You should be receiving it shortly." +msgstr "" + +#: core/templates/registration/password_reset_email.html:2 +#, python-format +msgid "" +"You're receiving this e-mail because you requested a password reset for your " +"user account at %(site_name)s." +msgstr "" + +#: core/templates/registration/password_reset_email.html:4 +msgid "Please go to the following page and choose a new password:" +msgstr "" + +#: core/templates/registration/password_reset_email.html:9 +msgid "Your username, in case you've forgotten:" +msgstr "" + +#: core/templates/registration/password_reset_email.html:11 +msgid "Thanks for using our site!" +msgstr "" + +#: core/templates/registration/password_reset_email.html:13 +#, python-format +msgid "The %(site_name)s team" +msgstr "" + +#: core/templates/tags/license-sidebar.html:3 +msgid "Free license" +msgstr "" + +#: core/templates/tags/license-sidebar.html:5 +msgid "This content is available under the following license:" +msgstr "" + +#: core/templates/tags/license-sidebar.html:13 +msgid "Click here for more information" +msgstr "" + +#: core/templates/tags/pagination.html:7 core/templates/tags/pagination.html:11 +msgid "previous" +msgstr "" + +#: core/templates/tags/pagination.html:31 +#: core/templates/tags/pagination.html:35 +msgid "next" +msgstr "" + +#: core/templates/tags/render_day.html:31 +msgid "Add weight log" +msgstr "" + +#: core/templates/tags/render_day.html:97 +#: exercises/templates/equipment/overview.html:59 +#: exercises/templates/exercise/overview.html:63 +#: exercises/templates/muscles/overview.html:61 +msgid "Placeholder image for exercise" +msgstr "" + +#: core/templates/tags/render_day.html:112 +msgid "This exercise has no repetitions." +msgstr "" + +#: core/templates/tags/render_day.html:114 +msgid "Edit them now." +msgstr "" + +#: core/templates/tags/render_day.html:139 +msgid "Add exercises to this workout day" +msgstr "" + +#: core/templates/tags/render_weight_log.html:17 manager/helpers.py:85 +#: manager/models.py:767 manager/templates/set/formset.html:10 +msgid "Reps" +msgstr "" + +#: core/templates/tags/render_weight_log.html:30 manager/forms.py:140 +#: manager/models.py:791 manager/models.py:892 +#: manager/templates/log/add.html:56 manager/templates/set/formset.html:14 +msgid "RiR" +msgstr "" + +#: core/templates/template.html:139 +msgid "" +"You are using a guest account, data entered will be deleted after a week." +msgstr "" + +#: core/templates/template.html:143 +msgid "Create some demo entries" +msgstr "" + +#: core/templates/template.html:192 core/templates/template_features.html:103 +#: software/templates/contribute.html:43 +msgid "Translate" +msgstr "" + +#: core/templates/template.html:200 core/templates/template_features.html:121 +#: core/templates/template_no_context.html:88 +msgid "About" +msgstr "" + +#: core/templates/template.html:201 core/templates/template_features.html:125 +#: core/templates/template_no_context.html:89 software/templates/tos.html:7 +msgid "Terms of service" +msgstr "" + +#: core/templates/template.html:208 core/templates/template.html:209 +#: software/templates/license.html:18 software/templates/license.html:19 +msgid "Released under the Affero GPL" +msgstr "" + +#: core/templates/template_features.html:62 software/templates/features.html:9 +#: software/templates/features.html:120 +msgid "Features" +msgstr "" + +#: core/templates/user/api_key.html:4 core/templates/user/preferences.html:37 +msgid "API key" +msgstr "" + +#: core/templates/user/api_key.html:9 +#, python-format +msgid "" +"Generate an API key if you want to interact with wger via\n" +"the REST API it provides (for\n" +"public resources such as the exercises or ingredients, you don't need to " +"provide\n" +"anything). You must pass this information in the header in the format shown " +"below." +msgstr "" + +#: core/templates/user/api_key.html:15 +msgid "For security reasons, you should only access the API via HTTPS." +msgstr "" + +#: core/templates/user/api_key.html:18 +msgid "Your API key" +msgstr "" + +#: core/templates/user/api_key.html:24 +msgid "You have no API key yet" +msgstr "" + +#: core/templates/user/api_key.html:48 +msgid "Delete current API key and generate new one" +msgstr "" + +#: core/templates/user/api_key.html:50 +msgid "Generate new API key" +msgstr "" + +#: core/templates/user/api_key.html:55 +msgid "Documentation" +msgstr "" + +#: core/templates/user/delete_account.html:4 +#: core/templates/user/preferences.html:42 +msgid "Delete account" +msgstr "" + +#: core/templates/user/delete_account.html:17 +msgid "Are you sure?" +msgstr "" + +#: core/templates/user/delete_account.html:22 +#, python-format +msgid "" +"This action will delete the user account \"%(username)s\".\n" +"It will also irrevocably remove all the data associated with it (workouts, " +"logs, etc.)\n" +"and can't be undone. " +msgstr "" + +#: core/templates/user/login.html:16 +msgid "No account?" +msgstr "" + +#: core/templates/user/login.html:24 +msgid "Forgot password?" +msgstr "" + +#: core/templates/user/overview.html:25 core/templates/user/overview.html:68 +#: core/templates/user/overview.html:112 core/templates/user/overview.html:144 +#: core/templates/user/overview.html:331 core/templates/user/overview.html:370 +#: core/templates/user/overview.html:406 +#, python-format +msgid "last %(number)s" +msgstr "" + +#: core/templates/user/overview.html:27 core/templates/user/overview.html:146 +#: core/templates/user/overview.html:326 core/templates/user/overview.html:365 +#: core/templates/user/overview.html:401 gym/templates/gym/member_list.html:210 +#: gym/templates/gym/member_list.html:243 +#: gym/templates/gym/member_list.html:280 +msgid "Overview" +msgstr "" + +#: core/templates/user/overview.html:28 +#: manager/templates/schedule/view.html:164 +#: manager/templates/workout/overview.html:34 manager/views/schedule_step.py:60 +msgid "Add workout" +msgstr "" + +#: core/templates/user/overview.html:34 core/templates/user/overview.html:76 +#: core/templates/user/overview.html:120 core/templates/user/overview.html:153 +#: exercises/models.py:257 manager/helpers.py:84 manager/models.py:890 +#: manager/models.py:986 nutrition/models.py:313 nutrition/models.py:314 +#: nutrition/models.py:401 nutrition/templates/log/overview.html:30 +#: nutrition/templates/plan/view.html:277 weight/models.py:32 +#: weight/templates/import_csv_preview.html:13 +#: weight/templates/import_csv_preview.html:42 +#: weight/templates/overview.html:48 weight/views.py:151 +msgid "Date" +msgstr "" + +#: core/templates/user/overview.html:35 core/templates/user/overview.html:154 +#: exercises/models.py:244 exercises/templates/exercise/view.html:88 +#: exercises/views/exercises.py:183 gym/models.py:393 gym/models.py:442 +#: manager/models.py:83 manager/models.py:395 nutrition/models.py:97 +msgid "Description" +msgstr "" + +#: core/templates/user/overview.html:36 +msgid "Number of logs (days)" +msgstr "" + +#: core/templates/user/overview.html:37 core/views/user.py:562 +#: gym/templates/gym/email_inactive_members.html:4 gym/views/gym.py:152 +msgid "Last activity" +msgstr "" + +#: core/templates/user/overview.html:68 manager/forms.py:225 +#: manager/templates/workout/view.html:147 +msgid "Log" +msgstr "" + +#: core/templates/user/overview.html:77 manager/models.py:1000 +#: manager/templates/calendar/partial_overview_table.html:52 +msgid "General impression" +msgstr "" + +#: core/templates/user/overview.html:78 core/templates/user/overview.html:370 +#: manager/models.py:991 +#: manager/templates/calendar/partial_overview_table.html:56 +#: manager/templates/workout/log.html:101 +msgid "Notes" +msgstr "" + +#: core/templates/user/overview.html:79 +#: manager/templates/calendar/partial_overview_table.html:42 +#: manager/templates/workout/timer.html:500 +#: nutrition/templates/log/detail.html:154 +msgid "Time" +msgstr "" + +#: core/templates/user/overview.html:147 +#: nutrition/templates/plan/overview.html:36 +msgid "Add nutrition plan" +msgstr "" + +#: core/templates/user/overview.html:202 core/templates/user/overview.html:323 +#: core/templates/user/overview.html:362 core/templates/user/overview.html:398 +#: core/templates/user/overview.html:443 gym/templates/gym/list.html:40 +#: gym/templates/gym/member_list.html:84 gym/templates/gym/member_list.html:137 +#: gym/templates/gym/member_list.html:173 +#: gym/templates/gym/member_list.html:207 +#: gym/templates/gym/member_list.html:240 +#: gym/templates/gym/member_list.html:277 +#: manager/templates/schedule/view.html:103 +msgid "Actions" +msgstr "" + +#: core/templates/user/overview.html:208 +msgid "Deactivate user" +msgstr "" + +#: core/templates/user/overview.html:210 +msgid "Activate user" +msgstr "" + +#: core/templates/user/overview.html:212 +msgid "Reset user password" +msgstr "" + +#: core/templates/user/overview.html:215 gym/templates/gym/member_list.html:30 +msgid "Roles" +msgstr "" + +#: core/templates/user/overview.html:226 +msgid "Password reset confirmation" +msgstr "" + +#: core/templates/user/overview.html:230 +msgid "Do you really want to change this user's password?" +msgstr "" + +#: core/templates/user/overview.html:233 +msgid "No" +msgstr "" + +#: core/templates/user/overview.html:234 +msgid "Yes" +msgstr "" + +#: core/templates/user/overview.html:255 gym/templates/gym/member_list.html:93 +msgid "Details" +msgstr "" + +#: core/templates/user/overview.html:259 gym/views/export.py:57 +#: manager/helpers.py:85 manager/templates/schedule/view.html:101 +#: nutrition/templates/plan/view.html:73 nutrition/views/plan.py:283 +#: nutrition/views/plan.py:289 +msgid "Nr." +msgstr "" + +#: core/templates/user/overview.html:281 gym/models.py:56 gym/models.py:592 +#: gym/templates/contract/view.html:75 gym/templates/gym/member_list.html:100 +#: gym/views/export.py:68 +msgid "Phone" +msgstr "" + +#: core/templates/user/overview.html:285 gym/templates/contract/view.html:87 +#: gym/templates/gym/member_list.html:118 +msgid "Address" +msgstr "" + +#: core/templates/user/overview.html:296 +msgid "Registered" +msgstr "" + +#: core/templates/user/overview.html:300 +msgid "Last login" +msgstr "" + +#: core/templates/user/overview.html:305 +msgid "Status" +msgstr "" + +#: core/templates/user/overview.html:308 +msgid "Active" +msgstr "" + +#: core/templates/user/overview.html:310 +msgid "Inactive" +msgstr "" + +#: core/templates/user/overview.html:331 gym/templates/contract/list.html:4 +#: gym/templates/gym/member_list.html:202 +msgid "Contracts" +msgstr "" + +#: core/templates/user/overview.html:406 gym/templates/document/list.html:4 +msgid "Documents" +msgstr "" + +#: core/templates/user/overview.html:413 gym/templates/document/list.html:32 +#: manager/forms.py:237 manager/templates/workout/view.html:172 +msgid "Download" +msgstr "" + +#: core/templates/user/overview.html:454 gym/models.py:210 +msgid "Include in inactive overview" +msgstr "" + +#: core/templates/user/overview.html:487 +msgid "Admin login is only available for users in" +msgstr "" + +#: core/templates/user/overview.html:491 +msgid "Log in as this user" +msgstr "" + +#: core/templates/user/preferences.html:4 +msgid "Preferences" +msgstr "" + +#: core/templates/user/preferences.html:33 core/views/user.py:571 +msgid "Change password" +msgstr "" + +#: core/templatetags/wger_extras.py:210 +msgid "kg" +msgstr "" + +#: core/templatetags/wger_extras.py:212 +#: nutrition/templates/ingredient/view.html:86 +#: nutrition/templates/ingredient/view.html:92 +#: nutrition/templates/ingredient/view.html:99 +#: nutrition/templates/ingredient/view.html:108 +#: nutrition/templates/ingredient/view.html:115 +#: nutrition/templates/ingredient/view.html:137 +#: nutrition/templates/ingredient/view.html:147 +msgctxt "weight unit, i.e. grams" +msgid "g" +msgstr "" + +#: core/templatetags/wger_extras.py:215 +msgid "lb" +msgstr "" + +#: core/templatetags/wger_extras.py:217 +msgctxt "weight unit, i.e. ounces" +msgid "oz" +msgstr "" + +#: core/views/languages.py:85 exercises/views/categories.py:115 +#: exercises/views/equipment.py:107 exercises/views/exercises.py:401 +#: exercises/views/images.py:123 exercises/views/muscles.py:118 +#: manager/views/schedule.py:296 manager/views/schedule_step.py:129 +#: manager/views/workout.py:222 manager/views/workout_session.py:140 +#: nutrition/views/ingredient.py:138 nutrition/views/plan.py:121 +#: nutrition/views/unit.py:107 +msgid "Successfully deleted" +msgstr "" + +#: core/views/languages.py:93 core/views/license.py:103 +#: core/views/repetition_units.py:115 core/views/weight_units.py:115 +#: exercises/views/categories.py:121 exercises/views/exercises.py:409 +#: exercises/views/muscles.py:125 gym/views/admin_notes.py:197 +#: gym/views/document.py:207 gym/views/gym.py:474 manager/views/schedule.py:303 +#: manager/views/schedule_step.py:139 manager/views/workout.py:226 +#: manager/views/workout_session.py:155 nutrition/views/ingredient.py:145 +#: nutrition/views/plan.py:128 nutrition/views/unit.py:114 +#, python-brace-format +msgid "Delete {0}?" +msgstr "" + +#: core/views/languages.py:111 core/views/license.py:84 +#: core/views/repetition_units.py:85 core/views/user.py:446 +#: core/views/weight_units.py:85 exercises/views/categories.py:93 +#: exercises/views/equipment.py:84 exercises/views/exercises.py:288 +#: exercises/views/muscles.py:105 gym/views/admin_notes.py:161 +#: gym/views/config.py:68 gym/views/contract.py:158 +#: gym/views/contract_option.py:123 gym/views/contract_type.py:123 +#: gym/views/document.py:171 gym/views/gym.py:449 manager/views/day.py:100 +#: manager/views/schedule.py:320 manager/views/workout.py:240 +#: nutrition/views/ingredient.py:164 nutrition/views/plan.py:145 +#: nutrition/views/unit.py:138 +#, python-brace-format +msgid "Edit {0}" +msgstr "" + +#: core/views/misc.py:93 +msgid "" +"We have created sample workout, workout schedules, weight logs, (body) " +"weight and nutrition plan entries so you can better see what this site can " +"do. Feel free to edit or delete them!" +msgstr "" + +#: core/views/misc.py:146 +msgid "Rest day" +msgstr "" + +#: core/views/misc.py:185 +msgid "Feedback" +msgstr "" + +#: core/views/misc.py:204 weight/templates/import_csv_form.html:9 +msgid "Submit" +msgstr "" + +#: core/views/misc.py:212 +msgid "Your feedback was successfully sent. Thank you!" +msgstr "" + +#: core/views/user.py:156 +#, python-brace-format +msgid "Account \"{0}\" was successfully deleted" +msgstr "" + +#: core/views/user.py:285 +msgid "You were successfully registered" +msgstr "" + +#: core/views/user.py:335 +msgid "Settings successfully updated" +msgstr "" + +#: core/views/user.py:370 +msgid "The user was successfully deactivated" +msgstr "" + +#: core/views/user.py:403 +msgid "The user was successfully activated" +msgstr "" + +#: core/views/user.py:416 +msgid "Edit user" +msgstr "" + +#: core/views/user.py:559 gym/templates/gym/member_list.html:26 +#: gym/views/gym.py:152 +msgid "ID" +msgstr "" + +#: core/views/user.py:560 gym/forms.py:86 gym/templates/contract/view.html:55 +#: gym/templates/gym/member_list.html:27 gym/views/export.py:59 +#: gym/views/gym.py:152 gym/views/gym.py:210 +msgid "Username" +msgstr "" + +#: core/views/user.py:563 gym/templates/gym/new_user.html:34 +#: gym/views/export.py:58 gym/views/gym.py:210 +msgid "Gym" +msgstr "" + +#: exercises/models.py:63 +msgid "In latin, e.g. \"Pectoralis major\"" +msgstr "" + +#: exercises/models.py:131 +msgid "Exercise Categories" +msgstr "" + +#: exercises/models.py:197 exercises/templates/exercise/view.html:76 +#: nutrition/models.py:408 +msgid "Category" +msgstr "" + +#: exercises/models.py:202 +msgid "Primary muscles" +msgstr "" + +#: exercises/models.py:206 exercises/templates/equipment/overview.html:71 +#: exercises/templates/exercise/overview.html:76 +#: exercises/templates/exercise/view.html:219 +#: exercises/templates/muscles/overview.html:73 +msgid "Secondary muscles" +msgstr "" + +#: exercises/models.py:217 +msgid "Variations" +msgstr "" + +#: exercises/models.py:264 nutrition/models.py:91 nutrition/models.py:309 +#: nutrition/models.py:605 +msgid "Language" +msgstr "" + +#: exercises/models.py:402 exercises/views/exercises.py:439 +msgid "Exercise was successfully added to the general database" +msgstr "" + +#: exercises/models.py:429 +msgid "New user submitted exercise" +msgstr "" + +#: exercises/models.py:431 +#, python-brace-format +msgid "The user {0} submitted a new exercise \"{1}\"." +msgstr "" + +#: exercises/models.py:459 exercises/models.py:569 manager/forms.py:133 +#: manager/helpers.py:85 manager/models.py:854 +msgid "Exercise" +msgstr "" + +#: exercises/models.py:463 +msgid "Image" +msgstr "" + +#: exercises/models.py:464 +msgid "Only PNG and JPEG formats are supported" +msgstr "" + +#: exercises/models.py:468 +msgid "Main picture" +msgstr "" + +#: exercises/models.py:470 +msgid "" +"Tick the box if you want to set this image as the main one for the exercise " +"(will be shown e.g. in the search). The first image is automatically marked " +"by the system." +msgstr "" + +#: exercises/models.py:554 +msgid "New user submitted image" +msgstr "" + +#: exercises/models.py:555 +#, python-brace-format +msgid "The user {0} submitted a new image \"{1}\" for exercise {2}." +msgstr "" + +#: exercises/models.py:574 +msgid "A comment about how to correctly do this exercise." +msgstr "" + +#: exercises/templates/equipment/admin-overview.html:4 +msgid "Equipment list" +msgstr "" + +#: exercises/templates/equipment/admin-overview.html:37 +#: exercises/views/equipment.py:95 +msgid "Add new equipment" +msgstr "" + +#: exercises/templates/equipment/overview.html:11 +msgid "Equipment overview" +msgstr "" + +#: exercises/templates/equipment/overview.html:69 +#: exercises/templates/exercise/overview.html:74 +#: exercises/templates/exercise/view.html:215 +#: exercises/templates/muscles/overview.html:71 +msgid "Main muscles" +msgstr "" + +#: exercises/templates/equipment/overview.html:79 +msgid "" +"No exercises for this equipment. Add or edit an exercise and set the " +"equipment." +msgstr "" + +#: exercises/templates/equipment/overview.html:96 +#: exercises/templates/exercise/overview.html:99 +#: nutrition/templates/ingredient/overview.html:57 +msgid "Search" +msgstr "" + +#: exercises/templates/equipment/overview.html:101 +#: exercises/templates/exercise/overview.html:104 +msgid "exercise name" +msgstr "" + +#: exercises/templates/equipment/overview.html:115 +#: exercises/templates/exercise/overview.html:118 +#: exercises/templates/muscles/overview.html:114 +#: nutrition/templates/ingredient/overview.html:85 +#: software/templates/contribute.html:39 +msgid "Only registered users can do this" +msgstr "" + +#: exercises/templates/exercise/email_new.tpl:1 +#, python-format +msgid "" +"Your exercise '%(exercise)s' was successfully added to the general\n" +"database." +msgstr "" + +#: exercises/templates/exercise/email_new.tpl:4 +msgid "" +"It is now available on the exercise and muscle overview and can be\n" +"added to workouts. You can access it on this address:" +msgstr "" + +#: exercises/templates/exercise/email_new.tpl:8 +#: nutrition/templates/ingredient/email_new.tpl:8 +msgid "Thank you for contributing and making this site better!" +msgstr "" + +#: exercises/templates/exercise/email_new.tpl:9 +#: manager/templates/workout/email_reminder.tpl:15 +#: manager/templates/workout/email_weight_reminder.tpl:12 +#: nutrition/templates/ingredient/email_new.tpl:9 +#, python-format +msgid "The %(site)s team" +msgstr "" + +#: exercises/templates/exercise/form.html:4 +msgid "Submitting an exercise" +msgstr "" + +#: exercises/templates/exercise/form.html:5 +msgid "" +"Thank you for submitting an exercise. This is much\n" +"appreciated!" +msgstr "" + +#: exercises/templates/exercise/form.html:8 +msgid "" +"After you submit the form, the administrators will be notified.\n" +"Once it is reviewed, it will be added to the database. Till this happens,\n" +"it will not be visible in the overview or the search. In case you added your " +"email\n" +"when you registered, you will get notified when the process is completed " +"successfully." +msgstr "" + +#: exercises/templates/exercise/form_correct.html:4 +msgid "Correcting an exercise" +msgstr "" + +#: exercises/templates/exercise/form_correct.html:5 +msgid "" +"Thank you for correcting and improving this exercise.\n" +"This is much appreciated!" +msgstr "" + +#: exercises/templates/exercise/form_correct.html:8 +msgid "" +"After you submit the form, the administrators will be notified.\n" +"Once the changes are reviewed the exercise will be updated." +msgstr "" + +#: exercises/templates/exercise/overview.html:88 +msgid "No categories." +msgstr "" + +#: exercises/templates/exercise/overview.html:88 +msgid "Use link to create one" +msgstr "" + +#: exercises/templates/exercise/pending.html:14 +#: nutrition/templates/ingredient/pending.html:14 +msgid "Submission date" +msgstr "" + +#: exercises/templates/exercise/pending.html:16 gym/forms.py:58 +#: gym/templates/gym/email_inactive_members.html:4 +#: gym/templates/gym/new_user.html:22 +#: gym/templates/gym/reset_user_password.html:20 manager/models.py:88 +#: manager/models.py:230 manager/models.py:850 manager/models.py:971 +#: nutrition/models.py:87 nutrition/templates/ingredient/pending.html:16 +#: weight/models.py:38 +msgid "User" +msgstr "" + +#: exercises/templates/exercise/view.html:48 +msgid "Exercise is pending review" +msgstr "" + +#: exercises/templates/exercise/view.html:51 +msgid "" +"This user submitted exercise is pending a decision to be\n" +" included in the database." +msgstr "" + +#: exercises/templates/exercise/view.html:53 +msgid "Till then, it will not be shown in the overview or the search." +msgstr "" + +#: exercises/templates/exercise/view.html:54 +#: nutrition/templates/ingredient/view.html:31 +msgid "Please select one of the options below." +msgstr "" + +#: exercises/templates/exercise/view.html:60 +#: exercises/templates/exercise/view.html:153 +#: nutrition/templates/ingredient/view.html:38 +msgid "Accept" +msgstr "" + +#: exercises/templates/exercise/view.html:64 +#: exercises/templates/exercise/view.html:154 +#: nutrition/templates/ingredient/view.html:42 +msgid "Decline" +msgstr "" + +#: exercises/templates/exercise/view.html:96 +msgid "Images" +msgstr "" + +#: exercises/templates/exercise/view.html:137 exercises/views/images.py:90 +msgid "Add new image" +msgstr "" + +#: exercises/templates/exercise/view.html:147 +msgid "Images pending review" +msgstr "" + +#: exercises/templates/exercise/view.html:169 +msgid "Comments for this exercise" +msgstr "" + +#: exercises/templates/exercise/view.html:197 +msgid "Add new comment" +msgstr "" + +#: exercises/templates/exercise/view.html:211 +msgid "The diagram shows the most used muscles on this exercise" +msgstr "" + +#: exercises/templates/exercise/view.html:252 +#: manager/templates/workout/log.html:10 manager/templates/workout/log.html:11 +msgid "Weight log" +msgstr "" + +#: exercises/templates/exercise/view.html:257 +msgid "Exercise Variations" +msgstr "" + +#: exercises/templates/exercise/view.html:278 +msgid "Submit a correction" +msgstr "" + +#: exercises/templates/muscles/admin-overview.html:4 +#: exercises/templates/muscles/overview.html:7 +msgid "Muscle overview" +msgstr "" + +#: exercises/templates/muscles/admin-overview.html:36 +#: exercises/views/muscles.py:86 +msgid "Add muscle" +msgstr "" + +#: exercises/templates/muscles/overview.html:81 +msgid "" +"No exercises for this muscle. Add or edit an exercise and set the muscle." +msgstr "" + +#: exercises/views/categories.py:69 +msgid "Add category" +msgstr "" + +#: exercises/views/categories.py:114 +msgid "This will also delete all exercises in this category." +msgstr "" + +#: exercises/views/comments.py:79 +msgid "Add exercise comment" +msgstr "" + +#: exercises/views/equipment.py:108 exercises/views/equipment.py:119 +msgid "Delete equipment?" +msgstr "" + +#: exercises/views/exercises.py:218 +#, python-format +msgid "" +"%(name_original)s is too similar to existing exercise \"%(exercise_name)s\"" +msgstr "" + +#: exercises/views/exercises.py:232 software/templates/contribute.html:37 +msgid "Add exercise" +msgstr "" + +#: exercises/views/exercises.py:349 +msgid "Thank you. Once the changes are reviewed the exercise will be updated." +msgstr "" + +#: exercises/views/exercises.py:362 +#, python-brace-format +msgid "Correct {0}" +msgstr "" + +#: exercises/views/exercises.py:400 +msgid "This will delete the exercise from all workouts." +msgstr "" + +#: exercises/views/exercises.py:452 +msgid "Exercise was successfully marked as rejected" +msgstr "" + +#: exercises/views/images.py:67 +msgid "Edit exercise image" +msgstr "" + +#: exercises/views/images.py:138 +msgid "Delete exercise image?" +msgstr "" + +#: gym/forms.py:60 gym/templates/gym/member_list.html:44 +msgid "Trainer" +msgstr "" + +#: gym/forms.py:62 +msgid "Gym administrator" +msgstr "" + +#: gym/forms.py:64 gym/templates/gym/member_list.html:52 +msgid "General manager" +msgstr "" + +#: gym/forms.py:89 +msgid "Required. 30 characters or fewer. Letters, digits and @/./+/-/_ only." +msgstr "" + +#: gym/forms.py:92 +msgid "This value may contain only letters, numbers and @/.//-/_ characters." +msgstr "" + +#: gym/forms.py:105 +msgid "A user with that username already exists." +msgstr "" + +#: gym/management/commands/inactive-members.py:97 gym/models.py:123 +msgid "Reminder of inactive members" +msgstr "" + +#: gym/models.py:41 +msgid "Trainer: can see the users for a gym" +msgstr "" + +#: gym/models.py:42 +msgid "Admin: can manage users for a gym" +msgstr "" + +#: gym/models.py:43 +msgid "Admin: can administrate the different gyms" +msgstr "" + +#: gym/models.py:67 gym/templates/gym/member_list.html:114 +msgid "Owner" +msgstr "" + +#: gym/models.py:73 gym/models.py:574 gym/views/export.py:65 +msgid "ZIP code" +msgstr "" + +#: gym/models.py:79 gym/models.py:580 gym/views/export.py:66 +msgid "City" +msgstr "" + +#: gym/models.py:85 gym/models.py:586 gym/views/export.py:67 +msgid "Street" +msgstr "" + +#: gym/models.py:124 +msgid "" +"Number of weeks since the last time a user logged his presence to be " +"considered inactive" +msgstr "" + +#: gym/models.py:131 gym/templates/gym/member_list.html:152 +msgid "Show name in header" +msgstr "" + +#: gym/models.py:132 +msgid "Show the name of the gym in the site header" +msgstr "" + +#: gym/models.py:142 +msgid "Configuration for {}" +msgstr "" + +#: gym/models.py:185 gym/templates/gym/member_list.html:184 +msgid "Overview of inactive members" +msgstr "" + +#: gym/models.py:186 +msgid "Receive email overviews of inactive members" +msgstr "" + +#: gym/models.py:211 +msgid "Include this user in the email list with inactive members" +msgstr "" + +#: gym/models.py:263 gym/models.py:342 gym/models.py:606 +#: gym/templates/contract/view.html:96 +msgid "Note" +msgstr "" + +#: gym/models.py:322 +msgid "Document" +msgstr "" + +#: gym/models.py:336 +msgid "Will use file name if nothing provided" +msgstr "" + +#: gym/models.py:475 +msgid "Yearly" +msgstr "" + +#: gym/models.py:476 +msgid "Half yearly" +msgstr "" + +#: gym/models.py:477 +msgid "Monthly" +msgstr "" + +#: gym/models.py:478 +msgid "Biweekly" +msgstr "" + +#: gym/models.py:479 +msgid "Weekly" +msgstr "" + +#: gym/models.py:480 +msgid "Daily" +msgstr "" + +#: gym/models.py:518 gym/templates/contract/view.html:34 +msgid "Contract type" +msgstr "" + +#: gym/models.py:531 gym/templates/contract/view.html:59 +#: manager/templates/log/add.html:52 nutrition/forms.py:58 +#: nutrition/models.py:643 nutrition/models.py:827 nutrition/models.py:889 +msgid "Amount" +msgstr "" + +#: gym/models.py:539 gym/templates/contract/view.html:63 +msgid "Payment type" +msgstr "" + +#: gym/models.py:543 +msgid "How often the amount will be charged to the member" +msgstr "" + +#: gym/models.py:548 gym/templates/contract/view.html:24 +msgid "Contract is active" +msgstr "" + +#: gym/models.py:554 gym/templates/contract/view.html:69 manager/models.py:245 +#: manager/templates/schedule/view.html:70 +msgid "Start date" +msgstr "" + +#: gym/models.py:562 gym/templates/contract/view.html:71 +msgid "End date" +msgstr "" + +#: gym/models.py:598 gym/templates/contract/view.html:92 +msgid "Profession" +msgstr "" + +#: gym/templates/admin_notes/list.html:4 +msgid "User notes" +msgstr "" + +#: gym/templates/contract/view.html:4 +msgid "Contract" +msgstr "" + +#: gym/templates/contract_option/list.html:4 +msgid "Contract options" +msgstr "" + +#: gym/templates/contract_type/list.html:4 +msgid "Contract types" +msgstr "" + +#: gym/templates/gym/email_inactive_members.html:2 +#, python-format +msgid "" +"The following users have not visited the gym in the last %(weeks)s weeks" +msgstr "" + +#: gym/templates/gym/list.html:6 +msgid "Gym list" +msgstr "" + +#: gym/templates/gym/list.html:47 +msgid "Global gym configuration" +msgstr "" + +#: gym/templates/gym/list.html:64 gym/views/gym.py:164 +msgid "Add new gym" +msgstr "" + +#: gym/templates/gym/member_list.html:22 +msgid "Administrators and trainers" +msgstr "" + +#: gym/templates/gym/member_list.html:48 +msgid "Gym manager" +msgstr "" + +#: gym/templates/gym/member_list.html:69 +msgid "This gym has no administrators or trainers" +msgstr "" + +#: gym/templates/gym/member_list.html:88 +msgid "Export" +msgstr "" + +#: gym/templates/gym/member_list.html:125 +msgid "Members" +msgstr "" + +#: gym/templates/gym/member_list.html:145 +msgid "Gym configuration" +msgstr "" + +#: gym/templates/gym/member_list.html:148 +msgid "Inactive members" +msgstr "" + +#: gym/templates/gym/member_list.html:149 +msgid "weeks" +msgstr "" + +#: gym/templates/gym/member_list.html:181 +msgid "My configuration" +msgstr "" + +#: gym/templates/gym/member_list.html:215 +msgid "Types" +msgstr "" + +#: gym/templates/gym/member_list.html:285 +msgid "Emails" +msgstr "" + +#: gym/templates/gym/member_list.html:315 +msgid "Add member" +msgstr "" + +#: gym/templates/gym/new_user.html:38 +msgid "Date of Birth" +msgstr "" + +#: gym/templates/gym/new_user.html:48 manager/templates/calendar/month.html:144 +#: manager/templates/log/add.html:75 manager/templates/workout/timer.html:443 +#: manager/templates/workout/timer.html:470 +#: nutrition/templates/rate/form.html:120 +msgid "Info" +msgstr "" + +#: gym/templates/gym/new_user.html:50 +msgid "" +"Please write down the user password or save the exported\n" +"file, which contains all the user data, and keep it in a safe place. The " +"password\n" +"cannot be recovered later." +msgstr "" + +#: gym/templates/gym/new_user.html:57 +msgid "Export user data" +msgstr "" + +#: gym/templates/gym/reset_user_password.html:32 +msgid "" +"This user's password has been reset. Please notify the user of their new " +"password." +msgstr "" + +#: gym/views/admin_notes.py:94 gym/views/document.py:94 +msgid "Add note" +msgstr "" + +#: gym/views/contract.py:56 +msgid "Add contract" +msgstr "" + +#: gym/views/contract_option.py:60 +msgid "Add option" +msgstr "" + +#: gym/views/contract_option.py:160 gym/views/contract_type.py:160 +#, python-brace-format +msgid "Delete {0}" +msgstr "" + +#: gym/views/contract_type.py:60 +msgid "Add contract type" +msgstr "" + +#: gym/views/export.py:63 +msgid "Gender" +msgstr "" + +#: gym/views/gym.py:332 +msgid "Add user to gym" +msgstr "" + +#: gym/views/gym.py:428 +msgid "Edit gym" +msgstr "" + +#: mailer/forms.py:35 mailer/templates/mailer/gym/preview.html:32 +msgctxt "As in \"email subject\"" +msgid "Subject" +msgstr "" + +#: mailer/forms.py:36 mailer/templates/mailer/gym/preview.html:40 +msgctxt "As in \"content of an email\"" +msgid "Content" +msgstr "" + +#: mailer/templates/mailer/gym/form.html:23 +msgid "Generate preview" +msgstr "" + +#: mailer/templates/mailer/gym/form.html:28 +#: mailer/templates/mailer/gym/preview.html:62 +#: manager/templates/workout/view.html:84 +msgid "Steps" +msgstr "" + +#: mailer/templates/mailer/gym/form.html:30 +#: mailer/templates/mailer/gym/preview.html:64 +msgid "Fill in the form" +msgstr "" + +#: mailer/templates/mailer/gym/form.html:31 +#: mailer/templates/mailer/gym/preview.html:65 +msgid "You will receive a preview email for you to review" +msgstr "" + +#: mailer/templates/mailer/gym/form.html:32 +#: mailer/templates/mailer/gym/preview.html:66 +msgid "" +"You can update and correct the content as often as you need before sending " +"the emails" +msgstr "" + +#: mailer/templates/mailer/gym/preview.html:22 +msgid "Current version" +msgstr "" + +#: mailer/templates/mailer/gym/preview.html:47 +msgid "Send emails" +msgstr "" + +#: mailer/templates/mailer/gym/preview.html:51 +#: mailer/templates/mailer/gym/preview.html:56 +msgid "Correction" +msgstr "" + +#: manager/forms.py:77 +msgid "The goal or description of the new workout." +msgstr "" + +#: manager/forms.py:102 +msgid "" +"You can search for more than one exercise, they will be grouped together for " +"a superset." +msgstr "" + +#: manager/forms.py:127 manager/forms.py:130 manager/models.py:759 +#: manager/models.py:784 manager/models.py:861 manager/models.py:883 +#: manager/templates/log/add.html:53 manager/templates/log/add.html:55 +#: manager/templates/set/formset.html:11 manager/templates/set/formset.html:13 +#: nutrition/forms.py:62 +msgid "Unit" +msgstr "" + +#: manager/forms.py:135 manager/models.py:868 manager/templates/set/add.html:52 +#: manager/templates/workout/timer.html:302 +#: manager/templates/workout/timer.html:305 +msgid "Repetitions" +msgstr "" + +#: manager/forms.py:224 +msgid "Type" +msgstr "" + +#: manager/forms.py:226 manager/templates/workout/view.html:153 +msgid "Table" +msgstr "" + +#: manager/forms.py:228 manager/templates/workout/view.html:159 +msgid "with images" +msgstr "" + +#: manager/forms.py:230 manager/templates/workout/view.html:165 +msgid "with comments" +msgstr "" + +#: manager/management/commands/email-reminders.py:121 +msgid "Workout will expire soon" +msgstr "" + +#: manager/models.py:82 nutrition/models.py:94 +msgid "Creation date" +msgstr "" + +#: manager/models.py:86 +msgid "" +"A short description or goal of the workout. For example 'Focus on back' or " +"'Week 1 of program xy'." +msgstr "" + +#: manager/models.py:241 +msgid "Name or short description of the schedule. For example 'Program XYZ'." +msgstr "" + +#: manager/models.py:249 manager/templates/schedule/view.html:74 +msgid "Schedule active" +msgstr "" + +#: manager/models.py:251 +msgid "" +"Tick the box if you want to mark this schedule as your active one (will be " +"shown e.g. on your dashboard). All other schedules will then be marked as " +"inactive" +msgstr "" + +#: manager/models.py:257 manager/templates/schedule/view.html:84 +msgid "Is a loop" +msgstr "" + +#: manager/models.py:259 +msgid "" +"Tick the box if you want to repeat the schedules in a loop (i.e. A, B, C, A, " +"B, C, and so on)" +msgstr "" + +#: manager/models.py:338 +msgid "schedule" +msgstr "" + +#: manager/models.py:345 +msgid "Duration" +msgstr "" + +#: manager/models.py:346 +msgid "The duration in weeks" +msgstr "" + +#: manager/models.py:351 manager/models.py:571 manager/models.py:802 +#: nutrition/models.py:675 nutrition/models.py:822 +msgid "Order" +msgstr "" + +#: manager/models.py:396 +msgid "" +"A description of what is done on this day (e.g. \"Pull day\") or what body " +"parts are trained (e.g. \"Arms and abs\")" +msgstr "" + +#: manager/models.py:400 +msgid "Day" +msgstr "" + +#: manager/models.py:567 +msgid "Exercise day" +msgstr "" + +#: manager/models.py:573 +msgid "Number of sets" +msgstr "" + +#: manager/models.py:754 +msgid "Sets" +msgstr "" + +#: manager/models.py:965 +msgid "Bad" +msgstr "" + +#: manager/models.py:966 +msgid "Neutral" +msgstr "" + +#: manager/models.py:967 +msgid "Good" +msgstr "" + +#: manager/models.py:994 +msgid "Any notes you might want to save about this workout session." +msgstr "" + +#: manager/models.py:1004 +msgid "" +"Your impression about this workout session. Did you exercise as well as you " +"could?" +msgstr "" + +#: manager/models.py:1010 +msgid "Start time" +msgstr "" + +#: manager/models.py:1017 +msgid "Finish time" +msgstr "" + +#: manager/models.py:1043 +msgid "If you enter a time, you must enter both start and end time." +msgstr "" + +#: manager/models.py:1046 +msgid "The start time cannot be after the end time." +msgstr "" + +#: manager/templates/calendar/day.html:9 manager/templates/calendar/day.html:31 +msgid "Workout log" +msgstr "" + +#: manager/templates/calendar/day.html:12 +#, python-format +msgid "Workout log for %(username)s for %(date)s" +msgstr "" + +#: manager/templates/calendar/month.html:13 +#, python-format +msgid "Calendar for %(username)s" +msgstr "" + +#: manager/templates/calendar/month.html:53 +msgid "Detail page" +msgstr "" + +#: manager/templates/calendar/month.html:145 +msgid "" +"The coloured days in the calendar have weight logs,\n" +"you can click on them to see the details." +msgstr "" + +#: manager/templates/calendar/month.html:157 +msgid "Go to current month" +msgstr "" + +#: manager/templates/calendar/partial_overview_table.html:5 +msgid "Log overview" +msgstr "" + +#: manager/templates/calendar/partial_overview_table.html:12 +msgid "Workout session" +msgstr "" + +#: manager/templates/calendar/partial_overview_table.html:27 +msgid "Delete with logs" +msgstr "" + +#: manager/templates/calendar/partial_overview_table.html:33 +msgid "Add workout impression" +msgstr "" + +#: manager/templates/log/add.html:20 +msgid "New weight log" +msgstr "" + +#: manager/templates/log/add.html:76 +msgid "" +"A new workout session (impression, notes, time) will\n" +"be created if there isn't already one for the selected date. If there is, " +"it\n" +"will simply be edited. Weight entries are always added." +msgstr "" + +#: manager/templates/schedule/overview.html:5 +msgid "Your schedules" +msgstr "" + +#: manager/templates/schedule/overview.html:19 +#: manager/templates/schedule/view.html:134 +#: manager/templates/schedule/view.html:190 +#: manager/templates/workout/overview.html:16 +msgid "active" +msgstr "" + +#: manager/templates/schedule/overview.html:28 +msgid "No schedules found." +msgstr "" + +#: manager/templates/schedule/overview.html:36 +msgid "" +"Schedules are collections of workouts that you do in\n" +"succession." +msgstr "" + +#: manager/templates/schedule/overview.html:39 +msgid "" +"You can indicate how long you want to do each workout\n" +"before jumping to the next. It is also possible to create a loop, so you\n" +"always do the same workouts in succession, e.g. A > B > C > A > B > C and so " +"on." +msgstr "" + +#: manager/templates/schedule/overview.html:43 +msgid "" +"The currently active schedule will remain active (and be\n" +"shown e.g. in your dashboard) till it reaches the last workout or till you\n" +"deactivate it, if it is a loop." +msgstr "" + +#: manager/templates/schedule/overview.html:51 +msgid "Add schedule" +msgstr "" + +#: manager/templates/schedule/view.html:10 +msgid "Schedule" +msgstr "" + +#: manager/templates/schedule/view.html:88 +msgid "" +"This schedule is a loop and will go through the workouts above till you " +"deactivate it" +msgstr "" + +#: manager/templates/schedule/view.html:106 manager/views/schedule.py:165 +#: manager/views/schedule.py:230 +msgid "Weeks" +msgstr "" + +#: manager/templates/schedule/view.html:118 +msgid "Move me" +msgstr "" + +#: manager/templates/schedule/view.html:158 +msgid "Start schedule" +msgstr "" + +#: manager/templates/schedule/view.html:183 +#, python-format +msgid "" +"%(weeks)s Week\n" +" " +msgid_plural "" +"%(weeks)s Weeks\n" +" " +msgstr[0] "" +msgstr[1] "" + +#: manager/templates/schedule/view.html:220 +msgid "Adding workouts" +msgstr "" + +#: manager/templates/schedule/view.html:222 +msgid "" +"Add as many workouts to the schedule as you want. You can\n" +"edit the order by dragging and dropping them. It's also possible to add one " +"workout more\n" +"than once." +msgstr "" + +#: manager/templates/schedule/view.html:231 +#: manager/templates/schedule/view.html:241 +#: manager/templates/schedule/view.html:286 +#: manager/templates/workout/view.html:113 +#: manager/templates/workout/view.html:123 +#: manager/templates/workout/view.html:217 +msgid "Export calendar file" +msgstr "" + +#: manager/templates/schedule/view.html:235 +msgid "Export this schedule as a calendar file." +msgstr "" + +#: manager/templates/schedule/view.html:236 +#: manager/templates/workout/view.html:118 +msgid "" +"You can then import the file it into your calendar\n" +"application for example google calendar, outlook or iCal. This will create\n" +"an appointment for each training day with the appropriate exercises." +msgstr "" + +#: manager/templates/schedule/view.html:256 +#: manager/templates/schedule/view.html:290 +#: manager/templates/workout/view.html:138 +#: manager/templates/workout/view.html:213 +#: nutrition/templates/plan/view.html:378 +msgid "Download as PDF" +msgstr "" + +#: manager/templates/schedule/view.html:295 +msgid "Edit schedule" +msgstr "" + +#: manager/templates/schedule/view.html:300 +msgid "Delete schedule" +msgstr "" + +#: manager/templates/set/add.html:9 +#, python-format +msgid "Add exercises to day \"%(day_name)s\"" +msgstr "" + +#: manager/templates/set/add.html:54 +msgid "" +"If you do the same repetitions for all sets,\n" +"you can just enter one value: e.g. for 4 sets just enter one \"10\" for the " +"repetitions, this\n" +"automatically becomes \"4 x 10\"." +msgstr "" + +#: manager/templates/set/edit.html:10 +msgid "Edit set" +msgstr "" + +#: manager/templates/set/edit.html:25 +msgid "Update" +msgstr "" + +#: manager/templates/workout/email_reminder.tpl:3 +#, python-format +msgid "Your current workout '%(workout)s' expired %(days)s days ago." +msgstr "" + +#: manager/templates/workout/email_reminder.tpl:5 +#, python-format +msgid "Your current workout '%(workout)s' is about to expire in %(days)s days." +msgstr "" + +#: manager/templates/workout/email_reminder.tpl:9 +msgid "" +"You will regularly receive such reminders till you add a new workout.\n" +"Alternatively you can add workouts to a loop schedule, such schedules\n" +"never produce reminders." +msgstr "" + +#: manager/templates/workout/email_reminder.tpl:12 +#: manager/templates/workout/email_weight_reminder.tpl:9 +msgid "" +"If you don't want to ever receive email reminders, deactivate the\n" +"option in your settings." +msgstr "" + +#: manager/templates/workout/email_weight_reminder.tpl:3 +#, python-format +msgid "" +"Your last weight entry is from %(date)s (%(days)s days ago).\n" +"Please click the link to access the application and enter a new one." +msgstr "" + +#: manager/templates/workout/email_weight_reminder.tpl:8 +msgid "" +"You will regularly receive such reminders till you enter your current weight." +msgstr "" + +#: manager/templates/workout/log.html:29 +msgid "Weight log for workout" +msgstr "" + +#: manager/templates/workout/log.html:45 nutrition/templates/plan/view.html:339 +msgid "Goal" +msgstr "" + +#: manager/templates/workout/log.html:55 +msgid "Add weight log to this day" +msgstr "" + +#: manager/templates/workout/log.html:81 +msgid "No weight entries here." +msgstr "" + +#: manager/templates/workout/log.html:89 +msgid "No exercises for this day." +msgstr "" + +#: manager/templates/workout/log.html:102 +msgid "" +"This page shows the weight logs belonging to this workout\n" +"only. Click on an exercise to see all the historical data for\n" +"it." +msgstr "" + +#: manager/templates/workout/log.html:106 +msgid "" +"If on a single day there is more than one entry with the\n" +"same number of repetitions, but different weights, only the entry with the\n" +"higher weight is shown in the diagram." +msgstr "" + +#: manager/templates/workout/log.html:110 +msgid "" +"Note that only entries with a weight unit (kg or lb) and\n" +"repetitions are charted, other combinations such as time or until failure\n" +"are ignored here." +msgstr "" + +#: manager/templates/workout/overview.html:5 +msgid "Your workouts" +msgstr "" + +#: manager/templates/workout/timer.html:260 +msgid "Your workout today" +msgstr "" + +#: manager/templates/workout/timer.html:271 +msgid "Start!" +msgstr "" + +#: manager/templates/workout/timer.html:357 +msgid "reps" +msgstr "" + +#: manager/templates/workout/timer.html:366 +#: manager/templates/workout/timer.html:415 +msgid "Skip" +msgstr "" + +#: manager/templates/workout/timer.html:390 +msgid "Pause!" +msgstr "" + +#: manager/templates/workout/timer.html:428 +msgid "Workout complete!" +msgstr "" + +#: manager/templates/workout/view.html:68 +msgid "Add training day" +msgstr "" + +#: manager/templates/workout/view.html:72 +msgid "Show/Hide exercise comments" +msgstr "" + +#: manager/templates/workout/view.html:87 +msgid "Add training days" +msgstr "" + +#: manager/templates/workout/view.html:88 +msgid "Add workout sets to days" +msgstr "" + +#: manager/templates/workout/view.html:89 +msgid "Set the repetitions for each set" +msgstr "" + +#: manager/templates/workout/view.html:93 +msgid "Muscles trained" +msgstr "" + +#: manager/templates/workout/view.html:96 +msgid "" +"Images show combined muscles as trained by the exercises on the workout." +msgstr "" + +#: manager/templates/workout/view.html:117 +msgid "Export this workout as a calendar file." +msgstr "" + +#: manager/templates/workout/view.html:184 +msgid "Logs" +msgstr "" + +#: manager/templates/workout/view.html:186 +msgid "View logs" +msgstr "" + +#: manager/templates/workout/view.html:208 manager/views/schedule_step.py:99 +msgid "Edit workout" +msgstr "" + +#: manager/templates/workout/view.html:221 +msgid "Make a copy of this workout" +msgstr "" + +#: manager/views/day.py:109 +msgid "Add workout day" +msgstr "" + +#: manager/views/log.py:92 +#, python-format +msgid "Edit log entry for %s" +msgstr "" + +#: manager/views/log.py:109 +msgid "Delete workout log" +msgstr "" + +#: manager/views/pdf.py:86 manager/views/pdf.py:157 +#, python-format +msgid "Workout for %s" +msgstr "" + +#: manager/views/schedule.py:277 +msgid "Create schedule" +msgstr "" + +#: manager/views/workout.py:194 +msgid "Copy workout" +msgstr "" + +#: manager/views/workout.py:197 +msgid "Copy" +msgstr "" + +#: manager/views/workout_session.py:70 +#, python-brace-format +msgid "Edit workout impression for {0}" +msgstr "" + +#: manager/views/workout_session.py:114 +#, python-brace-format +msgid "New workout impression for the {0}" +msgstr "" + +#: manager/views/workout_session.py:157 +msgid "This will delete all weight logs for this day as well." +msgstr "" + +#: nutrition/forms.py:116 +msgid "Calculate" +msgstr "" + +#: nutrition/forms.py:185 nutrition/templates/rate/form.html:76 +msgid "Basic caloric intake" +msgstr "" + +#: nutrition/forms.py:186 +msgid "Your basic caloric intake as calculated for your data" +msgstr "" + +#: nutrition/forms.py:190 +msgid "Additional calories" +msgstr "" + +#: nutrition/forms.py:191 +msgid "" +"Additional calories to add to the base rate (to substract, enter a negative " +"number)" +msgstr "" + +#: nutrition/forms.py:217 nutrition/models.py:634 nutrition/models.py:814 +#: nutrition/models.py:872 nutrition/templates/log/detail.html:155 +msgid "Ingredient" +msgstr "" + +#: nutrition/models.py:98 +msgid "" +"A description of the goal of the plan, e.g. \"Gain mass\" or \"Prepare for " +"summer\"" +msgstr "" + +#: nutrition/models.py:100 +msgid "Use daily calories" +msgstr "" + +#: nutrition/models.py:102 +msgid "" +"Tick the box if you want to mark this plan as having a goal amount of " +"calories. You can use the calculator or enter the value yourself." +msgstr "" + +#: nutrition/models.py:274 +msgid "Ingredient Categories" +msgstr "" + +#: nutrition/models.py:325 +msgid "In kcal per 100g" +msgstr "" + +#: nutrition/models.py:330 nutrition/models.py:337 nutrition/models.py:346 +#: nutrition/models.py:353 nutrition/models.py:362 nutrition/models.py:371 +#: nutrition/models.py:380 +msgid "In g per 100g of product" +msgstr "" + +#: nutrition/models.py:345 nutrition/templates/ingredient/view.html:96 +#: nutrition/templates/log/detail.html:78 +#: nutrition/templates/plan/view.html:233 nutrition/views/plan.py:373 +msgid "Sugar content in carbohydrates" +msgstr "" + +#: nutrition/models.py:361 nutrition/templates/ingredient/view.html:112 +#: nutrition/templates/log/detail.html:104 +#: nutrition/templates/plan/view.html:245 nutrition/views/plan.py:380 +msgid "Saturated fat content in fats" +msgstr "" + +#: nutrition/models.py:370 nutrition/templates/ingredient/view.html:134 +#: nutrition/templates/log/detail.html:122 +#: nutrition/templates/log/detail.html:178 +#: nutrition/templates/plan/view.html:256 nutrition/views/plan.py:383 +msgid "Fibres" +msgstr "" + +#: nutrition/models.py:379 nutrition/templates/ingredient/view.html:144 +#: nutrition/templates/log/detail.html:135 +#: nutrition/templates/log/detail.html:181 +#: nutrition/templates/plan/view.html:262 nutrition/views/plan.py:385 +msgid "Sodium" +msgstr "" + +#: nutrition/models.py:396 +msgid "Link to product" +msgstr "" + +#: nutrition/models.py:414 +msgid "Brand name of product" +msgstr "" + +#: nutrition/models.py:473 +#, python-brace-format +msgid "" +"The 123 total energy ({energy}kcal) is not the approximate sum of the energy " +"provided by protein, carbohydrates and fat ({energy_calculated}kcal +/-" +"{approx}%)" +msgstr "" + +#: nutrition/models.py:552 nutrition/views/ingredient.py:219 +msgid "Ingredient was successfully added to the general database" +msgstr "" + +#: nutrition/models.py:575 +msgid "New user submitted ingredient" +msgstr "" + +#: nutrition/models.py:576 +#, python-brace-format +msgid "The user {0} submitted a new ingredient \"{1}\"." +msgstr "" + +#: nutrition/models.py:639 +msgid "Amount in grams" +msgstr "" + +#: nutrition/models.py:644 +msgid "Unit amount, e.g. \"1 Cup\" or \"1/2 spoon\"" +msgstr "" + +#: nutrition/models.py:680 +msgid "Time (approx)" +msgstr "" + +#: nutrition/templates/bmi/form.html:62 +msgid "Results" +msgstr "" + +#: nutrition/templates/bmi/form.html:63 +msgid "Your BMI is: " +msgstr "" + +#: nutrition/templates/bmi/form.html:71 +msgid "Legend" +msgstr "" + +#: nutrition/templates/bmi/form.html:75 +msgid "Adipositas III" +msgstr "" + +#: nutrition/templates/bmi/form.html:79 +msgid "Adipositas II" +msgstr "" + +#: nutrition/templates/bmi/form.html:83 +msgid "Adipositas I" +msgstr "" + +#: nutrition/templates/bmi/form.html:87 +msgid "Overweight" +msgstr "" + +#: nutrition/templates/bmi/form.html:91 +msgid "Normal weight" +msgstr "" + +#: nutrition/templates/bmi/form.html:95 +msgid "Slight underweight" +msgstr "" + +#: nutrition/templates/bmi/form.html:99 +msgid "Moderate underweight" +msgstr "" + +#: nutrition/templates/bmi/form.html:103 +msgid "Strong underweight" +msgstr "" + +#: nutrition/templates/bmi/form.html:117 +msgid "" +"Use the form to calculate your BMI (Body Mass Index).\n" +"If you have entered data in the weight section, the last entry will\n" +"be used automatically. Otherwise the weight you enter here will be saved\n" +"in a new entry." +msgstr "" + +#: nutrition/templates/ingredient/email_new.tpl:1 +#, python-format +msgid "" +"Your ingredient '%(ingredient)s' was successfully added to the general\n" +"database." +msgstr "" + +#: nutrition/templates/ingredient/email_new.tpl:4 +msgid "" +"It is now available on the ingredient overview and can be\n" +"added to nutrition plans. You can access it on this address:" +msgstr "" + +#: nutrition/templates/ingredient/form.html:4 +msgid "Submitting an ingredient" +msgstr "" + +#: nutrition/templates/ingredient/form.html:5 +msgid "" +"Thank you for submitting an ingredient. This is much\n" +"appreciated!" +msgstr "" + +#: nutrition/templates/ingredient/form.html:8 +msgid "" +"After you submit the form, the administrators will be notified.\n" +"Once it is reviewed, it will be added to the database. Till this happens,\n" +"it will not be visible in the overview or the search. In case you added your " +"email\n" +"when you registered, you will get notified when the process is completed " +"sucessfully." +msgstr "" + +#: nutrition/templates/ingredient/overview.html:45 +msgid "No ingredients." +msgstr "" + +#: nutrition/templates/ingredient/overview.html:66 +msgid "ingredient name" +msgstr "" + +#: nutrition/templates/ingredient/overview.html:79 +#: nutrition/templates/ingredient/overview.html:83 +msgid "Add ingredient" +msgstr "" + +#: nutrition/templates/ingredient/view.html:27 +msgid "Ingredient is pending review" +msgstr "" + +#: nutrition/templates/ingredient/view.html:28 +msgid "" +"This user submitted ingredient is pending a decision to be\n" +"included in the database. Till then, it will not be shown in the overview " +"or\n" +"the search." +msgstr "" + +#: nutrition/templates/ingredient/view.html:71 +#: nutrition/templates/log/detail.html:31 +#: nutrition/templates/plan/view.html:200 nutrition/views/plan.py:356 +msgid "Macronutrients" +msgstr "" + +#: nutrition/templates/ingredient/view.html:80 +#: nutrition/templates/plan/view.html:64 nutrition/templates/plan/view.html:216 +msgid "kJ" +msgstr "" + +#: nutrition/templates/ingredient/view.html:101 +#: nutrition/templates/ingredient/view.html:117 +#: nutrition/templates/ingredient/view.html:139 +#: nutrition/templates/ingredient/view.html:149 +msgid "n.A." +msgstr "" + +#: nutrition/templates/ingredient/view.html:128 +#: nutrition/templates/log/detail.html:119 +#: nutrition/templates/plan/view.html:253 +msgid "Others" +msgstr "" + +#: nutrition/templates/ingredient/view.html:165 +msgid "User submitted ingredient" +msgstr "" + +#: nutrition/templates/ingredient/view.html:167 +#, python-format +msgid "This exercise was submitted by %(username)s." +msgstr "" + +#: nutrition/templates/ingredient/view.html:177 +#: nutrition/templates/units/list.html:44 nutrition/views/unit.py:84 +msgid "Add new weight unit" +msgstr "" + +#: nutrition/templates/ingredient/view.html:230 +#: nutrition/templates/ingredient/view.html:233 +msgid "Edit ingredient" +msgstr "" + +#: nutrition/templates/ingredient/view.html:237 +msgid "Delete ingredient" +msgstr "" + +#: nutrition/templates/log/detail.html:7 +#: nutrition/templates/log/overview.html:7 +#: nutrition/templates/plan/view.html:271 +msgid "Nutrition diary" +msgstr "" + +#: nutrition/templates/log/detail.html:32 +msgid "Planned" +msgstr "" + +#: nutrition/templates/log/detail.html:33 +#: nutrition/templates/log/overview.html:31 +#: nutrition/templates/plan/view.html:278 +msgid "Logged" +msgstr "" + +#: nutrition/templates/log/detail.html:34 +#: nutrition/templates/log/overview.html:32 +#: nutrition/templates/plan/view.html:279 +msgid "Difference" +msgstr "" + +#: nutrition/templates/log/detail.html:150 +msgid "Entries" +msgstr "" + +#: nutrition/templates/log/detail.html:170 +msgid "g" +msgstr "" + +#: nutrition/templates/log/overview.html:53 +#: nutrition/templates/plan/view.html:300 +msgid "nothing found" +msgstr "" + +#: nutrition/templates/plan/overview.html:5 +msgid "Your nutrition plans" +msgstr "" + +#: nutrition/templates/plan/view.html:53 +msgid "Meal" +msgstr "" + +#: nutrition/templates/plan/view.html:54 +msgid "Contents" +msgstr "" + +#: nutrition/templates/plan/view.html:83 +msgid "Log this meal" +msgstr "" + +#: nutrition/templates/plan/view.html:87 +msgid "Add ingredient to meal" +msgstr "" + +#: nutrition/templates/plan/view.html:142 +msgid "No items for this meal." +msgstr "" + +#: nutrition/templates/plan/view.html:162 +msgid "No meals for this plan." +msgstr "" + +#: nutrition/templates/plan/view.html:173 +msgid "Log this Plan" +msgstr "" + +#: nutrition/templates/plan/view.html:179 +msgid "Add a new meal" +msgstr "" + +#: nutrition/templates/plan/view.html:189 nutrition/views/plan.py:354 +msgid "Nutritional data" +msgstr "" + +#: nutrition/templates/plan/view.html:192 +#, python-format +msgid "Based on the weight entry dated %(date)s (%(weight)s)" +msgstr "" + +#: nutrition/templates/plan/view.html:201 nutrition/views/plan.py:357 +msgid "Total" +msgstr "" + +#: nutrition/templates/plan/view.html:202 nutrition/views/plan.py:358 +msgid "Percent of energy" +msgstr "" + +#: nutrition/templates/plan/view.html:205 nutrition/views/plan.py:359 +msgid "g per body kg" +msgstr "" + +#: nutrition/templates/plan/view.html:207 +msgid "oz per body lb" +msgstr "" + +#: nutrition/templates/plan/view.html:307 +msgid "View complete nutrition log" +msgstr "" + +#: nutrition/templates/plan/view.html:349 +msgid "" +"You have selected that this nutritional plan has a\n" +" goal amount of calories. Use the calculator or enter the value yourself." +msgstr "" + +#: nutrition/templates/plan/view.html:358 +msgid "" +"If you find the ingredient list too short, you might want to activate the " +"preference to also show English ingredients." +msgstr "" + +#: nutrition/templates/plan/view.html:383 +msgid "Edit nutrition plan" +msgstr "" + +#: nutrition/templates/plan/view.html:387 +msgid "Make a copy of this nutrition plan" +msgstr "" + +#: nutrition/templates/plan/view.html:392 +msgid "Delete nutrition plan" +msgstr "" + +#: nutrition/templates/rate/form.html:25 +msgid "Basal metabolic rate" +msgstr "" + +#: nutrition/templates/rate/form.html:26 +msgid "" +"The basal metabolic rate is the amount of energy expended daily\n" +"at rest. This is the minimum energy needed for the body to function, without " +"any\n" +"additional physical activity." +msgstr "" + +#: nutrition/templates/rate/form.html:37 +msgid "Your basic metabolic rate is: " +msgstr "" + +#: nutrition/templates/rate/form.html:47 +msgid "Physical activities" +msgstr "" + +#: nutrition/templates/rate/form.html:48 +msgid "" +"The physical activity level (PAL) is a factor used to to express\n" +"the additional physical activity and is used to calculate the total energy\n" +"required per day." +msgstr "" + +#: nutrition/templates/rate/form.html:59 +msgid "Factor for daily activities: " +msgstr "" + +#: nutrition/templates/rate/form.html:67 +msgid "" +"The base caloric intake is the amount of calories your metabolism\n" +"needs based on your level of physical activity." +msgstr "" + +#: nutrition/templates/rate/form.html:81 +msgid "Calculate basic caloric intake" +msgstr "" + +#: nutrition/templates/rate/form.html:88 +msgid "" +"The total calories are the actual total calories per day. This\n" +"might include e.g. a surplus or deficit if you are bulking or cutting. " +"Alternatively\n" +"you might just enter yourself the amount of calories if you know the value." +msgstr "" + +#: nutrition/templates/rate/form.html:102 +msgid "Transfer basic intake to total daily calories" +msgstr "" + +#: nutrition/templates/rate/form.html:106 +msgid "Add additional calories to total daily calories" +msgstr "" + +#: nutrition/templates/rate/form.html:110 +msgid "Save total calories to profile" +msgstr "" + +#: nutrition/templates/rate/form.html:121 +msgid "" +"Please note that these calculations can only be an\n" +"approximation. If you base your nutrition plan on these values, observe\n" +"yourself for some weeks and change the total amount if needed." +msgstr "" + +#: nutrition/views/ingredient.py:175 +msgid "Add a new ingredient" +msgstr "" + +#: nutrition/views/ingredient.py:232 +msgid "Ingredient was successfully marked as rejected" +msgstr "" + +#: nutrition/views/log.py:212 nutrition/views/unit_ingredient.py:134 +msgid "Delete?" +msgstr "" + +#: nutrition/views/meal.py:55 +msgid "Add new meal" +msgstr "" + +#: nutrition/views/meal.py:80 +msgid "Edit meal" +msgstr "" + +#: nutrition/views/meal_item.py:112 +msgid "Edit meal item" +msgstr "" + +#: nutrition/views/plan.py:261 +msgid "Nutritional plan" +msgstr "" + +#: nutrition/views/plan.py:263 +#, python-format +msgid "Nutritional plan for %s" +msgstr "" + +#: nutrition/views/plan.py:330 +msgid "This is an empty plan, what did you expect on the PDF?" +msgstr "" + +#: nutrition/views/unit_ingredient.py:68 +msgid "Add a new weight unit" +msgstr "" + +#: nutrition/views/unit_ingredient.py:103 +msgid "Edit a weight unit to ingredient connection" +msgstr "" + +#: software/templates/contribute.html:9 +msgid "" +"wger Workout Manager is build by volunteers,\n" +"the development process is open and freely accessible to anybody " +"interested.\n" +"If you are new to the free software world, we recommend to take a\n" +"look this\n" +"article which summarizes they way open source projects work very well. " +msgstr "" + +#: software/templates/contribute.html:16 +msgid "" +"Any kind of contribution is appreciated and welcome.\n" +"Use this opportunity and influence the direction of the\n" +"project. " +msgstr "" + +#: software/templates/contribute.html:23 +msgid "Use the site" +msgstr "" + +#: software/templates/contribute.html:24 +msgid "" +"Simply use the site and tell your friends\n" +"how useful it is! ;) . When you find something that you specially liked,\n" +"could need some improvements or just doesn't work, tell us! This might not " +"sound\n" +"like much, but is incredibly important!" +msgstr "" + +#: software/templates/contribute.html:31 +msgid "Submit exercises" +msgstr "" + +#: software/templates/contribute.html:32 +msgid "" +"Submit those cool exercises that you absolutely\n" +"love and do every week but are not in the list yet. If you think some " +"description\n" +"is too short or some other detail is missing or could be improved, tell!" +msgstr "" + +#: software/templates/contribute.html:44 +msgid "" +"Do you want to use wger in your own language?\n" +"Do you think the current translation could be improved?\n" +"The translations are easily managed and edited online, if you are " +"interested,\n" +"go to the transifex site, request access and we will set everything\n" +"up. " +msgstr "" + +#: software/templates/contribute.html:54 +msgid "Code" +msgstr "" + +#: software/templates/contribute.html:55 +msgid "" +"Obviously, you are highly encouraged to clone the\n" +"repo and start hacking! Once you are ready, send a pull request and we\n" +"will show the world. Take a look at the developer guide for more details\n" +"on this." +msgstr "" + +#: software/templates/contribute.html:67 +msgid "Our goal" +msgstr "" + +#: software/templates/contribute.html:70 +msgid "" +"The goal is to build an awesome\n" +"and flexible fitness manager, along with a comprehensive and complete list " +"of exercises and\n" +"ingredients, all released under a free license." +msgstr "" + +#: software/templates/features.html:12 +msgid "" +"wger Workout Manager is a free, open source web application that manages " +"your exercises and workouts. " +msgstr "" + +#: software/templates/features.html:24 +msgid "Welcome to wger" +msgstr "" + +#: software/templates/features.html:25 +msgid "Your body." +msgstr "" + +#: software/templates/features.html:26 +msgid "Your workouts." +msgstr "" + +#: software/templates/features.html:27 +msgid "Your data." +msgstr "" + +#: software/templates/features.html:28 +msgid "Your progress." +msgstr "" + +#: software/templates/features.html:31 +msgid "Try it now" +msgstr "" + +#: software/templates/features.html:55 +msgid "Your advantages" +msgstr "" + +#: software/templates/features.html:57 +msgid "" +"wger Workout Manager is a free, open source web application that manages " +"your exercises, workouts and nutrition. It started as a pet project of mine " +"to replace my growing collection of different spreadsheets, but it has " +"become something other people could also find useful." +msgstr "" + +#: software/templates/features.html:74 +msgid "" +"You can create and manage flexible workout routines for any goals you have. " +"Select exactly which exercises you'll do and how many repetitions, time or " +"distance you want to do them. You can also combine different workouts into a " +"schedule." +msgstr "" + +#: software/templates/features.html:89 +msgid "" +"Create your personal diet plan by creating as many meals with as many " +"different ingredients as you need. The application will calculate the " +"nutritional values (total energy, protein, carbohydrates, and so on) about " +"the whole plan as well as the indivual meals." +msgstr "" + +#: software/templates/features.html:102 +msgid "Diary" +msgstr "" + +#: software/templates/features.html:104 +msgid "" +"Enter the weights and repetitions you did for each exercise to generate " +"diagrams that let you see at a glance how well you are doing. The raw " +"numbers are of course still accessible." +msgstr "" + +#: software/templates/features.html:109 +msgid "" +"You can also enter notes and a general impression (great, neutral, etc.)" +msgstr "" + +#: software/templates/features.html:121 +msgid "Among many others" +msgstr "" + +#: software/templates/features.html:133 +msgid "Weight tracker" +msgstr "" + +#: software/templates/features.html:137 +msgid "" +"Keep track of your progress with the body weight chart. This makes it easy " +"to see if you are reaching your goals or need to adjust something." +msgstr "" + +#: software/templates/features.html:156 +msgid "" +"Get an overview of how and when you trained as well as how you personally " +"felt you performed. Access all your individual diary entries with one click." +msgstr "" + +#: software/templates/features.html:171 +msgid "Exercise database" +msgstr "" + +#: software/templates/features.html:175 +msgid "" +"The exercise database contains more than hundred exercises from which you " +"can choose when creating a workout. You can view them by category and " +"equipment used or muscles trained." +msgstr "" + +#: software/templates/features.html:190 +msgid "Gym management" +msgstr "" + +#: software/templates/features.html:194 +msgid "" +"Use the application for your gym to manage its members, their workouts and " +"attendance. You can manage the members' contracts, keep notes and upload any " +"files you might need." +msgstr "" + +#: software/templates/features.html:213 +msgid "" +"wger provides a REST API with full read and write access to all data so you " +"can integrate your own application and tools." +msgstr "" + +#: software/templates/features.html:223 +#, python-format +msgid "100%% Free
and
Open Source" +msgstr "" + +#: software/templates/issues.html:6 +msgid "Reporting a problem" +msgstr "" + +#: software/templates/issues.html:10 +msgid "" +"\n" +"No software is perfect. For some severe errors, an email will be " +"automatically sent, but\n" +"not always, so I depend on you reporting everything that didn't behave as " +"expected.\n" +"Please describe in as much detail as you can what you were doing when the " +"error\n" +"happened.\n" +msgstr "" + +#: software/templates/issues.html:21 +msgid "report problem to the issue tracker" +msgstr "" + +#: software/templates/issues.html:25 +msgid "Enhancements" +msgstr "" + +#: software/templates/issues.html:27 +msgid "" +"\n" +"The issue tracker can also be used to document enhancements to the " +"software.\n" +"If you have some suggestions or think a feature is missing, feel\n" +"free to open a ticket. This can be anything from a slight change to a whole\n" +"new section of the site. Please keep in mind that not all wishes can be\n" +"implemented." +msgstr "" + +#: software/templates/issues.html:36 +msgid "report wish to the issue tracker" +msgstr "" + +#: software/templates/issues.html:41 +msgid "No Github account?" +msgstr "" + +#: software/templates/issues.html:42 +msgid "" +"Filing an issue requires a github account, if you don't\n" +"have one and don't want to register, you can also send it to\n" +"the mailing list." +msgstr "" + +#: software/templates/license.html:10 +msgid "" +"wger Workout Manager is Free/Libre Open Source\n" +"Software (FLOSS)." +msgstr "" + +#: software/templates/license.html:22 +msgid "" +"wger Workout Manager is released under the Affero GNU\n" +"General Public License (AGPL) Version 3+ and can (under the " +"conditions\n" +"of the license) be used, modified and distributed (also with modifications)\n" +"without restrictions." +msgstr "" + +#: software/templates/license.html:29 +msgid "" +"A copy the license text is contained in every wger Workout\n" +"Manager release (LICENSE.txt) and can be read online on the website of\n" +"the GNU project." +msgstr "" + +#: utils/generic_views.py:254 +msgid "Yes, delete" +msgstr "" + +#: utils/models.py:44 +msgid "Author" +msgstr "" + +#: utils/models.py:48 +msgid "" +"If you are not the author, enter the name or source here. This is needed for " +"some licenses e.g. the CC-BY-SA." +msgstr "" + +#: utils/models.py:71 +msgid "Pending" +msgstr "" + +#: utils/models.py:72 +msgid "Accepted" +msgstr "" + +#: utils/models.py:73 +msgid "Declined" +msgstr "" + +#: weight/forms.py:51 +msgid "Input" +msgstr "" + +#: weight/forms.py:52 +msgid "Date format" +msgstr "" + +#: weight/management/commands/email-weight-reminder.py:80 +msgid "You have to enter your weight" +msgstr "" + +#: weight/models.py:54 +msgid "Weight entry" +msgstr "" + +#: weight/templates/import_csv_form.html:4 +msgid "Import weight logs" +msgstr "" + +#: weight/templates/import_csv_form.html:15 +msgid "" +"Use this import field to import your weight logs into Workout\n" +"Manager." +msgstr "" + +#: weight/templates/import_csv_form.html:18 +msgid "" +"You can copy and paste from your spreadsheet into the text input,\n" +"the system will try to guess the format to import. The only things to " +"consider is\n" +"that the first column is the date, the second the " +"weight.\n" +"All further columns are ignored. There is a 1000 row limit.\n" +msgstr "" + +#: weight/templates/import_csv_form.html:24 +msgid "" +"If there are errors, you can correct or discard them in a\n" +"second step." +msgstr "" + +#: weight/templates/import_csv_preview.html:4 +msgid "Preview imported CSV entries" +msgstr "" + +#: weight/templates/import_csv_preview.html:9 +msgid "Successfully converted values" +msgstr "" + +#: weight/templates/import_csv_preview.html:10 +msgid "The following values could be converted." +msgstr "" + +#: weight/templates/import_csv_preview.html:26 +msgid "Errors" +msgstr "" + +#: weight/templates/import_csv_preview.html:29 +msgid "The following values could not be converted." +msgstr "" + +#: weight/templates/import_csv_preview.html:31 +msgid "" +"These values could not be converted to a weight log entry.\n" +" The reasons for this could be anything from an unrecognised date or " +"number\n" +" format, a problem with the encoding or something else. Please check " +"that\n" +" there are no obvious errors in the list (and correct them if there " +"are!)\n" +" and try to import the list again." +msgstr "" + +#: weight/templates/import_csv_preview.html:37 +msgid "" +"Remember that the expected structure is date\n" +" on the first columns and weight on the second." +msgstr "" + +#: weight/templates/import_csv_preview.html:54 +msgid "There were no errors, all entries could be converted!" +msgstr "" + +#: weight/templates/import_csv_preview.html:58 +msgid "Import all successfully converted entries" +msgstr "" + +#: weight/templates/import_csv_preview.html:59 +msgid "" +"Continue here if you want to import into your weight log all\n" +"entries that were successfully converted. All entries that produced an " +"error\n" +"will simply be ignored. It's up to you to decide whether they are useful\n" +"(unrecognised entries) or not (e.g. headers, comments, etc.)." +msgstr "" + +#: weight/templates/import_csv_preview.html:69 +msgid "Import" +msgstr "" + +#: weight/templates/import_csv_preview.html:74 +msgid "Or try it again" +msgstr "" + +#: weight/templates/import_csv_preview.html:76 +msgid "" +"You can correct the list here and re-submit it as often as\n" +"you want." +msgstr "" + +#: weight/templates/import_csv_preview.html:85 +msgid "Re-Submit" +msgstr "" + +#: weight/templates/overview.html:27 +msgid "There is no chart here because there are no weight entries." +msgstr "" + +#: weight/templates/overview.html:28 +msgid "Use link to add one." +msgstr "" + +#: weight/templates/overview.html:34 +msgid "height in cm" +msgstr "" + +#: weight/templates/overview.html:38 +msgid "Last 3 months" +msgstr "" + +#: weight/templates/overview.html:39 +msgid "Last 12 months" +msgstr "" + +#: weight/templates/overview.html:40 +msgid "No filter" +msgstr "" + +#: weight/templates/overview.html:50 +msgctxt "Noun, not verb" +msgid "Change" +msgstr "" + +#: weight/templates/overview.html:51 +msgid "Days" +msgstr "" + +#: weight/templates/overview.html:83 +msgid "Edit weight" +msgstr "" + +#: weight/templates/overview.html:126 +msgid "Export as CSV" +msgstr "" + +#: weight/templates/overview.html:130 +msgid "Import from spreadsheet" +msgstr "" + +#: weight/views.py:105 +#, python-format +msgid "Edit weight entry for the %s" +msgstr "" + +#: weight/views.py:124 +msgid "Successfully deleted." +msgstr "" + +#: weight/views.py:128 +#, python-format +msgid "Delete weight entry for the %s" +msgstr "" diff --git a/wger/locale/hu/LC_MESSAGES/django.mo b/wger/locale/hu/LC_MESSAGES/django.mo index 4624ef1ad..8d48517a2 100644 Binary files a/wger/locale/hu/LC_MESSAGES/django.mo and b/wger/locale/hu/LC_MESSAGES/django.mo differ diff --git a/wger/locale/ja/LC_MESSAGES/django.mo b/wger/locale/ja/LC_MESSAGES/django.mo index ebb499ad7..d49b2e750 100644 Binary files a/wger/locale/ja/LC_MESSAGES/django.mo and b/wger/locale/ja/LC_MESSAGES/django.mo differ diff --git a/wger/locale/ja/LC_MESSAGES/django.po b/wger/locale/ja/LC_MESSAGES/django.po index d523b7d57..f5352a534 100644 --- a/wger/locale/ja/LC_MESSAGES/django.po +++ b/wger/locale/ja/LC_MESSAGES/django.po @@ -12,15 +12,15 @@ msgstr "" "Project-Id-Version: wger Workout Manager\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-08-17 17:23+0200\n" -"PO-Revision-Date: 2021-04-11 18:54+0000\n" -"Last-Translator: rge \n" -"Language-Team: Japanese (http://www.transifex.com/rge/wger-workout-manager/" -"language/ja/)\n" +"PO-Revision-Date: 2021-10-31 07:34+0000\n" +"Last-Translator: yuki chi \n" +"Language-Team: Japanese \n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Weblate 4.9-dev\n" #: config/models/gym_config.py:46 gym/templates/gym/list.html:50 msgid "Default gym" @@ -61,7 +61,7 @@ msgstr "" #: nutrition/templates/plan/view.html:151 #: nutrition/templates/plan/view.html:189 msgid "Add one now." -msgstr "" +msgstr "今すぐ追加する" #: config/templates/language/overview.html:29 #: core/templates/license/list.html:38 core/templates/misc/license/list.html:41 @@ -246,7 +246,7 @@ msgstr "" #: core/forms.py:102 msgid "Personal data" -msgstr "" +msgstr "パーソナルデータ" #: core/forms.py:110 msgid "Workout reminders" @@ -254,14 +254,14 @@ msgstr "" #: core/forms.py:117 msgid "Other settings" -msgstr "" +msgstr "その他の設定" #: core/forms.py:125 core/views/user.py:599 core/views/user.py:614 #: core/views/user.py:626 gym/forms.py:72 manager/templates/log/add.html:65 #: manager/templates/set/add.html:69 manager/views/workout.py:221 #: utils/generic_views.py:142 msgid "Save" -msgstr "" +msgstr "保存" #: core/forms.py:132 msgid "Used for password resets and, optionally, email reminders." diff --git a/wger/locale/nl/LC_MESSAGES/django.mo b/wger/locale/nl/LC_MESSAGES/django.mo index 08f0ccd5a..0869cb15e 100644 Binary files a/wger/locale/nl/LC_MESSAGES/django.mo and b/wger/locale/nl/LC_MESSAGES/django.mo differ diff --git a/wger/locale/nl/LC_MESSAGES/django.po b/wger/locale/nl/LC_MESSAGES/django.po index 0f2292100..2eb66201f 100644 --- a/wger/locale/nl/LC_MESSAGES/django.po +++ b/wger/locale/nl/LC_MESSAGES/django.po @@ -15,15 +15,15 @@ msgstr "" "Project-Id-Version: wger Workout Manager\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-08-17 17:23+0200\n" -"PO-Revision-Date: 2021-04-17 13:26+0000\n" -"Last-Translator: David \n" +"PO-Revision-Date: 2021-10-27 10:48+0000\n" +"Last-Translator: Roland Geider \n" "Language-Team: Dutch \n" "Language: nl\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" -"X-Generator: Weblate 4.6-dev\n" +"X-Generator: Weblate 4.9-dev\n" #: config/models/gym_config.py:46 gym/templates/gym/list.html:50 msgid "Default gym" @@ -596,6 +596,10 @@ msgid "" "performed on their data.\n" " " msgstr "" +"Je bezoekt \n" +" de website als gebruiker \"%(current_user)s\", alle acties zijn " +"uitgevoerd op eigen data\n" +" " #: core/templates/base.html:16 core/templates/base_wide.html:14 #, python-format @@ -807,7 +811,7 @@ msgstr "Niets gevonden" #: core/templates/template_features.html:118 #: core/templates/template_no_context.html:88 msgid "Imprint" -msgstr "" +msgstr "Afdruk" #: core/templates/misc/fragments/shariff_modal.html:6 msgid "Share this page" @@ -857,13 +861,11 @@ msgstr "Kalender" #: core/templates/navigation.html:44 gallery/templates/images/overview.html:6 msgid "Gallery" -msgstr "" +msgstr "Gallerij" #: core/templates/navigation.html:48 -#, fuzzy -#| msgid "Workout complete!" msgid "Workout templates" -msgstr "Workout voltooid!" +msgstr "Workout schemas" #: core/templates/navigation.html:53 manager/views/workout.py:101 #, fuzzy @@ -873,7 +875,7 @@ msgstr "Je schema's" #: core/templates/navigation.html:59 manager/views/workout.py:115 msgid "Public templates" -msgstr "" +msgstr "Publieke schemas" #: core/templates/navigation.html:64 msgctxt "as in sorted by category" diff --git a/wger/locale/no/LC_MESSAGES/django.mo b/wger/locale/no/LC_MESSAGES/django.mo index 8900c39ab..805c6d26c 100644 Binary files a/wger/locale/no/LC_MESSAGES/django.mo and b/wger/locale/no/LC_MESSAGES/django.mo differ diff --git a/wger/locale/os/LC_MESSAGES/django.mo b/wger/locale/os/LC_MESSAGES/django.mo index f396f18c9..281ce134a 100644 Binary files a/wger/locale/os/LC_MESSAGES/django.mo and b/wger/locale/os/LC_MESSAGES/django.mo differ diff --git a/wger/locale/pl/LC_MESSAGES/django.po b/wger/locale/pl/LC_MESSAGES/django.po index b3819fb6c..88a4b6aab 100644 --- a/wger/locale/pl/LC_MESSAGES/django.po +++ b/wger/locale/pl/LC_MESSAGES/django.po @@ -14,7 +14,7 @@ msgstr "" "Project-Id-Version: wger Workout Manager\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-08-17 17:23+0200\n" -"PO-Revision-Date: 2021-08-25 21:34+0000\n" +"PO-Revision-Date: 2021-10-27 10:48+0000\n" "Last-Translator: A M \n" "Language-Team: Polish \n" "Language: pl\n" @@ -24,7 +24,7 @@ msgstr "" "Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n" "%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n" "%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" -"X-Generator: Weblate 4.8.1-dev\n" +"X-Generator: Weblate 4.9-dev\n" #: config/models/gym_config.py:46 gym/templates/gym/list.html:50 msgid "Default gym" @@ -685,6 +685,8 @@ msgid "" "The current workout is selected from your active schedule or, if you don't " "have one, simply by date." msgstr "" +"Obecne ćwiczenie jest wybrane z aktywnego harmonogramu, a gdy żadnego nie " +"wybrano, według daty." #: core/templates/index.html:142 manager/templates/calendar/month.html:188 msgid "Add new log" diff --git a/wger/locale/pt/LC_MESSAGES/django.po b/wger/locale/pt/LC_MESSAGES/django.po index 51527224e..c58b7f15a 100644 --- a/wger/locale/pt/LC_MESSAGES/django.po +++ b/wger/locale/pt/LC_MESSAGES/django.po @@ -16,7 +16,7 @@ msgstr "" "Project-Id-Version: wger Workout Manager\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-08-17 17:23+0200\n" -"PO-Revision-Date: 2021-09-07 19:34+0000\n" +"PO-Revision-Date: 2021-10-27 10:48+0000\n" "Last-Translator: Roland Geider \n" "Language-Team: Portuguese " "\n" @@ -25,7 +25,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.8.1-dev\n" +"X-Generator: Weblate 4.9-dev\n" #: config/models/gym_config.py:46 gym/templates/gym/list.html:50 msgid "Default gym" @@ -254,7 +254,7 @@ msgstr "Email" #: core/forms.py:77 msgid "Used for password resets and, optionally, e-mail reminders." -msgstr "Usada para ressetar senha e email de lembretes opcionais." +msgstr "Usada para resetar senha e email de lembretes opcionais." #: core/forms.py:102 msgid "Personal data" @@ -298,7 +298,7 @@ msgstr "Senha inválida" #: core/forms.py:212 core/forms.py:278 msgid "The form is secured with reCAPTCHA" -msgstr "Este formulário é protegido com reCAPTCHA" +msgstr "O formulário está seguro com o reCAPTCHA" #: core/forms.py:226 core/forms.py:245 core/templates/navigation.html:190 #: core/templates/navigation.html:195 core/templates/template.html:150 @@ -313,7 +313,7 @@ msgstr "Contato" #: core/forms.py:257 msgid "Some way of answering you (e-mail, etc.)" -msgstr "Meios de contato (email, etc.)" +msgstr "Meios de contato (e-mail, etc.)" #: core/forms.py:265 exercises/models/comment.py:40 manager/models/set.py:60 #: manager/models/setting.py:99 nutrition/models/log.py:61 @@ -588,6 +588,11 @@ msgid "" "performed on their data.\n" " " msgstr "" +"Você está\n" +"… navegando no site como usuário \"%(current_user)s\", todas as suas ações " +"serão registradas sob seus dados.\n" +"…\n" +" " #: core/templates/base.html:16 core/templates/base_wide.html:14 #, python-format @@ -631,7 +636,7 @@ msgstr "Fechar" #: core/templates/index.html:54 core/templates/index.html:203 msgid "Add new diary entry" -msgstr "" +msgstr "Adicione uma nova entrada diária" #: core/templates/index.html:59 msgid "" @@ -988,7 +993,7 @@ msgstr "Minhas preferências" #: core/templates/navigation.html:216 msgid "Logout" -msgstr "Logout" +msgstr "Sair" #: core/templates/navigation.html:231 msgid "Licenses" diff --git a/wger/locale/ro/LC_MESSAGES/django.mo b/wger/locale/ro/LC_MESSAGES/django.mo index da899292d..9dba44e0f 100644 Binary files a/wger/locale/ro/LC_MESSAGES/django.mo and b/wger/locale/ro/LC_MESSAGES/django.mo differ diff --git a/wger/locale/ru/LC_MESSAGES/django.mo b/wger/locale/ru/LC_MESSAGES/django.mo index 174dc3030..a7ecac309 100644 Binary files a/wger/locale/ru/LC_MESSAGES/django.mo and b/wger/locale/ru/LC_MESSAGES/django.mo differ diff --git a/wger/locale/ru/LC_MESSAGES/django.po b/wger/locale/ru/LC_MESSAGES/django.po index fd45e6cb6..3f5244a5a 100644 --- a/wger/locale/ru/LC_MESSAGES/django.po +++ b/wger/locale/ru/LC_MESSAGES/django.po @@ -15,7 +15,7 @@ msgstr "" "Project-Id-Version: wger Workout Manager\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-08-17 17:23+0200\n" -"PO-Revision-Date: 2021-07-24 23:33+0000\n" +"PO-Revision-Date: 2021-10-27 10:48+0000\n" "Last-Translator: Ryeori \n" "Language-Team: Russian \n" "Language: ru\n" @@ -25,7 +25,7 @@ msgstr "" "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n" "%100>=11 && n%100<=14)? 2 : 3);\n" -"X-Generator: Weblate 4.7.2-dev\n" +"X-Generator: Weblate 4.9-dev\n" #: config/models/gym_config.py:46 gym/templates/gym/list.html:50 msgid "Default gym" @@ -282,8 +282,6 @@ msgstr "" "почте." #: core/forms.py:160 -#, fuzzy -#| msgid "This email is already used." msgid "This e-mail address is already in use." msgstr "Этот электронный адрес уже используется." @@ -343,6 +341,8 @@ msgid "" "If a license has been localized, e.g. the Creative Commons licenses for the " "different countries, add them as separate entries here." msgstr "" +"Если лицензия была локализирована, например лицензии Creative Commons для " +"разных стран, добавьте их здесь как отдельные элементы." #: core/models/license.py:38 msgid "Short name, e.g. CC-BY-SA 3" @@ -595,6 +595,10 @@ msgid "" "performed on their data.\n" " " msgstr "" +"Вы\n" +" просматриваете сайт как пользователь \"%(current_user)s\", все действия " +"производятся над его данными.\n" +" " #: core/templates/base.html:16 core/templates/base_wide.html:14 #, python-format @@ -637,7 +641,7 @@ msgstr "Закрыть" #: core/templates/index.html:54 core/templates/index.html:203 msgid "Add new diary entry" -msgstr "" +msgstr "Добавить новую запись в дневник" #: core/templates/index.html:59 msgid "" diff --git a/wger/locale/tr/LC_MESSAGES/django.mo b/wger/locale/tr/LC_MESSAGES/django.mo index 4041c8852..4c2f0751e 100644 Binary files a/wger/locale/tr/LC_MESSAGES/django.mo and b/wger/locale/tr/LC_MESSAGES/django.mo differ diff --git a/wger/locale/uk/LC_MESSAGES/django.mo b/wger/locale/uk/LC_MESSAGES/django.mo index 150576ea8..9c569ae7c 100644 Binary files a/wger/locale/uk/LC_MESSAGES/django.mo and b/wger/locale/uk/LC_MESSAGES/django.mo differ diff --git a/wger/locale/uk/LC_MESSAGES/django.po b/wger/locale/uk/LC_MESSAGES/django.po index 36e3579cf..abf794c97 100644 --- a/wger/locale/uk/LC_MESSAGES/django.po +++ b/wger/locale/uk/LC_MESSAGES/django.po @@ -13,7 +13,7 @@ msgstr "" "Project-Id-Version: wger Workout Manager\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-08-17 17:23+0200\n" -"PO-Revision-Date: 2021-09-02 08:34+0000\n" +"PO-Revision-Date: 2021-09-19 02:37+0000\n" "Last-Translator: kvinto \n" "Language-Team: Ukrainian \n" "Language: uk\n" @@ -24,7 +24,7 @@ msgstr "" "? 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" -"X-Generator: Weblate 4.8.1-dev\n" +"X-Generator: Weblate 4.9-dev\n" #: config/models/gym_config.py:46 gym/templates/gym/list.html:50 msgid "Default gym" @@ -765,7 +765,7 @@ msgstr "Вага" #: core/templates/index.html:217 msgid "Your current weight is: " -msgstr "Ваша поточна вага:" +msgstr "Ваша поточна вага: " #: core/templates/index.html:248 core/templates/navigation.html:97 #: weight/views.py:70 @@ -1066,7 +1066,7 @@ msgstr "Дякуємо за користування нашим сайтом!" #: core/templates/registration/password_reset_email.html:13 #, python-format msgid "The %(site_name)s team" -msgstr "Команда сайту %(site_name)s " +msgstr "Команда сайту %(site_name)s" #: core/templates/tags/license-sidebar.html:3 msgid "Free license" @@ -2372,7 +2372,7 @@ msgstr "Кілометри" #: i18n.tpl:35 msgid "Max Reps" -msgstr "Макс. повтор." +msgstr "Макс. Повтор" #: i18n.tpl:36 msgid "Miles" @@ -2717,7 +2717,7 @@ msgid "" "succession." msgstr "" "Програми - це сукупність тренувань, які ви виконуєте\n" -"по порядку" +"по порядку." #: manager/templates/schedule/overview.html:39 msgid "" @@ -2804,7 +2804,7 @@ msgid "" msgstr "" "Додайте стільки тренувань до програми, скільки захочете. Ви можете\n" "змінити порядок, перетягнувши їх. Також можна додати одне тренування\n" -"більш ніж один раз" +"більш ніж один раз." #: manager/templates/schedule/view.html:231 #: manager/templates/schedule/view.html:241 @@ -3220,7 +3220,7 @@ msgstr "Результати" #: nutrition/templates/bmi/form.html:63 msgid "Your BMI is: " -msgstr "Ваш ІМТ:" +msgstr "Ваш ІМТ: " #: nutrition/templates/bmi/form.html:71 msgid "Legend" @@ -3266,9 +3266,9 @@ msgid "" "in a new entry." msgstr "" "Використовуйте форму для розрахунку вашого ІМТ (Індекс Маси Тіла).\n" -"Якщо ви ввели дані в розділ ваги, останній запис буде використовуватись " -"автоматично. В іншому випадку, вага, який ви вкажете тут буде збережена в " -"новому записі." +"Якщо ви ввели дані в розділ ваги, останній запис буде використовуватись\n" +"автоматично. В іншому випадку, вага, який ви вкажете тут буде збережена\n" +"в новому записі." #: nutrition/templates/ingredient/email_new.tpl:1 #, python-format @@ -3276,7 +3276,8 @@ msgid "" "Your ingredient '%(ingredient)s' was successfully added to the general\n" "database." msgstr "" -"Ваш інгредієнт '%(ingredient)s' успішно додано до загального бази даних." +"Ваш інгредієнт '%(ingredient)s' успішно додано до загальної\n" +"бази даних." #: nutrition/templates/ingredient/email_new.tpl:4 msgid "" @@ -3284,7 +3285,8 @@ msgid "" "added to nutrition plans. You can access it on this address:" msgstr "" "Він тепер доступний в огляді інгредієнтів і може бути доданий до планів " -"харчування. Ви можете знайти його за цим посиланням:" +"харчування.\n" +"Ви можете знайти його за цим посиланням:" #: nutrition/templates/ingredient/form.html:4 msgid "Submitting an ingredient" @@ -3294,7 +3296,9 @@ msgstr "Подання інгредієнта" msgid "" "Thank you for submitting an ingredient. This is much\n" "appreciated!" -msgstr "Дякуємо за поданий інгредієнт. Ми вам дуже вдячні!" +msgstr "" +"Дякуємо за поданий інгредієнт. Ми Вам дуже\n" +"вдячні!" #: nutrition/templates/ingredient/form.html:8 msgid "" @@ -3528,13 +3532,14 @@ msgid "" "any\n" "additional physical activity." msgstr "" -"Рівень базального метаболізму - це кількість енергії, витраченої щодня в " -"стані спокою. Це мінімальна кількість енергії, необхідна для функціонування " +"Рівень базального метаболізму - це кількість енергії, витраченої щодня\n" +"в стані спокою. Це мінімальна кількість енергії, необхідна для " +"функціонування\n" "організму, без будь-яких додаткових фізичних навантажень." #: nutrition/templates/rate/form.html:37 msgid "Your basic metabolic rate is: " -msgstr "Ваша основна метаболічна норма:" +msgstr "Ваша основна метаболічна норма: " #: nutrition/templates/rate/form.html:47 msgid "Physical activities" @@ -3546,21 +3551,21 @@ msgid "" "the additional physical activity and is used to calculate the total energy\n" "required per day." msgstr "" -"Рівень фізичної активності (РФА) є фактором, який використовується для " -"вираження додаткової фізичної активності та для розрахунку необхідної " +"Рівень фізичної активності (РФА) є фактором, який використовується для\n" +"вираження додаткової фізичної активності та для розрахунку необхідної\n" "загальної денної енергії." #: nutrition/templates/rate/form.html:59 msgid "Factor for daily activities: " -msgstr "Фактор для щоденної активності:" +msgstr "Фактор для щоденної активності: " #: nutrition/templates/rate/form.html:67 msgid "" "The base caloric intake is the amount of calories your metabolism\n" "needs based on your level of physical activity." msgstr "" -"Базове споживання калорій - це кількість калорій яку потребує ваш метаболізм " -"залежно від рівня вашої фізичної активності." +"Базове споживання калорій - це кількість калорій яку потребує Ваш\n" +"метаболізм залежно від рівня вашої фізичної активності." #: nutrition/templates/rate/form.html:81 msgid "Calculate basic caloric intake" @@ -3574,9 +3579,11 @@ msgid "" "you might just enter yourself the amount of calories if you know the value." msgstr "" "Загальна кількість калорій - це фактична сума калорій за день. Це може " -"включати, наприклад дефіцит калорій, якщо ви худнете, або надлишок, якщо " -"набираєте вагу. В якості альтернативи можна просто ввести кількість калорій, " -"якщо вона вам відома." +"включати,\n" +"наприклад, дефіцит калорій, якщо ви худнете, або надлишок, якщо набираєте " +"вагу.\n" +"В якості альтернативи можна просто ввести кількість калорій, якщо вона вам " +"відома." #: nutrition/templates/rate/form.html:102 msgid "Transfer basic intake to total daily calories" @@ -3596,9 +3603,10 @@ msgid "" "approximation. If you base your nutrition plan on these values, observe\n" "yourself for some weeks and change the total amount if needed." msgstr "" -"Будь ласка, зверніть увагу, що ці розрахунки тільки приблизні. Якщо ви " -"створюєте ваш план харчування на цих значеннях, поспостерігайте за собою " -"кілька тижнів і при необхідності змініть загальну кількість." +"Будь ласка, зверніть увагу, що ці розрахунки тільки приблизні. Якщо Ви " +"створюєте\n" +"свій план харчування на цих значеннях, поспостерігайте за собою кілька\n" +"тижнів і при необхідності змініть загальну кількість." #: nutrition/views/ingredient.py:181 msgid "Add a new ingredient" @@ -3707,7 +3715,8 @@ msgid "" "ingredients, all released under a free license." msgstr "" "Мета полягає в тому, щоб побудувати дивовижний і гнучкий фітнес-менеджер, а " -"також всебічний і повний перелік вправ і інгредієнтів, випущений під вільною " +"також\n" +"всебічний і повний перелік вправ і інгредієнтів, випущений під вільною\n" "ліцензією." #: software/templates/features.html:12 @@ -3716,7 +3725,7 @@ msgid "" "your exercises and workouts. " msgstr "" "wger Workout Manager - безкоштовний веб-додаток з відкритим вихідним кодом, " -"який керує вашими вправами та тренуванням." +"який керує вашими вправами та тренуванням. " #: software/templates/features.html:24 msgid "Welcome to wger" @@ -3924,8 +3933,8 @@ msgid "" "Use this import field to import your weight logs into Workout\n" "Manager." msgstr "" -"Скористайтеся цим полем імпорту, щоб імпортувати ваші журнали ваги в Workout " -"Manager." +"Скористайтеся цим полем імпорту, щоб імпортувати ваші журнали ваги\n" +"в Workout Manager." #: weight/templates/import_csv_form.html:18 msgid "" @@ -3937,16 +3946,20 @@ msgid "" "All further columns are ignored. There is a 1000 row limit.\n" msgstr "" "Можна скопіювати та вставити текст з електронної таблиці в текстове поле " -"вводу, система спробує вгадати формат для імпорту. \n" -"Єдине, що потрібно враховувати, це те, що перша колонка - це дата, друга - вага. Усі наступні стовпці ігноруються. " -"Ліміт 1000 рядків.\n" +"вводу, система\n" +"спробує вгадати формат для імпорту. Єдине, що потрібно враховувати, це те, " +"що перша\n" +"колонка - це дата, друга - вага. Усі " +"наступні стовпці\n" +"ігноруються. Ліміт 1000 рядків.\n" #: weight/templates/import_csv_form.html:24 msgid "" "If there are errors, you can correct or discard them in a\n" "second step." -msgstr "Якщо є помилки, їх можна виправити або відхилити на другому етапі." +msgstr "" +"Якщо є помилки, їх можна виправити або відхилити на\n" +"другому етапі." #: weight/templates/import_csv_preview.html:4 msgid "Preview imported CSV entries" @@ -3979,19 +3992,20 @@ msgid "" "are!)\n" " and try to import the list again." msgstr "" -"Ці значення не змогли бути конвертовані в запис журналу ваги. Причиною для " -"цього могло бути що завгодно, від нерозпізнаного формату дати або числа до " -"проблеми з кодуванням або що-небудь інше. Будь ласка, перевірте, щоб не було " -"очевидних помилок в списку (і виправте їх, якщо вони є!) і спробуйте " -"імпортувати список ще раз." +"Ці значення не змогли бути конвертовані в запис журналу ваги. Причиною\n" +"для цього могло бути що завгодно, від нерозпізнаного формату дати, або\n" +"числа до проблеми з кодуванням або що-небудь інше. Будь ласка,\n" +"перевірте, щоб не було очевидних помилок в списку (і виправте їх, якщо вони " +"є!)\n" +"і спробуйте імпортувати список ще раз." #: weight/templates/import_csv_preview.html:37 msgid "" "Remember that the expected structure is date\n" " on the first columns and weight on the second." msgstr "" -"Пам'ятайте, що очікувана структура: дата - в першому " -"стовпці і вага - в другому." +"Пам'ятайте, що очікувана структура: дата \n" +"- в першому стовпці і вага - в другому." #: weight/templates/import_csv_preview.html:54 msgid "There were no errors, all entries could be converted!" @@ -4009,10 +4023,11 @@ msgid "" "will simply be ignored. It's up to you to decide whether they are useful\n" "(unrecognised entries) or not (e.g. headers, comments, etc.)." msgstr "" -"Продовжуйте тут, якщо ви бажаєте імпортувати до вашого журналу ваги всі " -"записи, які були успішно перетворені. Всі записи, які викликали помилку, " -"просто проігноруються. Ви повинні вирішити, чи є вони корисними " -"(нерозпізнані записи) чи ні (наприклад, заголовки, коментарі тощо)." +"Продовжуйте тут, якщо ви бажаєте імпортувати до вашого журналу ваги всі\n" +"записи, які були успішно перетворені. Всі записи, які викликали помилку,\n" +"просто проігноруються. Ви повинні вирішити, чи є вони корисними (" +"нерозпізнані записи)\n" +"чи ні (наприклад, заголовки, коментарі тощо)." #: weight/templates/import_csv_preview.html:69 msgid "Import" @@ -4027,8 +4042,8 @@ msgid "" "You can correct the list here and re-submit it as often as\n" "you want." msgstr "" -"Ви можете виправити список тут і повторно подати його так часто, як ви " -"хочете." +"Ви можете виправити список тут і повторно подати його так\n" +"часто, як ви хочете." #: weight/templates/import_csv_preview.html:85 msgid "Re-Submit" diff --git a/wger/locale/zh_CN/LC_MESSAGES/django.po b/wger/locale/zh_CN/LC_MESSAGES/django.po index c4ff60195..8159cf5e9 100644 --- a/wger/locale/zh_CN/LC_MESSAGES/django.po +++ b/wger/locale/zh_CN/LC_MESSAGES/django.po @@ -15,8 +15,8 @@ msgstr "" "Project-Id-Version: wger Workout Manager\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-08-17 17:23+0200\n" -"PO-Revision-Date: 2021-05-27 16:04+0000\n" -"Last-Translator: 猫猫头 <914766662@qq.com>\n" +"PO-Revision-Date: 2021-10-03 15:34+0000\n" +"Last-Translator: freeair zhao \n" "Language-Team: Chinese (Simplified) \n" "Language: zh_CN\n" @@ -24,7 +24,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 4.7-dev\n" +"X-Generator: Weblate 4.9-dev\n" #: config/models/gym_config.py:46 gym/templates/gym/list.html:50 msgid "Default gym" @@ -1100,7 +1100,7 @@ msgstr "新增健身项目到这个健身日" #: core/templates/tags/render_weight_log.html:17 manager/helpers.py:89 #: manager/models/setting.py:57 manager/templates/set/formset.html:10 msgid "Reps" -msgstr "重复" +msgstr "重复次数" #: core/templates/tags/render_weight_log.html:30 manager/forms.py:178 #: manager/models/log.py:101 manager/models/setting.py:87 diff --git a/wger/manager/migrations/0015_auto_20211028_1113.py b/wger/manager/migrations/0015_auto_20211028_1113.py new file mode 100644 index 000000000..9a6d83f55 --- /dev/null +++ b/wger/manager/migrations/0015_auto_20211028_1113.py @@ -0,0 +1,37 @@ +# Generated by Django 3.2.3 on 2021-10-28 09:13 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('manager', '0014_auto_20210717_1858'), + ] + + operations = [ + migrations.AlterField( + model_name='set', + name='order', + field=models.IntegerField(default=1, verbose_name='Order'), + ), + migrations.AlterField( + model_name='workout', + name='is_public', + field=models.BooleanField( + default=False, + help_text='A public template is available to other users', + verbose_name='Public template' + ), + ), + migrations.AlterField( + model_name='workout', + name='is_template', + field=models.BooleanField( + default=False, + help_text= + 'Marking a workout as a template will freeze it and allow you to make copies of it', + verbose_name='Workout template' + ), + ), + ] diff --git a/wger/manager/models/set.py b/wger/manager/models/set.py index 845c4546e..b4c7a2f41 100644 --- a/wger/manager/models/set.py +++ b/wger/manager/models/set.py @@ -47,8 +47,8 @@ class Set(models.Model): on_delete=models.CASCADE, ) order = models.IntegerField( - blank=True, - null=True, + default=1, + null=False, verbose_name=_('Order'), ) sets = models.IntegerField( diff --git a/wger/nutrition/api/serializers.py b/wger/nutrition/api/serializers.py index 074fdeb57..4244f4f3e 100644 --- a/wger/nutrition/api/serializers.py +++ b/wger/nutrition/api/serializers.py @@ -68,7 +68,11 @@ class WeightUnitSerializer(serializers.ModelSerializer): class Meta: model = WeightUnit - fields = ['language', 'name'] + fields = [ + 'id', + 'language', + 'name', + ] class IngredientSerializer(serializers.ModelSerializer): @@ -80,6 +84,7 @@ class IngredientSerializer(serializers.ModelSerializer): model = Ingredient fields = [ 'id', + 'code', 'name', 'creation_date', 'update_date', @@ -155,6 +160,7 @@ class LogItemSerializer(serializers.ModelSerializer): fields = [ 'id', 'plan', + 'meal', 'ingredient', 'weight_unit', 'datetime', diff --git a/wger/nutrition/api/views.py b/wger/nutrition/api/views.py index 0368900e0..38f7237a1 100644 --- a/wger/nutrition/api/views.py +++ b/wger/nutrition/api/views.py @@ -67,6 +67,7 @@ class IngredientViewSet(viewsets.ReadOnlyModelViewSet): serializer_class = IngredientSerializer ordering_fields = '__all__' filterset_fields = ( + 'code', 'carbohydrates', 'carbohydrates_sugar', 'creation_date', @@ -375,7 +376,7 @@ class LogItemViewSet(WgerOwnerObjectModelViewSet): """ Return objects to check for ownership permission """ - return [(NutritionPlan, 'plan')] + return [(NutritionPlan, 'plan'), (Meal, 'meal')] @action(detail=True) def nutritional_values(self, request, pk): diff --git a/wger/nutrition/forms.py b/wger/nutrition/forms.py index 1cd9b2aea..e8d947938 100644 --- a/wger/nutrition/forms.py +++ b/wger/nutrition/forms.py @@ -42,6 +42,7 @@ from wger.nutrition.models import ( Ingredient, IngredientWeightUnit, LogItem, + Meal, MealItem, ) from wger.utils.widgets import Html5NumberInput diff --git a/wger/nutrition/migrations/0010_logitem_meal.py b/wger/nutrition/migrations/0010_logitem_meal.py new file mode 100644 index 000000000..f0c35c6d0 --- /dev/null +++ b/wger/nutrition/migrations/0010_logitem_meal.py @@ -0,0 +1,26 @@ +# Generated by Django 3.2.7 on 2021-10-03 19:00 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('nutrition', '0009_meal_name'), + ] + + operations = [ + migrations.AddField( + model_name='logitem', + name='meal', + field=models.ForeignKey( + blank=True, + null=True, + on_delete=django.db.models.deletion.CASCADE, + related_name='log_items', + to='nutrition.meal', + verbose_name='Meal' + ), + ), + ] diff --git a/wger/nutrition/models/log.py b/wger/nutrition/models/log.py index 48c55f719..6cebb59d9 100644 --- a/wger/nutrition/models/log.py +++ b/wger/nutrition/models/log.py @@ -29,6 +29,7 @@ from wger.nutrition.helpers import BaseMealItem # Local from .ingredient import Ingredient from .ingredient_weight_unit import IngredientWeightUnit +from .meal import Meal from .plan import NutritionPlan @@ -48,6 +49,15 @@ class LogItem(BaseMealItem, models.Model): verbose_name=_('Nutrition plan'), on_delete=models.CASCADE, ) + + meal = models.ForeignKey( + Meal, + verbose_name=_('Meal'), + on_delete=models.CASCADE, + related_name="log_items", + blank=True, + null=True + ) """ The plan this log belongs to """ diff --git a/wger/nutrition/tests/test_nutrition_diary.py b/wger/nutrition/tests/test_nutrition_diary.py index 99bb3d8af..bc1403615 100644 --- a/wger/nutrition/tests/test_nutrition_diary.py +++ b/wger/nutrition/tests/test_nutrition_diary.py @@ -30,6 +30,7 @@ from wger.core.tests.base_testcase import ( ) from wger.nutrition.models import ( LogItem, + MealItem, NutritionPlan, ) @@ -164,7 +165,7 @@ class NutritionDiaryTestCase(WgerTestCase): self.user_login('test') response = self.client.get(reverse('nutrition:log:log_meal', kwargs={"meal_pk": 1})) self.assertEqual(response.status_code, 302) - self.assertEqual(LogItem.objects.filter(plan=plan).count(), 3) + self.assertEqual(LogItem.objects.filter(plan=plan, meal_id=1).count(), 3) def test_log_meal_logged_out(self): """ diff --git a/wger/nutrition/views/log.py b/wger/nutrition/views/log.py index 6e5586d53..a4180e752 100644 --- a/wger/nutrition/views/log.py +++ b/wger/nutrition/views/log.py @@ -174,6 +174,7 @@ def _logMealPlan(meals): for item in meal.mealitem_set.select_related(): log_item = LogItem( plan=item.meal.plan, + meal=meal, ingredient=item.ingredient, weight_unit=item.weight_unit, amount=item.amount diff --git a/wger/software/templates/about_us.html b/wger/software/templates/about_us.html index 62ea3a296..e77889ece 100644 --- a/wger/software/templates/about_us.html +++ b/wger/software/templates/about_us.html @@ -55,6 +55,8 @@ and flexible fitness manager, along with a comprehensive and complete list of ex ingredients, all released under a free license.{% endblocktranslate %} + +

{% translate "Current version" %} {{ version }}

{% endblock %} diff --git a/wger/software/urls.py b/wger/software/urls.py index 5bec21973..d4b756f44 100644 --- a/wger/software/urls.py +++ b/wger/software/urls.py @@ -22,6 +22,7 @@ from django.views.generic import ( ) # wger +from wger import get_version from wger.software import views @@ -43,7 +44,9 @@ urlpatterns = [ ), path( 'about-us', - TemplateView.as_view(template_name="about_us.html"), + TemplateView.as_view( + template_name="about_us.html", extra_context={'version': get_version()} + ), name='about-us', ), path( diff --git a/wger/urls.py b/wger/urls.py index 8d9e47a49..5dd33a746 100644 --- a/wger/urls.py +++ b/wger/urls.py @@ -236,6 +236,11 @@ urlpatterns += [ core_api_views.ApplicationVersionView.as_view({'get': 'get'}), name='app_version' ), + path( + 'api/v2/min-app-version/', + core_api_views.RequiredApplicationVersionView.as_view({'get': 'get'}), + name='min_app_version' + ), path('email/', include(email_urls)), ] diff --git a/wger/utils/context_processor.py b/wger/utils/context_processor.py index 8ff1e5cb0..c18da30fa 100644 --- a/wger/utils/context_processor.py +++ b/wger/utils/context_processor.py @@ -18,7 +18,6 @@ from django.conf import settings from django.templatetags.static import static # wger -from wger import get_version from wger.config.models import GymConfig from wger.utils import constants from wger.utils.language import load_language @@ -35,9 +34,6 @@ def processor(request): i18n_path[lang[0]] = '/{0}{1}'.format(lang[0], full_path[3:]) context = { - # Application version - 'version': get_version(), - # Twitter handle for this instance 'twitter': settings.WGER_SETTINGS['TWITTER'], diff --git a/wger/weight/views.py b/wger/weight/views.py index 6afc81fd8..f175f023f 100644 --- a/wger/weight/views.py +++ b/wger/weight/views.py @@ -147,10 +147,10 @@ def export_csv(request): writer = csv.writer(response) weights = WeightEntry.objects.filter(user=request.user) - writer.writerow([_('Weight'), _('Date')]) + writer.writerow([_('Date'), _('Weight')]) for entry in weights: - writer.writerow([entry.weight, entry.date]) + writer.writerow([entry.date, entry.weight]) # Send the data to the browser response['Content-Disposition'] = 'attachment; filename=Weightdata.csv' diff --git a/yarn.lock b/yarn.lock index 81d5dc9b0..2bd73c492 100644 --- a/yarn.lock +++ b/yarn.lock @@ -17,10 +17,10 @@ Sortable@RubaXa/Sortable#1.14.0: uid "4684991aabfdf5cab989427fe204814d99520509" resolved "https://codeload.github.com/RubaXa/Sortable/tar.gz/4684991aabfdf5cab989427fe204814d99520509" -bootstrap@4.6.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-4.6.0.tgz#97b9f29ac98f98dfa43bf7468262d84392552fd7" - integrity sha512-Io55IuQY3kydzHtbGvQya3H+KorS/M9rSNyfCGCg9WZ4pyT/lCxIlpJgG1GXW/PswzC84Tr2fBYi+7+jFVQQBw== +bootstrap@4.6.1: + version "4.6.1" + resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-4.6.1.tgz#bc25380c2c14192374e8dec07cf01b2742d222a2" + integrity sha512-0dj+VgI9Ecom+rvvpNZ4MUZJz8dcX7WCX+eTID9+/8HgOkv3dsRzi8BGeZJCQU6flWQVYxwTQnEZFrmJSEO7og== commander@2: version "2.20.3" @@ -584,10 +584,10 @@ d3@^4: d3-voronoi "1.1.2" d3-zoom "1.7.1" -d3@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/d3/-/d3-7.0.1.tgz#ecd7eb094c398ec71dd61e8628a97ddf1c404d20" - integrity sha512-74zonD4nAtxF9dtwFwJ3RuoHPh2D/UTFX26midBuMVH+7pRbOezuyLUIb8mbQMuYFlcUXT+xy++orCmnvMM/CA== +d3@^7.1.1: + version "7.1.1" + resolved "https://registry.yarnpkg.com/d3/-/d3-7.1.1.tgz#77b9a0c9893b13643b8e52316ec65dca3a6a115e" + integrity sha512-8zkLMwSvUAnfN9pcJDfkuxU0Nvg4RLUD0A4BZN1KxJPtlnCGzMx3xM5cRl4m8fym/Vy8rlq52tl90UF3m91OnA== dependencies: d3-array "3" d3-axis "3" @@ -740,17 +740,17 @@ shariff@^3.2.1: "@fortawesome/fontawesome-free" "^5.8.2" jquery "^3.4.1" -tinymce@^5.9.2: - version "5.9.2" - resolved "https://registry.yarnpkg.com/tinymce/-/tinymce-5.9.2.tgz#c56a1d7800ac23026fbe6e0fcf444c0f157ccafe" - integrity sha512-/dHTsbxo0YwLvB5krRqiw/qHEm04/k6l0dvAQ3hO5oNw4e9QalKcUQCdr+g/b/FWcsUMP6scvKmm8MX50/j3Cg== +tinymce@^5.10.2: + version "5.10.2" + resolved "https://registry.yarnpkg.com/tinymce/-/tinymce-5.10.2.tgz#cf1ff01025909be26c64348509e6de8e70d58e1d" + integrity sha512-5QhnZ6c8F28fYucLLc00MM37fZoAZ4g7QCYzwIl38i5TwJR5xGqzOv6YMideyLM4tytCzLCRwJoQen2LI66p5A== xmlhttprequest@1: version "1.8.0" resolved "https://registry.yarnpkg.com/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz#67fe075c5c24fef39f9d65f5f7b7fe75171968fc" integrity sha1-Z/4HXFwk/vOfnWX197f+dRcZaPw= -yarn@^1.22.11: - version "1.22.11" - resolved "https://registry.yarnpkg.com/yarn/-/yarn-1.22.11.tgz#d0104043e7349046e0e2aec977c24be106925ed6" - integrity sha512-AWje4bzqO9RUn3sdnM5N8n4ZJ0BqCc/kqFJvpOI5/EVkINXui0yuvU7NDCEF//+WaxHuNay2uOHxA4+tq1P3cg== +yarn@^1.22.17: + version "1.22.17" + resolved "https://registry.yarnpkg.com/yarn/-/yarn-1.22.17.tgz#bf910747d22497b573131f7341c0e1d15c74036c" + integrity sha512-H0p241BXaH0UN9IeH//RT82tl5PfNraVpSpEoW+ET7lmopNC61eZ+A+IDvU8FM6Go5vx162SncDL8J1ZjRBriQ==