Commit Graph

373 Commits

Author SHA1 Message Date
Pino Toscano
203d3179c7 application/x-geneweb: Drop uppercase pattern
The glob patterns are case-insensitive by default, except when the
"case-sensitive" attribute is set to true [1]. Since it is not the case
for application/x-geneweb, drop the uppercase pattern, as it is
effectively redundant.

[1] https://specifications.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-0.21.html#idm46280686438768
2023-07-02 22:48:25 +01:00
Pino Toscano
19f4cdeb76 application/x-gedcom: Drop own definition
shared-mime-info (i.e. the freedesktop.org implementation of XDG MIME
types) ships application/x-gedcom since version 0.17, released in 2006.

Hence, we can safely assume that even not that recent distributions have
application/x-gedcom provided by shared-mime-info.
2023-07-02 22:47:44 +01:00
Matthias Urlichs
5e1d36b0ad Implement the GEDCOM tag "_RUFNAME"
RUFNAME is the German word for "call name", i.e. the part of the given
name commonly used to address somebody. Some official documents mark it
as such.

The GEDCOM standards 5.5.1 and 5.5.5 mention this tag.
2023-05-12 20:36:14 +01:00
Serge Noiraud
e4264f837f
Narrative web: lightbox feature (#1410)
Deature request: #012801
Discourse: https://gramps.discourse.group/t/narrated-website-browsing-media-in-person-page/3195
2023-02-09 09:04:48 +01:00
Stanislav Bolshakov
3b59aa3a44 Minor string fixes
Add or remove whitespace.
Append full stops to ends of sentences.
Remove full stops after ellipses.
2022-03-12 22:09:39 +00:00
Stanislav Bolshakov
1d1d3707ce Update Tip of the Day entries 2022-03-12 21:51:11 +00:00
Bora Atıcı
c86f12b1b6 Add Turkish holidays 2022-03-05 17:50:39 +00:00
giuliano52
5916f737a5 Add Italian holidays
Based on https://it.wikipedia.org/wiki/Festivit%C3%A0_in_Italia
2022-02-22 23:39:20 +00:00
pacoriviere
f4df31188e Add Catalan holidays
Holiday file in Catalonia according to:
https://ajuntament.barcelona.cat/calendarifestius/ca/ and
https://beteve.cat/economia/calendari-laboral-2019-barcelona-catalunya/#festius-catalunya-2019
2022-02-22 23:15:04 +00:00
John Muccigrosso
e28a37ba14 Explicitly set birth name in GEDCOM export
Following discussion at https://gramps.discourse.group/t/distinguish-birth-and-married-names-in-ged-file/815/7 .
2022-02-18 22:49:17 +00:00
André Apitzsch
6fdde84334 Use reverse-DNS for mime file 2022-02-13 18:31:43 +00:00
André Apitzsch
7ca75ef882 Use reverse-DNS for application icon 2022-02-13 18:31:30 +00:00
André Apitzsch
11f268b981 Use reverse-DNS scheme for appdata + desktop 2022-02-13 18:17:29 +00:00
Pino Toscano
79cc1970ad Move MIME icons together with other hicolor icons
Move the icons of MIME types in the same location/structure used for
the other hicolor icons (application icon, action icons).
This way, all the hicolor icons are logically in the same place.
2022-02-12 23:12:39 +00:00
Nick Hall
8159aca9b4 Generate gramps.1.in file 2022-02-09 22:52:24 +00:00
Anthony J. Bentley
ec64335eef Various grammar improvements in the English manpage 2022-02-09 22:51:27 +00:00
Anthony J. Bentley
20ea5a1254 Use HTTPS URLs in the English manpage 2022-02-09 22:50:12 +00:00
Anthony J. Bentley
b6c9d1d965 Sprinkle Unicode trademarks and arrows within the English manpage 2022-02-09 22:50:12 +00:00
Anthony J. Bentley
31175616c1 Improve syntax of English manpage 2022-02-09 22:49:49 +00:00
Nick Hall
a5ac4ac43c Merge branch 'gramps51' 2022-02-06 19:07:14 +00:00
romjerome
3ad5248af0 Fix place object element order in DTD and RNG schemas
Element placeobj content does not follow the DTD and RNG,
expecting (ptitle? , pname+)

Fixes #12500
2022-02-04 21:44:15 +00:00
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
Stanislav
d54762d534 Update holidays.xml
For Russian: add and change holidays.
2021-05-31 18:46:29 +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
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
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
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
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
prculley
e3b6076eef Merge branch 'gramps51' 2020-08-23 09:38:15 -05:00
Stanislav Bolshakov
39cb8bd64a Holidays.xml.in: add holiday, sorting and localization
1. Add 1 holiday to Russian calendar,
2. Sorting alphabetically localization strings in all .po and .pot files,
3. Add "Russia" country to all .po and .pot files,
4. Translate "Russia" in some language.
2020-07-09 10:25:14 -05:00
Stanislav Bolshakov
8684c66b2d Holidays.xml: sorting country + add Russia
1. Sorting countries alphabetically,
2. Add Russian holidays.
2020-07-09 10:24:47 -05:00
prculley
df81a10fe8 Fix import test for change cause by commit a2c66417 which was
Fix GEDCOM import for bad source title when sources precede references.
2020-06-07 10:44:10 -05: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
prculley
7ae77abead Fix GEDCOM export of estimated/calculated dates with modifers
Fixes #11513
2020-02-04 15:57:40 +00: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
Paul Culley
d693881b98
Update LDS Temple list (#984) 2020-01-09 12:04:15 -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
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
prculley
e3eedb2219 Merge branch 'gramps51' 2019-11-08 11:46:40 -06: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
Serge Noiraud
ee1d9be898 Narrative web: Ancestor's tree Fix display looks weird (#929)
* Narrative web: Ancestor's tree display looks weird

Solves the following:
- Person boxes overlap
- Some person boxes partially visible or hidden

Fixes #11382

* Narrative web: some cleanup in ancestortree.css

* Narrative web : ancestor tree and long names.

* Adapt ancestor tree css file for all themes
2019-10-17 11:17:31 +11:00
SNoiraud
793b13be67 Narrativeweb: Mainz problem with short text in one note
Issue occurs on the homepage and introduction page.

Fixes #11349
2019-10-03 20:33:17 +01:00
prculley
a07aae2e30 Fix export tests to actually test most files, and run for both dbs 2019-10-03 19:56:27 +01:00
prculley
6d39920e6f Merge branch 'gramps51' 2019-09-16 10:54:55 -05:00
SNoiraud
efbec440fd Narrative web: Mainz Style sheet weird looking
Fixes #11282
2019-09-06 17:32:41 +01:00
Paul Culley
49632d8789
Add support for GEDCOM import _FREL/_MREL tags in INDI/FAMC (#866)
Improve support for GEDCOM export of _FREL/_MREL in INDI/FAMC

Fixes #10750
2019-08-18 10:09:29 -05:00