Commit Graph

27763 Commits

Author SHA1 Message Date
Nick Hall
7b5c381b8f Add new note type of "Analysis"
This is intended to be used for notes that contain all types
of analysis conducted by the researcher. Examples include
proof arguments and the analysis of evidence.
2023-07-27 18:56:46 +01:00
Nick Hall
81c1189141 Merge pull request #1425 from cdhorn/ch-pylint-gen-utils-db 2023-07-27 18:32:16 +01:00
Christopher Horn
54a4efcd61 Add three missing simplifications 2023-07-27 18:24:07 +01:00
Christopher Horn
72553fdfcf Pylint cleanups and minor optimizations gen.utils.db 2023-07-27 18:24:07 +01:00
Nick Hall
262440fcea Add a new primary surname substitution keyword option
Adds a new "p" option to display the primary surname with prefix
if present as part of a name format.

For example:  $n(f p)

to display a name as a first name with primary surname only.
2023-07-27 18:02:11 +01:00
stevestock
36b01e25f2 Enhance name formats in the genealogytree reports
Allow the preferred name to be either:
  - the call name only.
  - all the given names.
  - the call name if specified, else all the given names.

Added two more options to the name formats.
2023-07-27 17:45:05 +01:00
khrys63
fa8cef2bf1 Add JJ/MM/AAAA French date format 2023-07-27 17:23:08 +01:00
SNoiraud
f59e4d2889 Display leap day anniversaries every year on calendars
Added a new anniversary method to dates which returns a day and
month on which to display leap day anniversaries on non-leap
years.

Added an option in the preferences display tab which allows the
user to specify on which day the anniversary should be displayed.
The options are: 28th Feb, 1st Mar or only on 29th Feb.

