Merge branch 'master' into feature/exercise-crowdsourcing

# Conflicts:
#	.github/workflows/ci.yml
#	angular/package.json
#	requirements.txt
#	wger/urls.py
This commit is contained in:
Roland Geider
2021-11-19 10:59:55 +01:00
91 changed files with 5462 additions and 804 deletions

5
.github/FUNDING.yml vendored Normal file
View File

@@ -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

View File

@@ -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

View File

@@ -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:

View File

@@ -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

View File

@@ -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

View File

@@ -4,6 +4,8 @@ on:
push:
branches:
- "master"
paths:
- '**.py'
jobs:

View File

@@ -18,9 +18,13 @@ on:
push:
branches:
- master
paths:
- '**.py'
pull_request:
branches:
- master
paths:
- '**.py'
###############
# Set the Job #

View File

@@ -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
-----------

View File

@@ -1,7 +1,7 @@
# wger
<img src="https://raw.githubusercontent.com/wger-project/wger/master/wger/core/static/images/logos/logo.png" width="100" height="100" />
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 <http://localhost:8000> and log in as **admin**, password **adminadmin**

10
SECURITY.md Normal file
View File

@@ -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.

View File

@@ -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": {

View File

@@ -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",

View File

@@ -0,0 +1,372 @@
<?xml version='1.0' encoding='UTF-8'?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
<file source-language="en" datatype="plaintext" original="ng2.template" target-language="es">
<body>
<trans-unit id="ngb.alert.close" datatype="html">
<source>Close</source>
<target>Cerrar</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/alert/alert.ts</context>
<context context-type="linenumber">58,61</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.carousel.slide-number" datatype="html">
<source>Slide <x id="INTERPOLATION" equiv-text="OnHover$ = new"/> of <x id="INTERPOLATION_1" equiv-text="; private _pa"/> </source>
<target>Diapositiva <x id="INTERPOLATION" equiv-text="OnHover$ = new"/> de <x id="INTERPOLATION_1" equiv-text="; private _pa"/> </target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/carousel/carousel.ts</context>
<context context-type="linenumber">114,118</context>
</context-group>
<note priority="1" from="description">Currently selected slide number read by screen reader</note>
</trans-unit>
<trans-unit id="ngb.carousel.previous" datatype="html">
<source>Previous</source>
<target>Anterior</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/carousel/carousel.ts</context>
<context context-type="linenumber">132,134</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.carousel.next" datatype="html">
<source>Next</source>
<target>Siguiente</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/carousel/carousel.ts</context>
<context context-type="linenumber">147,152</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.datepicker.select-month" datatype="html">
<source>Select month</source>
<target>Seleccionar mes</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation-select.ts</context>
<context context-type="linenumber">44,49</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation-select.ts</context>
<context context-type="linenumber">49,50</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.datepicker.select-year" datatype="html">
<source>Select year</source>
<target>Seleccionar año</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation-select.ts</context>
<context context-type="linenumber">59,63</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation-select.ts</context>
<context context-type="linenumber">74</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.datepicker.previous-month" datatype="html">
<source>Previous month</source>
<target>Mes anterior</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation.ts</context>
<context context-type="linenumber">24,27</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation.ts</context>
<context context-type="linenumber">35,36</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.datepicker.next-month" datatype="html">
<source>Next month</source>
<target>Mes siguiente</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation.ts</context>
<context context-type="linenumber">47,50</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation.ts</context>
<context context-type="linenumber">60,64</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.pagination.first" datatype="html">
<source>««</source>
<target>««</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/pagination/pagination.ts</context>
<context context-type="linenumber">182,183</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.pagination.previous" datatype="html">
<source>«</source>
<target>«</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/pagination/pagination.ts</context>
<context context-type="linenumber">186,190</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.pagination.next" datatype="html">
<source>»</source>
<target>»</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/pagination/pagination.ts</context>
<context context-type="linenumber">194,195</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.pagination.last" datatype="html">
<source>»»</source>
<target>»»</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/pagination/pagination.ts</context>
<context context-type="linenumber">201,204</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.pagination.first-aria" datatype="html">
<source>First</source>
<target>Primero</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/pagination/pagination.ts</context>
<context context-type="linenumber">208,209</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.pagination.previous-aria" datatype="html">
<source>Previous</source>
<target>Anterior</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/pagination/pagination.ts</context>
<context context-type="linenumber">215,216</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.pagination.next-aria" datatype="html">
<source>Next</source>
<target>Siguiente</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/pagination/pagination.ts</context>
<context context-type="linenumber">226,228</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.pagination.last-aria" datatype="html">
<source>Last</source>
<target>Último</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/pagination/pagination.ts</context>
<context context-type="linenumber">232,233</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.progressbar.value" datatype="html">
<source><x id="INTERPOLATION" equiv-text="; } /** *"/></source>
<target><x id="INTERPOLATION" equiv-text="; } /** *"/></target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/progressbar/progressbar.ts</context>
<context context-type="linenumber">32,38</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.HH" datatype="html">
<source>HH</source>
<target>HH</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">40,41</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.hours" datatype="html">
<source>Hours</source>
<target>Horas</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">46,47</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.MM" datatype="html">
<source>MM</source>
<target>MM</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">51,54</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.minutes" datatype="html">
<source>Minutes</source>
<target>Minutos</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">58,59</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.increment-hours" datatype="html">
<source>Increment hours</source>
<target>Incrementar horas</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">63,64</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.decrement-hours" datatype="html">
<source>Decrement hours</source>
<target>Reducir horas</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">69,70</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.increment-minutes" datatype="html">
<source>Increment minutes</source>
<target>Incrementar minutos</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">76,78</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.decrement-minutes" datatype="html">
<source>Decrement minutes</source>
<target>Reducir minutos</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">82,84</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.SS" datatype="html">
<source>SS</source>
<target>SS</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">87,88</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.seconds" datatype="html">
<source>Seconds</source>
<target>Segundos</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">92,93</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.increment-seconds" datatype="html">
<source>Increment seconds</source>
<target>Incrementar segundos</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">100,101</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.decrement-seconds" datatype="html">
<source>Decrement seconds</source>
<target>Reducir segundos</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">106,110</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.AM" datatype="html">
<source><x id="INTERPOLATION" equiv-text="NgbTime; pr"/></source>
<target><x id="INTERPOLATION" equiv-text="NgbTime; pr"/></target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">115,121</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.PM" datatype="html">
<source><x id="INTERPOLATION" equiv-text="t() meridian: b"/></source>
<target><x id="INTERPOLATION" equiv-text="t() meridian: b"/></target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">123,131</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.toast.close-aria" datatype="html">
<source>Close</source>
<target>Cerrar</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/toast/toast.ts</context>
<context context-type="linenumber">78,85</context>
</context-group>
</trans-unit>
<trans-unit id="2540594807548326286" datatype="html">
<source>Add entry</source>
<target>Añadir entrada</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/weight/weight-chart/weight-chart.component.html</context>
<context context-type="linenumber">25</context>
</context-group>
</trans-unit>
<trans-unit id="7819314041543176992" datatype="html">
<source>Close</source>
<target>Cerrar</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/weight/weight-chart/weight-chart.component.html</context>
<context context-type="linenumber">34</context>
</context-group>
</trans-unit>
<trans-unit id="5848348023107769657" datatype="html">
<source>Weight</source>
<target>Peso</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/weight/weight-chart/weight-chart.component.ts</context>
<context context-type="linenumber">64</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/weight/weight-edit/weight-edit.component.html</context>
<context context-type="linenumber">14</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/weight/weight-list/weight-list.component.html</context>
<context context-type="linenumber">13</context>
</context-group>
</trans-unit>
<trans-unit id="7585826646011739428" datatype="html">
<source>Edit</source>
<target>Editar</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/weight/weight-detail/weight-detail.component.html</context>
<context context-type="linenumber">27</context>
</context-group>
</trans-unit>
<trans-unit id="7022070615528435141" datatype="html">
<source>Delete</source>
<target>Borrar</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/weight/weight-detail/weight-detail.component.html</context>
<context context-type="linenumber">28</context>
</context-group>
</trans-unit>
<trans-unit id="3973931101896534797" datatype="html">
<source>Date</source>
<target>Fecha</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/weight/weight-edit/weight-edit.component.html</context>
<context context-type="linenumber">5</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/weight/weight-list/weight-list.component.html</context>
<context context-type="linenumber">12</context>
</context-group>
</trans-unit>
<trans-unit id="3768927257183755959" datatype="html">
<source>Save</source>
<target>Guardar</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/weight/weight-edit/weight-edit.component.html</context>
<context context-type="linenumber">26</context>
</context-group>
</trans-unit>
<trans-unit id="2159130950882492111" datatype="html">
<source>Cancel</source>
<target>Cancelar</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/weight/weight-edit/weight-edit.component.html</context>
<context context-type="linenumber">31</context>
</context-group>
</trans-unit>
<trans-unit id="1230154438678955604" datatype="html">
<source>Change</source>
<target>Cambio</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/weight/weight-list/weight-list.component.html</context>
<context context-type="linenumber">14</context>
</context-group>
</trans-unit>
<trans-unit id="840951359074313455" datatype="html">
<source>Days</source>
<target>Días</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/weight/weight-list/weight-list.component.html</context>
<context context-type="linenumber">15</context>
</context-group>
</trans-unit>
</body>
</file>
</xliff>

