diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48238608..efef2b7f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9, "3.10"] + python-version: [3.8, 3.9, "3.10", "3.11"] steps: - uses: actions/checkout@v2 - name: Python ${{ matrix.python-version }} diff --git a/.gitignore b/.gitignore index c93c33e7..82dba3ad 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,8 @@ survey.db django_survey_and_report.egg-info/ survey_test/static/ venv/ +.direnv/ +.envrc .idea/ .project .pydevproject @@ -18,11 +20,14 @@ build/ dist/ .tox/ .vscode/ +csv/category-without-description.csv csv/short-survey.csv csv/test-management-survey.csv csv/test-survey.csv csv/test-survey2.csv +tex/category-without-description.tex tex/q9_vs_q9.png +tex/q20_vs_q20.png tex/short-survey.tex tex/test-management-survey.tex tex/test-survey.tex diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d1419ea2..1f496e36 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,14 +3,14 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.4.0 hooks: - id: check-merge-conflict - id: trailing-whitespace - id: end-of-file-fixer - id: check-json - repo: https://github.com/myint/autoflake - rev: v1.4 + rev: v2.0.1 hooks: - id: autoflake args: @@ -20,30 +20,30 @@ repos: - --remove-duplicate-keys - --remove-unused-variables - repo: https://github.com/asottile/pyupgrade - rev: v2.37.3 + rev: v3.3.1 hooks: - id: pyupgrade args: [--py36-plus] - repo: https://github.com/psf/black - rev: 22.6.0 + rev: 23.1.0 hooks: - id: black args: [--line-length, "120"] - repo: https://github.com/Pierre-Sassoulas/black-disable-checker/ - rev: v1.1.1 + rev: v1.1.3 hooks: - id: black-disable-checker - repo: https://github.com/PyCQA/flake8 - rev: 5.0.4 + rev: 6.0.0 hooks: - id: flake8 additional_dependencies: [flake8-bugbear, flake8-typing-imports==1.12.0] - repo: https://github.com/PyCQA/isort - rev: 5.10.1 + rev: 5.12.0 hooks: - id: isort - repo: https://github.com/pre-commit/mirrors-prettier - rev: v2.7.1 + rev: v3.0.0-alpha.6 hooks: - id: prettier args: [--prose-wrap=always, --print-width=88] diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..5566938b --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,61 @@ +[build-system] +requires = ["setuptools>=67.5.1", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "django-survey-and-report" +description = "A django survey app that can export results as CSV or PDF using your native language." +version = "1.4.7" +readme = "README.md" +authors = [ + {email="pierre.sassoulas@gmail.com", name="Pierre SASSOULAS"} +] +license = {text = "AGPL-3.0"} +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Natural Language :: English", + "Natural Language :: Russian", + "Natural Language :: Spanish", + "Natural Language :: French", + "Natural Language :: Japanese", + "Natural Language :: Dutch", + "Natural Language :: Chinese (Traditional)", + "Natural Language :: German", + "Natural Language :: Indonesian", + "Natural Language :: Portuguese", + "Natural Language :: Polish", + "Topic :: Utilities", + "Environment :: Web Environment", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU Affero General Public License v3", + "Operating System :: OS Independent", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Framework :: Django" +] +dynamic = ["dependencies"] + +[project.urls] +repository = "https://github.com/Pierre-Sassoulas/django-survey" + +[project.optional-dependencies] +dev = [ + "pySankeyBeta~=1.3.0", + "django-rosetta", + "coverage", + "python-coveralls", + "coveralls", + "colorama", + "pylint", + "flake8", + "pre-commit" +] +sankey = [ + "pySankeyBeta~=1.3.0", +] + +[tool.setuptools.dynamic] +dependencies = {file = "requirements.txt"} diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..847a927e --- /dev/null +++ b/requirements.txt @@ -0,0 +1,7 @@ +django>=2.2,<5 +django-bootstrap-form>=3.4 +django-tastypie>=0.14.2 +django-registration>=3.0 +pytz>=2018.9 +ordereddict>=1.1 +pyyaml>=4.2b1 diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 0a1322c3..00000000 --- a/setup.cfg +++ /dev/null @@ -1,58 +0,0 @@ -[metadata] -name = django-survey-and-report -version = 1.4.7 -description = A django survey app that can export results as CSV or PDF using your native language. -long_description = file: README.md -long_description_content_type = text/markdown -author = Pierre SASSOULAS -author_email = pierre.sassoulas@gmail.com -license = AGPL-3.0 -url = https://github.com/Pierre-Sassoulas/django-survey -classifiers = - Development Status :: 5 - Production/Stable - Natural Language :: English - Natural Language :: Russian - Natural Language :: Spanish - Natural Language :: French - Natural Language :: Japanese - Natural Language :: Dutch - Natural Language :: Chinese (Traditional) - Natural Language :: German - Natural Language :: Indonesian - Natural Language :: Portuguese - Natural Language :: Polish - Topic :: Utilities - Environment :: Web Environment - Intended Audience :: Developers - License :: OSI Approved :: GNU Affero General Public License v3 - Operating System :: OS Independent - Programming Language :: Python :: 3.7 - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 - Programming Language :: Python :: 3.10 - Framework :: Django - -[options] -packages = find: -include_package_data = True -install_requires = - django>=2.2,<5 - django-bootstrap-form>=3.4 - django-tastypie>=0.14.2 - django-registration>=3.0 - pytz>=2018.9 - ordereddict>=1.1 - pyyaml>=4.2b1 - -[options.extras_require] -dev = - pySankeyBeta~=1.3.0 - django-rosetta - coverage - python-coveralls - coveralls - colorama - pylint - flake8 - pre-commit -sankey = pySankeyBeta~=1.3.0 diff --git a/setup.py b/setup.py index 60684932..5b8de774 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,3 @@ -from setuptools import setup +from setuptools import find_packages, setup -setup() +setup(include_package_data=True, packages=find_packages()) diff --git a/survey/exporter/tex/configuration.py b/survey/exporter/tex/configuration.py index 35620cec..93db6460 100755 --- a/survey/exporter/tex/configuration.py +++ b/survey/exporter/tex/configuration.py @@ -12,7 +12,6 @@ class Configuration: - DEFAULT_PATH = Path(HERE, "default_conf.yaml") def __init__(self, configuration_file=None): diff --git a/survey/exporter/tex/question2tex_sankey.py b/survey/exporter/tex/question2tex_sankey.py index 99923565..e8abbdb7 100755 --- a/survey/exporter/tex/question2tex_sankey.py +++ b/survey/exporter/tex/question2tex_sankey.py @@ -12,7 +12,8 @@ warnings.warn( "Cannot import 'sankey', please install the package using" "the sankey extra. (pip install django-survey-and-report[sankey])" - ": '{}'".format(e) + ": '{}'".format(e), + stacklevel=2, ) SANKEY = False diff --git a/survey/exporter/tex/survey2tex.py b/survey/exporter/tex/survey2tex.py index 63152c79..ce95045c 100755 --- a/survey/exporter/tex/survey2tex.py +++ b/survey/exporter/tex/survey2tex.py @@ -31,7 +31,6 @@ def __init__(self): class Survey2Tex(Survey2X): - ANALYSIS_FUNCTION = [] PGF_PIE_STY = Path(STATIC, "survey", "sty", "pgf-pie.sty") PGF_PLOT_STY = Path(STATIC, "survey", "sty", "pgfplots.sty") diff --git a/survey/forms.py b/survey/forms.py index 668b0495..833961f7 100644 --- a/survey/forms.py +++ b/survey/forms.py @@ -15,7 +15,6 @@ class ResponseForm(models.ModelForm): - FIELDS = { Question.TEXT: forms.CharField, Question.SHORT_TEXT: forms.CharField, diff --git a/survey/locale/de/LC_MESSAGES/django.po b/survey/locale/de/LC_MESSAGES/django.po index 50c6c0d1..43b5e626 100644 --- a/survey/locale/de/LC_MESSAGES/django.po +++ b/survey/locale/de/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-02-01 12:17+0000\n" +"POT-Creation-Date: 2023-03-07 14:14+0000\n" "PO-Revision-Date: 2021-01-23 11:53+0000\n" "Last-Translator: b' <>'\n" "Language-Team: LANGUAGE \n" @@ -89,7 +89,7 @@ msgid "Left blank" msgstr "Frei gelassen" #: survey/exporter/tex/question2tex_chart.py:111 -#: survey/exporter/tex/question2tex_sankey.py:55 +#: survey/exporter/tex/question2tex_sankey.py:56 msgid "for the question" msgstr "für die Frage" @@ -101,19 +101,19 @@ msgstr "Keine Antwort auf diese Frage." msgid "Participant" msgstr "Teilnehmer" -#: survey/exporter/tex/question2tex_sankey.py:27 +#: survey/exporter/tex/question2tex_sankey.py:28 msgid "Cannot generate PDF, we need 'pySankeyBeta' to be installed." msgstr "Kann PDF nicht exportieren, denn 'pySankeyBeta' muss installiert sein!" -#: survey/exporter/tex/question2tex_sankey.py:55 +#: survey/exporter/tex/question2tex_sankey.py:56 msgid "left" msgstr "links" -#: survey/exporter/tex/question2tex_sankey.py:57 +#: survey/exporter/tex/question2tex_sankey.py:58 msgid "in relation with the question" msgstr "in Zusammenhang mit der Frage" -#: survey/exporter/tex/question2tex_sankey.py:59 +#: survey/exporter/tex/question2tex_sankey.py:60 msgid "right" msgstr "rechts" @@ -121,73 +121,73 @@ msgstr "rechts" msgid "Cannot generate PDF, we need 'xelatex' to be installed." msgstr "Kann PDF nicht exportieren, denn 'xelatex' muss installiert sein!" -#: survey/exporter/tex/survey2tex.py:80 +#: survey/exporter/tex/survey2tex.py:79 msgid "We could not render a chart because the type" msgstr "Wir konnten eine Grafik nicht erstellen, weil der Typ" -#: survey/exporter/tex/survey2tex.py:83 +#: survey/exporter/tex/survey2tex.py:82 msgid "is not a standard type nor the path to an importable valid Question2Tex child class. Choose between 'raw', 'sankey', 'pie', 'cloud', 'square', 'polar' or 'package.path.MyQuestion2TexCustomClass'" msgstr "kein Standard Typ und auch kein Pfad zu einer importierbaren Question2Tex child class ist. Wähle zwischen 'raw', 'sankey', 'pie', 'cloud', 'square', 'polar' oder 'package.path.MyQuestion2TexCustomClass'" -#: survey/exporter/tex/survey2tex.py:157 +#: survey/exporter/tex/survey2tex.py:156 msgid "No questions to display in this survey." msgstr "In dieser Umfrage sind keine Fragen die angezeigt werden können." -#: survey/exporter/tex/survey2tex.py:187 +#: survey/exporter/tex/survey2tex.py:186 msgid "Cannot export multiple PDF, choose only one." msgstr "Kann nicht mehrere PDFs exportieren. Es kann nur eins ausgewählt werden." -#: survey/exporter/tex/survey2tex.py:196 +#: survey/exporter/tex/survey2tex.py:195 #, python-format msgid "Error during PDF generation: %s" msgstr "Fehler beim erstellen des PDFs: %s" -#: survey/exporter/tex/survey2tex.py:203 +#: survey/exporter/tex/survey2tex.py:202 msgid "Export to PDF" msgstr "Exportiere als PDF" -#: survey/models/answer.py:21 +#: survey/models/answer.py:20 msgid "Question" msgstr "Frage" -#: survey/models/answer.py:22 +#: survey/models/answer.py:21 msgid "Response" msgstr "Antwort" -#: survey/models/answer.py:23 survey/models/response.py:25 +#: survey/models/answer.py:22 survey/models/response.py:25 msgid "Creation date" msgstr "Datum der Erstellung" -#: survey/models/answer.py:24 survey/models/response.py:26 +#: survey/models/answer.py:23 survey/models/response.py:26 msgid "Update date" msgstr "Datum der letzten Bearbeitung" -#: survey/models/answer.py:25 +#: survey/models/answer.py:24 msgid "Content" msgstr "Inhalt" -#: survey/models/category.py:10 survey/models/survey.py:26 +#: survey/models/category.py:9 survey/models/survey.py:25 msgid "Name" msgstr "Name" -#: survey/models/category.py:11 survey/models/question.py:78 +#: survey/models/category.py:10 survey/models/question.py:77 #: survey/models/response.py:27 msgid "Survey" msgstr "Umfrage" -#: survey/models/category.py:12 +#: survey/models/category.py:11 msgid "Display order" msgstr "Anordnung" -#: survey/models/category.py:13 survey/models/survey.py:27 +#: survey/models/category.py:12 survey/models/survey.py:26 msgid "Description" msgstr "Beschreibung" -#: survey/models/category.py:17 +#: survey/models/category.py:16 msgid "category" msgstr "Kategorie" -#: survey/models/category.py:18 +#: survey/models/category.py:17 msgid "categories" msgstr "Kategorien" @@ -199,71 +199,71 @@ msgid "" "options for this question ." msgstr "Das Auswahlfeld wird nur benutzt, wenn der Fragetyp 'radio', 'select' oder 'select multiple' ist. Geben Sie eine durch Kommas getrennte Liste von Optionen an." -#: survey/models/question.py:61 +#: survey/models/question.py:60 msgid "text (multiple line)" msgstr "Text (mehrere Zeilen)" -#: survey/models/question.py:62 +#: survey/models/question.py:61 msgid "short text (one line)" msgstr "kurzer Text (eine Zeile)" -#: survey/models/question.py:63 +#: survey/models/question.py:62 msgid "radio" msgstr "Optionsschaltfläche" -#: survey/models/question.py:64 +#: survey/models/question.py:63 msgid "select" msgstr "Auswahl" -#: survey/models/question.py:65 +#: survey/models/question.py:64 msgid "Select Multiple" msgstr "Auswahl mehrer" -#: survey/models/question.py:66 +#: survey/models/question.py:65 msgid "Select Image" msgstr "Wähle Bild" -#: survey/models/question.py:67 +#: survey/models/question.py:66 msgid "integer" msgstr "Ganzzahl" -#: survey/models/question.py:68 +#: survey/models/question.py:67 msgid "float" msgstr "Gleitkommazahl" -#: survey/models/question.py:69 +#: survey/models/question.py:68 msgid "date" msgstr "Datum" -#: survey/models/question.py:72 +#: survey/models/question.py:71 msgid "Text" msgstr "Text" -#: survey/models/question.py:73 +#: survey/models/question.py:72 msgid "Order" msgstr "Reihenfolge" -#: survey/models/question.py:74 +#: survey/models/question.py:73 msgid "Required" msgstr "Erfoderlich" -#: survey/models/question.py:76 +#: survey/models/question.py:75 msgid "Category" msgstr "Kategorie" -#: survey/models/question.py:79 +#: survey/models/question.py:78 msgid "Type" msgstr "Typ" -#: survey/models/question.py:80 +#: survey/models/question.py:79 msgid "Choices" msgstr "Auswahl" -#: survey/models/question.py:83 +#: survey/models/question.py:82 msgid "question" msgstr "Frage" -#: survey/models/question.py:84 +#: survey/models/question.py:83 msgid "questions" msgstr "Fragen" @@ -283,55 +283,55 @@ msgstr "Satz an Antworten zu Umfragen" msgid "Sets of answers to surveys" msgstr "Sätze von Antworten zu Umfragen" -#: survey/models/survey.py:21 +#: survey/models/survey.py:20 msgid "By question" msgstr "Nach Frage" -#: survey/models/survey.py:22 +#: survey/models/survey.py:21 msgid "By category" msgstr "Nach Kategorie" -#: survey/models/survey.py:23 +#: survey/models/survey.py:22 msgid "All in one page" msgstr "Alle auf einer Seite" -#: survey/models/survey.py:28 +#: survey/models/survey.py:27 msgid "Users can see it and answer it" msgstr "Benutzer können sie sehen und beantworten" -#: survey/models/survey.py:29 +#: survey/models/survey.py:28 msgid "Only authenticated users can see it and answer it" msgstr "Nur autentifizierte Benutzer können sie sehen und beantworten" -#: survey/models/survey.py:30 +#: survey/models/survey.py:29 msgid "Users can edit their answers afterwards" msgstr "Benutzer können ihre Antworten im nachhinein verändern" -#: survey/models/survey.py:32 +#: survey/models/survey.py:31 msgid "Display method" msgstr "Darstellungsart" -#: survey/models/survey.py:34 +#: survey/models/survey.py:33 msgid "Template" msgstr "Vorlage" -#: survey/models/survey.py:35 +#: survey/models/survey.py:34 msgid "Publication date" msgstr "Datum der Veröffentlichung" -#: survey/models/survey.py:36 +#: survey/models/survey.py:35 msgid "Expiration date" msgstr "Ablaufdatum" -#: survey/models/survey.py:37 +#: survey/models/survey.py:36 msgid "Redirect URL" msgstr "" -#: survey/models/survey.py:40 +#: survey/models/survey.py:39 msgid "survey" msgstr "Umfrage" -#: survey/models/survey.py:41 +#: survey/models/survey.py:40 msgid "surveys" msgstr "Umfragen" diff --git a/survey/locale/es/LC_MESSAGES/django.po b/survey/locale/es/LC_MESSAGES/django.po index 669542b0..373b2b96 100644 --- a/survey/locale/es/LC_MESSAGES/django.po +++ b/survey/locale/es/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-02-01 12:17+0000\n" +"POT-Creation-Date: 2023-03-07 14:14+0000\n" "PO-Revision-Date: 2018-10-06 20:42+0000\n" "Last-Translator: Javier Ordóñez <>\n" "Language-Team: \n" @@ -91,7 +91,7 @@ msgid "Left blank" msgstr "Dejada en blanco" #: survey/exporter/tex/question2tex_chart.py:111 -#: survey/exporter/tex/question2tex_sankey.py:55 +#: survey/exporter/tex/question2tex_sankey.py:56 msgid "for the question" msgstr "para la pregunta" @@ -103,21 +103,21 @@ msgstr "No hay respuestas para esta pregunta." msgid "Participant" msgstr "Participante" -#: survey/exporter/tex/question2tex_sankey.py:27 +#: survey/exporter/tex/question2tex_sankey.py:28 msgid "Cannot generate PDF, we need 'pySankeyBeta' to be installed." msgstr "No podemos generar el PDF, necesitamos instalar 'pySankeyBeta'" # as in "opposite of right" -#: survey/exporter/tex/question2tex_sankey.py:55 +#: survey/exporter/tex/question2tex_sankey.py:56 msgid "left" msgstr "izquierda" -#: survey/exporter/tex/question2tex_sankey.py:57 +#: survey/exporter/tex/question2tex_sankey.py:58 msgid "in relation with the question" msgstr "en relación con la pregunta" # as in "opposite of left" -#: survey/exporter/tex/question2tex_sankey.py:59 +#: survey/exporter/tex/question2tex_sankey.py:60 msgid "right" msgstr "derecha" @@ -125,73 +125,73 @@ msgstr "derecha" msgid "Cannot generate PDF, we need 'xelatex' to be installed." msgstr "No podemos generar el PDF, necesitamos instalar 'xelatex'" -#: survey/exporter/tex/survey2tex.py:80 +#: survey/exporter/tex/survey2tex.py:79 msgid "We could not render a chart because the type" msgstr "No pudimos generar un gráfico porque el tipo" -#: survey/exporter/tex/survey2tex.py:83 +#: survey/exporter/tex/survey2tex.py:82 msgid "is not a standard type nor the path to an importable valid Question2Tex child class. Choose between 'raw', 'sankey', 'pie', 'cloud', 'square', 'polar' or 'package.path.MyQuestion2TexCustomClass'" msgstr "no es un tipo estándar ni ruta a una subclase importable válida de Question2Tex. Escoje entre 'raw', 'sankey', 'pie', 'cloud', 'square', 'polar' o 'package.path.MyQuestion2TexCustomClass'" -#: survey/exporter/tex/survey2tex.py:157 +#: survey/exporter/tex/survey2tex.py:156 msgid "No questions to display in this survey." msgstr "No hay preguntas para mostrar en esta encuesta." -#: survey/exporter/tex/survey2tex.py:187 +#: survey/exporter/tex/survey2tex.py:186 msgid "Cannot export multiple PDF, choose only one." msgstr "No se pueden exportar varios PDF, elije solo uno." -#: survey/exporter/tex/survey2tex.py:196 +#: survey/exporter/tex/survey2tex.py:195 #, python-format msgid "Error during PDF generation: %s" msgstr "Error durante la generación del PDF: %s" -#: survey/exporter/tex/survey2tex.py:203 +#: survey/exporter/tex/survey2tex.py:202 msgid "Export to PDF" msgstr "Exportación al formato PDF" -#: survey/models/answer.py:21 +#: survey/models/answer.py:20 msgid "Question" msgstr "Pregunta" -#: survey/models/answer.py:22 +#: survey/models/answer.py:21 msgid "Response" msgstr "Respuesta" -#: survey/models/answer.py:23 survey/models/response.py:25 +#: survey/models/answer.py:22 survey/models/response.py:25 msgid "Creation date" msgstr "Fecha de creación" -#: survey/models/answer.py:24 survey/models/response.py:26 +#: survey/models/answer.py:23 survey/models/response.py:26 msgid "Update date" msgstr "Fecha de actualización" -#: survey/models/answer.py:25 +#: survey/models/answer.py:24 msgid "Content" msgstr "Contenido" -#: survey/models/category.py:10 survey/models/survey.py:26 +#: survey/models/category.py:9 survey/models/survey.py:25 msgid "Name" msgstr "Nombre" -#: survey/models/category.py:11 survey/models/question.py:78 +#: survey/models/category.py:10 survey/models/question.py:77 #: survey/models/response.py:27 msgid "Survey" msgstr "Encuesta" -#: survey/models/category.py:12 +#: survey/models/category.py:11 msgid "Display order" msgstr "Orden de presentación" -#: survey/models/category.py:13 survey/models/survey.py:27 +#: survey/models/category.py:12 survey/models/survey.py:26 msgid "Description" msgstr "Descripción" -#: survey/models/category.py:17 +#: survey/models/category.py:16 msgid "category" msgstr "categoría" -#: survey/models/category.py:18 +#: survey/models/category.py:17 msgid "categories" msgstr "categorías" @@ -207,71 +207,71 @@ msgstr "" "es 'radio', 'selección simple', o 'selección múltiple'. Proporciona una lista de opciones\n" "separadas por comas para esta pregunta." -#: survey/models/question.py:61 +#: survey/models/question.py:60 msgid "text (multiple line)" msgstr "Texto (multilínea)" -#: survey/models/question.py:62 +#: survey/models/question.py:61 msgid "short text (one line)" msgstr "Texto corto (una línea)" -#: survey/models/question.py:63 +#: survey/models/question.py:62 msgid "radio" msgstr "Radio" -#: survey/models/question.py:64 +#: survey/models/question.py:63 msgid "select" msgstr "Selección simple" -#: survey/models/question.py:65 +#: survey/models/question.py:64 msgid "Select Multiple" msgstr "Selección múltiple" -#: survey/models/question.py:66 +#: survey/models/question.py:65 msgid "Select Image" msgstr "Selecciona imagen" -#: survey/models/question.py:67 +#: survey/models/question.py:66 msgid "integer" msgstr "Entero" -#: survey/models/question.py:68 +#: survey/models/question.py:67 msgid "float" msgstr "Coma flotante" -#: survey/models/question.py:69 +#: survey/models/question.py:68 msgid "date" msgstr "Fecha" -#: survey/models/question.py:72 +#: survey/models/question.py:71 msgid "Text" msgstr "Texto" -#: survey/models/question.py:73 +#: survey/models/question.py:72 msgid "Order" msgstr "Orden" -#: survey/models/question.py:74 +#: survey/models/question.py:73 msgid "Required" msgstr "Obligatorio" -#: survey/models/question.py:76 +#: survey/models/question.py:75 msgid "Category" msgstr "Categoría" -#: survey/models/question.py:79 +#: survey/models/question.py:78 msgid "Type" msgstr "Tipo" -#: survey/models/question.py:80 +#: survey/models/question.py:79 msgid "Choices" msgstr "Opciones" -#: survey/models/question.py:83 +#: survey/models/question.py:82 msgid "question" msgstr "pregunta" -#: survey/models/question.py:84 +#: survey/models/question.py:83 msgid "questions" msgstr "preguntas" @@ -291,55 +291,55 @@ msgstr "Conjunto de respuestas a encuestas" msgid "Sets of answers to surveys" msgstr "Conjuntos de respuestas a encuestas" -#: survey/models/survey.py:21 +#: survey/models/survey.py:20 msgid "By question" msgstr "Por pregunta" -#: survey/models/survey.py:22 +#: survey/models/survey.py:21 msgid "By category" msgstr "Por categoría" -#: survey/models/survey.py:23 +#: survey/models/survey.py:22 msgid "All in one page" msgstr "Todo en una sola página" -#: survey/models/survey.py:28 +#: survey/models/survey.py:27 msgid "Users can see it and answer it" msgstr "Los usuarios pueden ver y responder" -#: survey/models/survey.py:29 +#: survey/models/survey.py:28 msgid "Only authenticated users can see it and answer it" msgstr "Solo usuarios autenticados pueden ver y responder" -#: survey/models/survey.py:30 +#: survey/models/survey.py:29 msgid "Users can edit their answers afterwards" msgstr "Los usuarios pueden editar sus respuestas" -#: survey/models/survey.py:32 +#: survey/models/survey.py:31 msgid "Display method" msgstr "Método de visualización" -#: survey/models/survey.py:34 +#: survey/models/survey.py:33 msgid "Template" msgstr "Plantilla" -#: survey/models/survey.py:35 +#: survey/models/survey.py:34 msgid "Publication date" msgstr "Fecha de publication" -#: survey/models/survey.py:36 +#: survey/models/survey.py:35 msgid "Expiration date" msgstr "Fecha de caducidad" -#: survey/models/survey.py:37 +#: survey/models/survey.py:36 msgid "Redirect URL" msgstr "Redireccionar URL" -#: survey/models/survey.py:40 +#: survey/models/survey.py:39 msgid "survey" msgstr "encuesta" -#: survey/models/survey.py:41 +#: survey/models/survey.py:40 msgid "surveys" msgstr "encuestas" diff --git a/survey/locale/fr/LC_MESSAGES/django.po b/survey/locale/fr/LC_MESSAGES/django.po index 46ec479c..52a40860 100644 --- a/survey/locale/fr/LC_MESSAGES/django.po +++ b/survey/locale/fr/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-02-01 12:17+0000\n" +"POT-Creation-Date: 2023-03-07 14:14+0000\n" "PO-Revision-Date: 2020-02-23 14:44+0000\n" "Last-Translator: b' <>'\n" "Language-Team: LANGUAGE \n" @@ -89,7 +89,7 @@ msgid "Left blank" msgstr "Laissé vide" #: survey/exporter/tex/question2tex_chart.py:111 -#: survey/exporter/tex/question2tex_sankey.py:55 +#: survey/exporter/tex/question2tex_sankey.py:56 msgid "for the question" msgstr "pour la question" @@ -101,21 +101,21 @@ msgstr "Aucune réponse pour cette question." msgid "Participant" msgstr "Participant" -#: survey/exporter/tex/question2tex_sankey.py:27 +#: survey/exporter/tex/question2tex_sankey.py:28 #, fuzzy #| msgid "Cannot generate PDF, we need 'xelatex' to be installed." msgid "Cannot generate PDF, we need 'pySankeyBeta' to be installed." msgstr "Impossible de générer le PDF, 'xelatex' doit être installé." -#: survey/exporter/tex/question2tex_sankey.py:55 +#: survey/exporter/tex/question2tex_sankey.py:56 msgid "left" msgstr "à gauche" -#: survey/exporter/tex/question2tex_sankey.py:57 +#: survey/exporter/tex/question2tex_sankey.py:58 msgid "in relation with the question" msgstr "mise en relation avec la question" -#: survey/exporter/tex/question2tex_sankey.py:59 +#: survey/exporter/tex/question2tex_sankey.py:60 msgid "right" msgstr "à droite" @@ -123,73 +123,73 @@ msgstr "à droite" msgid "Cannot generate PDF, we need 'xelatex' to be installed." msgstr "Impossible de générer le PDF, 'xelatex' doit être installé." -#: survey/exporter/tex/survey2tex.py:80 +#: survey/exporter/tex/survey2tex.py:79 msgid "We could not render a chart because the type" msgstr "Nous n'avons pas pu générer un graphique car le type" -#: survey/exporter/tex/survey2tex.py:83 +#: survey/exporter/tex/survey2tex.py:82 msgid "is not a standard type nor the path to an importable valid Question2Tex child class. Choose between 'raw', 'sankey', 'pie', 'cloud', 'square', 'polar' or 'package.path.MyQuestion2TexCustomClass'" msgstr "n'est pas un type standard, ni le chemin d'une classe fille de Question2Tex importable. Choisissez entre 'raw', 'sankey', 'pie', 'cloud', 'square', 'polar' ou 'package.chemin.MaClasseQuestion2TexPerso'" -#: survey/exporter/tex/survey2tex.py:157 +#: survey/exporter/tex/survey2tex.py:156 msgid "No questions to display in this survey." msgstr "Aucune questions à montrer dans ce sondage." -#: survey/exporter/tex/survey2tex.py:187 +#: survey/exporter/tex/survey2tex.py:186 msgid "Cannot export multiple PDF, choose only one." msgstr "Impossible d'exporter plusieurs PDF, choisissez en un seul." -#: survey/exporter/tex/survey2tex.py:196 +#: survey/exporter/tex/survey2tex.py:195 #, python-format msgid "Error during PDF generation: %s" msgstr "Erreur durant la génération du PDF: %s" -#: survey/exporter/tex/survey2tex.py:203 +#: survey/exporter/tex/survey2tex.py:202 msgid "Export to PDF" msgstr "Export vers PDF" -#: survey/models/answer.py:21 +#: survey/models/answer.py:20 msgid "Question" msgstr "Question" -#: survey/models/answer.py:22 +#: survey/models/answer.py:21 msgid "Response" msgstr "Réponse" -#: survey/models/answer.py:23 survey/models/response.py:25 +#: survey/models/answer.py:22 survey/models/response.py:25 msgid "Creation date" msgstr "Date de création" -#: survey/models/answer.py:24 survey/models/response.py:26 +#: survey/models/answer.py:23 survey/models/response.py:26 msgid "Update date" msgstr "Date de mise à jour" -#: survey/models/answer.py:25 +#: survey/models/answer.py:24 msgid "Content" msgstr "Contenu" -#: survey/models/category.py:10 survey/models/survey.py:26 +#: survey/models/category.py:9 survey/models/survey.py:25 msgid "Name" msgstr "Nom" -#: survey/models/category.py:11 survey/models/question.py:78 +#: survey/models/category.py:10 survey/models/question.py:77 #: survey/models/response.py:27 msgid "Survey" msgstr "Sondage" -#: survey/models/category.py:12 +#: survey/models/category.py:11 msgid "Display order" msgstr "Ordre d'affichage" -#: survey/models/category.py:13 survey/models/survey.py:27 +#: survey/models/category.py:12 survey/models/survey.py:26 msgid "Description" msgstr "Description" -#: survey/models/category.py:17 +#: survey/models/category.py:16 msgid "category" msgstr "catégorie" -#: survey/models/category.py:18 +#: survey/models/category.py:17 msgid "categories" msgstr "catégories" @@ -201,71 +201,71 @@ msgid "" "options for this question ." msgstr "Le champ choix est utilisé seulement si la question est de type 'bouton radio', 'liste déroulante', ou 'liste à choix multiple', il faut fournir la liste des options pour cette question sous la forme d'une liste séparée par des virgules." -#: survey/models/question.py:61 +#: survey/models/question.py:60 msgid "text (multiple line)" msgstr "Texte (plusieurs lignes)" -#: survey/models/question.py:62 +#: survey/models/question.py:61 msgid "short text (one line)" msgstr "Texte court (une ligne)" -#: survey/models/question.py:63 +#: survey/models/question.py:62 msgid "radio" msgstr "Bouton radio" -#: survey/models/question.py:64 +#: survey/models/question.py:63 msgid "select" msgstr "Liste déroulante" -#: survey/models/question.py:65 +#: survey/models/question.py:64 msgid "Select Multiple" msgstr "Liste à choix multiple" -#: survey/models/question.py:66 +#: survey/models/question.py:65 msgid "Select Image" msgstr "Séléctionnez l'image" -#: survey/models/question.py:67 +#: survey/models/question.py:66 msgid "integer" msgstr "Chiffre" -#: survey/models/question.py:68 +#: survey/models/question.py:67 msgid "float" msgstr "Décimal" -#: survey/models/question.py:69 +#: survey/models/question.py:68 msgid "date" msgstr "" -#: survey/models/question.py:72 +#: survey/models/question.py:71 msgid "Text" msgstr "Texte" -#: survey/models/question.py:73 +#: survey/models/question.py:72 msgid "Order" msgstr "Ordre" -#: survey/models/question.py:74 +#: survey/models/question.py:73 msgid "Required" msgstr "Requise" -#: survey/models/question.py:76 +#: survey/models/question.py:75 msgid "Category" msgstr "Catégorie" -#: survey/models/question.py:79 +#: survey/models/question.py:78 msgid "Type" msgstr "Type" -#: survey/models/question.py:80 +#: survey/models/question.py:79 msgid "Choices" msgstr "Choix" -#: survey/models/question.py:83 +#: survey/models/question.py:82 msgid "question" msgstr "question" -#: survey/models/question.py:84 +#: survey/models/question.py:83 msgid "questions" msgstr "questions" @@ -285,59 +285,59 @@ msgstr "Ensemble de réponse aux sondages" msgid "Sets of answers to surveys" msgstr "Ensembles de réponse aux sondages" -#: survey/models/survey.py:21 +#: survey/models/survey.py:20 #, fuzzy #| msgid "question" msgid "By question" msgstr "Par question" -#: survey/models/survey.py:22 +#: survey/models/survey.py:21 #, fuzzy #| msgid "category" msgid "By category" msgstr "Par catégorie" -#: survey/models/survey.py:23 +#: survey/models/survey.py:22 msgid "All in one page" msgstr "Tout dans une même page" -#: survey/models/survey.py:28 +#: survey/models/survey.py:27 msgid "Users can see it and answer it" msgstr "Les utilisateurs peuvent le voir et y répondre" -#: survey/models/survey.py:29 +#: survey/models/survey.py:28 msgid "Only authenticated users can see it and answer it" msgstr "Seuls les utilisateurs authentifiés peuvent le voir et y répondre" -#: survey/models/survey.py:30 +#: survey/models/survey.py:29 msgid "Users can edit their answers afterwards" msgstr "Les utilisateurs peuvent modifier leur réponse" -#: survey/models/survey.py:32 +#: survey/models/survey.py:31 msgid "Display method" msgstr "Méthode d'affichage" -#: survey/models/survey.py:34 +#: survey/models/survey.py:33 msgid "Template" msgstr "Modèle" -#: survey/models/survey.py:35 +#: survey/models/survey.py:34 msgid "Publication date" msgstr "Date de publication" -#: survey/models/survey.py:36 +#: survey/models/survey.py:35 msgid "Expiration date" msgstr "Date de suppression" -#: survey/models/survey.py:37 +#: survey/models/survey.py:36 msgid "Redirect URL" msgstr "URL de redirection" -#: survey/models/survey.py:40 +#: survey/models/survey.py:39 msgid "survey" msgstr "sondage" -#: survey/models/survey.py:41 +#: survey/models/survey.py:40 msgid "surveys" msgstr "sondages" diff --git a/survey/locale/gr/LC_MESSAGES/django.po b/survey/locale/gr/LC_MESSAGES/django.po index 2c2a5a86..60b24109 100644 --- a/survey/locale/gr/LC_MESSAGES/django.po +++ b/survey/locale/gr/LC_MESSAGES/django.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-04-10 12:17+0000\n" +"POT-Creation-Date: 2023-03-07 14:14+0000\n" "PO-Revision-Date: 2022-04-10 22:53+0000\n" "Last-Translator: b' <>'\n" "Language-Team: \n" @@ -86,7 +86,7 @@ msgid "Left blank" msgstr "Έμεινε κενό" #: survey/exporter/tex/question2tex_chart.py:111 -#: survey/exporter/tex/question2tex_sankey.py:55 +#: survey/exporter/tex/question2tex_sankey.py:56 msgid "for the question" msgstr "για την ερώτηση" @@ -98,19 +98,19 @@ msgstr "Καμία απάντηση για αυτήν την ερώτηση." msgid "Participant" msgstr "Συμμετέχων" -#: survey/exporter/tex/question2tex_sankey.py:27 +#: survey/exporter/tex/question2tex_sankey.py:28 msgid "Cannot generate PDF, we need 'pySankeyBeta' to be installed." msgstr "Το PDF δεν μπορεί να δημιουργηθεί, χρειαζόμαστε το 'pySankeyBeta' να εγκατασταθεί!" -#: survey/exporter/tex/question2tex_sankey.py:55 +#: survey/exporter/tex/question2tex_sankey.py:56 msgid "left" msgstr "αριστερά" -#: survey/exporter/tex/question2tex_sankey.py:57 +#: survey/exporter/tex/question2tex_sankey.py:58 msgid "in relation with the question" msgstr "σε σχέση με την ερώτηση" -#: survey/exporter/tex/question2tex_sankey.py:59 +#: survey/exporter/tex/question2tex_sankey.py:60 msgid "right" msgstr "δεξιά" @@ -118,73 +118,73 @@ msgstr "δεξιά" msgid "Cannot generate PDF, we need 'xelatex' to be installed." msgstr "Το PDF δεν μπορεί να δημιουργηθεί, χρειαζόμαστε το 'xelatex' να εγκατασταθεί!" -#: survey/exporter/tex/survey2tex.py:80 +#: survey/exporter/tex/survey2tex.py:79 msgid "We could not render a chart because the type" msgstr "Δεν μπορέσαμε να αποδώσουμε το γράφημα λόγω του τύπου" -#: survey/exporter/tex/survey2tex.py:83 +#: survey/exporter/tex/survey2tex.py:82 msgid "is not a standard type nor the path to an importable valid Question2Tex child class. Choose between 'raw', 'sankey', 'pie', 'cloud', 'square', 'polar' or 'package.path.MyQuestion2TexCustomClass'" msgstr "δεν είναι κανονικός τύπος ούτε η διαδρομή προς μια εισαγόμενη έγκυρη Question2Tex κλάση παιδί. Επιλέξτε μεταξύ 'raw', 'sankey', 'pie', 'cloud', 'square', 'polar' oder 'package.path.MyQuestion2TexCustomClass'" -#: survey/exporter/tex/survey2tex.py:157 +#: survey/exporter/tex/survey2tex.py:156 msgid "No questions to display in this survey." msgstr "Δεν υπάρχουν ερωτήσεις για εμφάνιση σε αυτήν την έρευνα." -#: survey/exporter/tex/survey2tex.py:187 +#: survey/exporter/tex/survey2tex.py:186 msgid "Cannot export multiple PDF, choose only one." msgstr "Δεν είναι δυνατή η εξαγωγή πολλών PDF, επιλέξτε μόνο ένα." -#: survey/exporter/tex/survey2tex.py:196 +#: survey/exporter/tex/survey2tex.py:195 #, python-format msgid "Error during PDF generation: %s" msgstr "Σφάλμα κατά τη δημιουργία PDF: %s" -#: survey/exporter/tex/survey2tex.py:203 +#: survey/exporter/tex/survey2tex.py:202 msgid "Export to PDF" msgstr "Εξαγωγή ως PDF" -#: survey/models/answer.py:21 +#: survey/models/answer.py:20 msgid "Question" msgstr "Ερώτηση" -#: survey/models/answer.py:22 +#: survey/models/answer.py:21 msgid "Response" msgstr "Απάντηση" -#: survey/models/answer.py:23 survey/models/response.py:25 +#: survey/models/answer.py:22 survey/models/response.py:25 msgid "Creation date" msgstr "Ημερομηνία δημιουργίας" -#: survey/models/answer.py:24 survey/models/response.py:26 +#: survey/models/answer.py:23 survey/models/response.py:26 msgid "Update date" msgstr "Ημερομηνία ενημέρωσης" -#: survey/models/answer.py:25 +#: survey/models/answer.py:24 msgid "Content" msgstr "Περιεχόμενο" -#: survey/models/category.py:10 survey/models/survey.py:26 +#: survey/models/category.py:9 survey/models/survey.py:25 msgid "Name" msgstr "Όνομα" -#: survey/models/category.py:11 survey/models/question.py:78 +#: survey/models/category.py:10 survey/models/question.py:77 #: survey/models/response.py:27 msgid "Survey" msgstr "Έρευνα" -#: survey/models/category.py:12 +#: survey/models/category.py:11 msgid "Display order" msgstr "Σειρά εμφάνισης" -#: survey/models/category.py:13 survey/models/survey.py:27 +#: survey/models/category.py:12 survey/models/survey.py:26 msgid "Description" msgstr "Περιγραφή" -#: survey/models/category.py:17 +#: survey/models/category.py:16 msgid "category" msgstr "Κατηγορία" -#: survey/models/category.py:18 +#: survey/models/category.py:17 msgid "categories" msgstr "Κατηγορίες" @@ -200,71 +200,71 @@ msgstr "" "'select multiple' παρέχει μια λίστα διαχωρισμένη με κόμματα\n" "επιλογές για αυτήν την ερώτηση." -#: survey/models/question.py:61 +#: survey/models/question.py:60 msgid "text (multiple line)" msgstr "κείμενο (πολλαπλών γραμμών)" -#: survey/models/question.py:62 +#: survey/models/question.py:61 msgid "short text (one line)" msgstr "σύντομο κείμενο (μιας γραμμής)" -#: survey/models/question.py:63 +#: survey/models/question.py:62 msgid "radio" msgstr "κουμπί ραδιοφώνου" -#: survey/models/question.py:64 +#: survey/models/question.py:63 msgid "select" msgstr "Επιλέξτε" -#: survey/models/question.py:65 +#: survey/models/question.py:64 msgid "Select Multiple" msgstr "Επιλέξτε Πολλαπλά" -#: survey/models/question.py:66 +#: survey/models/question.py:65 msgid "Select Image" msgstr "Επιλέξτε Εικόνα" -#: survey/models/question.py:67 +#: survey/models/question.py:66 msgid "integer" msgstr "ακέραιος αριθμός" -#: survey/models/question.py:68 +#: survey/models/question.py:67 msgid "float" msgstr "δεκαδικός αριθμός" -#: survey/models/question.py:69 +#: survey/models/question.py:68 msgid "date" msgstr "ημερομηνία" -#: survey/models/question.py:72 +#: survey/models/question.py:71 msgid "Text" msgstr "Κείμενο" -#: survey/models/question.py:73 +#: survey/models/question.py:72 msgid "Order" msgstr "Σειρά" -#: survey/models/question.py:74 +#: survey/models/question.py:73 msgid "Required" msgstr "Υποχρεωτικό" -#: survey/models/question.py:76 +#: survey/models/question.py:75 msgid "Category" msgstr "Κατηγορία" -#: survey/models/question.py:79 +#: survey/models/question.py:78 msgid "Type" msgstr "Τύπος" -#: survey/models/question.py:80 +#: survey/models/question.py:79 msgid "Choices" msgstr "Επιλογές" -#: survey/models/question.py:83 +#: survey/models/question.py:82 msgid "question" msgstr "ερώτηση" -#: survey/models/question.py:84 +#: survey/models/question.py:83 msgid "questions" msgstr "ερωτήσεις" @@ -284,55 +284,55 @@ msgstr "Σύνολο απαντήσεων σε έρευνες" msgid "Sets of answers to surveys" msgstr "Σύνολα απαντήσεων σε έρευνες" -#: survey/models/survey.py:21 +#: survey/models/survey.py:20 msgid "By question" msgstr "Ανά ερώτηση" -#: survey/models/survey.py:22 +#: survey/models/survey.py:21 msgid "By category" msgstr "Ανά κατηγορία" -#: survey/models/survey.py:23 +#: survey/models/survey.py:22 msgid "All in one page" msgstr "Όλα σε μια σελίδα" -#: survey/models/survey.py:28 +#: survey/models/survey.py:27 msgid "Users can see it and answer it" msgstr "Οι χρήστες μπορούν να το δουν και να απαντήσουν" -#: survey/models/survey.py:29 +#: survey/models/survey.py:28 msgid "Only authenticated users can see it and answer it" msgstr "Μόνο εγκεκριμένοι χρήστες μπορούν να το δουν και να το απαντήσουν" -#: survey/models/survey.py:30 +#: survey/models/survey.py:29 msgid "Users can edit their answers afterwards" msgstr "Οι χρήστες μπορούν να επεξεργαστούν τις απαντήσεις τους στη συνέχεια" -#: survey/models/survey.py:32 +#: survey/models/survey.py:31 msgid "Display method" msgstr "Μέθοδος εμφάνισης" -#: survey/models/survey.py:34 +#: survey/models/survey.py:33 msgid "Template" msgstr "Πρότυπο" -#: survey/models/survey.py:35 +#: survey/models/survey.py:34 msgid "Publication date" msgstr "Ημερομηνία έκδοσης" -#: survey/models/survey.py:36 +#: survey/models/survey.py:35 msgid "Expiration date" msgstr "Ημερομηνία λήξης" -#: survey/models/survey.py:37 +#: survey/models/survey.py:36 msgid "Redirect URL" msgstr "URL ανακατεύθυνσης" -#: survey/models/survey.py:40 +#: survey/models/survey.py:39 msgid "survey" msgstr "έρευνα" -#: survey/models/survey.py:41 +#: survey/models/survey.py:40 msgid "surveys" msgstr "έρευνες" diff --git a/survey/locale/id/LC_MESSAGES/django.po b/survey/locale/id/LC_MESSAGES/django.po index 65018d1e..1b18915d 100644 --- a/survey/locale/id/LC_MESSAGES/django.po +++ b/survey/locale/id/LC_MESSAGES/django.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-02-01 12:17+0000\n" +"POT-Creation-Date: 2023-03-07 14:14+0000\n" "PO-Revision-Date: 2020-10-04 15:40+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -88,7 +88,7 @@ msgid "Left blank" msgstr "Dikosongkan saja" #: survey/exporter/tex/question2tex_chart.py:111 -#: survey/exporter/tex/question2tex_sankey.py:55 +#: survey/exporter/tex/question2tex_sankey.py:56 msgid "for the question" msgstr "untuk pertanyaan" @@ -100,19 +100,19 @@ msgstr "Tidak ada jawaban untuk pertanyaan ini." msgid "Participant" msgstr "Partisipan" -#: survey/exporter/tex/question2tex_sankey.py:27 +#: survey/exporter/tex/question2tex_sankey.py:28 msgid "Cannot generate PDF, we need 'pySankeyBeta' to be installed." msgstr "Tidak dapat menghasilkan PDF, 'pySankeyBeta' perlu dipasang terlebih dahulu" -#: survey/exporter/tex/question2tex_sankey.py:55 +#: survey/exporter/tex/question2tex_sankey.py:56 msgid "left" msgstr "kiri" -#: survey/exporter/tex/question2tex_sankey.py:57 +#: survey/exporter/tex/question2tex_sankey.py:58 msgid "in relation with the question" msgstr "hubungannya dengan pertanyaan" -#: survey/exporter/tex/question2tex_sankey.py:59 +#: survey/exporter/tex/question2tex_sankey.py:60 msgid "right" msgstr "kanan" @@ -120,73 +120,73 @@ msgstr "kanan" msgid "Cannot generate PDF, we need 'xelatex' to be installed." msgstr "Tidak dapat menghasilkan PDF, 'xelatex' perlu dipasang terlebih dahulu" -#: survey/exporter/tex/survey2tex.py:80 +#: survey/exporter/tex/survey2tex.py:79 msgid "We could not render a chart because the type" msgstr "Tidak dapat memuat sebuah diagram karena tipe" -#: survey/exporter/tex/survey2tex.py:83 +#: survey/exporter/tex/survey2tex.py:82 msgid "is not a standard type nor the path to an importable valid Question2Tex child class. Choose between 'raw', 'sankey', 'pie', 'cloud', 'square', 'polar' or 'package.path.MyQuestion2TexCustomClass'" msgstr "bukan tipe standar ataupun path menuju kelas turunan Question2Tex yang dapat diimpor tidak valid. Plih antara 'raw', 'sankey', 'pie', 'cloud', 'square', 'polar' atau 'package.path.MyQuestion2TexCustomClass'" -#: survey/exporter/tex/survey2tex.py:157 +#: survey/exporter/tex/survey2tex.py:156 msgid "No questions to display in this survey." msgstr "Tidak ada pertanyaan untuk ditampilkan pada survei ini." -#: survey/exporter/tex/survey2tex.py:187 +#: survey/exporter/tex/survey2tex.py:186 msgid "Cannot export multiple PDF, choose only one." msgstr "Tidak dapat ekspor beberapa PDF sekaligus, pilih satu saja." -#: survey/exporter/tex/survey2tex.py:196 +#: survey/exporter/tex/survey2tex.py:195 #, python-format msgid "Error during PDF generation: %s" msgstr "Terjadi kesalahan dalam membuat berkas PDF: %s" -#: survey/exporter/tex/survey2tex.py:203 +#: survey/exporter/tex/survey2tex.py:202 msgid "Export to PDF" msgstr "Ekspor sebagai PDF" -#: survey/models/answer.py:21 +#: survey/models/answer.py:20 msgid "Question" msgstr "Pertanyaan" -#: survey/models/answer.py:22 +#: survey/models/answer.py:21 msgid "Response" msgstr "Respon" -#: survey/models/answer.py:23 survey/models/response.py:25 +#: survey/models/answer.py:22 survey/models/response.py:25 msgid "Creation date" msgstr "Tanggal pembuatan" -#: survey/models/answer.py:24 survey/models/response.py:26 +#: survey/models/answer.py:23 survey/models/response.py:26 msgid "Update date" msgstr "Tanggal pembaruan" -#: survey/models/answer.py:25 +#: survey/models/answer.py:24 msgid "Content" msgstr "Konten" -#: survey/models/category.py:10 survey/models/survey.py:26 +#: survey/models/category.py:9 survey/models/survey.py:25 msgid "Name" msgstr "Nama" -#: survey/models/category.py:11 survey/models/question.py:78 +#: survey/models/category.py:10 survey/models/question.py:77 #: survey/models/response.py:27 msgid "Survey" msgstr "Survei" -#: survey/models/category.py:12 +#: survey/models/category.py:11 msgid "Display order" msgstr "Urutan tampilan" -#: survey/models/category.py:13 survey/models/survey.py:27 +#: survey/models/category.py:12 survey/models/survey.py:26 msgid "Description" msgstr "Deskripsi" -#: survey/models/category.py:17 +#: survey/models/category.py:16 msgid "category" msgstr "Kategori" -#: survey/models/category.py:18 +#: survey/models/category.py:17 msgid "categories" msgstr "Kategori" @@ -202,71 +202,71 @@ msgstr "" "'pilih beberapa' menyediakan sebuah daftar opsi\n" "yang dipisahkan tanda koma untuk pertanyaan ini" -#: survey/models/question.py:61 +#: survey/models/question.py:60 msgid "text (multiple line)" msgstr "teks (beberapa baris)" -#: survey/models/question.py:62 +#: survey/models/question.py:61 msgid "short text (one line)" msgstr "teks pendek (satu baris)" -#: survey/models/question.py:63 +#: survey/models/question.py:62 msgid "radio" msgstr "radio" -#: survey/models/question.py:64 +#: survey/models/question.py:63 msgid "select" msgstr "pilih" -#: survey/models/question.py:65 +#: survey/models/question.py:64 msgid "Select Multiple" msgstr "Pilih beberapa" -#: survey/models/question.py:66 +#: survey/models/question.py:65 msgid "Select Image" msgstr "Pilih Gambar" -#: survey/models/question.py:67 +#: survey/models/question.py:66 msgid "integer" msgstr "bilangan bulat" -#: survey/models/question.py:68 +#: survey/models/question.py:67 msgid "float" msgstr "bilangan desimal" -#: survey/models/question.py:69 +#: survey/models/question.py:68 msgid "date" msgstr "tanggal" -#: survey/models/question.py:72 +#: survey/models/question.py:71 msgid "Text" msgstr "Teks" -#: survey/models/question.py:73 +#: survey/models/question.py:72 msgid "Order" msgstr "Urutan" -#: survey/models/question.py:74 +#: survey/models/question.py:73 msgid "Required" msgstr "Diperlukan" -#: survey/models/question.py:76 +#: survey/models/question.py:75 msgid "Category" msgstr "Kategori" -#: survey/models/question.py:79 +#: survey/models/question.py:78 msgid "Type" msgstr "Tipe" -#: survey/models/question.py:80 +#: survey/models/question.py:79 msgid "Choices" msgstr "Pilihan" -#: survey/models/question.py:83 +#: survey/models/question.py:82 msgid "question" msgstr "pertanyaan" -#: survey/models/question.py:84 +#: survey/models/question.py:83 msgid "questions" msgstr "pertanyaan-pertanyaan" @@ -286,55 +286,55 @@ msgstr "Kumpulan jawaban dari survei" msgid "Sets of answers to surveys" msgstr "Kumpulan jawaban dari survei" -#: survey/models/survey.py:21 +#: survey/models/survey.py:20 msgid "By question" msgstr "Berdasarkan pertanyaan" -#: survey/models/survey.py:22 +#: survey/models/survey.py:21 msgid "By category" msgstr "Berdasarkan kategori" -#: survey/models/survey.py:23 +#: survey/models/survey.py:22 msgid "All in one page" msgstr "Semua dalam satu halaman" -#: survey/models/survey.py:28 +#: survey/models/survey.py:27 msgid "Users can see it and answer it" msgstr "Pengguna dapat melihat dan menjawabnya" -#: survey/models/survey.py:29 +#: survey/models/survey.py:28 msgid "Only authenticated users can see it and answer it" msgstr "Hanya pengguna yang telah diotentikasi dapat melihat dan menjawabnya" -#: survey/models/survey.py:30 +#: survey/models/survey.py:29 msgid "Users can edit their answers afterwards" msgstr "Pengguna dapat mengubah jawabannya setelahnya" -#: survey/models/survey.py:32 +#: survey/models/survey.py:31 msgid "Display method" msgstr "Metode tampilan" -#: survey/models/survey.py:34 +#: survey/models/survey.py:33 msgid "Template" msgstr "Templat" -#: survey/models/survey.py:35 +#: survey/models/survey.py:34 msgid "Publication date" msgstr "Tanggal penayangan" -#: survey/models/survey.py:36 +#: survey/models/survey.py:35 msgid "Expiration date" msgstr "Tanggal kedaluwarsa" -#: survey/models/survey.py:37 +#: survey/models/survey.py:36 msgid "Redirect URL" msgstr "" -#: survey/models/survey.py:40 +#: survey/models/survey.py:39 msgid "survey" msgstr "survei" -#: survey/models/survey.py:41 +#: survey/models/survey.py:40 msgid "surveys" msgstr "survei" diff --git a/survey/locale/ja/LC_MESSAGES/django.po b/survey/locale/ja/LC_MESSAGES/django.po index 8f0d0bd8..5c6ed531 100644 --- a/survey/locale/ja/LC_MESSAGES/django.po +++ b/survey/locale/ja/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-02-01 12:17+0000\n" +"POT-Creation-Date: 2023-03-07 14:14+0000\n" "PO-Revision-Date: 2018-04-09 00:52+0000\n" "Last-Translator: b' '\n" "Language-Team: LANGUAGE \n" @@ -88,7 +88,7 @@ msgid "Left blank" msgstr "空白のまま" #: survey/exporter/tex/question2tex_chart.py:111 -#: survey/exporter/tex/question2tex_sankey.py:55 +#: survey/exporter/tex/question2tex_sankey.py:56 msgid "for the question" msgstr "質問の為に" @@ -100,19 +100,19 @@ msgstr "この質問に答えない" msgid "Participant" msgstr "参加者" -#: survey/exporter/tex/question2tex_sankey.py:27 +#: survey/exporter/tex/question2tex_sankey.py:28 msgid "Cannot generate PDF, we need 'pySankeyBeta' to be installed." msgstr "" -#: survey/exporter/tex/question2tex_sankey.py:55 +#: survey/exporter/tex/question2tex_sankey.py:56 msgid "left" msgstr "左" -#: survey/exporter/tex/question2tex_sankey.py:57 +#: survey/exporter/tex/question2tex_sankey.py:58 msgid "in relation with the question" msgstr "質問に関連して" -#: survey/exporter/tex/question2tex_sankey.py:59 +#: survey/exporter/tex/question2tex_sankey.py:60 msgid "right" msgstr "右" @@ -120,73 +120,73 @@ msgstr "右" msgid "Cannot generate PDF, we need 'xelatex' to be installed." msgstr "" -#: survey/exporter/tex/survey2tex.py:80 +#: survey/exporter/tex/survey2tex.py:79 msgid "We could not render a chart because the type" msgstr "チャートを描画できません。何故ならタイプ" -#: survey/exporter/tex/survey2tex.py:83 +#: survey/exporter/tex/survey2tex.py:82 msgid "is not a standard type nor the path to an importable valid Question2Tex child class. Choose between 'raw', 'sankey', 'pie', 'cloud', 'square', 'polar' or 'package.path.MyQuestion2TexCustomClass'" msgstr "は標準タイプでもインポート可能で有効なQuestion2Tex子クラスへのパスでもありません。 「raw」、「sankey」、「pie」、「cloud」、 「square」、「polar」または「package.path.MyQuestion2TexCustomClass」の中から選択してください。" -#: survey/exporter/tex/survey2tex.py:157 +#: survey/exporter/tex/survey2tex.py:156 msgid "No questions to display in this survey." msgstr "" -#: survey/exporter/tex/survey2tex.py:187 +#: survey/exporter/tex/survey2tex.py:186 msgid "Cannot export multiple PDF, choose only one." msgstr "" -#: survey/exporter/tex/survey2tex.py:196 +#: survey/exporter/tex/survey2tex.py:195 #, python-format msgid "Error during PDF generation: %s" msgstr "" -#: survey/exporter/tex/survey2tex.py:203 +#: survey/exporter/tex/survey2tex.py:202 msgid "Export to PDF" msgstr "" -#: survey/models/answer.py:21 +#: survey/models/answer.py:20 msgid "Question" msgstr "質問" -#: survey/models/answer.py:22 +#: survey/models/answer.py:21 msgid "Response" msgstr "反応" -#: survey/models/answer.py:23 survey/models/response.py:25 +#: survey/models/answer.py:22 survey/models/response.py:25 msgid "Creation date" msgstr "作成日" -#: survey/models/answer.py:24 survey/models/response.py:26 +#: survey/models/answer.py:23 survey/models/response.py:26 msgid "Update date" msgstr "更新日" -#: survey/models/answer.py:25 +#: survey/models/answer.py:24 msgid "Content" msgstr "内容" -#: survey/models/category.py:10 survey/models/survey.py:26 +#: survey/models/category.py:9 survey/models/survey.py:25 msgid "Name" msgstr "名前" -#: survey/models/category.py:11 survey/models/question.py:78 +#: survey/models/category.py:10 survey/models/question.py:77 #: survey/models/response.py:27 msgid "Survey" msgstr "調査" -#: survey/models/category.py:12 +#: survey/models/category.py:11 msgid "Display order" msgstr "表示順" -#: survey/models/category.py:13 survey/models/survey.py:27 +#: survey/models/category.py:12 survey/models/survey.py:26 msgid "Description" msgstr "定義" -#: survey/models/category.py:17 +#: survey/models/category.py:16 msgid "category" msgstr "分類" -#: survey/models/category.py:18 +#: survey/models/category.py:17 msgid "categories" msgstr "分類" @@ -198,71 +198,71 @@ msgid "" "options for this question ." msgstr "選択肢フィールドは、質問のタイプが「ラジオボタン」、「リスト(単一選択)」、「リスト(複数選択)」の場合のみ有効です。選択肢はカンマで区切ってください。" -#: survey/models/question.py:61 +#: survey/models/question.py:60 msgid "text (multiple line)" msgstr "テキスト(複数行)" -#: survey/models/question.py:62 +#: survey/models/question.py:61 msgid "short text (one line)" msgstr "テキスト(一行)" -#: survey/models/question.py:63 +#: survey/models/question.py:62 msgid "radio" msgstr "ラジオボタン" -#: survey/models/question.py:64 +#: survey/models/question.py:63 msgid "select" msgstr "リスト(単一選択)" -#: survey/models/question.py:65 +#: survey/models/question.py:64 msgid "Select Multiple" msgstr "リスト(複数選択)" -#: survey/models/question.py:66 +#: survey/models/question.py:65 msgid "Select Image" msgstr "イメージ選択" -#: survey/models/question.py:67 +#: survey/models/question.py:66 msgid "integer" msgstr "整数" -#: survey/models/question.py:68 +#: survey/models/question.py:67 msgid "float" msgstr "" -#: survey/models/question.py:69 +#: survey/models/question.py:68 msgid "date" msgstr "" -#: survey/models/question.py:72 +#: survey/models/question.py:71 msgid "Text" msgstr "テキスト" -#: survey/models/question.py:73 +#: survey/models/question.py:72 msgid "Order" msgstr "順序" -#: survey/models/question.py:74 +#: survey/models/question.py:73 msgid "Required" msgstr "必須" -#: survey/models/question.py:76 +#: survey/models/question.py:75 msgid "Category" msgstr "分類" -#: survey/models/question.py:79 +#: survey/models/question.py:78 msgid "Type" msgstr "タイプ" -#: survey/models/question.py:80 +#: survey/models/question.py:79 msgid "Choices" msgstr "選択肢" -#: survey/models/question.py:83 +#: survey/models/question.py:82 msgid "question" msgstr "質問" -#: survey/models/question.py:84 +#: survey/models/question.py:83 msgid "questions" msgstr "質問" @@ -282,61 +282,61 @@ msgstr "調査に対する回答集" msgid "Sets of answers to surveys" msgstr "調査に対する回答セット" -#: survey/models/survey.py:21 +#: survey/models/survey.py:20 #, fuzzy #| msgid "question" msgid "By question" msgstr "質問" -#: survey/models/survey.py:22 +#: survey/models/survey.py:21 #, fuzzy #| msgid "category" msgid "By category" msgstr "分類" -#: survey/models/survey.py:23 +#: survey/models/survey.py:22 msgid "All in one page" msgstr "" -#: survey/models/survey.py:28 +#: survey/models/survey.py:27 msgid "Users can see it and answer it" msgstr "すべてのユーザーが閲覧・回答できる" -#: survey/models/survey.py:29 +#: survey/models/survey.py:28 msgid "Only authenticated users can see it and answer it" msgstr "認証されたユーザーのみ閲覧・回答できる" -#: survey/models/survey.py:30 +#: survey/models/survey.py:29 msgid "Users can edit their answers afterwards" msgstr "ユーザーは後で回答を編集できます" -#: survey/models/survey.py:32 +#: survey/models/survey.py:31 #, fuzzy #| msgid "Display order" msgid "Display method" msgstr "表示順" -#: survey/models/survey.py:34 +#: survey/models/survey.py:33 msgid "Template" msgstr "テンプレート" -#: survey/models/survey.py:35 +#: survey/models/survey.py:34 msgid "Publication date" msgstr "" -#: survey/models/survey.py:36 +#: survey/models/survey.py:35 msgid "Expiration date" msgstr "" -#: survey/models/survey.py:37 +#: survey/models/survey.py:36 msgid "Redirect URL" msgstr "リダイレクトURL" -#: survey/models/survey.py:40 +#: survey/models/survey.py:39 msgid "survey" msgstr "調査" -#: survey/models/survey.py:41 +#: survey/models/survey.py:40 msgid "surveys" msgstr "調査" diff --git a/survey/locale/nl/LC_MESSAGES/django.po b/survey/locale/nl/LC_MESSAGES/django.po index 4ea17be8..8dd76081 100644 --- a/survey/locale/nl/LC_MESSAGES/django.po +++ b/survey/locale/nl/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-02-01 12:17+0000\n" +"POT-Creation-Date: 2023-03-07 14:14+0000\n" "PO-Revision-Date: 2021-01-23 11:53+0000\n" "Last-Translator: b' <>'\n" "Language-Team: LANGUAGE \n" @@ -88,7 +88,7 @@ msgid "Left blank" msgstr "Leeg gelaten" #: survey/exporter/tex/question2tex_chart.py:111 -#: survey/exporter/tex/question2tex_sankey.py:55 +#: survey/exporter/tex/question2tex_sankey.py:56 msgid "for the question" msgstr "voor de vraag" @@ -100,19 +100,19 @@ msgstr "Geen antwoord op deze vraag." msgid "Participant" msgstr "Deelnemer" -#: survey/exporter/tex/question2tex_sankey.py:27 +#: survey/exporter/tex/question2tex_sankey.py:28 msgid "Cannot generate PDF, we need 'pySankeyBeta' to be installed." msgstr "Kan geen PDF exporteren. Installeer 'pySankeyBeta' door middel van " -#: survey/exporter/tex/question2tex_sankey.py:55 +#: survey/exporter/tex/question2tex_sankey.py:56 msgid "left" msgstr "links" -#: survey/exporter/tex/question2tex_sankey.py:57 +#: survey/exporter/tex/question2tex_sankey.py:58 msgid "in relation with the question" msgstr "in relatie met de vraag" -#: survey/exporter/tex/question2tex_sankey.py:59 +#: survey/exporter/tex/question2tex_sankey.py:60 msgid "right" msgstr "rechts" @@ -120,73 +120,73 @@ msgstr "rechts" msgid "Cannot generate PDF, we need 'xelatex' to be installed." msgstr "Kan geen PDF genereren. Installeer 'xelatex' door middel van 'sudo apt-get install texlive-xetex'." -#: survey/exporter/tex/survey2tex.py:80 +#: survey/exporter/tex/survey2tex.py:79 msgid "We could not render a chart because the type" msgstr "We kunnen de grafiek niet maken omdat het type" -#: survey/exporter/tex/survey2tex.py:83 +#: survey/exporter/tex/survey2tex.py:82 msgid "is not a standard type nor the path to an importable valid Question2Tex child class. Choose between 'raw', 'sankey', 'pie', 'cloud', 'square', 'polar' or 'package.path.MyQuestion2TexCustomClass'" msgstr "geen standaard type of niet in het pad naar een importeerbaar geldig Question kind klasse. Kies uit 'raw', 'sankey', 'pie', 'cloud', 'square', 'polar' of 'package.path.MyQuestion2TexCustomClass'" -#: survey/exporter/tex/survey2tex.py:157 +#: survey/exporter/tex/survey2tex.py:156 msgid "No questions to display in this survey." msgstr "Geen vragen van deze survey kunnen getoond worden." -#: survey/exporter/tex/survey2tex.py:187 +#: survey/exporter/tex/survey2tex.py:186 msgid "Cannot export multiple PDF, choose only one." msgstr "Kan geen meerdere PDF bestanden exporteren. Kies er een." -#: survey/exporter/tex/survey2tex.py:196 +#: survey/exporter/tex/survey2tex.py:195 #, python-format msgid "Error during PDF generation: %s" msgstr "Fout tijdens het genereren van PDFs: %s" -#: survey/exporter/tex/survey2tex.py:203 +#: survey/exporter/tex/survey2tex.py:202 msgid "Export to PDF" msgstr "Exporteer naar PDF" -#: survey/models/answer.py:21 +#: survey/models/answer.py:20 msgid "Question" msgstr "Vraag" -#: survey/models/answer.py:22 +#: survey/models/answer.py:21 msgid "Response" msgstr "Antwoord" -#: survey/models/answer.py:23 survey/models/response.py:25 +#: survey/models/answer.py:22 survey/models/response.py:25 msgid "Creation date" msgstr "Creatie datum" -#: survey/models/answer.py:24 survey/models/response.py:26 +#: survey/models/answer.py:23 survey/models/response.py:26 msgid "Update date" msgstr "Update datum" -#: survey/models/answer.py:25 +#: survey/models/answer.py:24 msgid "Content" msgstr "Inhoud" -#: survey/models/category.py:10 survey/models/survey.py:26 +#: survey/models/category.py:9 survey/models/survey.py:25 msgid "Name" msgstr "Naam" -#: survey/models/category.py:11 survey/models/question.py:78 +#: survey/models/category.py:10 survey/models/question.py:77 #: survey/models/response.py:27 msgid "Survey" msgstr "Survey" -#: survey/models/category.py:12 +#: survey/models/category.py:11 msgid "Display order" msgstr "Toon volgorde" -#: survey/models/category.py:13 survey/models/survey.py:27 +#: survey/models/category.py:12 survey/models/survey.py:26 msgid "Description" msgstr "Beschrijving" -#: survey/models/category.py:17 +#: survey/models/category.py:16 msgid "category" msgstr "Categorie" -#: survey/models/category.py:18 +#: survey/models/category.py:17 msgid "categories" msgstr "Categorieen" @@ -198,71 +198,71 @@ msgid "" "options for this question ." msgstr "De type keuzes voor dit veld zijn 'radio', 'selecteer', 'selecteer meerdere' toegestaan. Geef de waarden in een lijst op en scheidt de waarden met een komma." -#: survey/models/question.py:61 +#: survey/models/question.py:60 msgid "text (multiple line)" msgstr "tekst (meerdere regels)" -#: survey/models/question.py:62 +#: survey/models/question.py:61 msgid "short text (one line)" msgstr "korte tekst (een regel)" -#: survey/models/question.py:63 +#: survey/models/question.py:62 msgid "radio" msgstr "radio" -#: survey/models/question.py:64 +#: survey/models/question.py:63 msgid "select" msgstr "selecteer" -#: survey/models/question.py:65 +#: survey/models/question.py:64 msgid "Select Multiple" msgstr "Selecteer meerdere" -#: survey/models/question.py:66 +#: survey/models/question.py:65 msgid "Select Image" msgstr "Selecteer plaatje" -#: survey/models/question.py:67 +#: survey/models/question.py:66 msgid "integer" msgstr "integer" -#: survey/models/question.py:68 +#: survey/models/question.py:67 msgid "float" msgstr "float / drijvende-kommagetal" -#: survey/models/question.py:69 +#: survey/models/question.py:68 msgid "date" msgstr "datum" -#: survey/models/question.py:72 +#: survey/models/question.py:71 msgid "Text" msgstr "Tekst" -#: survey/models/question.py:73 +#: survey/models/question.py:72 msgid "Order" msgstr "Volgorde" -#: survey/models/question.py:74 +#: survey/models/question.py:73 msgid "Required" msgstr "Verplicht" -#: survey/models/question.py:76 +#: survey/models/question.py:75 msgid "Category" msgstr "Categorie" -#: survey/models/question.py:79 +#: survey/models/question.py:78 msgid "Type" msgstr "Type" -#: survey/models/question.py:80 +#: survey/models/question.py:79 msgid "Choices" msgstr "Keuze" -#: survey/models/question.py:83 +#: survey/models/question.py:82 msgid "question" msgstr "vraag" -#: survey/models/question.py:84 +#: survey/models/question.py:83 msgid "questions" msgstr "vragen" @@ -282,55 +282,55 @@ msgstr "Verzameling van survey antwoorden" msgid "Sets of answers to surveys" msgstr "Verzmaleing van survey antwoorden" -#: survey/models/survey.py:21 +#: survey/models/survey.py:20 msgid "By question" msgstr "Op vraag" -#: survey/models/survey.py:22 +#: survey/models/survey.py:21 msgid "By category" msgstr "Op categorie" -#: survey/models/survey.py:23 +#: survey/models/survey.py:22 msgid "All in one page" msgstr "Alles op een pagina" -#: survey/models/survey.py:28 +#: survey/models/survey.py:27 msgid "Users can see it and answer it" msgstr "Gebruiker heeft inzage en kan het beantwoorden" -#: survey/models/survey.py:29 +#: survey/models/survey.py:28 msgid "Only authenticated users can see it and answer it" msgstr "Alleen geauthoriseerde gebruikers hebben inzage en kunnen het beantwoorden" -#: survey/models/survey.py:30 +#: survey/models/survey.py:29 msgid "Users can edit their answers afterwards" msgstr "Gebruikers kunnen hun antwoorden na de tijd aanpassen" -#: survey/models/survey.py:32 +#: survey/models/survey.py:31 msgid "Display method" msgstr "Wijze van tonen" -#: survey/models/survey.py:34 +#: survey/models/survey.py:33 msgid "Template" msgstr "Sjabloon" -#: survey/models/survey.py:35 +#: survey/models/survey.py:34 msgid "Publication date" msgstr "Publicatie datum" -#: survey/models/survey.py:36 +#: survey/models/survey.py:35 msgid "Expiration date" msgstr "Verloopdatum" -#: survey/models/survey.py:37 +#: survey/models/survey.py:36 msgid "Redirect URL" msgstr "" -#: survey/models/survey.py:40 +#: survey/models/survey.py:39 msgid "survey" msgstr "survey" -#: survey/models/survey.py:41 +#: survey/models/survey.py:40 msgid "surveys" msgstr "surveys" diff --git a/survey/locale/pl/LC_MESSAGES/django.po b/survey/locale/pl/LC_MESSAGES/django.po index 223c4788..23261592 100644 --- a/survey/locale/pl/LC_MESSAGES/django.po +++ b/survey/locale/pl/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-02-01 12:17+0000\n" +"POT-Creation-Date: 2023-03-07 14:14+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -88,7 +88,7 @@ msgid "Left blank" msgstr "Pozostaw puste" #: survey/exporter/tex/question2tex_chart.py:111 -#: survey/exporter/tex/question2tex_sankey.py:55 +#: survey/exporter/tex/question2tex_sankey.py:56 msgid "for the question" msgstr "dla pytania" @@ -100,19 +100,19 @@ msgstr "Brak odpowiedzi na to pytanie." msgid "Participant" msgstr "Uczestnik" -#: survey/exporter/tex/question2tex_sankey.py:27 +#: survey/exporter/tex/question2tex_sankey.py:28 msgid "Cannot generate PDF, we need 'pySankeyBeta' to be installed." msgstr "Nie można utworzyć PDF, wymagana instalacja 'pySankeyBeta'." -#: survey/exporter/tex/question2tex_sankey.py:55 +#: survey/exporter/tex/question2tex_sankey.py:56 msgid "left" msgstr "lewo" -#: survey/exporter/tex/question2tex_sankey.py:57 +#: survey/exporter/tex/question2tex_sankey.py:58 msgid "in relation with the question" msgstr "w związku z pytaniem" -#: survey/exporter/tex/question2tex_sankey.py:59 +#: survey/exporter/tex/question2tex_sankey.py:60 msgid "right" msgstr "prawo" @@ -120,73 +120,73 @@ msgstr "prawo" msgid "Cannot generate PDF, we need 'xelatex' to be installed." msgstr "Nie można utworzyć PDF, wymagana instalacja 'xelatex'." -#: survey/exporter/tex/survey2tex.py:80 +#: survey/exporter/tex/survey2tex.py:79 msgid "We could not render a chart because the type" msgstr "Nie można wyrenderować wykresu ze względu na typ" -#: survey/exporter/tex/survey2tex.py:83 +#: survey/exporter/tex/survey2tex.py:82 msgid "is not a standard type nor the path to an importable valid Question2Tex child class. Choose between 'raw', 'sankey', 'pie', 'cloud', 'square', 'polar' or 'package.path.MyQuestion2TexCustomClass'" msgstr "to nie jest standardowy typ ani ścieżka aby importować prawidłowo Question2Texdo klasy podrzędnej. Wybierz pomiędzy 'surowy', 'wykres sankeya', 'kawałek', 'chmura', 'kwadrat', polarny lub 'package.path.MyQuestion2TexCustomClass'" -#: survey/exporter/tex/survey2tex.py:157 +#: survey/exporter/tex/survey2tex.py:156 msgid "No questions to display in this survey." msgstr "Brak pytań do wyświetlenia w tej ankiecie" -#: survey/exporter/tex/survey2tex.py:187 +#: survey/exporter/tex/survey2tex.py:186 msgid "Cannot export multiple PDF, choose only one." msgstr "Nie można eksportować wielu PDF, wybierz tylko jeden." -#: survey/exporter/tex/survey2tex.py:196 +#: survey/exporter/tex/survey2tex.py:195 #, python-format msgid "Error during PDF generation: %s" msgstr "Błąd podczas generowania PDF: %s" -#: survey/exporter/tex/survey2tex.py:203 +#: survey/exporter/tex/survey2tex.py:202 msgid "Export to PDF" msgstr "Eksportuj do PDF" -#: survey/models/answer.py:21 +#: survey/models/answer.py:20 msgid "Question" msgstr "Pytanie" -#: survey/models/answer.py:22 +#: survey/models/answer.py:21 msgid "Response" msgstr "Odpowiedź" -#: survey/models/answer.py:23 survey/models/response.py:25 +#: survey/models/answer.py:22 survey/models/response.py:25 msgid "Creation date" msgstr "Data utworzenia" -#: survey/models/answer.py:24 survey/models/response.py:26 +#: survey/models/answer.py:23 survey/models/response.py:26 msgid "Update date" msgstr "Zaktualizuj datę" -#: survey/models/answer.py:25 +#: survey/models/answer.py:24 msgid "Content" msgstr "zawartość" -#: survey/models/category.py:10 survey/models/survey.py:26 +#: survey/models/category.py:9 survey/models/survey.py:25 msgid "Name" msgstr "Imię" -#: survey/models/category.py:11 survey/models/question.py:78 +#: survey/models/category.py:10 survey/models/question.py:77 #: survey/models/response.py:27 msgid "Survey" msgstr "Ankieta" -#: survey/models/category.py:12 +#: survey/models/category.py:11 msgid "Display order" msgstr "Kolejność wyświetlania" -#: survey/models/category.py:13 survey/models/survey.py:27 +#: survey/models/category.py:12 survey/models/survey.py:26 msgid "Description" msgstr "Opis" -#: survey/models/category.py:17 +#: survey/models/category.py:16 msgid "category" msgstr "kategoria" -#: survey/models/category.py:18 +#: survey/models/category.py:17 msgid "categories" msgstr "kategorie" @@ -202,71 +202,71 @@ msgstr "" "'select multiple' utworzy listę oddzieloną ustępami z\n" "opcji dla tego pytania." -#: survey/models/question.py:61 +#: survey/models/question.py:60 msgid "text (multiple line)" msgstr "tekst (wiele lini)" -#: survey/models/question.py:62 +#: survey/models/question.py:61 msgid "short text (one line)" msgstr "krótki tekst (jedna linia)" -#: survey/models/question.py:63 +#: survey/models/question.py:62 msgid "radio" msgstr "radio" -#: survey/models/question.py:64 +#: survey/models/question.py:63 msgid "select" msgstr "wybór" -#: survey/models/question.py:65 +#: survey/models/question.py:64 msgid "Select Multiple" msgstr "Wybierz wiele" -#: survey/models/question.py:66 +#: survey/models/question.py:65 msgid "Select Image" msgstr "Wybierz Obraz" -#: survey/models/question.py:67 +#: survey/models/question.py:66 msgid "integer" msgstr "liczba całkowita" -#: survey/models/question.py:68 +#: survey/models/question.py:67 msgid "float" msgstr "liczba zmiennoprzecinkowa" -#: survey/models/question.py:69 +#: survey/models/question.py:68 msgid "date" msgstr "data" -#: survey/models/question.py:72 +#: survey/models/question.py:71 msgid "Text" msgstr "Tekst" -#: survey/models/question.py:73 +#: survey/models/question.py:72 msgid "Order" msgstr "Kolejność" -#: survey/models/question.py:74 +#: survey/models/question.py:73 msgid "Required" msgstr "Wymagane" -#: survey/models/question.py:76 +#: survey/models/question.py:75 msgid "Category" msgstr "Kategoria" -#: survey/models/question.py:79 +#: survey/models/question.py:78 msgid "Type" msgstr "Typ" -#: survey/models/question.py:80 +#: survey/models/question.py:79 msgid "Choices" msgstr "Wybory" -#: survey/models/question.py:83 +#: survey/models/question.py:82 msgid "question" msgstr "pytanie" -#: survey/models/question.py:84 +#: survey/models/question.py:83 msgid "questions" msgstr "pytania" @@ -286,55 +286,55 @@ msgstr "Zestaw odpowiedzi do ankiet" msgid "Sets of answers to surveys" msgstr "Zestawy odpowiedzi do ankiet" -#: survey/models/survey.py:21 +#: survey/models/survey.py:20 msgid "By question" msgstr "Pytaniami" -#: survey/models/survey.py:22 +#: survey/models/survey.py:21 msgid "By category" msgstr "Kategoriami" -#: survey/models/survey.py:23 +#: survey/models/survey.py:22 msgid "All in one page" msgstr "Wszystko na jednej stronie" -#: survey/models/survey.py:28 +#: survey/models/survey.py:27 msgid "Users can see it and answer it" msgstr "Użytkownik może to zobaczyć i na to odpowiedzieć" -#: survey/models/survey.py:29 +#: survey/models/survey.py:28 msgid "Only authenticated users can see it and answer it" msgstr "Tylko zidentyfikowany użytkownik może to zobaczyć i na to odpowiedzieć" -#: survey/models/survey.py:30 +#: survey/models/survey.py:29 msgid "Users can edit their answers afterwards" msgstr "Użytkownicy mogą zmieniać swoje odpowiedzi po czasie" -#: survey/models/survey.py:32 +#: survey/models/survey.py:31 msgid "Display method" msgstr "Metoda wyświetlania" -#: survey/models/survey.py:34 +#: survey/models/survey.py:33 msgid "Template" msgstr "Wzór" -#: survey/models/survey.py:35 +#: survey/models/survey.py:34 msgid "Publication date" msgstr "Data publikacji" -#: survey/models/survey.py:36 +#: survey/models/survey.py:35 msgid "Expiration date" msgstr "Data wygaśnięcia" -#: survey/models/survey.py:37 +#: survey/models/survey.py:36 msgid "Redirect URL" msgstr "" -#: survey/models/survey.py:40 +#: survey/models/survey.py:39 msgid "survey" msgstr "ankieta" -#: survey/models/survey.py:41 +#: survey/models/survey.py:40 msgid "surveys" msgstr "ankiety" diff --git a/survey/locale/pt/LC_MESSAGES/django.po b/survey/locale/pt/LC_MESSAGES/django.po index 80405c1e..4619a05a 100644 --- a/survey/locale/pt/LC_MESSAGES/django.po +++ b/survey/locale/pt/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-02-01 12:17+0000\n" +"POT-Creation-Date: 2023-03-07 14:14+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -88,7 +88,7 @@ msgid "Left blank" msgstr "" #: survey/exporter/tex/question2tex_chart.py:111 -#: survey/exporter/tex/question2tex_sankey.py:55 +#: survey/exporter/tex/question2tex_sankey.py:56 msgid "for the question" msgstr "" @@ -100,19 +100,19 @@ msgstr "" msgid "Participant" msgstr "" -#: survey/exporter/tex/question2tex_sankey.py:27 +#: survey/exporter/tex/question2tex_sankey.py:28 msgid "Cannot generate PDF, we need 'pySankeyBeta' to be installed." msgstr "" -#: survey/exporter/tex/question2tex_sankey.py:55 +#: survey/exporter/tex/question2tex_sankey.py:56 msgid "left" msgstr "" -#: survey/exporter/tex/question2tex_sankey.py:57 +#: survey/exporter/tex/question2tex_sankey.py:58 msgid "in relation with the question" msgstr "" -#: survey/exporter/tex/question2tex_sankey.py:59 +#: survey/exporter/tex/question2tex_sankey.py:60 msgid "right" msgstr "" @@ -120,73 +120,73 @@ msgstr "" msgid "Cannot generate PDF, we need 'xelatex' to be installed." msgstr "" -#: survey/exporter/tex/survey2tex.py:80 +#: survey/exporter/tex/survey2tex.py:79 msgid "We could not render a chart because the type" msgstr "" -#: survey/exporter/tex/survey2tex.py:83 +#: survey/exporter/tex/survey2tex.py:82 msgid "is not a standard type nor the path to an importable valid Question2Tex child class. Choose between 'raw', 'sankey', 'pie', 'cloud', 'square', 'polar' or 'package.path.MyQuestion2TexCustomClass'" msgstr "" -#: survey/exporter/tex/survey2tex.py:157 +#: survey/exporter/tex/survey2tex.py:156 msgid "No questions to display in this survey." msgstr "" -#: survey/exporter/tex/survey2tex.py:187 +#: survey/exporter/tex/survey2tex.py:186 msgid "Cannot export multiple PDF, choose only one." msgstr "" -#: survey/exporter/tex/survey2tex.py:196 +#: survey/exporter/tex/survey2tex.py:195 #, python-format msgid "Error during PDF generation: %s" msgstr "" -#: survey/exporter/tex/survey2tex.py:203 +#: survey/exporter/tex/survey2tex.py:202 msgid "Export to PDF" msgstr "" -#: survey/models/answer.py:21 +#: survey/models/answer.py:20 msgid "Question" msgstr "" -#: survey/models/answer.py:22 +#: survey/models/answer.py:21 msgid "Response" msgstr "" -#: survey/models/answer.py:23 survey/models/response.py:25 +#: survey/models/answer.py:22 survey/models/response.py:25 msgid "Creation date" msgstr "" -#: survey/models/answer.py:24 survey/models/response.py:26 +#: survey/models/answer.py:23 survey/models/response.py:26 msgid "Update date" msgstr "" -#: survey/models/answer.py:25 +#: survey/models/answer.py:24 msgid "Content" msgstr "" -#: survey/models/category.py:10 survey/models/survey.py:26 +#: survey/models/category.py:9 survey/models/survey.py:25 msgid "Name" msgstr "" -#: survey/models/category.py:11 survey/models/question.py:78 +#: survey/models/category.py:10 survey/models/question.py:77 #: survey/models/response.py:27 msgid "Survey" msgstr "" -#: survey/models/category.py:12 +#: survey/models/category.py:11 msgid "Display order" msgstr "" -#: survey/models/category.py:13 survey/models/survey.py:27 +#: survey/models/category.py:12 survey/models/survey.py:26 msgid "Description" msgstr "" -#: survey/models/category.py:17 +#: survey/models/category.py:16 msgid "category" msgstr "" -#: survey/models/category.py:18 +#: survey/models/category.py:17 msgid "categories" msgstr "" @@ -198,71 +198,71 @@ msgid "" "options for this question ." msgstr "" -#: survey/models/question.py:61 +#: survey/models/question.py:60 msgid "text (multiple line)" msgstr "" -#: survey/models/question.py:62 +#: survey/models/question.py:61 msgid "short text (one line)" msgstr "" -#: survey/models/question.py:63 +#: survey/models/question.py:62 msgid "radio" msgstr "" -#: survey/models/question.py:64 +#: survey/models/question.py:63 msgid "select" msgstr "" -#: survey/models/question.py:65 +#: survey/models/question.py:64 msgid "Select Multiple" msgstr "" -#: survey/models/question.py:66 +#: survey/models/question.py:65 msgid "Select Image" msgstr "" -#: survey/models/question.py:67 +#: survey/models/question.py:66 msgid "integer" msgstr "" -#: survey/models/question.py:68 +#: survey/models/question.py:67 msgid "float" msgstr "" -#: survey/models/question.py:69 +#: survey/models/question.py:68 msgid "date" msgstr "" -#: survey/models/question.py:72 +#: survey/models/question.py:71 msgid "Text" msgstr "" -#: survey/models/question.py:73 +#: survey/models/question.py:72 msgid "Order" msgstr "" -#: survey/models/question.py:74 +#: survey/models/question.py:73 msgid "Required" msgstr "" -#: survey/models/question.py:76 +#: survey/models/question.py:75 msgid "Category" msgstr "" -#: survey/models/question.py:79 +#: survey/models/question.py:78 msgid "Type" msgstr "" -#: survey/models/question.py:80 +#: survey/models/question.py:79 msgid "Choices" msgstr "" -#: survey/models/question.py:83 +#: survey/models/question.py:82 msgid "question" msgstr "" -#: survey/models/question.py:84 +#: survey/models/question.py:83 msgid "questions" msgstr "" @@ -282,55 +282,55 @@ msgstr "" msgid "Sets of answers to surveys" msgstr "" -#: survey/models/survey.py:21 +#: survey/models/survey.py:20 msgid "By question" msgstr "" -#: survey/models/survey.py:22 +#: survey/models/survey.py:21 msgid "By category" msgstr "" -#: survey/models/survey.py:23 +#: survey/models/survey.py:22 msgid "All in one page" msgstr "" -#: survey/models/survey.py:28 +#: survey/models/survey.py:27 msgid "Users can see it and answer it" msgstr "" -#: survey/models/survey.py:29 +#: survey/models/survey.py:28 msgid "Only authenticated users can see it and answer it" msgstr "" -#: survey/models/survey.py:30 +#: survey/models/survey.py:29 msgid "Users can edit their answers afterwards" msgstr "" -#: survey/models/survey.py:32 +#: survey/models/survey.py:31 msgid "Display method" msgstr "" -#: survey/models/survey.py:34 +#: survey/models/survey.py:33 msgid "Template" msgstr "" -#: survey/models/survey.py:35 +#: survey/models/survey.py:34 msgid "Publication date" msgstr "" -#: survey/models/survey.py:36 +#: survey/models/survey.py:35 msgid "Expiration date" msgstr "" -#: survey/models/survey.py:37 +#: survey/models/survey.py:36 msgid "Redirect URL" msgstr "" -#: survey/models/survey.py:40 +#: survey/models/survey.py:39 msgid "survey" msgstr "" -#: survey/models/survey.py:41 +#: survey/models/survey.py:40 msgid "surveys" msgstr "" diff --git a/survey/locale/ru/LC_MESSAGES/django.po b/survey/locale/ru/LC_MESSAGES/django.po index b2f1d03f..ffea2bf6 100644 --- a/survey/locale/ru/LC_MESSAGES/django.po +++ b/survey/locale/ru/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-02-01 12:17+0000\n" +"POT-Creation-Date: 2023-03-07 14:14+0000\n" "PO-Revision-Date: 2019-03-10 22:53+0230\n" "Last-Translator: b' '\n" "Language-Team: \n" @@ -91,7 +91,7 @@ msgid "Left blank" msgstr "Оставить пустым" #: survey/exporter/tex/question2tex_chart.py:111 -#: survey/exporter/tex/question2tex_sankey.py:55 +#: survey/exporter/tex/question2tex_sankey.py:56 msgid "for the question" msgstr "для вопроса" @@ -103,21 +103,21 @@ msgstr "Нет ответов для этого вопроса." msgid "Participant" msgstr "Участник" -#: survey/exporter/tex/question2tex_sankey.py:27 +#: survey/exporter/tex/question2tex_sankey.py:28 msgid "Cannot generate PDF, we need 'pySankeyBeta' to be installed." msgstr "" # as in "opposite of right" -#: survey/exporter/tex/question2tex_sankey.py:55 +#: survey/exporter/tex/question2tex_sankey.py:56 msgid "left" msgstr "не правильно" -#: survey/exporter/tex/question2tex_sankey.py:57 +#: survey/exporter/tex/question2tex_sankey.py:58 msgid "in relation with the question" msgstr "в связи с вопросом" # as in "opposite of left" -#: survey/exporter/tex/question2tex_sankey.py:59 +#: survey/exporter/tex/question2tex_sankey.py:60 msgid "right" msgstr "правильно" @@ -125,73 +125,73 @@ msgstr "правильно" msgid "Cannot generate PDF, we need 'xelatex' to be installed." msgstr "" -#: survey/exporter/tex/survey2tex.py:80 +#: survey/exporter/tex/survey2tex.py:79 msgid "We could not render a chart because the type" msgstr "Мы не смогли отобразить диаграмму, потому что тип" -#: survey/exporter/tex/survey2tex.py:83 +#: survey/exporter/tex/survey2tex.py:82 msgid "is not a standard type nor the path to an importable valid Question2Tex child class. Choose between 'raw', 'sankey', 'pie', 'cloud', 'square', 'polar' or 'package.path.MyQuestion2TexCustomClass'" msgstr "не является стандартным типом или путем к импортируемому допустимому текстовому дочернему классу Question2Tex. Выбрать между 'raw', 'sankey', 'pie', 'cloud', 'square', 'polar' o 'package.path.MyQuestion2TexCustomClass'" -#: survey/exporter/tex/survey2tex.py:157 +#: survey/exporter/tex/survey2tex.py:156 msgid "No questions to display in this survey." msgstr "" -#: survey/exporter/tex/survey2tex.py:187 +#: survey/exporter/tex/survey2tex.py:186 msgid "Cannot export multiple PDF, choose only one." msgstr "" -#: survey/exporter/tex/survey2tex.py:196 +#: survey/exporter/tex/survey2tex.py:195 #, python-format msgid "Error during PDF generation: %s" msgstr "" -#: survey/exporter/tex/survey2tex.py:203 +#: survey/exporter/tex/survey2tex.py:202 msgid "Export to PDF" msgstr "" -#: survey/models/answer.py:21 +#: survey/models/answer.py:20 msgid "Question" msgstr "Вопрос" -#: survey/models/answer.py:22 +#: survey/models/answer.py:21 msgid "Response" msgstr "Ответ" -#: survey/models/answer.py:23 survey/models/response.py:25 +#: survey/models/answer.py:22 survey/models/response.py:25 msgid "Creation date" msgstr "Дата создания" -#: survey/models/answer.py:24 survey/models/response.py:26 +#: survey/models/answer.py:23 survey/models/response.py:26 msgid "Update date" msgstr "Дата обновления" -#: survey/models/answer.py:25 +#: survey/models/answer.py:24 msgid "Content" msgstr "Содержание" -#: survey/models/category.py:10 survey/models/survey.py:26 +#: survey/models/category.py:9 survey/models/survey.py:25 msgid "Name" msgstr "Название" -#: survey/models/category.py:11 survey/models/question.py:78 +#: survey/models/category.py:10 survey/models/question.py:77 #: survey/models/response.py:27 msgid "Survey" msgstr "Тест" -#: survey/models/category.py:12 +#: survey/models/category.py:11 msgid "Display order" msgstr "Порядок отображения" -#: survey/models/category.py:13 survey/models/survey.py:27 +#: survey/models/category.py:12 survey/models/survey.py:26 msgid "Description" msgstr "Описание" -#: survey/models/category.py:17 +#: survey/models/category.py:16 msgid "category" msgstr "категория" -#: survey/models/category.py:18 +#: survey/models/category.py:17 msgid "categories" msgstr "категории" @@ -208,71 +208,71 @@ msgstr "" "'select multiple' предоставляет разделенный запятыми список\n" "вариантов этого вопроса ." -#: survey/models/question.py:61 +#: survey/models/question.py:60 msgid "text (multiple line)" msgstr "текст (многострочный)" -#: survey/models/question.py:62 +#: survey/models/question.py:61 msgid "short text (one line)" msgstr "короткий текст (однострочный)" -#: survey/models/question.py:63 +#: survey/models/question.py:62 msgid "radio" msgstr "radio" -#: survey/models/question.py:64 +#: survey/models/question.py:63 msgid "select" msgstr "выбор" -#: survey/models/question.py:65 +#: survey/models/question.py:64 msgid "Select Multiple" msgstr "Множественный выбор" -#: survey/models/question.py:66 +#: survey/models/question.py:65 msgid "Select Image" msgstr "выбор изображения" -#: survey/models/question.py:67 +#: survey/models/question.py:66 msgid "integer" msgstr "целое" -#: survey/models/question.py:68 +#: survey/models/question.py:67 msgid "float" msgstr "" -#: survey/models/question.py:69 +#: survey/models/question.py:68 msgid "date" msgstr "" -#: survey/models/question.py:72 +#: survey/models/question.py:71 msgid "Text" msgstr "Текст" -#: survey/models/question.py:73 +#: survey/models/question.py:72 msgid "Order" msgstr "Порядок" -#: survey/models/question.py:74 +#: survey/models/question.py:73 msgid "Required" msgstr "Требуемый" -#: survey/models/question.py:76 +#: survey/models/question.py:75 msgid "Category" msgstr "Категория" -#: survey/models/question.py:79 +#: survey/models/question.py:78 msgid "Type" msgstr "Тип" -#: survey/models/question.py:80 +#: survey/models/question.py:79 msgid "Choices" msgstr "Варианты" -#: survey/models/question.py:83 +#: survey/models/question.py:82 msgid "question" msgstr "вопрос" -#: survey/models/question.py:84 +#: survey/models/question.py:83 msgid "questions" msgstr "вопросы" @@ -292,57 +292,57 @@ msgstr "Набор ответов на опросы" msgid "Sets of answers to surveys" msgstr "Наборы ответов на опросы" -#: survey/models/survey.py:21 +#: survey/models/survey.py:20 msgid "By question" msgstr "По вопросам" -#: survey/models/survey.py:22 +#: survey/models/survey.py:21 msgid "By category" msgstr "По категориям" -#: survey/models/survey.py:23 +#: survey/models/survey.py:22 msgid "All in one page" msgstr "Все в одной странице" -#: survey/models/survey.py:28 +#: survey/models/survey.py:27 msgid "Users can see it and answer it" msgstr "Пользователи могут увидеть его и ответить на него" -#: survey/models/survey.py:29 +#: survey/models/survey.py:28 msgid "Only authenticated users can see it and answer it" msgstr "Только прошедшие проверку пользователи могут видеть его и отвечать на него" -#: survey/models/survey.py:30 +#: survey/models/survey.py:29 msgid "Users can edit their answers afterwards" msgstr "Пользователи могут редактировать свои ответы впоследствии" -#: survey/models/survey.py:32 +#: survey/models/survey.py:31 #, fuzzy #| msgid "Display order" msgid "Display method" msgstr "Порядок отображения" -#: survey/models/survey.py:34 +#: survey/models/survey.py:33 msgid "Template" msgstr "Шаблон" -#: survey/models/survey.py:35 +#: survey/models/survey.py:34 msgid "Publication date" msgstr "Дата публикации" -#: survey/models/survey.py:36 +#: survey/models/survey.py:35 msgid "Expiration date" msgstr "дата удаления" -#: survey/models/survey.py:37 +#: survey/models/survey.py:36 msgid "Redirect URL" msgstr "URL перенаправления" -#: survey/models/survey.py:40 +#: survey/models/survey.py:39 msgid "survey" msgstr "опрос" -#: survey/models/survey.py:41 +#: survey/models/survey.py:40 msgid "surveys" msgstr "опросы" diff --git a/survey/locale/tr/LC_MESSAGES/django.po b/survey/locale/tr/LC_MESSAGES/django.po index 7cb68920..2d7f43e8 100644 --- a/survey/locale/tr/LC_MESSAGES/django.po +++ b/survey/locale/tr/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-02-01 12:17+0000\n" +"POT-Creation-Date: 2023-03-07 14:14+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -88,7 +88,7 @@ msgid "Left blank" msgstr "Boşluk bırak" #: survey/exporter/tex/question2tex_chart.py:111 -#: survey/exporter/tex/question2tex_sankey.py:55 +#: survey/exporter/tex/question2tex_sankey.py:56 msgid "for the question" msgstr "soru için" @@ -100,19 +100,19 @@ msgstr "Bu soru için hiç yanıt yok." msgid "Participant" msgstr "Katılımcı" -#: survey/exporter/tex/question2tex_sankey.py:27 +#: survey/exporter/tex/question2tex_sankey.py:28 msgid "Cannot generate PDF, we need 'pySankeyBeta' to be installed." msgstr "PDF oluşturulamıyor, 'pySankeyBeta'nın indilmesine ihtiyacımız var." -#: survey/exporter/tex/question2tex_sankey.py:55 +#: survey/exporter/tex/question2tex_sankey.py:56 msgid "left" msgstr "sol" -#: survey/exporter/tex/question2tex_sankey.py:57 +#: survey/exporter/tex/question2tex_sankey.py:58 msgid "in relation with the question" msgstr "soru ile ilgili olarak" -#: survey/exporter/tex/question2tex_sankey.py:59 +#: survey/exporter/tex/question2tex_sankey.py:60 msgid "right" msgstr "sağ" @@ -120,73 +120,73 @@ msgstr "sağ" msgid "Cannot generate PDF, we need 'xelatex' to be installed." msgstr "PDF oluşturulamıyor, 'xelatex'in indilmesine ihtiyacımız var." -#: survey/exporter/tex/survey2tex.py:80 +#: survey/exporter/tex/survey2tex.py:79 msgid "We could not render a chart because the type" msgstr "Tipi nedeniyle bir grafik oluşturamadık" -#: survey/exporter/tex/survey2tex.py:83 +#: survey/exporter/tex/survey2tex.py:82 msgid "is not a standard type nor the path to an importable valid Question2Tex child class. Choose between 'raw', 'sankey', 'pie', 'cloud', 'square', 'polar' or 'package.path.MyQuestion2TexCustomClass'" msgstr "standart bir tip veya içe aktarılabilir geçerli bir Question2Tex alt sınıfının yolu değil.'raw', 'sankey', 'pie', 'cloud', 'square', 'polar' veya 'package.path.MyQuestion2TexCustomClass'tan birini seç" -#: survey/exporter/tex/survey2tex.py:157 +#: survey/exporter/tex/survey2tex.py:156 msgid "No questions to display in this survey." msgstr "Bu ankette görüntülenecek bir soru yok." -#: survey/exporter/tex/survey2tex.py:187 +#: survey/exporter/tex/survey2tex.py:186 msgid "Cannot export multiple PDF, choose only one." msgstr "Birden fazla PDF dışa aktarılamıyor, yalnızca birini seçin." -#: survey/exporter/tex/survey2tex.py:196 +#: survey/exporter/tex/survey2tex.py:195 #, python-format msgid "Error during PDF generation: %s" msgstr "PDF oluşturma sırasında hata: %s" -#: survey/exporter/tex/survey2tex.py:203 +#: survey/exporter/tex/survey2tex.py:202 msgid "Export to PDF" msgstr "PDF'e aktar" -#: survey/models/answer.py:21 +#: survey/models/answer.py:20 msgid "Question" msgstr "Soru" -#: survey/models/answer.py:22 +#: survey/models/answer.py:21 msgid "Response" msgstr "Yanıt" -#: survey/models/answer.py:23 survey/models/response.py:25 +#: survey/models/answer.py:22 survey/models/response.py:25 msgid "Creation date" msgstr "Oluşturulma tarihi" -#: survey/models/answer.py:24 survey/models/response.py:26 +#: survey/models/answer.py:23 survey/models/response.py:26 msgid "Update date" msgstr "Güncelleme tarihi" -#: survey/models/answer.py:25 +#: survey/models/answer.py:24 msgid "Content" msgstr "İçerik" -#: survey/models/category.py:10 survey/models/survey.py:26 +#: survey/models/category.py:9 survey/models/survey.py:25 msgid "Name" msgstr "İsim" -#: survey/models/category.py:11 survey/models/question.py:78 +#: survey/models/category.py:10 survey/models/question.py:77 #: survey/models/response.py:27 msgid "Survey" msgstr "Anket" -#: survey/models/category.py:12 +#: survey/models/category.py:11 msgid "Display order" msgstr "Görüntüleme sırası" -#: survey/models/category.py:13 survey/models/survey.py:27 +#: survey/models/category.py:12 survey/models/survey.py:26 msgid "Description" msgstr "Açıklama" -#: survey/models/category.py:17 +#: survey/models/category.py:16 msgid "category" msgstr "kategori" -#: survey/models/category.py:18 +#: survey/models/category.py:17 msgid "categories" msgstr "kategoriler" @@ -202,71 +202,71 @@ msgstr "" "soru için virgülle ayrılmış bir seçenekler listesi\n" "giriniz." -#: survey/models/question.py:61 +#: survey/models/question.py:60 msgid "text (multiple line)" msgstr "metin (çoklu satır)" -#: survey/models/question.py:62 +#: survey/models/question.py:61 msgid "short text (one line)" msgstr "kısa metin (tek satır)" -#: survey/models/question.py:63 +#: survey/models/question.py:62 msgid "radio" msgstr "radio" -#: survey/models/question.py:64 +#: survey/models/question.py:63 msgid "select" msgstr "select" -#: survey/models/question.py:65 +#: survey/models/question.py:64 msgid "Select Multiple" msgstr "Çoklu Seç" -#: survey/models/question.py:66 +#: survey/models/question.py:65 msgid "Select Image" msgstr "Görsel Seç" -#: survey/models/question.py:67 +#: survey/models/question.py:66 msgid "integer" msgstr "integer" -#: survey/models/question.py:68 +#: survey/models/question.py:67 msgid "float" msgstr "float" -#: survey/models/question.py:69 +#: survey/models/question.py:68 msgid "date" msgstr "tarih" -#: survey/models/question.py:72 +#: survey/models/question.py:71 msgid "Text" msgstr "Metin" -#: survey/models/question.py:73 +#: survey/models/question.py:72 msgid "Order" msgstr "Sıralama" -#: survey/models/question.py:74 +#: survey/models/question.py:73 msgid "Required" msgstr "Zorunlu" -#: survey/models/question.py:76 +#: survey/models/question.py:75 msgid "Category" msgstr "Kategori" -#: survey/models/question.py:79 +#: survey/models/question.py:78 msgid "Type" msgstr "Tip" -#: survey/models/question.py:80 +#: survey/models/question.py:79 msgid "Choices" msgstr "Seçenekler" -#: survey/models/question.py:83 +#: survey/models/question.py:82 msgid "question" msgstr "soru" -#: survey/models/question.py:84 +#: survey/models/question.py:83 msgid "questions" msgstr "sorular" @@ -286,55 +286,55 @@ msgstr "Anketlere verilen yanıt seti" msgid "Sets of answers to surveys" msgstr "Anketlere verilen yanıt setleri" -#: survey/models/survey.py:21 +#: survey/models/survey.py:20 msgid "By question" msgstr "Soru ile" -#: survey/models/survey.py:22 +#: survey/models/survey.py:21 msgid "By category" msgstr "Kategori ile" -#: survey/models/survey.py:23 +#: survey/models/survey.py:22 msgid "All in one page" msgstr "Hepsi tek sayfada" -#: survey/models/survey.py:28 +#: survey/models/survey.py:27 msgid "Users can see it and answer it" msgstr "Kullanıcılar görebilir ve yanıtlayabilir" -#: survey/models/survey.py:29 +#: survey/models/survey.py:28 msgid "Only authenticated users can see it and answer it" msgstr "Yalnızca kimliği doğrulanmış kullanıcılar görebilir ve yanıtlayabilir" -#: survey/models/survey.py:30 +#: survey/models/survey.py:29 msgid "Users can edit their answers afterwards" msgstr "Kullanıcılar daha sonra yanıtlarını düzenleyebilir" -#: survey/models/survey.py:32 +#: survey/models/survey.py:31 msgid "Display method" msgstr "Görüntüleme yöntemi" -#: survey/models/survey.py:34 +#: survey/models/survey.py:33 msgid "Template" msgstr "Şablon" -#: survey/models/survey.py:35 +#: survey/models/survey.py:34 msgid "Publication date" msgstr "Yayın tarihi" -#: survey/models/survey.py:36 +#: survey/models/survey.py:35 msgid "Expiration date" msgstr "Bitiş tarihi" -#: survey/models/survey.py:37 +#: survey/models/survey.py:36 msgid "Redirect URL" msgstr "Yönlendirilecek URL" -#: survey/models/survey.py:40 +#: survey/models/survey.py:39 msgid "survey" msgstr "anket" -#: survey/models/survey.py:41 +#: survey/models/survey.py:40 msgid "surveys" msgstr "anketler" diff --git a/survey/locale/zh/LC_MESSAGES/django.po b/survey/locale/zh/LC_MESSAGES/django.po index c14ff5a2..837b56df 100644 --- a/survey/locale/zh/LC_MESSAGES/django.po +++ b/survey/locale/zh/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-02-01 12:17+0000\n" +"POT-Creation-Date: 2023-03-07 14:14+0000\n" "PO-Revision-Date: 2018-04-09 00:52+0000\n" "Last-Translator: Zhu Sheng Li \n" "Language-Team: LANGUAGE \n" @@ -89,7 +89,7 @@ msgid "Left blank" msgstr "留空" #: survey/exporter/tex/question2tex_chart.py:111 -#: survey/exporter/tex/question2tex_sankey.py:55 +#: survey/exporter/tex/question2tex_sankey.py:56 msgid "for the question" msgstr "为此问题" @@ -101,21 +101,21 @@ msgstr "该问题尚无回答" msgid "Participant" msgstr "参与者" -#: survey/exporter/tex/question2tex_sankey.py:27 +#: survey/exporter/tex/question2tex_sankey.py:28 #, fuzzy #| msgid "Cannot generate PDF, we need 'xelatex' to be installed." msgid "Cannot generate PDF, we need 'pySankeyBeta' to be installed." msgstr "无法生成PDF,我们需要安装“ xelatex”。" -#: survey/exporter/tex/question2tex_sankey.py:55 +#: survey/exporter/tex/question2tex_sankey.py:56 msgid "left" msgstr "左" -#: survey/exporter/tex/question2tex_sankey.py:57 +#: survey/exporter/tex/question2tex_sankey.py:58 msgid "in relation with the question" msgstr "和此问题相关" -#: survey/exporter/tex/question2tex_sankey.py:59 +#: survey/exporter/tex/question2tex_sankey.py:60 msgid "right" msgstr "右" @@ -123,73 +123,73 @@ msgstr "右" msgid "Cannot generate PDF, we need 'xelatex' to be installed." msgstr "无法生成PDF,我们需要安装“ xelatex”。" -#: survey/exporter/tex/survey2tex.py:80 +#: survey/exporter/tex/survey2tex.py:79 msgid "We could not render a chart because the type" msgstr "我们无法生成图表,因为类型" -#: survey/exporter/tex/survey2tex.py:83 +#: survey/exporter/tex/survey2tex.py:82 msgid "is not a standard type nor the path to an importable valid Question2Tex child class. Choose between 'raw', 'sankey', 'pie', 'cloud', 'square', 'polar' or 'package.path.MyQuestion2TexCustomClass'" msgstr "既不是标准类型,也不是可导入的有效 Question2Tex 子类的路径。请在'raw', 'sankey', 'pie', 'cloud', 'square', 'polar' 或 'package.path.MyQuestion2TexCustomClass' 中选择。" -#: survey/exporter/tex/survey2tex.py:157 +#: survey/exporter/tex/survey2tex.py:156 msgid "No questions to display in this survey." msgstr "" -#: survey/exporter/tex/survey2tex.py:187 +#: survey/exporter/tex/survey2tex.py:186 msgid "Cannot export multiple PDF, choose only one." msgstr "无法导出多个PDF,只能选择一个。" -#: survey/exporter/tex/survey2tex.py:196 +#: survey/exporter/tex/survey2tex.py:195 #, python-format msgid "Error during PDF generation: %s" msgstr "PDF生成期间发生错误:%s" -#: survey/exporter/tex/survey2tex.py:203 +#: survey/exporter/tex/survey2tex.py:202 msgid "Export to PDF" msgstr "导出为PDF" -#: survey/models/answer.py:21 +#: survey/models/answer.py:20 msgid "Question" msgstr "问题" -#: survey/models/answer.py:22 +#: survey/models/answer.py:21 msgid "Response" msgstr "回答" -#: survey/models/answer.py:23 survey/models/response.py:25 +#: survey/models/answer.py:22 survey/models/response.py:25 msgid "Creation date" msgstr "创建日期" -#: survey/models/answer.py:24 survey/models/response.py:26 +#: survey/models/answer.py:23 survey/models/response.py:26 msgid "Update date" msgstr "更新日期" -#: survey/models/answer.py:25 +#: survey/models/answer.py:24 msgid "Content" msgstr "内容" -#: survey/models/category.py:10 survey/models/survey.py:26 +#: survey/models/category.py:9 survey/models/survey.py:25 msgid "Name" msgstr "名字" -#: survey/models/category.py:11 survey/models/question.py:78 +#: survey/models/category.py:10 survey/models/question.py:77 #: survey/models/response.py:27 msgid "Survey" msgstr "问卷" -#: survey/models/category.py:12 +#: survey/models/category.py:11 msgid "Display order" msgstr "显示顺序" -#: survey/models/category.py:13 survey/models/survey.py:27 +#: survey/models/category.py:12 survey/models/survey.py:26 msgid "Description" msgstr "描述" -#: survey/models/category.py:17 +#: survey/models/category.py:16 msgid "category" msgstr "分类" -#: survey/models/category.py:18 +#: survey/models/category.py:17 msgid "categories" msgstr "分类" @@ -201,71 +201,71 @@ msgid "" "options for this question ." msgstr "选项栏仅在问题类型为「单选按钮」、「单项选择」和「多项选择」时有效。选项请用逗号隔开。" -#: survey/models/question.py:61 +#: survey/models/question.py:60 msgid "text (multiple line)" msgstr "文本(多行)" -#: survey/models/question.py:62 +#: survey/models/question.py:61 msgid "short text (one line)" msgstr "短文本(单行)" -#: survey/models/question.py:63 +#: survey/models/question.py:62 msgid "radio" msgstr "单选按钮" -#: survey/models/question.py:64 +#: survey/models/question.py:63 msgid "select" msgstr "单选框" -#: survey/models/question.py:65 +#: survey/models/question.py:64 msgid "Select Multiple" msgstr "复选框" -#: survey/models/question.py:66 +#: survey/models/question.py:65 msgid "Select Image" msgstr "选择图片" -#: survey/models/question.py:67 +#: survey/models/question.py:66 msgid "integer" msgstr "整数" -#: survey/models/question.py:68 +#: survey/models/question.py:67 msgid "float" msgstr "" -#: survey/models/question.py:69 +#: survey/models/question.py:68 msgid "date" msgstr "日期" -#: survey/models/question.py:72 +#: survey/models/question.py:71 msgid "Text" msgstr "文本" -#: survey/models/question.py:73 +#: survey/models/question.py:72 msgid "Order" msgstr "顺序" -#: survey/models/question.py:74 +#: survey/models/question.py:73 msgid "Required" msgstr "必填" -#: survey/models/question.py:76 +#: survey/models/question.py:75 msgid "Category" msgstr "分类" -#: survey/models/question.py:79 +#: survey/models/question.py:78 msgid "Type" msgstr "类型" -#: survey/models/question.py:80 +#: survey/models/question.py:79 msgid "Choices" msgstr "选择" -#: survey/models/question.py:83 +#: survey/models/question.py:82 msgid "question" msgstr "问题" -#: survey/models/question.py:84 +#: survey/models/question.py:83 msgid "questions" msgstr "问题" @@ -285,55 +285,55 @@ msgstr "问卷的几组回答" msgid "Sets of answers to surveys" msgstr "问卷的几组回答" -#: survey/models/survey.py:21 +#: survey/models/survey.py:20 msgid "By question" msgstr "按问题显示" -#: survey/models/survey.py:22 +#: survey/models/survey.py:21 msgid "By category" msgstr "按类别显示" -#: survey/models/survey.py:23 +#: survey/models/survey.py:22 msgid "All in one page" msgstr "综合显示" -#: survey/models/survey.py:28 +#: survey/models/survey.py:27 msgid "Users can see it and answer it" msgstr "用户可以浏览和回答" -#: survey/models/survey.py:29 +#: survey/models/survey.py:28 msgid "Only authenticated users can see it and answer it" msgstr "只有认证用户可以浏览和回答" -#: survey/models/survey.py:30 +#: survey/models/survey.py:29 msgid "Users can edit their answers afterwards" msgstr "用户可以随后编辑他们的答案" -#: survey/models/survey.py:32 +#: survey/models/survey.py:31 msgid "Display method" msgstr "显示方式" -#: survey/models/survey.py:34 +#: survey/models/survey.py:33 msgid "Template" msgstr "模板" -#: survey/models/survey.py:35 +#: survey/models/survey.py:34 msgid "Publication date" msgstr "发布日期" -#: survey/models/survey.py:36 +#: survey/models/survey.py:35 msgid "Expiration date" msgstr "截止日期" -#: survey/models/survey.py:37 +#: survey/models/survey.py:36 msgid "Redirect URL" msgstr "" -#: survey/models/survey.py:40 +#: survey/models/survey.py:39 msgid "survey" msgstr "问卷" -#: survey/models/survey.py:41 +#: survey/models/survey.py:40 msgid "surveys" msgstr "问卷" diff --git a/survey/management/survey_command.py b/survey/management/survey_command.py index e13df813..b681e9cf 100755 --- a/survey/management/survey_command.py +++ b/survey/management/survey_command.py @@ -8,7 +8,6 @@ class SurveyCommand(BaseCommand): - requires_system_checks = [] def add_arguments(self, parser): diff --git a/survey/migrations/0001_initial.py b/survey/migrations/0001_initial.py index fb4fc756..0254731d 100644 --- a/survey/migrations/0001_initial.py +++ b/survey/migrations/0001_initial.py @@ -3,7 +3,6 @@ class Migration(migrations.Migration): - dependencies = [migrations.swappable_dependency(settings.AUTH_USER_MODEL)] operations = [ diff --git a/survey/migrations/0002_survey_template.py b/survey/migrations/0002_survey_template.py index 4aa18689..3b78b7b8 100644 --- a/survey/migrations/0002_survey_template.py +++ b/survey/migrations/0002_survey_template.py @@ -2,7 +2,6 @@ class Migration(migrations.Migration): - dependencies = [("survey", "0001_initial")] operations = [ diff --git a/survey/migrations/0003_auto_20170320_0337.py b/survey/migrations/0003_auto_20170320_0337.py index c7b15fa2..75d21dca 100644 --- a/survey/migrations/0003_auto_20170320_0337.py +++ b/survey/migrations/0003_auto_20170320_0337.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [("survey", "0002_survey_template")] operations = [ diff --git a/survey/migrations/0004_polymorphic_answers_to_kiss.py b/survey/migrations/0004_polymorphic_answers_to_kiss.py index ccba29d3..2e3674f4 100644 --- a/survey/migrations/0004_polymorphic_answers_to_kiss.py +++ b/survey/migrations/0004_polymorphic_answers_to_kiss.py @@ -16,7 +16,6 @@ def migrate_answers(apps, schema_editor): class Migration(migrations.Migration): - dependencies = [("survey", "0003_auto_20170320_0337")] operations = [ diff --git a/survey/migrations/0005_rename_question_related_name.py b/survey/migrations/0005_rename_question_related_name.py index ff078473..0b560459 100644 --- a/survey/migrations/0005_rename_question_related_name.py +++ b/survey/migrations/0005_rename_question_related_name.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [("survey", "0004_polymorphic_answers_to_kiss")] operations = [ diff --git a/survey/migrations/0006_add_related_name_for_categories.py b/survey/migrations/0006_add_related_name_for_categories.py index 62a272b3..d0d0b1e8 100644 --- a/survey/migrations/0006_add_related_name_for_categories.py +++ b/survey/migrations/0006_add_related_name_for_categories.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [("survey", "0005_rename_question_related_name")] operations = [ diff --git a/survey/migrations/0007_auto_20180217_1515.py b/survey/migrations/0007_auto_20180217_1515.py index f81e1467..5e97892c 100644 --- a/survey/migrations/0007_auto_20180217_1515.py +++ b/survey/migrations/0007_auto_20180217_1515.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [("survey", "0006_add_related_name_for_categories")] operations = [ diff --git a/survey/migrations/0008_translated_name_for_models.py b/survey/migrations/0008_translated_name_for_models.py index 76449020..e6293530 100644 --- a/survey/migrations/0008_translated_name_for_models.py +++ b/survey/migrations/0008_translated_name_for_models.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - dependencies = [("survey", "0007_auto_20180217_1515")] operations = [ diff --git a/survey/migrations/0009_auto_20181211_1908.py b/survey/migrations/0009_auto_20181211_1908.py index 0f83a8cb..d01423c5 100644 --- a/survey/migrations/0009_auto_20181211_1908.py +++ b/survey/migrations/0009_auto_20181211_1908.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [("survey", "0008_translated_name_for_models")] operations = [ diff --git a/survey/migrations/0010_survey_editable_answers.py b/survey/migrations/0010_survey_editable_answers.py index be5e75e5..038a0973 100644 --- a/survey/migrations/0010_survey_editable_answers.py +++ b/survey/migrations/0010_survey_editable_answers.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [("survey", "0009_auto_20181211_1908")] operations = [ diff --git a/survey/migrations/0011_survey_publish_duration.py b/survey/migrations/0011_survey_publish_duration.py index 8ca3d3b6..78f75128 100644 --- a/survey/migrations/0011_survey_publish_duration.py +++ b/survey/migrations/0011_survey_publish_duration.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - dependencies = [("survey", "0010_survey_editable_answers")] operations = [ diff --git a/survey/migrations/0012_add_display_by_category.py b/survey/migrations/0012_add_display_by_category.py index fb351d6e..b7847b15 100644 --- a/survey/migrations/0012_add_display_by_category.py +++ b/survey/migrations/0012_add_display_by_category.py @@ -11,7 +11,6 @@ def convert_bool_to_small_int(apps, _schema_editor): class Migration(migrations.Migration): - dependencies = [("survey", "0011_survey_publish_duration")] operations = [ diff --git a/survey/migrations/0013_auto_20200609_0748.py b/survey/migrations/0013_auto_20200609_0748.py index cf3e5340..c1e43c64 100644 --- a/survey/migrations/0013_auto_20200609_0748.py +++ b/survey/migrations/0013_auto_20200609_0748.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [("survey", "0012_add_display_by_category")] operations = [ diff --git a/survey/migrations/0014_survey_redirect_url.py b/survey/migrations/0014_survey_redirect_url.py index e1ac20e4..cf6b9a71 100644 --- a/survey/migrations/0014_survey_redirect_url.py +++ b/survey/migrations/0014_survey_redirect_url.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("survey", "0013_auto_20200609_0748"), ] diff --git a/survey/models/answer.py b/survey/models/answer.py index 74d435fc..63f6a49e 100644 --- a/survey/models/answer.py +++ b/survey/models/answer.py @@ -17,7 +17,6 @@ class Answer(models.Model): - question = models.ForeignKey(Question, on_delete=models.CASCADE, verbose_name=_("Question"), related_name="answers") response = models.ForeignKey(Response, on_delete=models.CASCADE, verbose_name=_("Response"), related_name="answers") created = models.DateTimeField(_("Creation date"), auto_now_add=True) diff --git a/survey/models/category.py b/survey/models/category.py index 6cf6c5c8..0614901f 100644 --- a/survey/models/category.py +++ b/survey/models/category.py @@ -6,7 +6,6 @@ class Category(models.Model): - name = models.CharField(_("Name"), max_length=400) survey = models.ForeignKey(Survey, on_delete=models.CASCADE, verbose_name=_("Survey"), related_name="categories") order = models.IntegerField(_("Display order"), blank=True, null=True) diff --git a/survey/models/question.py b/survey/models/question.py index db38e424..7b08720b 100644 --- a/survey/models/question.py +++ b/survey/models/question.py @@ -46,7 +46,6 @@ class SortAnswer: class Question(models.Model): - TEXT = "text" SHORT_TEXT = "short-text" RADIO = "radio" diff --git a/survey/models/survey.py b/survey/models/survey.py index c95b3386..94981b93 100644 --- a/survey/models/survey.py +++ b/survey/models/survey.py @@ -12,7 +12,6 @@ def in_duration_day(): class Survey(models.Model): - ALL_IN_ONE_PAGE = 0 BY_QUESTION = 1 BY_CATEGORY = 2 diff --git a/survey/tests/base_test.py b/survey/tests/base_test.py index 286814fe..74e6ff09 100755 --- a/survey/tests/base_test.py +++ b/survey/tests/base_test.py @@ -9,7 +9,6 @@ class BaseTest(TestCase): - fixtures = [Path(HERE, "testdump.json")] def setUp(self): diff --git a/survey/tests/locale/test_locale_normalization.py b/survey/tests/locale/test_locale_normalization.py index 8db3ab64..d72d6105 100644 --- a/survey/tests/locale/test_locale_normalization.py +++ b/survey/tests/locale/test_locale_normalization.py @@ -10,7 +10,6 @@ class TestLocaleNormalization(unittest.TestCase): - LOCALE_PATH = Path("survey", "locale").absolute() def test_normalization(self): diff --git a/survey/views/confirm_view.py b/survey/views/confirm_view.py index 3e748e60..e45ac1f8 100644 --- a/survey/views/confirm_view.py +++ b/survey/views/confirm_view.py @@ -4,7 +4,6 @@ class ConfirmView(TemplateView): - template_name = "survey/confirm.html" def get_context_data(self, **kwargs): diff --git a/survey/views/survey_completed.py b/survey/views/survey_completed.py index 58ad522f..5b229f08 100644 --- a/survey/views/survey_completed.py +++ b/survey/views/survey_completed.py @@ -5,7 +5,6 @@ class SurveyCompleted(TemplateView): - template_name = "survey/completed.html" def get_context_data(self, **kwargs): diff --git a/tox.ini b/tox.ini index 1cd4d4dc..0ca7a32f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,26 +1,28 @@ [tox] envlist = - py36-django{22,30}, - py37-django{22,30}, - py38-django{22,30}, + py38-django{32,40,41}, + py39-django{32,40,41}, + py310-django{32,40,41}, + py311-django{32,40,41}, [testenv] commands = python -Wd manage.py test deps = - django22: Django>=2.2a1,<=2.2.99 - django30: Django>=3.0a1,<=3.0.99 + django32: Django>=3.2.0,<3.3.0 + django40: Django>=4.0.0,<4.1.0 + django41: Django>=4.1.0,<4.2.0 django-bootstrap-form>=3.4 django-tastypie>=0.14.2 django-registration>=3. pytz>=2018.9 ordereddict>=1.1 pyyaml>=4.2b1 - pySankeyBeta~=1.2.2 + pySankeyBeta~=1.3.0 django-rosetta [testenv:flake8] basepython = python3 -deps = flake8==2.4.1 +deps = flake8==6.0.0 commands= flake8 {toxinidir}/survey