Fixes #12511
2023-07-27 17:06:12 +01:00
Hosted Weblate
e2dbba4a62 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/
2023-07-26 20:39:55 +01:00
gallegonovato
74fad5c88a Translated using Weblate (Spanish)
Currently translated at 99.3% (6885 of 6933 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/es/
2023-07-26 20:39:55 +01:00
Nick Hall
765498b223 Update gramps.pot 2023-07-26 17:37:03 +01:00
Nick Hall
2319e04d95 Add header to XML fragments file
A header containing a charset is required by xgettext.
2023-07-26 17:32:16 +01:00
Nick Hall
91473e65fb Enhance Date Parser Display Test debug tool
Test for both Julian and Gregorian dates.
Add translated strings already used elsewhere.
2023-07-25 23:27:51 +01:00
SNoiraud
417a65f721 Birthday and Anniversary Report: add person ID 2023-07-25 23:15:05 +01:00
Nick Hall
860406e2a3 Fix garbage collection issue in ConfigManager
Instances of the python configparser are not removed by the
garbage collector unless some internal objects are deleted first.
This is not an issue on the first run where we load the main
Gramps ini file, but on subsequent runs there are uncollected
objects after loading the view configuration files.

This fix is not ideal because it accesses protected attributes
of the configparser.
2023-07-25 22:08:23 +01:00
SNoiraud
87b192b8d2 Fix some problems after commit 35f20a88
- Some places are not created so we have a 404 error
- If we have no latitude, longitude, don't show an error format

Fixes #12821
2023-07-24 22:44:16 +01:00
SNoiraud
b70087fd78 Add coordinates format with description
Fixes #11248
2023-07-24 22:31:37 +01:00
SNoiraud
974d4bae18 Sort events by date in the individual page.
Fixes #012717
2023-07-24 21:55:49 +01:00
Nick Hall
3dad2e8552 Fix date modifiers for fr 2023-07-24 21:13:27 +01:00
Nick Hall
ab016323e2 Translated using Weblate (French)
Currently translated at 95.9% (6653 of 6933 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/fr/
2023-07-24 21:12:09 +01:00
Yaron Shahrabani
1093962154 Translated using Weblate (Hebrew)
Currently translated at 100.0% (6933 of 6933 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/he/
2023-07-24 21:12:09 +01:00
Avi Markovitz
0847b5dafa Translated using Weblate (Hebrew)
Currently translated at 100.0% (6933 of 6933 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/he/
2023-07-24 21:12:09 +01:00
Stephan Paternotte
584d84a06f Translated using Weblate (Dutch)
Currently translated at 100.0% (6933 of 6933 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/nl/

Translated using Weblate (Dutch)

Currently translated at 100.0% (6933 of 6933 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/nl/
2023-07-24 21:12:09 +01:00
Mihle
c6d8869d03 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (6933 of 6933 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/nb_NO/
2023-07-24 21:12:09 +01:00
Mikal Thunold-Olsen
ed65306b5c Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (6933 of 6933 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/nb_NO/
2023-07-24 21:12:09 +01:00
SNoiraud
8b64b9f145 Add the possibility of case sensitive/insensitive search
See https://gramps.discourse.group/t/help-with-regex-to-create-gramps-case-sensitive-filter/2536
2023-07-24 20:43:36 +01:00
SNoiraud
e7e1b74aae Narweb: clarify how to get the API_KEY
Fixes #12646
2023-07-24 19:17:35 +01:00
Nick Hall
5b540d65bc Merge pull request #1378 from cdhorn/ch-configmgr-comment 2023-07-24 19:09:37 +01:00
Christopher Horn
184964c385 Pylint and other cleanups 2023-07-24 19:00:11 +01:00
Christopher Horn
12616394b9 Add support for embedding comments in ini header 2023-07-24 18:59:58 +01:00
Christopher Horn
c122ccbf9d improvement: add stock_category_icon support 2023-07-24 18:42:03 +01:00
romjerome
70e62d438d Common calendar on Statistics chart
Fixes #12571.
2023-07-24 18:03:27 +01:00
khrys63
fde2e180d5 Add option to use genealogical symbols for events 2023-07-24 17:48:44 +01:00
Nick Hall
d84282c496 Fix date modifiers for nb 2023-07-20 21:12:26 +01:00
Mikal Thunold-Olsen
dd755a2826 Translated using Weblate (Norwegian Bokmål)
Currently translated at 96.8% (6718 of 6933 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/nb_NO/
2023-07-20 21:11:24 +01:00
Andi Chandler
92e18e2d65 Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (6933 of 6933 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/en_GB/
2023-07-20 21:11:24 +01:00
Yaron Shahrabani
3da30c80d7 Translated using Weblate (Hebrew)
Currently translated at 100.0% (6933 of 6933 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/he/

Translated using Weblate (Hebrew)

Currently translated at 100.0% (6933 of 6933 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/he/
2023-07-20 21:11:24 +01:00
Avi Markovitz
9c03121a58 Translated using Weblate (Hebrew)
Currently translated at 100.0% (6933 of 6933 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/he/
2023-07-20 21:11:24 +01:00
Nick Hall
aae975d1de Merge pull request #1172 from SNoiraud/FR12117 2023-07-18 17:58:13 +01:00
Nick Hall
fb3378a096 Add option to suppress warning 2023-07-18 17:47:34 +01:00
SNoiraud
de50bcf7e6 Display a tooltip warning if a window saves data immediately
This occurs in the following windows:
- Preferences
- Clipboard
- Organize tags
- Filter editors

Fixes #12117
2023-07-18 17:13:44 +01:00
albertoriella
1456d10925 Added flipped text option to the Fan Chart report
Added flip_text option to Graphical Report Fan Chart.
This option flips the names in generations 2, 3 and 4 that on the
bottom half of the fan.
2023-07-17 21:54:52 +01:00
Nick Hall
fba5bfb584 Migrate build from distutils to setuptools
Distutils is deprecated with removal planned for Python 3.12.
2023-07-17 21:17:19 +01:00
Nick Hall
b12cc4cf60 Fix display warnings in unit tests
Attemps to get rid of the follow warning:
"Unable to init server: Could not connect: Connection refused"
2023-07-17 21:05:51 +01:00
Nick Hall
ca809da916 Merge pull request #1463 from jralls/pylint 2023-07-17 20:59:46 +01:00
John Ralls
7051d3bf13 Extract win32 localatiztion to a new file win32locale.py. 2023-07-17 20:52:32 +01:00
John Ralls
354e191ea0 Grampslocale: Fix minor PyLint complaints.
Short/duplicate variable names, missing docstrings, gratuitous
semicolons, excess returns, etc.
2023-07-17 20:52:32 +01:00
John Ralls
a89faa85e0 Grampslocale: Fix PyLint complaints about import statements.
Or comment ones that can't be fixed because their placement is to
prevent circular imports.
2023-07-17 20:52:31 +01:00
John Ralls
d5dd8d698c Remove deprecated functions locale.getdefaultlocale and locale.format.
Remove also GrampsLocale.format because it was there only to mirror
locale's API, and update GrampsLocale.format_string's signature to
match locale.format_string's post-python3.7.
2023-07-17 20:52:31 +01:00
John Ralls
7f8455c867 Extract translation classes from grampslocale.py
For name clarity and to reduce the line count in grampslocale.py that
Pylint thinks is excessive.
2023-07-17 20:52:31 +01:00