View File

@@ -0,0 +1,372 @@
<?xml version='1.0' encoding='UTF-8'?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
<file source-language="en" datatype="plaintext" original="ng2.template" target-language="hr">
<body>
<trans-unit id="ngb.alert.close" datatype="html">
<source>Close</source>
<target>Zatvori</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/alert/alert.ts</context>
<context context-type="linenumber">58,61</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.carousel.slide-number" datatype="html">
<source>Slide <x id="INTERPOLATION" equiv-text="OnHover$ = new"/> of <x id="INTERPOLATION_1" equiv-text="; private _pa"/> </source>
<target>Slika <x id="INTERPOLATION" equiv-text="OnHover$ = new"/> od <x id="INTERPOLATION_1" equiv-text="; private _pa"/> </target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/carousel/carousel.ts</context>
<context context-type="linenumber">114,118</context>
</context-group>
<note priority="1" from="description">Currently selected slide number read by screen reader</note>
</trans-unit>
<trans-unit id="ngb.carousel.previous" datatype="html">
<source>Previous</source>
<target>Prethodna</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/carousel/carousel.ts</context>
<context context-type="linenumber">132,134</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.carousel.next" datatype="html">
<source>Next</source>
<target>Sljedeća</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/carousel/carousel.ts</context>
<context context-type="linenumber">147,152</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.datepicker.select-month" datatype="html">
<source>Select month</source>
<target>Odaberi mjesec</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation-select.ts</context>
<context context-type="linenumber">44,49</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation-select.ts</context>
<context context-type="linenumber">49,50</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.datepicker.select-year" datatype="html">
<source>Select year</source>
<target>Odaberi godinu</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation-select.ts</context>
<context context-type="linenumber">59,63</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation-select.ts</context>
<context context-type="linenumber">74</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.datepicker.previous-month" datatype="html">
<source>Previous month</source>
<target>Prethodni mjesec</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation.ts</context>
<context context-type="linenumber">24,27</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation.ts</context>
<context context-type="linenumber">35,36</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.datepicker.next-month" datatype="html">
<source>Next month</source>
<target>Sljedeći mjesec</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation.ts</context>
<context context-type="linenumber">47,50</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/datepicker/datepicker-navigation.ts</context>
<context context-type="linenumber">60,64</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.pagination.first" datatype="html">
<source>««</source>
<target>««</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/pagination/pagination.ts</context>
<context context-type="linenumber">182,183</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.pagination.previous" datatype="html">
<source>«</source>
<target>«</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/pagination/pagination.ts</context>
<context context-type="linenumber">186,190</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.pagination.next" datatype="html">
<source>»</source>
<target>»</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/pagination/pagination.ts</context>
<context context-type="linenumber">194,195</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.pagination.last" datatype="html">
<source>»»</source>
<target>»»</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/pagination/pagination.ts</context>
<context context-type="linenumber">201,204</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.pagination.first-aria" datatype="html">
<source>First</source>
<target>Prva</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/pagination/pagination.ts</context>
<context context-type="linenumber">208,209</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.pagination.previous-aria" datatype="html">
<source>Previous</source>
<target>Prethodna</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/pagination/pagination.ts</context>
<context context-type="linenumber">215,216</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.pagination.next-aria" datatype="html">
<source>Next</source>
<target>Sljedeća</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/pagination/pagination.ts</context>
<context context-type="linenumber">226,228</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.pagination.last-aria" datatype="html">
<source>Last</source>
<target>Zadnja</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/pagination/pagination.ts</context>
<context context-type="linenumber">232,233</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.progressbar.value" datatype="html">
<source><x id="INTERPOLATION" equiv-text="; } /** *"/></source>
<target><x id="INTERPOLATION" equiv-text="; } /** *"/></target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/progressbar/progressbar.ts</context>
<context context-type="linenumber">32,38</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.HH" datatype="html">
<source>HH</source>
<target>HH</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">40,41</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.hours" datatype="html">
<source>Hours</source>
<target>Sati</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">46,47</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.MM" datatype="html">
<source>MM</source>
<target>MM</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">51,54</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.minutes" datatype="html">
<source>Minutes</source>
<target>Minute</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">58,59</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.increment-hours" datatype="html">
<source>Increment hours</source>
<target>Povećaj sate</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">63,64</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.decrement-hours" datatype="html">
<source>Decrement hours</source>
<target>Smanji sate</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">69,70</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.increment-minutes" datatype="html">
<source>Increment minutes</source>
<target>Povećaj minute</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">76,78</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.decrement-minutes" datatype="html">
<source>Decrement minutes</source>
<target>Smanji minute</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">82,84</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.SS" datatype="html">
<source>SS</source>
<target>SS</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">87,88</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.seconds" datatype="html">
<source>Seconds</source>
<target>Sekunde</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">92,93</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.increment-seconds" datatype="html">
<source>Increment seconds</source>
<target>Povećaj sekunde</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">100,101</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.decrement-seconds" datatype="html">
<source>Decrement seconds</source>
<target>Smanji sekunde</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">106,110</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.AM" datatype="html">
<source><x id="INTERPOLATION" equiv-text="NgbTime; pr"/></source>
<target><x id="INTERPOLATION" equiv-text="NgbTime; pr"/></target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">115,121</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.timepicker.PM" datatype="html">
<source><x id="INTERPOLATION" equiv-text="t() meridian: b"/></source>
<target><x id="INTERPOLATION" equiv-text="t() meridian: b"/></target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/timepicker/timepicker.ts</context>
<context context-type="linenumber">123,131</context>
</context-group>
</trans-unit>
<trans-unit id="ngb.toast.close-aria" datatype="html">
<source>Close</source>
<target>Zatvori</target>
<context-group purpose="location">
<context context-type="sourcefile">node_modules/@ng-bootstrap/src/toast/toast.ts</context>
<context context-type="linenumber">78,85</context>
</context-group>
</trans-unit>
<trans-unit id="2540594807548326286" datatype="html">
<source>Add entry</source>
<target>Dodaj unos</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/weight/weight-chart/weight-chart.component.html</context>
<context context-type="linenumber">25</context>
</context-group>
</trans-unit>
<trans-unit id="7819314041543176992" datatype="html">
<source>Close</source>
<target>Zatvori</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/weight/weight-chart/weight-chart.component.html</context>
<context context-type="linenumber">34</context>
</context-group>
</trans-unit>
<trans-unit id="5848348023107769657" datatype="html">
<source>Weight</source>
<target>Težina</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/weight/weight-chart/weight-chart.component.ts</context>
<context context-type="linenumber">64</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/weight/weight-edit/weight-edit.component.html</context>
<context context-type="linenumber">14</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/weight/weight-list/weight-list.component.html</context>
<context context-type="linenumber">13</context>
</context-group>
</trans-unit>
<trans-unit id="7585826646011739428" datatype="html">
<source>Edit</source>
<target>Uredi</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/weight/weight-detail/weight-detail.component.html</context>
<context context-type="linenumber">27</context>
</context-group>
</trans-unit>
<trans-unit id="7022070615528435141" datatype="html">
<source>Delete</source>
<target>Izbriši</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/weight/weight-detail/weight-detail.component.html</context>
<context context-type="linenumber">28</context>
</context-group>
</trans-unit>
<trans-unit id="3973931101896534797" datatype="html">
<source>Date</source>
<target>Datum</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/weight/weight-edit/weight-edit.component.html</context>
<context context-type="linenumber">5</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/weight/weight-list/weight-list.component.html</context>
<context context-type="linenumber">12</context>
</context-group>
</trans-unit>
<trans-unit id="3768927257183755959" datatype="html">
<source>Save</source>
<target>Spremi</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/weight/weight-edit/weight-edit.component.html</context>
<context context-type="linenumber">26</context>
</context-group>
</trans-unit>
<trans-unit id="2159130950882492111" datatype="html">
<source>Cancel</source>
<target>Odustani</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/weight/weight-edit/weight-edit.component.html</context>
<context context-type="linenumber">31</context>
</context-group>
</trans-unit>
<trans-unit id="1230154438678955604" datatype="html">
<source>Change</source>
<target>Promijeni</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/weight/weight-list/weight-list.component.html</context>
<context context-type="linenumber">14</context>
</context-group>
</trans-unit>
<trans-unit id="840951359074313455" datatype="html">
<source>Days</source>
<target>Dani</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/weight/weight-list/weight-list.component.html</context>
<context context-type="linenumber">15</context>
</context-group>
</trans-unit>
</body>
</file>
</xliff>

