27338 Commits

Author SHA1 Message Date
Serge Noiraud
0bc546cb72
Calendar: Use the death symbol defined in pref (#1167) 2021-01-12 11:08:35 +01:00
Serge Noiraud
7443cf4207
Links in notes not obvious in Narrated Web report (#1159)
Fixes #12105
2020-12-29 10:03:15 +01:00
Serge Noiraud
3d4ec8382d
Narweb: in cms mode, some inconsistent image links (#1157) 2020-12-29 10:01:25 +01:00
Zdeněk Hataš
06e5ff4e66 Update Czech translation 2020-12-18 19:05:34 +01:00
Nick Hall
1a99f9f7a0 Merge pull request #1141 from a-andre:raise_min 2020-11-15 21:30:54 +00:00
André Apitzsch
4b964b12dc Test: No need to check for mock support with Python 3.3+ 2020-11-15 21:28:19 +00:00
André Apitzsch
5d78b7aec3 Simplify code 2020-11-15 21:28:19 +00:00
André Apitzsch
adc50f7a08 Bump required Python version to 3.5 2020-11-15 21:28:19 +00:00
André Apitzsch
4492999f21 Fix tags in shared mime info file
With the switch from intltool to gettext underscores became obsolete.
2020-11-15 21:20:17 +00:00
Nick Hall
a69978af34 Merge pull request #1140 from a-andre:appdata 2020-11-15 21:15:27 +00:00
Nick Hall
b00ddb921b Further Appdata changes
* Make appdata summary consistent with desktop comment.
* Avoid using deprecated license identifier.
* Tidy up tag order.
2020-11-15 21:02:40 +00:00
André Apitzsch
249807267f Update Appdata to pass validation
* Fix tags. With the switch from intltool to gettext underscores
  became obsolete.
* Add content-rating information.
* Add link for translators.
* Add release information.
* Add translation domain.
2020-11-15 20:59:10 +00:00
Nick Hall
9c0dca6bd1 Merge pull request #1053 from cjmayo:themeicon 2020-11-14 19:29:58 +00:00
Chris Mayo
02e0c1c67d Install 128x128 and 256x256 application icons
Created with ImageMagick using e.g.:

convert -background none ../../../gramps.svg -geometry 256x256 gramps.png
2020-11-14 19:23:25 +00:00
Chris Mayo
ebf1715468 Install MIME type icons into the hicolor theme
The gnome theme is defunct.

Remove gnome-mime- prefix from icon filenames.
2020-11-14 19:23:24 +00:00
Nick Hall
c10f2da00e Install application icons into correct directories 2020-11-14 19:10:34 +00:00
Serge Noiraud
31b80da797
Multiple languages ​​for the narrative web and optional other additions (#1051)
* Navweb: multi-language configuration.
* Navweb: multi-language exec, navigation menu, css
* Navweb: make css responsive for multi-language
* Language menu must work with a non english lang
* Avoid to copy common files for each language
* Use cms and archive in multi-languages
* Add the default index.
* Some cleanup.
* Images: performances improvement with image_size

Need to use the magic library (python-magic, python3-magic, ...)
If this library don't exist on the system, continue to use the Gdk method.

- force archive if we use CMS
- remove some unused code
- some strings are not translatable
- stay on the same page when you change language
- add image in the ancestor tree for all levels and not for the first 5

performances:
- copy images and thumbs only for the first language
* Some minor corrections and performances test
* Update comments for methods and functions
* Narweb: add show tags option
* Try to translate tags and suppress the colon (:)
* Narweb: integrate of webcal for multilang use
For each lang, we use the related calendar if it exists
* Death string only translated for the locale lang
* set correct url for extrapage.
* Add optional toggle for html sections
* show birth and death date if close option selected
* No background in references section with Mainz css
* Remove photo from list incompatible with multilang
* Add the first photo to the place page marker
* Add associated persons.
* Solves 'undefined' in map popup.
* Calendar: Set the background for the current day
* Thumbnail align problem with long description.
* Set the contact page date to the note date
* Add a scroll to top button.
* Increase the nb of generations since we can scroll
* Difficult to see the "go to top" icon.
* Better management for the toggle switch
2020-11-09 12:10:25 +01:00
vantu5z
9f71372a97 Update Russian translation 2020-10-15 16:06:19 +03:00
Zdeněk Hataš
0993d9cfc3 Update Czech translation - typo fixes 2020-09-25 09:02:45 +02:00
Tian Shixiong
34471834ab Update Simplified Chinese translation 2020-09-24 22:37:57 +01:00
Jan Sparreboom
c567b9e399 Update Dutch translation 2020-09-24 21:58:57 +01:00
Jan Sparreboom
ff912f844c Update Dutch translation 2020-09-24 21:36:52 +01:00
Lajos Nemeséri
de7b621ebc Revised and updated hu translation 2020-09-24 21:01:09 +01:00
Lajos Nemeséri
45eac501a9 Revised and updated hu translation 2020-09-24 19:41:31 +01:00
Juan Saavedra
e44c7f36d6 Update Spanish translation 2020-09-24 19:25:50 +01:00
Juan Saavedra
d4e85c2397 Update Spanish translation 2020-09-24 17:52:35 +01:00
David Straub
a8e7cee670 Fix travis build 2020-09-22 08:37:07 +02:00
Nick Hall
cc7ca7ff99 Support msgctxt in po files instead of a vertical bar in the msgid
For developers, an extra optional context parameter has been
added to the gettext functions. For example, _('point size|pt')
should now be written as _('pt', 'point size').

For translators this would appear in the message catalog as:

msgctxt "point size"
msgid "pt"
msgstr "pt"

Implements #3416.
2020-09-21 22:03:43 +01:00
Nick Hall
01403a0d03 Remove version qualifier 2020-09-16 22:50:58 +01:00
Nick Hall
b95b4258ef Another PyPI test release v5.2.0-dev2 2020-09-16 21:37:57 +01:00
Nick Hall
7994d01320 Change deploy script to fail on error 2020-09-16 21:33:39 +01:00
Nick Hall
67e2620e7a Change Travis CI to use python 3.5 2020-09-16 21:32:20 +01:00
Nick Hall
f15263e754 Create a development release for PyPI testing v5.2.0-dev1 2020-09-16 18:54:35 +01:00
Nick Hall
8408cea4b5 Move beta warning into the status bar 2020-09-16 17:45:30 +01:00
Nick Hall
fd380e345c Install application icons into correct directories 2020-09-15 19:06:26 +01:00
Nick Hall
ffa97fcad2 Merge pull request #1114 from DavidMStraub:pip 2020-09-15 18:52:42 +01:00
David Straub
dafedbebd5 Add PyPI auto-deploy to Travis CI 2020-09-15 18:38:13 +01:00
David Straub
71d95faeea Use setup from setuptools to allow creation of python wheels
Add extras_require
2020-09-15 18:37:11 +01:00
Nick Hall
33e3f4eb64 Update Travis CI to use gramps52 addons 2020-09-15 17:20:06 +01:00
Nick Hall
bb1c784d04 Bump all version numbers to 5.2 2020-09-15 16:59:43 +01:00
bokfink
c7a4d287f0
Fix error in Birthday and Anniversary report (#1113)
Fixes an error triggered when the first person_handle in the list
has a death event, but no birth event (get_birth_ref() == None)
and does not have family relationships (spouse_handle == None).
These conditions lead to the local variable short_name not being
declared before it comes time to process death events.

Fixes #11766
2020-09-14 11:13:08 -05:00
Paul Culley
9938c71a1c
Fix EditEventRef, EditPlaceRef, EditMediaRef, EditRepoRef for improperly (#1112)
saving objects in their object lists.

Fixes #11917, #11933
2020-09-14 11:12:12 -05:00
Paul Culley
bd6e7c1007
Check & Repair: search and fix bad "links" in StyledTextTags (#1093)
Issue #11855
2020-09-14 11:11:14 -05:00
Paul Culley
c0d622c16a
Fix graphdoc to properly escape characters in ids for Graphviz (#1111)
Fixes #11741
2020-09-14 11:10:20 -05:00
John Ralls
b38f77f2aa
Replace inspect.stack() with inspect.currentframe() (#1104)
* Replace inspect.stack() with inspect.currentframe()

Fixes #11874

Works around https://bugs.python.org/issue12920 which causes every
call to inspect.trace() to fail because __main__ is always the
starting point.

* Fix a few Codecov complaints from files touched by previous commit.

Ignoring the "duplicate code" issue caused by the empty comment line
at the beginning of every file.
2020-09-14 11:08:58 -05:00
RossGammon
d91fc9e2fb
Update Debian directory after producing the deb file for the 5.1.3 (#1100)
Release.

Co-authored-by: Ross Gammon <rossgammon@debian.org>
2020-09-14 11:05:21 -05:00
Paul Culley
198602be61
Fix crash sorting on columns in Selectors with TreeModels (#1099)
Fixes #11750
2020-09-14 11:04:12 -05:00
Paul Culley
3f9f3215ee
Fix progress bar freeze due to changes in Gtk (#1103)
Fixes #11642
2020-09-14 11:02:48 -05:00
Paul Culley
beb388a30d
Fix svgdrawdoc for text containing XML invalid characters (#1110)
Fixes #11929
2020-09-14 11:00:43 -05:00
Nick Hall
60f1866292 Replace intltool with gettext tools
The build now requires gettext v0.19.7 or above.

Removed obsolete files:
  * gramps.applications
  * gramps.keys
  * gramps.mime

Created ITS rules for holidays.xml and tips.xml files.

Included ITS files for shared-mime-info from a gettext v0.20.2
installation.
2020-09-02 21:22:04 +01:00