Commit Graph

27689 Commits

Author SHA1 Message Date
SNoiraud
1a9a66fbc5 Use bottom margin instead of an empty label. 2023-07-24 15:54:47 +01:00
SNoiraud
69ea2c99d2 Remove only if it's a temporary file. 2023-07-24 15:54:47 +01:00
SNoiraud
6ac1d3ba15 The cancel button does not work. 2023-07-24 15:54:47 +01:00
SNoiraud
5c33769048 Change the tooltip message 2023-07-24 15:54:47 +01:00
SNoiraud
f5c12991f5 Remove only the tmp file 2023-07-24 15:54:47 +01:00
SNoiraud
ab225c4542 solve duplicate IDs and the database name edition 2023-07-24 15:54:47 +01:00
SNoiraud
7f677ed584 Add copyright and remove a warning message 2023-07-24 15:54:47 +01:00
SNoiraud
004815d4c3 Default database update
1 - Set Home person
2 - Remove my death event
3 - Add surnames
4 - Add my brother
5 - Add my wife
6 - Add my son
2023-07-24 15:54:47 +01:00
SNoiraud
6ac20c00ac Make an easy way to start gramps for novices
This is related to:
https://gramps.discourse.group/t/novice-user-ux-proposed-solution/1832
2023-07-24 15:53:29 +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
John Ralls
48d4196739 Locale: Correct remaining pylint issues in maclocale.py. 2023-07-17 20:52:31 +01:00
John Ralls
e3a2797a33 Locale: Fix shadowed variables. 2023-07-17 20:52:31 +01:00
John Ralls
4bd5523e1b Locale: Fix unnecessary parens. 2023-07-17 20:52:31 +01:00
John Ralls
5dff2a65df Locale: Fix unused variables. 2023-07-17 20:52:31 +01:00
John Ralls
e4ece434d1 Locale: Fix pylint line-too-long 2023-07-17 20:52:30 +01:00
John Ralls
ef31fcd928 Remove options and disables that pylint no longer uses. 2023-07-17 20:52:30 +01:00
Stephan Paternotte
0f2d863022 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-17 20:51:51 +01:00
Yaron Shahrabani
7107b6127b Translated using Weblate (Hebrew)
Currently translated at 99.8% (6926 of 6933 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/he/
2023-07-17 20:51:51 +01:00
Avi Markovitz
b8573189a2 Translated using Weblate (Hebrew)
Currently translated at 99.8% (6926 of 6933 strings)

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

Translated using Weblate (Hebrew)

Currently translated at 98.9% (6860 of 6933 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/he/
2023-07-17 20:51:51 +01:00
Matti Niemelä
7a49d4414b Translated using Weblate (Finnish)
Currently translated at 99.9% (6932 of 6933 strings)

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

Translated using Weblate (Finnish)

Currently translated at 99.9% (6932 of 6933 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/fi/
2023-07-17 20:51:51 +01:00
Nick Hall
fc61347b41 Fix garbage collection issue in Callback 2023-07-15 22:05:21 +01:00
SNoiraud
218d752920 SrcAttribute object has no attribute has_citations
Fixes #012599
2023-07-15 00:20:00 +01:00
SNoiraud
c7b1a23441 Make the tab columns resizable: PersistentTreeView
Implements #8767
2023-07-15 00:05:36 +01:00
Nick Hall
37395da262 Avoid signal warning during editor clean up
The signal no longer exists to disconnect from at this point.
2023-07-14 22:02:02 +01:00
Nick Hall
934793a0f9 Fix garbage collection issue in UIManager 2023-07-14 21:47:29 +01:00
Nick Hall
8dab5bc71d Save and restore standard streams
This is preferred over using sys.__stdout__ and sys.__stderr__
to return sys.stdout and sys.stderr to their original values.
2023-07-14 21:31:09 +01:00
Nick Hall
1f5dd216bf Close standard streams on exit
Prevents the warning: "ResourceWarning: unclosed file"
2023-07-14 21:31:09 +01:00
Nick Hall
cea2da1b3c Replace os.system with subprocess.call in setup.py 2023-07-14 20:27:18 +01:00
Nick Hall
d858f86a18 Merge pull request #1452 from a-andre/locale 2023-07-13 22:29:06 +01:00
André Apitzsch
6ef80b8d50 grampslocale: Remove unused numeric 2023-07-13 22:26:19 +01:00
André Apitzsch
2accc585f3 grampslocale: Remove unused currency 2023-07-13 22:26:19 +01:00
Olivier Berten
53d32945d4 Color values in the range [0-1] are supposed to be floats
See rgb_to_hex
2023-07-13 22:17:03 +01:00
Nick Hall
cbb0ed1bba Fix date modifiers for ru 2023-07-13 22:03:37 +01:00
Dmitriy Q
0770807cb1 Translated using Weblate (Russian)
Currently translated at 98.9% (6861 of 6933 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/ru/
2023-07-13 22:02:56 +01:00