View File

@@ -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

View File

@@ -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/``

View File

@@ -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

View File

@@ -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

View File

@@ -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()

View File

@@ -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

View File

@@ -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.

View File

@@ -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:

View File

@@ -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 <roland@geider.net>"
ARG DOCKER_DIR=./extras/docker/apache
ARG DOCKER_DIR=./extras/docker/demo
EXPOSE 80

View File

@@ -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 <http://localhost:8000> 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

View File

@@ -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 <roland@geider.net>"
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"]

View File

@@ -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

View File

@@ -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

View File

@@ -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('***********************************')

View File

@@ -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",

View File

@@ -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

View File

@@ -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

View File

@@ -6,6 +6,6 @@
-r requirements.txt
gunicorn~=20.1
psycopg2-binary
django-redis
psycopg2-binary==2.9.2
django-redis==5.0.0

View File

@@ -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

View File

@@ -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

View File

@@ -0,0 +1 @@
Google Play and the Google Play logo are trademarks of Google LLC.

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -160,58 +160,55 @@
<footer id="main-footer" class="bg-wger-light border-top">
<div class="container">
<div class="container bg-wger-light">
<div class="row">
<div class="col-md-8">
<div class="col-xl-2 col-md-3">
<a href="https://play.google.com/store/apps/details?id=de.wger.flutter">
<img src="{% static 'images/logos/play-store/google-play-badge.png' %}"
height="60"
alt="Get it on Google Play"
title="Get it on Google Play">
</a>
</div>
<div class="col-xl-6 col-md-5">
<ul class="list-unstyled mb-0 pt-2">
<li><a href="{% url 'core:imprint' %}" class="text-muted small">{% translate "Imprint" %}</a></li>
<li><a href="{% url 'software:tos' %}" class="text-muted small">{% translate "Terms of service" %}</a></li>
</ul>
</div>
{# #}
{# Render the links to the other languages #}
{# #}
{% if not is_api_path %} {# Don't show language switcher in the generated API views #}
<div class="btn-group float-right" role="group">
<div class="btn-group" role="group">
<button id="btnGroupLanguages2" type="button" class="btn btn-link text-muted small dropdown-toggle btn-sm" data-toggle="dropdown">
{% with 'images/icons/flag-'|add:language.short_name|add:'.svg' as flagname %}
<img src="{% static flagname %}"
width="18"
height="11"
alt="{% translate language.full_name %}"
title="{% translate language.full_name %}"
style="">
{{language.full_name}} <span class="caret"></span>
{% endwith %}
</button>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="btnGroupLanguages">
{% for language in languages %}
{% language_select language %}
{% endfor %}
<div class="dropdown-divider"></div>
<a href="https://hosted.weblate.org/engage/wger/" class="dropdown-item" target="_blank">
<span class="{% fa_class 'plus' %}"></span>
{% translate "Translate" %}
</a>
<div class="col-md-4">
{% if not is_api_path %} {# Don't show language switcher in the generated API views #}
<div class="btn-group float-sm-right" role="group">
<div class="btn-group" role="group">
<button id="btnGroupLanguages2" type="button" class="btn btn-link text-muted small dropdown-toggle btn-sm" data-toggle="dropdown">
{% with 'images/icons/flag-'|add:language.short_name|add:'.svg' as flagname %}
<img src="{% static flagname %}"
width="18"
height="11"
alt="{% translate language.full_name %}"
title="{% translate language.full_name %}"
style="">
{{language.full_name}} <span class="caret"></span>
{% endwith %}
</button>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="btnGroupLanguages">
{% for language in languages %}
{% language_select language %}
{% endfor %}
<div class="dropdown-divider"></div>
<a href="https://hosted.weblate.org/engage/wger/" class="dropdown-item" target="_blank">
<span class="{% fa_class 'plus' %}"></span>
{% translate "Translate" %}
</a>
</div>
</div>
</div>
{% endif %}
</div>
{% endif %}
<ul class="list-unstyled mb-0 pt-2">
<li><a href="{% url 'core:imprint' %}" class="text-muted small">{% translate "Imprint" %}</a></li>
<li><a href="{% url 'software:tos' %}" class="text-muted small">{% translate "Terms of service" %}</a></li>
</ul>
<!--
<a href="https://github.com/wger-project/wger" class="no-hover">
<img src="{% static 'images/agpl-v3.svg' %}"
width="57"
height="20"
alt="{% translate 'Released under the Affero GPL' %}"
title="{% translate 'Released under the Affero GPL' %}"></a>
<em class="text-muted small">{{version}}</em> -->
</div>
</div>
</div>
</div>
</footer>

View File

@@ -75,6 +75,7 @@ class ExerciseImageSerializer(serializers.ModelSerializer):
'image',
'is_main',
'status',
'style',
]

View File

@@ -33,6 +33,7 @@ class ExerciseImageForm(forms.ModelForm):
'is_main',
'license',
'license_author',
'style',
)

View File

@@ -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)

View File

@@ -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
),
),
]

