Commit Graph

27809 Commits

Author SHA1 Message Date
SNoiraud
0a981f0ca6 Check that view exists before calling post_create method
Avoids 'NoneType' object has no attribute 'post_create' error.

Fixes #12638
2023-05-14 22:47:55 +01:00
Jingxuan He
9e81014fc6 Fix a wrong operator bug in the web calendar report 2023-05-14 22:27:59 +01:00
Himanshu Gohel
2da93aad1f Revert "Enclose tree report image path and file name in braces"
Fixes #12437 by reverting commit 75921ceaf4 due to
reports of regression where processing of the generated TeX file fails due to
bad path specificiation for image files.

Change was introduced in bug fix for #10495.

Bugs #12437 and #12697 reported the regression and confirmed that reverting the
change fixes the regression.
2023-05-14 22:13:38 +01:00
SNoiraud
97434a0136 Geography View: Fix number of arguments in add_bookmark method
add_bookmark() takes 2 positional arguments but 3 were given

Fixes #12718
2023-05-14 21:54:33 +01:00
GaryGriffin
181e2d8540 Use date-specific place in report substitution variables
Fix place title in graphical reports which have user-defined display formats
to use date-specific alternate name.

This impacts Ancestor Tree, Descendant Tree, and Family Descendant Tree.

Fixes #12763.
2023-05-14 21:38:49 +01:00
John Ralls
36d03137dd Try to import berkeleydb if bsddb3 isn't found.
berkelydb is usable for python >= 3.6 and required for
python >= 3.10. See https://www.jcea.es/programacion/pybsddb.htm.
2023-05-14 21:11:55 +01:00
Vincent Smeets
f6ac1999dd HtmlDoc: Create a unique filename for cropped images 2023-05-14 21:00:28 +01:00
D.A.Lordemann
a99b48711f Fix corrupted NOTE tag in Gedcom export
Remove Python2 code obsoleted by Python3, which was corrupting GEDCOM export of Gramps Notes text that includes multi-byte utf-8 characters.

Fixes #12709.
2023-05-14 19:03:52 +01:00
SNoiraud
d5d86e9139 Fix IndexError that sometimes occurs when changing view
This occurs when restarting Gramps.

Fixes #12636, #12304, #12429, #12623, #12695.
2023-05-14 18:49:17 +01:00
SNoiraud
35f20a8893 Narrative web: Solves some problems
Force place name to be "Full" names.
Force the country field to be the last field of the place name
Force the State/province to be the penultimate field of the place name

We use place names that stop in the country, but iff we have place names
such as: city, province, country, continent, planet with the continent and
planet as the custom place type, the State/Province field will be
the name of the place continent... (should never happen, but...)

Fixes #12821
2023-05-14 18:15:30 +01:00
SNoiraud
09fd85ef09 Make "gramps -v" consistent with Prerequisites Checker
This patch is related to Bug report #012770.
When a problem occurs, we ask to the user the result of "gramps -v"
and not the result of the PrerequisitesCheckerGramplet
2023-05-12 22:49:07 +01:00
Christopher Horn
0eb562e67b Fix incorrect title of event schema attribute_list 2023-05-12 22:32:08 +01:00
SNoiraud
4ebba02b6b Fix crash when invalid note link
Fixes #012854
2023-05-12 22:11:29 +01:00
SNoiraud
e535fcefa5 Tags with color names don't work in pedigree views
Color tags work correctly in all views except in pedigree views.
These views modify colors:
...
 context.set_source_rgba(*(self.bordercolor[:3] + (0.4,)))
... and
 context.set_source_rgb(*self.bgcolor[:3])

As it works everywhere except in these views, I think it is a bug
even if we cannot enter color names in tags

Fixes #012866
2023-05-12 21:57:24 +01:00
grocanar
2c70982fab Add place name to place in geneweb import
Fixes #12710
2023-05-12 21:24:59 +01:00
Juan Saavedra
3a7b17af01 Give consistency to short months in Spanish 2023-05-12 20:52:07 +01:00
Matthias Urlichs
5e1d36b0ad Implement the GEDCOM tag "_RUFNAME"
RUFNAME is the German word for "call name", i.e. the part of the given
name commonly used to address somebody. Some official documents mark it
as such.

