Commit Graph

26499 Commits

Author SHA1 Message Date
Serge Noiraud
0f88753a72
Narweb: Description message is not translatable (#1036) 2020-05-05 23:22:22 +02:00
romjerome
2b2624fd7a
typo and trailing space 2020-05-05 16:49:49 +02:00
romjerome
26debf0a82
fix and merge french translation
fix typos, update file references
2020-05-05 16:32:30 +02:00
romjerome
5024e1fc09
update file references for the template generation
$ intltool-update -m
2020-05-01 17:47:37 +02:00
romjerome
95f4fd2e5a
Fix typos
rules around ellipsis, space and comma
2020-04-30 20:31:23 +02:00
romjerome
440832d0f5
review french translation (#1046)
Contributions by Patrick, Jean-Marc, Patrice and others
2020-04-30 16:38:11 +02:00
prculley
a21cb546f7 Speed up Event displaytab and gramplet 2020-04-15 10:37:52 -05:00
Steve Youngs
490fb1ea3b Use the callback parameter passed to EditEvent.__init__ by passing it to EditPrimary.__init__.
This ensures self.callback is initialised as the calling code expects
2020-04-15 10:35:31 -05:00
Steve Youngs
a5b5910f7f For all types of EditPrimary window, consistently call self._do_close() before self.callback(), during save()
EditFamily, EditPerson, EditPlace, EditRepository and EditSource already call self._do_close() before self.callback().
2020-04-15 10:34:23 -05:00
Steve Youngs
2a17f8d99f EditRepository now stores the callback passed to __init__ and calls it during save().
This is for consistency with other types of EditPrimary.
2020-04-15 10:34:23 -05:00
Timo
349edca738 Use shorter name to reduce line length. 2020-04-13 12:04:51 -05:00
Timo
32230d673e Add option that allows to use the name of the individual as title. 2020-04-13 12:04:51 -05:00
prculley
67b83794ef Speed up Event, Media, and Repo reference editors 2020-04-13 12:01:34 -05:00
prculley
7d6113cf38 Speed up Place Reference Editor and Listview for enclose place
Fixes #11531
2020-04-13 12:01:34 -05:00
Mattkmmr
cc7c0a3f13 Update tag.py
- translation for menu strings added
- escape illegal characters in tag_name
2020-04-13 11:55:01 -05:00
prculley
dd63d479cd Faster Multiple Event delete 2020-04-13 11:53:16 -05:00
prculley
31bf3edf17 Faster Multiple Person Delete 2020-04-13 11:53:16 -05:00
prculley
1ce63261c3 Fix StatusBar for potential HandleError 2020-04-13 11:53:16 -05:00
Serge Noiraud
3601877a63
Narweb: possibility to have more than 2 downloads (#1024)
* Narweb: possibility to have more than 2 downloads

By default, I set this to 3 downloads.
If you want to have more than 3 downloads, you have only the variable
self.__max_download to change in the narrativeweb.py.

* better pylint score.
* Narweb: add md5 checksum for each file
* Display a message if the file doesn't exist

Fixes #11626
2020-04-05 10:18:39 +02:00
Serge Noiraud
2ce32d8c6b
Narweb: Add family map to family pages (#1021)
* Narweb: Add family map to family pages
* Narweb: adapt css files to have a better look.

Fixes #011614
2020-04-05 10:17:42 +02:00
Kaj Mikkelsen
ce6f435cd4 Danish translation updated 2020-03-02 13:17:36 +01:00
Kaj Mikkelsen
5578a987bc Merge branch 'master' of github.com:gramps-project/gramps
Danish translation submited in da.po
2020-03-02 13:13:30 +01:00
Kaj Mikkelsen
7c09b05b82 Danish translation updated 2020-03-02 13:11:47 +01:00
prculley
690e8b308e Smoother progress for Rebuid reference maps/secondary indices 2020-02-18 16:06:13 -06:00
prculley
aeed7edd46 Prevent bsddb from being selected/used 2020-02-18 16:06:13 -06:00
prculley
ae66ada99c Stop using bsddb in tests 2020-02-18 16:06:13 -06:00
prculley
b52c118673 Deprecate BSDDB, but allow to be loaded with convert to sqlite 2020-02-18 16:06:13 -06:00
Oleh Astappiev
1fc212192e Update ukrainian translation (#992) 2020-01-20 09:56:54 +02:00
Serge Noiraud
763f2738dd
NAVWEB and WEBCAL: some minor corrections (#980)
* NAVWEB: set unused media to False by default

Fixes #11496

* Navweb: Center correctly the map in the web page

* Webcal: Dropmenu doesn't work if only one year.

* Navweb: Add notes to updates and delete empty rows

* Navweb: some code cleanup.

* Navweb: remove unused variable

* Narweb: references enhancement on place pages.

* Navweb: convert the years in gregorian cal.

* Narweb: remove unused argument

* Narweb: really solves the pyICU problem

* WEBCAL: missing death symbol
2020-01-17 11:46:40 +01:00
Serge Noiraud
a2ae7b93fc
Geography: Add custom tiles provider (#976)
* Geography: Add custom tiles provider

Fixes #11416

* Geography: some cleanup
2020-01-10 17:40:33 +01:00
Serge Noiraud
8184f1b603
Narweb: enclosed places not correctly sorted. (#977)
* Narweb: enclosed places nor correctly sorted.

Fixes #11487

* Narweb: some cleanup
2020-01-10 17:32:58 +01:00
Sam Manzi
50d8b110ae Add context menu entries for Gramplet Bar (#937)
Link to help for Gramplets and the Gramplet Bar Menu

Issue #10919
2020-01-09 12:16:14 -06:00
Sam Manzi
539a443639 Pedigree View - Add Help context menu (#938)
* Add [About Pedigree View]

Fixes #10919
2020-01-09 12:15:10 -06:00
Moorob
0264dbbe43 Update _pythonmime.py (#972)
When editing a Media image, Unknown is displayed if the image is a Tiff or Png.  This changes this to display TIFF image or PNG image instead.  Just a cosmetic change.
2020-01-09 12:06:49 -06:00
Paul Culley
f46e5479a7
Improve CSV import to allow places that are not in enclosed order (#942)
* Improve CSV import to allow places that are not in enclosed order

Fixes #11407

* Add LOG.debug report of new places to CSV import
2020-01-09 12:01:56 -06:00
Serge Noiraud
3938fac0d4
Narrative web: New features (#842)
* Narrative: Don't use event links if no event pages

+ some pylint changes

* map popup links must be visible for all stylesheet

* Narrative web: add scrollbar in popup content

* Narweb: Some improvement in popup

* Narweb: remove unused variable.
2019-12-15 09:59:58 +01:00
Serge Noiraud
ac37f11b87
Add tooltips for places in clean input data tool (#905)
* Add tooltips for places in clean input data

* Better pylint score for clean input data
2019-12-14 13:40:49 +01:00
Serge Noiraud
fd072528d2
Narrative web: Some improvements (#931)
* Narrative web: Some improvements

- Event type, Date and place in bold
- Family events shifted one column on the left
- ancestortree css file before narrative-screen to allow modification
- Adaptation for all themes

Fixes #11393

* Narrative web: forgot a comma during last merge

* Allow scrolling if the ancestor tree is too large

* Translation of alternate stylesheets name

* Crash when using the family map

* Translate only the css title, not the file name

* Some minor corrections to css files

* Narrative web: open layers optimizations

* Narrative web: open layers and link in popup

* Narrative web: some events missing in popup

* Narrative web: Reference date column too large.

Allow the place title to use the maximum of width

* NarrativeWeb: shift children from one column

- adapt the css files to the new table
- some inconsistencies between the source and the css

* Make the drop down menu button size usable

* NarrativeWeb: Incorrect rendering when use of

alternate place name

* NarWeb: removing the unused image heigth option

* Click on image link gives a not found URL.

If the image used in home, introduction or contact page
is not already associated by a filtered object, we have a 404 error

* NarWeb: Index images and thumbnails pages optional

* Narweb: Improper Notes subtitle in web pages

* Narweb: List index truncated after 999

* Narweb: NarrativeWeb usage enhancements

* Narweb: avoid duplicate files in archive.

* Narweb: Add an optional news and updates page:

When you have a big database and you make intensive updates, it's
useful to have a list of the last modified objects.
you can select the period to show and how many records to see per object type.

* Narweb: forgot to add the module updates.py

* Narweb: some minor changes (pylint, img index bug)

* Popups don't work with the last openlayers version

It only needs to move the scripts at the end of the html body.
Use addEventListener instead of onload in the html body statement.

* Narweb: some popup problems

* Narweb: better score for pylint
2019-12-14 11:55:16 +01:00
Serge Noiraud
5157700da3
WEBCAL: Trying to have a better web calendar (#917)
* WEBCAL: Have config files for multiple databases.

* WEBCAL: best management for the narrative web link

* WEBCAL: use arrows, compress monthname and arrows

adapt the css files accordingly

* WEBCAL: use arrows in one day within a year

compress monthname and arrows
adapt the css files accordingly

* WEBCAL: index go now to the current month.

before this patch, the default month for the year calendar
was the month found at the web calendar generation.
Now, even if you create this report 8 months ago, the current
index will point to the current month.

* WEBCAL: trailing space.

* WEBCAL: year glance + some pylint improvements

* WEBCAL: incorrect width size with Mainz css.

* WEBCAL: problem with Visually css file

* WEBCAL: The table cell is highlighted when hover.

* WEBCAL: better pylint score.

* WEBCAL: Better rendering for full yer at a glance

* WEBCAL: better rendering on small devices

* WEBCAL: better quality code
2019-12-12 18:10:25 +01:00
Paulo Henrique Moraes
fc9e5c2a4a Updated translation. (#952) 2019-11-27 11:51:50 -06:00
prculley
e3eedb2219 Merge branch 'gramps51' 2019-11-08 11:46:40 -06:00
Paul Culley
b7487330a7 Fix up Event Editors Place display for bidi text with Gramps ID (#924)
Fixes #10124

Fix up Event Editors Place display for bidi text with Gramps ID (PR 924)

Some versions of Gtk/Pango have trouble with text containing both LTR and RTL characters. The bug notes this shows up in our Event Editor on the 'Place" field, where we have the place displayer title and the Gramps ID concatenated into the same string.

In older versions of Gtk (3.18.9 tested) the bracket around the Gramps ID would get mangled to the beginning of the string:
<images>

In newer versions of Gtk (3.24.3 tested) it was better to start with:
<images>

The older version of Gtk/Pango doesn't seem to properly interpret all of the potential Unicode bidi control characters, so the fix shown is the best I can do. The fixed version of the newer Gtk version is what is desired.

I note that the Place displayer should be fixed up to use more appropriate separators than just commas for RTL text, but that is another issue.
2019-11-05 13:00:48 +11:00
Paul Culley
1025a38caa Fix issues with RTL languages and LAT/LONG (#922)
* Fix display of GPS coordinates in Places view for RTL languages

Issue #11335

* Fix place editor lat/long entry for RTL languages

Fixes #11335
2019-11-05 12:42:09 +11:00
Paul Culley
2054c467db Fix GEDCOM export to avoid translated GrampsType strings (#947)
Fixes #11410

The bug submitter noticed that the GEDCOM export contained translated strings in the MEDI lines of his export. GEDCOM should contain English values for most such cases where 'types' are exported.

I scanned the export code for other potential cases, and found:

* Certain unexpected event types on individuals (Marriage)
* Certain unexpected event types on families (Immigration, Residence, etc.)
* Pedigree types that were not standardized on PEDI,_FREL,_MREL (Sponsored, Unknown)
* Family Attributes other than Number if children (Caste, Description, National etc.)
* Personal Attributes other than Caste, Description, ID, National, number of children, SSN (Occupation etc.)
* The MEDI types of this bug report...
2019-11-05 12:22:26 +11:00
Serge Noiraud
789b72289c Narrativeweb: Referenced regions problems (#946)
When image width > 800, the referenced regions are incorrectly placed

Fixes #11414
2019-11-05 12:06:06 +11:00
Paul Culley
2e1132bec0 Allow Tools with Notbook tabs to expand to fill the window (#944)
Fixes #10762

User "petpil" (Gramps Bugtracker) noted that the Calculate Estimated Dates addon would not expand the size of its window content when the window was stretched. That addon used the ToolManagedWindowBatch which uses a Gtk Notebook to support several tabs. He also submitted a patch which fixes the problem.

The Gtk.Container.add method originally used apparently did not have expand/fill settings to allow the expansion. The Gtk.Box.pack_start used instead does.

I tested this with all the users of ToolManagedWindowBatch and ToolManagedWindow which inherit from ToolManagedWindowBase, and did not see any bad/unexpected side effects. The Calculate Estimated Dates addon was the only one that really could use this, as it was the only one which I spotted using a potentially large widget in the notebook tab.
2019-11-05 11:44:23 +11:00
Fedik
8ccfa43e56 Ukrainian translation update 2019-11-02 16:51:02 +02:00
Fedik
40140859af Ukrainian translation update 2019-11-02 16:05:15 +02:00
Nick Hall
e69e6ca338 Limit Age Stats gramplet settings to appropriate values (#936)
* Max ages should be divisible by 5 to avoid out of range
  errors.
* The chart width should be greater than 45 to look right and
  avoid division by zero errors.
2019-10-30 09:35:32 +11:00
Paul Culley
fb29a77f83 Fix the Preferences 'Age display precision' value getting lost (#940)
Fixes #11384

It turns out the changes was actually changing the wrong config setting...

I had to look this one up. Using a lambda like this is called a 'closure' by some; what is happening is that the value 'constant' is being evaluated at the time the lambda is called, not when it is assigned. So in this particular bit of code the preference setting was actually changing 'preferences.family-relation-type' (the value of the variable 'constant' set a bit after the lambda definition.

I reverted this particular bit of code, as I think this kind of Python knowledge is pretty obscure (I could have just used a different unique name for the 'constant' variable).
2019-10-30 09:17:06 +11:00