geopic-tag-reader 1.1.3__tar.gz → 1.1.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/.gitlab-ci.yml +15 -0
  2. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/CHANGELOG.md +19 -1
  3. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/Makefile +1 -0
  4. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/PKG-INFO +1 -1
  5. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/geopic_tag_reader/__init__.py +1 -1
  6. geopic_tag_reader-1.1.5/geopic_tag_reader/translations/en/LC_MESSAGES/geopic_tag_reader.mo +0 -0
  7. geopic_tag_reader-1.1.5/geopic_tag_reader/translations/en/LC_MESSAGES/geopic_tag_reader.po +154 -0
  8. geopic_tag_reader-1.1.5/geopic_tag_reader/translations/fr/LC_MESSAGES/geopic_tag_reader.mo +0 -0
  9. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/geopic_tag_reader/translations/fr/LC_MESSAGES/geopic_tag_reader.po +78 -2
  10. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/geopic_tag_reader/translations/geopic_tag_reader.pot +1 -1
  11. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/pyproject.toml +1 -0
  12. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/.gitignore +0 -0
  13. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/.pre-commit-config.yaml +0 -0
  14. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/CODE_OF_CONDUCT.md +0 -0
  15. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/LICENSE +0 -0
  16. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/README.md +0 -0
  17. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/docs/develop.md +0 -0
  18. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/docs/index.md +0 -0
  19. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/docs/install.md +0 -0
  20. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/docs/tech/api_reference.md +0 -0
  21. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/docs/tech/cli.md +0 -0
  22. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/geopic_tag_reader/camera.py +0 -0
  23. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/geopic_tag_reader/i18n.py +0 -0
  24. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/geopic_tag_reader/main.py +0 -0
  25. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/geopic_tag_reader/model.py +0 -0
  26. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/geopic_tag_reader/py.typed +0 -0
  27. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/geopic_tag_reader/reader.py +0 -0
  28. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/geopic_tag_reader/writer.py +0 -0
  29. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/mkdocs.yml +0 -0
  30. {geopic_tag_reader-1.1.3 → geopic_tag_reader-1.1.5}/pytest.ini +0 -0
@@ -38,6 +38,21 @@ tests-writer:
38
38
  - make i18n-po2code
39
39
  - pytest -s -vv
40
40
 
41
+ tests-deploy_pypi:
42
+ stage: deploy
43
+ image: python:3.8
44
+ variables:
45
+ FLIT_INDEX_URL: https://test.pypi.org/legacy/
46
+ FLIT_USERNAME: $TEST_FLIT_USERNAME
47
+ FLIT_PASSWORD: $TEST_FLIT_PASSWORD
48
+ script:
49
+ - apt update && apt install -y gcc git gettext
50
+ - pip install .[build]
51
+ - make i18n-po2code
52
+ - flit publish
53
+ only:
54
+ - develop
55
+
41
56
  deploy_pypi:
42
57
  stage: deploy
43
58
  image: python:3.8
@@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.1.5] - 2024-07-10
11
+
12
+ ### Fixed
13
+
14
+ - PyPI package was missing built translation files (MO files).
15
+
16
+ ## [1.1.4] - 2024-07-10
17
+
18
+ ### Changed
19
+
20
+ - Updated 🇫🇷 French 🥖 locale.
21
+
22
+ ### Fixed
23
+
24
+ - Translation process with Weblate was not taking into account new labels from code.
25
+
10
26
  ## [1.1.3] - 2024-07-10
11
27
 
12
28
  ### Changed
@@ -183,7 +199,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
183
199
 
