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
Mirko Leonhaeuser
d2305dd342
Translated using Weblate (German)
...
Currently translated at 100.0% (6933 of 6933 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
2023-07-13 22:02:56 +01:00
Matti Niemelä
7b15a7a651
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 98.9% (6861 of 6933 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/fi/
Translated using Weblate (Finnish)
Currently translated at 98.9% (6860 of 6933 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/fi/
2023-07-13 22:02:56 +01:00
Nick Hall
9079eb718a
Fix date modifiers for fi
2023-07-12 21:50:58 +01:00
Pär Ekholm
15c5a7c335
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (6933 of 6933 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/sv/
2023-07-12 21:50:25 +01:00
Stephan Paternotte
5d5cc17f3b
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-12 21:50:25 +01:00
Matti Niemelä
9921e4ae2a
Translated using Weblate (Finnish)
...
Currently translated at 99.0% (6865 of 6933 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/fi/
2023-07-12 21:50:25 +01:00
Nick Hall
0f52fdc560
Fix date modifiers for es
2023-07-12 17:48:20 +01:00
Pedro Albuquerque
119e4ec6a8
Translated using Weblate (Portuguese (Portugal))
...
Currently translated at 100.0% (6933 of 6933 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/pt_PT/
2023-07-12 17:47:13 +01:00
Hosted Weblate
1c841689d2
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-12 17:47:13 +01:00
Yaron Shahrabani
aafa697797
Translated using Weblate (Hebrew)
...
Currently translated at 98.7% (6847 of 6934 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/he/
2023-07-12 17:47:13 +01:00
Óscar Fernández Díaz
502cf65cac
Translated using Weblate (Spanish)
...
Currently translated at 99.4% (6894 of 6934 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/es/
2023-07-12 17:47:13 +01:00
Nick Hall
f69f01157b
Weblate translator requested updates to source strings
2023-07-12 15:58:50 +01:00
Nick Hall
63abb0a7af
Fix date modifiers for de, nl and sv
2023-07-11 22:23:42 +01:00
Pär Ekholm
e9d67ca008
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (6934 of 6934 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/sv/
2023-07-11 22:22:28 +01:00
Stephan Paternotte
1076b9be45
Translated using Weblate (Dutch)
...
Currently translated at 99.9% (6933 of 6934 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/nl/
2023-07-11 22:22:28 +01:00
Oskari Lavinto
2fd1e6c136
Translated using Weblate (Finnish)
...
Currently translated at 98.6% (6840 of 6934 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/fi/
2023-07-11 22:22:28 +01:00
Mirko Leonhaeuser
9e9a0ddd9d
Translated using Weblate (German)
...
Currently translated at 100.0% (6934 of 6934 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
2023-07-11 22:22:28 +01:00
André Apitzsch
5df562d302
Port from GtkSpell to Gspell
2023-07-11 22:03:15 +01:00