Skip to content

Commit

Permalink
pydicts-0.11.0 (#37)
Browse files Browse the repository at this point in the history
* pydicts-0.11.0

* pydicts-0.11.0
  • Loading branch information
turulomio authored Dec 13, 2023
1 parent a652d93 commit 6aafc81
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 30 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ venv/
env/
.env/
dist/
.python3.10
.python3.10
.coverage
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ You can access documentation in [Github Pydicts Wiki](https://github.com/turulom

## CHANGELOG

### 0.11.0 (2023-12-13)
- Added in casts ignore_exceptions parameter in all methods
- Added a lot of tests. Test coverage is now 73%.
- Added more stability to casts

### 0.10.0 (2023-12-08)
- Improving str2decimal conversions. Changed type parameter to decimal_separator.
- Added Percentage and Currency classes to manage this objects
Expand Down
4 changes: 2 additions & 2 deletions pydicts/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from datetime import datetime
__version__="0.10.0"
__versiondatetime__= datetime(2023, 12, 8, 9, 37)
__version__="0.11.0"
__versiondatetime__= datetime(2023, 12, 13, 19, 2)
__versiondate__=__versiondatetime__.date()
18 changes: 4 additions & 14 deletions pydicts/locale/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: TooManyFiles\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-08 09:39+0100\n"
"POT-Creation-Date: 2023-12-13 19:04+0100\n"
"PO-Revision-Date: 2020-04-03 08:54+0200\n"
"Last-Translator: trabajo <turulomio@yahoo.es>\n"
"Language-Team: Spanish <kde-i18n-doc@kde.org>\n"
Expand All @@ -19,22 +19,11 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Lokalize 19.12.3\n"

#, python-brace-format
msgid "Method str2decimal couln't convert {0} ({1}), after changing it to {2} to a Decimal"
msgstr ""

#, python-brace-format
msgid "Method str2bool couldn't convert {0} ({1}) to a boolean"
msgstr "El método str2bool no pudo convertir {0} ({1}) a booleano"

msgid "A datetime with timezone is needed"
msgstr ""
msgstr "Se necesita una fecha y hora con zona horaria"

msgid "A datetime without timezone is needed"
msgstr ""

msgid "I can't convert this format '{}'. I only support this {}"
msgstr "No puedo convertir este formato '{}'. Solo soporte estos {}"
msgstr "Se necesita una fecha y hora sin zona horaria"

msgid "You must set your lod in {}"
msgstr "Debe establecer su lod en {}"
Expand Down Expand Up @@ -68,3 +57,4 @@ msgstr "Sin datos que mostrar"

msgid "This table continues in the next page"
msgstr "Esta tabla continúa en la siguiente página"

Binary file modified pydicts/locale/es/LC_MESSAGES/pydicts.mo
Binary file not shown.
13 changes: 1 addition & 12 deletions pydicts/locale/pydicts.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-08 09:40+0100\n"
"POT-Creation-Date: 2023-12-13 19:07+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand All @@ -17,23 +17,12 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

#, python-brace-format
msgid "Method str2decimal couln't convert {0} ({1}), after changing it to {2} to a Decimal"
msgstr ""

#, python-brace-format
msgid "Method str2bool couldn't convert {0} ({1}) to a boolean"
msgstr ""

msgid "A datetime with timezone is needed"
msgstr ""

msgid "A datetime without timezone is needed"
msgstr ""

msgid "I can't convert this format '{}'. I only support this {}"
msgstr ""

msgid "You must set your lod in {}"
msgstr ""

Expand Down
5 changes: 5 additions & 0 deletions pydicts/poethepoet.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,19 @@ def release():
print("""Nueva versión:
* Cambiar la version en pyproject.toml
* Cambiar la versión y la fecha en __init__.py
* Ejecutar otra vez poe release
* git checkout -b pydicts-{0}
* Modificar el Changelog en README
* poe translate
* linguist
* poe translate
* poe test
* git commit -a -m 'pydicts-{0}'
* git push
* Hacer un pull request con los cambios a main
* Hacer un nuevo tag en GitHub
* git checkout main
* git pull
* poetry build
* poetry publish
* Crea un nuevo ebuild de pydicts en Gentoo con la nueva versión
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pydicts"
version = "0.10.0"
version = "0.11.0"
description = "Module to use dictionaries in various situations"
authors = ["turulomio <turulomio@yahoo.es>"]
license = "GPL-3.0"
Expand Down

0 comments on commit 6aafc81

Please sign in to comment.