View File

@@ -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]

View File

@@ -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):

View File

@@ -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 <roland@geider.net>\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 <ahmedtahraoui90@gmail.com>\n"
"Language-Team: Arabic (Saudi Arabia) <https://hosted.weblate.org/projects/"
"wger/web/ar_SA/>\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"

Binary file not shown.

Binary file not shown.

View File

@@ -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 <roland@geider.net>\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 <roland@geider.net>\n"
"Language-Team: Danish <https://hosted.weblate.org/projects/wger/web/da/>\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 ""

Binary file not shown.

View File

@@ -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 <roland@geider.net>\n"
"PO-Revision-Date: 2021-09-19 02:37+0000\n"
"Last-Translator: J. Lavoie <j.lavoie@net-c.ca>\n"
"Language-Team: German <https://hosted.weblate.org/projects/wger/web/de/>\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 ""

Binary file not shown.

Binary file not shown.

View File

@@ -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 <j.lavoie@net-c.ca>\n"
"PO-Revision-Date: 2021-10-27 10:48+0000\n"
"Last-Translator: Roland Geider <roland@geider.net>\n"
"Language-Team: Spanish <https://hosted.weblate.org/projects/wger/web/es/>\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 "<i>This is an empty plan, what did you expect on the PDF?</i>"
@@ -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 ""