The GEDCOM standards 5.5.1 and 5.5.5 mention this tag.
2023-05-12 20:36:14 +01:00
beernarrd
b7d28a28f1 Translated using Weblate (Slovenian)
Currently translated at 97.1% (6744 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/sl/
2023-05-12 18:08:07 +01:00
Dmitriy Q
a642cfaa03 Translated using Weblate (Russian)
Currently translated at 99.9% (6938 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/ru/
2023-05-12 18:08:07 +01:00
Juan Saavedra
37d89ad73d Translated using Weblate (Spanish)
Currently translated at 100.0% (6939 of 6939 strings)

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

Translated using Weblate (Spanish)

Currently translated at 100.0% (6939 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/es/
2023-05-12 18:08:07 +01:00
Allan Nordhøy
49a14ed8ba Translated using Weblate (Norwegian Bokmål)
Currently translated at 97.5% (6769 of 6939 strings)

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

Translated using Weblate (Norwegian Bokmål)

Currently translated at 97.5% (6769 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/nb_NO/
2023-05-12 18:08:07 +01:00
jmichault
a5b12be9cd Translated using Weblate (French)
Currently translated at 97.4% (6764 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/fr/
2023-05-12 18:08:07 +01:00
Kristijan \"Fremen\" Velkovski
ea42d9477d Translated using Weblate (Macedonian)
Currently translated at 26.4% (1837 of 6939 strings)

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

Translated using Weblate (Macedonian)

Currently translated at 26.3% (1831 of 6939 strings)

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

Translated using Weblate (Macedonian)

Currently translated at 26.2% (1824 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/mk/
2023-05-12 18:08:07 +01:00
linluoxue
b394e36b35 Translated using Weblate (Chinese (Simplified))
Currently translated at 91.8% (6376 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/zh_Hans/
2023-05-12 18:08:07 +01:00
Abel Cheung
3f0db9303f Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 65.2% (4528 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/zh_Hant_HK/
2023-04-12 13:19:37 +01:00
linluoxue
82b9c70a6d Translated using Weblate (Chinese (Simplified))
Currently translated at 91.8% (6376 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/zh_Hans/
2023-04-12 13:19:37 +01:00
maarif s
32ec410a37 Translated using Weblate (Indonesian)
Currently translated at 3.1% (217 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/id/
2023-04-12 13:19:37 +01:00
WaldiS
efe4dd1942 Translated using Weblate (Polish)
Currently translated at 95.7% (6644 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/pl/
2023-04-12 13:19:37 +01:00
Milo Ivir
12add47ee7 Translated using Weblate (Croatian)
Currently translated at 100.0% (6939 of 6939 strings)

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

Translated using Weblate (Croatian)

Currently translated at 100.0% (6939 of 6939 strings)

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

Translated using Weblate (Croatian)

Currently translated at 100.0% (6939 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/hr/
2023-04-12 13:19:37 +01:00
Avi Markovitz
b9665d8f2f Translated using Weblate (Hebrew)
Currently translated at 100.0% (6939 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/he/
2023-04-12 13:19:37 +01:00
Olivier Berten
dd00d7df02 Translated using Weblate (French)
Currently translated at 97.4% (6763 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/fr/
2023-04-12 13:19:37 +01:00
Kristijan \"Fremen\" Velkovski
142da78568 Translated using Weblate (Macedonian)
Currently translated at 26.2% (1822 of 6939 strings)

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

Translated using Weblate (Macedonian)

Currently translated at 26.2% (1821 of 6939 strings)

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

Translated using Weblate (Macedonian)

Currently translated at 26.2% (1820 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/mk/
2023-04-12 13:19:37 +01:00
Mirko Leonhaeuser
8021a8bb33 Translated using Weblate (German)
Currently translated at 100.0% (6939 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
2023-04-12 13:19:37 +01:00
Juan Saavedra
e0c1523842 Translated using Weblate (Spanish)
Currently translated at 100.0% (6939 of 6939 strings)

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

Translated using Weblate (Spanish)

Currently translated at 100.0% (6939 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/es/
2023-04-12 13:19:37 +01:00
Павел Жуков
df0f86d5fe Translated using Weblate (Russian)
Currently translated at 99.9% (6938 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/ru/
2023-04-12 13:19:37 +01:00
Reza Almanda
12f0992a59 Translated using Weblate (Indonesian)
Currently translated at 3.1% (216 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/id/
2023-04-12 13:19:37 +01:00
Medic Momcilo
e302f3e408 Translated using Weblate (Serbian)
Currently translated at 80.7% (5605 of 6939 strings)

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

Translated using Weblate (Serbian)

Currently translated at 76.4% (5308 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/sr/
2023-04-12 13:19:37 +01:00
Andi Chandler
cd20a01f94 Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (6939 of 6939 strings)

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

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (6939 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/en_GB/
2023-04-12 13:19:37 +01:00
Pär Ekholm
30d0405c09 Translated using Weblate (Swedish)
Currently translated at 100.0% (6939 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/sv/
2023-04-12 13:19:37 +01:00
SNoiraud
0170e2b1e6 Crash when invalid event date 2023-04-05 18:41:27 +02:00
SNoiraud
54799df049 ListModel: Only the first level is managed
When we use checkboxes in columns.
The path was converted to int. Why ?
But when we have multiple level, the path format is "x:y" for two levels,
"x:y:z" for three levels, etc
2023-04-04 19:38:10 +02:00
David Straub
47f392ef70 Replace deprecated imp by importlib 2023-03-07 22:00:04 +00:00
Nick Hall
b97facb66f Update Gramps CI workflow to run on Ubuntu 20.04
Ubuntu 18.04 became fully unsupported on 1 Dec 2022.
2023-03-07 21:56:08 +00:00
Nick Hall
30663f2113 Update Gramps CI workflow to run on Ubuntu 20.04
Ubuntu 18.04 became fully unsupported on 1 Dec 2022.
2023-03-07 21:54:45 +00:00
DaveSch-gramps
a3122df673
Add Preferences and Plugin Manager toolbar buttons (#1139)
Add configurable Plugin Manager and Preferences buttons to the toolbar.

Make the Tools, Reports, Clipboard buttons on the toolbar configurable.
2023-03-07 21:29:57 +00:00
Andi Chandler
fe8bcf92bb Translated using Weblate (English (United Kingdom))
Currently translated at 99.8% (6930 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/en_GB/
2023-03-07 21:17:19 +00:00
Andi Chandler
d2a6dc1530 Translated using Weblate (English (United Kingdom))
Currently translated at 99.8% (6929 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/en_GB/
2023-03-07 21:17:19 +00:00
beernarrd
7a695888a1 Translated using Weblate (Slovenian)
Currently translated at 97.0% (6737 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/sl/
2023-03-07 21:17:19 +00:00
Gregor Anželj
fc505e3ca4 Translated using Weblate (Slovenian)
Currently translated at 97.0% (6737 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/sl/
2023-03-07 21:17:19 +00:00
Pier Luigi Cinquantini
819fc84fc6 Translated using Weblate (Esperanto)
Currently translated at 90.1% (6257 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/eo/
2023-03-07 21:17:19 +00:00