184
200
  - EXIF tag reading methods extracted from [GeoVisio API](https://gitlab.com/panoramax/server/api)
185
201
 
186
- [Unreleased]: https://gitlab.com/panoramax/server/geo-picture-tag-reader/-/compare/1.1.3...main
202
+ [Unreleased]: https://gitlab.com/panoramax/server/geo-picture-tag-reader/-/compare/1.1.5...main
203
+ [1.1.5]: https://gitlab.com/panoramax/server/geo-picture-tag-reader/-/compare/1.1.4...1.1.5
204
+ [1.1.4]: https://gitlab.com/panoramax/server/geo-picture-tag-reader/-/compare/1.1.3...1.1.4
187
205
  [1.1.3]: https://gitlab.com/panoramax/server/geo-picture-tag-reader/-/compare/1.1.2...1.1.3
188
206
  [1.1.2]: https://gitlab.com/panoramax/server/geo-picture-tag-reader/-/compare/1.1.1...1.1.2
189
207
  [1.1.1]: https://gitlab.com/panoramax/server/geo-picture-tag-reader/-/compare/1.1.0...1.1.1
@@ -28,6 +28,7 @@ help: ## Print this help message
28
28
  # Extract labels from Python code into POT catalog
29
29
  i18n-code2pot:
30
30
  xgettext -d geopic_tag_reader -o geopic_tag_reader/translations/geopic_tag_reader.pot geopic_tag_reader/*.py
31
+ msginit --locale=en --no-translator --input=geopic_tag_reader/translations/geopic_tag_reader.pot --output=geopic_tag_reader/translations/en/LC_MESSAGES/geopic_tag_reader.po
31
32
 
32
33
  # Transform all PO translated files into MO for Python to use them
33
34
  SOURCES=$(wildcard geopic_tag_reader/translations/**/LC_MESSAGES/*.po)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: geopic-tag-reader
3
- Version: 1.1.3
3
+ Version: 1.1.5
4
4
  Summary: GeoPicTagReader
5
5
  Author-email: Adrien PAVIE <panieravide@riseup.net>
6
6
  Requires-Python: >=3.8
@@ -2,4 +2,4 @@
2
2
  GeoPicTagReader
3
3
  """
4
4
 
5
- __version__ = "1.1.3"
5
+ __version__ = "1.1.5"
@@ -0,0 +1,154 @@
1
+ # English translations for PACKAGE package.
2
+ # Copyright (C) 2024 THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # Automatically generated, 2024.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: PACKAGE VERSION\n"
9
+ "Report-Msgid-Bugs-To: \n"
10
+ "POT-Creation-Date: 2024-07-10 13:05+0200\n"
11
+ "PO-Revision-Date: 2024-07-10 13:05+0200\n"
12
+ "Last-Translator: Automatically generated\n"
13
+ "Language-Team: none\n"
14
+ "Language: en\n"
15
+ "MIME-Version: 1.0\n"
16
+ "Content-Type: text/plain; charset=ASCII\n"
17
+ "Content-Transfer-Encoding: 8bit\n"
18
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
+
20
+ #: geopic_tag_reader/main.py:26
21
+ msgid "Latitude:"
22
+ msgstr "Latitude:"
23
+
24
+ #: geopic_tag_reader/main.py:27
25
+ msgid "Longitude:"
26
+ msgstr "Longitude:"
27
+
28
+ #: geopic_tag_reader/main.py:28
29
+ msgid "Timestamp:"
30
+ msgstr "Timestamp:"
31
+
32
+ #: geopic_tag_reader/main.py:29
33
+ msgid "Heading:"
34
+ msgstr "Heading:"
35
+
36
+ #: geopic_tag_reader/main.py:30
37
+ msgid "Type:"
38
+ msgstr "Type:"
39
+
40
+ #: geopic_tag_reader/main.py:31
41
+ msgid "Make:"
42
+ msgstr "Make:"
43
+
44
+ #: geopic_tag_reader/main.py:32
45
+ msgid "Model:"
46
+ msgstr "Model:"
47
+
48
+ #: geopic_tag_reader/main.py:33
49
+ msgid "Focal length:"
50
+ msgstr "Focal length:"
51
+
52
+ #: geopic_tag_reader/main.py:34
53
+ msgid "Crop parameters:"
54
+ msgstr "Crop parameters:"
55
+
56
+ #: geopic_tag_reader/main.py:35
57
+ msgid "Pitch:"
58
+ msgstr "Pitch:"
59
+
60
+ #: geopic_tag_reader/main.py:36
61
+ msgid "Roll:"
62
+ msgstr "Roll:"
63
+
64
+ #: geopic_tag_reader/main.py:39
65
+ msgid "Warnings raised by reader:"
66
+ msgstr "Warnings raised by reader:"
67
+
68
+ #: geopic_tag_reader/reader.py:183
69
+ msgid "Read latitude is out of WGS84 bounds (should be in [-90, 90])"
70
+ msgstr "Read latitude is out of WGS84 bounds (should be in [-90, 90])"
71
+
72
+ #: geopic_tag_reader/reader.py:185
73
+ msgid "Read longitude is out of WGS84 bounds (should be in [-180, 180])"
74
+ msgstr "Read longitude is out of WGS84 bounds (should be in [-180, 180])"
75
+
76
+ #: geopic_tag_reader/reader.py:227
77
+ #, python-brace-format
78
+ msgid "Skipping Mapillary date/time as it was not recognized: {v}"
79
+ msgstr "Skipping Mapillary date/time as it was not recognized: {v}"
80
+
81
+ #: geopic_tag_reader/reader.py:240
82
+ msgid "Contradicting heading values found, GPSImgDirection value is used"
83
+ msgstr "Contradicting heading values found, GPSImgDirection value is used"
84
+
85
+ #: geopic_tag_reader/reader.py:351
86
+ msgid "No GPS coordinates or broken coordinates in picture EXIF tags"
87
+ msgstr "No GPS coordinates or broken coordinates in picture EXIF tags"
88
+
89
+ #: geopic_tag_reader/reader.py:357
90
+ msgid "No valid date in picture EXIF tags"
91
+ msgstr "No valid date in picture EXIF tags"
92
+
93
+ #: geopic_tag_reader/reader.py:362
94
+ msgid "The picture is missing mandatory metadata:"
95
+ msgstr "The picture is missing mandatory metadata:"
96
+
97
+ #: geopic_tag_reader/reader.py:449 geopic_tag_reader/reader.py:478
98
+ msgid "GPSLatitudeRef not found, assuming GPSLatitudeRef is North"
99
+ msgstr "GPSLatitudeRef not found, assuming GPSLatitudeRef is North"
100
+
101
+ #: geopic_tag_reader/reader.py:457
102
+ msgid "Broken GPS coordinates in picture EXIF tags"
103
+ msgstr "Broken GPS coordinates in picture EXIF tags"
104
+
105
+ #: geopic_tag_reader/reader.py:460 geopic_tag_reader/reader.py:484
106
+ msgid "GPSLongitudeRef not found, assuming GPSLongitudeRef is East"
107
+ msgstr "GPSLongitudeRef not found, assuming GPSLongitudeRef is East"
108
+
109
+ #: geopic_tag_reader/reader.py:537
110
+ msgid "Precise timezone information not found, fallback to UTC"
111
+ msgstr "Precise timezone information not found, fallback to UTC"
112
+
113
+ #: geopic_tag_reader/reader.py:542
114
+ msgid ""
115
+ "Precise timezone information not found (and no GPS coordinates to help), "
116
+ "fallback to UTC"
117
+ msgstr ""
118
+ "Precise timezone information not found (and no GPS coordinates to help), "
119
+ "fallback to UTC"
120
+
121
+ #: geopic_tag_reader/reader.py:546
122
+ #, python-brace-format
123
+ msgid ""
124
+ "Skipping original date/time (from {datefield}) as it was not recognized: {v}"
125
+ msgstr ""
126
+ "Skipping original date/time (from {datefield}) as it was not recognized: {v}"
127
+
128
+ #: geopic_tag_reader/reader.py:580
129
+ #, python-brace-format
130
+ msgid ""
131
+ "GPSTimeStamp and GPSDateTime don't contain supported time format (in {group} "
132
+ "group)"
133
+ msgstr ""
134
+ "GPSTimeStamp and GPSDateTime don't contain supported time format (in {group} "
135
+ "group)"
136
+
137
+ #: geopic_tag_reader/reader.py:611
138
+ #, python-brace-format
139
+ msgid "Skipping GPS date/time ({group} group) as it was not recognized: {v}"
140
+ msgstr "Skipping GPS date/time ({group} group) as it was not recognized: {v}"
141
+
142
+ #: geopic_tag_reader/reader.py:637
143
+ #, python-brace-format
144
+ msgid ""
145
+ "Microseconds read from decimal seconds value ({microsecondsFromSeconds}) is "
146
+ "not matching value from EXIF field ({microseconds}). Max value will be kept."
147
+ msgstr ""
148
+ "Microseconds read from decimal seconds value ({microsecondsFromSeconds}) is "
149
+ "not matching value from EXIF field ({microseconds}). Max value will be kept."
150
+
151
+ #: geopic_tag_reader/writer.py:132
152
+ #, python-brace-format
153
+ msgid "Unsupported key in additional tags ({k})"
154
+ msgstr "Unsupported key in additional tags ({k})"
@@ -8,7 +8,7 @@ msgstr ""
8
8
  "Project-Id-Version: PACKAGE VERSION\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
10
  "POT-Creation-Date: 2024-06-18 09:12+0200\n"
11
- "PO-Revision-Date: 2024-06-18 09:09+0000\n"
11
+ "PO-Revision-Date: 2024-07-10 08:29+0000\n"
12
12
  "Last-Translator: PanierAvide <adrien@pavie.info>\n"
13
13
  "Language-Team: French <http://weblate.panoramax.xyz/projects/panoramax/"
14
14
  "tag-reader/fr/>\n"
@@ -41,7 +41,8 @@ msgstr ""
41
41
 
42
42
  #: geopic_tag_reader/reader.py:345
43
43
  msgid "No GPS coordinates or broken coordinates in picture EXIF tags"
44
- msgstr "Coordonnees GPS absentes ou invalides dans les attributs EXIF de l'image"
44
+ msgstr ""
45
+ "Coordonnées GPS absentes ou invalides dans les attributs EXIF de l'image"
45
46
 
46
47
  #: geopic_tag_reader/reader.py:351
47
48
  msgid "No valid date in picture EXIF tags"
@@ -112,3 +113,78 @@ msgstr ""
112
113
  "La valeur de micro-secondes lue à partir des secondes en valeurs décimales "
113
114
  "({microsecondsFromSeconds}) ne correspond pas au champ EXIF dédié "
114
115
  "({microseconds}). La valeur la plus élevée est conservée."
116
+
117
+ #: geopic_tag_reader/main.py:26
118
+ msgid "Latitude:"
119
+ msgstr "Latitude :"
120
+
121
+ #: geopic_tag_reader/main.py:27
122
+ msgid "Longitude:"
123
+ msgstr "Longitude :"
124
+
125
+ #: geopic_tag_reader/main.py:28
126
+ msgid "Timestamp:"
127
+ msgstr "Date et heure :"
128
+
129
+ #: geopic_tag_reader/main.py:30
130
+ msgid "Type:"
131
+ msgstr "Type :"
132
+
133
+ #: geopic_tag_reader/main.py:31
134
+ msgid "Make:"
135
+ msgstr "Fabriquant :"
136
+
137
+ #: geopic_tag_reader/main.py:32
138
+ msgid "Model:"
139
+ msgstr "Modèle :"
140
+
141
+ #: geopic_tag_reader/main.py:33
142
+ msgid "Focal length:"
143
+ msgstr "Longueur focale :"
144
+
145
+ #: geopic_tag_reader/main.py:34
146
+ msgid "Crop parameters:"
147
+ msgstr "Paramètres de recadrage :"
148
+
149
+ #: geopic_tag_reader/main.py:35
150
+ msgid "Pitch:"
151
+ msgstr "Tangage :"
152
+
153
+ #: geopic_tag_reader/main.py:36
154
+ msgid "Roll:"
155
+ msgstr "Roulis :"
156
+
157
+ #: geopic_tag_reader/main.py:29
158
+ msgid "Heading:"
159
+ msgstr "Orientation :"
160
+
161
+ #: geopic_tag_reader/main.py:39
162
+ msgid "Warnings raised by reader:"
163
+ msgstr "Avertissement lancés par le lecteur :"
164
+
165
+ #: geopic_tag_reader/reader.py:362
166
+ msgid "The picture is missing mandatory metadata:"
167
+ msgstr "Des métadonnées obligatoires sont manquantes :"
168
+
169
+ #: geopic_tag_reader/reader.py:611
170
+ #, python-brace-format
171
+ msgid "Skipping GPS date/time ({group} group) as it was not recognized: {v}"
172
+ msgstr "Date/heure du GPS (groupe {group}) ignorées car non-reconnues : {v}"
173
+
174
+ #: geopic_tag_reader/writer.py:132
175
+ #, python-brace-format
176
+ msgid "Unsupported key in additional tags ({k})"
177
+ msgstr "Clé non-supportée dans les attributs additionnels ({k})"
178
+
179
+ #: geopic_tag_reader/reader.py:227
180
+ #, python-brace-format
181
+ msgid "Skipping Mapillary date/time as it was not recognized: {v}"
182
+ msgstr "Date et heure de Mapillary ignorées car non-reconnues : {v}"
183
+
184
+ #: geopic_tag_reader/reader.py:546
185
+ #, python-brace-format
186
+ msgid ""
187
+ "Skipping original date/time (from {datefield}) as it was not recognized: {v}"
188
+ msgstr ""
189
+ "Date/heure originales (venant de {datefield}) ignorées car non-reconnues : "
190
+ "{v}"
@@ -8,7 +8,7 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2024-07-10 08:17+0200\n"
11
+ "POT-Creation-Date: 2024-07-10 13:05+0200\n"
12
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -49,6 +49,7 @@ requires = ["flit_core ~= 3.8,<4"]
49
49
  build-backend = "flit_core.buildapi"
50
50
 
51
51
  [tool.flit.sdist]
52
+ include = ["geopic_tag_reader/translations/**/*.mo"]
52
53
  exclude = ["tests"]
53
54
 
54
55
  [tool.pytest.ini_options]