├── .coveragerc ├── .editorconfig ├── .github ├── PULL_REQUEST_TEMPLATE.md ├── dependabot.yml └── workflows │ ├── lint-pr.yml │ ├── lint.yml │ ├── publish-to-live-pypi.yml │ ├── publish-to-test-pypi.yml │ └── test.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .tx └── config ├── CHANGELOG.rst ├── LICENSE ├── MANIFEST.in ├── README.rst ├── addon.json ├── aldryn_config.py ├── conftest.py ├── djangocms_picture ├── __init__.py ├── cms_plugins.py ├── forms.py ├── locale │ ├── af │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── ar │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── be │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── bg │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── bn │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── ca │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── cmn │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── cs │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── cy │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── da │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── de │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── el │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── en │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── es │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── es_AR │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── es_BO │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── es_DO │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── et │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── eu │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── fa │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── fi │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── fr │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── ga │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── gl │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── gu │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── he │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── hi │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── hr │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── hu │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── id │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── is │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── is_IS │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── it │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── ja │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── ka │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── kk │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── km │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── ko │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── ko_KR │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── ku_IQ │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── lt │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── lv │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── mn │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── mn_MN │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── mt │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── nb │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── nl │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── no │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── pl │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── pt │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── pt_BR │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── ro │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── ru │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── sk │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── sl │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── sl_SI │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── sq │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── sq_AL │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── sr │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── sr@latin │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── sv │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── ta │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── th │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── th_TH │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── tlh │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── tr │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── ug │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── uk │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── ur │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── vi │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── vi_VN │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── zh │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ ├── zh_CN │ │ └── LC_MESSAGES │ │ │ ├── django.mo │ │ │ └── django.po │ └── zh_TW │ │ └── LC_MESSAGES │ │ ├── django.mo │ │ └── django.po ├── migrations │ ├── 0001_initial.py │ ├── 0002_auto_20151018_1927.py │ ├── 0003_migrate_to_filer.py │ ├── 0004_adapt_fields.py │ ├── 0005_reset_null_values.py │ ├── 0006_remove_null_values.py │ ├── 0007_fix_alignment.py │ ├── 0008_picture_use_responsive_image.py │ ├── 0009_auto_20181212_1003.py │ ├── 0010_auto_20190627_0432.py │ ├── 0011_auto_20190314_1536.py │ ├── 0012_alter_picture_cmsplugin_ptr.py │ └── __init__.py ├── models.py └── templates │ └── djangocms_picture │ └── default │ └── picture.html ├── preview.gif ├── pyproject.toml ├── setup.cfg ├── setup.py ├── tests ├── __init__.py ├── helpers.py ├── requirements │ ├── compile.py │ ├── py310-django42-cms311.txt │ ├── py310-django42-cms41.txt │ ├── py311-django42-cms311.txt │ ├── py311-django42-cms41.txt │ ├── py312-django42-cms311.txt │ ├── py312-django42-cms41.txt │ ├── py313-django42-cms311.txt │ ├── py313-django42-cms41.txt │ ├── py39-django42-cms311.txt │ ├── py39-django42-cms41.txt │ └── requirements.in ├── settings.py ├── templates │ ├── base.html │ └── page.html ├── test_migrations.py ├── test_models.py ├── test_plugins.py └── urls.py └── tox.ini /.coveragerc: -------------------------------------------------------------------------------- 1 | [run] 2 | parallel = True 3 | branch = True 4 | source = djangocms_picture 5 | omit = 6 | migrations/* 7 | tests/* 8 | 9 | [report] 10 | exclude_lines = 11 | pragma: no cover 12 | def __repr__ 13 | if self.debug: 14 | if settings.DEBUG 15 | raise AssertionError 16 | raise NotImplementedError 17 | if 0: 18 | if __name__ == .__main__.: 19 | ignore_errors = True 20 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | 3 | root = true 4 | 5 | [*] 6 | indent_style = space 7 | indent_size = 4 8 | end_of_line = lf 9 | charset = utf-8 10 | trim_trailing_whitespace = true 11 | insert_final_newline = true 12 | max_line_length = 80 13 | 14 | [*.py] 15 | max_line_length = 120 16 | quote_type = single 17 | 18 | [*.{scss,js,html}] 19 | max_line_length = 120 20 | indent_style = space 21 | quote_type = double 22 | 23 | [*.js] 24 | max_line_length = 120 25 | quote_type = single 26 | 27 | [*.rst] 28 | max_line_length = 80 29 | 30 | [*.yml] 31 | indent_size = 2 32 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | 3 | 7 | 8 | ## Related resources 9 | 10 | 14 | 15 | * #... 16 | * #... 17 | 18 | ## Checklist 19 | 20 | 25 | 26 | * [ ] I have opened this pull request against ``master`` 27 | * [ ] I have added or modified the tests when changing logic 28 | * [ ] I have followed [the conventional commits guidelines](https://www.conventionalcommits.org/) to add meaningful information into the changelog 29 | * [ ] I have read the [contribution guidelines ](https://github.com/django-cms/django-cms/blob/develop/CONTRIBUTING.rst) and I have joined #workgroup-pr-review on 30 | [Slack](https://www.django-cms.org/slack) to find a “pr review buddy” who is going to review my pull request. 31 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | # To get started with Dependabot version updates, you'll need to specify which 2 | # package ecosystems to update and where the package manifests are located. 3 | # Please see the documentation for all configuration options: 4 | # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates 5 | 6 | version: 2 7 | updates: 8 | - package-ecosystem: "github-actions" 9 | directory: "/" # Location of package manifests 10 | schedule: 11 | interval: "monthly" 12 | -------------------------------------------------------------------------------- /.github/workflows/lint-pr.yml: -------------------------------------------------------------------------------- 1 | name: "Lint PR" 2 | 3 | # Validates PR titles against the conventional commit spec 4 | # https://github.com/commitizen/conventional-commit-types 5 | 6 | on: 7 | pull_request_target: 8 | types: 9 | - opened 10 | - edited 11 | - synchronize 12 | 13 | jobs: 14 | conventional-commits: 15 | name: Validate PR title 16 | runs-on: ubuntu-latest 17 | steps: 18 | - uses: amannn/action-semantic-pull-request@v5 19 | env: 20 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 21 | -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- 1 | name: Lint 2 | 3 | on: [push, pull_request] 4 | 5 | concurrency: 6 | group: ${{ github.workflow }}-${{ github.ref }} 7 | cancel-in-progress: true 8 | 9 | jobs: 10 | ruff: 11 | name: ruff 12 | runs-on: ubuntu-latest 13 | steps: 14 | - name: Checkout 15 | uses: actions/checkout@v4 16 | - name: Set up Python 17 | uses: actions/setup-python@v5 18 | with: 19 | python-version: '3.11' 20 | allow-prereleases: true 21 | cache: pip 22 | - run: | 23 | python -m pip install --upgrade pip 24 | pip install ruff 25 | - name: Run Ruff 26 | run: | 27 | ruff check djangocms_picture 28 | -------------------------------------------------------------------------------- /.github/workflows/publish-to-live-pypi.yml: -------------------------------------------------------------------------------- 1 | name: Publish Python 🐍 distributions 📦 to pypi 2 | 3 | on: 4 | release: 5 | types: 6 | - published 7 | 8 | jobs: 9 | build-n-publish: 10 | name: Build and publish Python 🐍 distributions 📦 to pypi 11 | runs-on: ubuntu-latest 12 | environment: 13 | name: pypi 14 | url: https://pypi.org/p/djangocms-picture 15 | permissions: 16 | id-token: write 17 | steps: 18 | - uses: actions/checkout@v4 19 | - name: Set up Python 3.10 20 | uses: actions/setup-python@v5 21 | with: 22 | python-version: '3.11' 23 | 24 | - name: Install pypa/build 25 | run: >- 26 | python -m 27 | pip install 28 | build 29 | --user 30 | - name: Build a binary wheel and a source tarball 31 | run: >- 32 | python -m 33 | build 34 | --sdist 35 | --wheel 36 | --outdir dist/ 37 | . 38 | 39 | - name: Publish distribution 📦 to PyPI 40 | if: startsWith(github.ref, 'refs/tags') 41 | uses: pypa/gh-action-pypi-publish@release/v1 42 | -------------------------------------------------------------------------------- /.github/workflows/publish-to-test-pypi.yml: -------------------------------------------------------------------------------- 1 | name: Publish Python 🐍 distributions 📦 to TestPyPI 2 | 3 | on: 4 | push: 5 | branches: 6 | - master 7 | 8 | jobs: 9 | build-n-publish: 10 | name: Build and publish Python 🐍 distributions 📦 to TestPyPI 11 | runs-on: ubuntu-latest 12 | environment: 13 | name: pypi 14 | url: https://test.pypi.org/p/djangocms-picture 15 | permissions: 16 | id-token: write 17 | steps: 18 | - uses: actions/checkout@v4 19 | - name: Set up Python 3.10 20 | uses: actions/setup-python@v5 21 | with: 22 | python-version: '3.11' 23 | 24 | - name: Install pypa/build 25 | run: >- 26 | python -m 27 | pip install 28 | build 29 | --user 30 | - name: Build a binary wheel and a source tarball 31 | run: >- 32 | python -m 33 | build 34 | --sdist 35 | --wheel 36 | --outdir dist/ 37 | . 38 | 39 | - name: Publish distribution 📦 to Test PyPI 40 | uses: pypa/gh-action-pypi-publish@release/v1 41 | with: 42 | repository-url: https://test.pypi.org/legacy/ 43 | skip_existing: true 44 | -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- 1 | name: CodeCov 2 | 3 | on: 4 | push: 5 | branches: 6 | - master 7 | pull_request: 8 | 9 | concurrency: 10 | group: ${{ github.head_ref || github.run_id }} 11 | cancel-in-progress: true 12 | 13 | jobs: 14 | tests: 15 | name: ${{ matrix.database }} Python ${{ matrix.python-version }} 16 | runs-on: ubuntu-22.04 17 | 18 | strategy: 19 | fail-fast: false 20 | matrix: 21 | python-version: 22 | - '3.9' 23 | - '3.10' 24 | - '3.11' 25 | 26 | steps: 27 | - uses: actions/checkout@v4 28 | 29 | - uses: actions/setup-python@v5 30 | with: 31 | python-version: ${{ matrix.python-version }} 32 | allow-prereleases: true 33 | cache: pip 34 | cache-dependency-path: 'requirements/*.txt' 35 | 36 | - name: Install dependencies 37 | run: | 38 | python -m pip install --upgrade pip setuptools wheel 39 | python -m pip install --upgrade 'tox>=4.0.0rc3' 40 | 41 | - name: Run tox targets for ${{ matrix.python-version }} 42 | run: tox run -f py$(echo ${{ matrix.python-version }} | tr -d .) 43 | 44 | - name: Upload coverage data 45 | uses: actions/upload-artifact@v4 46 | with: 47 | name: coverage-data-${{ matrix.python-version }} 48 | include-hidden-files: true 49 | path: '.coverage*' 50 | 51 | coverage: 52 | name: Coverage 53 | runs-on: ubuntu-22.04 54 | needs: tests 55 | steps: 56 | - uses: actions/checkout@v4 57 | 58 | - uses: actions/setup-python@v5 59 | with: 60 | python-version: '3.11' 61 | 62 | - name: Install dependencies 63 | run: python -m pip install --upgrade coverage[toml] 64 | 65 | - name: Download data 66 | uses: actions/download-artifact@v4 67 | with: 68 | pattern: coverage-data-* 69 | merge-multiple: true 70 | 71 | - name: Combine coverage and fail if it's <95% 72 | run: | 73 | python -m coverage combine 74 | python -m coverage html --skip-covered --skip-empty 75 | python -m coverage report --fail-under=95 76 | 77 | - name: Upload HTML report 78 | if: ${{ failure() }} 79 | uses: actions/upload-artifact@v4 80 | with: 81 | name: html-report 82 | path: htmlcov 83 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.py[cod] 2 | *$py.class 3 | *.egg-info 4 | *.log 5 | *.pot 6 | .DS_Store 7 | .coverage 8 | .coverage/ 9 | .eggs/ 10 | .idea/ 11 | .project/ 12 | .pydevproject/ 13 | .vscode/ 14 | .settings/ 15 | .tox/ 16 | __pycache__/ 17 | build/ 18 | dist/ 19 | env/ 20 | .venv/ 21 | 22 | /~ 23 | /node_modules 24 | .sass-cache 25 | *.css.map 26 | npm-debug.log 27 | package-lock.json 28 | 29 | local.sqlite 30 | -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- 1 | ci: 2 | autofix_commit_msg: | 3 | ci: auto fixes from pre-commit hooks 4 | 5 | for more information, see https://pre-commit.ci 6 | autofix_prs: false 7 | autoupdate_commit_msg: 'ci: pre-commit autoupdate' 8 | autoupdate_schedule: monthly 9 | 10 | repos: 11 | - repo: https://github.com/asottile/pyupgrade 12 | rev: v3.7.0 13 | hooks: 14 | - id: pyupgrade 15 | args: ["--py38-plus"] 16 | 17 | - repo: https://github.com/adamchainz/django-upgrade 18 | rev: '1.14.0' 19 | hooks: 20 | - id: django-upgrade 21 | args: [--target-version, "3.2"] 22 | 23 | - repo: https://github.com/astral-sh/ruff-pre-commit 24 | rev: v0.0.275 25 | hooks: 26 | - id: ruff 27 | args: [--fix, --exit-non-zero-on-fix] 28 | 29 | - repo: https://github.com/asottile/yesqa 30 | rev: v1.5.0 31 | hooks: 32 | - id: yesqa 33 | 34 | - repo: https://github.com/pre-commit/pre-commit-hooks 35 | rev: v4.4.0 36 | hooks: 37 | - id: check-merge-conflict 38 | - id: debug-statements 39 | - id: mixed-line-ending 40 | - id: trailing-whitespace 41 | 42 | - repo: https://github.com/pycqa/isort 43 | rev: 5.12.0 44 | hooks: 45 | - id: isort 46 | 47 | - repo: https://github.com/codespell-project/codespell 48 | rev: v2.2.5 49 | hooks: 50 | - id: codespell 51 | -------------------------------------------------------------------------------- /.tx/config: -------------------------------------------------------------------------------- 1 | [main] 2 | host = https://www.transifex.com 3 | 4 | [djangocms-picture.djangocms_picture] 5 | file_filter = djangocms_picture/locale//LC_MESSAGES/django.po 6 | source_file = djangocms_picture/locale/en/LC_MESSAGES/django.po 7 | source_lang = en 8 | type = PO 9 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011, Divio AG 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright 7 | notice, this list of conditions and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright 9 | notice, this list of conditions and the following disclaimer in the 10 | documentation and/or other materials provided with the distribution. 11 | * Neither the name of Divio AG nor the 12 | names of its contributors may be used to endorse or promote products 13 | derived from this software without specific prior written permission. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 16 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 17 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 18 | DISCLAIMED. IN NO EVENT SHALL DIVIO AG BE LIABLE FOR ANY 19 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 20 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 21 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 22 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 24 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 | -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include LICENSE 2 | include README.rst 3 | recursive-include djangocms_picture/templates * 4 | recursive-include djangocms_picture/locale * 5 | recursive-exclude * *.py[co] 6 | recursive-include tests *.py 7 | recursive-include tests *.txt 8 | -------------------------------------------------------------------------------- /addon.json: -------------------------------------------------------------------------------- 1 | { 2 | "package-name": "djangocms-picture", 3 | "installed-apps": [ 4 | "djangocms_picture" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /aldryn_config.py: -------------------------------------------------------------------------------- 1 | from aldryn_client import forms 2 | 3 | 4 | def split_and_strip(string): 5 | return [item.strip() for item in string.split(',') if item] 6 | 7 | 8 | class Form(forms.BaseForm): 9 | templates = forms.CharField( 10 | 'List of additional templates (comma separated)', 11 | required=False, 12 | ) 13 | alignment = forms.CharField( 14 | 'List of alignment types, default "left, center, right" (comma separated)', 15 | required=False, 16 | ) 17 | ratio = forms.CharField( 18 | 'The ratio used to calculate the missing width or height, default "1.618"', 19 | required=False, 20 | ) 21 | nesting = forms.CheckboxField( 22 | 'Allow plugins to be nested inside the picture plugin.', 23 | required=False, 24 | initial=False, 25 | ) 26 | responsive_images = forms.CheckboxField( 27 | 'Enable responsive images technique', 28 | required=False, 29 | initial=False, 30 | ) 31 | responsive_images_viewport_breakpoints = forms.CharField( 32 | 'List of viewport breakpoints (in pixels) for responsive images (comma separated)', 33 | required=False, 34 | ) 35 | 36 | def clean(self): 37 | data = super(Form, self).clean() 38 | 39 | # older versions of this addon had a bug where the values would be 40 | # saved to settings.json as a list instead of a string. 41 | if isinstance(data['templates'], list): 42 | data['templates'] = ', '.join(data['templates']) 43 | if isinstance(data['alignment'], list): 44 | data['alignment'] = ', '.join(data['alignment']) 45 | 46 | # prettify 47 | for field in ('templates', 'alignment', 'responsive_images_viewport_breakpoints'): 48 | data[field] = ', '.join(split_and_strip(data[field])) 49 | 50 | return data 51 | 52 | def to_settings(self, data, settings): 53 | if data['templates']: 54 | settings['DJANGOCMS_PICTURE_TEMPLATES'] = [ 55 | (item, item) 56 | for item in split_and_strip(data['templates']) 57 | ] 58 | if data['alignment']: 59 | settings['DJANGOCMS_PICTURE_ALIGN'] = [ 60 | (item, item) 61 | for item in split_and_strip(data['alignment']) 62 | ] 63 | if data['ratio']: 64 | settings['DJANGOCMS_PICTURE_RATIO'] = float(data['ratio']) 65 | if data['nesting']: 66 | settings['DJANGOCMS_PICTURE_NESTING'] = data['nesting'] 67 | 68 | settings['DJANGOCMS_PICTURE_RESPONSIVE_IMAGES'] = data.get('responsive_images', False) 69 | breakpoints = data.get('responsive_images_viewport_breakpoints') 70 | if breakpoints: 71 | breakpoints = [float(x) for x in split_and_strip(breakpoints)] 72 | settings['DJANGOCMS_PICTURE_RESPONSIVE_IMAGES_VIEWPORT_BREAKPOINTS'] = breakpoints 73 | return settings 74 | -------------------------------------------------------------------------------- /conftest.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | import os 3 | import sys 4 | 5 | import django 6 | from django.conf import settings 7 | from django.test.utils import get_runner 8 | 9 | 10 | def pytest_configure(): 11 | os.environ["DJANGO_SETTINGS_MODULE"] = "tests.settings" 12 | django.setup() 13 | 14 | 15 | def run(path): 16 | TestRunner = get_runner(settings) 17 | test_runner = TestRunner() 18 | failures = test_runner.run_tests(path) 19 | sys.exit(bool(failures)) 20 | 21 | 22 | if __name__ == "__main__": 23 | run(sys.argv[1:]) 24 | -------------------------------------------------------------------------------- /djangocms_picture/__init__.py: -------------------------------------------------------------------------------- 1 | __version__ = '4.1.1' 2 | -------------------------------------------------------------------------------- /djangocms_picture/cms_plugins.py: -------------------------------------------------------------------------------- 1 | from cms.plugin_base import CMSPluginBase 2 | from cms.plugin_pool import plugin_pool 3 | from django.conf import settings 4 | from django.utils.translation import gettext_lazy as _ 5 | 6 | from .forms import PictureForm 7 | from .models import Picture 8 | 9 | # enable nesting of plugins inside the picture plugin 10 | PICTURE_NESTING = getattr(settings, 'DJANGOCMS_PICTURE_NESTING', False) 11 | 12 | 13 | class PicturePlugin(CMSPluginBase): 14 | model = Picture 15 | form = PictureForm 16 | name = _('Image') 17 | allow_children = PICTURE_NESTING 18 | text_enabled = True 19 | 20 | fieldsets = [ 21 | (None, { 22 | 'fields': ( 23 | 'picture', 24 | 'external_picture', 25 | ) 26 | }), 27 | (_('Advanced settings'), { 28 | 'classes': ('collapse',), 29 | 'fields': ( 30 | 'template', 31 | 'use_responsive_image', 32 | ('width', 'height'), 33 | 'alignment', 34 | 'caption_text', 35 | 'attributes', 36 | ) 37 | }), 38 | (_('Link settings'), { 39 | 'classes': ('collapse',), 40 | 'fields': ( 41 | ('link_url', 'link_page'), 42 | 'link_target', 43 | 'link_attributes', 44 | ) 45 | }), 46 | (_('Cropping settings'), { 47 | 'classes': ('collapse',), 48 | 'fields': ( 49 | ('use_automatic_scaling', 'use_no_cropping'), 50 | ('use_crop', 'use_upscale'), 51 | 'thumbnail_options', 52 | ) 53 | }) 54 | ] 55 | 56 | def get_render_template(self, context, instance, placeholder): 57 | return 'djangocms_picture/{}/picture.html'.format(instance.template) 58 | 59 | def render(self, context, instance, placeholder): 60 | if instance.alignment: 61 | classes = 'align-{} '.format(instance.alignment) 62 | classes += instance.attributes.get('class', '') 63 | # Set the class attribute to include the alignment html class 64 | # This is done to leverage the attributes_str property 65 | instance.attributes['class'] = classes 66 | # assign link to a context variable to be performant 67 | context['picture_link'] = instance.get_link() 68 | context['picture_size'] = instance.get_size( 69 | width=context.get('width') or 0, 70 | height=context.get('height') or 0, 71 | ) 72 | context['img_srcset_data'] = instance.img_srcset_data 73 | 74 | return super().render(context, instance, placeholder) 75 | 76 | 77 | plugin_pool.register_plugin(PicturePlugin) 78 | -------------------------------------------------------------------------------- /djangocms_picture/forms.py: -------------------------------------------------------------------------------- 1 | from django import forms 2 | 3 | from .models import Picture 4 | 5 | 6 | class PictureForm(forms.ModelForm): 7 | 8 | class Meta: 9 | model = Picture 10 | fields = '__all__' 11 | widgets = { 12 | 'caption_text': forms.Textarea(attrs={'rows': 2}), 13 | } 14 | -------------------------------------------------------------------------------- /djangocms_picture/locale/af/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/af/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/af/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Afrikaans (https://www.transifex.com/divio/teams/58664/af/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: af\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/ar/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/ar/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/be/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/be/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/bg/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/bg/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/bg/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Bulgarian (https://www.transifex.com/divio/teams/58664/bg/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: bg\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/bn/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/bn/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/bn/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Bengali (https://www.transifex.com/divio/teams/58664/bn/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: bn\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/ca/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/ca/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/ca/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Catalan (https://www.transifex.com/divio/teams/58664/ca/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: ca\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/cmn/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/cmn/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/cs/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/cs/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/cy/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/cy/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/da/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/da/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/da/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Danish (https://www.transifex.com/divio/teams/58664/da/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: da\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/de/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/de/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/el/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/el/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/el/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Greek (https://www.transifex.com/divio/teams/58664/el/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: el\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/en/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/en/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/es/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/es/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/es/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Spanish (https://www.transifex.com/divio/teams/58664/es/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: es\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/es_AR/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/es_AR/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/es_BO/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/es_BO/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/es_DO/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/es_DO/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/et/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/et/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/et/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Estonian (https://www.transifex.com/divio/teams/58664/et/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: et\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/eu/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/eu/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/eu/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Basque (https://www.transifex.com/divio/teams/58664/eu/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: eu\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/fa/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/fa/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/fa/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Persian (https://www.transifex.com/divio/teams/58664/fa/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: fa\n" 18 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/fi/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/fi/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/fi/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Finnish (https://www.transifex.com/divio/teams/58664/fi/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: fi\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/fr/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/fr/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/ga/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/ga/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/gl/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/gl/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/gl/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Galician (https://www.transifex.com/divio/teams/58664/gl/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: gl\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/gu/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/gu/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/gu/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Gujarati (https://www.transifex.com/divio/teams/58664/gu/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: gu\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/he/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/he/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/hi/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/hi/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/hi/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Hindi (https://www.transifex.com/divio/teams/58664/hi/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: hi\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/hr/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/hr/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/hu/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/hu/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/id/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/id/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/id/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Indonesian (https://www.transifex.com/divio/teams/58664/id/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: id\n" 18 | "Plural-Forms: nplurals=1; plural=0;\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/is/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/is/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/is_IS/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/is_IS/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/it/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/it/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/ja/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/ja/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/ja/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Japanese (https://www.transifex.com/divio/teams/58664/ja/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: ja\n" 18 | "Plural-Forms: nplurals=1; plural=0;\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/ka/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/ka/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/ka/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Georgian (https://www.transifex.com/divio/teams/58664/ka/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: ka\n" 18 | "Plural-Forms: nplurals=2; plural=(n!=1);\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/kk/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/kk/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/kk/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Kazakh (https://www.transifex.com/divio/teams/58664/kk/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: kk\n" 18 | "Plural-Forms: nplurals=2; plural=(n!=1);\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/km/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/km/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/km/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Khmer (https://www.transifex.com/divio/teams/58664/km/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: km\n" 18 | "Plural-Forms: nplurals=1; plural=0;\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/ko/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/ko/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/ko/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Korean (https://www.transifex.com/divio/teams/58664/ko/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: ko\n" 18 | "Plural-Forms: nplurals=1; plural=0;\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/ko_KR/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/ko_KR/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/ku_IQ/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/ku_IQ/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/lt/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/lt/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/lv/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/lv/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/mn/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/mn/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/mn_MN/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/mn_MN/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/mt/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/mt/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/nb/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/nb/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/nl/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/nl/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/no/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/no/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/pl/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/pl/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/pt/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/pt/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/pt_BR/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/pt_BR/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/ro/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/ro/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/ru/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/ru/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/sk/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/sk/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/sl/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/sl/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/sl_SI/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/sl_SI/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/sq/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/sq/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/sq_AL/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/sq_AL/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/sr/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/sr/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/sr@latin/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/sr@latin/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/sv/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/sv/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/ta/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/ta/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/ta/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Tamil (https://www.transifex.com/divio/teams/58664/ta/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: ta\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/th/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/th/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/th/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Thai (https://www.transifex.com/divio/teams/58664/th/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: th\n" 18 | "Plural-Forms: nplurals=1; plural=0;\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/th_TH/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/th_TH/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/tlh/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/tlh/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/tr/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/tr/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/tr/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Turkish (https://www.transifex.com/divio/teams/58664/tr/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: tr\n" 18 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/ug/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/ug/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/ug/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Uighur (https://www.transifex.com/divio/teams/58664/ug/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: ug\n" 18 | "Plural-Forms: nplurals=1; plural=0;\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/uk/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/uk/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/ur/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/ur/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/ur/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Urdu (https://www.transifex.com/divio/teams/58664/ur/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: ur\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/vi/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/vi/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/vi/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Vietnamese (https://www.transifex.com/divio/teams/58664/vi/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: vi\n" 18 | "Plural-Forms: nplurals=1; plural=0;\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/vi_VN/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/vi_VN/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/zh/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/zh/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/zh/LC_MESSAGES/django.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2018-11-13 18:18+0100\n" 12 | "PO-Revision-Date: 2016-09-07 09:44+0000\n" 13 | "Language-Team: Chinese (https://www.transifex.com/divio/teams/58664/zh/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: zh\n" 18 | "Plural-Forms: nplurals=1; plural=0;\n" 19 | 20 | #: cms_plugins.py:17 models.py:72 21 | msgid "Image" 22 | msgstr "" 23 | 24 | #: cms_plugins.py:28 25 | msgid "Advanced settings" 26 | msgstr "" 27 | 28 | #: cms_plugins.py:39 29 | msgid "Link settings" 30 | msgstr "" 31 | 32 | #: cms_plugins.py:47 33 | msgid "Cropping settings" 34 | msgstr "" 35 | 36 | #: models.py:25 37 | msgid "Align left" 38 | msgstr "" 39 | 40 | #: models.py:26 41 | msgid "Align right" 42 | msgstr "" 43 | 44 | #: models.py:27 45 | msgid "Align center" 46 | msgstr "" 47 | 48 | #: models.py:35 49 | msgid "Open in new window" 50 | msgstr "" 51 | 52 | #: models.py:36 53 | msgid "Open in same window" 54 | msgstr "" 55 | 56 | #: models.py:37 57 | msgid "Delegate to parent" 58 | msgstr "" 59 | 60 | #: models.py:38 61 | msgid "Delegate to top" 62 | msgstr "" 63 | 64 | #: models.py:42 65 | msgid "Let settings.DJANGOCMS_PICTURE_RESPONSIVE_IMAGES decide" 66 | msgstr "" 67 | 68 | #: models.py:43 69 | msgid "Yes" 70 | msgstr "" 71 | 72 | #: models.py:44 73 | msgid "No" 74 | msgstr "" 75 | 76 | #: models.py:50 77 | msgid "Default" 78 | msgstr "" 79 | 80 | #: models.py:66 81 | msgid "Template" 82 | msgstr "" 83 | 84 | #: models.py:79 85 | msgid "External image" 86 | msgstr "" 87 | 88 | #: models.py:82 89 | msgid "" 90 | "If provided, overrides the embedded image. Certain options such as cropping " 91 | "are not applicable to external images." 92 | msgstr "" 93 | 94 | #: models.py:86 95 | msgid "Width" 96 | msgstr "" 97 | 98 | #: models.py:89 99 | msgid "The image width as number in pixels. Example: \"720\" and not \"720px\"." 100 | msgstr "" 101 | 102 | #: models.py:93 103 | msgid "Height" 104 | msgstr "" 105 | 106 | #: models.py:96 107 | msgid "The image height as number in pixels. Example: \"720\" and not \"720px\"." 108 | msgstr "" 109 | 110 | #: models.py:100 111 | msgid "Alignment" 112 | msgstr "" 113 | 114 | #: models.py:104 115 | msgid "Aligns the image according to the selected option." 116 | msgstr "" 117 | 118 | #: models.py:107 119 | msgid "Caption text" 120 | msgstr "" 121 | 122 | #: models.py:109 123 | msgid "Provide a description, attribution, copyright or other information." 124 | msgstr "" 125 | 126 | #: models.py:112 127 | msgid "Attributes" 128 | msgstr "" 129 | 130 | #: models.py:118 131 | msgid "External URL" 132 | msgstr "" 133 | 134 | #: models.py:121 135 | msgid "Wraps the image in a link to an external URL." 136 | msgstr "" 137 | 138 | #: models.py:124 139 | msgid "Internal URL" 140 | msgstr "" 141 | 142 | #: models.py:128 143 | msgid "Wraps the image in a link to an internal (page) URL." 144 | msgstr "" 145 | 146 | #: models.py:131 147 | msgid "Link target" 148 | msgstr "" 149 | 150 | #: models.py:137 151 | msgid "Link attributes" 152 | msgstr "" 153 | 154 | #: models.py:144 155 | msgid "Automatic scaling" 156 | msgstr "" 157 | 158 | #: models.py:147 159 | msgid "Uses the placeholder dimensions to automatically calculate the size." 160 | msgstr "" 161 | 162 | #: models.py:152 163 | msgid "Use original image" 164 | msgstr "" 165 | 166 | #: models.py:155 167 | msgid "Outputs the raw image without cropping." 168 | msgstr "" 169 | 170 | #: models.py:160 171 | msgid "Crop image" 172 | msgstr "" 173 | 174 | #: models.py:163 175 | msgid "" 176 | "Crops the image according to the thumbnail settings provided in the " 177 | "template." 178 | msgstr "" 179 | 180 | #: models.py:166 181 | msgid "Upscale image" 182 | msgstr "" 183 | 184 | #: models.py:169 185 | msgid "" 186 | "Upscales the image to the size of the thumbnail settings in the template." 187 | msgstr "" 188 | 189 | #: models.py:172 190 | msgid "Use responsive image" 191 | msgstr "" 192 | 193 | #: models.py:177 194 | msgid "" 195 | "Uses responsive image technique to choose better image to display based upon" 196 | " screen viewport. This configuration only applies to uploaded images " 197 | "(external pictures will not be affected). " 198 | msgstr "" 199 | 200 | #: models.py:185 201 | msgid "Thumbnail options" 202 | msgstr "" 203 | 204 | #: models.py:188 205 | msgid "" 206 | "Overrides width, height, and crop; scales up to the provided preset " 207 | "dimensions." 208 | msgstr "" 209 | 210 | #: models.py:216 211 | msgid "" 212 | msgstr "" 213 | 214 | #: models.py:264 215 | msgid "" 216 | "You have given both external and internal links. Only one option is allowed." 217 | msgstr "" 218 | 219 | #: models.py:271 220 | msgid "" 221 | "You need to add either an image, or a URL linking to an external image." 222 | msgstr "" 223 | 224 | #: models.py:295 225 | #, python-brace-format 226 | msgid "" 227 | "Invalid cropping settings. You cannot combine \"{field_a}\" with " 228 | "\"{field_b}\"." 229 | msgstr "" 230 | -------------------------------------------------------------------------------- /djangocms_picture/locale/zh_CN/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/zh_CN/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/locale/zh_TW/LC_MESSAGES/django.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/locale/zh_TW/LC_MESSAGES/django.mo -------------------------------------------------------------------------------- /djangocms_picture/migrations/0001_initial.py: -------------------------------------------------------------------------------- 1 | import django.db.models.deletion 2 | from django.db import migrations, models 3 | 4 | import cms.models.pluginmodel 5 | 6 | 7 | class Migration(migrations.Migration): 8 | 9 | dependencies = [ 10 | ('cms', '__first__'), 11 | ] 12 | 13 | operations = [ 14 | migrations.CreateModel( 15 | name='Picture', 16 | fields=[ 17 | ('cmsplugin_ptr', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, serialize=False, parent_link=True, auto_created=True, to='cms.CMSPlugin', primary_key=True)), 18 | ('image', models.ImageField(verbose_name='image', upload_to=cms.models.pluginmodel.get_plugin_media_path)), 19 | ('url', models.CharField(help_text='If present, clicking on image will take user to link.', blank=True, null=True, max_length=255, verbose_name='link')), 20 | ('alt', models.CharField(help_text='Specifies an alternate text for an image, if the imagecannot be displayed.
Is also used by search enginesto classify the image.', blank=True, null=True, max_length=255, verbose_name='alternate text')), 21 | ('longdesc', models.CharField(help_text='When user hovers above picture, this text will appear in a popup.', blank=True, null=True, max_length=255, verbose_name='long description')), 22 | ('float', models.CharField(help_text='Move image left, right or center.', blank=True, max_length=10, choices=[('left', 'left'), ('right', 'right'), ('center', 'center')], verbose_name='side', null=True)), 23 | ('page_link', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, help_text='If present, clicking on image will take user to specified page.', blank=True, verbose_name='page', to='cms.Page', null=True)), 24 | ], 25 | options={ 26 | 'abstract': False, 27 | }, 28 | bases=('cms.cmsplugin',), 29 | ), 30 | ] 31 | -------------------------------------------------------------------------------- /djangocms_picture/migrations/0002_auto_20151018_1927.py: -------------------------------------------------------------------------------- 1 | from django.db import migrations, models 2 | 3 | 4 | class Migration(migrations.Migration): 5 | 6 | dependencies = [ 7 | ('djangocms_picture', '0001_initial'), 8 | ] 9 | 10 | operations = [ 11 | migrations.AddField( 12 | model_name='picture', 13 | name='height', 14 | field=models.IntegerField(help_text='Pixel', null=True, verbose_name='height', blank=True), 15 | preserve_default=True, 16 | ), 17 | migrations.AddField( 18 | model_name='picture', 19 | name='width', 20 | field=models.IntegerField(help_text='Pixel', null=True, verbose_name='width', blank=True), 21 | preserve_default=True, 22 | ), 23 | ] 24 | -------------------------------------------------------------------------------- /djangocms_picture/migrations/0003_migrate_to_filer.py: -------------------------------------------------------------------------------- 1 | import django.db.models.deletion 2 | from django.conf import settings 3 | from django.db import migrations, models 4 | 5 | import filer.fields.image 6 | from filer.utils.loader import load_model 7 | 8 | 9 | def migrate_to_filer(apps, schema_editor): 10 | # Because filer is polymorphic, Djangos migration can't handle 11 | Image = load_model(settings.FILER_IMAGE_MODEL) 12 | Picture = apps.get_model('djangocms_picture', 'Picture') 13 | plugins = Picture.objects.all() 14 | 15 | for plugin in plugins: # pragma: no cover 16 | if plugin.image: 17 | picture = Image.objects.get_or_create( 18 | file=plugin.image.file, 19 | defaults={ 20 | 'name': plugin.image.name, 21 | 'default_alt_text': plugin.alt, 22 | 'default_caption': plugin.longdesc 23 | } 24 | )[0] 25 | plugins.filter(pk=plugin.pk).update(picture=picture) 26 | 27 | 28 | class Migration(migrations.Migration): 29 | 30 | dependencies = [ 31 | migrations.swappable_dependency(settings.FILER_IMAGE_MODEL), 32 | ('filer', '0006_auto_20160623_1627'), 33 | ('djangocms_picture', '0002_auto_20151018_1927'), 34 | ] 35 | 36 | operations = [ 37 | migrations.AddField( 38 | model_name='picture', 39 | name='picture', 40 | field=filer.fields.image.FilerImageField(related_name='+', on_delete=django.db.models.deletion.SET_NULL, 41 | verbose_name='Picture', blank=True, to=settings.FILER_IMAGE_MODEL, null=True), 42 | ), 43 | migrations.AlterField( 44 | model_name='picture', 45 | name='cmsplugin_ptr', 46 | field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, parent_link=True, related_name='djangocms_picture_picture', auto_created=True, primary_key=True, serialize=False, to='cms.CMSPlugin'), 47 | ), 48 | migrations.RunPython(migrate_to_filer), 49 | migrations.RemoveField( 50 | model_name='picture', 51 | name='image', 52 | ), 53 | migrations.RemoveField( 54 | model_name='picture', 55 | name='alt', 56 | ), 57 | migrations.RemoveField( 58 | model_name='picture', 59 | name='longdesc', 60 | ), 61 | ] 62 | -------------------------------------------------------------------------------- /djangocms_picture/migrations/0005_reset_null_values.py: -------------------------------------------------------------------------------- 1 | from django.db import migrations, models 2 | 3 | 4 | def reset_null_values(apps, schema_editor): 5 | Picture = apps.get_model('djangocms_picture', 'Picture') 6 | plugins = Picture.objects.all() 7 | plugins.filter(link_url__isnull=True).update(link_url='') 8 | plugins.filter(alignment__isnull=True).update(alignment='') 9 | 10 | 11 | class Migration(migrations.Migration): 12 | 13 | dependencies = [ 14 | ('djangocms_picture', '0004_adapt_fields'), 15 | ] 16 | 17 | operations = [ 18 | migrations.RunPython(reset_null_values), 19 | ] 20 | -------------------------------------------------------------------------------- /djangocms_picture/migrations/0006_remove_null_values.py: -------------------------------------------------------------------------------- 1 | from django.db import migrations, models 2 | 3 | from djangocms_picture.models import get_alignment 4 | 5 | 6 | class Migration(migrations.Migration): 7 | 8 | dependencies = [ 9 | ('djangocms_picture', '0005_reset_null_values'), 10 | ] 11 | 12 | operations = [ 13 | migrations.AlterField( 14 | model_name='picture', 15 | name='link_url', 16 | field=models.URLField(default='', help_text='Wraps the image in a link to an external URL.', max_length=2040, verbose_name='External URL', blank=True), 17 | preserve_default=False, 18 | ), 19 | migrations.AlterField( 20 | model_name='picture', 21 | name='alignment', 22 | field=models.CharField(default='', choices=get_alignment(), max_length=255, blank=True, help_text='Aligns the image according to the selected option.', verbose_name='Alignment'), 23 | preserve_default=False, 24 | ), 25 | ] 26 | -------------------------------------------------------------------------------- /djangocms_picture/migrations/0007_fix_alignment.py: -------------------------------------------------------------------------------- 1 | from django.db import migrations, models 2 | 3 | from djangocms_picture.models import get_alignment 4 | 5 | 6 | class Migration(migrations.Migration): 7 | 8 | dependencies = [ 9 | ('djangocms_picture', '0006_remove_null_values'), 10 | ] 11 | 12 | operations = [ 13 | migrations.AlterField( 14 | model_name='picture', 15 | name='alignment', 16 | field=models.CharField(blank=True, help_text='Aligns the image according to the selected option.', max_length=255, verbose_name='Alignment', choices=get_alignment()), 17 | ), 18 | ] 19 | -------------------------------------------------------------------------------- /djangocms_picture/migrations/0008_picture_use_responsive_image.py: -------------------------------------------------------------------------------- 1 | # Generated by Django 1.11.15 on 2018-09-28 17:18 2 | from django.db import migrations, models 3 | 4 | from djangocms_picture.models import RESPONSIVE_IMAGE_CHOICES 5 | 6 | 7 | class Migration(migrations.Migration): 8 | 9 | dependencies = [ 10 | ('djangocms_picture', '0007_fix_alignment'), 11 | ] 12 | 13 | operations = [ 14 | migrations.AddField( 15 | model_name='picture', 16 | name='use_responsive_image', 17 | field=models.CharField(choices=RESPONSIVE_IMAGE_CHOICES, default='inherit', help_text='Uses responsive image technique to choose better image to display based upon screen viewport. This configuration only applies to uploaded images (external pictures will not be affected). ', max_length=7, verbose_name='Use responsive image'), 18 | ), 19 | ] 20 | -------------------------------------------------------------------------------- /djangocms_picture/migrations/0009_auto_20181212_1003.py: -------------------------------------------------------------------------------- 1 | # Generated by Django 2.1 on 2018-12-12 09:03 2 | from django.db import migrations, models 3 | 4 | 5 | class Migration(migrations.Migration): 6 | 7 | dependencies = [ 8 | ('djangocms_picture', '0008_picture_use_responsive_image'), 9 | ] 10 | 11 | operations = [ 12 | migrations.AlterField( 13 | model_name='picture', 14 | name='use_automatic_scaling', 15 | field=models.BooleanField(blank=True, default=True, help_text='Uses the placeholder dimensions to automatically calculate the size.', verbose_name='Automatic scaling'), 16 | ), 17 | migrations.AlterField( 18 | model_name='picture', 19 | name='use_crop', 20 | field=models.BooleanField(blank=True, default=False, help_text='Crops the image according to the thumbnail settings provided in the template.', verbose_name='Crop image'), 21 | ), 22 | migrations.AlterField( 23 | model_name='picture', 24 | name='use_no_cropping', 25 | field=models.BooleanField(blank=True, default=False, help_text='Outputs the raw image without cropping.', verbose_name='Use original image'), 26 | ), 27 | migrations.AlterField( 28 | model_name='picture', 29 | name='use_upscale', 30 | field=models.BooleanField(blank=True, default=False, help_text='Upscales the image to the size of the thumbnail settings in the template.', verbose_name='Upscale image'), 31 | ), 32 | ] 33 | -------------------------------------------------------------------------------- /djangocms_picture/migrations/0010_auto_20190627_0432.py: -------------------------------------------------------------------------------- 1 | # Generated by Django 2.2.2 on 2019-06-27 04:32 2 | 3 | from django.db import migrations, models 4 | 5 | 6 | class Migration(migrations.Migration): 7 | 8 | dependencies = [ 9 | ('djangocms_picture', '0009_auto_20181212_1003'), 10 | ] 11 | 12 | operations = [ 13 | migrations.AlterField( 14 | model_name='picture', 15 | name='caption_text', 16 | field=models.TextField(blank=True, help_text='Provide a description, attribution, copyright or other information.', null=True, verbose_name='Caption text'), 17 | ), 18 | migrations.AlterField( 19 | model_name='picture', 20 | name='external_picture', 21 | field=models.URLField(blank=True, help_text='If provided, overrides the embedded image. Certain options such as cropping are not applicable to external images.', max_length=255, null=True, verbose_name='External image'), 22 | ), 23 | migrations.AlterField( 24 | model_name='picture', 25 | name='link_url', 26 | field=models.URLField(blank=True, help_text='Wraps the image in a link to an external URL.', max_length=2040, null=True, verbose_name='External URL'), 27 | ), 28 | ] 29 | -------------------------------------------------------------------------------- /djangocms_picture/migrations/0011_auto_20190314_1536.py: -------------------------------------------------------------------------------- 1 | # Generated by Django 1.11.20 on 2019-03-14 15:36 2 | from django.db import migrations, models 3 | 4 | 5 | class Migration(migrations.Migration): 6 | 7 | dependencies = [ 8 | ('djangocms_picture', '0010_auto_20190627_0432'), 9 | ] 10 | 11 | operations = [ 12 | migrations.AlterField( 13 | model_name='picture', 14 | name='caption_text', 15 | field=models.TextField(blank=True, help_text='Provide a description, attribution, copyright or other information.', null=True, verbose_name='Caption text'), 16 | ), 17 | migrations.AlterField( 18 | model_name='picture', 19 | name='external_picture', 20 | field=models.URLField(blank=True, help_text='If provided, overrides the embedded image. Certain options such as cropping are not applicable to external images.', max_length=255, null=True, verbose_name='External image'), 21 | ), 22 | migrations.AlterField( 23 | model_name='picture', 24 | name='link_url', 25 | field=models.URLField(blank=True, help_text='Wraps the image in a link to an external URL.', max_length=2040, null=True, verbose_name='External URL'), 26 | ), 27 | ] 28 | -------------------------------------------------------------------------------- /djangocms_picture/migrations/0012_alter_picture_cmsplugin_ptr.py: -------------------------------------------------------------------------------- 1 | # Generated by Django 4.1.8 on 2023-05-04 15:04 2 | 3 | from django.db import migrations, models 4 | import django.db.models.deletion 5 | 6 | 7 | class Migration(migrations.Migration): 8 | 9 | dependencies = [ 10 | ('cms', '__first__' ), 11 | ('djangocms_picture', '0011_auto_20190314_1536'), 12 | ] 13 | 14 | operations = [ 15 | migrations.AlterField( 16 | model_name='picture', 17 | name='cmsplugin_ptr', 18 | field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='%(app_label)s_%(class)s', serialize=False, to='cms.cmsplugin'), 19 | ), 20 | ] 21 | -------------------------------------------------------------------------------- /djangocms_picture/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/djangocms_picture/migrations/__init__.py -------------------------------------------------------------------------------- /djangocms_picture/templates/djangocms_picture/default/picture.html: -------------------------------------------------------------------------------- 1 | {% load thumbnail l10n %} 2 | 3 | {% if picture_link %} 4 | 7 | {% endif %} 8 | 9 | {# start render figure/figcaption #} 10 | {% if instance.caption_text %} 11 |
12 | {% endif %} 13 | {# end render figure/figcaption #} 14 | 15 | 16 | {% localize off %} 17 | {% if instance.attributes.alt %}{{ instance.attributes.alt }}{% elif instance.picture.default_alt_text %}{{ instance.picture.default_alt_text }}{% endif %} 37 | {% endlocalize %} 38 | 39 | {# start render figure/figcaption #} 40 | {% if instance.caption_text %} 41 |
{{ instance.caption_text }}
42 |
43 | {% endif %} 44 | {# end render figure/figcaption #} 45 | 46 | {% if picture_link %} 47 |
48 | {% endif %} 49 | 50 | {% comment %} 51 | # https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img 52 | # https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figure 53 | # https://github.com/divio/django-filer/blob/master/filer/models/imagemodels.py 54 | # http://easy-thumbnails.readthedocs.io/en/2.1/usage/#templates 55 | {{ instance.picture }} 56 | # Available variables: 57 | {{ instance.img_src }} 58 | {{ instance.width }} 59 | {{ instance.height }} 60 | {{ instance.alignment }} 61 | {{ instance.caption_text }} 62 | {{ instance.img_srcset_data }} or {{ img_srcset_data }} 63 | {{ instance.attributes_str }} 64 | # picture helper 65 | {{ instance.get_size }} or {{ picture_size }} 66 | # link settings 67 | {{ instance.link_url }} 68 | {{ instance.link_page }} 69 | {{ instance.link_target }} 70 | {{ instance.link_attributes_str }} 71 | # link helper 72 | {{ instance.get_link }} or {{ picture_link }} 73 | # cropping settings 74 | {{ instance.use_automatic_scaling }} 75 | {{ instance.use_no_cropping }} 76 | {{ instance.use_crop }} 77 | {{ instance.use_upscale }} 78 | {{ instance.thumbnail_options }} 79 | # activate DJANGOCMS_PICTURE_NESTING to enable nested plugins: 80 | {% for plugin in instance.child_plugin_instances %} 81 | {% render_plugin plugin %} 82 | {% endfor %} 83 | {% endcomment %} 84 | -------------------------------------------------------------------------------- /preview.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/preview.gif -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.ruff] 2 | exclude = [ 3 | ".env", 4 | ".venv", 5 | "**/migrations/**", 6 | ] 7 | ignore = [ 8 | "E501", # line too long 9 | "F403", # 'from module import *' used; unable to detect undefined names 10 | "E701", # multiple statements on one line (colon) 11 | "F401", # module imported but unused 12 | ] 13 | line-length = 119 14 | select = [ 15 | "I", 16 | "E", 17 | "F", 18 | "W", 19 | ] 20 | -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | [flake8] 2 | max-line-length = 119 3 | exclude = 4 | *.egg-info, 5 | .eggs, 6 | .git, 7 | .settings, 8 | .tox, 9 | .venv, 10 | build, 11 | data, 12 | dist, 13 | docs, 14 | *migrations*, 15 | requirements, 16 | tmp 17 | 18 | [isort] 19 | line_length = 79 20 | skip = manage.py, *migrations*, .tox, .eggs, data 21 | include_trailing_comma = true 22 | multi_line_output = 5 23 | not_skip = __init__.py 24 | lines_after_imports = 2 25 | default_section = THIRDPARTY 26 | sections = FUTURE, STDLIB, DJANGO, CMS, THIRDPARTY, FIRSTPARTY, LIB, LOCALFOLDER 27 | known_first_party = djangocms_picture 28 | known_cms = cms, menus 29 | known_django = django 30 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | from pathlib import Path 3 | 4 | from setuptools import find_packages, setup 5 | 6 | from djangocms_picture import __version__ 7 | 8 | 9 | REQUIREMENTS = [ 10 | 'django-cms>=3.7', 11 | 'django-filer>=1.7', 12 | 'djangocms-attributes-field>=1', 13 | 'easy_thumbnails', 14 | ] 15 | 16 | 17 | CLASSIFIERS = [ 18 | 'Development Status :: 5 - Production/Stable', 19 | 'Environment :: Web Environment', 20 | 'Intended Audience :: Developers', 21 | 'License :: OSI Approved :: BSD License', 22 | 'Operating System :: OS Independent', 23 | 'Programming Language :: Python', 24 | 'Programming Language :: Python :: 3', 25 | 'Programming Language :: Python :: 3.8', 26 | 'Programming Language :: Python :: 3.9', 27 | 'Programming Language :: Python :: 3.10', 28 | 'Programming Language :: Python :: 3.11', 29 | 'Framework :: Django', 30 | 'Framework :: Django :: 3.2', 31 | 'Framework :: Django :: 4.0', 32 | 'Framework :: Django :: 4.1', 33 | 'Framework :: Django :: 4.2', 34 | 'Framework :: Django CMS', 35 | 'Framework :: Django CMS :: 3.7', 36 | 'Framework :: Django CMS :: 3.8', 37 | 'Framework :: Django CMS :: 3.9', 38 | 'Framework :: Django CMS :: 3.10', 39 | 'Framework :: Django CMS :: 3.11', 40 | 'Topic :: Internet :: WWW/HTTP', 41 | 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 42 | 'Topic :: Software Development', 43 | 'Topic :: Software Development :: Libraries', 44 | ] 45 | 46 | 47 | this_directory = Path(__file__).parent 48 | long_description = (this_directory / "README.rst").read_text() 49 | 50 | setup( 51 | name='djangocms-picture', 52 | version=__version__, 53 | author='Divio AG', 54 | author_email='info@divio.ch', 55 | maintainer='Django CMS Association and contributors', 56 | maintainer_email='info@django-cms.org', 57 | url='https://github.com/django-cms/djangocms-picture', 58 | license='BSD-3-Clause', 59 | description='Adds an image plugin to django CMS', 60 | long_description=long_description, 61 | long_description_content_type='text/x-rst', 62 | packages=find_packages(), 63 | include_package_data=True, 64 | zip_safe=False, 65 | install_requires=REQUIREMENTS, 66 | classifiers=CLASSIFIERS, 67 | ) 68 | -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/django-cms/djangocms-picture/d8b0c699dd5ef9503fe56f9e69ca6360aaf9c407/tests/__init__.py -------------------------------------------------------------------------------- /tests/helpers.py: -------------------------------------------------------------------------------- 1 | import os 2 | from tempfile import mkdtemp 3 | 4 | from django.core.files import File 5 | 6 | from filer.models.filemodels import File as FilerFile 7 | from filer.models.foldermodels import Folder as FilerFolder 8 | from filer.models.imagemodels import Image as FilerImage 9 | from filer.utils.compatibility import PILImage, PILImageDraw 10 | 11 | 12 | # from https://github.com/divio/django-filer/blob/develop/tests/helpers.py#L46-L52 13 | def create_image(mode="RGB", size=(800, 600)): 14 | """ 15 | Creates a usable image file using PIL 16 | :returns: PIL Image instance 17 | """ 18 | image = PILImage.new(mode, size) 19 | draw = PILImageDraw.Draw(image) 20 | x_bit, y_bit = size[0] // 10, size[1] // 10 21 | draw.rectangle((x_bit, y_bit * 2, x_bit * 7, y_bit * 3), "red") 22 | draw.rectangle((x_bit * 2, y_bit, x_bit * 3, y_bit * 8), "red") 23 | 24 | return image 25 | 26 | 27 | def get_image(image_name="test_file.jpg", size=(800, 600)): 28 | """ 29 | Creates and stores an image to the file system using PILImage 30 | 31 | :param image_name: the name for the file (default "test_file.jpg") 32 | :returns: dict {name, image, path} 33 | """ 34 | image = create_image(size=size) 35 | image_path = os.path.join( 36 | mkdtemp(), 37 | image_name, 38 | ) 39 | image.save(image_path, "JPEG") 40 | 41 | return { 42 | "name": image_name, 43 | "image": image, 44 | "path": image_path, 45 | } 46 | 47 | 48 | def get_file(file_name="test_file.pdf"): 49 | """ 50 | Creates and stores an arbitrary file into a temporary dir 51 | 52 | :param file_name: the name for the file (default "test_file.pdf") 53 | :returns: dict {name, image, path} 54 | """ 55 | file_path = os.path.join( 56 | mkdtemp(), 57 | file_name, 58 | ) 59 | data = open(file_path, "a") 60 | 61 | return { 62 | "name": file_name, 63 | "file": data, 64 | "path": file_path, 65 | } 66 | 67 | 68 | def get_filer_image(image_name="test_file.jpg", size=(800, 600)): 69 | """ 70 | Creates and stores an image to filer and returns it 71 | 72 | :param image_name: the name for the file (default "test_file.jpg") 73 | :returns: filer image instance 74 | """ 75 | image = get_image(image_name, size) 76 | filer_file = File( 77 | open(image.get("path"), "rb"), 78 | name=image.get("name"), 79 | ) 80 | filer_object = FilerImage.objects.create( 81 | original_filename=image.get("name"), 82 | file=filer_file, 83 | ) 84 | 85 | return filer_object 86 | 87 | 88 | def get_filer_file(file_name="test_file.pdf", folder=None): 89 | """ 90 | Creates and stores a file to filer and returns it 91 | 92 | :param file_name: the name for the file (default "test_file.pdf") 93 | :param folder: optionally provide a folder instance 94 | :returns: filer file instance 95 | """ 96 | data = get_file(file_name) 97 | filer_file = File( 98 | open(data.get("path"), "rb"), 99 | name=data.get("name"), 100 | ) 101 | filer_object = FilerFile.objects.create( 102 | original_filename=data.get("name"), 103 | file=filer_file, 104 | folder=folder, 105 | ) 106 | 107 | return filer_object 108 | 109 | 110 | def get_filer_folder(folder_name="test_folder", parent=None): 111 | """ 112 | Creates and returns a filer folder 113 | 114 | :param folder_name: the name of the folder to be used (default "test_folder") 115 | :param parent: optionally provide a parent folder 116 | :returns: filer folder instance 117 | """ 118 | filer_object = FilerFolder.objects.create( 119 | parent=parent, 120 | name=folder_name, 121 | ) 122 | 123 | return filer_object 124 | -------------------------------------------------------------------------------- /tests/requirements/compile.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # 3 | # This script requries multiple python versions to be installed. 4 | # You can use pyenv for that. 5 | # 6 | # See: https://github.com/pyenv/pyenv#installation 7 | # For example: 8 | # curl https://pyenv.run | bash 9 | # 10 | # Then setup pyenv shell environment like described here: 11 | # https://github.com/pyenv/pyenv#set-up-your-shell-environment-for-pyenv 12 | # 13 | # Install requirements for building python versions: 14 | # https://github.com/pyenv/pyenv/wiki#suggested-build-environment 15 | # 16 | # Now install python versions: 17 | # pyenv install 3.8 3.9 3.10 3.11 18 | # 19 | # Then activate them globaly with the systems default to be still default: 20 | # pyenv global system 3.11 3.10 3.9 3.8 21 | # 22 | # Also pip-tools must be installed for every version of python. 23 | # pip3.8 install pip-tools 24 | # pip3.9 install pip-tools 25 | # pip3.10 install pip-tools 26 | # pip3.11 install pip-tools 27 | 28 | from __future__ import annotations 29 | 30 | import sys 31 | from os import chdir 32 | from os import environ 33 | from pathlib import Path 34 | from subprocess import run 35 | 36 | CONFIG_MATRIX = [ 37 | ["python3.9", "Django>=4.2,<5.0", "django-cms>=3.11,<4.0", "py39-django42-cms311.txt",], 38 | ["python3.9", "Django>=4.2,<5.0", "django-cms>=4.1,<5.0.0a1", "py39-django42-cms41.txt",], 39 | 40 | ["python3.10", "Django>=4.2,<5.0", "django-cms>=3.11,<4.0", "py310-django42-cms311.txt",], 41 | ["python3.10", "Django>=4.2,<5.0", "django-cms>=4.1,<5.0.0a1", "py310-django42-cms41.txt",], 42 | 43 | ["python3.11", "Django>=4.2,<5.0", "django-cms>=3.11,<4.0", "py311-django42-cms311.txt",], 44 | ["python3.11", "Django>=4.2,<5.0", "django-cms>=4.1,<5.0.0a1", "py311-django42-cms41.txt",], 45 | 46 | ["python3.12", "Django>=4.2,<5.0", "django-cms>=3.11,<4.0", "py312-django42-cms311.txt",], 47 | ["python3.12", "Django>=4.2,<5.0", "django-cms>=4.1,<5.0.0a1", "py312-django42-cms41.txt",], 48 | 49 | ["python3.13", "Django>=4.2,<5.0", "django-cms>=3.11,<4.0", "py313-django42-cms311.txt",], 50 | ["python3.13", "Django>=4.2,<5.0", "django-cms>=4.1,<5.0.0a1", "py313-django42-cms41.txt",], 51 | ] 52 | 53 | if __name__ == "__main__": 54 | chdir(Path(__file__).parent) 55 | environ["CUSTOM_COMPILE_COMMAND"] = "requirements/compile.py" 56 | environ["PIP_REQUIRE_VIRTUALENV"] = "0" 57 | common_args = [ 58 | "-m", 59 | "piptools", 60 | "compile", 61 | "--generate-hashes", 62 | "--allow-unsafe", 63 | ] + sys.argv[1:] 64 | # mysqlclient requirements found on each version's "Databases" documentation page: 65 | # https://docs.djangoproject.com/en/3.0/ref/databases/#mysql-db-api-drivers 66 | 67 | for req in CONFIG_MATRIX: 68 | cmd = [ 69 | req[0], 70 | *common_args, 71 | "--upgrade-package", 72 | req[1], 73 | "--upgrade-package", 74 | req[2], 75 | "--output-file", 76 | req[3], 77 | ] 78 | print(" ".join(cmd)) 79 | output = run( 80 | cmd, 81 | # check=True, 82 | capture_output=True, 83 | ) 84 | print(output.stderr.decode('utf-8')) 85 | -------------------------------------------------------------------------------- /tests/requirements/requirements.in: -------------------------------------------------------------------------------- 1 | coverage 2 | pytest 3 | pytest-django 4 | django 5 | django-filer 6 | django-treebeard 7 | djangocms-attributes-field 8 | tox 9 | -------------------------------------------------------------------------------- /tests/settings.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | from tempfile import mkdtemp 3 | import os 4 | 5 | SECRET_KEY = "test_key" 6 | 7 | ALLOWED_HOSTS = ["localhost"] 8 | 9 | INSTALLED_APPS = [ 10 | "django.contrib.contenttypes", 11 | "django.contrib.auth", 12 | "django.contrib.sites", 13 | "django.contrib.sessions", 14 | "django.contrib.admin", 15 | "django.contrib.messages", 16 | 17 | "cms", 18 | "menus", 19 | "treebeard", 20 | 'easy_thumbnails', 21 | 'filer', 22 | 23 | "djangocms_picture", 24 | ] 25 | 26 | MIDDLEWARE = [ 27 | "django.contrib.sessions.middleware.SessionMiddleware", 28 | "django.contrib.auth.middleware.AuthenticationMiddleware", 29 | "django.contrib.messages.middleware.MessageMiddleware", 30 | ] 31 | 32 | TEMPLATES = [ 33 | { 34 | "BACKEND": "django.template.backends.django.DjangoTemplates", 35 | "DIRS": [ 36 | os.path.join((os.path.dirname(__file__)), "templates"), 37 | ], 38 | "APP_DIRS": True, 39 | "OPTIONS": { 40 | "context_processors": [ 41 | "django.template.context_processors.debug", 42 | "django.template.context_processors.request", 43 | "django.contrib.auth.context_processors.auth", 44 | "django.contrib.messages.context_processors.messages", 45 | ], 46 | }, 47 | }, 48 | ] 49 | 50 | SITE_ID=1 51 | 52 | CMS_TEMPLATES = ( 53 | ("page.html", "Normal page"), 54 | ) 55 | 56 | CMS_LANGUAGES = { 57 | 1: [{ 58 | 'code': 'en', 59 | 'name': 'English', 60 | }] 61 | } 62 | 63 | DATABASES = { 64 | "default": { 65 | "ENGINE": "django.db.backends.sqlite3", 66 | "NAME": "mydatabase", 67 | "TEST": { 68 | # disable migrations when creating test database 69 | "MIGRATE": False, 70 | }, 71 | } 72 | } 73 | 74 | LANGUAGE_CODE = 'en' 75 | 76 | THUMBNAIL_PROCESSORS = ( 77 | 'easy_thumbnails.processors.colorspace', 78 | 'easy_thumbnails.processors.autocrop', 79 | 'filer.thumbnail_processors.scale_and_crop_with_subject_location', 80 | 'easy_thumbnails.processors.filters', 81 | ) 82 | 83 | THUMBNAIL_DEBUG = True 84 | 85 | CMS_CONFIRM_VERSION4 = True 86 | 87 | DJANGOCMS_PICTURE_RESPONSIVE_IMAGES = True 88 | 89 | DJANGOCMS_PICTURE_RESPONSIVE_IMAGES_VIEWPORT_BREAKPOINTS = [576, 768, 992] 90 | 91 | FILE_UPLOAD_TEMP_DIR = mkdtemp() 92 | 93 | ROOT_URLCONF = "tests.urls" 94 | 95 | MEDIA_URL = "/media/" 96 | 97 | DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' 98 | -------------------------------------------------------------------------------- /tests/templates/base.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | {% block content %} 7 | {% endblock %} 8 | 9 | 10 | -------------------------------------------------------------------------------- /tests/templates/page.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | {% load cms_tags %} 3 | 4 | {% block content %} 5 | {% placeholder "content" %} 6 | {% endblock content %} 7 | -------------------------------------------------------------------------------- /tests/test_migrations.py: -------------------------------------------------------------------------------- 1 | # original from 2 | # http://tech.octopus.energy/news/2016/01/21/testing-for-missing-migrations-in-django.html 3 | from io import StringIO 4 | 5 | from django.core.management import call_command 6 | from django.test import TestCase, override_settings 7 | 8 | 9 | class MigrationTestCase(TestCase): 10 | 11 | @override_settings(MIGRATION_MODULES={}) 12 | def test_for_missing_migrations(self): 13 | output = StringIO() 14 | options = { 15 | 'interactive': False, 16 | 'dry_run': True, 17 | 'stdout': output, 18 | 'check_changes': True, 19 | } 20 | 21 | try: 22 | call_command('makemigrations', 'djangocms_picture', **options) 23 | except SystemExit as e: 24 | status_code = str(e) 25 | else: 26 | # the "no changes" exit code is 0 27 | status_code = '0' 28 | 29 | if status_code == '1': 30 | self.fail('There are missing migrations:\n {}'.format(output.getvalue())) 31 | -------------------------------------------------------------------------------- /tests/test_plugins.py: -------------------------------------------------------------------------------- 1 | from cms import __version__ as cms_version 2 | from cms.api import add_plugin, create_page 3 | from cms.test_utils.testcases import CMSTestCase 4 | 5 | from djangocms_picture.cms_plugins import PicturePlugin 6 | from djangocms_picture.models import get_alignment 7 | 8 | from .helpers import get_filer_image 9 | 10 | 11 | class PicturePluginsTestCase(CMSTestCase): 12 | 13 | def setUp(self): 14 | self.picture = get_filer_image() 15 | self.language = "en" 16 | self.home = create_page( 17 | title="home", 18 | template="page.html", 19 | language=self.language, 20 | ) 21 | self.page = create_page( 22 | title="content", 23 | template="page.html", 24 | language=self.language, 25 | ) 26 | if cms_version < '4': 27 | self.home.publish(self.language) 28 | self.page.publish(self.language) 29 | self.placeholder = self.page.placeholders.get(slot="content") 30 | else: 31 | self.placeholder = self.page.get_placeholders(self.language).get(slot="content") 32 | 33 | self.superuser = self.get_superuser() 34 | 35 | def tearDown(self): 36 | self.picture.delete() 37 | self.home.delete() 38 | self.page.delete() 39 | self.superuser.delete() 40 | 41 | def test_picture_plugin(self): 42 | plugin = add_plugin( 43 | placeholder=self.placeholder, 44 | plugin_type=PicturePlugin.__name__, 45 | language=self.language, 46 | picture=self.picture, 47 | ) 48 | plugin.full_clean() 49 | self.assertEqual(plugin.plugin_type, "PicturePlugin") 50 | 51 | def test_plugin_structure(self): 52 | request_url = self.page.get_absolute_url(self.language) + "?toolbar_off=true" 53 | 54 | plugin = add_plugin( 55 | placeholder=self.placeholder, 56 | plugin_type=PicturePlugin.__name__, 57 | language=self.language, 58 | picture=self.picture, 59 | ) 60 | self.assertEqual(plugin.get_plugin_class_instance().name, "Image") 61 | 62 | with self.login_user_context(self.superuser): 63 | response = self.client.get(request_url) 64 | 65 | self.assertContains(response, 'src="/media/filer_public_thumbnails/filer_public') 66 | 67 | # test that alignment is added 68 | plugin = add_plugin( 69 | placeholder=self.placeholder, 70 | plugin_type=PicturePlugin.__name__, 71 | language=self.language, 72 | picture=self.picture, 73 | alignment=get_alignment()[1][0], 74 | ) 75 | 76 | self.assertEqual(plugin.get_plugin_class_instance().name, "Image") 77 | 78 | with self.login_user_context(self.superuser): 79 | response = self.client.get(request_url) 80 | 81 | self.assertContains(response, 'align-right') 82 | -------------------------------------------------------------------------------- /tests/urls.py: -------------------------------------------------------------------------------- 1 | from django.urls import include, path 2 | 3 | urlpatterns = [ 4 | path("", include("cms.urls")), 5 | ] 6 | -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- 1 | [tox] 2 | requires = 3 | tox>=4.2 4 | env_list = 5 | ruff 6 | py{39,310,311,312,313}-django42-cms{311,41} 7 | skip_missing_interpreters=True 8 | 9 | [testenv] 10 | deps = 11 | -r tests/requirements/{env_name}.txt 12 | commands = 13 | {env:COMMAND:coverage} run -m pytest 14 | 15 | [testenv:ruff] 16 | deps = ruff 17 | commands = ruff check djangocms_picture 18 | skip_install = true 19 | --------------------------------------------------------------------------------