From 5d3d2a0d470072b09b437f98362ed16e567c157f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Wed, 12 Jan 2022 13:52:53 +0100 Subject: [PATCH 01/55] chore(i18n): fix messages scripts --- .github/workflows/i18n.yml | 10 ++++++---- .github/workflows/release.yml | 11 +++++------ Makefile | 4 ++-- _kosmorro/locales/messages.pot | 8 ++++---- 4 files changed, 17 insertions(+), 16 deletions(-) diff --git a/.github/workflows/i18n.yml b/.github/workflows/i18n.yml index 95d77e9..76d042e 100644 --- a/.github/workflows/i18n.yml +++ b/.github/workflows/i18n.yml @@ -11,18 +11,20 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: Set up Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: '3.x' - name: Install dependencies run: | pip install --upgrade pip pipenv pipenv sync -d - name: Check i18n run: | - pipenv run python setup.py extract_messages --output-file=/tmp/kosmorro-messages.pot > /dev/null + pipenv run pybabel extract --output=/tmp/kosmorro-messages.pot _kosmorro + echo + diff=$(diff _kosmorro/locales/messages.pot /tmp/kosmorro-messages.pot | grep '^>') n=$(echo "$diff" | grep -v '> "POT-Creation-Date: ' | wc -l) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 91b0459..595936d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,11 +8,11 @@ jobs: name: Build and Release to PyPI runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: Set up Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 with: - python-version: '3.7' + python-version: '3.x' - name: Setup environment run: | sudo apt update @@ -20,8 +20,8 @@ jobs: sudo gem install ronn - name: Install dependencies run: | - python -m pip install --upgrade pip - pip install pipenv setuptools wheel twine skyfield numpy tabulate Babel requests + python -m pip install --upgrade pip pipenv setuptools wheel twine + pipenv install - name: Build package run: | make i18n build @@ -31,4 +31,3 @@ jobs: TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | twine upload dist/* - diff --git a/Makefile b/Makefile index c64a83e..45dce8e 100644 --- a/Makefile +++ b/Makefile @@ -11,10 +11,10 @@ manpage: ronn --roff manpage/kosmorro.7.md messages: - pipenv run python setup.py extract_messages --output-file=_kosmorro/locales/messages.pot + pipenv run pybabel extract --output=_kosmorro/locales/messages.pot _kosmorro i18n: - pipenv run python setup.py compile_catalog + pipenv run pybabel compile --directory=_kosmorro/locales changelog: conventional-changelog -p angular -i CHANGELOG.md -s diff --git a/_kosmorro/locales/messages.pot b/_kosmorro/locales/messages.pot index db42da8..3922fe5 100644 --- a/_kosmorro/locales/messages.pot +++ b/_kosmorro/locales/messages.pot @@ -1,14 +1,14 @@ -# Translations template for kosmorro. +# Translations template for PROJECT. # Copyright (C) 2022 ORGANIZATION -# This file is distributed under the same license as the kosmorro project. +# This file is distributed under the same license as the PROJECT project. # FIRST AUTHOR , 2022. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: kosmorro 0.10.9\n" +"Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-01-12 08:53+0100\n" +"POT-Creation-Date: 2022-01-12 13:59+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" From 462bb8570460deea7dd31a8afc0ac082ca839ff4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Wed, 12 Jan 2022 17:54:14 +0100 Subject: [PATCH 02/55] build: fix release type --- .github/workflows/appimage.yml | 1 + .github/workflows/release.yml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/appimage.yml b/.github/workflows/appimage.yml index afcbb8b..58cb624 100644 --- a/.github/workflows/appimage.yml +++ b/.github/workflows/appimage.yml @@ -4,6 +4,7 @@ on: pull_request: branches: [master, features] release: + types: [published] jobs: build-appimage: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 595936d..c4eb355 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,8 @@ name: Release Application on: - - release + release: + types: [published] jobs: pipy: From 2fd0d57dd5f599c73105323443396c2f0ab6869c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 31 Jan 2022 04:06:59 +0000 Subject: [PATCH 03/55] chore(deps-dev): bump black from 21.12b0 to 22.1.0 Bumps [black](https://github.com/psf/black) from 21.12b0 to 22.1.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/commits/22.1.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- Pipfile.lock | 89 ++++++++++++++++++++++++++++++---------------------- 1 file changed, 51 insertions(+), 38 deletions(-) diff --git a/Pipfile.lock b/Pipfile.lock index e81a19b..fa3efdc 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -39,31 +39,31 @@ }, "numpy": { "hashes": [ - "sha256:0cfe07133fd00b27edee5e6385e333e9eeb010607e8a46e1cd673f05f8596595", - "sha256:11a1f3816ea82eed4178102c56281782690ab5993251fdfd75039aad4d20385f", - "sha256:2762331de395739c91f1abb88041f94a080cb1143aeec791b3b223976228af3f", - "sha256:283d9de87c0133ef98f93dfc09fad3fb382f2a15580de75c02b5bb36a5a159a5", - "sha256:3d22662b4b10112c545c91a0741f2436f8ca979ab3d69d03d19322aa970f9695", - "sha256:41388e32e40b41dd56eb37fcaa7488b2b47b0adf77c66154d6b89622c110dfe9", - "sha256:42c16cec1c8cf2728f1d539bd55aaa9d6bb48a7de2f41eb944697293ef65a559", - "sha256:47ee7a839f5885bc0c63a74aabb91f6f40d7d7b639253768c4199b37aede7982", - "sha256:5a311ee4d983c487a0ab546708edbdd759393a3dc9cd30305170149fedd23c88", - "sha256:5dc65644f75a4c2970f21394ad8bea1a844104f0fe01f278631be1c7eae27226", - "sha256:6ed0d073a9c54ac40c41a9c2d53fcc3d4d4ed607670b9e7b0de1ba13b4cbfe6f", - "sha256:76ba7c40e80f9dc815c5e896330700fd6e20814e69da9c1267d65a4d051080f1", - "sha256:818b9be7900e8dc23e013a92779135623476f44a0de58b40c32a15368c01d471", - "sha256:a024181d7aef0004d76fb3bce2a4c9f2e67a609a9e2a6ff2571d30e9976aa383", - "sha256:a955e4128ac36797aaffd49ab44ec74a71c11d6938df83b1285492d277db5397", - "sha256:a97a954a8c2f046d3817c2bce16e3c7e9a9c2afffaf0400f5c16df5172a67c9c", - "sha256:a97e82c39d9856fe7d4f9b86d8a1e66eff99cf3a8b7ba48202f659703d27c46f", - "sha256:b55b953a1bdb465f4dc181758570d321db4ac23005f90ffd2b434cc6609a63dd", - "sha256:bb02929b0d6bfab4c48a79bd805bd7419114606947ec8284476167415171f55b", - "sha256:bece0a4a49e60e472a6d1f70ac6cdea00f9ab80ff01132f96bd970cdd8a9e5a9", - "sha256:e41e8951749c4b5c9a2dc5fdbc1a4eec6ab2a140fdae9b460b0f557eed870f4d", - "sha256:f71d57cc8645f14816ae249407d309be250ad8de93ef61d9709b45a0ddf4050c" + "sha256:0d245a2bf79188d3f361137608c3cd12ed79076badd743dc660750a9f3074f7c", + "sha256:26b4018a19d2ad9606ce9089f3d52206a41b23de5dfe8dc947d2ec49ce45d015", + "sha256:2db01d9838a497ba2aa9a87515aeaf458f42351d72d4e7f3b8ddbd1eba9479f2", + "sha256:3d62d6b0870b53799204515145935608cdeb4cebb95a26800b6750e48884cc5b", + "sha256:45a7dfbf9ed8d68fd39763940591db7637cf8817c5bce1a44f7b56c97cbe211e", + "sha256:4ac4d7c9f8ea2a79d721ebfcce81705fc3cd61a10b731354f1049eb8c99521e8", + "sha256:60f19c61b589d44fbbab8ff126640ae712e163299c2dd422bfe4edc7ec51aa9b", + "sha256:632e062569b0fe05654b15ef0e91a53c0a95d08ffe698b66f6ba0f927ad267c2", + "sha256:65f5e257987601fdfc63f1d02fca4d1c44a2b85b802f03bd6abc2b0b14648dd2", + "sha256:69958735d5e01f7b38226a6c6e7187d72b7e4d42b6b496aca5860b611ca0c193", + "sha256:78bfbdf809fc236490e7e65715bbd98377b122f329457fffde206299e163e7f3", + "sha256:7e957ca8112c689b728037cea9c9567c27cf912741fabda9efc2c7d33d29dfa1", + "sha256:800dfeaffb2219d49377da1371d710d7952c9533b57f3d51b15e61c4269a1b5b", + "sha256:831f2df87bd3afdfc77829bc94bd997a7c212663889d56518359c827d7113b1f", + "sha256:88d54b7b516f0ca38a69590557814de2dd638d7d4ed04864826acaac5ebb8f01", + "sha256:8d1563060e77096367952fb44fca595f2b2f477156de389ce7c0ade3aef29e21", + "sha256:b5ec9a5eaf391761c61fd873363ef3560a3614e9b4ead17347e4deda4358bca4", + "sha256:bcd19dab43b852b03868796f533b5f5561e6c0e3048415e675bec8d2e9d286c1", + "sha256:c51124df17f012c3b757380782ae46eee85213a3215e51477e559739f57d9bf6", + "sha256:e348ccf5bc5235fc405ab19d53bec215bb373300e5523c7b476cc0da8a5e9973", + "sha256:e60ef82c358ded965fdd3132b5738eade055f48067ac8a5a8ac75acc00cad31f", + "sha256:f8ad59e6e341f38266f1549c7c2ec70ea0e3d1effb62a44e5c3dba41c55f0187" ], "markers": "python_version >= '3.8'", - "version": "==1.22.0" + "version": "==1.22.1" }, "python-dateutil": { "hashes": [ @@ -156,11 +156,32 @@ }, "black": { "hashes": [ - "sha256:77b80f693a569e2e527958459634f18df9b0ba2625ba4e0c2d5da5be42e6f2b3", - "sha256:a615e69ae185e08fdd73e4715e260e2479c861b5740057fde6e8b4e3b7dd589f" + "sha256:07e5c049442d7ca1a2fc273c79d1aecbbf1bc858f62e8184abe1ad175c4f7cc2", + "sha256:0e21e1f1efa65a50e3960edd068b6ae6d64ad6235bd8bfea116a03b21836af71", + "sha256:1297c63b9e1b96a3d0da2d85d11cd9bf8664251fd69ddac068b98dc4f34f73b6", + "sha256:228b5ae2c8e3d6227e4bde5920d2fc66cc3400fde7bcc74f480cb07ef0b570d5", + "sha256:2d6f331c02f0f40aa51a22e479c8209d37fcd520c77721c034517d44eecf5912", + "sha256:2ff96450d3ad9ea499fc4c60e425a1439c2120cbbc1ab959ff20f7c76ec7e866", + "sha256:3524739d76b6b3ed1132422bf9d82123cd1705086723bc3e235ca39fd21c667d", + "sha256:35944b7100af4a985abfcaa860b06af15590deb1f392f06c8683b4381e8eeaf0", + "sha256:373922fc66676133ddc3e754e4509196a8c392fec3f5ca4486673e685a421321", + "sha256:5fa1db02410b1924b6749c245ab38d30621564e658297484952f3d8a39fce7e8", + "sha256:6f2f01381f91c1efb1451998bd65a129b3ed6f64f79663a55fe0e9b74a5f81fd", + "sha256:742ce9af3086e5bd07e58c8feb09dbb2b047b7f566eb5f5bc63fd455814979f3", + "sha256:7835fee5238fc0a0baf6c9268fb816b5f5cd9b8793423a75e8cd663c48d073ba", + "sha256:8871fcb4b447206904932b54b567923e5be802b9b19b744fdff092bd2f3118d0", + "sha256:a7c0192d35635f6fc1174be575cb7915e92e5dd629ee79fdaf0dcfa41a80afb5", + "sha256:b1a5ed73ab4c482208d20434f700d514f66ffe2840f63a6252ecc43a9bc77e8a", + "sha256:c8226f50b8c34a14608b848dc23a46e5d08397d009446353dad45e04af0c8e28", + "sha256:ccad888050f5393f0d6029deea2a33e5ae371fd182a697313bdbd835d3edaf9c", + "sha256:dae63f2dbf82882fa3b2a3c49c32bffe144970a573cd68d247af6560fc493ae1", + "sha256:e2f69158a7d120fd641d1fa9a921d898e20d52e44a74a6fbbcc570a62a6bc8ab", + "sha256:efbadd9b52c060a8fc3b9658744091cb33c31f830b3f074422ed27bad2b18e8f", + "sha256:f5660feab44c2e3cb24b2419b998846cbb01c23c7fe645fee45087efa3da2d61", + "sha256:fdb8754b453fb15fad3f72cd9cad3e16776f0964d67cf30ebcbf10327a3777a3" ], "index": "pypi", - "version": "==21.12b0" + "version": "==22.1.0" }, "click": { "hashes": [ @@ -201,19 +222,11 @@ }, "tomli": { "hashes": [ - "sha256:05b6166bff487dc068d322585c7ea4ef78deed501cc124060e0f238e89a9231f", - "sha256:e3069e4be3ead9668e21cb9b074cd948f7b3113fd9c8bba083f48247aab8b11c" + "sha256:b5bde28da1fed24b9bd1d4d2b8cba62300bfb4ec9a6187a957e8ddb9434c5224", + "sha256:c292c34f58502a1eb2bbb9f5bbc9a5ebc37bee10ffb8c2d6bbdfa8eb13cc14e1" ], - "markers": "python_version >= '3.6'", - "version": "==1.2.3" - }, - "typing-extensions": { - "hashes": [ - "sha256:4ca091dea149f945ec56afb48dae714f21e8692ef22a395223bcd328961b6a0e", - "sha256:7f001e5ac290a0c0401508864c7ec868be4e701886d5b573a9528ed3973d9d3b" - ], - "markers": "python_version >= '3.10'", - "version": "==4.0.1" + "markers": "python_version >= '3.7'", + "version": "==2.0.0" } } } From 9bfa8f503d4b46f91777d0b99fbc84f2a116a340 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Fri, 4 Feb 2022 13:16:50 +0100 Subject: [PATCH 04/55] fix(events): ignore unsupported event types --- _kosmorro/dumper.py | 21 +++++++++++++++++-- _kosmorro/locales/messages.pot | 38 +++++++++++++++++----------------- 2 files changed, 38 insertions(+), 21 deletions(-) diff --git a/_kosmorro/dumper.py b/_kosmorro/dumper.py index a253e45..5838241 100644 --- a/_kosmorro/dumper.py +++ b/_kosmorro/dumper.py @@ -25,10 +25,11 @@ import subprocess import shutil from pathlib import Path +import kosmorrolib from tabulate import tabulate from termcolor import colored -from kosmorrolib import AsterEphemerides, Event +from kosmorrolib import AsterEphemerides, Event, EventType from kosmorrolib.model import ASTERS, MoonPhase from .i18n.utils import _, FULL_DATE_FORMAT, SHORT_DATETIME_FORMAT, TIME_FORMAT @@ -89,6 +90,15 @@ class Dumper(ABC): class JsonDumper(Dumper): + SUPPORTED_EVENTS = [ + EventType.OPPOSITION, + EventType.CONJUNCTION, + EventType.OCCULTATION, + EventType.MAXIMAL_ELONGATION, + EventType.PERIGEE, + EventType.APOGEE, + ] + def to_string(self): return json.dumps( { @@ -96,11 +106,18 @@ class JsonDumper(Dumper): ephemeris.serialize() for ephemeris in self.ephemerides ], "moon_phase": self.moon_phase.serialize(), - "events": [event.serialize() for event in self.events], + "events": list(self.get_events()), }, indent=4, ) + def get_events(self) -> [{str: any}]: + for event in self.events: + if event.event_type not in self.SUPPORTED_EVENTS: + continue + + yield event.serialize() + class TextDumper(Dumper): def to_string(self): diff --git a/_kosmorro/locales/messages.pot b/_kosmorro/locales/messages.pot index 3922fe5..ce59b19 100644 --- a/_kosmorro/locales/messages.pot +++ b/_kosmorro/locales/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-01-12 13:59+0100\n" +"POT-Creation-Date: 2022-02-04 13:30+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -27,76 +27,76 @@ msgid "" "offset format." msgstr "" -#: _kosmorro/dumper.py:120 +#: _kosmorro/dumper.py:137 msgid "Expected events:" msgstr "" -#: _kosmorro/dumper.py:127 +#: _kosmorro/dumper.py:144 msgid "Note: All the hours are given in UTC." msgstr "" -#: _kosmorro/dumper.py:134 +#: _kosmorro/dumper.py:151 msgid "Note: All the hours are given in the UTC{offset} timezone." msgstr "" -#: _kosmorro/dumper.py:202 _kosmorro/dumper.py:335 +#: _kosmorro/dumper.py:219 _kosmorro/dumper.py:352 msgid "Object" msgstr "" -#: _kosmorro/dumper.py:203 _kosmorro/dumper.py:336 +#: _kosmorro/dumper.py:220 _kosmorro/dumper.py:353 msgid "Rise time" msgstr "" -#: _kosmorro/dumper.py:204 _kosmorro/dumper.py:338 +#: _kosmorro/dumper.py:221 _kosmorro/dumper.py:355 msgid "Culmination time" msgstr "" -#: _kosmorro/dumper.py:205 _kosmorro/dumper.py:340 +#: _kosmorro/dumper.py:222 _kosmorro/dumper.py:357 msgid "Set time" msgstr "" -#: _kosmorro/dumper.py:236 +#: _kosmorro/dumper.py:253 msgid "Moon phase is unavailable for this date." msgstr "" -#: _kosmorro/dumper.py:240 _kosmorro/dumper.py:344 +#: _kosmorro/dumper.py:257 _kosmorro/dumper.py:361 msgid "Moon phase:" msgstr "" -#: _kosmorro/dumper.py:244 +#: _kosmorro/dumper.py:261 msgid "{next_moon_phase} on {next_moon_phase_date} at {next_moon_phase_time}" msgstr "" -#: _kosmorro/dumper.py:308 +#: _kosmorro/dumper.py:325 msgid "Overview of your sky" msgstr "" -#: _kosmorro/dumper.py:316 +#: _kosmorro/dumper.py:333 msgid "" "This document summarizes the ephemerides and the events of {date}. It " "aims to help you to prepare your observation session. All the hours are " "given in {timezone}." msgstr "" -#: _kosmorro/dumper.py:326 +#: _kosmorro/dumper.py:343 msgid "" "Don't forget to check the weather forecast before you go out with your " "equipment." msgstr "" -#: _kosmorro/dumper.py:333 +#: _kosmorro/dumper.py:350 msgid "Ephemerides of the day" msgstr "" -#: _kosmorro/dumper.py:342 +#: _kosmorro/dumper.py:359 msgid "hours" msgstr "" -#: _kosmorro/dumper.py:349 +#: _kosmorro/dumper.py:366 msgid "Expected events" msgstr "" -#: _kosmorro/dumper.py:503 +#: _kosmorro/dumper.py:520 msgid "" "Building PDF was not possible, because some dependencies are not " "installed.\n" @@ -104,7 +104,7 @@ msgid "" "pdf/ for more information." msgstr "" -#: _kosmorro/dumper.py:556 +#: _kosmorro/dumper.py:573 #, python-format msgid "" "An error occurred during the compilation of the PDF.\n" From f9b87d8eed6e3c0715a94a09149bfc87dd3ced99 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 22 Feb 2022 04:06:35 +0000 Subject: [PATCH 05/55] chore(deps): bump kosmorrolib from 1.0.4 to 1.0.5 Bumps [kosmorrolib](https://github.com/Kosmorro/lib) from 1.0.4 to 1.0.5. - [Release notes](https://github.com/Kosmorro/lib/releases) - [Changelog](https://github.com/Kosmorro/lib/blob/main/CHANGELOG.md) - [Commits](https://github.com/Kosmorro/lib/compare/v1.0.4...v1.0.5) --- updated-dependencies: - dependency-name: kosmorrolib dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Pipfile.lock | 79 +++++++++++++++++++++++++--------------------------- 1 file changed, 38 insertions(+), 41 deletions(-) diff --git a/Pipfile.lock b/Pipfile.lock index fa3efdc..d510eb2 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -31,39 +31,36 @@ }, "kosmorrolib": { "hashes": [ - "sha256:2e87ca964764b710af72ac55aea625869051713938a60177fc62e85ce45acbe9", - "sha256:973b1c51aa652b990ef742220aaca3686f09382b7ff47e186be4039fd9009a32" + "sha256:1dd63aea8407164ba8ecabcf2760f9c4c2a6fb3b13f39bc8b1aa100df60dc9bc", + "sha256:3b5fd04e56364c1d5d0a08032a11cbfa827c202da5298303263e8bac8fde5bc1" ], "index": "pypi", - "version": "==1.0.4" + "version": "==1.0.5" }, "numpy": { "hashes": [ - "sha256:0d245a2bf79188d3f361137608c3cd12ed79076badd743dc660750a9f3074f7c", - "sha256:26b4018a19d2ad9606ce9089f3d52206a41b23de5dfe8dc947d2ec49ce45d015", - "sha256:2db01d9838a497ba2aa9a87515aeaf458f42351d72d4e7f3b8ddbd1eba9479f2", - "sha256:3d62d6b0870b53799204515145935608cdeb4cebb95a26800b6750e48884cc5b", - "sha256:45a7dfbf9ed8d68fd39763940591db7637cf8817c5bce1a44f7b56c97cbe211e", - "sha256:4ac4d7c9f8ea2a79d721ebfcce81705fc3cd61a10b731354f1049eb8c99521e8", - "sha256:60f19c61b589d44fbbab8ff126640ae712e163299c2dd422bfe4edc7ec51aa9b", - "sha256:632e062569b0fe05654b15ef0e91a53c0a95d08ffe698b66f6ba0f927ad267c2", - "sha256:65f5e257987601fdfc63f1d02fca4d1c44a2b85b802f03bd6abc2b0b14648dd2", - "sha256:69958735d5e01f7b38226a6c6e7187d72b7e4d42b6b496aca5860b611ca0c193", - "sha256:78bfbdf809fc236490e7e65715bbd98377b122f329457fffde206299e163e7f3", - "sha256:7e957ca8112c689b728037cea9c9567c27cf912741fabda9efc2c7d33d29dfa1", - "sha256:800dfeaffb2219d49377da1371d710d7952c9533b57f3d51b15e61c4269a1b5b", - "sha256:831f2df87bd3afdfc77829bc94bd997a7c212663889d56518359c827d7113b1f", - "sha256:88d54b7b516f0ca38a69590557814de2dd638d7d4ed04864826acaac5ebb8f01", - "sha256:8d1563060e77096367952fb44fca595f2b2f477156de389ce7c0ade3aef29e21", - "sha256:b5ec9a5eaf391761c61fd873363ef3560a3614e9b4ead17347e4deda4358bca4", - "sha256:bcd19dab43b852b03868796f533b5f5561e6c0e3048415e675bec8d2e9d286c1", - "sha256:c51124df17f012c3b757380782ae46eee85213a3215e51477e559739f57d9bf6", - "sha256:e348ccf5bc5235fc405ab19d53bec215bb373300e5523c7b476cc0da8a5e9973", - "sha256:e60ef82c358ded965fdd3132b5738eade055f48067ac8a5a8ac75acc00cad31f", - "sha256:f8ad59e6e341f38266f1549c7c2ec70ea0e3d1effb62a44e5c3dba41c55f0187" + "sha256:03ae5850619abb34a879d5f2d4bb4dcd025d6d8fb72f5e461dae84edccfe129f", + "sha256:076aee5a3763d41da6bef9565fdf3cb987606f567cd8b104aded2b38b7b47abf", + "sha256:0b536b6840e84c1c6a410f3a5aa727821e6108f3454d81a5cd5900999ef04f89", + "sha256:15efb7b93806d438e3bc590ca8ef2f953b0ce4f86f337ef4559d31ec6cf9d7dd", + "sha256:168259b1b184aa83a514f307352c25c56af111c269ffc109d9704e81f72e764b", + "sha256:2638389562bda1635b564490d76713695ff497242a83d9b684d27bb4a6cc9d7a", + "sha256:3556c5550de40027d3121ebbb170f61bbe19eb639c7ad0c7b482cd9b560cd23b", + "sha256:4a176959b6e7e00b5a0d6f549a479f869829bfd8150282c590deee6d099bbb6e", + "sha256:515a8b6edbb904594685da6e176ac9fbea8f73a5ebae947281de6613e27f1956", + "sha256:55535c7c2f61e2b2fc817c5cbe1af7cb907c7f011e46ae0a52caa4be1f19afe2", + "sha256:59153979d60f5bfe9e4c00e401e24dfe0469ef8da6d68247439d3278f30a180f", + "sha256:60cb8e5933193a3cc2912ee29ca331e9c15b2da034f76159b7abc520b3d1233a", + "sha256:6767ad399e9327bfdbaa40871be4254d1995f4a3ca3806127f10cec778bd9896", + "sha256:76a4f9bce0278becc2da7da3b8ef854bed41a991f4226911a24a9711baad672c", + "sha256:8cf33634b60c9cef346663a222d9841d3bbbc0a2f00221d6bcfd0d993d5543f6", + "sha256:94dd11d9f13ea1be17bac39c1942f527cbf7065f94953cf62dfe805653da2f8f", + "sha256:aafa46b5a39a27aca566198d3312fb3bde95ce9677085efd02c86f7ef6be4ec7", + "sha256:badca914580eb46385e7f7e4e426fea6de0a37b9e06bec252e481ae7ec287082", + "sha256:d76a26c5118c4d96e264acc9e3242d72e1a2b92e739807b3b69d8d47684b6677" ], "markers": "python_version >= '3.8'", - "version": "==1.22.1" + "version": "==1.22.2" }, "python-dateutil": { "hashes": [ @@ -117,17 +114,17 @@ }, "skyfield": { "hashes": [ - "sha256:3cbc6a053183973be87cfbb5959cc76e2dbd9ecce5e23658bb60abee3ed5b4b0" + "sha256:3447fd3a9a9dabc2080e6a4efb56d9883decf261ad78e6c9b3f187c4fc761ace" ], - "version": "==1.41" + "version": "==1.42" }, "skyfield-data": { "hashes": [ - "sha256:107b07a238633294ee5c3bb668ecc427619e6a3dd8364e51144eb451f99894bd", - "sha256:c1185c9aa316413fdd76ce5c81cc9a7d548fa95631037e47ba0fc028f131c760" + "sha256:128d407e43a04be66c44b03914f9147b5e65b96078db776e6a4f5538ab0b74bf", + "sha256:bd81bf9032d4833a766f4127e868d62674083ca2ccaea07e6d025e132c9c574e" ], - "markers": "python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' and python_version < '4'", - "version": "==3.0.0" + "markers": "python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5' and python_version < '4'", + "version": "==4.0.0" }, "tabulate": { "hashes": [ @@ -185,11 +182,11 @@ }, "click": { "hashes": [ - "sha256:353f466495adaeb40b6b5f592f9f91cb22372351c84caeb068132442a4518ef3", - "sha256:410e932b050f5eed773c4cda94de75971c89cdb3155a72a0831139a79e5ecb5b" + "sha256:6a7a62563bbfabfda3a38f3023a1db4a35978c0abd76f6c9605ecd6554d6d9b1", + "sha256:8458d7b1287c5fb128c90e23381cf99dcde74beaf6c7ff6384ce84d6fe090adb" ], "markers": "python_version >= '3.6'", - "version": "==8.0.3" + "version": "==8.0.4" }, "mypy-extensions": { "hashes": [ @@ -207,11 +204,11 @@ }, "platformdirs": { "hashes": [ - "sha256:1d7385c7db91728b83efd0ca99a5afb296cab9d0ed8313a45ed8ba17967ecfca", - "sha256:440633ddfebcc36264232365d7840a970e75e1018d15b4327d11f91909045fda" + "sha256:7535e70dfa32e84d4b34996ea99c5e432fa29a708d0f4e394bbcb2a8faa4f16d", + "sha256:bcae7cab893c2d310a711b70b24efb93334febe65f8de776ee320b517471e227" ], "markers": "python_version >= '3.7'", - "version": "==2.4.1" + "version": "==2.5.1" }, "pytz": { "hashes": [ @@ -222,11 +219,11 @@ }, "tomli": { "hashes": [ - "sha256:b5bde28da1fed24b9bd1d4d2b8cba62300bfb4ec9a6187a957e8ddb9434c5224", - "sha256:c292c34f58502a1eb2bbb9f5bbc9a5ebc37bee10ffb8c2d6bbdfa8eb13cc14e1" + "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc", + "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f" ], "markers": "python_version >= '3.7'", - "version": "==2.0.0" + "version": "==2.0.1" } } } From 3b131750fa1409307416a3c7f3aa68aa85551b7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Thu, 11 Nov 2021 11:08:40 +0100 Subject: [PATCH 06/55] test: rewrite the tests --- .github/workflows/{e2e.yml => tests.yml} | 33 ++-- .scripts/tests-e2e.sh | 128 --------------- Makefile | 11 +- Pipfile | 2 + Pipfile.lock | 74 ++++++++- _kosmorro/assets/pdf/template.tex | 1 + _kosmorro/locales/messages.pot | 42 ++--- _kosmorro/main.py | 11 +- _kosmorro/utils.py | 19 +++ tests/__init__.py | 0 tests/dates.py | 52 ++++++ tests/general.py | 85 ++++++++++ tests/output.py | 195 +++++++++++++++++++++++ tests/position.py | 55 +++++++ tests/timezone.py | 73 +++++++++ tests/utils.py | 50 ++++++ 16 files changed, 658 insertions(+), 173 deletions(-) rename .github/workflows/{e2e.yml => tests.yml} (57%) delete mode 100755 .scripts/tests-e2e.sh create mode 100644 _kosmorro/utils.py create mode 100644 tests/__init__.py create mode 100644 tests/dates.py create mode 100644 tests/general.py create mode 100644 tests/output.py create mode 100644 tests/position.py create mode 100644 tests/timezone.py create mode 100644 tests/utils.py diff --git a/.github/workflows/e2e.yml b/.github/workflows/tests.yml similarity index 57% rename from .github/workflows/e2e.yml rename to .github/workflows/tests.yml index 7263b0a..ba6fa4c 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/tests.yml @@ -1,4 +1,4 @@ -name: E2E tests +name: Tests on: push: @@ -17,14 +17,15 @@ jobs: fail-fast: false matrix: os: - - ubuntu-18.04 - - ubuntu-20.04 + - ubuntu-latest + - macos-latest python-version: - '3.7' - '3.8' - '3.9' + - '3.10' - name: E2E tests (Python ${{ matrix.python-version }} on ${{ matrix.os }}) + name: Python ${{ matrix.python-version }} on ${{ matrix.os }} steps: - uses: actions/checkout@v1 @@ -35,20 +36,30 @@ jobs: - name: Prepare tests run: | - sudo apt update - sudo apt install ruby sudo gem install ronn - pip install -U setuptools pip requests wheel Babel + pip install -U pip pipenv + pipenv sync --dev + make manpage - name: E2E tests run: | - export ENVIRONMENT="CI" - bash .scripts/tests-e2e.sh + make tests + + - name: Install TeXLive (Ubuntu) + if: ${{ matrix.os == 'ubuntu-latest' }} + run: | + sudo apt-get install -y texlive texlive-latex-extra + + - name: E2E tests + env: + TEXLIVE_INSTALLED: 1 + run: | + make tests - name: manpage (section 1) run: | - man -P $(which cat) kosmorro + man -P $(which cat) manpage/kosmorro.1 - name: manpage (section 7) run: | - man -P $(which cat) 7 kosmorro + man -P $(which cat) manpage/kosmorro.7 diff --git a/.scripts/tests-e2e.sh b/.scripts/tests-e2e.sh deleted file mode 100755 index 6a48397..0000000 --- a/.scripts/tests-e2e.sh +++ /dev/null @@ -1,128 +0,0 @@ -#!/bin/bash - -VERSION=$(grep -Eo '[0-9]+\.[0-9]+\.[0-9]+' _kosmorro/__version__.py) -PYTHON_BIN=$(command -v python) -PIP_BIN=$(command -v pip) - -if python3 --version > /dev/null; then - PYTHON_BIN=$(command -v python3) - PIP_BIN=$(command -v pip3) -fi - -failures='' - -function fail() { - failures="$failures\n\n - $1\n\n$2" -} - -function run() { - eval "$1" &> /tmp/output.txt - return $? -} - -function canRun() { - if [[ "$1" != "" && "$1" != "$ENVIRONMENT" ]]; then - return 1 - fi - - return 0 -} - -# Asserts that command $1 has finished with sucess -# $1: the command to run -function assertSuccess() { - if ! canRun "$2"; then - echo -n 'I' - return - fi - - run "$1" - returned=$? - - if [ $returned -ne 0 ]; then - fail "Failed asserting that command '$1' finishes with success, returned status $returned." "$(cat /tmp/output.txt)" - echo -n 'F' - return - fi - - echo -n '.' -} - -# Asserts that command $1 has finished with sucess -# $1: the command to run -function assertFailure() { - if ! canRun "$2"; then - echo -n 'I' - return - fi - - run "$1" - returned=$? - - if [ $returned -eq 0 ]; then - fail "Failed asserting that command '$1' finishes with failure." "$(cat /tmp/output.txt)" - echo -n 'F' - return - fi - - echo -n '.' -} - -mkdir -p $HOME/kosmorro/export - -echo -echo "==== RUNNING E2E TESTS ====" -echo - -# Create the package and install it -assertSuccess "make build" -assertSuccess "$PIP_BIN install dist/kosmorro-$VERSION.tar.gz" "CI" - -KOSMORRO_COMMAND="kosmorro --debug" - -assertSuccess "$KOSMORRO_COMMAND" -assertSuccess "$KOSMORRO_COMMAND -h" -assertSuccess "$KOSMORRO_COMMAND -d 2020-01-27" -assertFailure "$KOSMORRO_COMMAND -d yolo-yo-lo" -assertFailure "$KOSMORRO_COMMAND -d 2020-13-32" -assertFailure "$KOSMORRO_COMMAND --date=1789-05-05" -assertFailure "$KOSMORRO_COMMAND --date=3000-01-01" -assertSuccess "$KOSMORRO_COMMAND --date='+3y 5m3d'" -assertSuccess "$KOSMORRO_COMMAND --date='-1y3d'" -assertFailure "$KOSMORRO_COMMAND --date='+3d4m" -assertFailure "$KOSMORRO_COMMAND -date='3y'" -assertSuccess "$KOSMORRO_COMMAND --latitude=50.5876 --longitude=3.0624" -assertSuccess "$KOSMORRO_COMMAND --latitude=50.5876 --longitude=3.0624 -d 2020-01-27" -assertSuccess "$KOSMORRO_COMMAND --latitude=50.5876 --longitude=3.0624 -d 2020-01-27 --timezone=1" -assertSuccess "$KOSMORRO_COMMAND --latitude=50.5876 --longitude=3.0624 -d 2020-01-27 --timezone=-1" -assertSuccess "$KOSMORRO_COMMAND --latitude=50.5876 --longitude=3.0624 -d 2020-01-27 --format=json" -assertFailure "$KOSMORRO_COMMAND --latitude=50.5876 --longitude=3.0624 -d 2020-01-27 --format=pdf" - -assertSuccess "$KOSMORRO_COMMAND -d 2020-01-27 --format=json" - -# Environment variables -assertSuccess "LATITUDE=50.5876 LONGITUDE=3.0624 TIMEZONE=1 kosmorro -d 2020-01-27" -assertSuccess "LATITUDE=50.5876 LONGITUDE=3.0624 TIMEZONE=-1 kosmorro -d 2020-01-27" - -# Missing dependencies, should fail -assertFailure "$KOSMORRO_COMMAND --latitude=50.5876 --longitude=3.0624 -d 2020-01-27 --format=pdf -o $HOME/kosmorro/export/document.pdf" -assertFailure "ls $HOME/kosmorro/export/document.pdf" - -assertSuccess "sudo apt-get install -y texlive texlive-latex-extra" "CI" - -# Dependencies installed, should not fail -assertSuccess "$KOSMORRO_COMMAND --latitude=50.5876 --longitude=3.0624 -d 2020-01-27 --format=pdf -o $HOME/kosmorro/export/document.pdf" -assertSuccess "ls $HOME/kosmorro/export/document.pdf" - -assertSuccess "$KOSMORRO_COMMAND --latitude=50.5876 --longitude=3.0624 -d 2020-01-27 --format=pdf -o $HOME/kosmorro/export/document-no-graph.pdf --no-graph" -assertSuccess "ls $HOME/kosmorro/export/document-no-graph.pdf" - -# man page -assertSuccess "man --pager=cat kosmorro" - -if [ "$failures" != "" ]; then - echo -e "\n$failures" - exit 2 -fi - -echo -e "\n\n==== TESTS RAN SUCCESSFULLY 👍 ====" diff --git a/Makefile b/Makefile index 45dce8e..0b3792c 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,14 @@ black: - pipenv run black kosmorro _kosmorro setup.py + pipenv run black kosmorro _kosmorro tests setup.py + +.PHONY: tests +tests: + @if [ "$${TEXLIVE_INSTALLED}" == "" ]; then \ + echo "If you are running the tests locally and TeXLive is installed on your machine, you will need to set the TEXLIVE_INSTALLED environment variable."; \ + echo; \ + fi + + pipenv run python3 -m pytest tests/*.py .PHONY: build build: manpage diff --git a/Pipfile b/Pipfile index ae55f16..0d73dcc 100644 --- a/Pipfile +++ b/Pipfile @@ -6,6 +6,8 @@ verify_ssl = true [dev-packages] babel = "*" black = "*" +pytest = "*" +aurornis = "*" [packages] tabulate = "*" diff --git a/Pipfile.lock b/Pipfile.lock index d510eb2..7553526 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "c1f6551ee33e3015fa1aaa679059da0744c447948707b7e517cce926f336f6f9" + "sha256": "3ff7290b32da63ca9585dbe947830ae1d1e4692f0ca9a0faeaa3601d7f9c4b8b" }, "pipfile-spec": 6, "requires": { @@ -59,7 +59,6 @@ "sha256:badca914580eb46385e7f7e4e426fea6de0a37b9e06bec252e481ae7ec287082", "sha256:d76a26c5118c4d96e264acc9e3242d72e1a2b92e739807b3b69d8d47684b6677" ], - "markers": "python_version >= '3.8'", "version": "==1.22.2" }, "python-dateutil": { @@ -109,7 +108,6 @@ "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926", "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254" ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", "version": "==1.16.0" }, "skyfield": { @@ -123,7 +121,6 @@ "sha256:128d407e43a04be66c44b03914f9147b5e65b96078db776e6a4f5538ab0b74bf", "sha256:bd81bf9032d4833a766f4127e868d62674083ca2ccaea07e6d025e132c9c574e" ], - "markers": "python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5' and python_version < '4'", "version": "==4.0.0" }, "tabulate": { @@ -143,6 +140,21 @@ } }, "develop": { + "attrs": { + "hashes": [ + "sha256:2d27e3784d7a565d36ab851fe94887c5eccd6a463168875832a1be79c82828b4", + "sha256:626ba8234211db98e869df76230a137c4c40a12d72445c45d5f5b716f076e2fd" + ], + "version": "==21.4.0" + }, + "aurornis": { + "hashes": [ + "sha256:660b57e9d1701d88fb7cc4af3118c927e9e001d2ab39cb145695eb8470f4642a", + "sha256:bc68845be5cdf2d69d26c677214f7435365967b4a65dc3772ab05353b2136d95" + ], + "index": "pypi", + "version": "==1.2.0" + }, "babel": { "hashes": [ "sha256:ab49e12b91d937cd11f0b67cb259a57ab4ad2b59ac7a3b41d6c06c0ac5b0def9", @@ -185,9 +197,15 @@ "sha256:6a7a62563bbfabfda3a38f3023a1db4a35978c0abd76f6c9605ecd6554d6d9b1", "sha256:8458d7b1287c5fb128c90e23381cf99dcde74beaf6c7ff6384ce84d6fe090adb" ], - "markers": "python_version >= '3.6'", "version": "==8.0.4" }, + "iniconfig": { + "hashes": [ + "sha256:011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3", + "sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32" + ], + "version": "==1.1.1" + }, "mypy-extensions": { "hashes": [ "sha256:090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a299250a846f15d", @@ -195,6 +213,13 @@ ], "version": "==0.4.3" }, + "packaging": { + "hashes": [ + "sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb", + "sha256:ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522" + ], + "version": "==21.3" + }, "pathspec": { "hashes": [ "sha256:7d15c4ddb0b5c802d161efc417ec1a2558ea2653c2e8ad9c19098201dc1c993a", @@ -207,9 +232,37 @@ "sha256:7535e70dfa32e84d4b34996ea99c5e432fa29a708d0f4e394bbcb2a8faa4f16d", "sha256:bcae7cab893c2d310a711b70b24efb93334febe65f8de776ee320b517471e227" ], - "markers": "python_version >= '3.7'", "version": "==2.5.1" }, + "pluggy": { + "hashes": [ + "sha256:4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159", + "sha256:74134bbf457f031a36d68416e1509f34bd5ccc019f0bcc952c7b909d06b37bd3" + ], + "version": "==1.0.0" + }, + "py": { + "hashes": [ + "sha256:51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719", + "sha256:607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378" + ], + "version": "==1.11.0" + }, + "pyparsing": { + "hashes": [ + "sha256:18ee9022775d270c55187733956460083db60b37d0d0fb357445f3094eed3eea", + "sha256:a6c06a88f252e6c322f65faf8f418b16213b51bdfaece0524c1c1bc30c63c484" + ], + "version": "==3.0.7" + }, + "pytest": { + "hashes": [ + "sha256:9ce3ff477af913ecf6321fe337b93a2c0dcf2a0a1439c43f5452112c1e4280db", + "sha256:e30905a0c131d3d94b89624a1cc5afec3e0ba2fbdb151867d8e0ebd49850f171" + ], + "index": "pypi", + "version": "==7.0.1" + }, "pytz": { "hashes": [ "sha256:3672058bc3453457b622aab7a1c3bfd5ab0bdae451512f6cf25f64ed37f5b87c", @@ -222,8 +275,15 @@ "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc", "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f" ], - "markers": "python_version >= '3.7'", "version": "==2.0.1" + }, + "typing-extensions": { + "hashes": [ + "sha256:1a9462dcc3347a79b1f1c0271fbe79e844580bb598bafa1ed208b94da3cdcd42", + "sha256:21c85e0fe4b9a155d0799430b0ad741cdce7e359660ccbd8b530613e8df88ce2" + ], + "markers": "python_version < '3.10'", + "version": "==4.1.1" } } } diff --git a/_kosmorro/assets/pdf/template.tex b/_kosmorro/assets/pdf/template.tex index ea2a13a..fef839c 100644 --- a/_kosmorro/assets/pdf/template.tex +++ b/_kosmorro/assets/pdf/template.tex @@ -6,6 +6,7 @@ \usepackage{graphicx} \usepackage{hyperref} \usepackage{kosmorro} +\usepackage{lmodern} \newcommand{\currentmoonphasetitle}{+++CURRENT-MOON-PHASE-TITLE+++} \newcommand{\ephemeridesobjecttitle}{+++EPHEMERIDES-OBJECT+++} diff --git a/_kosmorro/locales/messages.pot b/_kosmorro/locales/messages.pot index ce59b19..75ee03a 100644 --- a/_kosmorro/locales/messages.pot +++ b/_kosmorro/locales/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-02-04 13:30+0100\n" +"POT-Creation-Date: 2022-02-16 13:58+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -116,98 +116,98 @@ msgstr "" msgid "The date must be between {minimum_date} and {maximum_date}" msgstr "" -#: _kosmorro/main.py:60 +#: _kosmorro/main.py:62 msgid "" "Save the planet and paper!\n" "Consider printing your PDF document only if really necessary, and use the" " other side of the sheet." msgstr "" -#: _kosmorro/main.py:69 +#: _kosmorro/main.py:71 msgid "" "PDF output will not contain the ephemerides, because you didn't provide " "the observation coordinates." msgstr "" -#: _kosmorro/main.py:114 +#: _kosmorro/main.py:116 msgid "The file could not be saved in \"{path}\": {error}" msgstr "" -#: _kosmorro/main.py:128 +#: _kosmorro/main.py:130 msgid "Please provide a file path to export in this format (--output)." msgstr "" -#: _kosmorro/main.py:161 +#: _kosmorro/main.py:163 msgid "Moon phase can only be displayed between {min_date} and {max_date}" msgstr "" -#: _kosmorro/main.py:200 +#: _kosmorro/main.py:202 msgid "Running on Python {python_version} with Kosmorrolib v{kosmorrolib_version}" msgstr "" -#: _kosmorro/main.py:213 +#: _kosmorro/main.py:215 msgid "" "Compute the ephemerides and the events for a given date and a given " "position on Earth." msgstr "" -#: _kosmorro/main.py:216 +#: _kosmorro/main.py:218 msgid "" -"By default, only the events will be computed for today ({date}).\n" +"By default, only the events will be computed for today.\n" "To compute also the ephemerides, latitude and longitude arguments are " "needed." msgstr "" -#: _kosmorro/main.py:230 +#: _kosmorro/main.py:231 msgid "Show the program version" msgstr "" -#: _kosmorro/main.py:238 +#: _kosmorro/main.py:239 msgid "The format to output the information to" msgstr "" -#: _kosmorro/main.py:245 +#: _kosmorro/main.py:246 msgid "" "The observer's latitude on Earth. Can also be set in the " "KOSMORRO_LATITUDE environment variable." msgstr "" -#: _kosmorro/main.py:255 +#: _kosmorro/main.py:256 msgid "" "The observer's longitude on Earth. Can also be set in the " "KOSMORRO_LONGITUDE environment variable." msgstr "" -#: _kosmorro/main.py:265 +#: _kosmorro/main.py:266 msgid "" "The date for which the ephemerides must be calculated. Can be in the " "YYYY-MM-DD format or an interval in the \"[+-]YyMmDd\" format (with Y, M," -" and D numbers). Defaults to today ({default_date})." +" and D numbers). Defaults to current date." msgstr "" -#: _kosmorro/main.py:276 +#: _kosmorro/main.py:277 msgid "" "The timezone to display the hours in (e.g. 2 for UTC+2 or -3 for UTC-3). " "Can also be set in the KOSMORRO_TIMEZONE environment variable." msgstr "" -#: _kosmorro/main.py:285 +#: _kosmorro/main.py:286 msgid "Disable the colors in the console." msgstr "" -#: _kosmorro/main.py:292 +#: _kosmorro/main.py:293 msgid "" "A file to export the output to. If not given, the standard output is " "used. This argument is needed for PDF format." msgstr "" -#: _kosmorro/main.py:301 +#: _kosmorro/main.py:302 msgid "" "Do not generate a graph to represent the rise and set times in the PDF " "format." msgstr "" -#: _kosmorro/main.py:309 +#: _kosmorro/main.py:310 msgid "Show debugging messages" msgstr "" diff --git a/_kosmorro/main.py b/_kosmorro/main.py index 2235478..6b36682 100644 --- a/_kosmorro/main.py +++ b/_kosmorro/main.py @@ -23,10 +23,10 @@ from kosmorrolib import Position, get_ephemerides, get_events, get_moon_phase from kosmorrolib.__version__ import __version__ as kosmorrolib_version from kosmorrolib.exceptions import OutOfRangeDateError from datetime import date -from termcolor import colored from . import dumper, environment, debug from .date import parse_date +from .utils import colored, set_colors_activated from .__version__ import __version__ as kosmorro_version from .exceptions import UnavailableFeatureError, OutOfRangeDateError as DateRangeError from _kosmorro.i18n.utils import _, SHORT_DATE_FORMAT @@ -39,6 +39,8 @@ def main(): debug.show_debug_messages = args.show_debug_messages output_format = args.format + set_colors_activated(args.colors) + if args.special_action is not None: return 0 if args.special_action() else 1 @@ -214,9 +216,8 @@ def get_args(output_formats: [str]): "Compute the ephemerides and the events for a given date and a given position on Earth." ), epilog=_( - "By default, only the events will be computed for today ({date}).\n" - "To compute also the ephemerides, latitude and longitude arguments" - " are needed." + "By default, only the events will be computed for today.\n" + "To compute also the ephemerides, latitude and longitude arguments are needed." ).format(date=today.strftime(dumper.FULL_DATE_FORMAT)), ) @@ -265,7 +266,7 @@ def get_args(output_formats: [str]): help=_( "The date for which the ephemerides must be calculated. Can be in the YYYY-MM-DD format " 'or an interval in the "[+-]YyMmDd" format (with Y, M, and D numbers). ' - "Defaults to today ({default_date})." + "Defaults to current date." ).format(default_date=today.strftime("%Y-%m-%d")), ) parser.add_argument( diff --git a/_kosmorro/utils.py b/_kosmorro/utils.py new file mode 100644 index 0000000..4ee8da8 --- /dev/null +++ b/_kosmorro/utils.py @@ -0,0 +1,19 @@ +#!/usr/bin/env python3 + +from termcolor import colored as do_color + + +global _COLORS_ACTIVATED + + +def set_colors_activated(activated: bool): + global _COLORS_ACTIVATED + _COLORS_ACTIVATED = activated + + +def colored(text, color=None, on_color=None, attrs=None): + """Decorator to use colors only when they are activated""" + if not _COLORS_ACTIVATED: + return text + + return do_color(text, color, on_color, attrs) diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/dates.py b/tests/dates.py new file mode 100644 index 0000000..fc7ccaf --- /dev/null +++ b/tests/dates.py @@ -0,0 +1,52 @@ +#!/usr/bin/env python3 + +from .utils import execute, KOSMORRO + + +def test_with_date(): + for arg in [["-d", "2020-01-27"], ["--date", "2020-01-27"], ["-d2020-01-27"]]: + result = execute(KOSMORRO + arg) + assert result.is_successful() + + assert ( + result.stdout + == """Monday January 27, 2020 + +Moon phase: New Moon +First Quarter on Sunday February 02, 2020 at 01:41 + +Expected events: +20:00 Venus and Neptune are in conjunction + +Note: All the hours are given in UTC. +""" + ) + + +def test_with_incorrect_date_values(): + value = "yolo-yo-lo" + for arg in [["-d", value], ["--date", value], [f"-d{value}"]]: + result = execute(KOSMORRO + arg) + assert not result.is_successful() + assert ( + result.stdout + == f"The date {value} does not match the required YYYY-MM-DD format or the offset format.\n" + ) + + value = "2020-13-32" + for arg in [["-d", value], ["--date", value], [f"-d{value}"]]: + result = execute(KOSMORRO + arg) + assert not result.is_successful() + assert ( + result.stdout == f"The date {value} is not valid: month must be in 1..12\n" + ) + + +def test_with_out_of_range_dates(): + for arg in [["-d", "1789-05-05"], ["-d", "3000-01-01"]]: + result = execute(KOSMORRO + arg) + assert not result.is_successful() + assert ( + result.stdout + == "Moon phase can only be displayed between Aug 09, 1899 and Sep 26, 2053\n" + ) diff --git a/tests/general.py b/tests/general.py new file mode 100644 index 0000000..d2cf96f --- /dev/null +++ b/tests/general.py @@ -0,0 +1,85 @@ +#!/usr/bin/env python3 + +from sys import version_info +from .utils import ( + execute, + KOSMORRO, + CURRENT_MOON_PHASE_PATTERN, + NEXT_MOON_PHASE_PATTERN, +) +from datetime import date + + +def test_run_without_argument(): + result = execute(KOSMORRO) + assert result.is_successful() + + stdout = result.stdout.split("\n") + + # It always starts with the current date, an empty line and the current and next Moon date: + assert stdout[0] == date.today().strftime("%A %B %d, %Y") + assert stdout[1] == "" + assert CURRENT_MOON_PHASE_PATTERN.match(stdout[2]) + assert NEXT_MOON_PHASE_PATTERN.match(stdout[3]) + + # It always finishes with an empty line, a note about UTC timezone and an empty line: + assert stdout[-3] == "" + assert stdout[-2] == "Note: All the hours are given in UTC." + assert stdout[-1] == "" + + +def test_help_message(): + python_version = (version_info.major, version_info.minor) + + for arg in ["--help", "-h"]: + result = execute(KOSMORRO + [arg]) + assert result.is_successful() + + # Options header has changed from "optional arguments" to "options" in Python 3.10. + options_header = ( + "options" if python_version == (3, 10) else "optional arguments" + ) + + assert ( + result.stdout + == """usage: kosmorro [-h] [--version] [--format {text,json,pdf}] + [--latitude LATITUDE] [--longitude LONGITUDE] [--date DATE] + [--timezone TIMEZONE] [--no-colors] [--output OUTPUT] + [--no-graph] [--debug] + +Compute the ephemerides and the events for a given date and a given position +on Earth. + +%s: + -h, --help show this help message and exit + --version, -v Show the program version + --format {text,json,pdf}, -f {text,json,pdf} + The format to output the information to + --latitude LATITUDE, -lat LATITUDE + The observer's latitude on Earth. Can also be set in + the KOSMORRO_LATITUDE environment variable. + --longitude LONGITUDE, -lon LONGITUDE + The observer's longitude on Earth. Can also be set in + the KOSMORRO_LONGITUDE environment variable. + --date DATE, -d DATE The date for which the ephemerides must be calculated. + Can be in the YYYY-MM-DD format or an interval in the + "[+-]YyMmDd" format (with Y, M, and D numbers). + Defaults to current date. + --timezone TIMEZONE, -t TIMEZONE + The timezone to display the hours in (e.g. 2 for UTC+2 + or -3 for UTC-3). Can also be set in the + KOSMORRO_TIMEZONE environment variable. + --no-colors Disable the colors in the console. + --output OUTPUT, -o OUTPUT + A file to export the output to. If not given, the + standard output is used. This argument is needed for + PDF format. + --no-graph Do not generate a graph to represent the rise and set + times in the PDF format. + --debug Show debugging messages + +By default, only the events will be computed for today. To compute also the +ephemerides, latitude and longitude arguments are needed. +""" + % options_header + ) diff --git a/tests/output.py b/tests/output.py new file mode 100644 index 0000000..d466f26 --- /dev/null +++ b/tests/output.py @@ -0,0 +1,195 @@ +#!/usr/bin/env python3 + +from .utils import ( + execute, + KOSMORRO, +) +import tempfile +from os import path, environ +from sys import platform + + +def test_json_output(): + result = execute( + KOSMORRO + + ["--latitude=50.5876", "--longitude=3.0624", "-d2020-01-27", "--format=json"] + ) + assert result.is_successful() + assert ( + result.stdout + == """{ + "ephemerides": [ + { + "object": { + "identifier": "SUN", + "type": "STAR", + "radius": 696342 + }, + "rise_time": "2020-01-27T07:31:00", + "culmination_time": "2020-01-27T12:01:00", + "set_time": "2020-01-27T16:30:00" + }, + { + "object": { + "identifier": "MOON", + "type": "SATELLITE", + "radius": 1737.4 + }, + "rise_time": "2020-01-27T09:06:00", + "culmination_time": "2020-01-27T14:09:00", + "set_time": "2020-01-27T19:13:00" + }, + { + "object": { + "identifier": "MERCURY", + "type": "PLANET", + "radius": 2439.7 + }, + "rise_time": "2020-01-27T08:10:00", + "culmination_time": "2020-01-27T12:49:00", + "set_time": "2020-01-27T17:28:00" + }, + { + "object": { + "identifier": "VENUS", + "type": "PLANET", + "radius": 6051.8 + }, + "rise_time": "2020-01-27T09:01:00", + "culmination_time": "2020-01-27T14:35:00", + "set_time": "2020-01-27T20:10:00" + }, + { + "object": { + "identifier": "MARS", + "type": "PLANET", + "radius": 3396.2 + }, + "rise_time": "2020-01-27T04:19:00", + "culmination_time": "2020-01-27T08:23:00", + "set_time": "2020-01-27T12:28:00" + }, + { + "object": { + "identifier": "JUPITER", + "type": "PLANET", + "radius": 71492 + }, + "rise_time": "2020-01-27T06:15:00", + "culmination_time": "2020-01-27T10:18:00", + "set_time": "2020-01-27T14:21:00" + }, + { + "object": { + "identifier": "SATURN", + "type": "PLANET", + "radius": 60268 + }, + "rise_time": "2020-01-27T06:56:00", + "culmination_time": "2020-01-27T11:09:00", + "set_time": "2020-01-27T15:22:00" + }, + { + "object": { + "identifier": "URANUS", + "type": "PLANET", + "radius": 25559 + }, + "rise_time": "2020-01-27T10:21:00", + "culmination_time": "2020-01-27T17:25:00", + "set_time": "2020-01-27T00:33:00" + }, + { + "object": { + "identifier": "NEPTUNE", + "type": "PLANET", + "radius": 24764 + }, + "rise_time": "2020-01-27T09:01:00", + "culmination_time": "2020-01-27T14:36:00", + "set_time": "2020-01-27T20:10:00" + }, + { + "object": { + "identifier": "PLUTO", + "type": "PLANET", + "radius": 1185 + }, + "rise_time": "2020-01-27T06:57:00", + "culmination_time": "2020-01-27T11:04:00", + "set_time": "2020-01-27T15:11:00" + } + ], + "moon_phase": { + "phase": "NEW_MOON", + "time": "2020-01-24T21:41:59.705921+00:00", + "next": { + "phase": "FIRST_QUARTER", + "time": "2020-02-02T01:41:40.282275+00:00" + } + }, + "events": [ + { + "objects": [ + { + "identifier": "VENUS", + "type": "PLANET", + "radius": 6051.8 + }, + { + "identifier": "NEPTUNE", + "type": "PLANET", + "radius": 24764 + } + ], + "EventType": "CONJUNCTION", + "starts_at": "2020-01-27T20:00:23.242750+00:00", + "ends_at": null, + "details": null + } + ] +} +""" + ) + + +def test_pdf_output(): + if platform != "linux": + # Consider it works everywhere if it does at least on Linux + return + + tmp_dir = tempfile.mkdtemp() + result = execute( + KOSMORRO + + [ + "--latitude=50.5876", + "--longitude=3.0624", + "-d2020-01-27", + "--format=pdf", + f"--output={tmp_dir}/document.pdf", + ] + ) + + if environ.get("TEXLIVE_INSTALLED") is None: + assert not result.is_successful() + assert ( + result.stdout + == """Save the planet and paper! +Consider printing your PDF document only if really necessary, and use the other side of the sheet. +Building PDF was not possible, because some dependencies are not installed. +Please look at the documentation at https://kosmorro.space/cli/generate-pdf/ for more information. +""" + ) + + return + + assert result.is_successful() + assert ( + result.stdout + == """Save the planet and paper! +Consider printing your PDF document only if really necessary, and use the other side of the sheet. +""" + "" + ) + + assert path.exists(f"{tmp_dir}/document.pdf") diff --git a/tests/position.py b/tests/position.py new file mode 100644 index 0000000..918f87b --- /dev/null +++ b/tests/position.py @@ -0,0 +1,55 @@ +#!/usr/bin/env python3 + +from .utils import ( + execute, + KOSMORRO, +) + + +def check_command_return(result): + assert result.is_successful() + assert ( + result.stdout + == """Monday January 27, 2020 + +Object Rise time Culmination time Set time +-------- ----------- ------------------ ---------- +Sun 07:31 12:01 16:30 +Moon 09:06 14:09 19:13 +Mercury 08:10 12:49 17:28 +Venus 09:01 14:35 20:10 +Mars 04:19 08:23 12:28 +Jupiter 06:15 10:18 14:21 +Saturn 06:56 11:09 15:22 +Uranus 10:21 17:25 00:33 +Neptune 09:01 14:36 20:10 +Pluto 06:57 11:04 15:11 + +Moon phase: New Moon +First Quarter on Sunday February 02, 2020 at 01:41 + +Expected events: +20:00 Venus and Neptune are in conjunction + +Note: All the hours are given in UTC. +""" + ) + + +def test_with_position(): + result = execute( + KOSMORRO + ["--latitude=50.5876", "--longitude=3.0624", "-d2020-01-27"] + ) + check_command_return(result) + + +def test_with_position_env_vars(): + check_command_return( + execute( + KOSMORRO + ["-d2020-01-27"], + environment={ + "KOSMORRO_LATITUDE": "50.5876", + "KOSMORRO_LONGITUDE": "3.0624", + }, + ) + ) diff --git a/tests/timezone.py b/tests/timezone.py new file mode 100644 index 0000000..e7e8c80 --- /dev/null +++ b/tests/timezone.py @@ -0,0 +1,73 @@ +#!/usr/bin/env python3 + +from .utils import ( + execute, + KOSMORRO, +) + + +def check_command_return_t_plus_one(result): + assert result.is_successful() + assert ( + result.stdout + == """Monday January 27, 2020 + +Moon phase: New Moon +First Quarter on Sunday February 02, 2020 at 02:41 + +Expected events: +21:00 Venus and Neptune are in conjunction + +Note: All the hours are given in the UTC+1 timezone. +""" + ) + + +def check_command_return_t_minus_one(result): + assert result.is_successful() + assert ( + result.stdout + == """Monday January 27, 2020 + +Moon phase: New Moon +First Quarter on Sunday February 02, 2020 at 00:41 + +Expected events: +19:00 Venus and Neptune are in conjunction + +Note: All the hours are given in the UTC-1 timezone. +""" + ) + + +def test_timezone(): + check_command_return_t_plus_one( + execute(KOSMORRO + ["--timezone=1", "-d2020-01-27"]) + ) + check_command_return_t_minus_one( + execute(KOSMORRO + ["--timezone=-1", "-d2020-01-27"]) + ) + + +def test_timezone_with_env_var(): + check_command_return_t_plus_one( + execute(KOSMORRO + ["-d2020-01-27"], environment={"KOSMORRO_TIMEZONE": "1"}) + ) + check_command_return_t_minus_one( + execute(KOSMORRO + ["-d2020-01-27"], environment={"KOSMORRO_TIMEZONE": "-1"}) + ) + + # If both environment variable and argument are set, use argument: + + check_command_return_t_plus_one( + execute( + KOSMORRO + ["--timezone=1", "-d2020-01-27"], + environment={"KOSMORRO_TIMEZONE": "-1"}, + ) + ) + check_command_return_t_minus_one( + execute( + KOSMORRO + ["--timezone=-1", "-d2020-01-27"], + environment={"KOSMORRO_TIMEZONE": "1"}, + ) + ) diff --git a/tests/utils.py b/tests/utils.py new file mode 100644 index 0000000..38373d8 --- /dev/null +++ b/tests/utils.py @@ -0,0 +1,50 @@ +#!/usr/bin/env python3 + +import aurornis +import re + +from os import environ +from typing import Union + +DEFAULT_ENVIRONMENT = {"PATH": environ["PATH"]} +KOSMORRO = ["./kosmorro", "--no-color"] + +CURRENT_MOON_PHASE_PATTERN = re.compile( + r"^Moon phase: (" + r"(New Moon)|(Waxing Crescent)|" + r"(First Quarter)|(Waxing Gibbous)|" + r"(Full Moon)|(Waning Gibbous)|" + r"(Last Quarter)|(Waning Crescent)" + r")$" +) + +NEXT_MOON_PHASE_PATTERN = re.compile( + r"^((New Moon)|(Waxing Crescent)|" + r"(First Quarter)|(Waxing Gibbous)|" + r"(Full Moon)|(Waning Gibbous)|" + r"(Last Quarter)|(Waning Crescent)" + r") " + r"on ((Monday)|(Tuesday)|(Wednesday)|(Thursday)|(Friday)|(Saturday)|(Sunday)) " + r"((January)|(February)|(March)|(April)|(May)|(June)|" + r"(July)|(August)|(September)|(October)|(November)|(December)) " + r"[0-9]{2}, [0-9]{4} at [0-9]{2}:[0-9]{2}$" +) + + +def execute( + command, environment: {str: Union[int, str]} = None +) -> aurornis.CommandResult: + if environment is None: + environment = DEFAULT_ENVIRONMENT + else: + for variable in DEFAULT_ENVIRONMENT: + environment[variable] = DEFAULT_ENVIRONMENT[variable] + + return aurornis.run(command, environment) + + +def assert_nb_lines(expected_nb: int, in_str: str): + """Check that the string has the specified number of lines and that the last one is empty.""" + lines = in_str.split("\n") + assert len(lines) == expected_nb + assert lines[len(lines) - 1] == "" From 92681131062eb0a93e901a5598353e36d9fc590f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Mon, 7 Mar 2022 13:39:00 +0100 Subject: [PATCH 07/55] fix: use Babel to translate the dates --- Dockerfile | 3 +- Makefile | 2 +- Pipfile | 2 +- Pipfile.lock | 32 +++++----- _kosmorro/dumper.py | 105 +++++++++++---------------------- _kosmorro/exceptions.py | 5 +- _kosmorro/locales/messages.pot | 72 +++++++++++----------- _kosmorro/main.py | 9 +-- setup.py | 1 + tests/dates.py | 8 +-- tests/general.py | 4 +- tests/position.py | 26 ++++---- tests/timezone.py | 12 ++-- tests/utils.py | 4 +- 14 files changed, 128 insertions(+), 157 deletions(-) diff --git a/Dockerfile b/Dockerfile index 49557aa..0765773 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,6 @@ COPY _kosmorro/ _kosmorro/ COPY kosmorro . # Compile the translations -RUN pip install Babel COPY setup.py setup.py COPY setup.cfg setup.cfg COPY README.md README.md @@ -27,7 +26,7 @@ RUN python setup.py compile_catalog # Clean the image RUN rm setup.py setup.cfg README.md && \ rm _kosmorro/locales/messages.pot _kosmorro/locales/*/LC_MESSAGES/messages.po && \ - pip uninstall --yes Babel pipenv + pip uninstall --yes pipenv USER kosmorro diff --git a/Makefile b/Makefile index 0b3792c..24c3637 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ tests: echo; \ fi - pipenv run python3 -m pytest tests/*.py + LANG=C pipenv run python3 -m pytest tests/*.py .PHONY: build build: manpage diff --git a/Pipfile b/Pipfile index 0d73dcc..5f4d225 100644 --- a/Pipfile +++ b/Pipfile @@ -4,7 +4,6 @@ url = "https://pypi.org/simple" verify_ssl = true [dev-packages] -babel = "*" black = "*" pytest = "*" aurornis = "*" @@ -14,6 +13,7 @@ tabulate = "*" termcolor = "*" kosmorrolib = ">=1.0.0,<2.0.0" python-dateutil = "*" +babel = ">=2.9.0,<3.0.0" [requires] python_version = "3" diff --git a/Pipfile.lock b/Pipfile.lock index 7553526..be90307 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "3ff7290b32da63ca9585dbe947830ae1d1e4692f0ca9a0faeaa3601d7f9c4b8b" + "sha256": "7c87215e821ad4c88dadc31960030f52957e2eaa41d451bfa3a53feb91b8d856" }, "pipfile-spec": 6, "requires": { @@ -16,6 +16,14 @@ ] }, "default": { + "babel": { + "hashes": [ + "sha256:ab49e12b91d937cd11f0b67cb259a57ab4ad2b59ac7a3b41d6c06c0ac5b0def9", + "sha256:bc0c176f9f6a994582230df350aa6e05ba2ebe4b3ac317eab29d9be5d2768da0" + ], + "index": "pypi", + "version": "==2.9.1" + }, "certifi": { "hashes": [ "sha256:78884e7c1d4b00ce3cea67b44566851c4343c120abd683433ce934a68ea58872", @@ -69,6 +77,13 @@ "index": "pypi", "version": "==2.8.2" }, + "pytz": { + "hashes": [ + "sha256:3672058bc3453457b622aab7a1c3bfd5ab0bdae451512f6cf25f64ed37f5b87c", + "sha256:acad2d8b20a1af07d4e4c9d2e9285c5ed9104354062f275f3fcd88dcef4f1326" + ], + "version": "==2021.3" + }, "sgp4": { "hashes": [ "sha256:05f22b4fd91861ee2e0e03a528c1aef11a8b263a60ab5f723d32cdb65dac3eaa", @@ -155,14 +170,6 @@ "index": "pypi", "version": "==1.2.0" }, - "babel": { - "hashes": [ - "sha256:ab49e12b91d937cd11f0b67cb259a57ab4ad2b59ac7a3b41d6c06c0ac5b0def9", - "sha256:bc0c176f9f6a994582230df350aa6e05ba2ebe4b3ac317eab29d9be5d2768da0" - ], - "index": "pypi", - "version": "==2.9.1" - }, "black": { "hashes": [ "sha256:07e5c049442d7ca1a2fc273c79d1aecbbf1bc858f62e8184abe1ad175c4f7cc2", @@ -263,13 +270,6 @@ "index": "pypi", "version": "==7.0.1" }, - "pytz": { - "hashes": [ - "sha256:3672058bc3453457b622aab7a1c3bfd5ab0bdae451512f6cf25f64ed37f5b87c", - "sha256:acad2d8b20a1af07d4e4c9d2e9285c5ed9104354062f275f3fcd88dcef4f1326" - ], - "version": "==2021.3" - }, "tomli": { "hashes": [ "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc", diff --git a/_kosmorro/dumper.py b/_kosmorro/dumper.py index 5838241..6758501 100644 --- a/_kosmorro/dumper.py +++ b/_kosmorro/dumper.py @@ -25,7 +25,7 @@ import subprocess import shutil from pathlib import Path -import kosmorrolib +from babel.dates import format_date, format_time from tabulate import tabulate from termcolor import colored @@ -70,7 +70,7 @@ class Dumper(ABC): self.show_graph = show_graph def get_date_as_string(self, capitalized: bool = False) -> str: - date = self.date.strftime(FULL_DATE_FORMAT) + date = format_date(self.date, "full") if capitalized: return "".join([date[0].upper(), date[1:]]) @@ -181,35 +181,21 @@ class TextDumper(Dumper): name = self.style(object_name, "th") - if ephemeris.rise_time is not None: - time_fmt = ( - TIME_FORMAT - if ephemeris.rise_time.day == self.date.day - else SHORT_DATETIME_FORMAT - ) - planet_rise = ephemeris.rise_time.strftime(time_fmt) - else: - planet_rise = "-" - - if ephemeris.culmination_time is not None: - time_fmt = ( - TIME_FORMAT - if ephemeris.culmination_time.day == self.date.day - else SHORT_DATETIME_FORMAT - ) - planet_culmination = ephemeris.culmination_time.strftime(time_fmt) - else: - planet_culmination = "-" - - if ephemeris.set_time is not None: - time_fmt = ( - TIME_FORMAT - if ephemeris.set_time.day == self.date.day - else SHORT_DATETIME_FORMAT - ) - planet_set = ephemeris.set_time.strftime(time_fmt) - else: - planet_set = "-" + planet_rise = ( + "-" + if ephemeris.rise_time is None + else format_time(ephemeris.rise_time, "short") + ) + planet_culmination = ( + "-" + if ephemeris.culmination_time is None + else format_time(ephemeris.culmination_time, "short") + ) + planet_set = ( + "-" + if ephemeris.set_time is None + else format_time(ephemeris.set_time, "short") + ) data.append([name, planet_rise, planet_culmination, planet_set]) @@ -234,14 +220,9 @@ class TextDumper(Dumper): if description is None: continue - time_fmt = ( - TIME_FORMAT - if event.start_time.day == self.date.day - else SHORT_DATETIME_FORMAT - ) data.append( [ - self.style(event.start_time.strftime(time_fmt), "th"), + self.style(format_time(event.start_time, "short"), "th"), description, ] ) @@ -262,8 +243,8 @@ class TextDumper(Dumper): "{next_moon_phase} on {next_moon_phase_date} at {next_moon_phase_time}" ).format( next_moon_phase=_(strings.from_moon_phase(moon_phase.get_next_phase())), - next_moon_phase_date=moon_phase.next_phase_date.strftime(FULL_DATE_FORMAT), - next_moon_phase_time=moon_phase.next_phase_date.strftime(TIME_FORMAT), + next_moon_phase_date=format_date(moon_phase.next_phase_date, "full"), + next_moon_phase_time=format_time(moon_phase.next_phase_date, "short"), ) return "\n".join([current_moon_phase, new_moon_phase]) @@ -384,35 +365,21 @@ class _LatexDumper(Dumper): if self.ephemerides is not None: for ephemeris in self.ephemerides: - if ephemeris.rise_time is not None: - time_fmt = ( - TIME_FORMAT - if ephemeris.rise_time.day == self.date.day - else SHORT_DATETIME_FORMAT - ) - aster_rise = ephemeris.rise_time.strftime(time_fmt) - else: - aster_rise = "-" - - if ephemeris.culmination_time is not None: - time_fmt = ( - TIME_FORMAT - if ephemeris.culmination_time.day == self.date.day - else SHORT_DATETIME_FORMAT - ) - aster_culmination = ephemeris.culmination_time.strftime(time_fmt) - else: - aster_culmination = "-" - - if ephemeris.set_time is not None: - time_fmt = ( - TIME_FORMAT - if ephemeris.set_time.day == self.date.day - else SHORT_DATETIME_FORMAT - ) - aster_set = ephemeris.set_time.strftime(time_fmt) - else: - aster_set = "-" + aster_rise = ( + "-" + if ephemeris.rise_time is None + else format_time(ephemeris.rise_time, "short") + ) + aster_culmination = ( + "-" + if ephemeris.culmination_time is None + else format_time(ephemeris.culmination_time, "short") + ) + aster_set = ( + "-" + if ephemeris.set_time is None + else format_time(ephemeris.set_time, "short") + ) if not self.show_graph: object_name = strings.from_object(ephemeris.object.identifier) @@ -476,7 +443,7 @@ class _LatexDumper(Dumper): continue latex.append( - r"\event{%s}{%s}" % (event.start_time.strftime(TIME_FORMAT), event_name) + r"\event{%s}{%s}" % (format_time(event.start_time, "short"), event_name) ) return "".join(latex) diff --git a/_kosmorro/exceptions.py b/_kosmorro/exceptions.py index 88ae9b8..25b82b8 100644 --- a/_kosmorro/exceptions.py +++ b/_kosmorro/exceptions.py @@ -17,6 +17,7 @@ # along with this program. If not, see . from datetime import date +from babel.dates import format_date from _kosmorro.i18n.utils import _, SHORT_DATE_FORMAT @@ -34,8 +35,8 @@ class OutOfRangeDateError(RuntimeError): self.msg = _( "The date must be between {minimum_date} and {maximum_date}" ).format( - minimum_date=min_date.strftime(SHORT_DATE_FORMAT), - maximum_date=max_date.strftime(SHORT_DATE_FORMAT), + minimum_date=format_date(min_date, "long"), + maximum_date=format_date(max_date, "long"), ) diff --git a/_kosmorro/locales/messages.pot b/_kosmorro/locales/messages.pot index 75ee03a..b40fd9b 100644 --- a/_kosmorro/locales/messages.pot +++ b/_kosmorro/locales/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-02-16 13:58+0100\n" +"POT-Creation-Date: 2022-03-07 16:45+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -39,64 +39,64 @@ msgstr "" msgid "Note: All the hours are given in the UTC{offset} timezone." msgstr "" -#: _kosmorro/dumper.py:219 _kosmorro/dumper.py:352 +#: _kosmorro/dumper.py:205 _kosmorro/dumper.py:333 msgid "Object" msgstr "" -#: _kosmorro/dumper.py:220 _kosmorro/dumper.py:353 +#: _kosmorro/dumper.py:206 _kosmorro/dumper.py:334 msgid "Rise time" msgstr "" -#: _kosmorro/dumper.py:221 _kosmorro/dumper.py:355 +#: _kosmorro/dumper.py:207 _kosmorro/dumper.py:336 msgid "Culmination time" msgstr "" -#: _kosmorro/dumper.py:222 _kosmorro/dumper.py:357 +#: _kosmorro/dumper.py:208 _kosmorro/dumper.py:338 msgid "Set time" msgstr "" -#: _kosmorro/dumper.py:253 +#: _kosmorro/dumper.py:234 msgid "Moon phase is unavailable for this date." msgstr "" -#: _kosmorro/dumper.py:257 _kosmorro/dumper.py:361 +#: _kosmorro/dumper.py:238 _kosmorro/dumper.py:342 msgid "Moon phase:" msgstr "" -#: _kosmorro/dumper.py:261 +#: _kosmorro/dumper.py:242 msgid "{next_moon_phase} on {next_moon_phase_date} at {next_moon_phase_time}" msgstr "" -#: _kosmorro/dumper.py:325 +#: _kosmorro/dumper.py:306 msgid "Overview of your sky" msgstr "" -#: _kosmorro/dumper.py:333 +#: _kosmorro/dumper.py:314 msgid "" "This document summarizes the ephemerides and the events of {date}. It " "aims to help you to prepare your observation session. All the hours are " "given in {timezone}." msgstr "" -#: _kosmorro/dumper.py:343 +#: _kosmorro/dumper.py:324 msgid "" "Don't forget to check the weather forecast before you go out with your " "equipment." msgstr "" -#: _kosmorro/dumper.py:350 +#: _kosmorro/dumper.py:331 msgid "Ephemerides of the day" msgstr "" -#: _kosmorro/dumper.py:359 +#: _kosmorro/dumper.py:340 msgid "hours" msgstr "" -#: _kosmorro/dumper.py:366 +#: _kosmorro/dumper.py:347 msgid "Expected events" msgstr "" -#: _kosmorro/dumper.py:520 +#: _kosmorro/dumper.py:487 msgid "" "Building PDF was not possible, because some dependencies are not " "installed.\n" @@ -104,7 +104,7 @@ msgid "" "pdf/ for more information." msgstr "" -#: _kosmorro/dumper.py:573 +#: _kosmorro/dumper.py:540 #, python-format msgid "" "An error occurred during the compilation of the PDF.\n" @@ -112,102 +112,102 @@ msgid "" "share the content of the log file at /tmp/kosmorro-%s.log" msgstr "" -#: _kosmorro/exceptions.py:34 +#: _kosmorro/exceptions.py:35 msgid "The date must be between {minimum_date} and {maximum_date}" msgstr "" -#: _kosmorro/main.py:62 +#: _kosmorro/main.py:63 msgid "" "Save the planet and paper!\n" "Consider printing your PDF document only if really necessary, and use the" " other side of the sheet." msgstr "" -#: _kosmorro/main.py:71 +#: _kosmorro/main.py:72 msgid "" "PDF output will not contain the ephemerides, because you didn't provide " "the observation coordinates." msgstr "" -#: _kosmorro/main.py:116 +#: _kosmorro/main.py:117 msgid "The file could not be saved in \"{path}\": {error}" msgstr "" -#: _kosmorro/main.py:130 +#: _kosmorro/main.py:131 msgid "Please provide a file path to export in this format (--output)." msgstr "" -#: _kosmorro/main.py:163 -msgid "Moon phase can only be displayed between {min_date} and {max_date}" +#: _kosmorro/main.py:164 +msgid "Moon phase can only be computed between {min_date} and {max_date}" msgstr "" -#: _kosmorro/main.py:202 +#: _kosmorro/main.py:203 msgid "Running on Python {python_version} with Kosmorrolib v{kosmorrolib_version}" msgstr "" -#: _kosmorro/main.py:215 +#: _kosmorro/main.py:216 msgid "" "Compute the ephemerides and the events for a given date and a given " "position on Earth." msgstr "" -#: _kosmorro/main.py:218 +#: _kosmorro/main.py:219 msgid "" "By default, only the events will be computed for today.\n" "To compute also the ephemerides, latitude and longitude arguments are " "needed." msgstr "" -#: _kosmorro/main.py:231 +#: _kosmorro/main.py:232 msgid "Show the program version" msgstr "" -#: _kosmorro/main.py:239 +#: _kosmorro/main.py:240 msgid "The format to output the information to" msgstr "" -#: _kosmorro/main.py:246 +#: _kosmorro/main.py:247 msgid "" "The observer's latitude on Earth. Can also be set in the " "KOSMORRO_LATITUDE environment variable." msgstr "" -#: _kosmorro/main.py:256 +#: _kosmorro/main.py:257 msgid "" "The observer's longitude on Earth. Can also be set in the " "KOSMORRO_LONGITUDE environment variable." msgstr "" -#: _kosmorro/main.py:266 +#: _kosmorro/main.py:267 msgid "" "The date for which the ephemerides must be calculated. Can be in the " "YYYY-MM-DD format or an interval in the \"[+-]YyMmDd\" format (with Y, M," " and D numbers). Defaults to current date." msgstr "" -#: _kosmorro/main.py:277 +#: _kosmorro/main.py:278 msgid "" "The timezone to display the hours in (e.g. 2 for UTC+2 or -3 for UTC-3). " "Can also be set in the KOSMORRO_TIMEZONE environment variable." msgstr "" -#: _kosmorro/main.py:286 +#: _kosmorro/main.py:287 msgid "Disable the colors in the console." msgstr "" -#: _kosmorro/main.py:293 +#: _kosmorro/main.py:294 msgid "" "A file to export the output to. If not given, the standard output is " "used. This argument is needed for PDF format." msgstr "" -#: _kosmorro/main.py:302 +#: _kosmorro/main.py:303 msgid "" "Do not generate a graph to represent the rise and set times in the PDF " "format." msgstr "" -#: _kosmorro/main.py:310 +#: _kosmorro/main.py:311 msgid "Show debugging messages" msgstr "" diff --git a/_kosmorro/main.py b/_kosmorro/main.py index 6b36682..18bd52f 100644 --- a/_kosmorro/main.py +++ b/_kosmorro/main.py @@ -19,6 +19,7 @@ import argparse import sys +from babel.dates import format_date from kosmorrolib import Position, get_ephemerides, get_events, get_moon_phase from kosmorrolib.__version__ import __version__ as kosmorrolib_version from kosmorrolib.exceptions import OutOfRangeDateError @@ -161,10 +162,10 @@ def get_information( print( colored( _( - "Moon phase can only be displayed between {min_date} and {max_date}" + "Moon phase can only be computed between {min_date} and {max_date}" ).format( - min_date=error.min_date.strftime(SHORT_DATE_FORMAT), - max_date=error.max_date.strftime(SHORT_DATE_FORMAT), + min_date=format_date(error.min_date, "long"), + max_date=format_date(error.max_date, "long"), ), "yellow", ) @@ -218,7 +219,7 @@ def get_args(output_formats: [str]): epilog=_( "By default, only the events will be computed for today.\n" "To compute also the ephemerides, latitude and longitude arguments are needed." - ).format(date=today.strftime(dumper.FULL_DATE_FORMAT)), + ), ) parser.add_argument( diff --git a/setup.py b/setup.py index ee01c8f..8cafe4f 100644 --- a/setup.py +++ b/setup.py @@ -47,6 +47,7 @@ setup( "tabulate", "termcolor", "python-dateutil", + "babel", ], classifiers=[ "Development Status :: 3 - Alpha", diff --git a/tests/dates.py b/tests/dates.py index fc7ccaf..2e6f0a9 100644 --- a/tests/dates.py +++ b/tests/dates.py @@ -10,13 +10,13 @@ def test_with_date(): assert ( result.stdout - == """Monday January 27, 2020 + == """Monday, January 27, 2020 Moon phase: New Moon -First Quarter on Sunday February 02, 2020 at 01:41 +First Quarter on Sunday, February 2, 2020 at 1:41 AM Expected events: -20:00 Venus and Neptune are in conjunction +8:00 PM Venus and Neptune are in conjunction Note: All the hours are given in UTC. """ @@ -48,5 +48,5 @@ def test_with_out_of_range_dates(): assert not result.is_successful() assert ( result.stdout - == "Moon phase can only be displayed between Aug 09, 1899 and Sep 26, 2053\n" + == "Moon phase can only be computed between August 9, 1899 and September 26, 2053\n" ) diff --git a/tests/general.py b/tests/general.py index d2cf96f..c7f8462 100644 --- a/tests/general.py +++ b/tests/general.py @@ -8,6 +8,7 @@ from .utils import ( NEXT_MOON_PHASE_PATTERN, ) from datetime import date +from babel.dates import format_date def test_run_without_argument(): @@ -15,9 +16,10 @@ def test_run_without_argument(): assert result.is_successful() stdout = result.stdout.split("\n") + print(stdout) # It always starts with the current date, an empty line and the current and next Moon date: - assert stdout[0] == date.today().strftime("%A %B %d, %Y") + assert stdout[0] == format_date(date.today(), "full") assert stdout[1] == "" assert CURRENT_MOON_PHASE_PATTERN.match(stdout[2]) assert NEXT_MOON_PHASE_PATTERN.match(stdout[3]) diff --git a/tests/position.py b/tests/position.py index 918f87b..1912d1a 100644 --- a/tests/position.py +++ b/tests/position.py @@ -10,26 +10,26 @@ def check_command_return(result): assert result.is_successful() assert ( result.stdout - == """Monday January 27, 2020 + == """Monday, January 27, 2020 Object Rise time Culmination time Set time -------- ----------- ------------------ ---------- -Sun 07:31 12:01 16:30 -Moon 09:06 14:09 19:13 -Mercury 08:10 12:49 17:28 -Venus 09:01 14:35 20:10 -Mars 04:19 08:23 12:28 -Jupiter 06:15 10:18 14:21 -Saturn 06:56 11:09 15:22 -Uranus 10:21 17:25 00:33 -Neptune 09:01 14:36 20:10 -Pluto 06:57 11:04 15:11 +Sun 7:31 AM 12:01 PM 4:30 PM +Moon 9:06 AM 2:09 PM 7:13 PM +Mercury 8:10 AM 12:49 PM 5:28 PM +Venus 9:01 AM 2:35 PM 8:10 PM +Mars 4:19 AM 8:23 AM 12:28 PM +Jupiter 6:15 AM 10:18 AM 2:21 PM +Saturn 6:56 AM 11:09 AM 3:22 PM +Uranus 10:21 AM 5:25 PM 12:33 AM +Neptune 9:01 AM 2:36 PM 8:10 PM +Pluto 6:57 AM 11:04 AM 3:11 PM Moon phase: New Moon -First Quarter on Sunday February 02, 2020 at 01:41 +First Quarter on Sunday, February 2, 2020 at 1:41 AM Expected events: -20:00 Venus and Neptune are in conjunction +8:00 PM Venus and Neptune are in conjunction Note: All the hours are given in UTC. """ diff --git a/tests/timezone.py b/tests/timezone.py index e7e8c80..4972fd4 100644 --- a/tests/timezone.py +++ b/tests/timezone.py @@ -10,13 +10,13 @@ def check_command_return_t_plus_one(result): assert result.is_successful() assert ( result.stdout - == """Monday January 27, 2020 + == """Monday, January 27, 2020 Moon phase: New Moon -First Quarter on Sunday February 02, 2020 at 02:41 +First Quarter on Sunday, February 2, 2020 at 2:41 AM Expected events: -21:00 Venus and Neptune are in conjunction +9:00 PM Venus and Neptune are in conjunction Note: All the hours are given in the UTC+1 timezone. """ @@ -27,13 +27,13 @@ def check_command_return_t_minus_one(result): assert result.is_successful() assert ( result.stdout - == """Monday January 27, 2020 + == """Monday, January 27, 2020 Moon phase: New Moon -First Quarter on Sunday February 02, 2020 at 00:41 +First Quarter on Sunday, February 2, 2020 at 12:41 AM Expected events: -19:00 Venus and Neptune are in conjunction +7:00 PM Venus and Neptune are in conjunction Note: All the hours are given in the UTC-1 timezone. """ diff --git a/tests/utils.py b/tests/utils.py index 38373d8..2264f9f 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -24,10 +24,10 @@ NEXT_MOON_PHASE_PATTERN = re.compile( r"(Full Moon)|(Waning Gibbous)|" r"(Last Quarter)|(Waning Crescent)" r") " - r"on ((Monday)|(Tuesday)|(Wednesday)|(Thursday)|(Friday)|(Saturday)|(Sunday)) " + r"on ((Monday)|(Tuesday)|(Wednesday)|(Thursday)|(Friday)|(Saturday)|(Sunday)), " r"((January)|(February)|(March)|(April)|(May)|(June)|" r"(July)|(August)|(September)|(October)|(November)|(December)) " - r"[0-9]{2}, [0-9]{4} at [0-9]{2}:[0-9]{2}$" + r"[0-9]{1,2}, [0-9]{4} at [0-9]{2}:[0-9]{2} [AP]M$" ) From 64da5235a57f3260cfee2c3782f85d4ca69c700c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Tue, 8 Mar 2022 10:34:37 +0100 Subject: [PATCH 08/55] misc: stand with Ukraine --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index cda4da3..2b51ec3 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@ A program that calculates your astronomical ephemerides! +[![Stand with Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md) + ## Installation ### Production environment From 92c46a565f8301ac4f033a8e662cff06b358c06f Mon Sep 17 00:00:00 2001 From: Hosted Weblate Date: Sat, 4 Dec 2021 12:01:24 +0100 Subject: [PATCH 09/55] chore(i18n): update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translations are welcome at https://hosted.weblate.org/projects/kosmorro/cli/ --- _kosmorro/locales/de/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/en_XA/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/es/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/fr/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/nb_NO/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/nl/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/ru/LC_MESSAGES/messages.po | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/_kosmorro/locales/de/LC_MESSAGES/messages.po b/_kosmorro/locales/de/LC_MESSAGES/messages.po index 3bcf3fb..4c1a1f3 100644 --- a/_kosmorro/locales/de/LC_MESSAGES/messages.po +++ b/_kosmorro/locales/de/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-11-20 12:12+0100\n" +"POT-Creation-Date: 2021-12-04 11:58+0100\n" "PO-Revision-Date: 2021-06-22 08:33+0000\n" "Last-Translator: Jérôme Deuchnord \n" "Language-Team: German \n" "Language-Team: English (XA pseudolocale) \n" "Language-Team: Spanish \n" "Language-Team: French \n" "Language-Team: Norwegian Bokmål \n" "Language-Team: Dutch \n" diff --git a/_kosmorro/locales/ru/LC_MESSAGES/messages.po b/_kosmorro/locales/ru/LC_MESSAGES/messages.po index bc1aea9..67d074a 100644 --- a/_kosmorro/locales/ru/LC_MESSAGES/messages.po +++ b/_kosmorro/locales/ru/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-11-20 12:12+0100\n" +"POT-Creation-Date: 2021-12-04 11:58+0100\n" "PO-Revision-Date: 2021-07-30 10:33+0000\n" "Last-Translator: Stalone \n" "Language-Team: Russian Date: Sat, 1 Jan 2022 17:14:58 +0100 Subject: [PATCH 10/55] chore(i18n): update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translations are welcome at https://hosted.weblate.org/projects/kosmorro/cli/ --- _kosmorro/locales/de/LC_MESSAGES/messages.po | 38 +++++++++---------- .../locales/en_XA/LC_MESSAGES/messages.po | 38 +++++++++---------- _kosmorro/locales/es/LC_MESSAGES/messages.po | 38 +++++++++---------- _kosmorro/locales/fr/LC_MESSAGES/messages.po | 38 +++++++++---------- .../locales/nb_NO/LC_MESSAGES/messages.po | 38 +++++++++---------- _kosmorro/locales/nl/LC_MESSAGES/messages.po | 38 +++++++++---------- _kosmorro/locales/ru/LC_MESSAGES/messages.po | 38 +++++++++---------- 7 files changed, 133 insertions(+), 133 deletions(-) diff --git a/_kosmorro/locales/de/LC_MESSAGES/messages.po b/_kosmorro/locales/de/LC_MESSAGES/messages.po index 4c1a1f3..04dcde5 100644 --- a/_kosmorro/locales/de/LC_MESSAGES/messages.po +++ b/_kosmorro/locales/de/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-12-04 11:58+0100\n" +"POT-Creation-Date: 2021-12-30 12:15+0100\n" "PO-Revision-Date: 2021-06-22 08:33+0000\n" "Last-Translator: Jérôme Deuchnord \n" "Language-Team: German \n" "Language-Team: English (XA pseudolocale) \n" "Language-Team: Spanish \n" "Language-Team: French \n" "Language-Team: Norwegian Bokmål \n" "Language-Team: Dutch \n" @@ -135,7 +135,7 @@ msgstr "" msgid "The date must be between {minimum_date} and {maximum_date}" msgstr "De datum moet zijn tussen {minimum_date} en {maximum_date}" -#: _kosmorro/main.py:62 +#: _kosmorro/main.py:60 #, fuzzy msgid "" "Save the planet and paper!\n" @@ -146,7 +146,7 @@ msgstr "" "Overweeg om uw PDF-document alleen af te drukken als het echt nodig is, en " "gebruik de andere kant van het vel." -#: _kosmorro/main.py:71 +#: _kosmorro/main.py:69 #, fuzzy msgid "" "PDF output will not contain the ephemerides, because you didn't provide the " @@ -155,26 +155,26 @@ msgstr "" "PDF-uitvoer bevat de efemeriden niet, omdat u de observatiecoördinaat niet " "hebt opgegeven." -#: _kosmorro/main.py:116 +#: _kosmorro/main.py:114 #, fuzzy msgid "The file could not be saved in \"{path}\": {error}" msgstr "Kan de uitvoer niet opslaan in \"{path}\": {error}" -#: _kosmorro/main.py:130 +#: _kosmorro/main.py:128 msgid "Please provide a file path to export in this format (--output)." msgstr "Geef een bestandspad op om in deze indeling te exporteren (--output)." -#: _kosmorro/main.py:163 +#: _kosmorro/main.py:161 msgid "Moon phase can only be displayed between {min_date} and {max_date}" msgstr "Maanfase kan alleen worden weergegeven tussen {min_date} en {max_date}" -#: _kosmorro/main.py:202 +#: _kosmorro/main.py:200 #, fuzzy msgid "" "Running on Python {python_version} with Kosmorrolib v{kosmorrolib_version}" msgstr "Draait op Python {python_version}" -#: _kosmorro/main.py:215 +#: _kosmorro/main.py:213 msgid "" "Compute the ephemerides and the events for a given date and a given position " "on Earth." @@ -182,7 +182,7 @@ msgstr "" "Bereken de efemeriden en de gebeurtenissen voor een bepaalde datum en een " "bepaalde positie op aarde." -#: _kosmorro/main.py:218 +#: _kosmorro/main.py:216 msgid "" "By default, only the events will be computed for today ({date}).\n" "To compute also the ephemerides, latitude and longitude arguments are needed." @@ -191,16 +191,16 @@ msgstr "" "Om ook de efemeriden te berekenen, zijn latitude- en longitude-argumenten " "nodig." -#: _kosmorro/main.py:232 +#: _kosmorro/main.py:230 msgid "Show the program version" msgstr "Toon de programmaversie" -#: _kosmorro/main.py:240 +#: _kosmorro/main.py:238 #, fuzzy msgid "The format to output the information to" msgstr "Het uitvoerformaat van de informatie" -#: _kosmorro/main.py:247 +#: _kosmorro/main.py:245 msgid "" "The observer's latitude on Earth. Can also be set in the KOSMORRO_LATITUDE " "environment variable." @@ -208,7 +208,7 @@ msgstr "" "De breedtegraad van de waarnemer op aarde. Kan ook worden ingesteld in de " "omgevingsvariabele KOSMORRO_LATITUDE." -#: _kosmorro/main.py:257 +#: _kosmorro/main.py:255 msgid "" "The observer's longitude on Earth. Can also be set in the KOSMORRO_LONGITUDE " "environment variable." @@ -216,7 +216,7 @@ msgstr "" "De lengtegraad van de waarnemer op aarde. Kan ook worden ingesteld in de " "omgevingsvariabele KOSMORRO_LONGITUDE." -#: _kosmorro/main.py:267 +#: _kosmorro/main.py:265 msgid "" "The date for which the ephemerides must be calculated. Can be in the YYYY-MM-" "DD format or an interval in the \"[+-]YyMmDd\" format (with Y, M, and D " @@ -226,7 +226,7 @@ msgstr "" "MM-DD hebben of een interval in de indeling \"[+-]YyMmDd\" (met Y-, M- en D-" "nummers). Standaard ingesteld op vandaag ({default_date})." -#: _kosmorro/main.py:278 +#: _kosmorro/main.py:276 msgid "" "The timezone to display the hours in (e.g. 2 for UTC+2 or -3 for UTC-3). Can " "also be set in the KOSMORRO_TIMEZONE environment variable." @@ -235,11 +235,11 @@ msgstr "" "-3 voor UTC-3). Kan ook worden ingesteld in de omgevingsvariabele " "KOSMORRO_TIMEZONE." -#: _kosmorro/main.py:287 +#: _kosmorro/main.py:285 msgid "Disable the colors in the console." msgstr "Schakel de kleuren in de console uit." -#: _kosmorro/main.py:294 +#: _kosmorro/main.py:292 msgid "" "A file to export the output to. If not given, the standard output is used. " "This argument is needed for PDF format." @@ -247,7 +247,7 @@ msgstr "" "Een bestand om de uitvoer naar te exporteren. Indien niet opgegeven, wordt " "de standaarduitvoer gebruikt. Dit argument is nodig voor het pdf-formaat." -#: _kosmorro/main.py:303 +#: _kosmorro/main.py:301 #, fuzzy msgid "" "Do not generate a graph to represent the rise and set times in the PDF " @@ -256,7 +256,7 @@ msgstr "" "Genereer geen grafiek om de opkomst- en ondergangstijden in PDF-formaat weer " "te geven." -#: _kosmorro/main.py:311 +#: _kosmorro/main.py:309 msgid "Show debugging messages" msgstr "Foutopsporingsberichten weergeven" diff --git a/_kosmorro/locales/ru/LC_MESSAGES/messages.po b/_kosmorro/locales/ru/LC_MESSAGES/messages.po index 67d074a..9e1bc04 100644 --- a/_kosmorro/locales/ru/LC_MESSAGES/messages.po +++ b/_kosmorro/locales/ru/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-12-04 11:58+0100\n" +"POT-Creation-Date: 2021-12-30 12:15+0100\n" "PO-Revision-Date: 2021-07-30 10:33+0000\n" "Last-Translator: Stalone \n" "Language-Team: Russian Date: Sun, 2 Jan 2022 13:59:06 +0100 Subject: [PATCH 11/55] chore(i18n): update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translations are welcome at https://hosted.weblate.org/projects/kosmorro/cli/ --- _kosmorro/locales/de/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/en_XA/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/es/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/fr/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/nb_NO/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/nl/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/ru/LC_MESSAGES/messages.po | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/_kosmorro/locales/de/LC_MESSAGES/messages.po b/_kosmorro/locales/de/LC_MESSAGES/messages.po index 04dcde5..44355c7 100644 --- a/_kosmorro/locales/de/LC_MESSAGES/messages.po +++ b/_kosmorro/locales/de/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-12-30 12:15+0100\n" +"POT-Creation-Date: 2022-01-02 13:20+0100\n" "PO-Revision-Date: 2021-06-22 08:33+0000\n" "Last-Translator: Jérôme Deuchnord \n" "Language-Team: German \n" "Language-Team: English (XA pseudolocale) \n" "Language-Team: Spanish \n" "Language-Team: French \n" "Language-Team: Norwegian Bokmål \n" "Language-Team: Dutch \n" diff --git a/_kosmorro/locales/ru/LC_MESSAGES/messages.po b/_kosmorro/locales/ru/LC_MESSAGES/messages.po index 9e1bc04..87f230b 100644 --- a/_kosmorro/locales/ru/LC_MESSAGES/messages.po +++ b/_kosmorro/locales/ru/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2021-12-30 12:15+0100\n" +"POT-Creation-Date: 2022-01-02 13:20+0100\n" "PO-Revision-Date: 2021-07-30 10:33+0000\n" "Last-Translator: Stalone \n" "Language-Team: Russian Date: Mon, 10 Jan 2022 09:29:10 +0100 Subject: [PATCH 12/55] chore(i18n): update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translations are welcome at https://hosted.weblate.org/projects/kosmorro/cli/ --- _kosmorro/locales/de/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/en_XA/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/es/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/fr/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/nb_NO/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/nl/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/ru/LC_MESSAGES/messages.po | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/_kosmorro/locales/de/LC_MESSAGES/messages.po b/_kosmorro/locales/de/LC_MESSAGES/messages.po index 44355c7..8d01b78 100644 --- a/_kosmorro/locales/de/LC_MESSAGES/messages.po +++ b/_kosmorro/locales/de/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-01-02 13:20+0100\n" +"POT-Creation-Date: 2022-01-10 09:26+0100\n" "PO-Revision-Date: 2021-06-22 08:33+0000\n" "Last-Translator: Jérôme Deuchnord \n" "Language-Team: German \n" "Language-Team: English (XA pseudolocale) \n" "Language-Team: Spanish \n" "Language-Team: French \n" "Language-Team: Norwegian Bokmål \n" "Language-Team: Dutch \n" diff --git a/_kosmorro/locales/ru/LC_MESSAGES/messages.po b/_kosmorro/locales/ru/LC_MESSAGES/messages.po index 87f230b..11d1294 100644 --- a/_kosmorro/locales/ru/LC_MESSAGES/messages.po +++ b/_kosmorro/locales/ru/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-01-02 13:20+0100\n" +"POT-Creation-Date: 2022-01-10 09:26+0100\n" "PO-Revision-Date: 2021-07-30 10:33+0000\n" "Last-Translator: Stalone \n" "Language-Team: Russian Date: Wed, 12 Jan 2022 08:54:25 +0100 Subject: [PATCH 13/55] chore(i18n): update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translations are welcome at https://hosted.weblate.org/projects/kosmorro/cli/ --- _kosmorro/locales/de/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/en_XA/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/es/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/fr/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/nb_NO/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/nl/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/ru/LC_MESSAGES/messages.po | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/_kosmorro/locales/de/LC_MESSAGES/messages.po b/_kosmorro/locales/de/LC_MESSAGES/messages.po index 8d01b78..138114b 100644 --- a/_kosmorro/locales/de/LC_MESSAGES/messages.po +++ b/_kosmorro/locales/de/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-01-10 09:26+0100\n" +"POT-Creation-Date: 2022-01-12 08:53+0100\n" "PO-Revision-Date: 2021-06-22 08:33+0000\n" "Last-Translator: Jérôme Deuchnord \n" "Language-Team: German \n" "Language-Team: English (XA pseudolocale) \n" "Language-Team: Spanish \n" "Language-Team: French \n" "Language-Team: Norwegian Bokmål \n" "Language-Team: Dutch \n" diff --git a/_kosmorro/locales/ru/LC_MESSAGES/messages.po b/_kosmorro/locales/ru/LC_MESSAGES/messages.po index 11d1294..b09d821 100644 --- a/_kosmorro/locales/ru/LC_MESSAGES/messages.po +++ b/_kosmorro/locales/ru/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-01-10 09:26+0100\n" +"POT-Creation-Date: 2022-01-12 08:53+0100\n" "PO-Revision-Date: 2021-07-30 10:33+0000\n" "Last-Translator: Stalone \n" "Language-Team: Russian Date: Wed, 12 Jan 2022 14:11:38 +0100 Subject: [PATCH 14/55] chore(i18n): update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translations are welcome at https://hosted.weblate.org/projects/kosmorro/cli/ --- _kosmorro/locales/de/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/en_XA/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/es/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/fr/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/nb_NO/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/nl/LC_MESSAGES/messages.po | 2 +- _kosmorro/locales/ru/LC_MESSAGES/messages.po | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/_kosmorro/locales/de/LC_MESSAGES/messages.po b/_kosmorro/locales/de/LC_MESSAGES/messages.po index 138114b..929bd34 100644 --- a/_kosmorro/locales/de/LC_MESSAGES/messages.po +++ b/_kosmorro/locales/de/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-01-12 08:53+0100\n" +"POT-Creation-Date: 2022-01-12 13:59+0100\n" "PO-Revision-Date: 2021-06-22 08:33+0000\n" "Last-Translator: Jérôme Deuchnord \n" "Language-Team: German \n" "Language-Team: English (XA pseudolocale) \n" "Language-Team: Spanish \n" "Language-Team: French \n" "Language-Team: Norwegian Bokmål \n" "Language-Team: Dutch \n" diff --git a/_kosmorro/locales/ru/LC_MESSAGES/messages.po b/_kosmorro/locales/ru/LC_MESSAGES/messages.po index b09d821..e0e0385 100644 --- a/_kosmorro/locales/ru/LC_MESSAGES/messages.po +++ b/_kosmorro/locales/ru/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-01-12 08:53+0100\n" +"POT-Creation-Date: 2022-01-12 13:59+0100\n" "PO-Revision-Date: 2021-07-30 10:33+0000\n" "Last-Translator: Stalone \n" "Language-Team: Russian Date: Sat, 5 Feb 2022 10:18:28 +0100 Subject: [PATCH 15/55] chore(i18n): update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translations are welcome at https://hosted.weblate.org/projects/kosmorro/cli/ --- _kosmorro/locales/de/LC_MESSAGES/messages.po | 38 +++++++++---------- .../locales/en_XA/LC_MESSAGES/messages.po | 38 +++++++++---------- _kosmorro/locales/es/LC_MESSAGES/messages.po | 38 +++++++++---------- _kosmorro/locales/fr/LC_MESSAGES/messages.po | 38 +++++++++---------- .../locales/nb_NO/LC_MESSAGES/messages.po | 38 +++++++++---------- _kosmorro/locales/nl/LC_MESSAGES/messages.po | 38 +++++++++---------- _kosmorro/locales/ru/LC_MESSAGES/messages.po | 38 +++++++++---------- 7 files changed, 133 insertions(+), 133 deletions(-) diff --git a/_kosmorro/locales/de/LC_MESSAGES/messages.po b/_kosmorro/locales/de/LC_MESSAGES/messages.po index 929bd34..ec2e9d6 100644 --- a/_kosmorro/locales/de/LC_MESSAGES/messages.po +++ b/_kosmorro/locales/de/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-01-12 13:59+0100\n" +"POT-Creation-Date: 2022-02-04 13:30+0100\n" "PO-Revision-Date: 2021-06-22 08:33+0000\n" "Last-Translator: Jérôme Deuchnord \n" "Language-Team: German \n" "Language-Team: English (XA pseudolocale) \n" "Language-Team: Spanish \n" "Language-Team: French \n" "Language-Team: Norwegian Bokmål \n" "Language-Team: Dutch \n" @@ -32,54 +32,54 @@ msgstr "" "De datum {date} komt niet overeen met het vereiste JJJJ-MM-DD-formaat of het " "offset-formaat." -#: _kosmorro/dumper.py:120 +#: _kosmorro/dumper.py:137 msgid "Expected events:" msgstr "Verwachte evenementen:" -#: _kosmorro/dumper.py:127 +#: _kosmorro/dumper.py:144 msgid "Note: All the hours are given in UTC." msgstr "Opmerking: alle uren worden gegeven in UTC." -#: _kosmorro/dumper.py:134 +#: _kosmorro/dumper.py:151 msgid "Note: All the hours are given in the UTC{offset} timezone." msgstr "Opmerking: alle uren worden gegeven in de UTC{offset} tijdzone." -#: _kosmorro/dumper.py:202 _kosmorro/dumper.py:335 +#: _kosmorro/dumper.py:219 _kosmorro/dumper.py:352 msgid "Object" msgstr "Object" -#: _kosmorro/dumper.py:203 _kosmorro/dumper.py:336 +#: _kosmorro/dumper.py:220 _kosmorro/dumper.py:353 #, fuzzy msgid "Rise time" msgstr "Opgang tijd" -#: _kosmorro/dumper.py:204 _kosmorro/dumper.py:338 +#: _kosmorro/dumper.py:221 _kosmorro/dumper.py:355 #, fuzzy msgid "Culmination time" msgstr "Culminatie tijd" -#: _kosmorro/dumper.py:205 _kosmorro/dumper.py:340 +#: _kosmorro/dumper.py:222 _kosmorro/dumper.py:357 #, fuzzy msgid "Set time" msgstr "Ondergang tijd" -#: _kosmorro/dumper.py:236 +#: _kosmorro/dumper.py:253 msgid "Moon phase is unavailable for this date." msgstr "Maanfase is niet beschikbaar voor deze datum." -#: _kosmorro/dumper.py:240 _kosmorro/dumper.py:344 +#: _kosmorro/dumper.py:257 _kosmorro/dumper.py:361 msgid "Moon phase:" msgstr "Maanfase:" -#: _kosmorro/dumper.py:244 +#: _kosmorro/dumper.py:261 msgid "{next_moon_phase} on {next_moon_phase_date} at {next_moon_phase_time}" msgstr "{next_moon_phase} op {next_moon_phase_date} om {next_moon_phase_time}" -#: _kosmorro/dumper.py:308 +#: _kosmorro/dumper.py:325 msgid "Overview of your sky" msgstr "Overzicht van uw hemel" -#: _kosmorro/dumper.py:316 +#: _kosmorro/dumper.py:333 msgid "" "This document summarizes the ephemerides and the events of {date}. It aims " "to help you to prepare your observation session. All the hours are given in " @@ -89,7 +89,7 @@ msgstr "" "bedoeld om u te helpen bij het voorbereiden van uw observatiesessie. Alle " "uren worden gegeven in {timezone}." -#: _kosmorro/dumper.py:326 +#: _kosmorro/dumper.py:343 msgid "" "Don't forget to check the weather forecast before you go out with your " "equipment." @@ -97,19 +97,19 @@ msgstr "" "Vergeet niet de weersvoorspelling te checken voordat je eropuit gaat met je " "uitrusting." -#: _kosmorro/dumper.py:333 +#: _kosmorro/dumper.py:350 msgid "Ephemerides of the day" msgstr "Efemeriden van de dag" -#: _kosmorro/dumper.py:342 +#: _kosmorro/dumper.py:359 msgid "hours" msgstr "uren" -#: _kosmorro/dumper.py:349 +#: _kosmorro/dumper.py:366 msgid "Expected events" msgstr "Verwachte events" -#: _kosmorro/dumper.py:503 +#: _kosmorro/dumper.py:520 #, fuzzy msgid "" "Building PDF was not possible, because some dependencies are not installed.\n" @@ -120,7 +120,7 @@ msgstr "" "zijn geïnstalleerd.\n" "Raadpleeg de documentatie op http://kosmorro.space voor meer informatie." -#: _kosmorro/dumper.py:556 +#: _kosmorro/dumper.py:573 #, python-format msgid "" "An error occurred during the compilation of the PDF.\n" diff --git a/_kosmorro/locales/ru/LC_MESSAGES/messages.po b/_kosmorro/locales/ru/LC_MESSAGES/messages.po index e0e0385..a4fdbfa 100644 --- a/_kosmorro/locales/ru/LC_MESSAGES/messages.po +++ b/_kosmorro/locales/ru/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-01-12 13:59+0100\n" +"POT-Creation-Date: 2022-02-04 13:30+0100\n" "PO-Revision-Date: 2021-07-30 10:33+0000\n" "Last-Translator: Stalone \n" "Language-Team: Russian Date: Sun, 27 Feb 2022 10:27:33 +0100 Subject: [PATCH 16/55] chore(i18n): update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translations are welcome at https://hosted.weblate.org/projects/kosmorro/cli/ --- _kosmorro/locales/de/LC_MESSAGES/messages.po | 52 +++++++++++-------- .../locales/en_XA/LC_MESSAGES/messages.po | 52 +++++++++++-------- _kosmorro/locales/es/LC_MESSAGES/messages.po | 47 +++++++++-------- _kosmorro/locales/fr/LC_MESSAGES/messages.po | 52 +++++++++++-------- .../locales/nb_NO/LC_MESSAGES/messages.po | 42 +++++++-------- _kosmorro/locales/nl/LC_MESSAGES/messages.po | 52 +++++++++++-------- _kosmorro/locales/ru/LC_MESSAGES/messages.po | 42 +++++++-------- 7 files changed, 192 insertions(+), 147 deletions(-) diff --git a/_kosmorro/locales/de/LC_MESSAGES/messages.po b/_kosmorro/locales/de/LC_MESSAGES/messages.po index ec2e9d6..ba79b87 100644 --- a/_kosmorro/locales/de/LC_MESSAGES/messages.po +++ b/_kosmorro/locales/de/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-02-04 13:30+0100\n" +"POT-Creation-Date: 2022-02-16 13:58+0100\n" "PO-Revision-Date: 2021-06-22 08:33+0000\n" "Last-Translator: Jérôme Deuchnord \n" "Language-Team: German \n" "Language-Team: English (XA pseudolocale) \n" "Language-Team: Spanish \n" "Language-Team: French \n" "Language-Team: Norwegian Bokmål \n" "Language-Team: Dutch \n" @@ -135,7 +135,7 @@ msgstr "" msgid "The date must be between {minimum_date} and {maximum_date}" msgstr "De datum moet zijn tussen {minimum_date} en {maximum_date}" -#: _kosmorro/main.py:60 +#: _kosmorro/main.py:62 #, fuzzy msgid "" "Save the planet and paper!\n" @@ -146,7 +146,7 @@ msgstr "" "Overweeg om uw PDF-document alleen af te drukken als het echt nodig is, en " "gebruik de andere kant van het vel." -#: _kosmorro/main.py:69 +#: _kosmorro/main.py:71 #, fuzzy msgid "" "PDF output will not contain the ephemerides, because you didn't provide the " @@ -155,26 +155,26 @@ msgstr "" "PDF-uitvoer bevat de efemeriden niet, omdat u de observatiecoördinaat niet " "hebt opgegeven." -#: _kosmorro/main.py:114 +#: _kosmorro/main.py:116 #, fuzzy msgid "The file could not be saved in \"{path}\": {error}" msgstr "Kan de uitvoer niet opslaan in \"{path}\": {error}" -#: _kosmorro/main.py:128 +#: _kosmorro/main.py:130 msgid "Please provide a file path to export in this format (--output)." msgstr "Geef een bestandspad op om in deze indeling te exporteren (--output)." -#: _kosmorro/main.py:161 +#: _kosmorro/main.py:163 msgid "Moon phase can only be displayed between {min_date} and {max_date}" msgstr "Maanfase kan alleen worden weergegeven tussen {min_date} en {max_date}" -#: _kosmorro/main.py:200 +#: _kosmorro/main.py:202 #, fuzzy msgid "" "Running on Python {python_version} with Kosmorrolib v{kosmorrolib_version}" msgstr "Draait op Python {python_version}" -#: _kosmorro/main.py:213 +#: _kosmorro/main.py:215 msgid "" "Compute the ephemerides and the events for a given date and a given position " "on Earth." @@ -182,25 +182,30 @@ msgstr "" "Bereken de efemeriden en de gebeurtenissen voor een bepaalde datum en een " "bepaalde positie op aarde." -#: _kosmorro/main.py:216 +#: _kosmorro/main.py:218 +#, fuzzy +#| msgid "" +#| "By default, only the events will be computed for today ({date}).\n" +#| "To compute also the ephemerides, latitude and longitude arguments are " +#| "needed." msgid "" -"By default, only the events will be computed for today ({date}).\n" +"By default, only the events will be computed for today.\n" "To compute also the ephemerides, latitude and longitude arguments are needed." msgstr "" "Standaard worden alleen de gebeurtenissen voor vandaag ({date}) berekend.\n" "Om ook de efemeriden te berekenen, zijn latitude- en longitude-argumenten " "nodig." -#: _kosmorro/main.py:230 +#: _kosmorro/main.py:231 msgid "Show the program version" msgstr "Toon de programmaversie" -#: _kosmorro/main.py:238 +#: _kosmorro/main.py:239 #, fuzzy msgid "The format to output the information to" msgstr "Het uitvoerformaat van de informatie" -#: _kosmorro/main.py:245 +#: _kosmorro/main.py:246 msgid "" "The observer's latitude on Earth. Can also be set in the KOSMORRO_LATITUDE " "environment variable." @@ -208,7 +213,7 @@ msgstr "" "De breedtegraad van de waarnemer op aarde. Kan ook worden ingesteld in de " "omgevingsvariabele KOSMORRO_LATITUDE." -#: _kosmorro/main.py:255 +#: _kosmorro/main.py:256 msgid "" "The observer's longitude on Earth. Can also be set in the KOSMORRO_LONGITUDE " "environment variable." @@ -216,17 +221,22 @@ msgstr "" "De lengtegraad van de waarnemer op aarde. Kan ook worden ingesteld in de " "omgevingsvariabele KOSMORRO_LONGITUDE." -#: _kosmorro/main.py:265 +#: _kosmorro/main.py:266 +#, fuzzy +#| msgid "" +#| "The date for which the ephemerides must be calculated. Can be in the YYYY-" +#| "MM-DD format or an interval in the \"[+-]YyMmDd\" format (with Y, M, and " +#| "D numbers). Defaults to today ({default_date})." msgid "" "The date for which the ephemerides must be calculated. Can be in the YYYY-MM-" "DD format or an interval in the \"[+-]YyMmDd\" format (with Y, M, and D " -"numbers). Defaults to today ({default_date})." +"numbers). Defaults to current date." msgstr "" "De datum waarvoor de efemeriden berekend moeten worden. Kan de indeling JJJJ-" "MM-DD hebben of een interval in de indeling \"[+-]YyMmDd\" (met Y-, M- en D-" "nummers). Standaard ingesteld op vandaag ({default_date})." -#: _kosmorro/main.py:276 +#: _kosmorro/main.py:277 msgid "" "The timezone to display the hours in (e.g. 2 for UTC+2 or -3 for UTC-3). Can " "also be set in the KOSMORRO_TIMEZONE environment variable." @@ -235,11 +245,11 @@ msgstr "" "-3 voor UTC-3). Kan ook worden ingesteld in de omgevingsvariabele " "KOSMORRO_TIMEZONE." -#: _kosmorro/main.py:285 +#: _kosmorro/main.py:286 msgid "Disable the colors in the console." msgstr "Schakel de kleuren in de console uit." -#: _kosmorro/main.py:292 +#: _kosmorro/main.py:293 msgid "" "A file to export the output to. If not given, the standard output is used. " "This argument is needed for PDF format." @@ -247,7 +257,7 @@ msgstr "" "Een bestand om de uitvoer naar te exporteren. Indien niet opgegeven, wordt " "de standaarduitvoer gebruikt. Dit argument is nodig voor het pdf-formaat." -#: _kosmorro/main.py:301 +#: _kosmorro/main.py:302 #, fuzzy msgid "" "Do not generate a graph to represent the rise and set times in the PDF " @@ -256,7 +266,7 @@ msgstr "" "Genereer geen grafiek om de opkomst- en ondergangstijden in PDF-formaat weer " "te geven." -#: _kosmorro/main.py:309 +#: _kosmorro/main.py:310 msgid "Show debugging messages" msgstr "Foutopsporingsberichten weergeven" diff --git a/_kosmorro/locales/ru/LC_MESSAGES/messages.po b/_kosmorro/locales/ru/LC_MESSAGES/messages.po index a4fdbfa..664b9c0 100644 --- a/_kosmorro/locales/ru/LC_MESSAGES/messages.po +++ b/_kosmorro/locales/ru/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-02-04 13:30+0100\n" +"POT-Creation-Date: 2022-02-16 13:58+0100\n" "PO-Revision-Date: 2021-07-30 10:33+0000\n" "Last-Translator: Stalone \n" "Language-Team: Russian Date: Sun, 27 Feb 2022 09:28:18 +0000 Subject: [PATCH 17/55] chore(i18n): update English (XA pseudolocale) translation Currently translated at 100.0% (67 of 67 strings) Translations are welcome at https://hosted.weblate.org/projects/kosmorro/cli/en_XA/ --- .../locales/en_XA/LC_MESSAGES/messages.po | 28 ++++++------------- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/_kosmorro/locales/en_XA/LC_MESSAGES/messages.po b/_kosmorro/locales/en_XA/LC_MESSAGES/messages.po index 1723e8e..e9bd87d 100644 --- a/_kosmorro/locales/en_XA/LC_MESSAGES/messages.po +++ b/_kosmorro/locales/en_XA/LC_MESSAGES/messages.po @@ -6,9 +6,9 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" -"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"Report-Msgid-Bugs-To: jerome@deuchnord.fr\n" "POT-Creation-Date: 2022-02-16 13:58+0100\n" -"PO-Revision-Date: 2021-06-20 14:10+0000\n" +"PO-Revision-Date: 2022-02-28 09:56+0000\n" "Last-Translator: Anonymous \n" "Language-Team: English (XA pseudolocale) \n" @@ -17,7 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.7\n" +"X-Generator: Weblate 4.11.1-dev\n" "Generated-By: Babel 2.9.1\n" #: _kosmorro/date.py:17 @@ -197,19 +197,13 @@ msgstr "" "and a given position on Earth.~~~ End Translatable ~~~" #: _kosmorro/main.py:218 -#, fuzzy -#| msgid "" -#| "By default, only the events will be computed for today ({date}).\n" -#| "To compute also the ephemerides, latitude and longitude arguments are " -#| "needed." msgid "" "By default, only the events will be computed for today.\n" "To compute also the ephemerides, latitude and longitude arguments are needed." msgstr "" -"~~~ Translatable ~~~By default, only the events will be computed for today " -"({date}).\n" -"To compute also the ephemerides, latitude and longitude arguments are needed." -"~~~ End Translatable ~~~" +"~~~ Translatable ~~~By default, only the events will be computed for today.\n" +"To compute also the ephemerides, latitude and longitude arguments are " +"needed.~~~ End Translatable ~~~" #: _kosmorro/main.py:231 msgid "Show the program version" @@ -238,20 +232,14 @@ msgstr "" "the KOSMORRO_LONGITUDE environment variable.~~~ End Translatable ~~~" #: _kosmorro/main.py:266 -#, fuzzy -#| msgid "" -#| "The date for which the ephemerides must be calculated. Can be in the YYYY-" -#| "MM-DD format or an interval in the \"[+-]YyMmDd\" format (with Y, M, and " -#| "D numbers). Defaults to today ({default_date})." msgid "" "The date for which the ephemerides must be calculated. Can be in the YYYY-MM-" "DD format or an interval in the \"[+-]YyMmDd\" format (with Y, M, and D " "numbers). Defaults to current date." msgstr "" "~~~ Translatable ~~~The date for which the ephemerides must be calculated. " -"Can be in the YYYY-MM-DD format or an interval in the \"[+-]YyMmDd\" format " -"(with Y, M, and D numbers). Defaults to today ({default_date}).~~~ End " -"Translatable ~~~" +"Can be in the YYYY-MM-DD format or an interval in the \"[+-]YyMmDd\" format (" +"with Y, M, and D numbers). Defaults to current date.~~~ End Translatable ~~~" #: _kosmorro/main.py:277 msgid "" From 537058cbb609e064d3ee97b109df5576cafbc423 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Mon, 28 Feb 2022 12:18:59 +0000 Subject: [PATCH 18/55] chore(i18n): update French translation Currently translated at 100.0% (67 of 67 strings) Translations are welcome at https://hosted.weblate.org/projects/kosmorro/cli/fr/ --- _kosmorro/locales/fr/LC_MESSAGES/messages.po | 32 ++++++-------------- 1 file changed, 10 insertions(+), 22 deletions(-) diff --git a/_kosmorro/locales/fr/LC_MESSAGES/messages.po b/_kosmorro/locales/fr/LC_MESSAGES/messages.po index 5e30af4..66a8391 100644 --- a/_kosmorro/locales/fr/LC_MESSAGES/messages.po +++ b/_kosmorro/locales/fr/LC_MESSAGES/messages.po @@ -2,22 +2,22 @@ # Copyright (C) 2021 ORGANIZATION # This file is distributed under the same license as the kosmorro project. # FIRST AUTHOR , 2021. -# Jérôme Deuchnord , 2021. +# Jérôme Deuchnord , 2021, 2022. msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" -"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"Report-Msgid-Bugs-To: jerome@deuchnord.fr\n" "POT-Creation-Date: 2022-02-16 13:58+0100\n" -"PO-Revision-Date: 2021-06-22 08:33+0000\n" +"PO-Revision-Date: 2022-03-01 12:56+0000\n" "Last-Translator: Jérôme Deuchnord \n" -"Language-Team: French \n" +"Language-Team: French " +"\n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.7.1-dev\n" +"X-Generator: Weblate 4.11.1-dev\n" "Generated-By: Babel 2.9.0\n" #: _kosmorro/date.py:17 @@ -181,18 +181,12 @@ msgstr "" "Terre données." #: _kosmorro/main.py:218 -#, fuzzy -#| msgid "" -#| "By default, only the events will be computed for today ({date}).\n" -#| "To compute also the ephemerides, latitude and longitude arguments are " -#| "needed." msgid "" "By default, only the events will be computed for today.\n" "To compute also the ephemerides, latitude and longitude arguments are needed." msgstr "" -"Par défaut, seuls les événements sont calculés pour la date actuelle " -"({date}).\n" -"Pour calculer les éphémérides, la latitude et la longitude sont requis." +"Par défaut, seuls les événements sont calculés pour la date actuelle.\n" +"Pour calculer les éphémérides, la latitude et la longitude sont requises." #: _kosmorro/main.py:231 msgid "Show the program version" @@ -219,20 +213,14 @@ msgstr "" "variable d'environnement KOSMORRO_LONGITUDE." #: _kosmorro/main.py:266 -#, fuzzy -#| msgid "" -#| "The date for which the ephemerides must be calculated. Can be in the YYYY-" -#| "MM-DD format or an interval in the \"[+-]YyMmDd\" format (with Y, M, and " -#| "D numbers). Defaults to today ({default_date})." msgid "" "The date for which the ephemerides must be calculated. Can be in the YYYY-MM-" "DD format or an interval in the \"[+-]YyMmDd\" format (with Y, M, and D " "numbers). Defaults to current date." msgstr "" "La date pour laquelle les éphémérides doivent être calculées, soit au format " -"AAAA-MM-JJ, soit sous la forme d'un intervalle au format \"[+-]Ay-Mm-Jd" -"\" (où A, M, et J sont des nombres). Par défaut, la date du jour " -"({default_date}) est utilisée." +"AAAA-MM-JJ, soit sous la forme d'un intervalle au format \"[+-]Ay-Mm-Jd\" (" +"où A, M, et J sont des nombres). Par défaut, la date du jour est utilisée." #: _kosmorro/main.py:277 msgid "" From b2535abd4aa03e700e5e482f8c5cf7af050eac29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Mon, 7 Mar 2022 09:23:08 +0100 Subject: [PATCH 19/55] feat(i18n): delete English (XA pseudolocale) translation --- .../locales/en_XA/LC_MESSAGES/messages.po | 435 ------------------ 1 file changed, 435 deletions(-) delete mode 100644 _kosmorro/locales/en_XA/LC_MESSAGES/messages.po diff --git a/_kosmorro/locales/en_XA/LC_MESSAGES/messages.po b/_kosmorro/locales/en_XA/LC_MESSAGES/messages.po deleted file mode 100644 index e9bd87d..0000000 --- a/_kosmorro/locales/en_XA/LC_MESSAGES/messages.po +++ /dev/null @@ -1,435 +0,0 @@ -# Translations template for kosmorro. -# Copyright (C) 2021 ORGANIZATION -# This file is distributed under the same license as the kosmorro project. -# FIRST AUTHOR , 2021. -# Jérôme Deuchnord , 2021. -msgid "" -msgstr "" -"Project-Id-Version: kosmorro 0.9.0\n" -"Report-Msgid-Bugs-To: jerome@deuchnord.fr\n" -"POT-Creation-Date: 2022-02-16 13:58+0100\n" -"PO-Revision-Date: 2022-02-28 09:56+0000\n" -"Last-Translator: Anonymous \n" -"Language-Team: English (XA pseudolocale) \n" -"Language: en_XA\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.11.1-dev\n" -"Generated-By: Babel 2.9.1\n" - -#: _kosmorro/date.py:17 -msgid "The date {date} is not valid: {error}" -msgstr "" -"~~~ Translatable ~~~The date {date} is not valid: {error}~~~ End " -"Translatable ~~~" - -#: _kosmorro/date.py:39 -msgid "" -"The date {date} does not match the required YYYY-MM-DD format or the offset " -"format." -msgstr "" -"~~~ Translatable ~~~The date {date} does not match the required YYYY-MM-DD " -"format or the offset format.~~~ End Translatable ~~~" - -#: _kosmorro/dumper.py:137 -msgid "Expected events:" -msgstr "~~~ Translatable ~~~Expected events:~~~ End Translatable ~~~" - -#: _kosmorro/dumper.py:144 -msgid "Note: All the hours are given in UTC." -msgstr "" -"~~~ Translatable ~~~Note: All the hours are given in UTC.~~~ End " -"Translatable ~~~" - -#: _kosmorro/dumper.py:151 -msgid "Note: All the hours are given in the UTC{offset} timezone." -msgstr "" -"~~~ Translatable ~~~Note: All the hours are given in the UTC{offset} " -"timezone.~~~ End Translatable ~~~" - -#: _kosmorro/dumper.py:219 _kosmorro/dumper.py:352 -msgid "Object" -msgstr "~~~ Translatable ~~~Object~~~ End Translatable ~~~" - -#: _kosmorro/dumper.py:220 _kosmorro/dumper.py:353 -msgid "Rise time" -msgstr "~~~ Translatable ~~~Rise time~~~ End Translatable ~~~" - -#: _kosmorro/dumper.py:221 _kosmorro/dumper.py:355 -msgid "Culmination time" -msgstr "~~~ Translatable ~~~Culmination time~~~ End Translatable ~~~" - -#: _kosmorro/dumper.py:222 _kosmorro/dumper.py:357 -msgid "Set time" -msgstr "~~~ Translatable ~~~Set time~~~ End Translatable ~~~" - -#: _kosmorro/dumper.py:253 -msgid "Moon phase is unavailable for this date." -msgstr "" -"~~~ Translatable ~~~Moon phase is unavailable for this date.~~~ End " -"Translatable ~~~" - -#: _kosmorro/dumper.py:257 _kosmorro/dumper.py:361 -msgid "Moon phase:" -msgstr "~~~ Translatable ~~~Moon phase:~~~ End Translatable ~~~" - -#: _kosmorro/dumper.py:261 -msgid "{next_moon_phase} on {next_moon_phase_date} at {next_moon_phase_time}" -msgstr "" -"~~~ Translatable ~~~{next_moon_phase} on {next_moon_phase_date} at " -"{next_moon_phase_time}~~~ End Translatable ~~~" - -#: _kosmorro/dumper.py:325 -msgid "Overview of your sky" -msgstr "~~~ Translatable ~~~Overview of your sky~~~ End Translatable ~~~" - -#: _kosmorro/dumper.py:333 -msgid "" -"This document summarizes the ephemerides and the events of {date}. It aims " -"to help you to prepare your observation session. All the hours are given in " -"{timezone}." -msgstr "" -"~~~ Translatable ~~~This document summarizes the ephemerides and the events " -"of {date}. It aims to help you to prepare your observation session. All the " -"hours are given in {timezone}.~~~ End Translatable ~~~" - -#: _kosmorro/dumper.py:343 -msgid "" -"Don't forget to check the weather forecast before you go out with your " -"equipment." -msgstr "" -"~~~ Translatable ~~~Don't forget to check the weather forecast before you go " -"out with your equipment.~~~ End Translatable ~~~" - -#: _kosmorro/dumper.py:350 -msgid "Ephemerides of the day" -msgstr "~~~ Translatable ~~~Ephemerides of the day~~~ End Translatable ~~~" - -#: _kosmorro/dumper.py:359 -msgid "hours" -msgstr "~~~ Translatable ~~~hours~~~ End Translatable ~~~" - -#: _kosmorro/dumper.py:366 -msgid "Expected events" -msgstr "~~~ Translatable ~~~Expected events~~~ End Translatable ~~~" - -#: _kosmorro/dumper.py:520 -msgid "" -"Building PDF was not possible, because some dependencies are not installed.\n" -"Please look at the documentation at https://kosmorro.space/cli/generate-pdf/ " -"for more information." -msgstr "" -"~~~ Translatable ~~~Building PDF was not possible, because some dependencies " -"are not installed.\n" -"Please look at the documentation at https://kosmorro.space/cli/generate-pdf/ " -"for more information.~~~ End Translatable ~~~" - -#: _kosmorro/dumper.py:573 -#, python-format -msgid "" -"An error occurred during the compilation of the PDF.\n" -"Please open an issue at https://github.com/Kosmorro/kosmorro/issues and " -"share the content of the log file at /tmp/kosmorro-%s.log" -msgstr "" -"~~~ Translatable ~~~An error occurred during the compilation of the PDF.\n" -"Please open an issue at https://github.com/Kosmorro/kosmorro/issues and " -"share the content of the log file at /tmp/kosmorro-%s.log~~~ End " -"Translatable ~~~" - -#: _kosmorro/exceptions.py:34 -msgid "The date must be between {minimum_date} and {maximum_date}" -msgstr "" -"~~~ Translatable ~~~The date must be between {minimum_date} and " -"{maximum_date}~~~ End Translatable ~~~" - -#: _kosmorro/main.py:62 -msgid "" -"Save the planet and paper!\n" -"Consider printing your PDF document only if really necessary, and use the " -"other side of the sheet." -msgstr "" -"~~~ Translatable ~~~Save the planet and paper!\n" -"Consider printing your PDF document only if really necessary, and use the " -"other side of the sheet.~~~ End Translatable ~~~" - -#: _kosmorro/main.py:71 -msgid "" -"PDF output will not contain the ephemerides, because you didn't provide the " -"observation coordinates." -msgstr "" -"~~~ Translatable ~~~PDF output will not contain the ephemerides, because you " -"didn't provide the observation coordinates.~~~ End Translatable ~~~" - -#: _kosmorro/main.py:116 -msgid "The file could not be saved in \"{path}\": {error}" -msgstr "" -"~~~ Translatable ~~~The file could not be saved in \"{path}\": {error}~~~ " -"End Translatable ~~~" - -#: _kosmorro/main.py:130 -msgid "Please provide a file path to export in this format (--output)." -msgstr "" -"~~~ Translatable ~~~Please provide a file path to export in this format (--" -"output).~~~ End Translatable ~~~" - -#: _kosmorro/main.py:163 -msgid "Moon phase can only be displayed between {min_date} and {max_date}" -msgstr "" -"~~~ Translatable ~~~Moon phase can only be displayed between {min_date} and " -"{max_date}~~~ End Translatable ~~~" - -#: _kosmorro/main.py:202 -msgid "" -"Running on Python {python_version} with Kosmorrolib v{kosmorrolib_version}" -msgstr "" -"~~~ Translatable ~~~Running on Python {python_version} with Kosmorrolib " -"v{kosmorrolib_version}~~~ End Translatable ~~~" - -#: _kosmorro/main.py:215 -msgid "" -"Compute the ephemerides and the events for a given date and a given position " -"on Earth." -msgstr "" -"~~~ Translatable ~~~Compute the ephemerides and the events for a given date " -"and a given position on Earth.~~~ End Translatable ~~~" - -#: _kosmorro/main.py:218 -msgid "" -"By default, only the events will be computed for today.\n" -"To compute also the ephemerides, latitude and longitude arguments are needed." -msgstr "" -"~~~ Translatable ~~~By default, only the events will be computed for today.\n" -"To compute also the ephemerides, latitude and longitude arguments are " -"needed.~~~ End Translatable ~~~" - -#: _kosmorro/main.py:231 -msgid "Show the program version" -msgstr "~~~ Translatable ~~~Show the program version~~~ End Translatable ~~~" - -#: _kosmorro/main.py:239 -msgid "The format to output the information to" -msgstr "" -"~~~ Translatable ~~~The format to output the information to~~~ End " -"Translatable ~~~" - -#: _kosmorro/main.py:246 -msgid "" -"The observer's latitude on Earth. Can also be set in the KOSMORRO_LATITUDE " -"environment variable." -msgstr "" -"~~~ Translatable ~~~The observer's latitude on Earth. Can also be set in the " -"KOSMORRO_LATITUDE environment variable.~~~ End Translatable ~~~" - -#: _kosmorro/main.py:256 -msgid "" -"The observer's longitude on Earth. Can also be set in the KOSMORRO_LONGITUDE " -"environment variable." -msgstr "" -"~~~ Translatable ~~~The observer's longitude on Earth. Can also be set in " -"the KOSMORRO_LONGITUDE environment variable.~~~ End Translatable ~~~" - -#: _kosmorro/main.py:266 -msgid "" -"The date for which the ephemerides must be calculated. Can be in the YYYY-MM-" -"DD format or an interval in the \"[+-]YyMmDd\" format (with Y, M, and D " -"numbers). Defaults to current date." -msgstr "" -"~~~ Translatable ~~~The date for which the ephemerides must be calculated. " -"Can be in the YYYY-MM-DD format or an interval in the \"[+-]YyMmDd\" format (" -"with Y, M, and D numbers). Defaults to current date.~~~ End Translatable ~~~" - -#: _kosmorro/main.py:277 -msgid "" -"The timezone to display the hours in (e.g. 2 for UTC+2 or -3 for UTC-3). Can " -"also be set in the KOSMORRO_TIMEZONE environment variable." -msgstr "" -"~~~ Translatable ~~~The timezone to display the hours in (e.g. 2 for UTC+2 " -"or -3 for UTC-3). Can also be set in the KOSMORRO_TIMEZONE environment " -"variable.~~~ End Translatable ~~~" - -#: _kosmorro/main.py:286 -msgid "Disable the colors in the console." -msgstr "" -"~~~ Translatable ~~~Disable the colors in the console.~~~ End Translatable " -"~~~" - -#: _kosmorro/main.py:293 -msgid "" -"A file to export the output to. If not given, the standard output is used. " -"This argument is needed for PDF format." -msgstr "" -"~~~ Translatable ~~~A file to export the output to. If not given, the " -"standard output is used. This argument is needed for PDF format.~~~ End " -"Translatable ~~~" - -#: _kosmorro/main.py:302 -msgid "" -"Do not generate a graph to represent the rise and set times in the PDF " -"format." -msgstr "" -"~~~ Translatable ~~~Do not generate a graph to represent the rise and set " -"times in the PDF format.~~~ End Translatable ~~~" - -#: _kosmorro/main.py:310 -msgid "Show debugging messages" -msgstr "~~~ Translatable ~~~Show debugging messages~~~ End Translatable ~~~" - -#: _kosmorro/i18n/strings.py:11 -#, python-format -msgid "%s is in opposition" -msgstr "~~~ Translatable ~~~%s is in opposition~~~ End Translatable ~~~" - -#: _kosmorro/i18n/strings.py:12 -#, python-format -msgid "%s and %s are in conjunction" -msgstr "" -"~~~ Translatable ~~~%s and %s are in conjunction~~~ End Translatable ~~~" - -#: _kosmorro/i18n/strings.py:13 -#, python-format -msgid "%s occults %s" -msgstr "~~~ Translatable ~~~%s occults %s~~~ End Translatable ~~~" - -#: _kosmorro/i18n/strings.py:15 -#, python-format -msgid "Elongation of %s is maximal" -msgstr "" -"~~~ Translatable ~~~Elongation of %s is maximal~~~ End Translatable ~~~" - -#: _kosmorro/i18n/strings.py:18 -#, python-format -msgid "%s is at its perigee" -msgstr "~~~ Translatable ~~~%s is at its perigee~~~ End Translatable ~~~" - -#: _kosmorro/i18n/strings.py:19 -#, python-format -msgid "%s is at its apogee" -msgstr "~~~ Translatable ~~~%s is at its apogee~~~ End Translatable ~~~" - -#: _kosmorro/i18n/strings.py:35 -msgid "New Moon" -msgstr "~~~ Translatable ~~~New Moon~~~ End Translatable ~~~" - -#: _kosmorro/i18n/strings.py:36 -msgid "Waxing Crescent" -msgstr "~~~ Translatable ~~~Waxing Crescent~~~ End Translatable ~~~" - -#: _kosmorro/i18n/strings.py:37 -msgid "First Quarter" -msgstr "~~~ Translatable ~~~First Quarter~~~ End Translatable ~~~" - -#: _kosmorro/i18n/strings.py:38 -msgid "Waxing Gibbous" -msgstr "~~~ Translatable ~~~Waxing Gibbous~~~ End Translatable ~~~" - -#: _kosmorro/i18n/strings.py:39 -msgid "Full Moon" -msgstr "~~~ Translatable ~~~Full Moon~~~ End Translatable ~~~" - -#: _kosmorro/i18n/strings.py:40 -msgid "Waning Gibbous" -msgstr "~~~ Translatable ~~~Waning Gibbous~~~ End Translatable ~~~" - -#: _kosmorro/i18n/strings.py:41 -msgid "Last Quarter" -msgstr "~~~ Translatable ~~~Last Quarter~~~ End Translatable ~~~" - -#: _kosmorro/i18n/strings.py:42 -msgid "Waning Crescent" -msgstr "~~~ Translatable ~~~Waning Crescent~~~ End Translatable ~~~" - -#: _kosmorro/i18n/strings.py:53 -msgid "Sun" -msgstr "~~~ Translatable ~~~Sun~~~ End Translatable ~~~" - -#: _kosmorro/i18n/strings.py:54 -msgid "Moon" -msgstr "~~~ Translatable ~~~Moon~~~ End Translatable ~~~" - -#: _kosmorro/i18n/strings.py:55 -msgid "Mercury" -msgstr "~~~ Translatable ~~~Mercury~~~ End Translatable ~~~" - -#: _kosmorro/i18n/strings.py:56 -msgid "Venus" -msgstr "~~~ Translatable ~~~Venus~~~ End Translatable ~~~" - -#: _kosmorro/i18n/strings.py:57 -msgid "Mars" -msgstr "~~~ Translatable ~~~Mars~~~ End Translatable ~~~" - -#: _kosmorro/i18n/strings.py:58 -msgid "Jupiter" -msgstr "~~~ Translatable ~~~Jupiter~~~ End Translatable ~~~" - -#: _kosmorro/i18n/strings.py:59 -msgid "Saturn" -msgstr "~~~ Translatable ~~~Saturn~~~ End Translatable ~~~" - -#: _kosmorro/i18n/strings.py:60 -msgid "Uranus" -msgstr "~~~ Translatable ~~~Uranus~~~ End Translatable ~~~" - -#: _kosmorro/i18n/strings.py:61 -msgid "Neptune" -msgstr "~~~ Translatable ~~~Neptune~~~ End Translatable ~~~" - -#: _kosmorro/i18n/strings.py:62 -msgid "Pluto" -msgstr "~~~ Translatable ~~~Pluto~~~ End Translatable ~~~" - -#: _kosmorro/i18n/utils.py:27 -msgid "{day_of_week} {month} {day_number}, {year}" -msgstr "" -"~~~ Translatable ~~~{day_of_week} {month} {day_number}, {year}~~~ End " -"Translatable ~~~" - -#: _kosmorro/i18n/utils.py:30 -msgid "{month} {day_number}, {hours}:{minutes}" -msgstr "" -"~~~ Translatable ~~~{month} {day_number}, {hours}:{minutes}~~~ End " -"Translatable ~~~" - -#: _kosmorro/i18n/utils.py:33 -msgid "{month} {day_number}, {year}" -msgstr "" -"~~~ Translatable ~~~{month} {day_number}, {year}~~~ End Translatable ~~~" - -#: _kosmorro/i18n/utils.py:36 -msgid "{hours}:{minutes}" -msgstr "~~~ Translatable ~~~{hours}:{minutes}~~~ End Translatable ~~~" - -#~ msgid "Do you really want to clear Kosmorro's cache? [yN] " -#~ msgstr "" -#~ "~~~ Translatable ~~~Do you really want to clear Kosmorro's cache? [yN] " -#~ "~~~ End Translatable ~~~ " - -#~ msgid "Incorrect answer, cache not cleared." -#~ msgstr "" -#~ "~~~ Translatable ~~~Incorrect answer, cache not cleared.~~~ End " -#~ "Translatable ~~~" - -#~ msgid "Delete all the files from Kosmorro's cache." -#~ msgstr "" -#~ "~~~ Translatable ~~~Delete all the files from Kosmorro's cache.~~~ End " -#~ "Translatable ~~~" - -#~ msgid "Unknown phase" -#~ msgstr "~~~ Translatable ~~~Unknown phase~~~ End Translatable ~~~" - -#~ msgid "Unknown object" -#~ msgstr "~~~ Translatable ~~~Unknown object~~~ End Translatable ~~~" - -#~ msgid "" -#~ "Building PDF was not possible, because some dependencies are not " -#~ "installed.\n" -#~ "Please look at the documentation at http://kosmorro.space for more " -#~ "information." -#~ msgstr "" -#~ "~~~ Translatable ~~~Building PDF was not possible, because some " -#~ "dependencies are not installed.\n" -#~ "Please look at the documentation at http://kosmorro.space for more " -#~ "information.~~~ End Translatable ~~~" From 79adb5cd39f1071d7299855d39b86312705382e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Mon, 7 Mar 2022 08:18:23 +0000 Subject: [PATCH 20/55] chore(i18n): update German translation Currently translated at 100.0% (67 of 67 strings) Translations are welcome at https://hosted.weblate.org/projects/kosmorro/cli/de/ --- _kosmorro/locales/de/LC_MESSAGES/messages.po | 27 ++++++-------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/_kosmorro/locales/de/LC_MESSAGES/messages.po b/_kosmorro/locales/de/LC_MESSAGES/messages.po index ba79b87..7e01f48 100644 --- a/_kosmorro/locales/de/LC_MESSAGES/messages.po +++ b/_kosmorro/locales/de/LC_MESSAGES/messages.po @@ -2,22 +2,22 @@ # Copyright (C) 2021 ORGANIZATION # This file is distributed under the same license as the kosmorro project. # FIRST AUTHOR , 2021. -# Jérôme Deuchnord , 2021. +# Jérôme Deuchnord , 2021, 2022. msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" -"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"Report-Msgid-Bugs-To: jerome@deuchnord.fr\n" "POT-Creation-Date: 2022-02-16 13:58+0100\n" -"PO-Revision-Date: 2021-06-22 08:33+0000\n" +"PO-Revision-Date: 2022-03-07 15:57+0000\n" "Last-Translator: Jérôme Deuchnord \n" -"Language-Team: German \n" +"Language-Team: German " +"\n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.7.1-dev\n" +"X-Generator: Weblate 4.12-dev\n" "Generated-By: Babel 2.9.0\n" #: _kosmorro/date.py:17 @@ -182,17 +182,11 @@ msgstr "" "Position auf der Erde." #: _kosmorro/main.py:218 -#, fuzzy -#| msgid "" -#| "By default, only the events will be computed for today ({date}).\n" -#| "To compute also the ephemerides, latitude and longitude arguments are " -#| "needed." msgid "" "By default, only the events will be computed for today.\n" "To compute also the ephemerides, latitude and longitude arguments are needed." msgstr "" -"Nur werden standardmäßig die Ereignisse für den heutigen Tag ({date}) " -"berechnet.\n" +"Nur werden standardmäßig die Ereignisse für den heutigen Tag berechnet.\n" "Um auch die Ephemeriden zu berechnen, werden die Breiten- und Längengrad " "benötigt." @@ -221,11 +215,6 @@ msgstr "" "Umgebungsvariablen KOSMORRO_LONGITUDE gesetzt werden." #: _kosmorro/main.py:266 -#, fuzzy -#| msgid "" -#| "The date for which the ephemerides must be calculated. Can be in the YYYY-" -#| "MM-DD format or an interval in the \"[+-]YyMmDd\" format (with Y, M, and " -#| "D numbers). Defaults to today ({default_date})." msgid "" "The date for which the ephemerides must be calculated. Can be in the YYYY-MM-" "DD format or an interval in the \"[+-]YyMmDd\" format (with Y, M, and D " @@ -233,7 +222,7 @@ msgid "" msgstr "" "Das Datum, für das die Ephemeriden berechnet werden müssen. Kann im Format " "JJJJ-MM-TT oder als Intervall im Format \"[+-]JyMmTd\" (wo J, M und T Zahlen " -"sind) angegeben. Standardwert ist das aktuelle Datum ({default_date})." +"sind) angegeben. Standardwert ist das aktuelle Datum." #: _kosmorro/main.py:277 msgid "" From 766dac76913ffb5e7eef5531fa3b68914a671e09 Mon Sep 17 00:00:00 2001 From: Hosted Weblate Date: Mon, 7 Mar 2022 16:57:03 +0100 Subject: [PATCH 21/55] chore(i18n): update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translations are welcome at https://hosted.weblate.org/projects/kosmorro/cli/ --- _kosmorro/locales/de/LC_MESSAGES/messages.po | 80 ++++++++--------- _kosmorro/locales/es/LC_MESSAGES/messages.po | 74 ++++++++-------- _kosmorro/locales/fr/LC_MESSAGES/messages.po | 85 ++++++++++--------- .../locales/nb_NO/LC_MESSAGES/messages.po | 72 ++++++++-------- _kosmorro/locales/nl/LC_MESSAGES/messages.po | 74 ++++++++-------- _kosmorro/locales/ru/LC_MESSAGES/messages.po | 72 ++++++++-------- 6 files changed, 233 insertions(+), 224 deletions(-) diff --git a/_kosmorro/locales/de/LC_MESSAGES/messages.po b/_kosmorro/locales/de/LC_MESSAGES/messages.po index 7e01f48..ce32f1b 100644 --- a/_kosmorro/locales/de/LC_MESSAGES/messages.po +++ b/_kosmorro/locales/de/LC_MESSAGES/messages.po @@ -6,12 +6,12 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" -"Report-Msgid-Bugs-To: jerome@deuchnord.fr\n" -"POT-Creation-Date: 2022-02-16 13:58+0100\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2022-03-07 16:45+0100\n" "PO-Revision-Date: 2022-03-07 15:57+0000\n" "Last-Translator: Jérôme Deuchnord \n" -"Language-Team: German " -"\n" +"Language-Team: German \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -44,39 +44,39 @@ msgstr "Hinweis: alle Stunden werden in UTC angegeben." msgid "Note: All the hours are given in the UTC{offset} timezone." msgstr "Hinweis: Alle Stunden werden in der UTC{offset}-Zeitzone angegeben." -#: _kosmorro/dumper.py:219 _kosmorro/dumper.py:352 +#: _kosmorro/dumper.py:205 _kosmorro/dumper.py:333 msgid "Object" msgstr "Gestirn" -#: _kosmorro/dumper.py:220 _kosmorro/dumper.py:353 +#: _kosmorro/dumper.py:206 _kosmorro/dumper.py:334 msgid "Rise time" msgstr "Aufgangszeit" -#: _kosmorro/dumper.py:221 _kosmorro/dumper.py:355 +#: _kosmorro/dumper.py:207 _kosmorro/dumper.py:336 msgid "Culmination time" msgstr "Höhepunkt" -#: _kosmorro/dumper.py:222 _kosmorro/dumper.py:357 +#: _kosmorro/dumper.py:208 _kosmorro/dumper.py:338 msgid "Set time" msgstr "Untergangszeit" -#: _kosmorro/dumper.py:253 +#: _kosmorro/dumper.py:234 msgid "Moon phase is unavailable for this date." msgstr "Die Mondphase ist für dieses Datum nicht verfügbar." -#: _kosmorro/dumper.py:257 _kosmorro/dumper.py:361 +#: _kosmorro/dumper.py:238 _kosmorro/dumper.py:342 msgid "Moon phase:" msgstr "Mondphase:" -#: _kosmorro/dumper.py:261 +#: _kosmorro/dumper.py:242 msgid "{next_moon_phase} on {next_moon_phase_date} at {next_moon_phase_time}" msgstr "{next_moon_phase} am {next_moon_phase_date} um {next_moon_phase_time}" -#: _kosmorro/dumper.py:325 +#: _kosmorro/dumper.py:306 msgid "Overview of your sky" msgstr "Übersicht über Ihren Himmel" -#: _kosmorro/dumper.py:333 +#: _kosmorro/dumper.py:314 msgid "" "This document summarizes the ephemerides and the events of {date}. It aims " "to help you to prepare your observation session. All the hours are given in " @@ -86,7 +86,7 @@ msgstr "" "zusammen. Es soll Ihnen bei der Vorbereitung Ihrer Beobachtungssitzung " "helfen. Alle Stunden sind in der Zeitzone {timezone} angegeben." -#: _kosmorro/dumper.py:343 +#: _kosmorro/dumper.py:324 msgid "" "Don't forget to check the weather forecast before you go out with your " "equipment." @@ -94,19 +94,19 @@ msgstr "" "Vergessen Sie nicht, die Wettervorhersage zu prüfen, bevor Sie mit Ihrer " "Ausrüstung hinausfahren." -#: _kosmorro/dumper.py:350 +#: _kosmorro/dumper.py:331 msgid "Ephemerides of the day" msgstr "Ephemeriden des Tages" -#: _kosmorro/dumper.py:359 +#: _kosmorro/dumper.py:340 msgid "hours" msgstr "Uhren" -#: _kosmorro/dumper.py:366 +#: _kosmorro/dumper.py:347 msgid "Expected events" msgstr "Erwartete Ereignisse" -#: _kosmorro/dumper.py:520 +#: _kosmorro/dumper.py:487 msgid "" "Building PDF was not possible, because some dependencies are not installed.\n" "Please look at the documentation at https://kosmorro.space/cli/generate-pdf/ " @@ -117,7 +117,7 @@ msgstr "" "Bitte die Dokumentation auf https://kosmorro.space/cli/generate-pdf/ für " "weitere Informationen." -#: _kosmorro/dumper.py:573 +#: _kosmorro/dumper.py:540 #, python-format msgid "" "An error occurred during the compilation of the PDF.\n" @@ -128,12 +128,12 @@ msgstr "" "Bitte öffnen Sie ein Issue unter https://github.com/Kosmorro/kosmorro/issues " "und teilen Sie den Inhalt der Log-Datei unter /tmp/kosmorro-%s.log" -#: _kosmorro/exceptions.py:34 +#: _kosmorro/exceptions.py:35 msgid "The date must be between {minimum_date} and {maximum_date}" msgstr "" "Das Datum muss zwischen dem {minimum_date} und dem {maximum_date} liegen" -#: _kosmorro/main.py:62 +#: _kosmorro/main.py:63 msgid "" "Save the planet and paper!\n" "Consider printing your PDF document only if really necessary, and use the " @@ -143,7 +143,7 @@ msgstr "" "Drucken Sie das PDF-Dokument aus, nur wenn Sie wirklich brauchen, und nutzen " "Sie das Verso." -#: _kosmorro/main.py:71 +#: _kosmorro/main.py:72 msgid "" "PDF output will not contain the ephemerides, because you didn't provide the " "observation coordinates." @@ -151,29 +151,31 @@ msgstr "" "Die PDF-Ausgabe wird die Ephemeriden nicht enthalten, weil Sie die " "Beobachtungskoordinate nicht angegeben haben." -#: _kosmorro/main.py:116 +#: _kosmorro/main.py:117 msgid "The file could not be saved in \"{path}\": {error}" msgstr "Die Ausgabe in \"{path}\" konnte nicht gespeichert werden: {error}" -#: _kosmorro/main.py:130 +#: _kosmorro/main.py:131 msgid "Please provide a file path to export in this format (--output)." msgstr "" "Bitte geben Sie einen Dateipfad an, der in diesem Format exportiert werden " "soll (--output)." -#: _kosmorro/main.py:163 -msgid "Moon phase can only be displayed between {min_date} and {max_date}" +#: _kosmorro/main.py:164 +#, fuzzy +#| msgid "Moon phase can only be displayed between {min_date} and {max_date}" +msgid "Moon phase can only be computed between {min_date} and {max_date}" msgstr "" "Die Mondphase kann nur zwischen dem {min_date} und dem {max_date} angezeigt " "werden" -#: _kosmorro/main.py:202 +#: _kosmorro/main.py:203 msgid "" "Running on Python {python_version} with Kosmorrolib v{kosmorrolib_version}" msgstr "" "Mit Python {python_version} und Kosmorrolib v{kosmorrolib_version} ausführt" -#: _kosmorro/main.py:215 +#: _kosmorro/main.py:216 msgid "" "Compute the ephemerides and the events for a given date and a given position " "on Earth." @@ -181,7 +183,7 @@ msgstr "" "Berechnet die Ephemeriden und die Ereignisse für die angegeben Datum und " "Position auf der Erde." -#: _kosmorro/main.py:218 +#: _kosmorro/main.py:219 msgid "" "By default, only the events will be computed for today.\n" "To compute also the ephemerides, latitude and longitude arguments are needed." @@ -190,15 +192,15 @@ msgstr "" "Um auch die Ephemeriden zu berechnen, werden die Breiten- und Längengrad " "benötigt." -#: _kosmorro/main.py:231 +#: _kosmorro/main.py:232 msgid "Show the program version" msgstr "Stellt die Version des Programms aus" -#: _kosmorro/main.py:239 +#: _kosmorro/main.py:240 msgid "The format to output the information to" msgstr "Die Datenstruktur der Ausgabe" -#: _kosmorro/main.py:246 +#: _kosmorro/main.py:247 msgid "" "The observer's latitude on Earth. Can also be set in the KOSMORRO_LATITUDE " "environment variable." @@ -206,7 +208,7 @@ msgstr "" "Der Breitengrad des Beobachters auf der Erde. Kann auch in der " "Umgebungsvariablen KOSMORRO_LATITUDE gesetzt werden." -#: _kosmorro/main.py:256 +#: _kosmorro/main.py:257 msgid "" "The observer's longitude on Earth. Can also be set in the KOSMORRO_LONGITUDE " "environment variable." @@ -214,7 +216,7 @@ msgstr "" "Der Längengrad des Beobachters auf der Erde. Kann auch in der " "Umgebungsvariablen KOSMORRO_LONGITUDE gesetzt werden." -#: _kosmorro/main.py:266 +#: _kosmorro/main.py:267 msgid "" "The date for which the ephemerides must be calculated. Can be in the YYYY-MM-" "DD format or an interval in the \"[+-]YyMmDd\" format (with Y, M, and D " @@ -224,7 +226,7 @@ msgstr "" "JJJJ-MM-TT oder als Intervall im Format \"[+-]JyMmTd\" (wo J, M und T Zahlen " "sind) angegeben. Standardwert ist das aktuelle Datum." -#: _kosmorro/main.py:277 +#: _kosmorro/main.py:278 msgid "" "The timezone to display the hours in (e.g. 2 for UTC+2 or -3 for UTC-3). Can " "also be set in the KOSMORRO_TIMEZONE environment variable." @@ -233,11 +235,11 @@ msgstr "" "oder -3 für UTC-3). Kann auch in der Umgebungsvariablen KOSMORRO_TIMEZONE " "gesetzt werden." -#: _kosmorro/main.py:286 +#: _kosmorro/main.py:287 msgid "Disable the colors in the console." msgstr "Deaktiviert die Farben in der Konsole." -#: _kosmorro/main.py:293 +#: _kosmorro/main.py:294 msgid "" "A file to export the output to. If not given, the standard output is used. " "This argument is needed for PDF format." @@ -246,7 +248,7 @@ msgstr "" "die Standardausgabe verwendet. Dieses Argument wird für das PDF-Format " "benötigt." -#: _kosmorro/main.py:302 +#: _kosmorro/main.py:303 msgid "" "Do not generate a graph to represent the rise and set times in the PDF " "format." @@ -254,7 +256,7 @@ msgstr "" "Keine Grafik zur Darstellung der Anstiegs- und Abfallzeiten im PDF-Format " "generieren." -#: _kosmorro/main.py:310 +#: _kosmorro/main.py:311 msgid "Show debugging messages" msgstr "Fehlerdiagnosemeldungen anzeigen" diff --git a/_kosmorro/locales/es/LC_MESSAGES/messages.po b/_kosmorro/locales/es/LC_MESSAGES/messages.po index cee982d..5ede700 100644 --- a/_kosmorro/locales/es/LC_MESSAGES/messages.po +++ b/_kosmorro/locales/es/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-02-16 13:58+0100\n" +"POT-Creation-Date: 2022-03-07 16:45+0100\n" "PO-Revision-Date: 2021-05-16 09:25+0000\n" "Last-Translator: Anonymous \n" "Language-Team: Spanish \n" -"Language-Team: French " -"\n" +"Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -44,39 +44,39 @@ msgid "Note: All the hours are given in the UTC{offset} timezone." msgstr "" "Note : toutes les heures sont données dans le fuseau horaire UTC{offset}." -#: _kosmorro/dumper.py:219 _kosmorro/dumper.py:352 +#: _kosmorro/dumper.py:205 _kosmorro/dumper.py:333 msgid "Object" msgstr "Objet" -#: _kosmorro/dumper.py:220 _kosmorro/dumper.py:353 +#: _kosmorro/dumper.py:206 _kosmorro/dumper.py:334 msgid "Rise time" msgstr "Heure de lever" -#: _kosmorro/dumper.py:221 _kosmorro/dumper.py:355 +#: _kosmorro/dumper.py:207 _kosmorro/dumper.py:336 msgid "Culmination time" msgstr "Heure de culmination" -#: _kosmorro/dumper.py:222 _kosmorro/dumper.py:357 +#: _kosmorro/dumper.py:208 _kosmorro/dumper.py:338 msgid "Set time" msgstr "Heure de coucher" -#: _kosmorro/dumper.py:253 +#: _kosmorro/dumper.py:234 msgid "Moon phase is unavailable for this date." msgstr "La phase de la Lune n'est pas disponible pour cette date." -#: _kosmorro/dumper.py:257 _kosmorro/dumper.py:361 +#: _kosmorro/dumper.py:238 _kosmorro/dumper.py:342 msgid "Moon phase:" msgstr "Phase de la Lune :" -#: _kosmorro/dumper.py:261 +#: _kosmorro/dumper.py:242 msgid "{next_moon_phase} on {next_moon_phase_date} at {next_moon_phase_time}" msgstr "{next_moon_phase} le {next_moon_phase_date} à {next_moon_phase_time}" -#: _kosmorro/dumper.py:325 +#: _kosmorro/dumper.py:306 msgid "Overview of your sky" msgstr "Résumé de votre ciel" -#: _kosmorro/dumper.py:333 +#: _kosmorro/dumper.py:314 msgid "" "This document summarizes the ephemerides and the events of {date}. It aims " "to help you to prepare your observation session. All the hours are given in " @@ -86,7 +86,7 @@ msgstr "" "{date}. Son but est de vous aider à préparer votre soirée d'observation. " "Toutes les heures sont données en {timezone}." -#: _kosmorro/dumper.py:343 +#: _kosmorro/dumper.py:324 msgid "" "Don't forget to check the weather forecast before you go out with your " "equipment." @@ -94,19 +94,19 @@ msgstr "" "N’oubliez pas de vous assurer que les conditions météo sont favorables avant " "de sortir votre matériel d’observation." -#: _kosmorro/dumper.py:350 +#: _kosmorro/dumper.py:331 msgid "Ephemerides of the day" msgstr "Éphémérides du jour" -#: _kosmorro/dumper.py:359 +#: _kosmorro/dumper.py:340 msgid "hours" msgstr "heures" -#: _kosmorro/dumper.py:366 +#: _kosmorro/dumper.py:347 msgid "Expected events" msgstr "Événements prévus" -#: _kosmorro/dumper.py:520 +#: _kosmorro/dumper.py:487 msgid "" "Building PDF was not possible, because some dependencies are not installed.\n" "Please look at the documentation at https://kosmorro.space/cli/generate-pdf/ " @@ -117,7 +117,7 @@ msgstr "" "Veuillez vous référer à la documentation sur https://kosmorro.space/cli/" "generate-pdf/ pour de plus amples informations." -#: _kosmorro/dumper.py:573 +#: _kosmorro/dumper.py:540 #, python-format msgid "" "An error occurred during the compilation of the PDF.\n" @@ -128,11 +128,11 @@ msgstr "" "Merci d'ouvrir un ticket sur https://github.com/Kosmorro/kosmorro/issues et " "de partager le contenu du fichier journal situé dans /tmp/kosmorro-%s.log" -#: _kosmorro/exceptions.py:34 +#: _kosmorro/exceptions.py:35 msgid "The date must be between {minimum_date} and {maximum_date}" msgstr "La date doit être entre le {minimum_date} et le {maximum_date}" -#: _kosmorro/main.py:62 +#: _kosmorro/main.py:63 msgid "" "Save the planet and paper!\n" "Consider printing your PDF document only if really necessary, and use the " @@ -142,7 +142,7 @@ msgstr "" "N'imprimez le document PDF uniquement si nécessaire, et pensez à utiliser le " "verso de la feuille." -#: _kosmorro/main.py:71 +#: _kosmorro/main.py:72 msgid "" "PDF output will not contain the ephemerides, because you didn't provide the " "observation coordinates." @@ -150,29 +150,31 @@ msgstr "" "Le document PDF ne contiendra pas les éphémérides, car les coordonnées du " "lieu d'observation sont manquantes." -#: _kosmorro/main.py:116 +#: _kosmorro/main.py:117 msgid "The file could not be saved in \"{path}\": {error}" msgstr "Le fichier \"{path}\" n'a pas pu être enregistré : {error}" -#: _kosmorro/main.py:130 +#: _kosmorro/main.py:131 msgid "Please provide a file path to export in this format (--output)." msgstr "" "Merci de fournir le chemin du fichier d'exporter pour ce format (--output)." -#: _kosmorro/main.py:163 -msgid "Moon phase can only be displayed between {min_date} and {max_date}" +#: _kosmorro/main.py:164 +#, fuzzy +#| msgid "Moon phase can only be displayed between {min_date} and {max_date}" +msgid "Moon phase can only be computed between {min_date} and {max_date}" msgstr "" "La phase de la Lune ne peut être affichée qu'entre le {min_date} et le " "{max_date}" -#: _kosmorro/main.py:202 +#: _kosmorro/main.py:203 msgid "" "Running on Python {python_version} with Kosmorrolib v{kosmorrolib_version}" msgstr "" "Exécuté à l'aide de Python {python_version} et de la Kosmorrolib " "v{kosmorrolib_version}" -#: _kosmorro/main.py:215 +#: _kosmorro/main.py:216 msgid "" "Compute the ephemerides and the events for a given date and a given position " "on Earth." @@ -180,7 +182,7 @@ msgstr "" "Calcule les éphémérides et les événements pour une date et une position sur " "Terre données." -#: _kosmorro/main.py:218 +#: _kosmorro/main.py:219 msgid "" "By default, only the events will be computed for today.\n" "To compute also the ephemerides, latitude and longitude arguments are needed." @@ -188,15 +190,15 @@ msgstr "" "Par défaut, seuls les événements sont calculés pour la date actuelle.\n" "Pour calculer les éphémérides, la latitude et la longitude sont requises." -#: _kosmorro/main.py:231 +#: _kosmorro/main.py:232 msgid "Show the program version" msgstr "Affiche la version du programme" -#: _kosmorro/main.py:239 +#: _kosmorro/main.py:240 msgid "The format to output the information to" msgstr "Le format de sortie des informations" -#: _kosmorro/main.py:246 +#: _kosmorro/main.py:247 msgid "" "The observer's latitude on Earth. Can also be set in the KOSMORRO_LATITUDE " "environment variable." @@ -204,7 +206,7 @@ msgstr "" "La latitude de l'observateur. Peut également être renseignée dans la " "variable d'environnement KOSMORRO_LATITUDE." -#: _kosmorro/main.py:256 +#: _kosmorro/main.py:257 msgid "" "The observer's longitude on Earth. Can also be set in the KOSMORRO_LONGITUDE " "environment variable." @@ -212,17 +214,18 @@ msgstr "" "La longitude de l'observateur. Peut également être renseignée dans la " "variable d'environnement KOSMORRO_LONGITUDE." -#: _kosmorro/main.py:266 +#: _kosmorro/main.py:267 msgid "" "The date for which the ephemerides must be calculated. Can be in the YYYY-MM-" "DD format or an interval in the \"[+-]YyMmDd\" format (with Y, M, and D " "numbers). Defaults to current date." msgstr "" "La date pour laquelle les éphémérides doivent être calculées, soit au format " -"AAAA-MM-JJ, soit sous la forme d'un intervalle au format \"[+-]Ay-Mm-Jd\" (" -"où A, M, et J sont des nombres). Par défaut, la date du jour est utilisée." +"AAAA-MM-JJ, soit sous la forme d'un intervalle au format \"[+-]Ay-Mm-Jd" +"\" (où A, M, et J sont des nombres). Par défaut, la date du jour est " +"utilisée." -#: _kosmorro/main.py:277 +#: _kosmorro/main.py:278 msgid "" "The timezone to display the hours in (e.g. 2 for UTC+2 or -3 for UTC-3). Can " "also be set in the KOSMORRO_TIMEZONE environment variable." @@ -231,11 +234,11 @@ msgstr "" "pour UTC+2 ou -3 pour UTC-3). Peut également être renseigné dans la variable " "d'environnement KOSMORRO_TIMEZONE." -#: _kosmorro/main.py:286 +#: _kosmorro/main.py:287 msgid "Disable the colors in the console." msgstr "Désactive les couleurs dans la console." -#: _kosmorro/main.py:293 +#: _kosmorro/main.py:294 msgid "" "A file to export the output to. If not given, the standard output is used. " "This argument is needed for PDF format." @@ -244,7 +247,7 @@ msgstr "" "la sortie standard de la console est utilisée. Cet argument est nécessaire " "pour le format de sortie PDF." -#: _kosmorro/main.py:302 +#: _kosmorro/main.py:303 msgid "" "Do not generate a graph to represent the rise and set times in the PDF " "format." @@ -252,7 +255,7 @@ msgstr "" "Désactive la génération du graphique des levers et couchers des astres dans " "le format PDF." -#: _kosmorro/main.py:310 +#: _kosmorro/main.py:311 msgid "Show debugging messages" msgstr "Affiche les information de débogage" diff --git a/_kosmorro/locales/nb_NO/LC_MESSAGES/messages.po b/_kosmorro/locales/nb_NO/LC_MESSAGES/messages.po index 7eb7e01..7a84980 100644 --- a/_kosmorro/locales/nb_NO/LC_MESSAGES/messages.po +++ b/_kosmorro/locales/nb_NO/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-02-16 13:58+0100\n" +"POT-Creation-Date: 2022-03-07 16:45+0100\n" "PO-Revision-Date: 2021-05-16 09:25+0000\n" "Last-Translator: Anonymous \n" "Language-Team: Norwegian Bokmål \n" "Language-Team: Dutch \n" @@ -44,42 +44,42 @@ msgstr "Opmerking: alle uren worden gegeven in UTC." msgid "Note: All the hours are given in the UTC{offset} timezone." msgstr "Opmerking: alle uren worden gegeven in de UTC{offset} tijdzone." -#: _kosmorro/dumper.py:219 _kosmorro/dumper.py:352 +#: _kosmorro/dumper.py:205 _kosmorro/dumper.py:333 msgid "Object" msgstr "Object" -#: _kosmorro/dumper.py:220 _kosmorro/dumper.py:353 +#: _kosmorro/dumper.py:206 _kosmorro/dumper.py:334 #, fuzzy msgid "Rise time" msgstr "Opgang tijd" -#: _kosmorro/dumper.py:221 _kosmorro/dumper.py:355 +#: _kosmorro/dumper.py:207 _kosmorro/dumper.py:336 #, fuzzy msgid "Culmination time" msgstr "Culminatie tijd" -#: _kosmorro/dumper.py:222 _kosmorro/dumper.py:357 +#: _kosmorro/dumper.py:208 _kosmorro/dumper.py:338 #, fuzzy msgid "Set time" msgstr "Ondergang tijd" -#: _kosmorro/dumper.py:253 +#: _kosmorro/dumper.py:234 msgid "Moon phase is unavailable for this date." msgstr "Maanfase is niet beschikbaar voor deze datum." -#: _kosmorro/dumper.py:257 _kosmorro/dumper.py:361 +#: _kosmorro/dumper.py:238 _kosmorro/dumper.py:342 msgid "Moon phase:" msgstr "Maanfase:" -#: _kosmorro/dumper.py:261 +#: _kosmorro/dumper.py:242 msgid "{next_moon_phase} on {next_moon_phase_date} at {next_moon_phase_time}" msgstr "{next_moon_phase} op {next_moon_phase_date} om {next_moon_phase_time}" -#: _kosmorro/dumper.py:325 +#: _kosmorro/dumper.py:306 msgid "Overview of your sky" msgstr "Overzicht van uw hemel" -#: _kosmorro/dumper.py:333 +#: _kosmorro/dumper.py:314 msgid "" "This document summarizes the ephemerides and the events of {date}. It aims " "to help you to prepare your observation session. All the hours are given in " @@ -89,7 +89,7 @@ msgstr "" "bedoeld om u te helpen bij het voorbereiden van uw observatiesessie. Alle " "uren worden gegeven in {timezone}." -#: _kosmorro/dumper.py:343 +#: _kosmorro/dumper.py:324 msgid "" "Don't forget to check the weather forecast before you go out with your " "equipment." @@ -97,19 +97,19 @@ msgstr "" "Vergeet niet de weersvoorspelling te checken voordat je eropuit gaat met je " "uitrusting." -#: _kosmorro/dumper.py:350 +#: _kosmorro/dumper.py:331 msgid "Ephemerides of the day" msgstr "Efemeriden van de dag" -#: _kosmorro/dumper.py:359 +#: _kosmorro/dumper.py:340 msgid "hours" msgstr "uren" -#: _kosmorro/dumper.py:366 +#: _kosmorro/dumper.py:347 msgid "Expected events" msgstr "Verwachte events" -#: _kosmorro/dumper.py:520 +#: _kosmorro/dumper.py:487 #, fuzzy msgid "" "Building PDF was not possible, because some dependencies are not installed.\n" @@ -120,7 +120,7 @@ msgstr "" "zijn geïnstalleerd.\n" "Raadpleeg de documentatie op http://kosmorro.space voor meer informatie." -#: _kosmorro/dumper.py:573 +#: _kosmorro/dumper.py:540 #, python-format msgid "" "An error occurred during the compilation of the PDF.\n" @@ -131,11 +131,11 @@ msgstr "" "Open a.u.b. een ticket op https://github.com/Kosmorro/kosmorro/issues and " "share the content of the log file at /tmp/kosmorro-%s.log" -#: _kosmorro/exceptions.py:34 +#: _kosmorro/exceptions.py:35 msgid "The date must be between {minimum_date} and {maximum_date}" msgstr "De datum moet zijn tussen {minimum_date} en {maximum_date}" -#: _kosmorro/main.py:62 +#: _kosmorro/main.py:63 #, fuzzy msgid "" "Save the planet and paper!\n" @@ -146,7 +146,7 @@ msgstr "" "Overweeg om uw PDF-document alleen af te drukken als het echt nodig is, en " "gebruik de andere kant van het vel." -#: _kosmorro/main.py:71 +#: _kosmorro/main.py:72 #, fuzzy msgid "" "PDF output will not contain the ephemerides, because you didn't provide the " @@ -155,26 +155,28 @@ msgstr "" "PDF-uitvoer bevat de efemeriden niet, omdat u de observatiecoördinaat niet " "hebt opgegeven." -#: _kosmorro/main.py:116 +#: _kosmorro/main.py:117 #, fuzzy msgid "The file could not be saved in \"{path}\": {error}" msgstr "Kan de uitvoer niet opslaan in \"{path}\": {error}" -#: _kosmorro/main.py:130 +#: _kosmorro/main.py:131 msgid "Please provide a file path to export in this format (--output)." msgstr "Geef een bestandspad op om in deze indeling te exporteren (--output)." -#: _kosmorro/main.py:163 -msgid "Moon phase can only be displayed between {min_date} and {max_date}" +#: _kosmorro/main.py:164 +#, fuzzy +#| msgid "Moon phase can only be displayed between {min_date} and {max_date}" +msgid "Moon phase can only be computed between {min_date} and {max_date}" msgstr "Maanfase kan alleen worden weergegeven tussen {min_date} en {max_date}" -#: _kosmorro/main.py:202 +#: _kosmorro/main.py:203 #, fuzzy msgid "" "Running on Python {python_version} with Kosmorrolib v{kosmorrolib_version}" msgstr "Draait op Python {python_version}" -#: _kosmorro/main.py:215 +#: _kosmorro/main.py:216 msgid "" "Compute the ephemerides and the events for a given date and a given position " "on Earth." @@ -182,7 +184,7 @@ msgstr "" "Bereken de efemeriden en de gebeurtenissen voor een bepaalde datum en een " "bepaalde positie op aarde." -#: _kosmorro/main.py:218 +#: _kosmorro/main.py:219 #, fuzzy #| msgid "" #| "By default, only the events will be computed for today ({date}).\n" @@ -196,16 +198,16 @@ msgstr "" "Om ook de efemeriden te berekenen, zijn latitude- en longitude-argumenten " "nodig." -#: _kosmorro/main.py:231 +#: _kosmorro/main.py:232 msgid "Show the program version" msgstr "Toon de programmaversie" -#: _kosmorro/main.py:239 +#: _kosmorro/main.py:240 #, fuzzy msgid "The format to output the information to" msgstr "Het uitvoerformaat van de informatie" -#: _kosmorro/main.py:246 +#: _kosmorro/main.py:247 msgid "" "The observer's latitude on Earth. Can also be set in the KOSMORRO_LATITUDE " "environment variable." @@ -213,7 +215,7 @@ msgstr "" "De breedtegraad van de waarnemer op aarde. Kan ook worden ingesteld in de " "omgevingsvariabele KOSMORRO_LATITUDE." -#: _kosmorro/main.py:256 +#: _kosmorro/main.py:257 msgid "" "The observer's longitude on Earth. Can also be set in the KOSMORRO_LONGITUDE " "environment variable." @@ -221,7 +223,7 @@ msgstr "" "De lengtegraad van de waarnemer op aarde. Kan ook worden ingesteld in de " "omgevingsvariabele KOSMORRO_LONGITUDE." -#: _kosmorro/main.py:266 +#: _kosmorro/main.py:267 #, fuzzy #| msgid "" #| "The date for which the ephemerides must be calculated. Can be in the YYYY-" @@ -236,7 +238,7 @@ msgstr "" "MM-DD hebben of een interval in de indeling \"[+-]YyMmDd\" (met Y-, M- en D-" "nummers). Standaard ingesteld op vandaag ({default_date})." -#: _kosmorro/main.py:277 +#: _kosmorro/main.py:278 msgid "" "The timezone to display the hours in (e.g. 2 for UTC+2 or -3 for UTC-3). Can " "also be set in the KOSMORRO_TIMEZONE environment variable." @@ -245,11 +247,11 @@ msgstr "" "-3 voor UTC-3). Kan ook worden ingesteld in de omgevingsvariabele " "KOSMORRO_TIMEZONE." -#: _kosmorro/main.py:286 +#: _kosmorro/main.py:287 msgid "Disable the colors in the console." msgstr "Schakel de kleuren in de console uit." -#: _kosmorro/main.py:293 +#: _kosmorro/main.py:294 msgid "" "A file to export the output to. If not given, the standard output is used. " "This argument is needed for PDF format." @@ -257,7 +259,7 @@ msgstr "" "Een bestand om de uitvoer naar te exporteren. Indien niet opgegeven, wordt " "de standaarduitvoer gebruikt. Dit argument is nodig voor het pdf-formaat." -#: _kosmorro/main.py:302 +#: _kosmorro/main.py:303 #, fuzzy msgid "" "Do not generate a graph to represent the rise and set times in the PDF " @@ -266,7 +268,7 @@ msgstr "" "Genereer geen grafiek om de opkomst- en ondergangstijden in PDF-formaat weer " "te geven." -#: _kosmorro/main.py:310 +#: _kosmorro/main.py:311 msgid "Show debugging messages" msgstr "Foutopsporingsberichten weergeven" diff --git a/_kosmorro/locales/ru/LC_MESSAGES/messages.po b/_kosmorro/locales/ru/LC_MESSAGES/messages.po index 664b9c0..fdd8a42 100644 --- a/_kosmorro/locales/ru/LC_MESSAGES/messages.po +++ b/_kosmorro/locales/ru/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-02-16 13:58+0100\n" +"POT-Creation-Date: 2022-03-07 16:45+0100\n" "PO-Revision-Date: 2021-07-30 10:33+0000\n" "Last-Translator: Stalone \n" "Language-Team: Russian Date: Tue, 8 Mar 2022 11:04:45 +0000 Subject: [PATCH 22/55] chore(i18n): update German translation Currently translated at 100.0% (67 of 67 strings) Translations are welcome at https://hosted.weblate.org/projects/kosmorro/cli/de/ --- _kosmorro/locales/de/LC_MESSAGES/messages.po | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/_kosmorro/locales/de/LC_MESSAGES/messages.po b/_kosmorro/locales/de/LC_MESSAGES/messages.po index ce32f1b..c8a3c70 100644 --- a/_kosmorro/locales/de/LC_MESSAGES/messages.po +++ b/_kosmorro/locales/de/LC_MESSAGES/messages.po @@ -6,12 +6,12 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" -"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"Report-Msgid-Bugs-To: jerome@deuchnord.fr\n" "POT-Creation-Date: 2022-03-07 16:45+0100\n" -"PO-Revision-Date: 2022-03-07 15:57+0000\n" +"PO-Revision-Date: 2022-03-08 12:59+0000\n" "Last-Translator: Jérôme Deuchnord \n" -"Language-Team: German \n" +"Language-Team: German " +"\n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -162,12 +162,9 @@ msgstr "" "soll (--output)." #: _kosmorro/main.py:164 -#, fuzzy -#| msgid "Moon phase can only be displayed between {min_date} and {max_date}" msgid "Moon phase can only be computed between {min_date} and {max_date}" msgstr "" -"Die Mondphase kann nur zwischen dem {min_date} und dem {max_date} angezeigt " -"werden" +"Die Mondphase kann nur zwischen {min_date} und {max_date} berechnet werden" #: _kosmorro/main.py:203 msgid "" From ce3b2595682a7b2904d9a4f5a4d2dfe776c9b97a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Tue, 8 Mar 2022 11:05:07 +0000 Subject: [PATCH 23/55] chore(i18n): update French translation Currently translated at 100.0% (67 of 67 strings) Translations are welcome at https://hosted.weblate.org/projects/kosmorro/cli/fr/ --- _kosmorro/locales/fr/LC_MESSAGES/messages.po | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/_kosmorro/locales/fr/LC_MESSAGES/messages.po b/_kosmorro/locales/fr/LC_MESSAGES/messages.po index 7c900c8..f46e638 100644 --- a/_kosmorro/locales/fr/LC_MESSAGES/messages.po +++ b/_kosmorro/locales/fr/LC_MESSAGES/messages.po @@ -6,18 +6,18 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" -"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"Report-Msgid-Bugs-To: jerome@deuchnord.fr\n" "POT-Creation-Date: 2022-03-07 16:45+0100\n" -"PO-Revision-Date: 2022-03-01 12:56+0000\n" +"PO-Revision-Date: 2022-03-08 12:59+0000\n" "Last-Translator: Jérôme Deuchnord \n" -"Language-Team: French \n" +"Language-Team: French " +"\n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.11.1-dev\n" +"X-Generator: Weblate 4.12-dev\n" "Generated-By: Babel 2.9.0\n" #: _kosmorro/date.py:17 @@ -160,11 +160,9 @@ msgstr "" "Merci de fournir le chemin du fichier d'exporter pour ce format (--output)." #: _kosmorro/main.py:164 -#, fuzzy -#| msgid "Moon phase can only be displayed between {min_date} and {max_date}" msgid "Moon phase can only be computed between {min_date} and {max_date}" msgstr "" -"La phase de la Lune ne peut être affichée qu'entre le {min_date} et le " +"La phase de la Lune ne peut être calculée qu'entre le {min_date} et le " "{max_date}" #: _kosmorro/main.py:203 From bc6860416fde056cc17cc3b3e0d24eda72092a8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Mon, 14 Mar 2022 10:35:24 +0100 Subject: [PATCH 24/55] test: fix an issue in the RegExp testing the next full Moon phase line --- tests/utils.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/utils.py b/tests/utils.py index 2264f9f..f33bd73 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -22,12 +22,11 @@ NEXT_MOON_PHASE_PATTERN = re.compile( r"^((New Moon)|(Waxing Crescent)|" r"(First Quarter)|(Waxing Gibbous)|" r"(Full Moon)|(Waning Gibbous)|" - r"(Last Quarter)|(Waning Crescent)" - r") " + r"(Last Quarter)|(Waning Crescent)) " r"on ((Monday)|(Tuesday)|(Wednesday)|(Thursday)|(Friday)|(Saturday)|(Sunday)), " r"((January)|(February)|(March)|(April)|(May)|(June)|" r"(July)|(August)|(September)|(October)|(November)|(December)) " - r"[0-9]{1,2}, [0-9]{4} at [0-9]{2}:[0-9]{2} [AP]M$" + r"[0-9]{1,2}, [0-9]{4} at [0-9]{1,2}:[0-9]{2} [AP]M$" ) From e713ac233c49bedb807b0a32d34a406816969bc9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Mar 2022 09:37:33 +0000 Subject: [PATCH 25/55] chore(deps-dev): bump pytest from 7.0.1 to 7.1.0 Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.0.1 to 7.1.0. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/7.0.1...7.1.0) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Pipfile.lock | 66 ++++++++++++++++++++++++++++------------------------ 1 file changed, 35 insertions(+), 31 deletions(-) diff --git a/Pipfile.lock b/Pipfile.lock index be90307..673911b 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -47,27 +47,29 @@ }, "numpy": { "hashes": [ - "sha256:03ae5850619abb34a879d5f2d4bb4dcd025d6d8fb72f5e461dae84edccfe129f", - "sha256:076aee5a3763d41da6bef9565fdf3cb987606f567cd8b104aded2b38b7b47abf", - "sha256:0b536b6840e84c1c6a410f3a5aa727821e6108f3454d81a5cd5900999ef04f89", - "sha256:15efb7b93806d438e3bc590ca8ef2f953b0ce4f86f337ef4559d31ec6cf9d7dd", - "sha256:168259b1b184aa83a514f307352c25c56af111c269ffc109d9704e81f72e764b", - "sha256:2638389562bda1635b564490d76713695ff497242a83d9b684d27bb4a6cc9d7a", - "sha256:3556c5550de40027d3121ebbb170f61bbe19eb639c7ad0c7b482cd9b560cd23b", - "sha256:4a176959b6e7e00b5a0d6f549a479f869829bfd8150282c590deee6d099bbb6e", - "sha256:515a8b6edbb904594685da6e176ac9fbea8f73a5ebae947281de6613e27f1956", - "sha256:55535c7c2f61e2b2fc817c5cbe1af7cb907c7f011e46ae0a52caa4be1f19afe2", - "sha256:59153979d60f5bfe9e4c00e401e24dfe0469ef8da6d68247439d3278f30a180f", - "sha256:60cb8e5933193a3cc2912ee29ca331e9c15b2da034f76159b7abc520b3d1233a", - "sha256:6767ad399e9327bfdbaa40871be4254d1995f4a3ca3806127f10cec778bd9896", - "sha256:76a4f9bce0278becc2da7da3b8ef854bed41a991f4226911a24a9711baad672c", - "sha256:8cf33634b60c9cef346663a222d9841d3bbbc0a2f00221d6bcfd0d993d5543f6", - "sha256:94dd11d9f13ea1be17bac39c1942f527cbf7065f94953cf62dfe805653da2f8f", - "sha256:aafa46b5a39a27aca566198d3312fb3bde95ce9677085efd02c86f7ef6be4ec7", - "sha256:badca914580eb46385e7f7e4e426fea6de0a37b9e06bec252e481ae7ec287082", - "sha256:d76a26c5118c4d96e264acc9e3242d72e1a2b92e739807b3b69d8d47684b6677" + "sha256:07a8c89a04997625236c5ecb7afe35a02af3896c8aa01890a849913a2309c676", + "sha256:08d9b008d0156c70dc392bb3ab3abb6e7a711383c3247b410b39962263576cd4", + "sha256:201b4d0552831f7250a08d3b38de0d989d6f6e4658b709a02a73c524ccc6ffce", + "sha256:2c10a93606e0b4b95c9b04b77dc349b398fdfbda382d2a39ba5a822f669a0123", + "sha256:3ca688e1b9b95d80250bca34b11a05e389b1420d00e87a0d12dc45f131f704a1", + "sha256:48a3aecd3b997bf452a2dedb11f4e79bc5bfd21a1d4cc760e703c31d57c84b3e", + "sha256:568dfd16224abddafb1cbcce2ff14f522abe037268514dd7e42c6776a1c3f8e5", + "sha256:5bfb1bb598e8229c2d5d48db1860bcf4311337864ea3efdbe1171fb0c5da515d", + "sha256:639b54cdf6aa4f82fe37ebf70401bbb74b8508fddcf4797f9fe59615b8c5813a", + "sha256:8251ed96f38b47b4295b1ae51631de7ffa8260b5b087808ef09a39a9d66c97ab", + "sha256:92bfa69cfbdf7dfc3040978ad09a48091143cffb778ec3b03fa170c494118d75", + "sha256:97098b95aa4e418529099c26558eeb8486e66bd1e53a6b606d684d0c3616b168", + "sha256:a3bae1a2ed00e90b3ba5f7bd0a7c7999b55d609e0c54ceb2b076a25e345fa9f4", + "sha256:c34ea7e9d13a70bf2ab64a2532fe149a9aced424cd05a2c4ba662fd989e3e45f", + "sha256:dbc7601a3b7472d559dc7b933b18b4b66f9aa7452c120e87dfb33d02008c8a18", + "sha256:e7927a589df200c5e23c57970bafbd0cd322459aa7b1ff73b7c2e84d6e3eae62", + "sha256:f8c1f39caad2c896bc0018f699882b345b2a63708008be29b1f355ebf6f933fe", + "sha256:f950f8845b480cffe522913d35567e29dd381b0dc7e4ce6a4a9f9156417d2430", + "sha256:fade0d4f4d292b6f39951b6836d7a3c7ef5b2347f3c420cd9820a1d90d794802", + "sha256:fdf3c08bce27132395d3c3ba1503cac12e17282358cb4bddc25cc46b0aca07aa" ], - "version": "==1.22.2" + "markers": "python_version >= '3.8'", + "version": "==1.22.3" }, "python-dateutil": { "hashes": [ @@ -123,6 +125,7 @@ "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926", "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254" ], + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", "version": "==1.16.0" }, "skyfield": { @@ -136,6 +139,7 @@ "sha256:128d407e43a04be66c44b03914f9147b5e65b96078db776e6a4f5538ab0b74bf", "sha256:bd81bf9032d4833a766f4127e868d62674083ca2ccaea07e6d025e132c9c574e" ], + "markers": "python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5' and python_version < '4'", "version": "==4.0.0" }, "tabulate": { @@ -160,6 +164,7 @@ "sha256:2d27e3784d7a565d36ab851fe94887c5eccd6a463168875832a1be79c82828b4", "sha256:626ba8234211db98e869df76230a137c4c40a12d72445c45d5f5b716f076e2fd" ], + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'", "version": "==21.4.0" }, "aurornis": { @@ -204,6 +209,7 @@ "sha256:6a7a62563bbfabfda3a38f3023a1db4a35978c0abd76f6c9605ecd6554d6d9b1", "sha256:8458d7b1287c5fb128c90e23381cf99dcde74beaf6c7ff6384ce84d6fe090adb" ], + "markers": "python_version >= '3.6'", "version": "==8.0.4" }, "iniconfig": { @@ -225,6 +231,7 @@ "sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb", "sha256:ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522" ], + "markers": "python_version >= '3.6'", "version": "==21.3" }, "pathspec": { @@ -239,6 +246,7 @@ "sha256:7535e70dfa32e84d4b34996ea99c5e432fa29a708d0f4e394bbcb2a8faa4f16d", "sha256:bcae7cab893c2d310a711b70b24efb93334febe65f8de776ee320b517471e227" ], + "markers": "python_version >= '3.7'", "version": "==2.5.1" }, "pluggy": { @@ -246,6 +254,7 @@ "sha256:4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159", "sha256:74134bbf457f031a36d68416e1509f34bd5ccc019f0bcc952c7b909d06b37bd3" ], + "markers": "python_version >= '3.6'", "version": "==1.0.0" }, "py": { @@ -253,6 +262,7 @@ "sha256:51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719", "sha256:607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378" ], + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'", "version": "==1.11.0" }, "pyparsing": { @@ -260,30 +270,24 @@ "sha256:18ee9022775d270c55187733956460083db60b37d0d0fb357445f3094eed3eea", "sha256:a6c06a88f252e6c322f65faf8f418b16213b51bdfaece0524c1c1bc30c63c484" ], + "markers": "python_version >= '3.6'", "version": "==3.0.7" }, "pytest": { "hashes": [ - "sha256:9ce3ff477af913ecf6321fe337b93a2c0dcf2a0a1439c43f5452112c1e4280db", - "sha256:e30905a0c131d3d94b89624a1cc5afec3e0ba2fbdb151867d8e0ebd49850f171" + "sha256:b555252a95bbb2a37a97b5ac2eb050c436f7989993565f5e0c9128fcaacadd0e", + "sha256:f1089d218cfcc63a212c42896f1b7fbf096874d045e1988186861a1a87d27b47" ], "index": "pypi", - "version": "==7.0.1" + "version": "==7.1.0" }, "tomli": { "hashes": [ "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc", "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f" ], + "markers": "python_version >= '3.7'", "version": "==2.0.1" - }, - "typing-extensions": { - "hashes": [ - "sha256:1a9462dcc3347a79b1f1c0271fbe79e844580bb598bafa1ed208b94da3cdcd42", - "sha256:21c85e0fe4b9a155d0799430b0ad741cdce7e359660ccbd8b530613e8df88ce2" - ], - "markers": "python_version < '3.10'", - "version": "==4.1.1" } } } From e75c8a734f7ca79a880e1492a356e84b864f4468 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 18 Mar 2022 04:08:24 +0000 Subject: [PATCH 26/55] chore(deps-dev): bump pytest from 7.1.0 to 7.1.1 Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.1.0 to 7.1.1. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/7.1.0...7.1.1) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Pipfile.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Pipfile.lock b/Pipfile.lock index 673911b..a903ca4 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -275,11 +275,11 @@ }, "pytest": { "hashes": [ - "sha256:b555252a95bbb2a37a97b5ac2eb050c436f7989993565f5e0c9128fcaacadd0e", - "sha256:f1089d218cfcc63a212c42896f1b7fbf096874d045e1988186861a1a87d27b47" + "sha256:841132caef6b1ad17a9afde46dc4f6cfa59a05f9555aae5151f73bdf2820ca63", + "sha256:92f723789a8fdd7180b6b06483874feca4c48a5c76968e03bb3e7f806a1869ea" ], "index": "pypi", - "version": "==7.1.0" + "version": "==7.1.1" }, "tomli": { "hashes": [ From 5ccc67f940b9ffbbca3f97b15c01a32a95b3def1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 19 Mar 2022 09:57:59 +0000 Subject: [PATCH 27/55] chore(deps): bump kosmorrolib from 1.0.5 to 1.0.6 Bumps [kosmorrolib](https://github.com/Kosmorro/lib) from 1.0.5 to 1.0.6. - [Release notes](https://github.com/Kosmorro/lib/releases) - [Changelog](https://github.com/Kosmorro/lib/blob/main/CHANGELOG.md) - [Commits](https://github.com/Kosmorro/lib/compare/v1.0.5...v1.0.6) --- updated-dependencies: - dependency-name: kosmorrolib dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Pipfile.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Pipfile.lock b/Pipfile.lock index a903ca4..e157a56 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -39,11 +39,11 @@ }, "kosmorrolib": { "hashes": [ - "sha256:1dd63aea8407164ba8ecabcf2760f9c4c2a6fb3b13f39bc8b1aa100df60dc9bc", - "sha256:3b5fd04e56364c1d5d0a08032a11cbfa827c202da5298303263e8bac8fde5bc1" + "sha256:8c77f40b346d183147cb3e927b3ea5c7d4d7067ce7e49edb73821566f74d5e51", + "sha256:9ffbbaa8666c1222bf8a25d543afa72a0a80249017d342a6667bcae8657effc0" ], "index": "pypi", - "version": "==1.0.5" + "version": "==1.0.6" }, "numpy": { "hashes": [ From ca3ac9111e43c0231cdfa725187d0b0ca1487033 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Tue, 28 Dec 2021 18:03:19 +0100 Subject: [PATCH 28/55] chore: migrate to Poetry BREAKING CHANGE: Docker support has been removed. If you were using it, please migrate to [one of the other available options](https://kosmorro.space/cli/download/). --- .github/ISSUE_TEMPLATE/bug_report.yml | 5 +- .github/workflows/appimage.yml | 9 +- .github/workflows/dockerfile.yml | 26 - .github/workflows/i18n.yml | 13 +- .github/workflows/manpage.yml | 28 + .github/workflows/tests.yml | 18 +- .gitpod.yml | 4 +- AppImageBuilder.yml | 2 +- CONTRIBUTING.md | 52 +- Dockerfile | 33 - Makefile | 15 +- Pipfile | 22 - Pipfile.lock | 293 --------- README.md | 10 +- kosmorro | 26 - {_kosmorro => kosmorro}/__init__.py | 0 _kosmorro/main.py => kosmorro/__main__.py | 8 +- {_kosmorro => kosmorro}/__version__.py | 0 .../assets/moonphases/png/first-quarter.png | Bin .../assets/moonphases/png/full-moon.png | Bin .../assets/moonphases/png/last-quarter.png | Bin .../assets/moonphases/png/new-moon.png | Bin .../assets/moonphases/png/unknown.png | Bin .../assets/moonphases/png/waning-crescent.png | Bin .../assets/moonphases/png/waning-gibbous.png | Bin .../assets/moonphases/png/waxing-crescent.png | Bin .../assets/moonphases/png/waxing-gibbous.png | Bin .../assets/moonphases/svg/first-quarter.svg | 0 .../assets/moonphases/svg/full-moon.svg | 0 .../assets/moonphases/svg/last-quarter.svg | 0 .../assets/moonphases/svg/new-moon.svg | 0 .../assets/moonphases/svg/unknown.svg | 0 .../assets/moonphases/svg/waning-crescent.svg | 0 .../assets/moonphases/svg/waning-gibbous.svg | 0 .../assets/moonphases/svg/waxing-crescent.svg | 0 .../assets/moonphases/svg/waxing-gibbous.svg | 0 .../assets/pdf/kosmorro.sty | 0 .../assets/pdf/template.tex | 0 .../assets/png/kosmorro-icon-white.png | Bin .../assets/png/kosmorro-icon.png | Bin .../assets/png/kosmorro-logo-white.png | Bin .../assets/png/kosmorro-logo.png | Bin .../assets/svg/kosmorro-icon-white.svg | 0 .../assets/svg/kosmorro-icon.svg | 0 .../assets/svg/kosmorro-logo-white.svg | 0 .../assets/svg/kosmorro-logo.svg | 0 {_kosmorro => kosmorro}/date.py | 2 +- {_kosmorro => kosmorro}/debug.py | 0 {_kosmorro => kosmorro}/dumper.py | 0 {_kosmorro => kosmorro}/environment.py | 0 {_kosmorro => kosmorro}/exceptions.py | 2 +- {_kosmorro => kosmorro}/i18n/__init__.py | 0 {_kosmorro => kosmorro}/i18n/strings.py | 0 {_kosmorro => kosmorro}/i18n/utils.py | 0 .../locales/de/LC_MESSAGES/messages.po | 0 .../locales/en_XA/LC_MESSAGES/messages.po | 0 .../locales/es/LC_MESSAGES/messages.po | 0 .../locales/fr/LC_MESSAGES/messages.po | 0 {_kosmorro => kosmorro}/locales/messages.pot | 276 ++++----- .../locales/nb_NO/LC_MESSAGES/messages.po | 0 .../locales/nl/LC_MESSAGES/messages.po | 0 .../locales/ru/LC_MESSAGES/messages.po | 0 {_kosmorro => kosmorro}/utils.py | 0 poetry.lock | 576 ++++++++++++++++++ pyproject.toml | 32 + setup.cfg | 6 +- setup.py | 60 -- tests/utils.py | 2 +- 68 files changed, 838 insertions(+), 682 deletions(-) delete mode 100644 .github/workflows/dockerfile.yml create mode 100644 .github/workflows/manpage.yml delete mode 100644 Dockerfile delete mode 100644 Pipfile delete mode 100644 Pipfile.lock delete mode 100755 kosmorro rename {_kosmorro => kosmorro}/__init__.py (100%) rename _kosmorro/main.py => kosmorro/__main__.py (99%) rename {_kosmorro => kosmorro}/__version__.py (100%) rename {_kosmorro => kosmorro}/assets/moonphases/png/first-quarter.png (100%) rename {_kosmorro => kosmorro}/assets/moonphases/png/full-moon.png (100%) rename {_kosmorro => kosmorro}/assets/moonphases/png/last-quarter.png (100%) rename {_kosmorro => kosmorro}/assets/moonphases/png/new-moon.png (100%) rename {_kosmorro => kosmorro}/assets/moonphases/png/unknown.png (100%) rename {_kosmorro => kosmorro}/assets/moonphases/png/waning-crescent.png (100%) rename {_kosmorro => kosmorro}/assets/moonphases/png/waning-gibbous.png (100%) rename {_kosmorro => kosmorro}/assets/moonphases/png/waxing-crescent.png (100%) rename {_kosmorro => kosmorro}/assets/moonphases/png/waxing-gibbous.png (100%) rename {_kosmorro => kosmorro}/assets/moonphases/svg/first-quarter.svg (100%) rename {_kosmorro => kosmorro}/assets/moonphases/svg/full-moon.svg (100%) rename {_kosmorro => kosmorro}/assets/moonphases/svg/last-quarter.svg (100%) rename {_kosmorro => kosmorro}/assets/moonphases/svg/new-moon.svg (100%) rename {_kosmorro => kosmorro}/assets/moonphases/svg/unknown.svg (100%) rename {_kosmorro => kosmorro}/assets/moonphases/svg/waning-crescent.svg (100%) rename {_kosmorro => kosmorro}/assets/moonphases/svg/waning-gibbous.svg (100%) rename {_kosmorro => kosmorro}/assets/moonphases/svg/waxing-crescent.svg (100%) rename {_kosmorro => kosmorro}/assets/moonphases/svg/waxing-gibbous.svg (100%) rename {_kosmorro => kosmorro}/assets/pdf/kosmorro.sty (100%) rename {_kosmorro => kosmorro}/assets/pdf/template.tex (100%) rename {_kosmorro => kosmorro}/assets/png/kosmorro-icon-white.png (100%) rename {_kosmorro => kosmorro}/assets/png/kosmorro-icon.png (100%) rename {_kosmorro => kosmorro}/assets/png/kosmorro-logo-white.png (100%) rename {_kosmorro => kosmorro}/assets/png/kosmorro-logo.png (100%) rename {_kosmorro => kosmorro}/assets/svg/kosmorro-icon-white.svg (100%) rename {_kosmorro => kosmorro}/assets/svg/kosmorro-icon.svg (100%) rename {_kosmorro => kosmorro}/assets/svg/kosmorro-logo-white.svg (100%) rename {_kosmorro => kosmorro}/assets/svg/kosmorro-logo.svg (100%) rename {_kosmorro => kosmorro}/date.py (97%) rename {_kosmorro => kosmorro}/debug.py (100%) rename {_kosmorro => kosmorro}/dumper.py (100%) rename {_kosmorro => kosmorro}/environment.py (100%) rename {_kosmorro => kosmorro}/exceptions.py (96%) rename {_kosmorro => kosmorro}/i18n/__init__.py (100%) rename {_kosmorro => kosmorro}/i18n/strings.py (100%) rename {_kosmorro => kosmorro}/i18n/utils.py (100%) rename {_kosmorro => kosmorro}/locales/de/LC_MESSAGES/messages.po (100%) create mode 100644 kosmorro/locales/en_XA/LC_MESSAGES/messages.po rename {_kosmorro => kosmorro}/locales/es/LC_MESSAGES/messages.po (100%) rename {_kosmorro => kosmorro}/locales/fr/LC_MESSAGES/messages.po (100%) rename {_kosmorro => kosmorro}/locales/messages.pot (71%) rename {_kosmorro => kosmorro}/locales/nb_NO/LC_MESSAGES/messages.po (100%) rename {_kosmorro => kosmorro}/locales/nl/LC_MESSAGES/messages.po (100%) rename {_kosmorro => kosmorro}/locales/ru/LC_MESSAGES/messages.po (100%) rename {_kosmorro => kosmorro}/utils.py (100%) create mode 100644 poetry.lock create mode 100644 pyproject.toml delete mode 100644 setup.py diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index b3fdb6e..bccfb59 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -88,10 +88,9 @@ body: - PyPI - Arch User Repository (AUR) - FreshPorts - - Docker + - I used the AppImage - I have compiled the package from source - - I have run Kosmorro with Pipenv - - other + - Other (explain in the description) - type: textarea id: description diff --git a/.github/workflows/appimage.yml b/.github/workflows/appimage.yml index 58cb624..62333dc 100644 --- a/.github/workflows/appimage.yml +++ b/.github/workflows/appimage.yml @@ -19,8 +19,8 @@ jobs: sudo gem install ronn wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O /usr/local/bin/appimagetool sudo chmod +x /usr/local/bin/appimagetool - pip install -U pip pipenv Babel wheel appimage-builder - pipenv install --dev + pip install -U pip poetry appimage-builder + poetry install - name: Build wheel run: | @@ -41,3 +41,8 @@ jobs: with: name: kosmorro.AppImage.zsync path: dist/kosmorro-latest-x86_64.AppImage.zsync + + - name: Run basic command + run: | + chmod +x dist/kosmorro-latest-x86_64.AppImage + ./dist/kosmorro-latest-x86_64.AppImage diff --git a/.github/workflows/dockerfile.yml b/.github/workflows/dockerfile.yml deleted file mode 100644 index 32d6d30..0000000 --- a/.github/workflows/dockerfile.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Docker image - -on: - push: - branches: [master, features] - pull_request: - branches: [master, features] - -jobs: - build-image: - runs-on: ubuntu-latest - - name: Test building Docker image - steps: - - uses: actions/checkout@v1 - - - name: Set up Docker - uses: docker-practice/actions-setup-docker@v1 - - - name: Create image - run: | - docker build -t kosmorro . - - - name: Execute image - run: | - docker run kosmorro kosmorro diff --git a/.github/workflows/i18n.yml b/.github/workflows/i18n.yml index 76d042e..b4d39f4 100644 --- a/.github/workflows/i18n.yml +++ b/.github/workflows/i18n.yml @@ -18,21 +18,20 @@ jobs: python-version: '3.x' - name: Install dependencies run: | - pip install --upgrade pip pipenv - pipenv sync -d + pip install --upgrade pip poetry + poetry install - name: Check i18n run: | - pipenv run pybabel extract --output=/tmp/kosmorro-messages.pot _kosmorro + poetry run pybabel extract --output=/tmp/kosmorro-messages.pot kosmorro echo - - diff=$(diff _kosmorro/locales/messages.pot /tmp/kosmorro-messages.pot | grep '^>') + diff=$(diff kosmorro/locales/messages.pot /tmp/kosmorro-messages.pot | grep '^>') n=$(echo "$diff" | grep -v '> "POT-Creation-Date: ' | wc -l) if [ "$(echo "$diff" | grep -E '^"Generated-By: Babel' | wc -l)" -eq "1" ]; then - echo "❌ You dependencies may be out of date!" + echo "❌ Your dependencies may be out of date!" echo " Please run the following command to fix this:" echo - echo " pipenv sync --dev" + echo " poetry install" echo echo " Then update the messages file:" echo diff --git a/.github/workflows/manpage.yml b/.github/workflows/manpage.yml new file mode 100644 index 0000000..9183a00 --- /dev/null +++ b/.github/workflows/manpage.yml @@ -0,0 +1,28 @@ +name: Man pages + +on: + push: + branches: [master, features] + pull_request: + branches: [master, features] + +jobs: + e2e-tests: + runs-on: ubuntu-latest + name: Check + + steps: + - uses: actions/checkout@v2 + + - name: Compile man pages + run: | + sudo gem install ronn + make manpage + + - name: manpage (section 1) + run: | + man -P $(which cat) manpage/kosmorro.1 + + - name: manpage (section 7) + run: | + man -P $(which cat) manpage/kosmorro.7 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ba6fa4c..b2eab1b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,19 +27,17 @@ jobs: name: Python ${{ matrix.python-version }} on ${{ matrix.os }} steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: Set up Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Prepare tests run: | - sudo gem install ronn - pip install -U pip pipenv - pipenv sync --dev - make manpage + pip install -U pip poetry + poetry install - name: E2E tests run: | @@ -55,11 +53,3 @@ jobs: TEXLIVE_INSTALLED: 1 run: | make tests - - - name: manpage (section 1) - run: | - man -P $(which cat) manpage/kosmorro.1 - - - name: manpage (section 7) - run: | - man -P $(which cat) manpage/kosmorro.7 diff --git a/.gitpod.yml b/.gitpod.yml index 1ddfc91..01df18e 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -10,5 +10,5 @@ vscode: tasks: - before: sudo apt update && sudo apt install -y texlive texlive-latex-extra - - before: pip install -U pip pipenv - init: pipenv sync --dev --pre + - before: pip install -U pip poetry + init: poetry install diff --git a/AppImageBuilder.yml b/AppImageBuilder.yml index 05fbe3c..244017e 100644 --- a/AppImageBuilder.yml +++ b/AppImageBuilder.yml @@ -3,7 +3,7 @@ version: 1 script: | mkdir -p build/AppDir build/AppDir/usr/share/icons/hicolor/scalable/apps - cp _kosmorro/assets/svg/kosmorro-icon.svg build/AppDir/usr/share/icons/hicolor/scalable/apps/kosmorro.svg + cp kosmorro/assets/svg/kosmorro-icon.svg build/AppDir/usr/share/icons/hicolor/scalable/apps/kosmorro.svg pip3 install --isolated --root="./build/AppDir" ./dist/kosmorro-*.whl AppDir: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 832d0eb..4d1b849 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -23,7 +23,7 @@ If you speak another language than English, another nice way to enhance Kosmorro [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/Kosmorro/kosmorro) -First of all, if you are fixing an opened issue, check that nobody is already working on it — if someone seems to be but their Pull Request seems stuck, please ask them first if you can continue the development. If you retake the code they produced, **don't change the author of the commits**. +First, if you are fixing an opened issue, check that nobody is already working on it — if someone seems to be but their Pull Request seems stuck, please ask them first if you can continue the development. If you retake the code they produced, **don't change the author of the commits**. Before writing the code, first create a fork of the repository and clone it. You may also want to add the original repository (`Kosmorro/kosmorro`), so you can update your fork with the last upstream commits. @@ -50,7 +50,7 @@ When you add a new string that will be displayed to the end user, please pass it print('Note: All the hours are given in UTC.') # Do: -from kosmorrolib.i18n import _ +from kosmorro.i18n import _ print(_('Note: All the hours are given in UTC.')) ``` @@ -58,45 +58,37 @@ This will allow Python's internationalization tool to translate the string in an Once you have done your work, please remember to tell [Babel](http://babel.pocoo.org) to extract the new strings: -```console -$ make messages +```bash +make messages ``` -> If the `setup.py` script tells you that the `extract_messages` command does not exist, then run `pipenv sync` to ensure all the dev dependencies are installed and try again. - Note that if you forget to update the messages file, the CI will fail. ### Matching the coding standards -Kosmorro's source code follows the major coding standards of Python (PEPs). Before marking your Pull Request as ready for review, don't forget to check that the code respects the coding standards with PyLint (it is run on the CI, but feel free to run it on your local machine too). Your PR must have a global note of 10/10 to be elligible to merge. - -### Testing the code - -There are two kinds of tests on this project: **unit tests** and **end-to-end tests** (sometimes abbreviated to _E2E tests_). - -#### Unit tests - -[Unit tests](https://en.wikipedia.org/wiki/Unit_testing) check that every little piece of code (any _unit_) does exactly what it is supposed to do. They have several advantages, like proving that new things in the codebase works exactly as they should, and making sure that future changes done later won't break them. - -Kosmorro's unit tests use Python's official `unittest` module. They live in the `/test` folder of the repository. Whenever you write a new feature or a bug fix, please write the unit tests that will make sure it works. -You can also run them by invoking the following command: +Kosmorro's source code follows the major coding standards of Python (PEPs). +Before marking your Pull Request as ready for review, don't forget to check that the code respects the coding standards with Black: -```shell -make test +```bash +make black ``` -Note: there are currently some memory leaks in the unit tests, making the result quite difficult to read. I am working to fix this. -If you have troubles reading them, feel free to ask. +### Testing the code -#### End-to-end tests +The tests are located in the `/tests` folder. +Their principle is pretty simple: -If unit tests are really good at checking that every individual parts of code work well, they fail at checking that so does the _whole_ program as a finished product. That is the job of end-to-end tests. +1. First, we run a Kosmorro command as we would in command line application. We use the [Aurornis](https://pypi.org/project/aurornis/) package to do this. +2. Then, we test the return of the command against what we expected. We use [PyTest](https://pypi.org/project/pytest/) to do this. -The goal here is to make sure that if you install Kosmorro from scratch, it will work without any problem. If a mandatory dependency has not been installed, or if something goes wrong in the main program (which is not possible to unit test), the E2E tests will fail. +To run the tests, invoke the following command: -Kosmorro's 2E2 tests are a Bash script living in the `/.scripts/tests-e2e.sh` file. You should only add tests here if you add new ways to interact with Kosmorro itself (e.g. adding a new argument in the command line). +```bash +make tests -Fore security purpose, it is not recommended running E2E tests locally, because some tests need the root privilege to pass (e.g. installing optional dependencies). They are run on the CI. +# Or, if you have TeXLive installed on your machine (Linux only): +make TEXLIVE_INSTALLED=1 tests +``` ### Commiting @@ -112,11 +104,7 @@ Once your PR is ready to review, please squash your commits so it contains only > To ensure your commits follow this convention, you can use [glint](https://github.com/brigand/glint). -The commit messages are then used to generate the changelog using [`conventional-changelog`](https://github.com/conventional-changelog/conventional-changelog): - -```bash -conventional-changelog -p angular -i CHANGELOG.md -s -``` +The commit messages are then used to generate the changelog using [`conventional-changelog`](https://github.com/conventional-changelog/conventional-changelog). ## Licensing and Copyright Attribution diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 0765773..0000000 --- a/Dockerfile +++ /dev/null @@ -1,33 +0,0 @@ -FROM python:3.9-slim - -RUN useradd --create-home --shell /bin/bash kosmorro - -WORKDIR /home/kosmorro - -ENV PATH="/home/kosmorro:${PATH}" - -# Prepare environment -RUN python -m pip install --upgrade pip -RUN pip install pipenv -COPY Pipfile.lock . -RUN pipenv sync && pipenv run pip freeze > requirements.txt - -# Add files -RUN pip install -r requirements.txt -COPY _kosmorro/ _kosmorro/ -COPY kosmorro . - -# Compile the translations -COPY setup.py setup.py -COPY setup.cfg setup.cfg -COPY README.md README.md -RUN python setup.py compile_catalog - -# Clean the image -RUN rm setup.py setup.cfg README.md && \ - rm _kosmorro/locales/messages.pot _kosmorro/locales/*/LC_MESSAGES/messages.po && \ - pip uninstall --yes pipenv - -USER kosmorro - -CMD ["bash"] diff --git a/Makefile b/Makefile index 24c3637..c371814 100644 --- a/Makefile +++ b/Makefile @@ -1,18 +1,13 @@ black: - pipenv run black kosmorro _kosmorro tests setup.py + poetry run black kosmorro tests setup.py .PHONY: tests tests: - @if [ "$${TEXLIVE_INSTALLED}" == "" ]; then \ - echo "If you are running the tests locally and TeXLive is installed on your machine, you will need to set the TEXLIVE_INSTALLED environment variable."; \ - echo; \ - fi - - LANG=C pipenv run python3 -m pytest tests/*.py + LANG=C python3 -m poetry run pytest tests/*.py .PHONY: build build: manpage - python3 setup.py sdist bdist_wheel + poetry build .PHONY: manpage manpage: @@ -20,10 +15,10 @@ manpage: ronn --roff manpage/kosmorro.7.md messages: - pipenv run pybabel extract --output=_kosmorro/locales/messages.pot _kosmorro + poetry run pybabel extract --output=kosmorro/locales/messages.pot kosmorro i18n: - pipenv run pybabel compile --directory=_kosmorro/locales + poetry run pybabel compile --directory=kosmorro/locales changelog: conventional-changelog -p angular -i CHANGELOG.md -s diff --git a/Pipfile b/Pipfile deleted file mode 100644 index 5f4d225..0000000 --- a/Pipfile +++ /dev/null @@ -1,22 +0,0 @@ -[[source]] -name = "pypi" -url = "https://pypi.org/simple" -verify_ssl = true - -[dev-packages] -black = "*" -pytest = "*" -aurornis = "*" - -[packages] -tabulate = "*" -termcolor = "*" -kosmorrolib = ">=1.0.0,<2.0.0" -python-dateutil = "*" -babel = ">=2.9.0,<3.0.0" - -[requires] -python_version = "3" - -[pipenv] -allow_prereleases = true diff --git a/Pipfile.lock b/Pipfile.lock deleted file mode 100644 index e157a56..0000000 --- a/Pipfile.lock +++ /dev/null @@ -1,293 +0,0 @@ -{ - "_meta": { - "hash": { - "sha256": "7c87215e821ad4c88dadc31960030f52957e2eaa41d451bfa3a53feb91b8d856" - }, - "pipfile-spec": 6, - "requires": { - "python_version": "3" - }, - "sources": [ - { - "name": "pypi", - "url": "https://pypi.org/simple", - "verify_ssl": true - } - ] - }, - "default": { - "babel": { - "hashes": [ - "sha256:ab49e12b91d937cd11f0b67cb259a57ab4ad2b59ac7a3b41d6c06c0ac5b0def9", - "sha256:bc0c176f9f6a994582230df350aa6e05ba2ebe4b3ac317eab29d9be5d2768da0" - ], - "index": "pypi", - "version": "==2.9.1" - }, - "certifi": { - "hashes": [ - "sha256:78884e7c1d4b00ce3cea67b44566851c4343c120abd683433ce934a68ea58872", - "sha256:d62a0163eb4c2344ac042ab2bdf75399a71a2d8c7d47eac2e2ee91b9d6339569" - ], - "version": "==2021.10.8" - }, - "jplephem": { - "hashes": [ - "sha256:e1c6e5565c4d00485f1063241b4d1eff044585c22b8e97fad0ff2f6efb8aaa27" - ], - "version": "==2.17" - }, - "kosmorrolib": { - "hashes": [ - "sha256:8c77f40b346d183147cb3e927b3ea5c7d4d7067ce7e49edb73821566f74d5e51", - "sha256:9ffbbaa8666c1222bf8a25d543afa72a0a80249017d342a6667bcae8657effc0" - ], - "index": "pypi", - "version": "==1.0.6" - }, - "numpy": { - "hashes": [ - "sha256:07a8c89a04997625236c5ecb7afe35a02af3896c8aa01890a849913a2309c676", - "sha256:08d9b008d0156c70dc392bb3ab3abb6e7a711383c3247b410b39962263576cd4", - "sha256:201b4d0552831f7250a08d3b38de0d989d6f6e4658b709a02a73c524ccc6ffce", - "sha256:2c10a93606e0b4b95c9b04b77dc349b398fdfbda382d2a39ba5a822f669a0123", - "sha256:3ca688e1b9b95d80250bca34b11a05e389b1420d00e87a0d12dc45f131f704a1", - "sha256:48a3aecd3b997bf452a2dedb11f4e79bc5bfd21a1d4cc760e703c31d57c84b3e", - "sha256:568dfd16224abddafb1cbcce2ff14f522abe037268514dd7e42c6776a1c3f8e5", - "sha256:5bfb1bb598e8229c2d5d48db1860bcf4311337864ea3efdbe1171fb0c5da515d", - "sha256:639b54cdf6aa4f82fe37ebf70401bbb74b8508fddcf4797f9fe59615b8c5813a", - "sha256:8251ed96f38b47b4295b1ae51631de7ffa8260b5b087808ef09a39a9d66c97ab", - "sha256:92bfa69cfbdf7dfc3040978ad09a48091143cffb778ec3b03fa170c494118d75", - "sha256:97098b95aa4e418529099c26558eeb8486e66bd1e53a6b606d684d0c3616b168", - "sha256:a3bae1a2ed00e90b3ba5f7bd0a7c7999b55d609e0c54ceb2b076a25e345fa9f4", - "sha256:c34ea7e9d13a70bf2ab64a2532fe149a9aced424cd05a2c4ba662fd989e3e45f", - "sha256:dbc7601a3b7472d559dc7b933b18b4b66f9aa7452c120e87dfb33d02008c8a18", - "sha256:e7927a589df200c5e23c57970bafbd0cd322459aa7b1ff73b7c2e84d6e3eae62", - "sha256:f8c1f39caad2c896bc0018f699882b345b2a63708008be29b1f355ebf6f933fe", - "sha256:f950f8845b480cffe522913d35567e29dd381b0dc7e4ce6a4a9f9156417d2430", - "sha256:fade0d4f4d292b6f39951b6836d7a3c7ef5b2347f3c420cd9820a1d90d794802", - "sha256:fdf3c08bce27132395d3c3ba1503cac12e17282358cb4bddc25cc46b0aca07aa" - ], - "markers": "python_version >= '3.8'", - "version": "==1.22.3" - }, - "python-dateutil": { - "hashes": [ - "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86", - "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9" - ], - "index": "pypi", - "version": "==2.8.2" - }, - "pytz": { - "hashes": [ - "sha256:3672058bc3453457b622aab7a1c3bfd5ab0bdae451512f6cf25f64ed37f5b87c", - "sha256:acad2d8b20a1af07d4e4c9d2e9285c5ed9104354062f275f3fcd88dcef4f1326" - ], - "version": "==2021.3" - }, - "sgp4": { - "hashes": [ - "sha256:05f22b4fd91861ee2e0e03a528c1aef11a8b263a60ab5f723d32cdb65dac3eaa", - "sha256:06586caf071e3427bc4e5a5c84a806045532040dc2c35ca0ff12f34cab2ecb5c", - "sha256:1af727dfe02ef32babd124644e96b8cc109b22142efb44e37d0e3aaf4c38a1ab", - "sha256:1d3b5abc07266203f4b453e7c1ca8403ef2d7b8d1779c14c9a4177e4b1558ba5", - "sha256:24477da85936b864fd765911f808a4d113c81189c2a0ecd5992bcdf9aecbf5ef", - "sha256:2a89fc1debacfa10cf55ae1d40472037a57687b1ae3b66e7196e5af53fb96a56", - "sha256:2b449e6cab15748608c6083f86b0059d26093f76fa227010df09d8f0954b3bbd", - "sha256:3e3eb29c308d30d010316832606af184d243d5aab8ccc5d589f3cb85d74471f7", - "sha256:43c2c6d464144bb80987b2e66f3992add58c65e095abe2b9d567650fdb877a9d", - "sha256:4d5eb2aff4f645f5020ac869ec453dcd807836b3eb8b459d569eda40c358cd76", - "sha256:642bae76c6e55b72feda3c5ca3721e837f2702816a120805349b06e40f85faea", - "sha256:67f99f534fdc5650d8efe516e77dd9b43e4cb8ab9b38f2b66484085c0ff75077", - "sha256:6c906973dc2966cba8065f359c3eaa18505280be8f625b54ebb98f5ddeb8d205", - "sha256:7d848698ae2bf5bb9ea2082640b0417175a6b2e6e8d580114ebe04265cd1bfb4", - "sha256:80f9b2f1c2ac53c7b8cbf1a08e5a39a56c1b7c18d3e0de922078758a784b0b20", - "sha256:876b82d41a859c9ff65d3bdb7f6a3cecfc63bea529b4dc751b06eefbd6c3f1e0", - "sha256:8c2f4f99ab360a93768bf88ad6a9fdf83edfa6292e0a0ac8924c85fde11b2055", - "sha256:9fde328872f484eb644dabe32122ba617570ff61b548b7200a9d63629ac3097c", - "sha256:b2169cd536355fc67e3870acea34c4fc22b2ccecab2c0bf45a01edfe646fe3d0", - "sha256:cf4d5ac32b5e84c7b420109a09ea3c3741844fa92776f79d1c852cc67e2c1364", - "sha256:d42a3dcdfd394c5059b99bbf8b35311e03e87d21fbfb6ba2d5c5d2dfad15d4d7", - "sha256:dbfffe1ff2c223804e2ebdeb568baad46f40342943c4a74169fd75dc5dddda57", - "sha256:dfc5214b65ad8229c499f0da3f5042a18239f12f4318e90d892a79dcbf27282f", - "sha256:e73680b3b7b8b977766ae91eadd92988a0c3e36248dcac5d8263a957bec34a04", - "sha256:e8ecc01fdffe81f11ca94bb255024379e62c92f73e2baec2bdf5a3c3108221ff", - "sha256:ea37423d4317ec5351a4e3b6a3947a6053978e5290549d77ba375459527f7ccb", - "sha256:ee329571c1a25ce4f1e2b01d6f923791d16c5a7a3a75219317073bc50a7d25fe", - "sha256:ee3688ae409a201107927b24be10db2a61efdd5a919737b4900c57ee8b3a22d6", - "sha256:f5d2830f2896cecc4af0729cd328994ae823f277f481d4fc992383eb79f3742a" - ], - "version": "==2.20" - }, - "six": { - "hashes": [ - "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926", - "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", - "version": "==1.16.0" - }, - "skyfield": { - "hashes": [ - "sha256:3447fd3a9a9dabc2080e6a4efb56d9883decf261ad78e6c9b3f187c4fc761ace" - ], - "version": "==1.42" - }, - "skyfield-data": { - "hashes": [ - "sha256:128d407e43a04be66c44b03914f9147b5e65b96078db776e6a4f5538ab0b74bf", - "sha256:bd81bf9032d4833a766f4127e868d62674083ca2ccaea07e6d025e132c9c574e" - ], - "markers": "python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5' and python_version < '4'", - "version": "==4.0.0" - }, - "tabulate": { - "hashes": [ - "sha256:d7c013fe7abbc5e491394e10fa845f8f32fe54f8dc60c6622c6cf482d25d47e4", - "sha256:eb1d13f25760052e8931f2ef80aaf6045a6cceb47514db8beab24cded16f13a7" - ], - "index": "pypi", - "version": "==0.8.9" - }, - "termcolor": { - "hashes": [ - "sha256:1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b" - ], - "index": "pypi", - "version": "==1.1.0" - } - }, - "develop": { - "attrs": { - "hashes": [ - "sha256:2d27e3784d7a565d36ab851fe94887c5eccd6a463168875832a1be79c82828b4", - "sha256:626ba8234211db98e869df76230a137c4c40a12d72445c45d5f5b716f076e2fd" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'", - "version": "==21.4.0" - }, - "aurornis": { - "hashes": [ - "sha256:660b57e9d1701d88fb7cc4af3118c927e9e001d2ab39cb145695eb8470f4642a", - "sha256:bc68845be5cdf2d69d26c677214f7435365967b4a65dc3772ab05353b2136d95" - ], - "index": "pypi", - "version": "==1.2.0" - }, - "black": { - "hashes": [ - "sha256:07e5c049442d7ca1a2fc273c79d1aecbbf1bc858f62e8184abe1ad175c4f7cc2", - "sha256:0e21e1f1efa65a50e3960edd068b6ae6d64ad6235bd8bfea116a03b21836af71", - "sha256:1297c63b9e1b96a3d0da2d85d11cd9bf8664251fd69ddac068b98dc4f34f73b6", - "sha256:228b5ae2c8e3d6227e4bde5920d2fc66cc3400fde7bcc74f480cb07ef0b570d5", - "sha256:2d6f331c02f0f40aa51a22e479c8209d37fcd520c77721c034517d44eecf5912", - "sha256:2ff96450d3ad9ea499fc4c60e425a1439c2120cbbc1ab959ff20f7c76ec7e866", - "sha256:3524739d76b6b3ed1132422bf9d82123cd1705086723bc3e235ca39fd21c667d", - "sha256:35944b7100af4a985abfcaa860b06af15590deb1f392f06c8683b4381e8eeaf0", - "sha256:373922fc66676133ddc3e754e4509196a8c392fec3f5ca4486673e685a421321", - "sha256:5fa1db02410b1924b6749c245ab38d30621564e658297484952f3d8a39fce7e8", - "sha256:6f2f01381f91c1efb1451998bd65a129b3ed6f64f79663a55fe0e9b74a5f81fd", - "sha256:742ce9af3086e5bd07e58c8feb09dbb2b047b7f566eb5f5bc63fd455814979f3", - "sha256:7835fee5238fc0a0baf6c9268fb816b5f5cd9b8793423a75e8cd663c48d073ba", - "sha256:8871fcb4b447206904932b54b567923e5be802b9b19b744fdff092bd2f3118d0", - "sha256:a7c0192d35635f6fc1174be575cb7915e92e5dd629ee79fdaf0dcfa41a80afb5", - "sha256:b1a5ed73ab4c482208d20434f700d514f66ffe2840f63a6252ecc43a9bc77e8a", - "sha256:c8226f50b8c34a14608b848dc23a46e5d08397d009446353dad45e04af0c8e28", - "sha256:ccad888050f5393f0d6029deea2a33e5ae371fd182a697313bdbd835d3edaf9c", - "sha256:dae63f2dbf82882fa3b2a3c49c32bffe144970a573cd68d247af6560fc493ae1", - "sha256:e2f69158a7d120fd641d1fa9a921d898e20d52e44a74a6fbbcc570a62a6bc8ab", - "sha256:efbadd9b52c060a8fc3b9658744091cb33c31f830b3f074422ed27bad2b18e8f", - "sha256:f5660feab44c2e3cb24b2419b998846cbb01c23c7fe645fee45087efa3da2d61", - "sha256:fdb8754b453fb15fad3f72cd9cad3e16776f0964d67cf30ebcbf10327a3777a3" - ], - "index": "pypi", - "version": "==22.1.0" - }, - "click": { - "hashes": [ - "sha256:6a7a62563bbfabfda3a38f3023a1db4a35978c0abd76f6c9605ecd6554d6d9b1", - "sha256:8458d7b1287c5fb128c90e23381cf99dcde74beaf6c7ff6384ce84d6fe090adb" - ], - "markers": "python_version >= '3.6'", - "version": "==8.0.4" - }, - "iniconfig": { - "hashes": [ - "sha256:011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3", - "sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32" - ], - "version": "==1.1.1" - }, - "mypy-extensions": { - "hashes": [ - "sha256:090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a299250a846f15d", - "sha256:2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8" - ], - "version": "==0.4.3" - }, - "packaging": { - "hashes": [ - "sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb", - "sha256:ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522" - ], - "markers": "python_version >= '3.6'", - "version": "==21.3" - }, - "pathspec": { - "hashes": [ - "sha256:7d15c4ddb0b5c802d161efc417ec1a2558ea2653c2e8ad9c19098201dc1c993a", - "sha256:e564499435a2673d586f6b2130bb5b95f04a3ba06f81b8f895b651a3c76aabb1" - ], - "version": "==0.9.0" - }, - "platformdirs": { - "hashes": [ - "sha256:7535e70dfa32e84d4b34996ea99c5e432fa29a708d0f4e394bbcb2a8faa4f16d", - "sha256:bcae7cab893c2d310a711b70b24efb93334febe65f8de776ee320b517471e227" - ], - "markers": "python_version >= '3.7'", - "version": "==2.5.1" - }, - "pluggy": { - "hashes": [ - "sha256:4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159", - "sha256:74134bbf457f031a36d68416e1509f34bd5ccc019f0bcc952c7b909d06b37bd3" - ], - "markers": "python_version >= '3.6'", - "version": "==1.0.0" - }, - "py": { - "hashes": [ - "sha256:51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719", - "sha256:607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'", - "version": "==1.11.0" - }, - "pyparsing": { - "hashes": [ - "sha256:18ee9022775d270c55187733956460083db60b37d0d0fb357445f3094eed3eea", - "sha256:a6c06a88f252e6c322f65faf8f418b16213b51bdfaece0524c1c1bc30c63c484" - ], - "markers": "python_version >= '3.6'", - "version": "==3.0.7" - }, - "pytest": { - "hashes": [ - "sha256:841132caef6b1ad17a9afde46dc4f6cfa59a05f9555aae5151f73bdf2820ca63", - "sha256:92f723789a8fdd7180b6b06483874feca4c48a5c76968e03bb3e7f806a1869ea" - ], - "index": "pypi", - "version": "==7.1.1" - }, - "tomli": { - "hashes": [ - "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc", - "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f" - ], - "markers": "python_version >= '3.7'", - "version": "==2.0.1" - } - } -} diff --git a/README.md b/README.md index 2b51ec3..2169665 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # ![Kosmorro](https://raw.githubusercontent.com/Kosmorro/logos/main/png/kosmorro-logo-grey.png) -[![Coverage Status](https://coveralls.io/repos/github/Kosmorro/kosmorro/badge.svg?branch=master)](https://coveralls.io/github/Kosmorro/kosmorro?branch=master) [![Version on PyPI](https://img.shields.io/pypi/v/kosmorro)](https://pypi.org/project/kosmorro) [![Packaging status](https://repology.org/badge/tiny-repos/kosmorro.svg)](https://repology.org/project/kosmorro/versions) [![Docker Pulls](https://img.shields.io/docker/pulls/kosmorro/kosmorro)](https://hub.docker.com/r/kosmorro/kosmorro) [![Help translating Kosmorro!](https://hosted.weblate.org/widgets/kosmorro/-/cli/svg-badge.svg)](https://hosted.weblate.org/engage/kosmorro/) +[![Coverage Status](https://coveralls.io/repos/github/Kosmorro/kosmorro/badge.svg?branch=master)](https://coveralls.io/github/Kosmorro/kosmorro?branch=master) [![Version on PyPI](https://img.shields.io/pypi/v/kosmorro)](https://pypi.org/project/kosmorro) [![Packaging status](https://repology.org/badge/tiny-repos/kosmorro.svg)](https://repology.org/project/kosmorro/versions) [![Help translating Kosmorro!](https://hosted.weblate.org/widgets/kosmorro/-/cli/svg-badge.svg)](https://hosted.weblate.org/engage/kosmorro/) A program that calculates your astronomical ephemerides! @@ -17,12 +17,12 @@ Before you run Kosmorro in your development environment, check you have installe - Python ≥ 3.7.0 (needed run Kosmorro) - PIP3 (needed for package management, usually installed among with Python 3) -- [Pipenv](https://pypi.org/project/pipenv/) (needed to manage the virtual environment) +- [Poetry](https://python-poetry.org/) (needed to manage the virtual environment) -Clone this repository and run `pipenv sync` to install all the dependencies. -Then, run Kosmorro by invoking `pipenv run python kosmorro`. +Clone this repository and run `poetry install` to install all the dependencies. +Then, run Kosmorro by invoking `poetry run python kosmorro`. -For comfort, you may want to invoke `pipenv shell` first and then just `python kosmoro`. +For comfort, you may want to invoke `poetry shell` first and then just `python kosmoro`. ## Using Kosmorro diff --git a/kosmorro b/kosmorro deleted file mode 100755 index f6b2a01..0000000 --- a/kosmorro +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env python3 - -# Kosmorro - Compute The Next Ephemerides -# Copyright (C) 2019 Jérôme Deuchnord -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . - -import sys -from _kosmorro.main import main - -if __name__ == "__main__": - try: - sys.exit(main()) - except KeyboardInterrupt: - sys.exit(1) diff --git a/_kosmorro/__init__.py b/kosmorro/__init__.py similarity index 100% rename from _kosmorro/__init__.py rename to kosmorro/__init__.py diff --git a/_kosmorro/main.py b/kosmorro/__main__.py similarity index 99% rename from _kosmorro/main.py rename to kosmorro/__main__.py index 18bd52f..70ed03b 100644 --- a/_kosmorro/main.py +++ b/kosmorro/__main__.py @@ -30,10 +30,10 @@ from .date import parse_date from .utils import colored, set_colors_activated from .__version__ import __version__ as kosmorro_version from .exceptions import UnavailableFeatureError, OutOfRangeDateError as DateRangeError -from _kosmorro.i18n.utils import _, SHORT_DATE_FORMAT +from kosmorro.i18n.utils import _ -def main(): +def run(): env_vars = environment.get_env_vars() output_formats = get_dumpers() args = get_args(list(output_formats.keys())) @@ -312,3 +312,7 @@ def get_args(output_formats: [str]): ) return parser.parse_args() + + +def main(): + sys.exit(run()) diff --git a/_kosmorro/__version__.py b/kosmorro/__version__.py similarity index 100% rename from _kosmorro/__version__.py rename to kosmorro/__version__.py diff --git a/_kosmorro/assets/moonphases/png/first-quarter.png b/kosmorro/assets/moonphases/png/first-quarter.png similarity index 100% rename from _kosmorro/assets/moonphases/png/first-quarter.png rename to kosmorro/assets/moonphases/png/first-quarter.png diff --git a/_kosmorro/assets/moonphases/png/full-moon.png b/kosmorro/assets/moonphases/png/full-moon.png similarity index 100% rename from _kosmorro/assets/moonphases/png/full-moon.png rename to kosmorro/assets/moonphases/png/full-moon.png diff --git a/_kosmorro/assets/moonphases/png/last-quarter.png b/kosmorro/assets/moonphases/png/last-quarter.png similarity index 100% rename from _kosmorro/assets/moonphases/png/last-quarter.png rename to kosmorro/assets/moonphases/png/last-quarter.png diff --git a/_kosmorro/assets/moonphases/png/new-moon.png b/kosmorro/assets/moonphases/png/new-moon.png similarity index 100% rename from _kosmorro/assets/moonphases/png/new-moon.png rename to kosmorro/assets/moonphases/png/new-moon.png diff --git a/_kosmorro/assets/moonphases/png/unknown.png b/kosmorro/assets/moonphases/png/unknown.png similarity index 100% rename from _kosmorro/assets/moonphases/png/unknown.png rename to kosmorro/assets/moonphases/png/unknown.png diff --git a/_kosmorro/assets/moonphases/png/waning-crescent.png b/kosmorro/assets/moonphases/png/waning-crescent.png similarity index 100% rename from _kosmorro/assets/moonphases/png/waning-crescent.png rename to kosmorro/assets/moonphases/png/waning-crescent.png diff --git a/_kosmorro/assets/moonphases/png/waning-gibbous.png b/kosmorro/assets/moonphases/png/waning-gibbous.png similarity index 100% rename from _kosmorro/assets/moonphases/png/waning-gibbous.png rename to kosmorro/assets/moonphases/png/waning-gibbous.png diff --git a/_kosmorro/assets/moonphases/png/waxing-crescent.png b/kosmorro/assets/moonphases/png/waxing-crescent.png similarity index 100% rename from _kosmorro/assets/moonphases/png/waxing-crescent.png rename to kosmorro/assets/moonphases/png/waxing-crescent.png diff --git a/_kosmorro/assets/moonphases/png/waxing-gibbous.png b/kosmorro/assets/moonphases/png/waxing-gibbous.png similarity index 100% rename from _kosmorro/assets/moonphases/png/waxing-gibbous.png rename to kosmorro/assets/moonphases/png/waxing-gibbous.png diff --git a/_kosmorro/assets/moonphases/svg/first-quarter.svg b/kosmorro/assets/moonphases/svg/first-quarter.svg similarity index 100% rename from _kosmorro/assets/moonphases/svg/first-quarter.svg rename to kosmorro/assets/moonphases/svg/first-quarter.svg diff --git a/_kosmorro/assets/moonphases/svg/full-moon.svg b/kosmorro/assets/moonphases/svg/full-moon.svg similarity index 100% rename from _kosmorro/assets/moonphases/svg/full-moon.svg rename to kosmorro/assets/moonphases/svg/full-moon.svg diff --git a/_kosmorro/assets/moonphases/svg/last-quarter.svg b/kosmorro/assets/moonphases/svg/last-quarter.svg similarity index 100% rename from _kosmorro/assets/moonphases/svg/last-quarter.svg rename to kosmorro/assets/moonphases/svg/last-quarter.svg diff --git a/_kosmorro/assets/moonphases/svg/new-moon.svg b/kosmorro/assets/moonphases/svg/new-moon.svg similarity index 100% rename from _kosmorro/assets/moonphases/svg/new-moon.svg rename to kosmorro/assets/moonphases/svg/new-moon.svg diff --git a/_kosmorro/assets/moonphases/svg/unknown.svg b/kosmorro/assets/moonphases/svg/unknown.svg similarity index 100% rename from _kosmorro/assets/moonphases/svg/unknown.svg rename to kosmorro/assets/moonphases/svg/unknown.svg diff --git a/_kosmorro/assets/moonphases/svg/waning-crescent.svg b/kosmorro/assets/moonphases/svg/waning-crescent.svg similarity index 100% rename from _kosmorro/assets/moonphases/svg/waning-crescent.svg rename to kosmorro/assets/moonphases/svg/waning-crescent.svg diff --git a/_kosmorro/assets/moonphases/svg/waning-gibbous.svg b/kosmorro/assets/moonphases/svg/waning-gibbous.svg similarity index 100% rename from _kosmorro/assets/moonphases/svg/waning-gibbous.svg rename to kosmorro/assets/moonphases/svg/waning-gibbous.svg diff --git a/_kosmorro/assets/moonphases/svg/waxing-crescent.svg b/kosmorro/assets/moonphases/svg/waxing-crescent.svg similarity index 100% rename from _kosmorro/assets/moonphases/svg/waxing-crescent.svg rename to kosmorro/assets/moonphases/svg/waxing-crescent.svg diff --git a/_kosmorro/assets/moonphases/svg/waxing-gibbous.svg b/kosmorro/assets/moonphases/svg/waxing-gibbous.svg similarity index 100% rename from _kosmorro/assets/moonphases/svg/waxing-gibbous.svg rename to kosmorro/assets/moonphases/svg/waxing-gibbous.svg diff --git a/_kosmorro/assets/pdf/kosmorro.sty b/kosmorro/assets/pdf/kosmorro.sty similarity index 100% rename from _kosmorro/assets/pdf/kosmorro.sty rename to kosmorro/assets/pdf/kosmorro.sty diff --git a/_kosmorro/assets/pdf/template.tex b/kosmorro/assets/pdf/template.tex similarity index 100% rename from _kosmorro/assets/pdf/template.tex rename to kosmorro/assets/pdf/template.tex diff --git a/_kosmorro/assets/png/kosmorro-icon-white.png b/kosmorro/assets/png/kosmorro-icon-white.png similarity index 100% rename from _kosmorro/assets/png/kosmorro-icon-white.png rename to kosmorro/assets/png/kosmorro-icon-white.png diff --git a/_kosmorro/assets/png/kosmorro-icon.png b/kosmorro/assets/png/kosmorro-icon.png similarity index 100% rename from _kosmorro/assets/png/kosmorro-icon.png rename to kosmorro/assets/png/kosmorro-icon.png diff --git a/_kosmorro/assets/png/kosmorro-logo-white.png b/kosmorro/assets/png/kosmorro-logo-white.png similarity index 100% rename from _kosmorro/assets/png/kosmorro-logo-white.png rename to kosmorro/assets/png/kosmorro-logo-white.png diff --git a/_kosmorro/assets/png/kosmorro-logo.png b/kosmorro/assets/png/kosmorro-logo.png similarity index 100% rename from _kosmorro/assets/png/kosmorro-logo.png rename to kosmorro/assets/png/kosmorro-logo.png diff --git a/_kosmorro/assets/svg/kosmorro-icon-white.svg b/kosmorro/assets/svg/kosmorro-icon-white.svg similarity index 100% rename from _kosmorro/assets/svg/kosmorro-icon-white.svg rename to kosmorro/assets/svg/kosmorro-icon-white.svg diff --git a/_kosmorro/assets/svg/kosmorro-icon.svg b/kosmorro/assets/svg/kosmorro-icon.svg similarity index 100% rename from _kosmorro/assets/svg/kosmorro-icon.svg rename to kosmorro/assets/svg/kosmorro-icon.svg diff --git a/_kosmorro/assets/svg/kosmorro-logo-white.svg b/kosmorro/assets/svg/kosmorro-logo-white.svg similarity index 100% rename from _kosmorro/assets/svg/kosmorro-logo-white.svg rename to kosmorro/assets/svg/kosmorro-logo-white.svg diff --git a/_kosmorro/assets/svg/kosmorro-logo.svg b/kosmorro/assets/svg/kosmorro-logo.svg similarity index 100% rename from _kosmorro/assets/svg/kosmorro-logo.svg rename to kosmorro/assets/svg/kosmorro-logo.svg diff --git a/_kosmorro/date.py b/kosmorro/date.py similarity index 97% rename from _kosmorro/date.py rename to kosmorro/date.py index 5d25a71..3018fb6 100644 --- a/_kosmorro/date.py +++ b/kosmorro/date.py @@ -5,7 +5,7 @@ import re from dateutil.relativedelta import relativedelta from datetime import date -from _kosmorro.i18n.utils import _ +from kosmorro.i18n.utils import _ def parse_date(date_arg: str) -> date: diff --git a/_kosmorro/debug.py b/kosmorro/debug.py similarity index 100% rename from _kosmorro/debug.py rename to kosmorro/debug.py diff --git a/_kosmorro/dumper.py b/kosmorro/dumper.py similarity index 100% rename from _kosmorro/dumper.py rename to kosmorro/dumper.py diff --git a/_kosmorro/environment.py b/kosmorro/environment.py similarity index 100% rename from _kosmorro/environment.py rename to kosmorro/environment.py diff --git a/_kosmorro/exceptions.py b/kosmorro/exceptions.py similarity index 96% rename from _kosmorro/exceptions.py rename to kosmorro/exceptions.py index 25b82b8..b16b94a 100644 --- a/_kosmorro/exceptions.py +++ b/kosmorro/exceptions.py @@ -18,7 +18,7 @@ from datetime import date from babel.dates import format_date -from _kosmorro.i18n.utils import _, SHORT_DATE_FORMAT +from kosmorro.i18n.utils import _, SHORT_DATE_FORMAT class UnavailableFeatureError(RuntimeError): diff --git a/_kosmorro/i18n/__init__.py b/kosmorro/i18n/__init__.py similarity index 100% rename from _kosmorro/i18n/__init__.py rename to kosmorro/i18n/__init__.py diff --git a/_kosmorro/i18n/strings.py b/kosmorro/i18n/strings.py similarity index 100% rename from _kosmorro/i18n/strings.py rename to kosmorro/i18n/strings.py diff --git a/_kosmorro/i18n/utils.py b/kosmorro/i18n/utils.py similarity index 100% rename from _kosmorro/i18n/utils.py rename to kosmorro/i18n/utils.py diff --git a/_kosmorro/locales/de/LC_MESSAGES/messages.po b/kosmorro/locales/de/LC_MESSAGES/messages.po similarity index 100% rename from _kosmorro/locales/de/LC_MESSAGES/messages.po rename to kosmorro/locales/de/LC_MESSAGES/messages.po diff --git a/kosmorro/locales/en_XA/LC_MESSAGES/messages.po b/kosmorro/locales/en_XA/LC_MESSAGES/messages.po new file mode 100644 index 0000000..e69de29 diff --git a/_kosmorro/locales/es/LC_MESSAGES/messages.po b/kosmorro/locales/es/LC_MESSAGES/messages.po similarity index 100% rename from _kosmorro/locales/es/LC_MESSAGES/messages.po rename to kosmorro/locales/es/LC_MESSAGES/messages.po diff --git a/_kosmorro/locales/fr/LC_MESSAGES/messages.po b/kosmorro/locales/fr/LC_MESSAGES/messages.po similarity index 100% rename from _kosmorro/locales/fr/LC_MESSAGES/messages.po rename to kosmorro/locales/fr/LC_MESSAGES/messages.po diff --git a/_kosmorro/locales/messages.pot b/kosmorro/locales/messages.pot similarity index 71% rename from _kosmorro/locales/messages.pot rename to kosmorro/locales/messages.pot index b40fd9b..bf05028 100644 --- a/_kosmorro/locales/messages.pot +++ b/kosmorro/locales/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-03-07 16:45+0100\n" +"POT-Creation-Date: 2022-03-19 13:28+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,315 +17,315 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.9.1\n" -#: _kosmorro/date.py:17 -msgid "The date {date} is not valid: {error}" +#: kosmorro/__main__.py:63 +msgid "" +"Save the planet and paper!\n" +"Consider printing your PDF document only if really necessary, and use the" +" other side of the sheet." msgstr "" -#: _kosmorro/date.py:39 +#: kosmorro/__main__.py:72 msgid "" -"The date {date} does not match the required YYYY-MM-DD format or the " -"offset format." +"PDF output will not contain the ephemerides, because you didn't provide " +"the observation coordinates." msgstr "" -#: _kosmorro/dumper.py:137 -msgid "Expected events:" +#: kosmorro/__main__.py:117 +msgid "The file could not be saved in \"{path}\": {error}" msgstr "" -#: _kosmorro/dumper.py:144 -msgid "Note: All the hours are given in UTC." +#: kosmorro/__main__.py:131 +msgid "Please provide a file path to export in this format (--output)." msgstr "" -#: _kosmorro/dumper.py:151 -msgid "Note: All the hours are given in the UTC{offset} timezone." +#: kosmorro/__main__.py:164 +msgid "Moon phase can only be computed between {min_date} and {max_date}" msgstr "" -#: _kosmorro/dumper.py:205 _kosmorro/dumper.py:333 -msgid "Object" +#: kosmorro/__main__.py:203 +msgid "Running on Python {python_version} with Kosmorrolib v{kosmorrolib_version}" msgstr "" -#: _kosmorro/dumper.py:206 _kosmorro/dumper.py:334 -msgid "Rise time" +#: kosmorro/__main__.py:216 +msgid "" +"Compute the ephemerides and the events for a given date and a given " +"position on Earth." msgstr "" -#: _kosmorro/dumper.py:207 _kosmorro/dumper.py:336 -msgid "Culmination time" +#: kosmorro/__main__.py:219 +msgid "" +"By default, only the events will be computed for today.\n" +"To compute also the ephemerides, latitude and longitude arguments are " +"needed." msgstr "" -#: _kosmorro/dumper.py:208 _kosmorro/dumper.py:338 -msgid "Set time" +#: kosmorro/__main__.py:232 +msgid "Show the program version" msgstr "" -#: _kosmorro/dumper.py:234 -msgid "Moon phase is unavailable for this date." +#: kosmorro/__main__.py:240 +msgid "The format to output the information to" msgstr "" -#: _kosmorro/dumper.py:238 _kosmorro/dumper.py:342 -msgid "Moon phase:" +#: kosmorro/__main__.py:247 +msgid "" +"The observer's latitude on Earth. Can also be set in the " +"KOSMORRO_LATITUDE environment variable." msgstr "" -#: _kosmorro/dumper.py:242 -msgid "{next_moon_phase} on {next_moon_phase_date} at {next_moon_phase_time}" +#: kosmorro/__main__.py:257 +msgid "" +"The observer's longitude on Earth. Can also be set in the " +"KOSMORRO_LONGITUDE environment variable." msgstr "" -#: _kosmorro/dumper.py:306 -msgid "Overview of your sky" +#: kosmorro/__main__.py:267 +msgid "" +"The date for which the ephemerides must be calculated. Can be in the " +"YYYY-MM-DD format or an interval in the \"[+-]YyMmDd\" format (with Y, M," +" and D numbers). Defaults to current date." msgstr "" -#: _kosmorro/dumper.py:314 +#: kosmorro/__main__.py:278 msgid "" -"This document summarizes the ephemerides and the events of {date}. It " -"aims to help you to prepare your observation session. All the hours are " -"given in {timezone}." +"The timezone to display the hours in (e.g. 2 for UTC+2 or -3 for UTC-3). " +"Can also be set in the KOSMORRO_TIMEZONE environment variable." msgstr "" -#: _kosmorro/dumper.py:324 -msgid "" -"Don't forget to check the weather forecast before you go out with your " -"equipment." +#: kosmorro/__main__.py:287 +msgid "Disable the colors in the console." msgstr "" -#: _kosmorro/dumper.py:331 -msgid "Ephemerides of the day" +#: kosmorro/__main__.py:294 +msgid "" +"A file to export the output to. If not given, the standard output is " +"used. This argument is needed for PDF format." msgstr "" -#: _kosmorro/dumper.py:340 -msgid "hours" +#: kosmorro/__main__.py:303 +msgid "" +"Do not generate a graph to represent the rise and set times in the PDF " +"format." msgstr "" -#: _kosmorro/dumper.py:347 -msgid "Expected events" +#: kosmorro/__main__.py:311 +msgid "Show debugging messages" msgstr "" -#: _kosmorro/dumper.py:487 -msgid "" -"Building PDF was not possible, because some dependencies are not " -"installed.\n" -"Please look at the documentation at https://kosmorro.space/cli/generate-" -"pdf/ for more information." +#: kosmorro/date.py:17 +msgid "The date {date} is not valid: {error}" msgstr "" -#: _kosmorro/dumper.py:540 -#, python-format +#: kosmorro/date.py:39 msgid "" -"An error occurred during the compilation of the PDF.\n" -"Please open an issue at https://github.com/Kosmorro/kosmorro/issues and " -"share the content of the log file at /tmp/kosmorro-%s.log" +"The date {date} does not match the required YYYY-MM-DD format or the " +"offset format." msgstr "" -#: _kosmorro/exceptions.py:35 -msgid "The date must be between {minimum_date} and {maximum_date}" +#: kosmorro/dumper.py:137 +msgid "Expected events:" msgstr "" -#: _kosmorro/main.py:63 -msgid "" -"Save the planet and paper!\n" -"Consider printing your PDF document only if really necessary, and use the" -" other side of the sheet." +#: kosmorro/dumper.py:144 +msgid "Note: All the hours are given in UTC." msgstr "" -#: _kosmorro/main.py:72 -msgid "" -"PDF output will not contain the ephemerides, because you didn't provide " -"the observation coordinates." +#: kosmorro/dumper.py:151 +msgid "Note: All the hours are given in the UTC{offset} timezone." msgstr "" -#: _kosmorro/main.py:117 -msgid "The file could not be saved in \"{path}\": {error}" +#: kosmorro/dumper.py:205 kosmorro/dumper.py:333 +msgid "Object" msgstr "" -#: _kosmorro/main.py:131 -msgid "Please provide a file path to export in this format (--output)." +#: kosmorro/dumper.py:206 kosmorro/dumper.py:334 +msgid "Rise time" msgstr "" -#: _kosmorro/main.py:164 -msgid "Moon phase can only be computed between {min_date} and {max_date}" +#: kosmorro/dumper.py:207 kosmorro/dumper.py:336 +msgid "Culmination time" msgstr "" -#: _kosmorro/main.py:203 -msgid "Running on Python {python_version} with Kosmorrolib v{kosmorrolib_version}" +#: kosmorro/dumper.py:208 kosmorro/dumper.py:338 +msgid "Set time" msgstr "" -#: _kosmorro/main.py:216 -msgid "" -"Compute the ephemerides and the events for a given date and a given " -"position on Earth." +#: kosmorro/dumper.py:234 +msgid "Moon phase is unavailable for this date." msgstr "" -#: _kosmorro/main.py:219 -msgid "" -"By default, only the events will be computed for today.\n" -"To compute also the ephemerides, latitude and longitude arguments are " -"needed." +#: kosmorro/dumper.py:238 kosmorro/dumper.py:342 +msgid "Moon phase:" msgstr "" -#: _kosmorro/main.py:232 -msgid "Show the program version" +#: kosmorro/dumper.py:242 +msgid "{next_moon_phase} on {next_moon_phase_date} at {next_moon_phase_time}" msgstr "" -#: _kosmorro/main.py:240 -msgid "The format to output the information to" +#: kosmorro/dumper.py:306 +msgid "Overview of your sky" msgstr "" -#: _kosmorro/main.py:247 +#: kosmorro/dumper.py:314 msgid "" -"The observer's latitude on Earth. Can also be set in the " -"KOSMORRO_LATITUDE environment variable." +"This document summarizes the ephemerides and the events of {date}. It " +"aims to help you to prepare your observation session. All the hours are " +"given in {timezone}." msgstr "" -#: _kosmorro/main.py:257 +#: kosmorro/dumper.py:324 msgid "" -"The observer's longitude on Earth. Can also be set in the " -"KOSMORRO_LONGITUDE environment variable." +"Don't forget to check the weather forecast before you go out with your " +"equipment." msgstr "" -#: _kosmorro/main.py:267 -msgid "" -"The date for which the ephemerides must be calculated. Can be in the " -"YYYY-MM-DD format or an interval in the \"[+-]YyMmDd\" format (with Y, M," -" and D numbers). Defaults to current date." +#: kosmorro/dumper.py:331 +msgid "Ephemerides of the day" msgstr "" -#: _kosmorro/main.py:278 -msgid "" -"The timezone to display the hours in (e.g. 2 for UTC+2 or -3 for UTC-3). " -"Can also be set in the KOSMORRO_TIMEZONE environment variable." +#: kosmorro/dumper.py:340 +msgid "hours" msgstr "" -#: _kosmorro/main.py:287 -msgid "Disable the colors in the console." +#: kosmorro/dumper.py:347 +msgid "Expected events" msgstr "" -#: _kosmorro/main.py:294 +#: kosmorro/dumper.py:487 msgid "" -"A file to export the output to. If not given, the standard output is " -"used. This argument is needed for PDF format." +"Building PDF was not possible, because some dependencies are not " +"installed.\n" +"Please look at the documentation at https://kosmorro.space/cli/generate-" +"pdf/ for more information." msgstr "" -#: _kosmorro/main.py:303 +#: kosmorro/dumper.py:540 +#, python-format msgid "" -"Do not generate a graph to represent the rise and set times in the PDF " -"format." +"An error occurred during the compilation of the PDF.\n" +"Please open an issue at https://github.com/Kosmorro/kosmorro/issues and " +"share the content of the log file at /tmp/kosmorro-%s.log" msgstr "" -#: _kosmorro/main.py:311 -msgid "Show debugging messages" +#: kosmorro/exceptions.py:35 +msgid "The date must be between {minimum_date} and {maximum_date}" msgstr "" -#: _kosmorro/i18n/strings.py:11 +#: kosmorro/i18n/strings.py:11 #, python-format msgid "%s is in opposition" msgstr "" -#: _kosmorro/i18n/strings.py:12 +#: kosmorro/i18n/strings.py:12 #, python-format msgid "%s and %s are in conjunction" msgstr "" -#: _kosmorro/i18n/strings.py:13 +#: kosmorro/i18n/strings.py:13 #, python-format msgid "%s occults %s" msgstr "" -#: _kosmorro/i18n/strings.py:15 +#: kosmorro/i18n/strings.py:15 #, python-format msgid "Elongation of %s is maximal" msgstr "" -#: _kosmorro/i18n/strings.py:18 +#: kosmorro/i18n/strings.py:18 #, python-format msgid "%s is at its perigee" msgstr "" -#: _kosmorro/i18n/strings.py:19 +#: kosmorro/i18n/strings.py:19 #, python-format msgid "%s is at its apogee" msgstr "" -#: _kosmorro/i18n/strings.py:35 +#: kosmorro/i18n/strings.py:35 msgid "New Moon" msgstr "" -#: _kosmorro/i18n/strings.py:36 +#: kosmorro/i18n/strings.py:36 msgid "Waxing Crescent" msgstr "" -#: _kosmorro/i18n/strings.py:37 +#: kosmorro/i18n/strings.py:37 msgid "First Quarter" msgstr "" -#: _kosmorro/i18n/strings.py:38 +#: kosmorro/i18n/strings.py:38 msgid "Waxing Gibbous" msgstr "" -#: _kosmorro/i18n/strings.py:39 +#: kosmorro/i18n/strings.py:39 msgid "Full Moon" msgstr "" -#: _kosmorro/i18n/strings.py:40 +#: kosmorro/i18n/strings.py:40 msgid "Waning Gibbous" msgstr "" -#: _kosmorro/i18n/strings.py:41 +#: kosmorro/i18n/strings.py:41 msgid "Last Quarter" msgstr "" -#: _kosmorro/i18n/strings.py:42 +#: kosmorro/i18n/strings.py:42 msgid "Waning Crescent" msgstr "" -#: _kosmorro/i18n/strings.py:53 +#: kosmorro/i18n/strings.py:53 msgid "Sun" msgstr "" -#: _kosmorro/i18n/strings.py:54 +#: kosmorro/i18n/strings.py:54 msgid "Moon" msgstr "" -#: _kosmorro/i18n/strings.py:55 +#: kosmorro/i18n/strings.py:55 msgid "Mercury" msgstr "" -#: _kosmorro/i18n/strings.py:56 +#: kosmorro/i18n/strings.py:56 msgid "Venus" msgstr "" -#: _kosmorro/i18n/strings.py:57 +#: kosmorro/i18n/strings.py:57 msgid "Mars" msgstr "" -#: _kosmorro/i18n/strings.py:58 +#: kosmorro/i18n/strings.py:58 msgid "Jupiter" msgstr "" -#: _kosmorro/i18n/strings.py:59 +#: kosmorro/i18n/strings.py:59 msgid "Saturn" msgstr "" -#: _kosmorro/i18n/strings.py:60 +#: kosmorro/i18n/strings.py:60 msgid "Uranus" msgstr "" -#: _kosmorro/i18n/strings.py:61 +#: kosmorro/i18n/strings.py:61 msgid "Neptune" msgstr "" -#: _kosmorro/i18n/strings.py:62 +#: kosmorro/i18n/strings.py:62 msgid "Pluto" msgstr "" -#: _kosmorro/i18n/utils.py:27 +#: kosmorro/i18n/utils.py:27 msgid "{day_of_week} {month} {day_number}, {year}" msgstr "" -#: _kosmorro/i18n/utils.py:30 +#: kosmorro/i18n/utils.py:30 msgid "{month} {day_number}, {hours}:{minutes}" msgstr "" -#: _kosmorro/i18n/utils.py:33 +#: kosmorro/i18n/utils.py:33 msgid "{month} {day_number}, {year}" msgstr "" -#: _kosmorro/i18n/utils.py:36 +#: kosmorro/i18n/utils.py:36 msgid "{hours}:{minutes}" msgstr "" diff --git a/_kosmorro/locales/nb_NO/LC_MESSAGES/messages.po b/kosmorro/locales/nb_NO/LC_MESSAGES/messages.po similarity index 100% rename from _kosmorro/locales/nb_NO/LC_MESSAGES/messages.po rename to kosmorro/locales/nb_NO/LC_MESSAGES/messages.po diff --git a/_kosmorro/locales/nl/LC_MESSAGES/messages.po b/kosmorro/locales/nl/LC_MESSAGES/messages.po similarity index 100% rename from _kosmorro/locales/nl/LC_MESSAGES/messages.po rename to kosmorro/locales/nl/LC_MESSAGES/messages.po diff --git a/_kosmorro/locales/ru/LC_MESSAGES/messages.po b/kosmorro/locales/ru/LC_MESSAGES/messages.po similarity index 100% rename from _kosmorro/locales/ru/LC_MESSAGES/messages.po rename to kosmorro/locales/ru/LC_MESSAGES/messages.po diff --git a/_kosmorro/utils.py b/kosmorro/utils.py similarity index 100% rename from _kosmorro/utils.py rename to kosmorro/utils.py diff --git a/poetry.lock b/poetry.lock new file mode 100644 index 0000000..9f4b9c6 --- /dev/null +++ b/poetry.lock @@ -0,0 +1,576 @@ +[[package]] +name = "atomicwrites" +version = "1.4.0" +description = "Atomic file writes." +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" + +[[package]] +name = "attrs" +version = "21.4.0" +description = "Classes Without Boilerplate" +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" + +[package.extras] +dev = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins", "zope.interface", "furo", "sphinx", "sphinx-notfound-page", "pre-commit", "cloudpickle"] +docs = ["furo", "sphinx", "zope.interface", "sphinx-notfound-page"] +tests = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins", "zope.interface", "cloudpickle"] +tests_no_zope = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins", "cloudpickle"] + +[[package]] +name = "aurornis" +version = "1.2.0" +description = "The Command Line Program Test Helper" +category = "dev" +optional = false +python-versions = ">=3.7" + +[[package]] +name = "babel" +version = "2.9.1" +description = "Internationalization utilities" +category = "main" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" + +[package.dependencies] +pytz = ">=2015.7" + +[[package]] +name = "black" +version = "21.12b0" +description = "The uncompromising code formatter." +category = "dev" +optional = false +python-versions = ">=3.6.2" + +[package.dependencies] +click = ">=7.1.2" +mypy-extensions = ">=0.4.3" +pathspec = ">=0.9.0,<1" +platformdirs = ">=2" +tomli = ">=0.2.6,<2.0.0" +typed-ast = {version = ">=1.4.2", markers = "python_version < \"3.8\" and implementation_name == \"cpython\""} +typing-extensions = [ + {version = ">=3.10.0.0", markers = "python_version < \"3.10\""}, + {version = "!=3.10.0.1", markers = "python_version >= \"3.10\""}, +] + +[package.extras] +colorama = ["colorama (>=0.4.3)"] +d = ["aiohttp (>=3.7.4)"] +jupyter = ["ipython (>=7.8.0)", "tokenize-rt (>=3.2.0)"] +python2 = ["typed-ast (>=1.4.3)"] +uvloop = ["uvloop (>=0.15.2)"] + +[[package]] +name = "certifi" +version = "2021.10.8" +description = "Python package for providing Mozilla's CA Bundle." +category = "main" +optional = false +python-versions = "*" + +[[package]] +name = "click" +version = "8.0.4" +description = "Composable command line interface toolkit" +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +colorama = {version = "*", markers = "platform_system == \"Windows\""} +importlib-metadata = {version = "*", markers = "python_version < \"3.8\""} + +[[package]] +name = "colorama" +version = "0.4.4" +description = "Cross-platform colored terminal text." +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" + +[[package]] +name = "importlib-metadata" +version = "4.11.3" +description = "Read metadata from Python packages" +category = "dev" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +typing-extensions = {version = ">=3.6.4", markers = "python_version < \"3.8\""} +zipp = ">=0.5" + +[package.extras] +docs = ["sphinx", "jaraco.packaging (>=9)", "rst.linker (>=1.9)"] +perf = ["ipython"] +testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest-cov", "pytest-enabler (>=1.0.1)", "packaging", "pyfakefs", "flufl.flake8", "pytest-perf (>=0.9.2)", "pytest-black (>=0.3.7)", "pytest-mypy (>=0.9.1)", "importlib-resources (>=1.3)"] + +[[package]] +name = "iniconfig" +version = "1.1.1" +description = "iniconfig: brain-dead simple config-ini parsing" +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "jplephem" +version = "2.17" +description = "Use a JPL ephemeris to predict planet positions." +category = "main" +optional = false +python-versions = "*" + +[package.dependencies] +numpy = "*" + +[[package]] +name = "kosmorrolib" +version = "1.0.6" +description = "A library to computes the ephemerides." +category = "main" +optional = false +python-versions = ">=3.7,<3.11" + +[package.dependencies] +python-dateutil = ">=2.8,<3.0" +skyfield = ">=1.21,<2.0" +skyfield-data = ">=3,<5" + +[[package]] +name = "mypy-extensions" +version = "0.4.3" +description = "Experimental type system extensions for programs checked with the mypy typechecker." +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "numpy" +version = "1.21.5" +description = "NumPy is the fundamental package for array computing with Python." +category = "main" +optional = false +python-versions = ">=3.7,<3.11" + +[[package]] +name = "packaging" +version = "21.3" +description = "Core utilities for Python packages" +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +pyparsing = ">=2.0.2,<3.0.5 || >3.0.5" + +[[package]] +name = "pathspec" +version = "0.9.0" +description = "Utility library for gitignore style pattern matching of file paths." +category = "dev" +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" + +[[package]] +name = "platformdirs" +version = "2.5.1" +description = "A small Python module for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." +category = "dev" +optional = false +python-versions = ">=3.7" + +[package.extras] +docs = ["Sphinx (>=4)", "furo (>=2021.7.5b38)", "proselint (>=0.10.2)", "sphinx-autodoc-typehints (>=1.12)"] +test = ["appdirs (==1.4.4)", "pytest (>=6)", "pytest-cov (>=2.7)", "pytest-mock (>=3.6)"] + +[[package]] +name = "pluggy" +version = "1.0.0" +description = "plugin and hook calling mechanisms for python" +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} + +[package.extras] +dev = ["pre-commit", "tox"] +testing = ["pytest", "pytest-benchmark"] + +[[package]] +name = "py" +version = "1.11.0" +description = "library with cross-python path, ini-parsing, io, code, log facilities" +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" + +[[package]] +name = "pyparsing" +version = "3.0.7" +description = "Python parsing module" +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.extras] +diagrams = ["jinja2", "railroad-diagrams"] + +[[package]] +name = "pytest" +version = "7.1.1" +description = "pytest: simple powerful testing with Python" +category = "dev" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +atomicwrites = {version = ">=1.0", markers = "sys_platform == \"win32\""} +attrs = ">=19.2.0" +colorama = {version = "*", markers = "sys_platform == \"win32\""} +importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} +iniconfig = "*" +packaging = "*" +pluggy = ">=0.12,<2.0" +py = ">=1.8.2" +tomli = ">=1.0.0" + +[package.extras] +testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2.7.2)", "requests", "xmlschema"] + +[[package]] +name = "python-dateutil" +version = "2.8.2" +description = "Extensions to the standard Python datetime module" +category = "main" +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" + +[package.dependencies] +six = ">=1.5" + +[[package]] +name = "pytz" +version = "2021.3" +description = "World timezone definitions, modern and historical" +category = "main" +optional = false +python-versions = "*" + +[[package]] +name = "sgp4" +version = "2.20" +description = "Track Earth satellites given TLE data, using up-to-date 2020 SGP4 routines." +category = "main" +optional = false +python-versions = "*" + +[[package]] +name = "six" +version = "1.16.0" +description = "Python 2 and 3 compatibility utilities" +category = "main" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" + +[[package]] +name = "skyfield" +version = "1.42" +description = "Elegant astronomy for Python" +category = "main" +optional = false +python-versions = "*" + +[package.dependencies] +certifi = ">=2017.4.17" +jplephem = ">=2.13" +numpy = "*" +sgp4 = ">=2.2" + +[[package]] +name = "skyfield-data" +version = "4.0.0" +description = "Data package for Skyfield" +category = "main" +optional = false +python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4" + +[package.extras] +dev = ["jplephem", "numpy", "tox", "colorama", "termcolor"] +tests = ["pytest", "skyfield", "mock"] + +[[package]] +name = "tabulate" +version = "0.8.9" +description = "Pretty-print tabular data" +category = "main" +optional = false +python-versions = "*" + +[package.extras] +widechars = ["wcwidth"] + +[[package]] +name = "termcolor" +version = "1.1.0" +description = "ANSII Color formatting for output in terminal." +category = "main" +optional = false +python-versions = "*" + +[[package]] +name = "tomli" +version = "1.2.3" +description = "A lil' TOML parser" +category = "dev" +optional = false +python-versions = ">=3.6" + +[[package]] +name = "typed-ast" +version = "1.5.2" +description = "a fork of Python 2 and 3 ast modules with type comment support" +category = "dev" +optional = false +python-versions = ">=3.6" + +[[package]] +name = "typing-extensions" +version = "4.1.1" +description = "Backported and Experimental Type Hints for Python 3.6+" +category = "dev" +optional = false +python-versions = ">=3.6" + +[[package]] +name = "zipp" +version = "3.7.0" +description = "Backport of pathlib-compatible object wrapper for zip files" +category = "dev" +optional = false +python-versions = ">=3.7" + +[package.extras] +docs = ["sphinx", "jaraco.packaging (>=8.2)", "rst.linker (>=1.9)"] +testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest-cov", "pytest-enabler (>=1.0.1)", "jaraco.itertools", "func-timeout", "pytest-black (>=0.3.7)", "pytest-mypy"] + +[metadata] +lock-version = "1.1" +python-versions = ">=3.7,<3.11" +content-hash = "4c2045cb19d088e3205728efd723e8255ded94f211f21ca7f64aea90c05fe3ad" + +[metadata.files] +atomicwrites = [ + {file = "atomicwrites-1.4.0-py2.py3-none-any.whl", hash = "sha256:6d1784dea7c0c8d4a5172b6c620f40b6e4cbfdf96d783691f2e1302a7b88e197"}, + {file = "atomicwrites-1.4.0.tar.gz", hash = "sha256:ae70396ad1a434f9c7046fd2dd196fc04b12f9e91ffb859164193be8b6168a7a"}, +] +attrs = [ + {file = "attrs-21.4.0-py2.py3-none-any.whl", hash = "sha256:2d27e3784d7a565d36ab851fe94887c5eccd6a463168875832a1be79c82828b4"}, + {file = "attrs-21.4.0.tar.gz", hash = "sha256:626ba8234211db98e869df76230a137c4c40a12d72445c45d5f5b716f076e2fd"}, +] +aurornis = [ + {file = "aurornis-1.2.0-py3-none-any.whl", hash = "sha256:660b57e9d1701d88fb7cc4af3118c927e9e001d2ab39cb145695eb8470f4642a"}, + {file = "aurornis-1.2.0.tar.gz", hash = "sha256:bc68845be5cdf2d69d26c677214f7435365967b4a65dc3772ab05353b2136d95"}, +] +babel = [ + {file = "Babel-2.9.1-py2.py3-none-any.whl", hash = "sha256:ab49e12b91d937cd11f0b67cb259a57ab4ad2b59ac7a3b41d6c06c0ac5b0def9"}, + {file = "Babel-2.9.1.tar.gz", hash = "sha256:bc0c176f9f6a994582230df350aa6e05ba2ebe4b3ac317eab29d9be5d2768da0"}, +] +black = [ + {file = "black-21.12b0-py3-none-any.whl", hash = "sha256:a615e69ae185e08fdd73e4715e260e2479c861b5740057fde6e8b4e3b7dd589f"}, + {file = "black-21.12b0.tar.gz", hash = "sha256:77b80f693a569e2e527958459634f18df9b0ba2625ba4e0c2d5da5be42e6f2b3"}, +] +certifi = [ + {file = "certifi-2021.10.8-py2.py3-none-any.whl", hash = "sha256:d62a0163eb4c2344ac042ab2bdf75399a71a2d8c7d47eac2e2ee91b9d6339569"}, + {file = "certifi-2021.10.8.tar.gz", hash = "sha256:78884e7c1d4b00ce3cea67b44566851c4343c120abd683433ce934a68ea58872"}, +] +click = [ + {file = "click-8.0.4-py3-none-any.whl", hash = "sha256:6a7a62563bbfabfda3a38f3023a1db4a35978c0abd76f6c9605ecd6554d6d9b1"}, + {file = "click-8.0.4.tar.gz", hash = "sha256:8458d7b1287c5fb128c90e23381cf99dcde74beaf6c7ff6384ce84d6fe090adb"}, +] +colorama = [ + {file = "colorama-0.4.4-py2.py3-none-any.whl", hash = "sha256:9f47eda37229f68eee03b24b9748937c7dc3868f906e8ba69fbcbdd3bc5dc3e2"}, + {file = "colorama-0.4.4.tar.gz", hash = "sha256:5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b"}, +] +importlib-metadata = [ + {file = "importlib_metadata-4.11.3-py3-none-any.whl", hash = "sha256:1208431ca90a8cca1a6b8af391bb53c1a2db74e5d1cef6ddced95d4b2062edc6"}, + {file = "importlib_metadata-4.11.3.tar.gz", hash = "sha256:ea4c597ebf37142f827b8f39299579e31685c31d3a438b59f469406afd0f2539"}, +] +iniconfig = [ + {file = "iniconfig-1.1.1-py2.py3-none-any.whl", hash = "sha256:011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3"}, + {file = "iniconfig-1.1.1.tar.gz", hash = "sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32"}, +] +jplephem = [ + {file = "jplephem-2.17.tar.gz", hash = "sha256:e1c6e5565c4d00485f1063241b4d1eff044585c22b8e97fad0ff2f6efb8aaa27"}, +] +kosmorrolib = [ + {file = "kosmorrolib-1.0.6-py3-none-any.whl", hash = "sha256:9ffbbaa8666c1222bf8a25d543afa72a0a80249017d342a6667bcae8657effc0"}, + {file = "kosmorrolib-1.0.6.tar.gz", hash = "sha256:8c77f40b346d183147cb3e927b3ea5c7d4d7067ce7e49edb73821566f74d5e51"}, +] +mypy-extensions = [ + {file = "mypy_extensions-0.4.3-py2.py3-none-any.whl", hash = "sha256:090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a299250a846f15d"}, + {file = "mypy_extensions-0.4.3.tar.gz", hash = "sha256:2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8"}, +] +numpy = [ + {file = "numpy-1.21.5-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:301e408a052fdcda5cdcf03021ebafc3c6ea093021bf9d1aa47c54d48bdad166"}, + {file = "numpy-1.21.5-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:a7e8f6216f180f3fd4efb73de5d1eaefb5f5a1ee5b645c67333033e39440e63a"}, + {file = "numpy-1.21.5-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:fc7a7d7b0ed72589fd8b8486b9b42a564f10b8762be8bd4d9df94b807af4a089"}, + {file = "numpy-1.21.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:58ca1d7c8aef6e996112d0ce873ac9dfa1eaf4a1196b4ff7ff73880a09923ba7"}, + {file = "numpy-1.21.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dc4b2fb01f1b4ddbe2453468ea0719f4dbb1f5caa712c8b21bb3dd1480cd30d9"}, + {file = "numpy-1.21.5-cp310-cp310-win_amd64.whl", hash = "sha256:cc1b30205d138d1005adb52087ff45708febbef0e420386f58664f984ef56954"}, + {file = "numpy-1.21.5-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:08de8472d9f7571f9d51b27b75e827f5296295fa78817032e84464be8bb905bc"}, + {file = "numpy-1.21.5-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:4fe6a006557b87b352c04596a6e3f12a57d6e5f401d804947bd3188e6b0e0e76"}, + {file = "numpy-1.21.5-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:3d893b0871322eaa2f8c7072cdb552d8e2b27645b7875a70833c31e9274d4611"}, + {file = "numpy-1.21.5-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:341dddcfe3b7b6427a28a27baa59af5ad51baa59bfec3264f1ab287aa3b30b13"}, + {file = "numpy-1.21.5-cp37-cp37m-win32.whl", hash = "sha256:ca9c23848292c6fe0a19d212790e62f398fd9609aaa838859be8459bfbe558aa"}, + {file = "numpy-1.21.5-cp37-cp37m-win_amd64.whl", hash = "sha256:025b497014bc33fc23897859350f284323f32a2fff7654697f5a5fc2a19e9939"}, + {file = "numpy-1.21.5-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:3a5098df115340fb17fc93867317a947e1dcd978c3888c5ddb118366095851f8"}, + {file = "numpy-1.21.5-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:311283acf880cfcc20369201bd75da907909afc4666966c7895cbed6f9d2c640"}, + {file = "numpy-1.21.5-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:b545ebadaa2b878c8630e5bcdb97fc4096e779f335fc0f943547c1c91540c815"}, + {file = "numpy-1.21.5-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:c5562bcc1a9b61960fc8950ade44d00e3de28f891af0acc96307c73613d18f6e"}, + {file = "numpy-1.21.5-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:eed2afaa97ec33b4411995be12f8bdb95c87984eaa28d76cf628970c8a2d689a"}, + {file = "numpy-1.21.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:61bada43d494515d5b122f4532af226fdb5ee08fe5b5918b111279843dc6836a"}, + {file = "numpy-1.21.5-cp38-cp38-win32.whl", hash = "sha256:7b9d6b14fc9a4864b08d1ba57d732b248f0e482c7b2ff55c313137e3ed4d8449"}, + {file = "numpy-1.21.5-cp38-cp38-win_amd64.whl", hash = "sha256:dbce7adeb66b895c6aaa1fad796aaefc299ced597f6fbd9ceddb0dd735245354"}, + {file = "numpy-1.21.5-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:507c05c7a37b3683eb08a3ff993bd1ee1e6c752f77c2f275260533b265ecdb6c"}, + {file = "numpy-1.21.5-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:00c9fa73a6989895b8815d98300a20ac993c49ac36c8277e8ffeaa3631c0dbbb"}, + {file = "numpy-1.21.5-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:69a5a8d71c308d7ef33ef72371c2388a90e3495dbb7993430e674006f94797d5"}, + {file = "numpy-1.21.5-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:2d8adfca843bc46ac199a4645233f13abf2011a0b2f4affc5c37cd552626f27b"}, + {file = "numpy-1.21.5-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:c293d3c0321996cd8ffe84215ffe5d269fd9d1d12c6f4ffe2b597a7c30d3e593"}, + {file = "numpy-1.21.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3c978544be9e04ed12016dd295a74283773149b48f507d69b36f91aa90a643e5"}, + {file = "numpy-1.21.5-cp39-cp39-win32.whl", hash = "sha256:2a9add27d7fc0fdb572abc3b2486eb3b1395da71e0254c5552b2aad2a18b5441"}, + {file = "numpy-1.21.5-cp39-cp39-win_amd64.whl", hash = "sha256:1964db2d4a00348b7a60ee9d013c8cb0c566644a589eaa80995126eac3b99ced"}, + {file = "numpy-1.21.5-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:a7c4b701ca418cd39e28ec3b496e6388fe06de83f5f0cb74794fa31cfa384c02"}, + {file = "numpy-1.21.5.zip", hash = "sha256:6a5928bc6241264dce5ed509e66f33676fc97f464e7a919edc672fb5532221ee"}, +] +packaging = [ + {file = "packaging-21.3-py3-none-any.whl", hash = "sha256:ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522"}, + {file = "packaging-21.3.tar.gz", hash = "sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb"}, +] +pathspec = [ + {file = "pathspec-0.9.0-py2.py3-none-any.whl", hash = "sha256:7d15c4ddb0b5c802d161efc417ec1a2558ea2653c2e8ad9c19098201dc1c993a"}, + {file = "pathspec-0.9.0.tar.gz", hash = "sha256:e564499435a2673d586f6b2130bb5b95f04a3ba06f81b8f895b651a3c76aabb1"}, +] +platformdirs = [ + {file = "platformdirs-2.5.1-py3-none-any.whl", hash = "sha256:bcae7cab893c2d310a711b70b24efb93334febe65f8de776ee320b517471e227"}, + {file = "platformdirs-2.5.1.tar.gz", hash = "sha256:7535e70dfa32e84d4b34996ea99c5e432fa29a708d0f4e394bbcb2a8faa4f16d"}, +] +pluggy = [ + {file = "pluggy-1.0.0-py2.py3-none-any.whl", hash = "sha256:74134bbf457f031a36d68416e1509f34bd5ccc019f0bcc952c7b909d06b37bd3"}, + {file = "pluggy-1.0.0.tar.gz", hash = "sha256:4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159"}, +] +py = [ + {file = "py-1.11.0-py2.py3-none-any.whl", hash = "sha256:607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378"}, + {file = "py-1.11.0.tar.gz", hash = "sha256:51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719"}, +] +pyparsing = [ + {file = "pyparsing-3.0.7-py3-none-any.whl", hash = "sha256:a6c06a88f252e6c322f65faf8f418b16213b51bdfaece0524c1c1bc30c63c484"}, + {file = "pyparsing-3.0.7.tar.gz", hash = "sha256:18ee9022775d270c55187733956460083db60b37d0d0fb357445f3094eed3eea"}, +] +pytest = [ + {file = "pytest-7.1.1-py3-none-any.whl", hash = "sha256:92f723789a8fdd7180b6b06483874feca4c48a5c76968e03bb3e7f806a1869ea"}, + {file = "pytest-7.1.1.tar.gz", hash = "sha256:841132caef6b1ad17a9afde46dc4f6cfa59a05f9555aae5151f73bdf2820ca63"}, +] +python-dateutil = [ + {file = "python-dateutil-2.8.2.tar.gz", hash = "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86"}, + {file = "python_dateutil-2.8.2-py2.py3-none-any.whl", hash = "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"}, +] +pytz = [ + {file = "pytz-2021.3-py2.py3-none-any.whl", hash = "sha256:3672058bc3453457b622aab7a1c3bfd5ab0bdae451512f6cf25f64ed37f5b87c"}, + {file = "pytz-2021.3.tar.gz", hash = "sha256:acad2d8b20a1af07d4e4c9d2e9285c5ed9104354062f275f3fcd88dcef4f1326"}, +] +sgp4 = [ + {file = "sgp4-2.20-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:b2169cd536355fc67e3870acea34c4fc22b2ccecab2c0bf45a01edfe646fe3d0"}, + {file = "sgp4-2.20-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:7d848698ae2bf5bb9ea2082640b0417175a6b2e6e8d580114ebe04265cd1bfb4"}, + {file = "sgp4-2.20-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:1d3b5abc07266203f4b453e7c1ca8403ef2d7b8d1779c14c9a4177e4b1558ba5"}, + {file = "sgp4-2.20-cp36-cp36m-manylinux2010_i686.whl", hash = "sha256:6c906973dc2966cba8065f359c3eaa18505280be8f625b54ebb98f5ddeb8d205"}, + {file = "sgp4-2.20-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:3e3eb29c308d30d010316832606af184d243d5aab8ccc5d589f3cb85d74471f7"}, + {file = "sgp4-2.20-cp36-cp36m-win32.whl", hash = "sha256:e73680b3b7b8b977766ae91eadd92988a0c3e36248dcac5d8263a957bec34a04"}, + {file = "sgp4-2.20-cp36-cp36m-win_amd64.whl", hash = "sha256:cf4d5ac32b5e84c7b420109a09ea3c3741844fa92776f79d1c852cc67e2c1364"}, + {file = "sgp4-2.20-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:2a89fc1debacfa10cf55ae1d40472037a57687b1ae3b66e7196e5af53fb96a56"}, + {file = "sgp4-2.20-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:4d5eb2aff4f645f5020ac869ec453dcd807836b3eb8b459d569eda40c358cd76"}, + {file = "sgp4-2.20-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:2b449e6cab15748608c6083f86b0059d26093f76fa227010df09d8f0954b3bbd"}, + {file = "sgp4-2.20-cp37-cp37m-manylinux2010_i686.whl", hash = "sha256:8c2f4f99ab360a93768bf88ad6a9fdf83edfa6292e0a0ac8924c85fde11b2055"}, + {file = "sgp4-2.20-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:ee3688ae409a201107927b24be10db2a61efdd5a919737b4900c57ee8b3a22d6"}, + {file = "sgp4-2.20-cp37-cp37m-win32.whl", hash = "sha256:24477da85936b864fd765911f808a4d113c81189c2a0ecd5992bcdf9aecbf5ef"}, + {file = "sgp4-2.20-cp37-cp37m-win_amd64.whl", hash = "sha256:ee329571c1a25ce4f1e2b01d6f923791d16c5a7a3a75219317073bc50a7d25fe"}, + {file = "sgp4-2.20-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1af727dfe02ef32babd124644e96b8cc109b22142efb44e37d0e3aaf4c38a1ab"}, + {file = "sgp4-2.20-cp38-cp38-manylinux1_i686.whl", hash = "sha256:43c2c6d464144bb80987b2e66f3992add58c65e095abe2b9d567650fdb877a9d"}, + {file = "sgp4-2.20-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:67f99f534fdc5650d8efe516e77dd9b43e4cb8ab9b38f2b66484085c0ff75077"}, + {file = "sgp4-2.20-cp38-cp38-manylinux2010_i686.whl", hash = "sha256:dfc5214b65ad8229c499f0da3f5042a18239f12f4318e90d892a79dcbf27282f"}, + {file = "sgp4-2.20-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:e8ecc01fdffe81f11ca94bb255024379e62c92f73e2baec2bdf5a3c3108221ff"}, + {file = "sgp4-2.20-cp38-cp38-win32.whl", hash = "sha256:06586caf071e3427bc4e5a5c84a806045532040dc2c35ca0ff12f34cab2ecb5c"}, + {file = "sgp4-2.20-cp38-cp38-win_amd64.whl", hash = "sha256:642bae76c6e55b72feda3c5ca3721e837f2702816a120805349b06e40f85faea"}, + {file = "sgp4-2.20-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:dbfffe1ff2c223804e2ebdeb568baad46f40342943c4a74169fd75dc5dddda57"}, + {file = "sgp4-2.20-cp39-cp39-manylinux1_i686.whl", hash = "sha256:05f22b4fd91861ee2e0e03a528c1aef11a8b263a60ab5f723d32cdb65dac3eaa"}, + {file = "sgp4-2.20-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:80f9b2f1c2ac53c7b8cbf1a08e5a39a56c1b7c18d3e0de922078758a784b0b20"}, + {file = "sgp4-2.20-cp39-cp39-manylinux2010_i686.whl", hash = "sha256:f5d2830f2896cecc4af0729cd328994ae823f277f481d4fc992383eb79f3742a"}, + {file = "sgp4-2.20-cp39-cp39-manylinux2010_x86_64.whl", hash = "sha256:ea37423d4317ec5351a4e3b6a3947a6053978e5290549d77ba375459527f7ccb"}, + {file = "sgp4-2.20-cp39-cp39-win32.whl", hash = "sha256:d42a3dcdfd394c5059b99bbf8b35311e03e87d21fbfb6ba2d5c5d2dfad15d4d7"}, + {file = "sgp4-2.20-cp39-cp39-win_amd64.whl", hash = "sha256:876b82d41a859c9ff65d3bdb7f6a3cecfc63bea529b4dc751b06eefbd6c3f1e0"}, + {file = "sgp4-2.20.tar.gz", hash = "sha256:9fde328872f484eb644dabe32122ba617570ff61b548b7200a9d63629ac3097c"}, +] +six = [ + {file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"}, + {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"}, +] +skyfield = [ + {file = "skyfield-1.42.tar.gz", hash = "sha256:3447fd3a9a9dabc2080e6a4efb56d9883decf261ad78e6c9b3f187c4fc761ace"}, +] +skyfield-data = [ + {file = "skyfield-data-4.0.0.tar.gz", hash = "sha256:128d407e43a04be66c44b03914f9147b5e65b96078db776e6a4f5538ab0b74bf"}, + {file = "skyfield_data-4.0.0-py2.py3-none-any.whl", hash = "sha256:bd81bf9032d4833a766f4127e868d62674083ca2ccaea07e6d025e132c9c574e"}, +] +tabulate = [ + {file = "tabulate-0.8.9-py3-none-any.whl", hash = "sha256:d7c013fe7abbc5e491394e10fa845f8f32fe54f8dc60c6622c6cf482d25d47e4"}, + {file = "tabulate-0.8.9.tar.gz", hash = "sha256:eb1d13f25760052e8931f2ef80aaf6045a6cceb47514db8beab24cded16f13a7"}, +] +termcolor = [ + {file = "termcolor-1.1.0.tar.gz", hash = "sha256:1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b"}, +] +tomli = [ + {file = "tomli-1.2.3-py3-none-any.whl", hash = "sha256:e3069e4be3ead9668e21cb9b074cd948f7b3113fd9c8bba083f48247aab8b11c"}, + {file = "tomli-1.2.3.tar.gz", hash = "sha256:05b6166bff487dc068d322585c7ea4ef78deed501cc124060e0f238e89a9231f"}, +] +typed-ast = [ + {file = "typed_ast-1.5.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:183b183b7771a508395d2cbffd6db67d6ad52958a5fdc99f450d954003900266"}, + {file = "typed_ast-1.5.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:676d051b1da67a852c0447621fdd11c4e104827417bf216092ec3e286f7da596"}, + {file = "typed_ast-1.5.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bc2542e83ac8399752bc16e0b35e038bdb659ba237f4222616b4e83fb9654985"}, + {file = "typed_ast-1.5.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:74cac86cc586db8dfda0ce65d8bcd2bf17b58668dfcc3652762f3ef0e6677e76"}, + {file = "typed_ast-1.5.2-cp310-cp310-win_amd64.whl", hash = "sha256:18fe320f354d6f9ad3147859b6e16649a0781425268c4dde596093177660e71a"}, + {file = "typed_ast-1.5.2-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:31d8c6b2df19a777bc8826770b872a45a1f30cfefcfd729491baa5237faae837"}, + {file = "typed_ast-1.5.2-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:963a0ccc9a4188524e6e6d39b12c9ca24cc2d45a71cfdd04a26d883c922b4b78"}, + {file = "typed_ast-1.5.2-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:0eb77764ea470f14fcbb89d51bc6bbf5e7623446ac4ed06cbd9ca9495b62e36e"}, + {file = "typed_ast-1.5.2-cp36-cp36m-win_amd64.whl", hash = "sha256:294a6903a4d087db805a7656989f613371915fc45c8cc0ddc5c5a0a8ad9bea4d"}, + {file = "typed_ast-1.5.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:26a432dc219c6b6f38be20a958cbe1abffcc5492821d7e27f08606ef99e0dffd"}, + {file = "typed_ast-1.5.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c7407cfcad702f0b6c0e0f3e7ab876cd1d2c13b14ce770e412c0c4b9728a0f88"}, + {file = "typed_ast-1.5.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:f30ddd110634c2d7534b2d4e0e22967e88366b0d356b24de87419cc4410c41b7"}, + {file = "typed_ast-1.5.2-cp37-cp37m-win_amd64.whl", hash = "sha256:8c08d6625bb258179b6e512f55ad20f9dfef019bbfbe3095247401e053a3ea30"}, + {file = "typed_ast-1.5.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:90904d889ab8e81a956f2c0935a523cc4e077c7847a836abee832f868d5c26a4"}, + {file = "typed_ast-1.5.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:bbebc31bf11762b63bf61aaae232becb41c5bf6b3461b80a4df7e791fabb3aca"}, + {file = "typed_ast-1.5.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c29dd9a3a9d259c9fa19d19738d021632d673f6ed9b35a739f48e5f807f264fb"}, + {file = "typed_ast-1.5.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:58ae097a325e9bb7a684572d20eb3e1809802c5c9ec7108e85da1eb6c1a3331b"}, + {file = "typed_ast-1.5.2-cp38-cp38-win_amd64.whl", hash = "sha256:da0a98d458010bf4fe535f2d1e367a2e2060e105978873c04c04212fb20543f7"}, + {file = "typed_ast-1.5.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:33b4a19ddc9fc551ebabca9765d54d04600c4a50eda13893dadf67ed81d9a098"}, + {file = "typed_ast-1.5.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:1098df9a0592dd4c8c0ccfc2e98931278a6c6c53cb3a3e2cf7e9ee3b06153344"}, + {file = "typed_ast-1.5.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:42c47c3b43fe3a39ddf8de1d40dbbfca60ac8530a36c9b198ea5b9efac75c09e"}, + {file = "typed_ast-1.5.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:f290617f74a610849bd8f5514e34ae3d09eafd521dceaa6cf68b3f4414266d4e"}, + {file = "typed_ast-1.5.2-cp39-cp39-win_amd64.whl", hash = "sha256:df05aa5b241e2e8045f5f4367a9f6187b09c4cdf8578bb219861c4e27c443db5"}, + {file = "typed_ast-1.5.2.tar.gz", hash = "sha256:525a2d4088e70a9f75b08b3f87a51acc9cde640e19cc523c7e41aa355564ae27"}, +] +typing-extensions = [ + {file = "typing_extensions-4.1.1-py3-none-any.whl", hash = "sha256:21c85e0fe4b9a155d0799430b0ad741cdce7e359660ccbd8b530613e8df88ce2"}, + {file = "typing_extensions-4.1.1.tar.gz", hash = "sha256:1a9462dcc3347a79b1f1c0271fbe79e844580bb598bafa1ed208b94da3cdcd42"}, +] +zipp = [ + {file = "zipp-3.7.0-py3-none-any.whl", hash = "sha256:b47250dd24f92b7dd6a0a8fc5244da14608f3ca90a5efcd37a3b1642fac9a375"}, + {file = "zipp-3.7.0.tar.gz", hash = "sha256:9f50f446828eb9d45b267433fd3e9da8d801f614129124863f9c51ebceafb87d"}, +] diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..da5f284 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,32 @@ +[tool.poetry] +name = "kosmorro" +version = "0.10.9" +description = "A program to compute the ephemerides." +authors = ["Jérôme Deuchnord "] +license = "AGPL-3.0-or-later" + +include = [ + "CHANGELOG.md", + "kosmorro/locales/*/LC_MESSAGES/*.mo", + "kosmorro/assets", +] + +[tool.poetry.scripts] +kosmorro = 'kosmorro.__main__:main' + +[tool.poetry.dependencies] +python = ">=3.7,<3.11" +tabulate = "^0.8" +termcolor = "^1.1" +kosmorrolib = "^1.0" +python-dateutil = "^2.8" +Babel = "^2.9" + +[tool.poetry.dev-dependencies] +black = "^21.12b0" +pytest = "^7.0" +aurornis = "^1.2" + +[build-system] +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api" diff --git a/setup.cfg b/setup.cfg index 089fb4b..2a8fe64 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,11 +2,11 @@ charset = utf-8 keywords = _ ngettext width = 120 -output_file = _kosmorro/locales/messages.pot +output_file = kosmorro/locales/messages.pot omit_header = true copyright_holder = Jérôme Deuchnord -input_paths=kosmorro,_kosmorro +input_paths=kosmorro [compile_catalog] domain = messages -directory = _kosmorro/locales +directory = kosmorro/locales diff --git a/setup.py b/setup.py deleted file mode 100644 index 8cafe4f..0000000 --- a/setup.py +++ /dev/null @@ -1,60 +0,0 @@ -#!/usr/bin/env python3 - -# Kosmorro - Compute The Next Ephemerides -# Copyright (C) 2019 Jérôme Deuchnord -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . - -import pathlib -from setuptools import setup, find_packages - -from _kosmorro.__version__ import __version__ - -HERE = pathlib.Path(__file__).parent -README = (HERE / "README.md").read_text() - -setup( - name="kosmorro", - version=__version__, - author="Jérôme Deuchnord", - author_email="jerome@deuchnord.fr", - url="http://kosmorro.space", - license="AGPL-3.0", - description="A program that computes the ephemerides.", - long_description=README, - long_description_content_type="text/markdown", - keywords="kosmorro astronomy ephemerides ephemeris", - packages=find_packages(), - scripts=["kosmorro"], - include_package_data=True, - data_files=[ - ("man/man1", ["manpage/kosmorro.1"]), - ("man/man7", ["manpage/kosmorro.7"]), - ], - install_requires=[ - "kosmorrolib", - "tabulate", - "termcolor", - "python-dateutil", - "babel", - ], - classifiers=[ - "Development Status :: 3 - Alpha", - "Operating System :: POSIX :: Linux", - "Operating System :: MacOS :: MacOS X", - "Environment :: Console", - "Topic :: Scientific/Engineering :: Astronomy", - ], - python_requires=">=3.7", -) diff --git a/tests/utils.py b/tests/utils.py index f33bd73..d9eb5d7 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -7,7 +7,7 @@ from os import environ from typing import Union DEFAULT_ENVIRONMENT = {"PATH": environ["PATH"]} -KOSMORRO = ["./kosmorro", "--no-color"] +KOSMORRO = ["kosmorro", "--no-color"] CURRENT_MOON_PHASE_PATTERN = re.compile( r"^Moon phase: (" From a4a2bbb995684b9e962637e807ebddf2c88cc0aa Mon Sep 17 00:00:00 2001 From: Anonymous Date: Sat, 19 Mar 2022 17:50:54 +0000 Subject: [PATCH 29/55] chore(i18n): update German translation Currently translated at 100.0% (67 of 67 strings) Translations are welcome at https://hosted.weblate.org/projects/kosmorro/cli/de/ --- kosmorro/locales/de/LC_MESSAGES/messages.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kosmorro/locales/de/LC_MESSAGES/messages.po b/kosmorro/locales/de/LC_MESSAGES/messages.po index c8a3c70..67aaaca 100644 --- a/kosmorro/locales/de/LC_MESSAGES/messages.po +++ b/kosmorro/locales/de/LC_MESSAGES/messages.po @@ -8,8 +8,8 @@ msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" "Report-Msgid-Bugs-To: jerome@deuchnord.fr\n" "POT-Creation-Date: 2022-03-07 16:45+0100\n" -"PO-Revision-Date: 2022-03-08 12:59+0000\n" -"Last-Translator: Jérôme Deuchnord \n" +"PO-Revision-Date: 2022-03-19 17:50+0000\n" +"Last-Translator: Anonymous \n" "Language-Team: German " "\n" "Language: de\n" From 574d24906788f9c1c2529c4e28dc9ac22b1abd4b Mon Sep 17 00:00:00 2001 From: Anonymous Date: Sat, 19 Mar 2022 17:50:55 +0000 Subject: [PATCH 30/55] chore(i18n): update Spanish translation Currently translated at 62.6% (42 of 67 strings) Translations are welcome at https://hosted.weblate.org/projects/kosmorro/cli/es/ --- kosmorro/locales/es/LC_MESSAGES/messages.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kosmorro/locales/es/LC_MESSAGES/messages.po b/kosmorro/locales/es/LC_MESSAGES/messages.po index 5ede700..a2654ee 100644 --- a/kosmorro/locales/es/LC_MESSAGES/messages.po +++ b/kosmorro/locales/es/LC_MESSAGES/messages.po @@ -6,18 +6,18 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" -"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"Report-Msgid-Bugs-To: jerome@deuchnord.fr\n" "POT-Creation-Date: 2022-03-07 16:45+0100\n" -"PO-Revision-Date: 2021-05-16 09:25+0000\n" +"PO-Revision-Date: 2022-03-19 17:51+0000\n" "Last-Translator: Anonymous \n" -"Language-Team: Spanish \n" +"Language-Team: Spanish " +"\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.7-dev\n" +"X-Generator: Weblate 4.12-dev\n" "Generated-By: Babel 2.9.0\n" #: _kosmorro/date.py:17 From 9690fc22c6a68daecf5dc27294859f79893d6014 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Sat, 19 Mar 2022 17:51:50 +0000 Subject: [PATCH 31/55] chore(i18n): update French translation Currently translated at 100.0% (67 of 67 strings) Translations are welcome at https://hosted.weblate.org/projects/kosmorro/cli/fr/ --- kosmorro/locales/fr/LC_MESSAGES/messages.po | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/kosmorro/locales/fr/LC_MESSAGES/messages.po b/kosmorro/locales/fr/LC_MESSAGES/messages.po index f46e638..537a510 100644 --- a/kosmorro/locales/fr/LC_MESSAGES/messages.po +++ b/kosmorro/locales/fr/LC_MESSAGES/messages.po @@ -8,8 +8,8 @@ msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" "Report-Msgid-Bugs-To: jerome@deuchnord.fr\n" "POT-Creation-Date: 2022-03-07 16:45+0100\n" -"PO-Revision-Date: 2022-03-08 12:59+0000\n" -"Last-Translator: Jérôme Deuchnord \n" +"PO-Revision-Date: 2022-03-19 17:51+0000\n" +"Last-Translator: Anonymous \n" "Language-Team: French " "\n" "Language: fr\n" @@ -28,8 +28,7 @@ msgstr "La date {date} n'est pas valide : {error}" msgid "" "The date {date} does not match the required YYYY-MM-DD format or the offset " "format." -msgstr "" -"La date {date} ne répond pas au format YYYY-MM-DD ou au format relatif." +msgstr "La date {date} ne répond pas au format YYYY-MM-DD ou au format relatif." #: _kosmorro/dumper.py:137 msgid "Expected events:" @@ -219,9 +218,8 @@ msgid "" "numbers). Defaults to current date." msgstr "" "La date pour laquelle les éphémérides doivent être calculées, soit au format " -"AAAA-MM-JJ, soit sous la forme d'un intervalle au format \"[+-]Ay-Mm-Jd" -"\" (où A, M, et J sont des nombres). Par défaut, la date du jour est " -"utilisée." +"AAAA-MM-JJ, soit sous la forme d'un intervalle au format \"[+-]Ay-Mm-Jd\" (" +"où A, M, et J sont des nombres). Par défaut, la date du jour est utilisée." #: _kosmorro/main.py:278 msgid "" From 31499ccbba6f8f1e5f771a932139c56fa2a3470c Mon Sep 17 00:00:00 2001 From: Anonymous Date: Sat, 19 Mar 2022 17:51:51 +0000 Subject: [PATCH 32/55] =?UTF-8?q?chore(i18n):=20update=20Norwegian=20Bokm?= =?UTF-8?q?=C3=A5l=20translation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently translated at 41.7% (28 of 67 strings) Translations are welcome at https://hosted.weblate.org/projects/kosmorro/cli/nb_NO/ --- kosmorro/locales/nb_NO/LC_MESSAGES/messages.po | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/kosmorro/locales/nb_NO/LC_MESSAGES/messages.po b/kosmorro/locales/nb_NO/LC_MESSAGES/messages.po index 7a84980..e8e984d 100644 --- a/kosmorro/locales/nb_NO/LC_MESSAGES/messages.po +++ b/kosmorro/locales/nb_NO/LC_MESSAGES/messages.po @@ -6,9 +6,9 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" -"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"Report-Msgid-Bugs-To: jerome@deuchnord.fr\n" "POT-Creation-Date: 2022-03-07 16:45+0100\n" -"PO-Revision-Date: 2021-05-16 09:25+0000\n" +"PO-Revision-Date: 2022-03-19 17:51+0000\n" "Last-Translator: Anonymous \n" "Language-Team: Norwegian Bokmål \n" @@ -17,7 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.7-dev\n" +"X-Generator: Weblate 4.12-dev\n" "Generated-By: Babel 2.9.0\n" #: _kosmorro/date.py:17 @@ -73,8 +73,7 @@ msgstr "Månefase:" #: _kosmorro/dumper.py:242 msgid "{next_moon_phase} on {next_moon_phase_date} at {next_moon_phase_time}" -msgstr "" -"{next_moon_phase} {next_moon_phase_date} klokken {next_moon_phase_time}" +msgstr "{next_moon_phase} {next_moon_phase_date} klokken {next_moon_phase_time}" #: _kosmorro/dumper.py:306 msgid "Overview of your sky" From 1c4ad92465b6e790a94676b45158ee229ff32b1e Mon Sep 17 00:00:00 2001 From: Anonymous Date: Sat, 19 Mar 2022 17:51:52 +0000 Subject: [PATCH 33/55] chore(i18n): update Dutch translation Currently translated at 73.1% (49 of 67 strings) Translations are welcome at https://hosted.weblate.org/projects/kosmorro/cli/nl/ --- kosmorro/locales/nl/LC_MESSAGES/messages.po | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/kosmorro/locales/nl/LC_MESSAGES/messages.po b/kosmorro/locales/nl/LC_MESSAGES/messages.po index 8f78716..b75b7cb 100644 --- a/kosmorro/locales/nl/LC_MESSAGES/messages.po +++ b/kosmorro/locales/nl/LC_MESSAGES/messages.po @@ -6,17 +6,17 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" -"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"Report-Msgid-Bugs-To: jerome@deuchnord.fr\n" "POT-Creation-Date: 2022-03-07 16:45+0100\n" -"PO-Revision-Date: 2021-11-02 21:34+0000\n" -"Last-Translator: Damgermys \n" +"PO-Revision-Date: 2022-03-19 17:51+0000\n" +"Last-Translator: Anonymous \n" "Language-Team: Dutch \n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.9-dev\n" +"X-Generator: Weblate 4.12-dev\n" "Generated-By: Babel 2.9.0\n" #: _kosmorro/date.py:17 @@ -235,16 +235,16 @@ msgid "" "numbers). Defaults to current date." msgstr "" "De datum waarvoor de efemeriden berekend moeten worden. Kan de indeling JJJJ-" -"MM-DD hebben of een interval in de indeling \"[+-]YyMmDd\" (met Y-, M- en D-" -"nummers). Standaard ingesteld op vandaag ({default_date})." +"MM-DD hebben of een interval in de indeling \"[+-]YyMmDd\" (met Y-, M- en " +"D-nummers). Standaard ingesteld op vandaag ({default_date})." #: _kosmorro/main.py:278 msgid "" "The timezone to display the hours in (e.g. 2 for UTC+2 or -3 for UTC-3). Can " "also be set in the KOSMORRO_TIMEZONE environment variable." msgstr "" -"De tijdzone waarin de uren worden weergegeven (bijvoorbeeld 2 voor UTC+2 of " -"-3 voor UTC-3). Kan ook worden ingesteld in de omgevingsvariabele " +"De tijdzone waarin de uren worden weergegeven (bijvoorbeeld 2 voor UTC+2 of -" +"3 voor UTC-3). Kan ook worden ingesteld in de omgevingsvariabele " "KOSMORRO_TIMEZONE." #: _kosmorro/main.py:287 From ca16b60c7cf5ca84a0bafc648b4a03396e0bc1cf Mon Sep 17 00:00:00 2001 From: Anonymous Date: Sat, 19 Mar 2022 17:51:52 +0000 Subject: [PATCH 34/55] chore(i18n): update Russian translation Currently translated at 46.2% (31 of 67 strings) Translations are welcome at https://hosted.weblate.org/projects/kosmorro/cli/ru/ --- kosmorro/locales/ru/LC_MESSAGES/messages.po | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/kosmorro/locales/ru/LC_MESSAGES/messages.po b/kosmorro/locales/ru/LC_MESSAGES/messages.po index fdd8a42..3a0b62f 100644 --- a/kosmorro/locales/ru/LC_MESSAGES/messages.po +++ b/kosmorro/locales/ru/LC_MESSAGES/messages.po @@ -6,19 +6,19 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" -"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"Report-Msgid-Bugs-To: jerome@deuchnord.fr\n" "POT-Creation-Date: 2022-03-07 16:45+0100\n" -"PO-Revision-Date: 2021-07-30 10:33+0000\n" -"Last-Translator: Stalone \n" -"Language-Team: Russian \n" +"PO-Revision-Date: 2022-03-19 17:51+0000\n" +"Last-Translator: Anonymous \n" +"Language-Team: Russian " +"\n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 4.7.2-dev\n" +"X-Generator: Weblate 4.12-dev\n" "Generated-By: Babel 2.9.0\n" #: _kosmorro/date.py:17 From 7dbfb3366daf14adaf0d8ab19b481d17b3e63ec8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Sat, 19 Mar 2022 18:53:42 +0100 Subject: [PATCH 35/55] feat(i18n): delete English (XA pseudolocale) translation --- kosmorro/locales/en_XA/LC_MESSAGES/messages.po | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 kosmorro/locales/en_XA/LC_MESSAGES/messages.po diff --git a/kosmorro/locales/en_XA/LC_MESSAGES/messages.po b/kosmorro/locales/en_XA/LC_MESSAGES/messages.po deleted file mode 100644 index e69de29..0000000 From 2016ff8ac9c9b59709ccee7bca02179c41b224c8 Mon Sep 17 00:00:00 2001 From: Hosted Weblate Date: Sat, 19 Mar 2022 18:57:21 +0100 Subject: [PATCH 36/55] chore(i18n): update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translations are welcome at https://hosted.weblate.org/projects/kosmorro/cli/ --- kosmorro/locales/de/LC_MESSAGES/messages.po | 326 ++++++++--------- kosmorro/locales/es/LC_MESSAGES/messages.po | 332 ++++++++--------- kosmorro/locales/fr/LC_MESSAGES/messages.po | 328 ++++++++--------- .../locales/nb_NO/LC_MESSAGES/messages.po | 297 ++++++++-------- kosmorro/locales/nl/LC_MESSAGES/messages.po | 336 +++++++++--------- kosmorro/locales/ru/LC_MESSAGES/messages.po | 298 ++++++++-------- 6 files changed, 960 insertions(+), 957 deletions(-) diff --git a/kosmorro/locales/de/LC_MESSAGES/messages.po b/kosmorro/locales/de/LC_MESSAGES/messages.po index 67aaaca..90477b3 100644 --- a/kosmorro/locales/de/LC_MESSAGES/messages.po +++ b/kosmorro/locales/de/LC_MESSAGES/messages.po @@ -6,12 +6,12 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" -"Report-Msgid-Bugs-To: jerome@deuchnord.fr\n" -"POT-Creation-Date: 2022-03-07 16:45+0100\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2022-03-19 13:28+0100\n" "PO-Revision-Date: 2022-03-19 17:50+0000\n" "Last-Translator: Anonymous \n" -"Language-Team: German " -"\n" +"Language-Team: German \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -20,120 +20,7 @@ msgstr "" "X-Generator: Weblate 4.12-dev\n" "Generated-By: Babel 2.9.0\n" -#: _kosmorro/date.py:17 -msgid "The date {date} is not valid: {error}" -msgstr "Das Datum {date} ist nicht gültig: {error}" - -#: _kosmorro/date.py:39 -msgid "" -"The date {date} does not match the required YYYY-MM-DD format or the offset " -"format." -msgstr "" -"Das Datum {date} entspricht nicht dem erforderlichen Format JJJJ-MM-TT oder " -"dem Offset-Format." - -#: _kosmorro/dumper.py:137 -msgid "Expected events:" -msgstr "Erwartete Ereignisse:" - -#: _kosmorro/dumper.py:144 -msgid "Note: All the hours are given in UTC." -msgstr "Hinweis: alle Stunden werden in UTC angegeben." - -#: _kosmorro/dumper.py:151 -msgid "Note: All the hours are given in the UTC{offset} timezone." -msgstr "Hinweis: Alle Stunden werden in der UTC{offset}-Zeitzone angegeben." - -#: _kosmorro/dumper.py:205 _kosmorro/dumper.py:333 -msgid "Object" -msgstr "Gestirn" - -#: _kosmorro/dumper.py:206 _kosmorro/dumper.py:334 -msgid "Rise time" -msgstr "Aufgangszeit" - -#: _kosmorro/dumper.py:207 _kosmorro/dumper.py:336 -msgid "Culmination time" -msgstr "Höhepunkt" - -#: _kosmorro/dumper.py:208 _kosmorro/dumper.py:338 -msgid "Set time" -msgstr "Untergangszeit" - -#: _kosmorro/dumper.py:234 -msgid "Moon phase is unavailable for this date." -msgstr "Die Mondphase ist für dieses Datum nicht verfügbar." - -#: _kosmorro/dumper.py:238 _kosmorro/dumper.py:342 -msgid "Moon phase:" -msgstr "Mondphase:" - -#: _kosmorro/dumper.py:242 -msgid "{next_moon_phase} on {next_moon_phase_date} at {next_moon_phase_time}" -msgstr "{next_moon_phase} am {next_moon_phase_date} um {next_moon_phase_time}" - -#: _kosmorro/dumper.py:306 -msgid "Overview of your sky" -msgstr "Übersicht über Ihren Himmel" - -#: _kosmorro/dumper.py:314 -msgid "" -"This document summarizes the ephemerides and the events of {date}. It aims " -"to help you to prepare your observation session. All the hours are given in " -"{timezone}." -msgstr "" -"Dieses Dokument fasst die Ephemeriden und die Ereignisse von {date} " -"zusammen. Es soll Ihnen bei der Vorbereitung Ihrer Beobachtungssitzung " -"helfen. Alle Stunden sind in der Zeitzone {timezone} angegeben." - -#: _kosmorro/dumper.py:324 -msgid "" -"Don't forget to check the weather forecast before you go out with your " -"equipment." -msgstr "" -"Vergessen Sie nicht, die Wettervorhersage zu prüfen, bevor Sie mit Ihrer " -"Ausrüstung hinausfahren." - -#: _kosmorro/dumper.py:331 -msgid "Ephemerides of the day" -msgstr "Ephemeriden des Tages" - -#: _kosmorro/dumper.py:340 -msgid "hours" -msgstr "Uhren" - -#: _kosmorro/dumper.py:347 -msgid "Expected events" -msgstr "Erwartete Ereignisse" - -#: _kosmorro/dumper.py:487 -msgid "" -"Building PDF was not possible, because some dependencies are not installed.\n" -"Please look at the documentation at https://kosmorro.space/cli/generate-pdf/ " -"for more information." -msgstr "" -"Konnte nicht das PDF-Dokument herstellen, weil Abhängigkeiten nicht " -"installiert werden.\n" -"Bitte die Dokumentation auf https://kosmorro.space/cli/generate-pdf/ für " -"weitere Informationen." - -#: _kosmorro/dumper.py:540 -#, python-format -msgid "" -"An error occurred during the compilation of the PDF.\n" -"Please open an issue at https://github.com/Kosmorro/kosmorro/issues and " -"share the content of the log file at /tmp/kosmorro-%s.log" -msgstr "" -"Bei der Kompilierung der PDF ist ein Fehler aufgetreten.\n" -"Bitte öffnen Sie ein Issue unter https://github.com/Kosmorro/kosmorro/issues " -"und teilen Sie den Inhalt der Log-Datei unter /tmp/kosmorro-%s.log" - -#: _kosmorro/exceptions.py:35 -msgid "The date must be between {minimum_date} and {maximum_date}" -msgstr "" -"Das Datum muss zwischen dem {minimum_date} und dem {maximum_date} liegen" - -#: _kosmorro/main.py:63 +#: kosmorro/__main__.py:63 msgid "" "Save the planet and paper!\n" "Consider printing your PDF document only if really necessary, and use the " @@ -143,7 +30,7 @@ msgstr "" "Drucken Sie das PDF-Dokument aus, nur wenn Sie wirklich brauchen, und nutzen " "Sie das Verso." -#: _kosmorro/main.py:72 +#: kosmorro/__main__.py:72 msgid "" "PDF output will not contain the ephemerides, because you didn't provide the " "observation coordinates." @@ -151,28 +38,28 @@ msgstr "" "Die PDF-Ausgabe wird die Ephemeriden nicht enthalten, weil Sie die " "Beobachtungskoordinate nicht angegeben haben." -#: _kosmorro/main.py:117 +#: kosmorro/__main__.py:117 msgid "The file could not be saved in \"{path}\": {error}" msgstr "Die Ausgabe in \"{path}\" konnte nicht gespeichert werden: {error}" -#: _kosmorro/main.py:131 +#: kosmorro/__main__.py:131 msgid "Please provide a file path to export in this format (--output)." msgstr "" "Bitte geben Sie einen Dateipfad an, der in diesem Format exportiert werden " "soll (--output)." -#: _kosmorro/main.py:164 +#: kosmorro/__main__.py:164 msgid "Moon phase can only be computed between {min_date} and {max_date}" msgstr "" "Die Mondphase kann nur zwischen {min_date} und {max_date} berechnet werden" -#: _kosmorro/main.py:203 +#: kosmorro/__main__.py:203 msgid "" "Running on Python {python_version} with Kosmorrolib v{kosmorrolib_version}" msgstr "" "Mit Python {python_version} und Kosmorrolib v{kosmorrolib_version} ausführt" -#: _kosmorro/main.py:216 +#: kosmorro/__main__.py:216 msgid "" "Compute the ephemerides and the events for a given date and a given position " "on Earth." @@ -180,7 +67,7 @@ msgstr "" "Berechnet die Ephemeriden und die Ereignisse für die angegeben Datum und " "Position auf der Erde." -#: _kosmorro/main.py:219 +#: kosmorro/__main__.py:219 msgid "" "By default, only the events will be computed for today.\n" "To compute also the ephemerides, latitude and longitude arguments are needed." @@ -189,15 +76,15 @@ msgstr "" "Um auch die Ephemeriden zu berechnen, werden die Breiten- und Längengrad " "benötigt." -#: _kosmorro/main.py:232 +#: kosmorro/__main__.py:232 msgid "Show the program version" msgstr "Stellt die Version des Programms aus" -#: _kosmorro/main.py:240 +#: kosmorro/__main__.py:240 msgid "The format to output the information to" msgstr "Die Datenstruktur der Ausgabe" -#: _kosmorro/main.py:247 +#: kosmorro/__main__.py:247 msgid "" "The observer's latitude on Earth. Can also be set in the KOSMORRO_LATITUDE " "environment variable." @@ -205,7 +92,7 @@ msgstr "" "Der Breitengrad des Beobachters auf der Erde. Kann auch in der " "Umgebungsvariablen KOSMORRO_LATITUDE gesetzt werden." -#: _kosmorro/main.py:257 +#: kosmorro/__main__.py:257 msgid "" "The observer's longitude on Earth. Can also be set in the KOSMORRO_LONGITUDE " "environment variable." @@ -213,7 +100,7 @@ msgstr "" "Der Längengrad des Beobachters auf der Erde. Kann auch in der " "Umgebungsvariablen KOSMORRO_LONGITUDE gesetzt werden." -#: _kosmorro/main.py:267 +#: kosmorro/__main__.py:267 msgid "" "The date for which the ephemerides must be calculated. Can be in the YYYY-MM-" "DD format or an interval in the \"[+-]YyMmDd\" format (with Y, M, and D " @@ -223,7 +110,7 @@ msgstr "" "JJJJ-MM-TT oder als Intervall im Format \"[+-]JyMmTd\" (wo J, M und T Zahlen " "sind) angegeben. Standardwert ist das aktuelle Datum." -#: _kosmorro/main.py:278 +#: kosmorro/__main__.py:278 msgid "" "The timezone to display the hours in (e.g. 2 for UTC+2 or -3 for UTC-3). Can " "also be set in the KOSMORRO_TIMEZONE environment variable." @@ -232,11 +119,11 @@ msgstr "" "oder -3 für UTC-3). Kann auch in der Umgebungsvariablen KOSMORRO_TIMEZONE " "gesetzt werden." -#: _kosmorro/main.py:287 +#: kosmorro/__main__.py:287 msgid "Disable the colors in the console." msgstr "Deaktiviert die Farben in der Konsole." -#: _kosmorro/main.py:294 +#: kosmorro/__main__.py:294 msgid "" "A file to export the output to. If not given, the standard output is used. " "This argument is needed for PDF format." @@ -245,7 +132,7 @@ msgstr "" "die Standardausgabe verwendet. Dieses Argument wird für das PDF-Format " "benötigt." -#: _kosmorro/main.py:303 +#: kosmorro/__main__.py:303 msgid "" "Do not generate a graph to represent the rise and set times in the PDF " "format." @@ -253,125 +140,238 @@ msgstr "" "Keine Grafik zur Darstellung der Anstiegs- und Abfallzeiten im PDF-Format " "generieren." -#: _kosmorro/main.py:311 +#: kosmorro/__main__.py:311 msgid "Show debugging messages" msgstr "Fehlerdiagnosemeldungen anzeigen" -#: _kosmorro/i18n/strings.py:11 +#: kosmorro/date.py:17 +msgid "The date {date} is not valid: {error}" +msgstr "Das Datum {date} ist nicht gültig: {error}" + +#: kosmorro/date.py:39 +msgid "" +"The date {date} does not match the required YYYY-MM-DD format or the offset " +"format." +msgstr "" +"Das Datum {date} entspricht nicht dem erforderlichen Format JJJJ-MM-TT oder " +"dem Offset-Format." + +#: kosmorro/dumper.py:137 +msgid "Expected events:" +msgstr "Erwartete Ereignisse:" + +#: kosmorro/dumper.py:144 +msgid "Note: All the hours are given in UTC." +msgstr "Hinweis: alle Stunden werden in UTC angegeben." + +#: kosmorro/dumper.py:151 +msgid "Note: All the hours are given in the UTC{offset} timezone." +msgstr "Hinweis: Alle Stunden werden in der UTC{offset}-Zeitzone angegeben." + +#: kosmorro/dumper.py:205 kosmorro/dumper.py:333 +msgid "Object" +msgstr "Gestirn" + +#: kosmorro/dumper.py:206 kosmorro/dumper.py:334 +msgid "Rise time" +msgstr "Aufgangszeit" + +#: kosmorro/dumper.py:207 kosmorro/dumper.py:336 +msgid "Culmination time" +msgstr "Höhepunkt" + +#: kosmorro/dumper.py:208 kosmorro/dumper.py:338 +msgid "Set time" +msgstr "Untergangszeit" + +#: kosmorro/dumper.py:234 +msgid "Moon phase is unavailable for this date." +msgstr "Die Mondphase ist für dieses Datum nicht verfügbar." + +#: kosmorro/dumper.py:238 kosmorro/dumper.py:342 +msgid "Moon phase:" +msgstr "Mondphase:" + +#: kosmorro/dumper.py:242 +msgid "{next_moon_phase} on {next_moon_phase_date} at {next_moon_phase_time}" +msgstr "{next_moon_phase} am {next_moon_phase_date} um {next_moon_phase_time}" + +#: kosmorro/dumper.py:306 +msgid "Overview of your sky" +msgstr "Übersicht über Ihren Himmel" + +#: kosmorro/dumper.py:314 +msgid "" +"This document summarizes the ephemerides and the events of {date}. It aims " +"to help you to prepare your observation session. All the hours are given in " +"{timezone}." +msgstr "" +"Dieses Dokument fasst die Ephemeriden und die Ereignisse von {date} " +"zusammen. Es soll Ihnen bei der Vorbereitung Ihrer Beobachtungssitzung " +"helfen. Alle Stunden sind in der Zeitzone {timezone} angegeben." + +#: kosmorro/dumper.py:324 +msgid "" +"Don't forget to check the weather forecast before you go out with your " +"equipment." +msgstr "" +"Vergessen Sie nicht, die Wettervorhersage zu prüfen, bevor Sie mit Ihrer " +"Ausrüstung hinausfahren." + +#: kosmorro/dumper.py:331 +msgid "Ephemerides of the day" +msgstr "Ephemeriden des Tages" + +#: kosmorro/dumper.py:340 +msgid "hours" +msgstr "Uhren" + +#: kosmorro/dumper.py:347 +msgid "Expected events" +msgstr "Erwartete Ereignisse" + +#: kosmorro/dumper.py:487 +msgid "" +"Building PDF was not possible, because some dependencies are not installed.\n" +"Please look at the documentation at https://kosmorro.space/cli/generate-pdf/ " +"for more information." +msgstr "" +"Konnte nicht das PDF-Dokument herstellen, weil Abhängigkeiten nicht " +"installiert werden.\n" +"Bitte die Dokumentation auf https://kosmorro.space/cli/generate-pdf/ für " +"weitere Informationen." + +#: kosmorro/dumper.py:540 +#, python-format +msgid "" +"An error occurred during the compilation of the PDF.\n" +"Please open an issue at https://github.com/Kosmorro/kosmorro/issues and " +"share the content of the log file at /tmp/kosmorro-%s.log" +msgstr "" +"Bei der Kompilierung der PDF ist ein Fehler aufgetreten.\n" +"Bitte öffnen Sie ein Issue unter https://github.com/Kosmorro/kosmorro/issues " +"und teilen Sie den Inhalt der Log-Datei unter /tmp/kosmorro-%s.log" + +#: kosmorro/exceptions.py:35 +msgid "The date must be between {minimum_date} and {maximum_date}" +msgstr "" +"Das Datum muss zwischen dem {minimum_date} und dem {maximum_date} liegen" + +#: kosmorro/i18n/strings.py:11 #, python-format msgid "%s is in opposition" msgstr "%s steht in Opposition" -#: _kosmorro/i18n/strings.py:12 +#: kosmorro/i18n/strings.py:12 #, python-format msgid "%s and %s are in conjunction" msgstr "Konjunktion zwischen %s und %s" -#: _kosmorro/i18n/strings.py:13 +#: kosmorro/i18n/strings.py:13 #, python-format msgid "%s occults %s" msgstr "%s bedeckt %s" -#: _kosmorro/i18n/strings.py:15 +#: kosmorro/i18n/strings.py:15 #, python-format msgid "Elongation of %s is maximal" msgstr "Die Elongation von %s ist maximal" -#: _kosmorro/i18n/strings.py:18 +#: kosmorro/i18n/strings.py:18 #, python-format msgid "%s is at its perigee" msgstr "%s befindet sich am Perigäum" -#: _kosmorro/i18n/strings.py:19 +#: kosmorro/i18n/strings.py:19 #, python-format msgid "%s is at its apogee" msgstr "%s steht auf seinem Apogäum" -#: _kosmorro/i18n/strings.py:35 +#: kosmorro/i18n/strings.py:35 msgid "New Moon" msgstr "Neumond" -#: _kosmorro/i18n/strings.py:36 +#: kosmorro/i18n/strings.py:36 msgid "Waxing Crescent" msgstr "zunehmende Sichel" -#: _kosmorro/i18n/strings.py:37 +#: kosmorro/i18n/strings.py:37 msgid "First Quarter" msgstr "Erstes Viertel" -#: _kosmorro/i18n/strings.py:38 +#: kosmorro/i18n/strings.py:38 msgid "Waxing Gibbous" msgstr "zweites Viertel" -#: _kosmorro/i18n/strings.py:39 +#: kosmorro/i18n/strings.py:39 msgid "Full Moon" msgstr "Vollmond" -#: _kosmorro/i18n/strings.py:40 +#: kosmorro/i18n/strings.py:40 msgid "Waning Gibbous" msgstr "drittes Viertel" -#: _kosmorro/i18n/strings.py:41 +#: kosmorro/i18n/strings.py:41 msgid "Last Quarter" msgstr "Letztes Viertel" -#: _kosmorro/i18n/strings.py:42 +#: kosmorro/i18n/strings.py:42 msgid "Waning Crescent" msgstr "abnehmende Sichel" -#: _kosmorro/i18n/strings.py:53 +#: kosmorro/i18n/strings.py:53 msgid "Sun" msgstr "Sohne" -#: _kosmorro/i18n/strings.py:54 +#: kosmorro/i18n/strings.py:54 msgid "Moon" msgstr "Mond" -#: _kosmorro/i18n/strings.py:55 +#: kosmorro/i18n/strings.py:55 msgid "Mercury" msgstr "Merkur" -#: _kosmorro/i18n/strings.py:56 +#: kosmorro/i18n/strings.py:56 msgid "Venus" msgstr "Venus" -#: _kosmorro/i18n/strings.py:57 +#: kosmorro/i18n/strings.py:57 msgid "Mars" msgstr "Mars" -#: _kosmorro/i18n/strings.py:58 +#: kosmorro/i18n/strings.py:58 msgid "Jupiter" msgstr "Jupiter" -#: _kosmorro/i18n/strings.py:59 +#: kosmorro/i18n/strings.py:59 msgid "Saturn" msgstr "Saturn" -#: _kosmorro/i18n/strings.py:60 +#: kosmorro/i18n/strings.py:60 msgid "Uranus" msgstr "Uranus" -#: _kosmorro/i18n/strings.py:61 +#: kosmorro/i18n/strings.py:61 msgid "Neptune" msgstr "Neptun" -#: _kosmorro/i18n/strings.py:62 +#: kosmorro/i18n/strings.py:62 msgid "Pluto" msgstr "Pluto" -#: _kosmorro/i18n/utils.py:27 +#: kosmorro/i18n/utils.py:27 msgid "{day_of_week} {month} {day_number}, {year}" msgstr "{day_of_week}, den {day_number}. {month} {year}" -#: _kosmorro/i18n/utils.py:30 +#: kosmorro/i18n/utils.py:30 msgid "{month} {day_number}, {hours}:{minutes}" msgstr "{day_number}. {month}, {hours}:{minutes}" -#: _kosmorro/i18n/utils.py:33 +#: kosmorro/i18n/utils.py:33 msgid "{month} {day_number}, {year}" msgstr "{day_number}. {month} {year}" -#: _kosmorro/i18n/utils.py:36 +#: kosmorro/i18n/utils.py:36 msgid "{hours}:{minutes}" msgstr "{hours}:{minutes}" diff --git a/kosmorro/locales/es/LC_MESSAGES/messages.po b/kosmorro/locales/es/LC_MESSAGES/messages.po index a2654ee..7058b19 100644 --- a/kosmorro/locales/es/LC_MESSAGES/messages.po +++ b/kosmorro/locales/es/LC_MESSAGES/messages.po @@ -6,12 +6,12 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" -"Report-Msgid-Bugs-To: jerome@deuchnord.fr\n" -"POT-Creation-Date: 2022-03-07 16:45+0100\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2022-03-19 13:28+0100\n" "PO-Revision-Date: 2022-03-19 17:51+0000\n" "Last-Translator: Anonymous \n" -"Language-Team: Spanish " -"\n" +"Language-Team: Spanish \n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -20,123 +20,7 @@ msgstr "" "X-Generator: Weblate 4.12-dev\n" "Generated-By: Babel 2.9.0\n" -#: _kosmorro/date.py:17 -msgid "The date {date} is not valid: {error}" -msgstr "La fecha no es válida: {error}" - -#: _kosmorro/date.py:39 -msgid "" -"The date {date} does not match the required YYYY-MM-DD format or the offset " -"format." -msgstr "" -"La fecha {fecha} no coincide con el formato requerido AAAA-MM-DD o el " -"formato de desplazamiento." - -#: _kosmorro/dumper.py:137 -msgid "Expected events:" -msgstr "Eventos esperados:" - -#: _kosmorro/dumper.py:144 -msgid "Note: All the hours are given in UTC." -msgstr "Nota: Todas las horas se dan en UTC." - -#: _kosmorro/dumper.py:151 -msgid "Note: All the hours are given in the UTC{offset} timezone." -msgstr "Nota: Todas las horas se dan en la zona horaria UTC." - -#: _kosmorro/dumper.py:205 _kosmorro/dumper.py:333 -msgid "Object" -msgstr "Objeto" - -#: _kosmorro/dumper.py:206 _kosmorro/dumper.py:334 -msgid "Rise time" -msgstr "Tiempo de ascenso" - -#: _kosmorro/dumper.py:207 _kosmorro/dumper.py:336 -msgid "Culmination time" -msgstr "Tiempo de culminación" - -#: _kosmorro/dumper.py:208 _kosmorro/dumper.py:338 -#, fuzzy -msgid "Set time" -msgstr "Poner la hora" - -#: _kosmorro/dumper.py:234 -msgid "Moon phase is unavailable for this date." -msgstr "La fase lunar no está disponible para esta fecha." - -#: _kosmorro/dumper.py:238 _kosmorro/dumper.py:342 -msgid "Moon phase:" -msgstr "Fase lunar:" - -#: _kosmorro/dumper.py:242 -#, fuzzy -msgid "{next_moon_phase} on {next_moon_phase_date} at {next_moon_phase_time}" -msgstr "" -"en la {fase lunar siguiente} en la {fase lunar siguiente} a la {fase lunar " -"siguiente}" - -#: _kosmorro/dumper.py:306 -msgid "Overview of your sky" -msgstr "" - -#: _kosmorro/dumper.py:314 -msgid "" -"This document summarizes the ephemerides and the events of {date}. It aims " -"to help you to prepare your observation session. All the hours are given in " -"{timezone}." -msgstr "" -"Este documento resume las efemérides y los eventos de {fecha}. Su objetivo " -"es ayudarle a preparar su sesión de observación. Todas las horas están dadas " -"en {zona horaria}." - -#: _kosmorro/dumper.py:324 -msgid "" -"Don't forget to check the weather forecast before you go out with your " -"equipment." -msgstr "" -"No olvides comprobar el pronóstico del tiempo antes de salir con tu equipo." - -#: _kosmorro/dumper.py:331 -msgid "Ephemerides of the day" -msgstr "Las efemérides del día" - -#: _kosmorro/dumper.py:340 -msgid "hours" -msgstr "horas" - -#: _kosmorro/dumper.py:347 -msgid "Expected events" -msgstr "Eventos esperados" - -#: _kosmorro/dumper.py:487 -#, fuzzy -msgid "" -"Building PDF was not possible, because some dependencies are not installed.\n" -"Please look at the documentation at https://kosmorro.space/cli/generate-pdf/ " -"for more information." -msgstr "" -"La construcción de PDFs no fue posible, porque algunas dependencias no están " -"instaladas.\n" -"Por favor, consulte la documentación en http://kosmorro.space para más " -"información." - -#: _kosmorro/dumper.py:540 -#, fuzzy, python-format -msgid "" -"An error occurred during the compilation of the PDF.\n" -"Please open an issue at https://github.com/Kosmorro/kosmorro/issues and " -"share the content of the log file at /tmp/kosmorro-%s.log" -msgstr "" -"Se produjo un error durante la compilación del PDF.\n" -"Por favor, abra un número en https://github.com/Kosmorro/kosmorro/issues y " -"comparta el contenido del archivo de registro en /tmp/kosmorro-%s.log" - -#: _kosmorro/exceptions.py:35 -msgid "The date must be between {minimum_date} and {maximum_date}" -msgstr "La fecha debe estar entre {fecha_mínima} y {fecha_máxima}" - -#: _kosmorro/main.py:63 +#: kosmorro/__main__.py:63 #, fuzzy msgid "" "Save the planet and paper!\n" @@ -147,7 +31,7 @@ msgstr "" "Considere la posibilidad de imprimir su documento PDF sólo si es realmente " "necesario, y utilice el otro lado de la hoja." -#: _kosmorro/main.py:72 +#: kosmorro/__main__.py:72 #, fuzzy msgid "" "PDF output will not contain the ephemerides, because you didn't provide the " @@ -156,28 +40,28 @@ msgstr "" "La salida en PDF no contendrá las efemérides, porque no proporcionó la " "coordenada de observación." -#: _kosmorro/main.py:117 +#: kosmorro/__main__.py:117 #, fuzzy msgid "The file could not be saved in \"{path}\": {error}" msgstr "No pude guardar la salida en \"{path}\": {error}" -#: _kosmorro/main.py:131 +#: kosmorro/__main__.py:131 msgid "Please provide a file path to export in this format (--output)." msgstr "" -#: _kosmorro/main.py:164 +#: kosmorro/__main__.py:164 #, fuzzy #| msgid "Moon phase can only be displayed between {min_date} and {max_date}" msgid "Moon phase can only be computed between {min_date} and {max_date}" msgstr "La fase lunar sólo puede ser mostrada entre {min_date} y {max_date}" -#: _kosmorro/main.py:203 +#: kosmorro/__main__.py:203 #, fuzzy msgid "" "Running on Python {python_version} with Kosmorrolib v{kosmorrolib_version}" msgstr "Corriendo en Python {python_version}" -#: _kosmorro/main.py:216 +#: kosmorro/__main__.py:216 #, fuzzy msgid "" "Compute the ephemerides and the events for a given date and a given position " @@ -186,7 +70,7 @@ msgstr "" "Calcular las efemérides y los eventos para una fecha determinada, en una " "posición determinada en la Tierra." -#: _kosmorro/main.py:219 +#: kosmorro/__main__.py:219 #, fuzzy #| msgid "" #| "By default, only the events will be computed for today ({date}).\n" @@ -200,16 +84,16 @@ msgstr "" "Para calcular también las efemérides, se necesitan los argumentos de latitud " "y longitud." -#: _kosmorro/main.py:232 +#: kosmorro/__main__.py:232 msgid "Show the program version" msgstr "Mostrar la versión del programa" -#: _kosmorro/main.py:240 +#: kosmorro/__main__.py:240 #, fuzzy msgid "The format to output the information to" msgstr "El formato en el cual la información debe ser producida" -#: _kosmorro/main.py:247 +#: kosmorro/__main__.py:247 msgid "" "The observer's latitude on Earth. Can also be set in the KOSMORRO_LATITUDE " "environment variable." @@ -217,7 +101,7 @@ msgstr "" "La latitud del observador en la Tierra. También se puede establecer en la " "variable ambiental KOSMORRO_LATITUDE." -#: _kosmorro/main.py:257 +#: kosmorro/__main__.py:257 msgid "" "The observer's longitude on Earth. Can also be set in the KOSMORRO_LONGITUDE " "environment variable." @@ -225,7 +109,7 @@ msgstr "" "La longitud del observador en la Tierra. También se puede establecer en la " "variable ambiental KOSMORRO_LONGITUDE." -#: _kosmorro/main.py:267 +#: kosmorro/__main__.py:267 #, fuzzy msgid "" "The date for which the ephemerides must be calculated. Can be in the YYYY-MM-" @@ -236,7 +120,7 @@ msgstr "" "DD), o como un intervalo en el formato \"[+-]AAmDd\" (con números Y, M y D). " "Por defecto, la fecha actual ({fecha_por_ defecto})" -#: _kosmorro/main.py:278 +#: kosmorro/__main__.py:278 msgid "" "The timezone to display the hours in (e.g. 2 for UTC+2 or -3 for UTC-3). Can " "also be set in the KOSMORRO_TIMEZONE environment variable." @@ -245,11 +129,11 @@ msgstr "" "-3 para UTC-3). También se puede establecer en la variable de entorno " "KOSMORRO_TIMEZONE." -#: _kosmorro/main.py:287 +#: kosmorro/__main__.py:287 msgid "Disable the colors in the console." msgstr "Deshabilita los colores de la consola." -#: _kosmorro/main.py:294 +#: kosmorro/__main__.py:294 msgid "" "A file to export the output to. If not given, the standard output is used. " "This argument is needed for PDF format." @@ -257,7 +141,7 @@ msgstr "" "Un archivo al que exportar la salida. Si no se da, se utiliza la salida " "estándar. Este argumento es necesario para el formato PDF." -#: _kosmorro/main.py:303 +#: kosmorro/__main__.py:303 msgid "" "Do not generate a graph to represent the rise and set times in the PDF " "format." @@ -265,132 +149,248 @@ msgstr "" "No genere un gráfico para representar el aumento y los tiempos de ajuste en " "el formato PDF." -#: _kosmorro/main.py:311 +#: kosmorro/__main__.py:311 msgid "Show debugging messages" msgstr "" -#: _kosmorro/i18n/strings.py:11 +#: kosmorro/date.py:17 +msgid "The date {date} is not valid: {error}" +msgstr "La fecha no es válida: {error}" + +#: kosmorro/date.py:39 +msgid "" +"The date {date} does not match the required YYYY-MM-DD format or the offset " +"format." +msgstr "" +"La fecha {fecha} no coincide con el formato requerido AAAA-MM-DD o el " +"formato de desplazamiento." + +#: kosmorro/dumper.py:137 +msgid "Expected events:" +msgstr "Eventos esperados:" + +#: kosmorro/dumper.py:144 +msgid "Note: All the hours are given in UTC." +msgstr "Nota: Todas las horas se dan en UTC." + +#: kosmorro/dumper.py:151 +msgid "Note: All the hours are given in the UTC{offset} timezone." +msgstr "Nota: Todas las horas se dan en la zona horaria UTC." + +#: kosmorro/dumper.py:205 kosmorro/dumper.py:333 +msgid "Object" +msgstr "Objeto" + +#: kosmorro/dumper.py:206 kosmorro/dumper.py:334 +msgid "Rise time" +msgstr "Tiempo de ascenso" + +#: kosmorro/dumper.py:207 kosmorro/dumper.py:336 +msgid "Culmination time" +msgstr "Tiempo de culminación" + +#: kosmorro/dumper.py:208 kosmorro/dumper.py:338 +#, fuzzy +msgid "Set time" +msgstr "Poner la hora" + +#: kosmorro/dumper.py:234 +msgid "Moon phase is unavailable for this date." +msgstr "La fase lunar no está disponible para esta fecha." + +#: kosmorro/dumper.py:238 kosmorro/dumper.py:342 +msgid "Moon phase:" +msgstr "Fase lunar:" + +#: kosmorro/dumper.py:242 +#, fuzzy +msgid "{next_moon_phase} on {next_moon_phase_date} at {next_moon_phase_time}" +msgstr "" +"en la {fase lunar siguiente} en la {fase lunar siguiente} a la {fase lunar " +"siguiente}" + +#: kosmorro/dumper.py:306 +msgid "Overview of your sky" +msgstr "" + +#: kosmorro/dumper.py:314 +msgid "" +"This document summarizes the ephemerides and the events of {date}. It aims " +"to help you to prepare your observation session. All the hours are given in " +"{timezone}." +msgstr "" +"Este documento resume las efemérides y los eventos de {fecha}. Su objetivo " +"es ayudarle a preparar su sesión de observación. Todas las horas están dadas " +"en {zona horaria}." + +#: kosmorro/dumper.py:324 +msgid "" +"Don't forget to check the weather forecast before you go out with your " +"equipment." +msgstr "" +"No olvides comprobar el pronóstico del tiempo antes de salir con tu equipo." + +#: kosmorro/dumper.py:331 +msgid "Ephemerides of the day" +msgstr "Las efemérides del día" + +#: kosmorro/dumper.py:340 +msgid "hours" +msgstr "horas" + +#: kosmorro/dumper.py:347 +msgid "Expected events" +msgstr "Eventos esperados" + +#: kosmorro/dumper.py:487 +#, fuzzy +msgid "" +"Building PDF was not possible, because some dependencies are not installed.\n" +"Please look at the documentation at https://kosmorro.space/cli/generate-pdf/ " +"for more information." +msgstr "" +"La construcción de PDFs no fue posible, porque algunas dependencias no están " +"instaladas.\n" +"Por favor, consulte la documentación en http://kosmorro.space para más " +"información." + +#: kosmorro/dumper.py:540 +#, fuzzy, python-format +msgid "" +"An error occurred during the compilation of the PDF.\n" +"Please open an issue at https://github.com/Kosmorro/kosmorro/issues and " +"share the content of the log file at /tmp/kosmorro-%s.log" +msgstr "" +"Se produjo un error durante la compilación del PDF.\n" +"Por favor, abra un número en https://github.com/Kosmorro/kosmorro/issues y " +"comparta el contenido del archivo de registro en /tmp/kosmorro-%s.log" + +#: kosmorro/exceptions.py:35 +msgid "The date must be between {minimum_date} and {maximum_date}" +msgstr "La fecha debe estar entre {fecha_mínima} y {fecha_máxima}" + +#: kosmorro/i18n/strings.py:11 #, python-format msgid "%s is in opposition" msgstr "%s está en la oposición" -#: _kosmorro/i18n/strings.py:12 +#: kosmorro/i18n/strings.py:12 #, python-format msgid "%s and %s are in conjunction" msgstr "Los %s y %s están en conjunción" -#: _kosmorro/i18n/strings.py:13 +#: kosmorro/i18n/strings.py:13 #, python-format msgid "%s occults %s" msgstr "%s ocultos %s" -#: _kosmorro/i18n/strings.py:15 +#: kosmorro/i18n/strings.py:15 #, python-format msgid "Elongation of %s is maximal" msgstr "" -#: _kosmorro/i18n/strings.py:18 +#: kosmorro/i18n/strings.py:18 #, python-format msgid "%s is at its perigee" msgstr "%s está en su perigeo" -#: _kosmorro/i18n/strings.py:19 +#: kosmorro/i18n/strings.py:19 #, python-format msgid "%s is at its apogee" msgstr "%s está en su apogeo" -#: _kosmorro/i18n/strings.py:35 +#: kosmorro/i18n/strings.py:35 msgid "New Moon" msgstr "Luna Nueva" -#: _kosmorro/i18n/strings.py:36 +#: kosmorro/i18n/strings.py:36 #, fuzzy msgid "Waxing Crescent" msgstr "Media luna de cera" -#: _kosmorro/i18n/strings.py:37 +#: kosmorro/i18n/strings.py:37 #, fuzzy msgid "First Quarter" msgstr "Primer trimestre" -#: _kosmorro/i18n/strings.py:38 +#: kosmorro/i18n/strings.py:38 #, fuzzy msgid "Waxing Gibbous" msgstr "El gibón de cera" -#: _kosmorro/i18n/strings.py:39 +#: kosmorro/i18n/strings.py:39 msgid "Full Moon" msgstr "Luna llena" -#: _kosmorro/i18n/strings.py:40 +#: kosmorro/i18n/strings.py:40 #, fuzzy msgid "Waning Gibbous" msgstr "Gibbous en extinción..." -#: _kosmorro/i18n/strings.py:41 +#: kosmorro/i18n/strings.py:41 #, fuzzy msgid "Last Quarter" msgstr "Último trimestre" -#: _kosmorro/i18n/strings.py:42 +#: kosmorro/i18n/strings.py:42 #, fuzzy msgid "Waning Crescent" msgstr "Media luna menguante" -#: _kosmorro/i18n/strings.py:53 +#: kosmorro/i18n/strings.py:53 msgid "Sun" msgstr "Sol" -#: _kosmorro/i18n/strings.py:54 +#: kosmorro/i18n/strings.py:54 msgid "Moon" msgstr "Luna" -#: _kosmorro/i18n/strings.py:55 +#: kosmorro/i18n/strings.py:55 msgid "Mercury" msgstr "Mercurio" -#: _kosmorro/i18n/strings.py:56 +#: kosmorro/i18n/strings.py:56 msgid "Venus" msgstr "Venus" -#: _kosmorro/i18n/strings.py:57 +#: kosmorro/i18n/strings.py:57 msgid "Mars" msgstr "Mars" -#: _kosmorro/i18n/strings.py:58 +#: kosmorro/i18n/strings.py:58 msgid "Jupiter" msgstr "Júpiter" -#: _kosmorro/i18n/strings.py:59 +#: kosmorro/i18n/strings.py:59 msgid "Saturn" msgstr "Saturno" -#: _kosmorro/i18n/strings.py:60 +#: kosmorro/i18n/strings.py:60 msgid "Uranus" msgstr "Urano" -#: _kosmorro/i18n/strings.py:61 +#: kosmorro/i18n/strings.py:61 msgid "Neptune" msgstr "Neptuno" -#: _kosmorro/i18n/strings.py:62 +#: kosmorro/i18n/strings.py:62 msgid "Pluto" msgstr "Plutón" -#: _kosmorro/i18n/utils.py:27 +#: kosmorro/i18n/utils.py:27 #, fuzzy msgid "{day_of_week} {month} {day_number}, {year}" msgstr "{día_de_semana} {mes} {número_de_día}, {año}" -#: _kosmorro/i18n/utils.py:30 +#: kosmorro/i18n/utils.py:30 msgid "{month} {day_number}, {hours}:{minutes}" msgstr "{mes} {número de día}, {horas}:{minutos}" -#: _kosmorro/i18n/utils.py:33 +#: kosmorro/i18n/utils.py:33 msgid "{month} {day_number}, {year}" msgstr "{mes} {número_de_día}, {año}" -#: _kosmorro/i18n/utils.py:36 +#: kosmorro/i18n/utils.py:36 #, fuzzy msgid "{hours}:{minutes}" msgstr "{horas}:{minutos}" diff --git a/kosmorro/locales/fr/LC_MESSAGES/messages.po b/kosmorro/locales/fr/LC_MESSAGES/messages.po index 537a510..80873a2 100644 --- a/kosmorro/locales/fr/LC_MESSAGES/messages.po +++ b/kosmorro/locales/fr/LC_MESSAGES/messages.po @@ -6,12 +6,12 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" -"Report-Msgid-Bugs-To: jerome@deuchnord.fr\n" -"POT-Creation-Date: 2022-03-07 16:45+0100\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2022-03-19 13:28+0100\n" "PO-Revision-Date: 2022-03-19 17:51+0000\n" "Last-Translator: Anonymous \n" -"Language-Team: French " -"\n" +"Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -20,118 +20,7 @@ msgstr "" "X-Generator: Weblate 4.12-dev\n" "Generated-By: Babel 2.9.0\n" -#: _kosmorro/date.py:17 -msgid "The date {date} is not valid: {error}" -msgstr "La date {date} n'est pas valide : {error}" - -#: _kosmorro/date.py:39 -msgid "" -"The date {date} does not match the required YYYY-MM-DD format or the offset " -"format." -msgstr "La date {date} ne répond pas au format YYYY-MM-DD ou au format relatif." - -#: _kosmorro/dumper.py:137 -msgid "Expected events:" -msgstr "Événements prévus :" - -#: _kosmorro/dumper.py:144 -msgid "Note: All the hours are given in UTC." -msgstr "Note : toutes les heures sont en temps universel (UTC)." - -#: _kosmorro/dumper.py:151 -msgid "Note: All the hours are given in the UTC{offset} timezone." -msgstr "" -"Note : toutes les heures sont données dans le fuseau horaire UTC{offset}." - -#: _kosmorro/dumper.py:205 _kosmorro/dumper.py:333 -msgid "Object" -msgstr "Objet" - -#: _kosmorro/dumper.py:206 _kosmorro/dumper.py:334 -msgid "Rise time" -msgstr "Heure de lever" - -#: _kosmorro/dumper.py:207 _kosmorro/dumper.py:336 -msgid "Culmination time" -msgstr "Heure de culmination" - -#: _kosmorro/dumper.py:208 _kosmorro/dumper.py:338 -msgid "Set time" -msgstr "Heure de coucher" - -#: _kosmorro/dumper.py:234 -msgid "Moon phase is unavailable for this date." -msgstr "La phase de la Lune n'est pas disponible pour cette date." - -#: _kosmorro/dumper.py:238 _kosmorro/dumper.py:342 -msgid "Moon phase:" -msgstr "Phase de la Lune :" - -#: _kosmorro/dumper.py:242 -msgid "{next_moon_phase} on {next_moon_phase_date} at {next_moon_phase_time}" -msgstr "{next_moon_phase} le {next_moon_phase_date} à {next_moon_phase_time}" - -#: _kosmorro/dumper.py:306 -msgid "Overview of your sky" -msgstr "Résumé de votre ciel" - -#: _kosmorro/dumper.py:314 -msgid "" -"This document summarizes the ephemerides and the events of {date}. It aims " -"to help you to prepare your observation session. All the hours are given in " -"{timezone}." -msgstr "" -"Ce document synthétise les éphémérides et les événements prévus pour le " -"{date}. Son but est de vous aider à préparer votre soirée d'observation. " -"Toutes les heures sont données en {timezone}." - -#: _kosmorro/dumper.py:324 -msgid "" -"Don't forget to check the weather forecast before you go out with your " -"equipment." -msgstr "" -"N’oubliez pas de vous assurer que les conditions météo sont favorables avant " -"de sortir votre matériel d’observation." - -#: _kosmorro/dumper.py:331 -msgid "Ephemerides of the day" -msgstr "Éphémérides du jour" - -#: _kosmorro/dumper.py:340 -msgid "hours" -msgstr "heures" - -#: _kosmorro/dumper.py:347 -msgid "Expected events" -msgstr "Événements prévus" - -#: _kosmorro/dumper.py:487 -msgid "" -"Building PDF was not possible, because some dependencies are not installed.\n" -"Please look at the documentation at https://kosmorro.space/cli/generate-pdf/ " -"for more information." -msgstr "" -"La génération du document PDF n'est pas possible, car certaines dépendances " -"ne sont pas installées.\n" -"Veuillez vous référer à la documentation sur https://kosmorro.space/cli/" -"generate-pdf/ pour de plus amples informations." - -#: _kosmorro/dumper.py:540 -#, python-format -msgid "" -"An error occurred during the compilation of the PDF.\n" -"Please open an issue at https://github.com/Kosmorro/kosmorro/issues and " -"share the content of the log file at /tmp/kosmorro-%s.log" -msgstr "" -"Une erreur s'est produite pendant la compilation du PDF.\n" -"Merci d'ouvrir un ticket sur https://github.com/Kosmorro/kosmorro/issues et " -"de partager le contenu du fichier journal situé dans /tmp/kosmorro-%s.log" - -#: _kosmorro/exceptions.py:35 -msgid "The date must be between {minimum_date} and {maximum_date}" -msgstr "La date doit être entre le {minimum_date} et le {maximum_date}" - -#: _kosmorro/main.py:63 +#: kosmorro/__main__.py:63 msgid "" "Save the planet and paper!\n" "Consider printing your PDF document only if really necessary, and use the " @@ -141,7 +30,7 @@ msgstr "" "N'imprimez le document PDF uniquement si nécessaire, et pensez à utiliser le " "verso de la feuille." -#: _kosmorro/main.py:72 +#: kosmorro/__main__.py:72 msgid "" "PDF output will not contain the ephemerides, because you didn't provide the " "observation coordinates." @@ -149,29 +38,29 @@ msgstr "" "Le document PDF ne contiendra pas les éphémérides, car les coordonnées du " "lieu d'observation sont manquantes." -#: _kosmorro/main.py:117 +#: kosmorro/__main__.py:117 msgid "The file could not be saved in \"{path}\": {error}" msgstr "Le fichier \"{path}\" n'a pas pu être enregistré : {error}" -#: _kosmorro/main.py:131 +#: kosmorro/__main__.py:131 msgid "Please provide a file path to export in this format (--output)." msgstr "" "Merci de fournir le chemin du fichier d'exporter pour ce format (--output)." -#: _kosmorro/main.py:164 +#: kosmorro/__main__.py:164 msgid "Moon phase can only be computed between {min_date} and {max_date}" msgstr "" "La phase de la Lune ne peut être calculée qu'entre le {min_date} et le " "{max_date}" -#: _kosmorro/main.py:203 +#: kosmorro/__main__.py:203 msgid "" "Running on Python {python_version} with Kosmorrolib v{kosmorrolib_version}" msgstr "" "Exécuté à l'aide de Python {python_version} et de la Kosmorrolib " "v{kosmorrolib_version}" -#: _kosmorro/main.py:216 +#: kosmorro/__main__.py:216 msgid "" "Compute the ephemerides and the events for a given date and a given position " "on Earth." @@ -179,7 +68,7 @@ msgstr "" "Calcule les éphémérides et les événements pour une date et une position sur " "Terre données." -#: _kosmorro/main.py:219 +#: kosmorro/__main__.py:219 msgid "" "By default, only the events will be computed for today.\n" "To compute also the ephemerides, latitude and longitude arguments are needed." @@ -187,15 +76,15 @@ msgstr "" "Par défaut, seuls les événements sont calculés pour la date actuelle.\n" "Pour calculer les éphémérides, la latitude et la longitude sont requises." -#: _kosmorro/main.py:232 +#: kosmorro/__main__.py:232 msgid "Show the program version" msgstr "Affiche la version du programme" -#: _kosmorro/main.py:240 +#: kosmorro/__main__.py:240 msgid "The format to output the information to" msgstr "Le format de sortie des informations" -#: _kosmorro/main.py:247 +#: kosmorro/__main__.py:247 msgid "" "The observer's latitude on Earth. Can also be set in the KOSMORRO_LATITUDE " "environment variable." @@ -203,7 +92,7 @@ msgstr "" "La latitude de l'observateur. Peut également être renseignée dans la " "variable d'environnement KOSMORRO_LATITUDE." -#: _kosmorro/main.py:257 +#: kosmorro/__main__.py:257 msgid "" "The observer's longitude on Earth. Can also be set in the KOSMORRO_LONGITUDE " "environment variable." @@ -211,17 +100,18 @@ msgstr "" "La longitude de l'observateur. Peut également être renseignée dans la " "variable d'environnement KOSMORRO_LONGITUDE." -#: _kosmorro/main.py:267 +#: kosmorro/__main__.py:267 msgid "" "The date for which the ephemerides must be calculated. Can be in the YYYY-MM-" "DD format or an interval in the \"[+-]YyMmDd\" format (with Y, M, and D " "numbers). Defaults to current date." msgstr "" "La date pour laquelle les éphémérides doivent être calculées, soit au format " -"AAAA-MM-JJ, soit sous la forme d'un intervalle au format \"[+-]Ay-Mm-Jd\" (" -"où A, M, et J sont des nombres). Par défaut, la date du jour est utilisée." +"AAAA-MM-JJ, soit sous la forme d'un intervalle au format \"[+-]Ay-Mm-Jd" +"\" (où A, M, et J sont des nombres). Par défaut, la date du jour est " +"utilisée." -#: _kosmorro/main.py:278 +#: kosmorro/__main__.py:278 msgid "" "The timezone to display the hours in (e.g. 2 for UTC+2 or -3 for UTC-3). Can " "also be set in the KOSMORRO_TIMEZONE environment variable." @@ -230,11 +120,11 @@ msgstr "" "pour UTC+2 ou -3 pour UTC-3). Peut également être renseigné dans la variable " "d'environnement KOSMORRO_TIMEZONE." -#: _kosmorro/main.py:287 +#: kosmorro/__main__.py:287 msgid "Disable the colors in the console." msgstr "Désactive les couleurs dans la console." -#: _kosmorro/main.py:294 +#: kosmorro/__main__.py:294 msgid "" "A file to export the output to. If not given, the standard output is used. " "This argument is needed for PDF format." @@ -243,7 +133,7 @@ msgstr "" "la sortie standard de la console est utilisée. Cet argument est nécessaire " "pour le format de sortie PDF." -#: _kosmorro/main.py:303 +#: kosmorro/__main__.py:303 msgid "" "Do not generate a graph to represent the rise and set times in the PDF " "format." @@ -251,125 +141,237 @@ msgstr "" "Désactive la génération du graphique des levers et couchers des astres dans " "le format PDF." -#: _kosmorro/main.py:311 +#: kosmorro/__main__.py:311 msgid "Show debugging messages" msgstr "Affiche les information de débogage" -#: _kosmorro/i18n/strings.py:11 +#: kosmorro/date.py:17 +msgid "The date {date} is not valid: {error}" +msgstr "La date {date} n'est pas valide : {error}" + +#: kosmorro/date.py:39 +msgid "" +"The date {date} does not match the required YYYY-MM-DD format or the offset " +"format." +msgstr "" +"La date {date} ne répond pas au format YYYY-MM-DD ou au format relatif." + +#: kosmorro/dumper.py:137 +msgid "Expected events:" +msgstr "Événements prévus :" + +#: kosmorro/dumper.py:144 +msgid "Note: All the hours are given in UTC." +msgstr "Note : toutes les heures sont en temps universel (UTC)." + +#: kosmorro/dumper.py:151 +msgid "Note: All the hours are given in the UTC{offset} timezone." +msgstr "" +"Note : toutes les heures sont données dans le fuseau horaire UTC{offset}." + +#: kosmorro/dumper.py:205 kosmorro/dumper.py:333 +msgid "Object" +msgstr "Objet" + +#: kosmorro/dumper.py:206 kosmorro/dumper.py:334 +msgid "Rise time" +msgstr "Heure de lever" + +#: kosmorro/dumper.py:207 kosmorro/dumper.py:336 +msgid "Culmination time" +msgstr "Heure de culmination" + +#: kosmorro/dumper.py:208 kosmorro/dumper.py:338 +msgid "Set time" +msgstr "Heure de coucher" + +#: kosmorro/dumper.py:234 +msgid "Moon phase is unavailable for this date." +msgstr "La phase de la Lune n'est pas disponible pour cette date." + +#: kosmorro/dumper.py:238 kosmorro/dumper.py:342 +msgid "Moon phase:" +msgstr "Phase de la Lune :" + +#: kosmorro/dumper.py:242 +msgid "{next_moon_phase} on {next_moon_phase_date} at {next_moon_phase_time}" +msgstr "{next_moon_phase} le {next_moon_phase_date} à {next_moon_phase_time}" + +#: kosmorro/dumper.py:306 +msgid "Overview of your sky" +msgstr "Résumé de votre ciel" + +#: kosmorro/dumper.py:314 +msgid "" +"This document summarizes the ephemerides and the events of {date}. It aims " +"to help you to prepare your observation session. All the hours are given in " +"{timezone}." +msgstr "" +"Ce document synthétise les éphémérides et les événements prévus pour le " +"{date}. Son but est de vous aider à préparer votre soirée d'observation. " +"Toutes les heures sont données en {timezone}." + +#: kosmorro/dumper.py:324 +msgid "" +"Don't forget to check the weather forecast before you go out with your " +"equipment." +msgstr "" +"N’oubliez pas de vous assurer que les conditions météo sont favorables avant " +"de sortir votre matériel d’observation." + +#: kosmorro/dumper.py:331 +msgid "Ephemerides of the day" +msgstr "Éphémérides du jour" + +#: kosmorro/dumper.py:340 +msgid "hours" +msgstr "heures" + +#: kosmorro/dumper.py:347 +msgid "Expected events" +msgstr "Événements prévus" + +#: kosmorro/dumper.py:487 +msgid "" +"Building PDF was not possible, because some dependencies are not installed.\n" +"Please look at the documentation at https://kosmorro.space/cli/generate-pdf/ " +"for more information." +msgstr "" +"La génération du document PDF n'est pas possible, car certaines dépendances " +"ne sont pas installées.\n" +"Veuillez vous référer à la documentation sur https://kosmorro.space/cli/" +"generate-pdf/ pour de plus amples informations." + +#: kosmorro/dumper.py:540 +#, python-format +msgid "" +"An error occurred during the compilation of the PDF.\n" +"Please open an issue at https://github.com/Kosmorro/kosmorro/issues and " +"share the content of the log file at /tmp/kosmorro-%s.log" +msgstr "" +"Une erreur s'est produite pendant la compilation du PDF.\n" +"Merci d'ouvrir un ticket sur https://github.com/Kosmorro/kosmorro/issues et " +"de partager le contenu du fichier journal situé dans /tmp/kosmorro-%s.log" + +#: kosmorro/exceptions.py:35 +msgid "The date must be between {minimum_date} and {maximum_date}" +msgstr "La date doit être entre le {minimum_date} et le {maximum_date}" + +#: kosmorro/i18n/strings.py:11 #, python-format msgid "%s is in opposition" msgstr "%s est à l'opposition" -#: _kosmorro/i18n/strings.py:12 +#: kosmorro/i18n/strings.py:12 #, python-format msgid "%s and %s are in conjunction" msgstr "%s et %s sont en conjonction" -#: _kosmorro/i18n/strings.py:13 +#: kosmorro/i18n/strings.py:13 #, python-format msgid "%s occults %s" msgstr "%s occulte %s" -#: _kosmorro/i18n/strings.py:15 +#: kosmorro/i18n/strings.py:15 #, python-format msgid "Elongation of %s is maximal" msgstr "L’élongation de %s est maximale" -#: _kosmorro/i18n/strings.py:18 +#: kosmorro/i18n/strings.py:18 #, python-format msgid "%s is at its perigee" msgstr "%s est à son périgée" -#: _kosmorro/i18n/strings.py:19 +#: kosmorro/i18n/strings.py:19 #, python-format msgid "%s is at its apogee" msgstr "%s est à son apogée" -#: _kosmorro/i18n/strings.py:35 +#: kosmorro/i18n/strings.py:35 msgid "New Moon" msgstr "Nouvelle lune" -#: _kosmorro/i18n/strings.py:36 +#: kosmorro/i18n/strings.py:36 msgid "Waxing Crescent" msgstr "Premier croissant" -#: _kosmorro/i18n/strings.py:37 +#: kosmorro/i18n/strings.py:37 msgid "First Quarter" msgstr "Premier quartier" -#: _kosmorro/i18n/strings.py:38 +#: kosmorro/i18n/strings.py:38 msgid "Waxing Gibbous" msgstr "Gibbeuse croissante" -#: _kosmorro/i18n/strings.py:39 +#: kosmorro/i18n/strings.py:39 msgid "Full Moon" msgstr "Pleine lune" -#: _kosmorro/i18n/strings.py:40 +#: kosmorro/i18n/strings.py:40 msgid "Waning Gibbous" msgstr "Gibbeuse décroissante" -#: _kosmorro/i18n/strings.py:41 +#: kosmorro/i18n/strings.py:41 msgid "Last Quarter" msgstr "Dernier quartier" -#: _kosmorro/i18n/strings.py:42 +#: kosmorro/i18n/strings.py:42 msgid "Waning Crescent" msgstr "Dernier croissant" -#: _kosmorro/i18n/strings.py:53 +#: kosmorro/i18n/strings.py:53 msgid "Sun" msgstr "Soleil" -#: _kosmorro/i18n/strings.py:54 +#: kosmorro/i18n/strings.py:54 msgid "Moon" msgstr "Lune" -#: _kosmorro/i18n/strings.py:55 +#: kosmorro/i18n/strings.py:55 msgid "Mercury" msgstr "Mercure" -#: _kosmorro/i18n/strings.py:56 +#: kosmorro/i18n/strings.py:56 msgid "Venus" msgstr "Vénus" -#: _kosmorro/i18n/strings.py:57 +#: kosmorro/i18n/strings.py:57 msgid "Mars" msgstr "Mars" -#: _kosmorro/i18n/strings.py:58 +#: kosmorro/i18n/strings.py:58 msgid "Jupiter" msgstr "Jupiter" -#: _kosmorro/i18n/strings.py:59 +#: kosmorro/i18n/strings.py:59 msgid "Saturn" msgstr "Saturne" -#: _kosmorro/i18n/strings.py:60 +#: kosmorro/i18n/strings.py:60 msgid "Uranus" msgstr "Uranus" -#: _kosmorro/i18n/strings.py:61 +#: kosmorro/i18n/strings.py:61 msgid "Neptune" msgstr "Neptune" -#: _kosmorro/i18n/strings.py:62 +#: kosmorro/i18n/strings.py:62 msgid "Pluto" msgstr "Pluton" -#: _kosmorro/i18n/utils.py:27 +#: kosmorro/i18n/utils.py:27 msgid "{day_of_week} {month} {day_number}, {year}" msgstr "{day_of_week} {day_number} {month} {year}" -#: _kosmorro/i18n/utils.py:30 +#: kosmorro/i18n/utils.py:30 msgid "{month} {day_number}, {hours}:{minutes}" msgstr "{day_number} {month}, {hours}:{minutes}" -#: _kosmorro/i18n/utils.py:33 +#: kosmorro/i18n/utils.py:33 msgid "{month} {day_number}, {year}" msgstr "{day_number} {month} {year}" -#: _kosmorro/i18n/utils.py:36 +#: kosmorro/i18n/utils.py:36 msgid "{hours}:{minutes}" msgstr "{hours}h{minutes}" diff --git a/kosmorro/locales/nb_NO/LC_MESSAGES/messages.po b/kosmorro/locales/nb_NO/LC_MESSAGES/messages.po index e8e984d..26d4153 100644 --- a/kosmorro/locales/nb_NO/LC_MESSAGES/messages.po +++ b/kosmorro/locales/nb_NO/LC_MESSAGES/messages.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" -"Report-Msgid-Bugs-To: jerome@deuchnord.fr\n" -"POT-Creation-Date: 2022-03-07 16:45+0100\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2022-03-19 13:28+0100\n" "PO-Revision-Date: 2022-03-19 17:51+0000\n" "Last-Translator: Anonymous \n" "Language-Team: Norwegian Bokmål \n" "Language-Team: Dutch \n" @@ -19,123 +19,7 @@ msgstr "" "X-Generator: Weblate 4.12-dev\n" "Generated-By: Babel 2.9.0\n" -#: _kosmorro/date.py:17 -msgid "The date {date} is not valid: {error}" -msgstr "De datum {date} is niet geldig: {error}" - -#: _kosmorro/date.py:39 -#, fuzzy -msgid "" -"The date {date} does not match the required YYYY-MM-DD format or the offset " -"format." -msgstr "" -"De datum {date} komt niet overeen met het vereiste JJJJ-MM-DD-formaat of het " -"offset-formaat." - -#: _kosmorro/dumper.py:137 -msgid "Expected events:" -msgstr "Verwachte evenementen:" - -#: _kosmorro/dumper.py:144 -msgid "Note: All the hours are given in UTC." -msgstr "Opmerking: alle uren worden gegeven in UTC." - -#: _kosmorro/dumper.py:151 -msgid "Note: All the hours are given in the UTC{offset} timezone." -msgstr "Opmerking: alle uren worden gegeven in de UTC{offset} tijdzone." - -#: _kosmorro/dumper.py:205 _kosmorro/dumper.py:333 -msgid "Object" -msgstr "Object" - -#: _kosmorro/dumper.py:206 _kosmorro/dumper.py:334 -#, fuzzy -msgid "Rise time" -msgstr "Opgang tijd" - -#: _kosmorro/dumper.py:207 _kosmorro/dumper.py:336 -#, fuzzy -msgid "Culmination time" -msgstr "Culminatie tijd" - -#: _kosmorro/dumper.py:208 _kosmorro/dumper.py:338 -#, fuzzy -msgid "Set time" -msgstr "Ondergang tijd" - -#: _kosmorro/dumper.py:234 -msgid "Moon phase is unavailable for this date." -msgstr "Maanfase is niet beschikbaar voor deze datum." - -#: _kosmorro/dumper.py:238 _kosmorro/dumper.py:342 -msgid "Moon phase:" -msgstr "Maanfase:" - -#: _kosmorro/dumper.py:242 -msgid "{next_moon_phase} on {next_moon_phase_date} at {next_moon_phase_time}" -msgstr "{next_moon_phase} op {next_moon_phase_date} om {next_moon_phase_time}" - -#: _kosmorro/dumper.py:306 -msgid "Overview of your sky" -msgstr "Overzicht van uw hemel" - -#: _kosmorro/dumper.py:314 -msgid "" -"This document summarizes the ephemerides and the events of {date}. It aims " -"to help you to prepare your observation session. All the hours are given in " -"{timezone}." -msgstr "" -"Dit document vat de efemeriden en de gebeurtenissen van {date} samen. Het is " -"bedoeld om u te helpen bij het voorbereiden van uw observatiesessie. Alle " -"uren worden gegeven in {timezone}." - -#: _kosmorro/dumper.py:324 -msgid "" -"Don't forget to check the weather forecast before you go out with your " -"equipment." -msgstr "" -"Vergeet niet de weersvoorspelling te checken voordat je eropuit gaat met je " -"uitrusting." - -#: _kosmorro/dumper.py:331 -msgid "Ephemerides of the day" -msgstr "Efemeriden van de dag" - -#: _kosmorro/dumper.py:340 -msgid "hours" -msgstr "uren" - -#: _kosmorro/dumper.py:347 -msgid "Expected events" -msgstr "Verwachte events" - -#: _kosmorro/dumper.py:487 -#, fuzzy -msgid "" -"Building PDF was not possible, because some dependencies are not installed.\n" -"Please look at the documentation at https://kosmorro.space/cli/generate-pdf/ " -"for more information." -msgstr "" -"Het bouwen van pdf's was niet mogelijk, omdat sommige afhankelijkheden niet " -"zijn geïnstalleerd.\n" -"Raadpleeg de documentatie op http://kosmorro.space voor meer informatie." - -#: _kosmorro/dumper.py:540 -#, python-format -msgid "" -"An error occurred during the compilation of the PDF.\n" -"Please open an issue at https://github.com/Kosmorro/kosmorro/issues and " -"share the content of the log file at /tmp/kosmorro-%s.log" -msgstr "" -"Er is een fout opgetreden tijdens het samenstellen van de PDF.\n" -"Open a.u.b. een ticket op https://github.com/Kosmorro/kosmorro/issues and " -"share the content of the log file at /tmp/kosmorro-%s.log" - -#: _kosmorro/exceptions.py:35 -msgid "The date must be between {minimum_date} and {maximum_date}" -msgstr "De datum moet zijn tussen {minimum_date} en {maximum_date}" - -#: _kosmorro/main.py:63 +#: kosmorro/__main__.py:63 #, fuzzy msgid "" "Save the planet and paper!\n" @@ -146,7 +30,7 @@ msgstr "" "Overweeg om uw PDF-document alleen af te drukken als het echt nodig is, en " "gebruik de andere kant van het vel." -#: _kosmorro/main.py:72 +#: kosmorro/__main__.py:72 #, fuzzy msgid "" "PDF output will not contain the ephemerides, because you didn't provide the " @@ -155,28 +39,28 @@ msgstr "" "PDF-uitvoer bevat de efemeriden niet, omdat u de observatiecoördinaat niet " "hebt opgegeven." -#: _kosmorro/main.py:117 +#: kosmorro/__main__.py:117 #, fuzzy msgid "The file could not be saved in \"{path}\": {error}" msgstr "Kan de uitvoer niet opslaan in \"{path}\": {error}" -#: _kosmorro/main.py:131 +#: kosmorro/__main__.py:131 msgid "Please provide a file path to export in this format (--output)." msgstr "Geef een bestandspad op om in deze indeling te exporteren (--output)." -#: _kosmorro/main.py:164 +#: kosmorro/__main__.py:164 #, fuzzy #| msgid "Moon phase can only be displayed between {min_date} and {max_date}" msgid "Moon phase can only be computed between {min_date} and {max_date}" msgstr "Maanfase kan alleen worden weergegeven tussen {min_date} en {max_date}" -#: _kosmorro/main.py:203 +#: kosmorro/__main__.py:203 #, fuzzy msgid "" "Running on Python {python_version} with Kosmorrolib v{kosmorrolib_version}" msgstr "Draait op Python {python_version}" -#: _kosmorro/main.py:216 +#: kosmorro/__main__.py:216 msgid "" "Compute the ephemerides and the events for a given date and a given position " "on Earth." @@ -184,7 +68,7 @@ msgstr "" "Bereken de efemeriden en de gebeurtenissen voor een bepaalde datum en een " "bepaalde positie op aarde." -#: _kosmorro/main.py:219 +#: kosmorro/__main__.py:219 #, fuzzy #| msgid "" #| "By default, only the events will be computed for today ({date}).\n" @@ -198,16 +82,16 @@ msgstr "" "Om ook de efemeriden te berekenen, zijn latitude- en longitude-argumenten " "nodig." -#: _kosmorro/main.py:232 +#: kosmorro/__main__.py:232 msgid "Show the program version" msgstr "Toon de programmaversie" -#: _kosmorro/main.py:240 +#: kosmorro/__main__.py:240 #, fuzzy msgid "The format to output the information to" msgstr "Het uitvoerformaat van de informatie" -#: _kosmorro/main.py:247 +#: kosmorro/__main__.py:247 msgid "" "The observer's latitude on Earth. Can also be set in the KOSMORRO_LATITUDE " "environment variable." @@ -215,7 +99,7 @@ msgstr "" "De breedtegraad van de waarnemer op aarde. Kan ook worden ingesteld in de " "omgevingsvariabele KOSMORRO_LATITUDE." -#: _kosmorro/main.py:257 +#: kosmorro/__main__.py:257 msgid "" "The observer's longitude on Earth. Can also be set in the KOSMORRO_LONGITUDE " "environment variable." @@ -223,7 +107,7 @@ msgstr "" "De lengtegraad van de waarnemer op aarde. Kan ook worden ingesteld in de " "omgevingsvariabele KOSMORRO_LONGITUDE." -#: _kosmorro/main.py:267 +#: kosmorro/__main__.py:267 #, fuzzy #| msgid "" #| "The date for which the ephemerides must be calculated. Can be in the YYYY-" @@ -235,23 +119,23 @@ msgid "" "numbers). Defaults to current date." msgstr "" "De datum waarvoor de efemeriden berekend moeten worden. Kan de indeling JJJJ-" -"MM-DD hebben of een interval in de indeling \"[+-]YyMmDd\" (met Y-, M- en " -"D-nummers). Standaard ingesteld op vandaag ({default_date})." +"MM-DD hebben of een interval in de indeling \"[+-]YyMmDd\" (met Y-, M- en D-" +"nummers). Standaard ingesteld op vandaag ({default_date})." -#: _kosmorro/main.py:278 +#: kosmorro/__main__.py:278 msgid "" "The timezone to display the hours in (e.g. 2 for UTC+2 or -3 for UTC-3). Can " "also be set in the KOSMORRO_TIMEZONE environment variable." msgstr "" -"De tijdzone waarin de uren worden weergegeven (bijvoorbeeld 2 voor UTC+2 of -" -"3 voor UTC-3). Kan ook worden ingesteld in de omgevingsvariabele " +"De tijdzone waarin de uren worden weergegeven (bijvoorbeeld 2 voor UTC+2 of " +"-3 voor UTC-3). Kan ook worden ingesteld in de omgevingsvariabele " "KOSMORRO_TIMEZONE." -#: _kosmorro/main.py:287 +#: kosmorro/__main__.py:287 msgid "Disable the colors in the console." msgstr "Schakel de kleuren in de console uit." -#: _kosmorro/main.py:294 +#: kosmorro/__main__.py:294 msgid "" "A file to export the output to. If not given, the standard output is used. " "This argument is needed for PDF format." @@ -259,7 +143,7 @@ msgstr "" "Een bestand om de uitvoer naar te exporteren. Indien niet opgegeven, wordt " "de standaarduitvoer gebruikt. Dit argument is nodig voor het pdf-formaat." -#: _kosmorro/main.py:303 +#: kosmorro/__main__.py:303 #, fuzzy msgid "" "Do not generate a graph to represent the rise and set times in the PDF " @@ -268,125 +152,241 @@ msgstr "" "Genereer geen grafiek om de opkomst- en ondergangstijden in PDF-formaat weer " "te geven." -#: _kosmorro/main.py:311 +#: kosmorro/__main__.py:311 msgid "Show debugging messages" msgstr "Foutopsporingsberichten weergeven" -#: _kosmorro/i18n/strings.py:11 +#: kosmorro/date.py:17 +msgid "The date {date} is not valid: {error}" +msgstr "De datum {date} is niet geldig: {error}" + +#: kosmorro/date.py:39 +#, fuzzy +msgid "" +"The date {date} does not match the required YYYY-MM-DD format or the offset " +"format." +msgstr "" +"De datum {date} komt niet overeen met het vereiste JJJJ-MM-DD-formaat of het " +"offset-formaat." + +#: kosmorro/dumper.py:137 +msgid "Expected events:" +msgstr "Verwachte evenementen:" + +#: kosmorro/dumper.py:144 +msgid "Note: All the hours are given in UTC." +msgstr "Opmerking: alle uren worden gegeven in UTC." + +#: kosmorro/dumper.py:151 +msgid "Note: All the hours are given in the UTC{offset} timezone." +msgstr "Opmerking: alle uren worden gegeven in de UTC{offset} tijdzone." + +#: kosmorro/dumper.py:205 kosmorro/dumper.py:333 +msgid "Object" +msgstr "Object" + +#: kosmorro/dumper.py:206 kosmorro/dumper.py:334 +#, fuzzy +msgid "Rise time" +msgstr "Opgang tijd" + +#: kosmorro/dumper.py:207 kosmorro/dumper.py:336 +#, fuzzy +msgid "Culmination time" +msgstr "Culminatie tijd" + +#: kosmorro/dumper.py:208 kosmorro/dumper.py:338 +#, fuzzy +msgid "Set time" +msgstr "Ondergang tijd" + +#: kosmorro/dumper.py:234 +msgid "Moon phase is unavailable for this date." +msgstr "Maanfase is niet beschikbaar voor deze datum." + +#: kosmorro/dumper.py:238 kosmorro/dumper.py:342 +msgid "Moon phase:" +msgstr "Maanfase:" + +#: kosmorro/dumper.py:242 +msgid "{next_moon_phase} on {next_moon_phase_date} at {next_moon_phase_time}" +msgstr "{next_moon_phase} op {next_moon_phase_date} om {next_moon_phase_time}" + +#: kosmorro/dumper.py:306 +msgid "Overview of your sky" +msgstr "Overzicht van uw hemel" + +#: kosmorro/dumper.py:314 +msgid "" +"This document summarizes the ephemerides and the events of {date}. It aims " +"to help you to prepare your observation session. All the hours are given in " +"{timezone}." +msgstr "" +"Dit document vat de efemeriden en de gebeurtenissen van {date} samen. Het is " +"bedoeld om u te helpen bij het voorbereiden van uw observatiesessie. Alle " +"uren worden gegeven in {timezone}." + +#: kosmorro/dumper.py:324 +msgid "" +"Don't forget to check the weather forecast before you go out with your " +"equipment." +msgstr "" +"Vergeet niet de weersvoorspelling te checken voordat je eropuit gaat met je " +"uitrusting." + +#: kosmorro/dumper.py:331 +msgid "Ephemerides of the day" +msgstr "Efemeriden van de dag" + +#: kosmorro/dumper.py:340 +msgid "hours" +msgstr "uren" + +#: kosmorro/dumper.py:347 +msgid "Expected events" +msgstr "Verwachte events" + +#: kosmorro/dumper.py:487 +#, fuzzy +msgid "" +"Building PDF was not possible, because some dependencies are not installed.\n" +"Please look at the documentation at https://kosmorro.space/cli/generate-pdf/ " +"for more information." +msgstr "" +"Het bouwen van pdf's was niet mogelijk, omdat sommige afhankelijkheden niet " +"zijn geïnstalleerd.\n" +"Raadpleeg de documentatie op http://kosmorro.space voor meer informatie." + +#: kosmorro/dumper.py:540 +#, python-format +msgid "" +"An error occurred during the compilation of the PDF.\n" +"Please open an issue at https://github.com/Kosmorro/kosmorro/issues and " +"share the content of the log file at /tmp/kosmorro-%s.log" +msgstr "" +"Er is een fout opgetreden tijdens het samenstellen van de PDF.\n" +"Open a.u.b. een ticket op https://github.com/Kosmorro/kosmorro/issues and " +"share the content of the log file at /tmp/kosmorro-%s.log" + +#: kosmorro/exceptions.py:35 +msgid "The date must be between {minimum_date} and {maximum_date}" +msgstr "De datum moet zijn tussen {minimum_date} en {maximum_date}" + +#: kosmorro/i18n/strings.py:11 #, fuzzy, python-format msgid "%s is in opposition" msgstr "%s is in oppositie" -#: _kosmorro/i18n/strings.py:12 +#: kosmorro/i18n/strings.py:12 #, fuzzy, python-format msgid "%s and %s are in conjunction" msgstr "%s en %s zijn in conjunctie" -#: _kosmorro/i18n/strings.py:13 +#: kosmorro/i18n/strings.py:13 #, fuzzy, python-format msgid "%s occults %s" msgstr "%s verbergt %s" -#: _kosmorro/i18n/strings.py:15 +#: kosmorro/i18n/strings.py:15 #, fuzzy, python-format msgid "Elongation of %s is maximal" msgstr "Verlenging van %s is maximaal" -#: _kosmorro/i18n/strings.py:18 +#: kosmorro/i18n/strings.py:18 #, python-format msgid "%s is at its perigee" msgstr "%s is op zijn perigeum" -#: _kosmorro/i18n/strings.py:19 +#: kosmorro/i18n/strings.py:19 #, python-format msgid "%s is at its apogee" msgstr "%s is op zijn apogeum" -#: _kosmorro/i18n/strings.py:35 +#: kosmorro/i18n/strings.py:35 msgid "New Moon" msgstr "Nieuwe maan" -#: _kosmorro/i18n/strings.py:36 +#: kosmorro/i18n/strings.py:36 msgid "Waxing Crescent" msgstr "Jonge maansikkel" -#: _kosmorro/i18n/strings.py:37 +#: kosmorro/i18n/strings.py:37 msgid "First Quarter" msgstr "Eerste kwartier" -#: _kosmorro/i18n/strings.py:38 +#: kosmorro/i18n/strings.py:38 msgid "Waxing Gibbous" msgstr "Wassende maan" -#: _kosmorro/i18n/strings.py:39 +#: kosmorro/i18n/strings.py:39 msgid "Full Moon" msgstr "Volle maan" -#: _kosmorro/i18n/strings.py:40 +#: kosmorro/i18n/strings.py:40 msgid "Waning Gibbous" msgstr "Krimpende maan" -#: _kosmorro/i18n/strings.py:41 +#: kosmorro/i18n/strings.py:41 msgid "Last Quarter" msgstr "Laatste kwartier" -#: _kosmorro/i18n/strings.py:42 +#: kosmorro/i18n/strings.py:42 msgid "Waning Crescent" msgstr "Asgrauwe maan" -#: _kosmorro/i18n/strings.py:53 +#: kosmorro/i18n/strings.py:53 msgid "Sun" msgstr "Zon" -#: _kosmorro/i18n/strings.py:54 +#: kosmorro/i18n/strings.py:54 msgid "Moon" msgstr "Maan" -#: _kosmorro/i18n/strings.py:55 +#: kosmorro/i18n/strings.py:55 msgid "Mercury" msgstr "Mercurius" -#: _kosmorro/i18n/strings.py:56 +#: kosmorro/i18n/strings.py:56 msgid "Venus" msgstr "Venus" -#: _kosmorro/i18n/strings.py:57 +#: kosmorro/i18n/strings.py:57 msgid "Mars" msgstr "Mars" -#: _kosmorro/i18n/strings.py:58 +#: kosmorro/i18n/strings.py:58 msgid "Jupiter" msgstr "Jupiter" -#: _kosmorro/i18n/strings.py:59 +#: kosmorro/i18n/strings.py:59 msgid "Saturn" msgstr "Saturnus" -#: _kosmorro/i18n/strings.py:60 +#: kosmorro/i18n/strings.py:60 msgid "Uranus" msgstr "Uranus" -#: _kosmorro/i18n/strings.py:61 +#: kosmorro/i18n/strings.py:61 msgid "Neptune" msgstr "Neptunus" -#: _kosmorro/i18n/strings.py:62 +#: kosmorro/i18n/strings.py:62 msgid "Pluto" msgstr "Pluto" -#: _kosmorro/i18n/utils.py:27 +#: kosmorro/i18n/utils.py:27 msgid "{day_of_week} {month} {day_number}, {year}" msgstr "{day_of_week} {month} {day_number} {year}" -#: _kosmorro/i18n/utils.py:30 +#: kosmorro/i18n/utils.py:30 msgid "{month} {day_number}, {hours}:{minutes}" msgstr "{month} {day_number}, {hours}:{minutes}" -#: _kosmorro/i18n/utils.py:33 +#: kosmorro/i18n/utils.py:33 msgid "{month} {day_number}, {year}" msgstr "{month} {day_number}, {year}" -#: _kosmorro/i18n/utils.py:36 +#: kosmorro/i18n/utils.py:36 msgid "{hours}:{minutes}" msgstr "{hours}:{minutes}" diff --git a/kosmorro/locales/ru/LC_MESSAGES/messages.po b/kosmorro/locales/ru/LC_MESSAGES/messages.po index 3a0b62f..b509c7f 100644 --- a/kosmorro/locales/ru/LC_MESSAGES/messages.po +++ b/kosmorro/locales/ru/LC_MESSAGES/messages.po @@ -6,12 +6,12 @@ msgid "" msgstr "" "Project-Id-Version: kosmorro 0.9.0\n" -"Report-Msgid-Bugs-To: jerome@deuchnord.fr\n" -"POT-Creation-Date: 2022-03-07 16:45+0100\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2022-03-19 13:28+0100\n" "PO-Revision-Date: 2022-03-19 17:51+0000\n" "Last-Translator: Anonymous \n" -"Language-Team: Russian " -"\n" +"Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -21,62 +21,158 @@ msgstr "" "X-Generator: Weblate 4.12-dev\n" "Generated-By: Babel 2.9.0\n" -#: _kosmorro/date.py:17 +#: kosmorro/__main__.py:63 +msgid "" +"Save the planet and paper!\n" +"Consider printing your PDF document only if really necessary, and use the " +"other side of the sheet." +msgstr "" + +#: kosmorro/__main__.py:72 +msgid "" +"PDF output will not contain the ephemerides, because you didn't provide the " +"observation coordinates." +msgstr "" + +#: kosmorro/__main__.py:117 +msgid "The file could not be saved in \"{path}\": {error}" +msgstr "" + +#: kosmorro/__main__.py:131 +msgid "Please provide a file path to export in this format (--output)." +msgstr "" + +#: kosmorro/__main__.py:164 +msgid "Moon phase can only be computed between {min_date} and {max_date}" +msgstr "" + +#: kosmorro/__main__.py:203 +#, fuzzy +msgid "" +"Running on Python {python_version} with Kosmorrolib v{kosmorrolib_version}" +msgstr "Работают под Python {python_version}" + +#: kosmorro/__main__.py:216 +msgid "" +"Compute the ephemerides and the events for a given date and a given position " +"on Earth." +msgstr "" + +#: kosmorro/__main__.py:219 +msgid "" +"By default, only the events will be computed for today.\n" +"To compute also the ephemerides, latitude and longitude arguments are needed." +msgstr "" + +#: kosmorro/__main__.py:232 +msgid "Show the program version" +msgstr "Показать версия программы" + +#: kosmorro/__main__.py:240 +msgid "The format to output the information to" +msgstr "" + +#: kosmorro/__main__.py:247 +msgid "" +"The observer's latitude on Earth. Can also be set in the KOSMORRO_LATITUDE " +"environment variable." +msgstr "" + +#: kosmorro/__main__.py:257 +msgid "" +"The observer's longitude on Earth. Can also be set in the KOSMORRO_LONGITUDE " +"environment variable." +msgstr "" + +#: kosmorro/__main__.py:267 +msgid "" +"The date for which the ephemerides must be calculated. Can be in the YYYY-MM-" +"DD format or an interval in the \"[+-]YyMmDd\" format (with Y, M, and D " +"numbers). Defaults to current date." +msgstr "" + +#: kosmorro/__main__.py:278 +msgid "" +"The timezone to display the hours in (e.g. 2 for UTC+2 or -3 for UTC-3). Can " +"also be set in the KOSMORRO_TIMEZONE environment variable." +msgstr "" + +#: kosmorro/__main__.py:287 +msgid "Disable the colors in the console." +msgstr "" + +#: kosmorro/__main__.py:294 +msgid "" +"A file to export the output to. If not given, the standard output is used. " +"This argument is needed for PDF format." +msgstr "" + +#: kosmorro/__main__.py:303 +msgid "" +"Do not generate a graph to represent the rise and set times in the PDF " +"format." +msgstr "" + +#: kosmorro/__main__.py:311 +msgid "Show debugging messages" +msgstr "" + +#: kosmorro/date.py:17 msgid "The date {date} is not valid: {error}" msgstr "Дата {date} - неправильно" -#: _kosmorro/date.py:39 +#: kosmorro/date.py:39 #, fuzzy msgid "" "The date {date} does not match the required YYYY-MM-DD format or the offset " "format." msgstr "Дата {date} не соответствовать требуемому формату YYYY-MM-DD или ???" -#: _kosmorro/dumper.py:137 +#: kosmorro/dumper.py:137 msgid "Expected events:" msgstr "Ожидаемые события:" -#: _kosmorro/dumper.py:144 +#: kosmorro/dumper.py:144 msgid "Note: All the hours are given in UTC." msgstr "Примечание: все время указано в формате UTC." -#: _kosmorro/dumper.py:151 +#: kosmorro/dumper.py:151 msgid "Note: All the hours are given in the UTC{offset} timezone." msgstr "Примечание: все часы указаны по UTC{offset} времени." -#: _kosmorro/dumper.py:205 _kosmorro/dumper.py:333 +#: kosmorro/dumper.py:205 kosmorro/dumper.py:333 msgid "Object" msgstr "Объект" -#: _kosmorro/dumper.py:206 _kosmorro/dumper.py:334 +#: kosmorro/dumper.py:206 kosmorro/dumper.py:334 msgid "Rise time" msgstr "" -#: _kosmorro/dumper.py:207 _kosmorro/dumper.py:336 +#: kosmorro/dumper.py:207 kosmorro/dumper.py:336 msgid "Culmination time" msgstr "Кульминация момент" -#: _kosmorro/dumper.py:208 _kosmorro/dumper.py:338 +#: kosmorro/dumper.py:208 kosmorro/dumper.py:338 msgid "Set time" msgstr "" -#: _kosmorro/dumper.py:234 +#: kosmorro/dumper.py:234 msgid "Moon phase is unavailable for this date." msgstr "" -#: _kosmorro/dumper.py:238 _kosmorro/dumper.py:342 +#: kosmorro/dumper.py:238 kosmorro/dumper.py:342 msgid "Moon phase:" msgstr "" -#: _kosmorro/dumper.py:242 +#: kosmorro/dumper.py:242 msgid "{next_moon_phase} on {next_moon_phase_date} at {next_moon_phase_time}" msgstr "{next_moon_phase} в {next_moon_phase_date} в {next_moon_phase_time}" -#: _kosmorro/dumper.py:306 +#: kosmorro/dumper.py:306 msgid "Overview of your sky" msgstr "" -#: _kosmorro/dumper.py:314 +#: kosmorro/dumper.py:314 msgid "" "This document summarizes the ephemerides and the events of {date}. It aims " "to help you to prepare your observation session. All the hours are given in " @@ -85,32 +181,32 @@ msgstr "" "Этот документ резюмирует эфемериды и события {date}. Это поможет вам " "подготовиться к сеансу наблюдения. Все часы указаны по {timezone}." -#: _kosmorro/dumper.py:324 +#: kosmorro/dumper.py:324 msgid "" "Don't forget to check the weather forecast before you go out with your " "equipment." msgstr "" -#: _kosmorro/dumper.py:331 +#: kosmorro/dumper.py:331 msgid "Ephemerides of the day" msgstr "" -#: _kosmorro/dumper.py:340 +#: kosmorro/dumper.py:340 msgid "hours" msgstr "" -#: _kosmorro/dumper.py:347 +#: kosmorro/dumper.py:347 msgid "Expected events" msgstr "" -#: _kosmorro/dumper.py:487 +#: kosmorro/dumper.py:487 msgid "" "Building PDF was not possible, because some dependencies are not installed.\n" "Please look at the documentation at https://kosmorro.space/cli/generate-pdf/ " "for more information." msgstr "" -#: _kosmorro/dumper.py:540 +#: kosmorro/dumper.py:540 #, python-format msgid "" "An error occurred during the compilation of the PDF.\n" @@ -118,221 +214,125 @@ msgid "" "share the content of the log file at /tmp/kosmorro-%s.log" msgstr "" -#: _kosmorro/exceptions.py:35 +#: kosmorro/exceptions.py:35 msgid "The date must be between {minimum_date} and {maximum_date}" msgstr "" -#: _kosmorro/main.py:63 -msgid "" -"Save the planet and paper!\n" -"Consider printing your PDF document only if really necessary, and use the " -"other side of the sheet." -msgstr "" - -#: _kosmorro/main.py:72 -msgid "" -"PDF output will not contain the ephemerides, because you didn't provide the " -"observation coordinates." -msgstr "" - -#: _kosmorro/main.py:117 -msgid "The file could not be saved in \"{path}\": {error}" -msgstr "" - -#: _kosmorro/main.py:131 -msgid "Please provide a file path to export in this format (--output)." -msgstr "" - -#: _kosmorro/main.py:164 -msgid "Moon phase can only be computed between {min_date} and {max_date}" -msgstr "" - -#: _kosmorro/main.py:203 -#, fuzzy -msgid "" -"Running on Python {python_version} with Kosmorrolib v{kosmorrolib_version}" -msgstr "Работают под Python {python_version}" - -#: _kosmorro/main.py:216 -msgid "" -"Compute the ephemerides and the events for a given date and a given position " -"on Earth." -msgstr "" - -#: _kosmorro/main.py:219 -msgid "" -"By default, only the events will be computed for today.\n" -"To compute also the ephemerides, latitude and longitude arguments are needed." -msgstr "" - -#: _kosmorro/main.py:232 -msgid "Show the program version" -msgstr "Показать версия программы" - -#: _kosmorro/main.py:240 -msgid "The format to output the information to" -msgstr "" - -#: _kosmorro/main.py:247 -msgid "" -"The observer's latitude on Earth. Can also be set in the KOSMORRO_LATITUDE " -"environment variable." -msgstr "" - -#: _kosmorro/main.py:257 -msgid "" -"The observer's longitude on Earth. Can also be set in the KOSMORRO_LONGITUDE " -"environment variable." -msgstr "" - -#: _kosmorro/main.py:267 -msgid "" -"The date for which the ephemerides must be calculated. Can be in the YYYY-MM-" -"DD format or an interval in the \"[+-]YyMmDd\" format (with Y, M, and D " -"numbers). Defaults to current date." -msgstr "" - -#: _kosmorro/main.py:278 -msgid "" -"The timezone to display the hours in (e.g. 2 for UTC+2 or -3 for UTC-3). Can " -"also be set in the KOSMORRO_TIMEZONE environment variable." -msgstr "" - -#: _kosmorro/main.py:287 -msgid "Disable the colors in the console." -msgstr "" - -#: _kosmorro/main.py:294 -msgid "" -"A file to export the output to. If not given, the standard output is used. " -"This argument is needed for PDF format." -msgstr "" - -#: _kosmorro/main.py:303 -msgid "" -"Do not generate a graph to represent the rise and set times in the PDF " -"format." -msgstr "" - -#: _kosmorro/main.py:311 -msgid "Show debugging messages" -msgstr "" - -#: _kosmorro/i18n/strings.py:11 +#: kosmorro/i18n/strings.py:11 #, python-format msgid "%s is in opposition" msgstr "" -#: _kosmorro/i18n/strings.py:12 +#: kosmorro/i18n/strings.py:12 #, python-format msgid "%s and %s are in conjunction" msgstr "" -#: _kosmorro/i18n/strings.py:13 +#: kosmorro/i18n/strings.py:13 #, python-format msgid "%s occults %s" msgstr "" -#: _kosmorro/i18n/strings.py:15 +#: kosmorro/i18n/strings.py:15 #, python-format msgid "Elongation of %s is maximal" msgstr "" -#: _kosmorro/i18n/strings.py:18 +#: kosmorro/i18n/strings.py:18 #, python-format msgid "%s is at its perigee" msgstr "" -#: _kosmorro/i18n/strings.py:19 +#: kosmorro/i18n/strings.py:19 #, python-format msgid "%s is at its apogee" msgstr "" -#: _kosmorro/i18n/strings.py:35 +#: kosmorro/i18n/strings.py:35 msgid "New Moon" msgstr "Новолуние" -#: _kosmorro/i18n/strings.py:36 +#: kosmorro/i18n/strings.py:36 msgid "Waxing Crescent" msgstr "Молодая луна" -#: _kosmorro/i18n/strings.py:37 +#: kosmorro/i18n/strings.py:37 msgid "First Quarter" msgstr "Первая четверть" -#: _kosmorro/i18n/strings.py:38 +#: kosmorro/i18n/strings.py:38 msgid "Waxing Gibbous" msgstr "Прибывающая луна" -#: _kosmorro/i18n/strings.py:39 +#: kosmorro/i18n/strings.py:39 msgid "Full Moon" msgstr "Полнолуние" -#: _kosmorro/i18n/strings.py:40 +#: kosmorro/i18n/strings.py:40 msgid "Waning Gibbous" msgstr "Убывающая луна" -#: _kosmorro/i18n/strings.py:41 +#: kosmorro/i18n/strings.py:41 msgid "Last Quarter" msgstr "Последняя четверть" -#: _kosmorro/i18n/strings.py:42 +#: kosmorro/i18n/strings.py:42 msgid "Waning Crescent" msgstr "Старая луна" -#: _kosmorro/i18n/strings.py:53 +#: kosmorro/i18n/strings.py:53 msgid "Sun" msgstr "Солнце" -#: _kosmorro/i18n/strings.py:54 +#: kosmorro/i18n/strings.py:54 msgid "Moon" msgstr "Луна" -#: _kosmorro/i18n/strings.py:55 +#: kosmorro/i18n/strings.py:55 msgid "Mercury" msgstr "Меркурий" -#: _kosmorro/i18n/strings.py:56 +#: kosmorro/i18n/strings.py:56 msgid "Venus" msgstr "Венера" -#: _kosmorro/i18n/strings.py:57 +#: kosmorro/i18n/strings.py:57 msgid "Mars" msgstr "Марс" -#: _kosmorro/i18n/strings.py:58 +#: kosmorro/i18n/strings.py:58 msgid "Jupiter" msgstr "Юпитер" -#: _kosmorro/i18n/strings.py:59 +#: kosmorro/i18n/strings.py:59 msgid "Saturn" msgstr "Сатурн" -#: _kosmorro/i18n/strings.py:60 +#: kosmorro/i18n/strings.py:60 msgid "Uranus" msgstr "Уран" -#: _kosmorro/i18n/strings.py:61 +#: kosmorro/i18n/strings.py:61 msgid "Neptune" msgstr "Нептун" -#: _kosmorro/i18n/strings.py:62 +#: kosmorro/i18n/strings.py:62 msgid "Pluto" msgstr "Плутон" -#: _kosmorro/i18n/utils.py:27 +#: kosmorro/i18n/utils.py:27 msgid "{day_of_week} {month} {day_number}, {year}" msgstr "{day_of_week}, {day_number} {month} {year} г." -#: _kosmorro/i18n/utils.py:30 +#: kosmorro/i18n/utils.py:30 msgid "{month} {day_number}, {hours}:{minutes}" msgstr "{month} {day_number}, {hours}:{minutes}" -#: _kosmorro/i18n/utils.py:33 +#: kosmorro/i18n/utils.py:33 msgid "{month} {day_number}, {year}" msgstr "{month} {day_number}, {year}" -#: _kosmorro/i18n/utils.py:36 +#: kosmorro/i18n/utils.py:36 msgid "{hours}:{minutes}" msgstr "{hours}:{minutes}" From c7a268dea69a3c1980285ca3230a43e440bf4cb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Sun, 20 Mar 2022 10:24:06 +0100 Subject: [PATCH 37/55] build: update release workflow --- .github/workflows/release.yml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c4eb355..e7365fc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,25 +10,23 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: Set up Python uses: actions/setup-python@v2 with: python-version: '3.x' - - name: Setup environment - run: | - sudo apt update - sudo apt install ruby - sudo gem install ronn - - name: Install dependencies + + - name: Prepare environment run: | - python -m pip install --upgrade pip pipenv setuptools wheel twine - pipenv install + python -m pip install --upgrade pip poetry + - name: Build package run: | + poetry install make i18n build + - name: Publish to PyPI env: - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_PASSWORD }} run: | - twine upload dist/* + poetry publish From 12dc58fcb2e18364840bbc8ae54ce5ecf5f0294d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Sun, 20 Mar 2022 10:30:48 +0100 Subject: [PATCH 38/55] build: bump version 0.10.10 --- CHANGELOG.md | 21 +++++++++++++++++++++ kosmorro/__version__.py | 26 -------------------------- pyproject.toml | 2 +- 3 files changed, 22 insertions(+), 27 deletions(-) delete mode 100644 kosmorro/__version__.py diff --git a/CHANGELOG.md b/CHANGELOG.md index 074f895..eecc5db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,24 @@ +# [Version 0.10.10](https://github.com/Kosmorro/kosmorro/compare/v0.10.9...v0.10.10) (2022-03-20) + + +### Bug Fixes + +* use Babel to translate the dates ([9268113](https://github.com/Kosmorro/kosmorro/commit/92681131062eb0a93e901a5598353e36d9fc590f)) +* **events:** ignore unsupported event types ([9bfa8f5](https://github.com/Kosmorro/kosmorro/commit/9bfa8f503d4b46f91777d0b99fbc84f2a116a340)) + + +### Features + +* **i18n:** delete pseudo-translation ([b2535ab](https://github.com/Kosmorro/kosmorro/commit/b2535abd4aa03e700e5e482f8c5cf7af050eac29)) + + +### BREAKING CHANGES + +* Docker support has been removed. + If you were using it, please migrate to [one of the other available options](https://kosmorro.space/cli/download/). + + + # [Version 0.10.9](https://github.com/Kosmorro/kosmorro/compare/v0.10.7...v0.10.9) (2022-01-12) diff --git a/kosmorro/__version__.py b/kosmorro/__version__.py deleted file mode 100644 index 6b7b4c8..0000000 --- a/kosmorro/__version__.py +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env python3 - -# Kosmorro - Compute The Next Ephemerides -# Copyright (C) 2019 Jérôme Deuchnord -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . - -__title__ = "kosmorro" -__description__ = "A program that computes your ephemerides" -__url__ = "https://kosmorro.space" -__version__ = "0.10.9" -__author__ = "Jérôme Deuchnord" -__author_email__ = "jerome@deuchnord.fr" -__license__ = "AGPL" -__copyright__ = "Copyright 2021 Jérôme Deuchnord" diff --git a/pyproject.toml b/pyproject.toml index da5f284..3a25a9a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "kosmorro" -version = "0.10.9" +version = "0.10.10" description = "A program to compute the ephemerides." authors = ["Jérôme Deuchnord "] license = "AGPL-3.0-or-later" From ea428c88776fc0e2957982d05860a9fb9f126f08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Sun, 20 Mar 2022 10:43:53 +0100 Subject: [PATCH 39/55] fix: use importlib.metadata to get versions --- Makefile | 2 +- kosmorro/__main__.py | 8 +++----- kosmorro/dumper.py | 6 +++--- kosmorro/locales/messages.pot | 38 +++++++++++++++++------------------ kosmorro/utils.py | 8 ++++++++ poetry.lock | 14 ++++++------- pyproject.toml | 1 + 7 files changed, 42 insertions(+), 35 deletions(-) diff --git a/Makefile b/Makefile index c371814..d3480fa 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ black: - poetry run black kosmorro tests setup.py + poetry run black kosmorro tests .PHONY: tests tests: diff --git a/kosmorro/__main__.py b/kosmorro/__main__.py index 70ed03b..29863e7 100644 --- a/kosmorro/__main__.py +++ b/kosmorro/__main__.py @@ -21,14 +21,12 @@ import sys from babel.dates import format_date from kosmorrolib import Position, get_ephemerides, get_events, get_moon_phase -from kosmorrolib.__version__ import __version__ as kosmorrolib_version from kosmorrolib.exceptions import OutOfRangeDateError from datetime import date from . import dumper, environment, debug from .date import parse_date -from .utils import colored, set_colors_activated -from .__version__ import __version__ as kosmorro_version +from .utils import KOSMORRO_VERSION, KOSMORROLIB_VERSION, colored, set_colors_activated from .exceptions import UnavailableFeatureError, OutOfRangeDateError as DateRangeError from kosmorro.i18n.utils import _ @@ -198,12 +196,12 @@ def output_version() -> bool: sys.version_info[1], sys.version_info[2], ) - print("Kosmorro %s" % kosmorro_version) + print("Kosmorro %s" % KOSMORRO_VERSION) print( _( "Running on Python {python_version} " "with Kosmorrolib v{kosmorrolib_version}" - ).format(python_version=python_version, kosmorrolib_version=kosmorrolib_version) + ).format(python_version=python_version, kosmorrolib_version=KOSMORROLIB_VERSION) ) return True diff --git a/kosmorro/dumper.py b/kosmorro/dumper.py index 6758501..844bf99 100644 --- a/kosmorro/dumper.py +++ b/kosmorro/dumper.py @@ -32,14 +32,14 @@ from termcolor import colored from kosmorrolib import AsterEphemerides, Event, EventType from kosmorrolib.model import ASTERS, MoonPhase -from .i18n.utils import _, FULL_DATE_FORMAT, SHORT_DATETIME_FORMAT, TIME_FORMAT +from .i18n.utils import _ from .i18n import strings -from .__version__ import __version__ as version from .exceptions import ( CompileError, UnavailableFeatureError as KosmorroUnavailableFeatureError, ) from .debug import debug_print +from .utils import KOSMORRO_VERSION class Dumper(ABC): @@ -301,7 +301,7 @@ class _LatexDumper(Dumper): def add_strings( self, document: str, kosmorro_logo_path: str, moon_phase_graphics: str ) -> str: - document = document.replace("+++KOSMORRO-VERSION+++", version) + document = document.replace("+++KOSMORRO-VERSION+++", KOSMORRO_VERSION) document = document.replace("+++KOSMORRO-LOGO+++", kosmorro_logo_path) document = document.replace("+++DOCUMENT-TITLE+++", _("Overview of your sky")) document = document.replace( diff --git a/kosmorro/locales/messages.pot b/kosmorro/locales/messages.pot index bf05028..7814bb9 100644 --- a/kosmorro/locales/messages.pot +++ b/kosmorro/locales/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-03-19 13:28+0100\n" +"POT-Creation-Date: 2022-03-20 11:00+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,98 +17,98 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.9.1\n" -#: kosmorro/__main__.py:63 +#: kosmorro/__main__.py:61 msgid "" "Save the planet and paper!\n" "Consider printing your PDF document only if really necessary, and use the" " other side of the sheet." msgstr "" -#: kosmorro/__main__.py:72 +#: kosmorro/__main__.py:70 msgid "" "PDF output will not contain the ephemerides, because you didn't provide " "the observation coordinates." msgstr "" -#: kosmorro/__main__.py:117 +#: kosmorro/__main__.py:115 msgid "The file could not be saved in \"{path}\": {error}" msgstr "" -#: kosmorro/__main__.py:131 +#: kosmorro/__main__.py:129 msgid "Please provide a file path to export in this format (--output)." msgstr "" -#: kosmorro/__main__.py:164 +#: kosmorro/__main__.py:162 msgid "Moon phase can only be computed between {min_date} and {max_date}" msgstr "" -#: kosmorro/__main__.py:203 +#: kosmorro/__main__.py:201 msgid "Running on Python {python_version} with Kosmorrolib v{kosmorrolib_version}" msgstr "" -#: kosmorro/__main__.py:216 +#: kosmorro/__main__.py:214 msgid "" "Compute the ephemerides and the events for a given date and a given " "position on Earth." msgstr "" -#: kosmorro/__main__.py:219 +#: kosmorro/__main__.py:217 msgid "" "By default, only the events will be computed for today.\n" "To compute also the ephemerides, latitude and longitude arguments are " "needed." msgstr "" -#: kosmorro/__main__.py:232 +#: kosmorro/__main__.py:230 msgid "Show the program version" msgstr "" -#: kosmorro/__main__.py:240 +#: kosmorro/__main__.py:238 msgid "The format to output the information to" msgstr "" -#: kosmorro/__main__.py:247 +#: kosmorro/__main__.py:245 msgid "" "The observer's latitude on Earth. Can also be set in the " "KOSMORRO_LATITUDE environment variable." msgstr "" -#: kosmorro/__main__.py:257 +#: kosmorro/__main__.py:255 msgid "" "The observer's longitude on Earth. Can also be set in the " "KOSMORRO_LONGITUDE environment variable." msgstr "" -#: kosmorro/__main__.py:267 +#: kosmorro/__main__.py:265 msgid "" "The date for which the ephemerides must be calculated. Can be in the " "YYYY-MM-DD format or an interval in the \"[+-]YyMmDd\" format (with Y, M," " and D numbers). Defaults to current date." msgstr "" -#: kosmorro/__main__.py:278 +#: kosmorro/__main__.py:276 msgid "" "The timezone to display the hours in (e.g. 2 for UTC+2 or -3 for UTC-3). " "Can also be set in the KOSMORRO_TIMEZONE environment variable." msgstr "" -#: kosmorro/__main__.py:287 +#: kosmorro/__main__.py:285 msgid "Disable the colors in the console." msgstr "" -#: kosmorro/__main__.py:294 +#: kosmorro/__main__.py:292 msgid "" "A file to export the output to. If not given, the standard output is " "used. This argument is needed for PDF format." msgstr "" -#: kosmorro/__main__.py:303 +#: kosmorro/__main__.py:301 msgid "" "Do not generate a graph to represent the rise and set times in the PDF " "format." msgstr "" -#: kosmorro/__main__.py:311 +#: kosmorro/__main__.py:309 msgid "Show debugging messages" msgstr "" diff --git a/kosmorro/utils.py b/kosmorro/utils.py index 4ee8da8..2d42e82 100644 --- a/kosmorro/utils.py +++ b/kosmorro/utils.py @@ -2,6 +2,14 @@ from termcolor import colored as do_color +try: + from importlib.metadata import version +except ImportError: + from importlib_metadata import version + +KOSMORRO_VERSION = version("kosmorro") +KOSMORROLIB_VERSION = version("kosmorrolib") + global _COLORS_ACTIVATED diff --git a/poetry.lock b/poetry.lock index 9f4b9c6..46bda78 100644 --- a/poetry.lock +++ b/poetry.lock @@ -98,7 +98,7 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" name = "importlib-metadata" version = "4.11.3" description = "Read metadata from Python packages" -category = "dev" +category = "main" optional = false python-versions = ">=3.7" @@ -259,7 +259,7 @@ six = ">=1.5" [[package]] name = "pytz" -version = "2021.3" +version = "2022.1" description = "World timezone definitions, modern and historical" category = "main" optional = false @@ -346,7 +346,7 @@ python-versions = ">=3.6" name = "typing-extensions" version = "4.1.1" description = "Backported and Experimental Type Hints for Python 3.6+" -category = "dev" +category = "main" optional = false python-versions = ">=3.6" @@ -354,7 +354,7 @@ python-versions = ">=3.6" name = "zipp" version = "3.7.0" description = "Backport of pathlib-compatible object wrapper for zip files" -category = "dev" +category = "main" optional = false python-versions = ">=3.7" @@ -365,7 +365,7 @@ testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest- [metadata] lock-version = "1.1" python-versions = ">=3.7,<3.11" -content-hash = "4c2045cb19d088e3205728efd723e8255ded94f211f21ca7f64aea90c05fe3ad" +content-hash = "4973cb3aa5b8437ba3e2cd3c9daee2a168e242b534b6aa9b039b79af7dd2e270" [metadata.files] atomicwrites = [ @@ -484,8 +484,8 @@ python-dateutil = [ {file = "python_dateutil-2.8.2-py2.py3-none-any.whl", hash = "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"}, ] pytz = [ - {file = "pytz-2021.3-py2.py3-none-any.whl", hash = "sha256:3672058bc3453457b622aab7a1c3bfd5ab0bdae451512f6cf25f64ed37f5b87c"}, - {file = "pytz-2021.3.tar.gz", hash = "sha256:acad2d8b20a1af07d4e4c9d2e9285c5ed9104354062f275f3fcd88dcef4f1326"}, + {file = "pytz-2022.1-py2.py3-none-any.whl", hash = "sha256:e68985985296d9a66a881eb3193b0906246245294a881e7c8afe623866ac6a5c"}, + {file = "pytz-2022.1.tar.gz", hash = "sha256:1e760e2fe6a8163bc0b3d9a19c4f84342afa0a2affebfaa84b01b978a02ecaa7"}, ] sgp4 = [ {file = "sgp4-2.20-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:b2169cd536355fc67e3870acea34c4fc22b2ccecab2c0bf45a01edfe646fe3d0"}, diff --git a/pyproject.toml b/pyproject.toml index 3a25a9a..5aa1eae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,6 +21,7 @@ termcolor = "^1.1" kosmorrolib = "^1.0" python-dateutil = "^2.8" Babel = "^2.9" +importlib-metadata = "^4.11" [tool.poetry.dev-dependencies] black = "^21.12b0" From 6aea5b60ba6df9ecb79f0bd421b7ee3a42edf3f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Sun, 20 Mar 2022 11:25:10 +0100 Subject: [PATCH 40/55] fix: build does not need manpage anymore --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d3480fa..b2e1c15 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ tests: LANG=C python3 -m poetry run pytest tests/*.py .PHONY: build -build: manpage +build: poetry build .PHONY: manpage From 65c72ab533a2630b840307216cb0ac7c4460613a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Sun, 20 Mar 2022 13:38:47 +0100 Subject: [PATCH 41/55] chore: add all-contributors bot --- .all-contributorsrc | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .all-contributorsrc diff --git a/.all-contributorsrc b/.all-contributorsrc new file mode 100644 index 0000000..67ace76 --- /dev/null +++ b/.all-contributorsrc @@ -0,0 +1,8 @@ +{ + "files": [ + "CONTRIBUTORS.md" + ], + "contributorsPerLine": 5, + "contributorsSortAlphabetically": true, + "contributors": [] +} From a1e579e2523b2659df59dfab703bcd49d17de3fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Sun, 20 Mar 2022 13:47:55 +0100 Subject: [PATCH 42/55] docs: add @Deuchnord as a contributor --- .all-contributorsrc | 28 ++++++++++++++++++++++------ CONTRIBUTORS.md | 23 +++++++++++++++++++++++ 2 files changed, 45 insertions(+), 6 deletions(-) create mode 100644 CONTRIBUTORS.md diff --git a/.all-contributorsrc b/.all-contributorsrc index 67ace76..1b4a5c2 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -1,8 +1,24 @@ { - "files": [ - "CONTRIBUTORS.md" - ], - "contributorsPerLine": 5, - "contributorsSortAlphabetically": true, - "contributors": [] + "projectName": "kosmorro", + "projectOwner": "Jérôme Deuchnord", + "repoType": "github", + "repoHost": "https://github.com", + "files": [ + "CONTRIBUTORS.md" + ], + "imageSize": 100, + "commit": true, + "commitConvention": "angular", + "contributors": [ + { + "login": "Deuchnord", + "name": "Jérôme Deuchnord", + "avatar_url": "https://avatars.githubusercontent.com/u/7600265?v=4", + "profile": "https://deuchnord.fr/", + "contributions": [ + "code" + ] + } + ], + "contributorsPerLine": 7 } diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md new file mode 100644 index 0000000..eaab3e9 --- /dev/null +++ b/CONTRIBUTORS.md @@ -0,0 +1,23 @@ + + +[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors-) + +## Contributors ✨ + +Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)): + + + + + + + + +

Jérôme Deuchnord

💻
+ + + + + + +This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! From f88be3b685f67992dd142edc6ab94f52f3a0cae3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Sun, 20 Mar 2022 13:48:02 +0100 Subject: [PATCH 43/55] docs: add @Brainface1 as a contributor --- .all-contributorsrc | 9 +++++++++ CONTRIBUTORS.md | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index 1b4a5c2..896077e 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -18,6 +18,15 @@ "contributions": [ "code" ] + }, + { + "login": "Brainface1", + "name": "brain_face", + "avatar_url": "https://avatars.githubusercontent.com/u/40472418?v=4", + "profile": "https://github.com/Brainface1", + "contributions": [ + "code" + ] } ], "contributorsPerLine": 7 diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index eaab3e9..ea2f21d 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,6 +1,6 @@ -[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors-) +[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-) ## Contributors ✨ @@ -12,6 +12,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d +

Jérôme Deuchnord

💻

brain_face

💻
From 9424ec389c14e9baa75593047c0f15cbba1e2120 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Sun, 20 Mar 2022 13:48:23 +0100 Subject: [PATCH 44/55] docs: add @Damgermys as a contributor --- .all-contributorsrc | 9 +++++++++ CONTRIBUTORS.md | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index 896077e..4cf5764 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -27,6 +27,15 @@ "contributions": [ "code" ] + }, + { + "login": "Damgermys", + "name": "Damgermys", + "avatar_url": "https://avatars.githubusercontent.com/u/82285874?v=4", + "profile": "https://github.com/Damgermys", + "contributions": [ + "translation" + ] } ], "contributorsPerLine": 7 diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index ea2f21d..7479781 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,6 +1,6 @@ -[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-) +[![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors-) ## Contributors ✨ @@ -13,6 +13,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
Jérôme Deuchnord

💻
brain_face

💻 +
Damgermys

🌍 From 8ff0b31466632d4c949e48d64c619c8a5523e94d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Sun, 20 Mar 2022 13:49:39 +0100 Subject: [PATCH 45/55] docs: add @nicfb as a contributor --- .all-contributorsrc | 9 +++++++++ CONTRIBUTORS.md | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index 4cf5764..6a116f3 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -36,6 +36,15 @@ "contributions": [ "translation" ] + }, + { + "login": "nicfb", + "name": "Nic", + "avatar_url": "https://avatars.githubusercontent.com/u/19811100?v=4", + "profile": "https://github.com/nicfb", + "contributions": [ + "code" + ] } ], "contributorsPerLine": 7 diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 7479781..2255a3f 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,6 +1,6 @@ -[![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors-) +[![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#contributors-) ## Contributors ✨ @@ -14,6 +14,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
Jérôme Deuchnord

💻
brain_face

💻
Damgermys

🌍 +
Nic

💻 From eafd56c69844303764188f85239a406a2b0703d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Sun, 20 Mar 2022 13:50:09 +0100 Subject: [PATCH 46/55] docs: add @comradekingu as a contributor --- .all-contributorsrc | 9 +++++++++ CONTRIBUTORS.md | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index 6a116f3..410cead 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -45,6 +45,15 @@ "contributions": [ "code" ] + }, + { + "login": "comradekingu", + "name": "Allan Nordhøy", + "avatar_url": "https://avatars.githubusercontent.com/u/13802408?v=4", + "profile": "https://liberapay.com/kingu/", + "contributions": [ + "translation" + ] } ], "contributorsPerLine": 7 diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 2255a3f..db0ab26 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,6 +1,6 @@ -[![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#contributors-) +[![All Contributors](https://img.shields.io/badge/all_contributors-5-orange.svg?style=flat-square)](#contributors-) ## Contributors ✨ @@ -15,6 +15,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
brain_face

💻
Damgermys

🌍
Nic

💻 +
Allan Nordhøy

🌍 From 167d2cab73e7fb44647541449642ebbfb41c3e79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Sun, 20 Mar 2022 13:55:59 +0100 Subject: [PATCH 47/55] docs: add @AmauryCarrade as a contributor --- .all-contributorsrc | 9 +++++++++ CONTRIBUTORS.md | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index 410cead..f2f2c98 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -54,6 +54,15 @@ "contributions": [ "translation" ] + }, + { + "login": "AmauryCarrade", + "name": "Amaury Carrade", + "avatar_url": "https://avatars.githubusercontent.com/u/1417570?v=4", + "profile": "https://amaury.carrade.eu/", + "contributions": [ + "translation" + ] } ], "contributorsPerLine": 7 diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index db0ab26..11ee1e2 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,6 +1,6 @@ -[![All Contributors](https://img.shields.io/badge/all_contributors-5-orange.svg?style=flat-square)](#contributors-) +[![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=flat-square)](#contributors-) ## Contributors ✨ @@ -16,6 +16,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
Damgermys

🌍
Nic

💻
Allan Nordhøy

🌍 +
Amaury Carrade

🌍 From 477351656fc20ce892ad052f5a9fee92e93898b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Sun, 20 Mar 2022 13:56:56 +0100 Subject: [PATCH 48/55] docs: add @StaloneLab as a contributor --- .all-contributorsrc | 9 +++++++++ CONTRIBUTORS.md | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index f2f2c98..130718c 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -63,6 +63,15 @@ "contributions": [ "translation" ] + }, + { + "login": "StaloneLab", + "name": "Titouan S.", + "avatar_url": "https://avatars.githubusercontent.com/u/6739422?v=4", + "profile": "https://github.com/StaloneLab", + "contributions": [ + "translation" + ] } ], "contributorsPerLine": 7 diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 11ee1e2..875ddce 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,6 +1,6 @@ -[![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=flat-square)](#contributors-) +[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors-) ## Contributors ✨ @@ -17,6 +17,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
Nic

💻
Allan Nordhøy

🌍
Amaury Carrade

🌍 +
Titouan S.

🌍 From c87fa95bf77471e023adf0eeabc5e19a60c88762 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Sun, 20 Mar 2022 13:58:14 +0100 Subject: [PATCH 49/55] chore: sort contributors alphabetically --- .all-contributorsrc | 1 + CONTRIBUTORS.md | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index 130718c..794019f 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -9,6 +9,7 @@ "imageSize": 100, "commit": true, "commitConvention": "angular", + "contributorsSortAlphabetically": true, "contributors": [ { "login": "Deuchnord", diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 875ddce..85abfb2 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -11,13 +11,13 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d - - - - + + + +

Jérôme Deuchnord

💻

brain_face

💻

Damgermys

🌍

Nic

💻

Allan Nordhøy

🌍

Amaury Carrade

🌍

Damgermys

🌍

Jérôme Deuchnord

💻

Nic

💻

Titouan S.

🌍

brain_face

💻
From 60713ad79c4a0346951662c08ccf61d98766c4fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Sun, 20 Mar 2022 14:00:07 +0100 Subject: [PATCH 50/55] docs: add @Thierry-FreeBSD as a contributor --- .all-contributorsrc | 9 +++++++++ CONTRIBUTORS.md | 5 ++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index 794019f..e066994 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -73,6 +73,15 @@ "contributions": [ "translation" ] + }, + { + "login": "thierry-FreeBSD", + "name": "Thierry Thomas", + "avatar_url": "https://avatars.githubusercontent.com/u/6819982?v=4", + "profile": "http://people.freebsd.org/~thierry/", + "contributions": [ + "platform" + ] } ], "contributorsPerLine": 7 diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 85abfb2..2860339 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,6 +1,6 @@ -[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors-) +[![All Contributors](https://img.shields.io/badge/all_contributors-8-orange.svg?style=flat-square)](#contributors-) ## Contributors ✨ @@ -16,7 +16,10 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
Damgermys

🌍
Jérôme Deuchnord

💻
Nic

💻 +
Thierry Thomas

📦
Titouan S.

🌍 + +
brain_face

💻 From bc8be7fb2f6421f0da668865f2709cade1511143 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Sun, 20 Mar 2022 14:00:20 +0100 Subject: [PATCH 51/55] docs: add @SpeedCode as a contributor --- .all-contributorsrc | 9 +++++++++ CONTRIBUTORS.md | 5 +++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index e066994..6bafb4c 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -82,6 +82,15 @@ "contributions": [ "platform" ] + }, + { + "login": "SpeedCode", + "name": "SpeedCode", + "avatar_url": "https://avatars.githubusercontent.com/u/12190842?v=4", + "profile": "https://github.com/SpeedCode", + "contributions": [ + "bug" + ] } ], "contributorsPerLine": 7 diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 2860339..2d0b867 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,6 +1,6 @@ -[![All Contributors](https://img.shields.io/badge/all_contributors-8-orange.svg?style=flat-square)](#contributors-) +[![All Contributors](https://img.shields.io/badge/all_contributors-9-orange.svg?style=flat-square)](#contributors-) ## Contributors ✨ @@ -16,10 +16,11 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
Damgermys

🌍
Jérôme Deuchnord

💻
Nic

💻 +
SpeedCode

🐛
Thierry Thomas

📦 -
Titouan S.

🌍 +
Titouan S.

🌍
brain_face

💻 From c3ec24789cac31dc5c20c73772ddd7a13b0a4aa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Sun, 20 Mar 2022 14:00:58 +0100 Subject: [PATCH 52/55] docs: add @ChabaneAmaury as a contributor --- .all-contributorsrc | 9 +++++++++ CONTRIBUTORS.md | 5 +++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index 6bafb4c..4c3aac1 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -91,6 +91,15 @@ "contributions": [ "bug" ] + }, + { + "login": "ChabaneAmaury", + "name": "Amaury Chabane", + "avatar_url": "https://avatars.githubusercontent.com/u/24982486?v=4", + "profile": "https://github.com/ChabaneAmaury", + "contributions": [ + "ideas" + ] } ], "contributorsPerLine": 7 diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 2d0b867..e3e9559 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,6 +1,6 @@ -[![All Contributors](https://img.shields.io/badge/all_contributors-9-orange.svg?style=flat-square)](#contributors-) +[![All Contributors](https://img.shields.io/badge/all_contributors-10-orange.svg?style=flat-square)](#contributors-) ## Contributors ✨ @@ -13,13 +13,14 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
Allan Nordhøy

🌍
Amaury Carrade

🌍 +
Amaury Chabane

🤔
Damgermys

🌍
Jérôme Deuchnord

💻
Nic

💻
SpeedCode

🐛 -
Thierry Thomas

📦 +
Thierry Thomas

📦
Titouan S.

🌍
brain_face

💻 From 925fbb399a6dfaf3bee1c0238d8019cb4fb42dae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Sun, 20 Mar 2022 14:01:11 +0100 Subject: [PATCH 53/55] docs: add @WinXaito as a contributor --- .all-contributorsrc | 9 +++++++++ CONTRIBUTORS.md | 5 +++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index 4c3aac1..4d4c306 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -100,6 +100,15 @@ "contributions": [ "ideas" ] + }, + { + "login": "WinXaito", + "name": "Kevin Vuilleumier", + "avatar_url": "https://avatars.githubusercontent.com/u/8223773?v=4", + "profile": "http://winxaito.com/", + "contributions": [ + "ideas" + ] } ], "contributorsPerLine": 7 diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index e3e9559..4fdf47d 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,6 +1,6 @@ -[![All Contributors](https://img.shields.io/badge/all_contributors-10-orange.svg?style=flat-square)](#contributors-) +[![All Contributors](https://img.shields.io/badge/all_contributors-11-orange.svg?style=flat-square)](#contributors-) ## Contributors ✨ @@ -16,10 +16,11 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
Amaury Chabane

🤔
Damgermys

🌍
Jérôme Deuchnord

💻 +
Kevin Vuilleumier

🤔
Nic

💻 -
SpeedCode

🐛 +
SpeedCode

🐛
Thierry Thomas

📦
Titouan S.

🌍
brain_face

💻 From 39f619c755b0bcaf3e5291f262806b3e0309b62e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Sun, 20 Mar 2022 14:02:42 +0100 Subject: [PATCH 54/55] docs: add @romco1410 as a contributor --- .all-contributorsrc | 9 +++++++++ CONTRIBUTORS.md | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index 4d4c306..3f66131 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -109,6 +109,15 @@ "contributions": [ "ideas" ] + }, + { + "login": "romco1410", + "name": "Roman Hanečák", + "avatar_url": "https://avatars.githubusercontent.com/u/40452973?v=4", + "profile": "https://github.com/romco1410", + "contributions": [ + "code" + ] } ], "contributorsPerLine": 7 diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 4fdf47d..94024f5 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,6 +1,6 @@ -[![All Contributors](https://img.shields.io/badge/all_contributors-11-orange.svg?style=flat-square)](#contributors-) +[![All Contributors](https://img.shields.io/badge/all_contributors-12-orange.svg?style=flat-square)](#contributors-) ## Contributors ✨ @@ -20,6 +20,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
Nic

💻 +
Roman Hanečák

💻
SpeedCode

🐛
Thierry Thomas

📦
Titouan S.

🌍 From 333f1fad69ff1261e5d10f0598df36545eb98151 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Mar 2022 04:10:18 +0000 Subject: [PATCH 55/55] chore(deps-dev): bump black from 21.12b0 to 22.1.0 Bumps [black](https://github.com/psf/black) from 21.12b0 to 22.1.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/commits/22.1.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- poetry.lock | 41 +++++++++++++++++++++++++++++------------ pyproject.toml | 2 +- 2 files changed, 30 insertions(+), 13 deletions(-) diff --git a/poetry.lock b/poetry.lock index 46bda78..4d807e0 100644 --- a/poetry.lock +++ b/poetry.lock @@ -41,29 +41,25 @@ pytz = ">=2015.7" [[package]] name = "black" -version = "21.12b0" +version = "22.1.0" description = "The uncompromising code formatter." category = "dev" optional = false python-versions = ">=3.6.2" [package.dependencies] -click = ">=7.1.2" +click = ">=8.0.0" mypy-extensions = ">=0.4.3" -pathspec = ">=0.9.0,<1" +pathspec = ">=0.9.0" platformdirs = ">=2" -tomli = ">=0.2.6,<2.0.0" +tomli = ">=1.1.0" typed-ast = {version = ">=1.4.2", markers = "python_version < \"3.8\" and implementation_name == \"cpython\""} -typing-extensions = [ - {version = ">=3.10.0.0", markers = "python_version < \"3.10\""}, - {version = "!=3.10.0.1", markers = "python_version >= \"3.10\""}, -] +typing-extensions = {version = ">=3.10.0.0", markers = "python_version < \"3.10\""} [package.extras] colorama = ["colorama (>=0.4.3)"] d = ["aiohttp (>=3.7.4)"] jupyter = ["ipython (>=7.8.0)", "tokenize-rt (>=3.2.0)"] -python2 = ["typed-ast (>=1.4.3)"] uvloop = ["uvloop (>=0.15.2)"] [[package]] @@ -365,7 +361,7 @@ testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest- [metadata] lock-version = "1.1" python-versions = ">=3.7,<3.11" -content-hash = "4973cb3aa5b8437ba3e2cd3c9daee2a168e242b534b6aa9b039b79af7dd2e270" +content-hash = "351d9199cffd4c1ad1b234c67a8f463b54d724b24215745584cb4555cf13283c" [metadata.files] atomicwrites = [ @@ -385,8 +381,29 @@ babel = [ {file = "Babel-2.9.1.tar.gz", hash = "sha256:bc0c176f9f6a994582230df350aa6e05ba2ebe4b3ac317eab29d9be5d2768da0"}, ] black = [ - {file = "black-21.12b0-py3-none-any.whl", hash = "sha256:a615e69ae185e08fdd73e4715e260e2479c861b5740057fde6e8b4e3b7dd589f"}, - {file = "black-21.12b0.tar.gz", hash = "sha256:77b80f693a569e2e527958459634f18df9b0ba2625ba4e0c2d5da5be42e6f2b3"}, + {file = "black-22.1.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:1297c63b9e1b96a3d0da2d85d11cd9bf8664251fd69ddac068b98dc4f34f73b6"}, + {file = "black-22.1.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:2ff96450d3ad9ea499fc4c60e425a1439c2120cbbc1ab959ff20f7c76ec7e866"}, + {file = "black-22.1.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:0e21e1f1efa65a50e3960edd068b6ae6d64ad6235bd8bfea116a03b21836af71"}, + {file = "black-22.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e2f69158a7d120fd641d1fa9a921d898e20d52e44a74a6fbbcc570a62a6bc8ab"}, + {file = "black-22.1.0-cp310-cp310-win_amd64.whl", hash = "sha256:228b5ae2c8e3d6227e4bde5920d2fc66cc3400fde7bcc74f480cb07ef0b570d5"}, + {file = "black-22.1.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:b1a5ed73ab4c482208d20434f700d514f66ffe2840f63a6252ecc43a9bc77e8a"}, + {file = "black-22.1.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:35944b7100af4a985abfcaa860b06af15590deb1f392f06c8683b4381e8eeaf0"}, + {file = "black-22.1.0-cp36-cp36m-win_amd64.whl", hash = "sha256:7835fee5238fc0a0baf6c9268fb816b5f5cd9b8793423a75e8cd663c48d073ba"}, + {file = "black-22.1.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:dae63f2dbf82882fa3b2a3c49c32bffe144970a573cd68d247af6560fc493ae1"}, + {file = "black-22.1.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5fa1db02410b1924b6749c245ab38d30621564e658297484952f3d8a39fce7e8"}, + {file = "black-22.1.0-cp37-cp37m-win_amd64.whl", hash = "sha256:c8226f50b8c34a14608b848dc23a46e5d08397d009446353dad45e04af0c8e28"}, + {file = "black-22.1.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:2d6f331c02f0f40aa51a22e479c8209d37fcd520c77721c034517d44eecf5912"}, + {file = "black-22.1.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:742ce9af3086e5bd07e58c8feb09dbb2b047b7f566eb5f5bc63fd455814979f3"}, + {file = "black-22.1.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:fdb8754b453fb15fad3f72cd9cad3e16776f0964d67cf30ebcbf10327a3777a3"}, + {file = "black-22.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f5660feab44c2e3cb24b2419b998846cbb01c23c7fe645fee45087efa3da2d61"}, + {file = "black-22.1.0-cp38-cp38-win_amd64.whl", hash = "sha256:6f2f01381f91c1efb1451998bd65a129b3ed6f64f79663a55fe0e9b74a5f81fd"}, + {file = "black-22.1.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:efbadd9b52c060a8fc3b9658744091cb33c31f830b3f074422ed27bad2b18e8f"}, + {file = "black-22.1.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:8871fcb4b447206904932b54b567923e5be802b9b19b744fdff092bd2f3118d0"}, + {file = "black-22.1.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:ccad888050f5393f0d6029deea2a33e5ae371fd182a697313bdbd835d3edaf9c"}, + {file = "black-22.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:07e5c049442d7ca1a2fc273c79d1aecbbf1bc858f62e8184abe1ad175c4f7cc2"}, + {file = "black-22.1.0-cp39-cp39-win_amd64.whl", hash = "sha256:373922fc66676133ddc3e754e4509196a8c392fec3f5ca4486673e685a421321"}, + {file = "black-22.1.0-py3-none-any.whl", hash = "sha256:3524739d76b6b3ed1132422bf9d82123cd1705086723bc3e235ca39fd21c667d"}, + {file = "black-22.1.0.tar.gz", hash = "sha256:a7c0192d35635f6fc1174be575cb7915e92e5dd629ee79fdaf0dcfa41a80afb5"}, ] certifi = [ {file = "certifi-2021.10.8-py2.py3-none-any.whl", hash = "sha256:d62a0163eb4c2344ac042ab2bdf75399a71a2d8c7d47eac2e2ee91b9d6339569"}, diff --git a/pyproject.toml b/pyproject.toml index 5aa1eae..31eae86 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ Babel = "^2.9" importlib-metadata = "^4.11" [tool.poetry.dev-dependencies] -black = "^21.12b0" +black = "^22.1" pytest = "^7.0" aurornis = "^1.2"