View File

@@ -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 <epost@anotheragency.no>\n"
"PO-Revision-Date: 2021-10-17 08:36+0000\n"
"Last-Translator: keyvanmj <keyvanmj5@gmail.com>\n"
"Language-Team: Persian <https://hosted.weblate.org/projects/wger/web/fa/>\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)"

Binary file not shown.

View File

@@ -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 <roland@geider.net>\n"
"PO-Revision-Date: 2021-11-07 16:51+0000\n"
"Last-Translator: J. Lavoie <j.lavoie@net-c.ca>\n"
"Language-Team: French <https://hosted.weblate.org/projects/wger/web/fr/>\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 ""

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

View File

@@ -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 <roland@geider.net>\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 <cgbk10@gmail.com>\n"
"Language-Team: Japanese <https://hosted.weblate.org/projects/wger/web/ja/>\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."

Binary file not shown.

View File

@@ -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 <david@davidmachiels.be>\n"
"PO-Revision-Date: 2021-10-27 10:48+0000\n"
"Last-Translator: Roland Geider <roland@geider.net>\n"
"Language-Team: Dutch <https://hosted.weblate.org/projects/wger/web/nl/>\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"

Binary file not shown.

Binary file not shown.

View File

@@ -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 <augim3@gmail.com>\n"
"Language-Team: Polish <https://hosted.weblate.org/projects/wger/web/pl/>\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"

