4558 Commits

Author SHA1 Message Date
Serge Noiraud
4472a38854
Narweb: Inconsistency between the name of the link (#1272)
to a reference and the name of this reference for an individual.

Fixes #12336
2021-07-16 09:12:29 +02:00
Leonhaeuser
de0b3889ea German relation calculator fixed issue if more then 24 generations between the two person 2021-06-23 10:26:29 +02:00
SNoiraud
ac67142665 Navweb: Solve a merge problem about msgctxt 2021-06-05 19:07:30 +01:00
Nick Hall
9dfa16a2b3 Use msgctxt in Lexeme docstring 2021-06-04 22:05:28 +01:00
Nick Hall
99bf949afa Revert "Move comments away from translated strings"
This reverts commit 1423662e33d9468b36ee343498bd7d986ee4a13c.
2021-06-03 00:04:53 +01:00
Nick Hall
ea802db485 Add de_AT to language lists 2021-06-02 23:29:03 +01:00
romjerome
001941ede3 Limit print statement by using logging module
python3 Gramps.py -d "gui.uimanager"
2021-06-01 18:45:09 +01:00
Nick Hall
d4d9e302f8 Fix spelling and remove extra newline 2021-06-01 18:29:27 +01:00
Nick Hall
a889b91b57 Further changes 2021-06-01 18:15:59 +01:00
Allan Nordhøy
ccf316f59e Correct English in narrative web report 2021-06-01 18:15:59 +01:00
Nick Hall
7c43a08952 Add "Translator" tag to comments intended for translators 2021-06-01 14:29:00 +01:00
Nick Hall
7ef0cc3bff Convert old translator tags
Change the old tags "translator" and "TRANSLATOR" to "Translator".
2021-06-01 14:16:44 +01:00
Tian Shixiong
fb97e918fa Add the missing word 2021-05-28 19:19:16 +01:00
Allan Nordhøy
f84b1a23a3 Spelling: Python, media type, set up, could not 2021-05-24 22:55:05 +01:00
Luigi Toscano
fe2cd4caa6 Various fixes to user-visible strings
The change includes various fixes:
- removal of trailing whitespaces;
- consistent usage of the final dot (instead of a question mark);
- fix a few acronyms (uppercase when needed, correct spelling).
2021-05-24 22:54:47 +01:00
Nick Hall
1423662e33 Move comments away from translated strings
This will remove comments not relevant to translators from the
POT file.
2021-05-24 18:54:28 +01:00
SNoiraud
ace772812a image magic: add bmp and tiff + Readme 2021-05-21 19:32:28 +01:00
SNoiraud
4cd968daa6 image magic exception if file not found 2021-05-21 19:32:28 +01:00
SNoiraud
615cd2f59c "Number of Parents" column in Person Views
doesn't sum all parent

Fixes #012268
2021-05-21 18:04:01 +01:00
Serge Noiraud
720e4b9b4b
Narrative web: Toggle bug for source attribute (#1203) 2021-05-11 09:07:44 +02:00
Paul Culley
a7e4d136b8
In familysidebarfilter, search on each part of name (#1138)
Instead of requiring that the entire search string matches a single
one of the Person's names, the function will require that each word
in the search string matches any of the Person's name fields.

Fixes #12023
2021-05-06 10:31:48 -05:00
Serge Noiraud
f4b88100b1
citations gramplet: add date, page, confidence (#1180)
* citations gramplet: add date, page, confidence

Fixes #09224
discourse: https://gramps.discourse.group/t/enhanced-citations-gramplet/983

This add date, page and confidence to the citation gramplet.
In addition, I modified all citation tabs for people, family, place, ...
I added the date, the publisher and confidence
For that, I also modify:
gramps/gui/editors/displaytabs/citationembedlist.py
gramps/gui/editors/displaytabs/citationrefmodel.py

* Better pylint score

* pylint sometimes makes mistakes

* Change columns order and size

* citations tab: sort correctly by date

* Adding one column change the handle place.
2021-05-06 10:23:26 -05:00
Serge Noiraud
e450ba0a82
Display the event date in the backlinks gramplet (#1185)
Fixes #012230
2021-05-06 10:22:06 -05:00
Paul Culley
0945f8908c
Fix db corrupted error message to make it apply to all db types (#1189)
Fixes #12242
2021-05-06 10:21:16 -05:00
Benedikt Werner
249a3180f0
Set new media as active (#1191) 2021-05-06 10:17:30 -05:00
Benedikt Werner
410cffe832
Allow entering place latlong without space (#1190)
* Allow entering place latlong without space

* Allow entering place latlong without space in editplaceref
2021-05-06 10:16:21 -05:00
romjerome
1b4ac9dc0b
typo on variable name
bug report 12039
contribution by zebulon
2021-04-13 09:06:15 +02:00
Serge Noiraud
bfaab5645f
NarWeb: remove the note type 'Html code' for notes (#1176)
* NarWeb: remove the note type 'Html code' for notes

Fixes #12184

Html code has no real meaning for a common reader

* better pylint score
2021-02-13 17:40:17 +01:00
Serge Noiraud
66680851f2
Narweb: add php session_start (#1169)
* Narweb: add php session_start

Fixes #12135

- remove php3
- remove duplicate code

* libhtml: better pylint score
2021-02-13 17:39:03 +01:00
Serge Noiraud
0bc546cb72
Calendar: Use the death symbol defined in pref (#1167) 2021-01-12 11:08:35 +01:00
Serge Noiraud
3d4ec8382d
Narweb: in cms mode, some inconsistent image links (#1157) 2020-12-29 10:01:25 +01: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
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
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 2020-09-16 21:37:57 +01:00
Nick Hall
f15263e754 Create a development release for PyPI testing 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
bb1c784d04 Bump all version numbers to 5.2 2020-09-15 16:59:43 +01: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
Nick Hall
3ca82e2ebc Remove the resource-path file
Attempt to derive the resource path from the package path assuming that
one of the three main installation schemes has been used.

The package path will be one of the following:

  <prefix>/lib/pythonX.Y/site-packages
  <prefix>\Lib\site-packages

  <home>/lib/python

  <userbase>/lib/pythonX.Y/site-packages
  <userbase>\PythonXY\site-packages

  Where <prefix>, <home> and <userbase> are the resource paths used in the
  Prefix, Home and User installation schemes.

The use of the command line option "--install-data" in the setup script
is no longer supported.

This change is intended to allow a Gramps core package to be created
as a wheel and installed via pip.
2020-09-02 21:07:22 +01:00
prculley
e3b6076eef Merge branch 'gramps51' 2020-08-23 09:38:15 -05:00
Paul Culley
8000eaca2f
Add tooltips to sidebar filter 'Find' and 'Reset' buttons. (#1091)
Issue #11783
2020-08-21 09:50:15 -05:00
Paul Culley
8654c50594
Bug10853m (#1096)
* autobackup; add delay after wake from sleep/hibernate to allow time
for system to settle.

Fixes #10953

* Autobackup only if new commits since last autobackup in session
2020-08-21 09:46:18 -05:00
Alan Crosswell
261a3d8965
Fix GEDCOM import/export DATE/TIME creep by UTC offset. (#1089) 2020-08-21 09:38:06 -05:00
prculley
c59278ef20 Bump to 5.1.4 2020-08-12 12:05:25 -05:00
prculley
767557be61 Release Gramps 5.1.3 2020-08-12 11:28:29 -05:00