Commit graph

759 commits

Author SHA1 Message Date
Glandos
b9672d9e15
Update i18n (#617) 2020-05-09 21:50:24 +02:00
Weblate (bot)
570a19c4d2
Translations update from Weblate (#615)
Fix #614
2020-05-09 12:43:23 +02:00
Glandos
a3086956c8
update l10n data (#613)
Add all new localization data from Weblate into main menu:
- Chinese
- Russian
- Polish
- Turkish (incomplete)
- Ukrainian (incomplete)
2020-05-08 22:49:42 +02:00
Weblate (bot)
a2cf9bf2cf
Translations update from Weblate (#612)
Complete Polish
Update Chinese (simplified)
2020-05-08 22:06:48 +02:00
Glandos
981edd413a
Improve currencies (#604)
- Rename "No Currency" to ISO4217 "XXX"
- Use Babel to render currency symbols and names in currency lists
- Improve i18n in bill lists

Fix #601
Fix #600
2020-05-07 22:56:17 +02:00
Glandos
76911983af
compress jpeg with mozjpeg and png with zopfli (#611) 2020-05-07 22:54:55 +02:00
Jojo144
bd1122cc0e
Integrate illustrations as a showcase (#544)
Integrate some custom graphics, and a whole comics explanation, only in French for now.
Fix #363
2020-05-07 22:34:31 +02:00
zorun
795efd6b58
Fix order of participants in the statistics page (#608)
This fixes #607 and add a test case for this bug.

It also renames participants in test cases to avoid alphabetical ordering.

Inserting participants in alphabetical order is a special case, because ordering by ID will be the same as ordering by name. This is a bad idea in test cases, as #607 has shown.
2020-05-04 23:06:35 +02:00
Weblate (bot)
15ab04e636
Translations update from Weblate (#606)
Fix #605
2020-05-03 17:28:27 +02:00
Adrien CLERC
4085b5c16a Merge remote-tracking branch 'weblate/master' 2020-05-03 17:21:07 +02:00
dark0dave
f389c56259
Feature/currencies (#541)
Now each project can have a currency, default to None.
Each bill can use a different currency, and a conversion to project default currency is done on settle.

Fix #512
2020-04-29 22:57:08 +02:00
Weblate (bot)
162193c787
Translations update from Weblate (#591)
RU : 100%
2020-04-29 12:08:24 +02:00
Matteo Haenen
d2f4b60ef0
Added translation using Weblate (Italian) 2020-04-28 10:30:43 +02:00
Vsevolod
a75ad93dc1 Translated using Weblate (Russian)
Currently translated at 100.0% (222 of 222 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/ru/
2020-04-28 09:11:22 +02:00
Vsevolod
d8a9fc2e85 Translated using Weblate (Russian)
Currently translated at 21.1% (47 of 222 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/ru/
2020-04-28 09:11:22 +02:00
Vsevolod
8b8606d2f0 Added translation using Weblate (Russian) 2020-04-28 09:11:22 +02:00
dependabot-preview[bot]
68f6df6abc
Bump sphinx from 3.0.2 to 3.0.3 (#596)
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/3.x/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v3.0.2...v3.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-27 08:42:10 +02:00
zorun
c509896b8c
Add support for different categories of "flash alerts" (#594) 2020-04-26 23:17:48 +02:00
zorun
08bb95422b
Fix crash when a localized email template is missing (#592) 2020-04-26 23:12:33 +02:00
zorun
342292ca9f
Fix language code parsing (#589) 2020-04-26 22:48:30 +02:00
zorun
d9dc38947c
Fix string representation of bills (#584)
Currently the string representation of a Bill is: "<amount> for <description>"

It is used in the History Page to describe changes that were applied to
Bills, for instance:

    Bill "42.0 for Test" renamed to "Another Test"

This is inconsistent, not easy to read, and the "for" in the middle is not
translatable.

To solve this issue, simply switch the string representation of a bill to
its description.

Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2020-04-26 14:22:54 +02:00
Andrew Dickinson
55419ab94b
Add .idea/ folder to gitignore (#585) 2020-04-26 14:22:21 +02:00
Andrew Dickinson
2c32c6190c
Direct Alembic to ignore the sqlite_sequence table (#586)
* Direct Alembic to ignore the sqlite_sequence table

* Direct Alembic to ignore the sqlite_sequence table

* Fix "Skipping unsupported ALTER" warning on database migration
2020-04-26 14:20:24 +02:00
zorun
27cac869d3
Fix missing HTML tag (#583) 2020-04-25 14:03:40 +02:00
Weblate (bot)
ab3240ed34
Translated using Weblate (French) (#582)
Currently translated at 100.0% (222 of 222 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/

Co-authored-by: Rémy Hubscher <hubscher.remy@gmail.com>
2020-04-25 13:15:02 +02:00
Rémy HUBSCHER
741e4023b4
Fix last history string. 2020-04-25 13:04:47 +02:00
Rémy Hubscher
1167a64b50
Translated using Weblate (French)
Currently translated at 97.7% (218 of 223 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/
2020-04-25 13:01:38 +02:00
Rémy HUBSCHER
2854258830
Merge remote-tracking branch 'weblate/master' 2020-04-25 12:47:01 +02:00
Rémy Hubscher
84c8949a81
Translated using Weblate (French)
Currently translated at 83.3% (190 of 228 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/
2020-04-25 12:44:10 +02:00
Rémy HUBSCHER
db47683e4e
Fix history translations. (#580) 2020-04-25 12:44:06 +02:00
Rémy HUBSCHER
64fbda885c
@zorun review.
Revert "Fix obsolete translations."

This reverts commit a2a3b1e2fe.
2020-04-25 12:18:10 +02:00
Rémy HUBSCHER
a8e62734a3
Fix weblate conflicts. 2020-04-25 12:15:00 +02:00
Rémy HUBSCHER
6129191b26
Fix sqlite only migration. (#579) 2020-04-25 11:55:46 +02:00
Baptiste
f5d861199d
Translated using Weblate (French)
Currently translated at 81.5% (186 of 228 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/
2020-04-25 11:55:25 +02:00
zorun
d6d084f26a
Fix translations (#575)
* Fix user-facing string and update translation catalog

In the flash message confirming member creation, change "member had been
added" into the correct form "member has been added".

No translation has been changed.  Some translators seem to have already
spotted the mistake while translating, but I can't tell for all languages.

* Change "Person" to "Participant" in history view

Currently, the main user-facing term is "Participant", as seen for
instance in the "Add participant" form.  "Person" is not used anywhere in
the interface.

See #302 for a more general discussion on choosing the right terminology.

* Fix obsolete translations.

Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
Co-authored-by: Rémy HUBSCHER <hubscher.remy@gmail.com>
2020-04-25 11:55:20 +02:00
zorun
c2afed269a
Add weblate translation status to the README (#574)
Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2020-04-25 11:50:45 +02:00
zorun
e458da954d
Reorganize "Contributing" documentation to be more accessible to new contributors (#573)
* Reorganize "Contributing" documentation to be more accessible to new contributors

The following changes were done:

- move "How to contribute" first, and "Set up a dev environment" as the
  second section.  This way, a new contributor has access to the most
  general information first, instead of the very specific "dev
  environment" documentation.

- reduce "How to contribute" / "As a developer" by moving the part about
  tests to a new "Contributing as a developer" section (see below).  This
  way, all types of contributions get roughly the same amount of text in
  the first "How to contribute" section.

- add a new "Contributing as a developer" section, which lists items that
  are useful when preparing a code contribution (running tests, formatting
  code, create database migration).  These items were moved either from
  "How to contribute" or from "Set up a dev environment".

* Add brief documentation about updating and adding tests

Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2020-04-25 11:49:50 +02:00
zorun
d0fa723877
Add Indonesian and Norwegian to the list of supported languages (#572)
According to https://hosted.weblate.org/projects/i-hate-money/i-hate-money/
these translations are almost complete (69% and 58% currently, but that's
because there have been lots of new strings to translate recently)

Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
2020-04-25 11:48:32 +02:00
Rémy HUBSCHER
10c35e41ce
Update install docs. 2020-04-24 15:22:37 +02:00
zorun
d4ad149a63
Improve documentation regarding database migrations (#569) 2020-04-24 13:45:39 +02:00
Rémy HUBSCHER
7587e292fb
Remove obsolete python code (<3.6). (#571) 2020-04-24 12:32:52 +02:00
Weblate (bot)
abf1eea842
Translated using Weblate (French) (#566)
Currently translated at 80.7% (184 of 228 strings)

Translation: I Hate Money/I Hate Money
Translate-URL: https://hosted.weblate.org/projects/i-hate-money/i-hate-money/fr/

Co-authored-by: Glandos <bugs-github@antipoul.fr>
2020-04-23 11:12:16 +02:00
Rémy HUBSCHER
53dae96bdb
Pin WTForms 2.2.1 2020-04-23 10:22:50 +02:00
Rémy HUBSCHER
3592a8e2f7
Update translations. 2020-04-23 10:10:37 +02:00
Rémy HUBSCHER
8e6643302f
Add a word about isort in the contributing docs. (#564) 2020-04-22 09:42:50 +02:00
Glandos
11aef3f3d1
update i18n (#562) 2020-04-21 14:41:27 +02:00
Glandos
32ccbd09aa
Update CONTRIBUTORS 2020-04-21 14:17:23 +02:00
Rémy HUBSCHER
299c64a48c
Add isort support. (#561) 2020-04-21 13:59:41 +02:00
Rémy HUBSCHER
f0b40578ad
Fix makefile 2020-04-21 11:15:51 +02:00
Rémy HUBSCHER
5efb158938
Update docs requirements sphinx and docutils. 2020-04-21 10:34:14 +02:00