View File

@@ -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 <roland@geider.net>\n"
"Language-Team: Portuguese <https://hosted.weblate.org/projects/wger/web/pt/>"
"\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"

Binary file not shown.

Binary file not shown.

View File

@@ -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 <gagawin99@gmail.com>\n"
"Language-Team: Russian <https://hosted.weblate.org/projects/wger/web/ru/>\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 ""

Binary file not shown.

Binary file not shown.

View File

@@ -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 <badsystem@ukr.net>\n"
"Language-Team: Ukrainian <https://hosted.weblate.org/projects/wger/web/uk/>\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"
"Єдине, що потрібно враховувати, це те, що перша колонка - це <strong>дата</"
"strong>, друга - <strong>вага</strong>. Усі наступні стовпці ігноруються. "
"Ліміт 1000 рядків.\n"
"вводу, система\n"
"спробує вгадати формат для імпорту. Єдине, що потрібно враховувати, це те, "
"що перша\n"
"колонка - це <strong>дата</strong>, друга - <strong>вага</strong>. Усі "
"наступні стовпці\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 <strong>date</strong>\n"
" on the first columns and <strong>weight</strong> on the second."
msgstr ""
"Пам'ятайте, що очікувана структура: <strong>дата</strong> - в першому "
"стовпці і <strong>вага</strong> - в другому."
"Пам'ятайте, що очікувана структура: <strong>дата</strong> \n"
"- в першому стовпці і <strong>вага</strong> - в другому."
#: 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"

View File

@@ -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 <izhaoget@gmail.com>\n"
"Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects/"
"wger/web/zh_Hans/>\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

View File

@@ -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'
),
),
]

View File

@@ -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(

View File

@@ -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',

View File

@@ -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):

View File

@@ -42,6 +42,7 @@ from wger.nutrition.models import (
Ingredient,
IngredientWeightUnit,
LogItem,
Meal,
MealItem,
)
from wger.utils.widgets import Html5NumberInput

View File

@@ -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'
),
),
]

View File

@@ -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
"""

View File

@@ -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):
"""

View File

@@ -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

View File

@@ -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 %}
</div>
</div>
<p>{% translate "Current version" %} <b>{{ version }}</b></p>
{% endblock %}

View File

@@ -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(

View File

@@ -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)),
]

View File

@@ -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'],

View File

@@ -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'

View File

@@ -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==