Commit Graph

276 Commits

Author SHA1 Message Date
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
bb1c784d04 Bump all version numbers to 5.2 2020-09-15 16:59:43 +01: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
Nick Hall
3096c2b09a Remove extraneous whitespace after assignment 2019-05-12 11:41:11 +01:00
Nick Hall
976edfbf1d Remove extraneous whitespace before assignment 2019-05-12 10:21:16 +01:00
Alois Poettker
a592f7b2fd Show death/burial information only if person is proabably dead 2019-01-12 16:17:59 +00:00
prculley
1b824c410b Merge with gramps50 2018-12-23 09:57:37 -06:00
prculley
e926934a49 Fix reports for shared event attribute and note errors
Fixes #10720
2018-11-20 18:14:08 +00:00
prculley
263a082afe Merge in changes from Gramps50 2018-10-29 09:32:35 -05:00
Jgon6
51a7ad9483 Include death anniversaries as an option in the birthdays report
Added the optional ability to list the anniversry of peoples deaths in
the birthday and anniversary report

Resolves #3540
2018-10-12 19:19:59 +01:00
Jgon6
d6e9d62fad Add an option to show years in the birthday report
Added an option to the birthday report that allows for the year of birth
(or in the case of a wedding it's year) to be printed in the report.

Resolves #5948
2018-10-12 19:19:59 +01:00
Jgon6
3bac4a1036 Added symbols to the birthdays report showing the type of event
Issue #3540
2018-10-12 19:19:59 +01:00
Jgon6
1995a7068c Birthday report dead indicator now user defineable
Fixed the birthday report so the dead icon is able to be set within the
options window
2018-10-12 19:19:59 +01:00
Jgon6
5dc06d023d Indicate if a person is dead in the birthdays report
Added a text option to have a string that will show after a persons name
in the birthday and anniversary report. This works for both birthdays
and anniversaries.

Issue #3540
2018-10-12 19:19:43 +01:00
Paul Franklin
01060f0b0d name-note is not being cleared in Complete Individual report
I ran gramps with a fresh copy of the example.gramps tree,
then ran the Complete Individual report.  The options which
matter are "Entire Database" and "Include Notes" but I also
included the gramps-ID since that speeds up my work.

Then I noticed that hundreds of names at the end of the
output file all had the same note (N0001), whose text said
it referred to a specific person.

So I looked higher and the note inclusion started with I0044,
the default person.  It was real for him but not for the next
person after him, or all the people after her.

I introduced the problem when I fixed 10033, in d6a97cf90e.

Note that this bug is independent of the CIR fix in p.r. 676
and still happens even after that pull request is applied.
2018-10-07 23:36:32 -07:00
Paul Franklin
325c3f22cc fix the place-format option in DDR and DAR
The place-format option was added to the Detailed Descendant
and Detailed Ancestor text reports in cbac98894b

But those two reports use the Narrator class to show many of
their places (and dates), and that class was not modified to
use the user's custom place format.

So if a user had created a custom place format and ran
either of those two reports, their places would be shown
inconsistently.  This commit fixes that.

(The non-detailed ancestor text report also uses Narrator to
show its places but that report has not had the place-format
option added to it, so this commit doesn't touch it.)
2018-10-04 09:23:38 -07:00
Paul Franklin
4b17ca4724 Setting the year as an ordinal number in Croatian
When I started investigating 10822, I saw some Croatian dates
didn't seem to be working in 5.0.0, to my surprise.  I believe
I fixed that in the previous commit.

With this commit, the three reports now show a year as an
ordinal number in Croatian, so I consider 10822 fixed.

If there are any additional problems displaying Croatian,
please file additional bug reports ("one bug, one report").

Fixes #10822
2018-10-01 11:01:18 -07:00
Paul Franklin
04a40c7a50 fix typo
in cf42e5a4b8 and cbac98894b

Fixes #10782
2018-09-17 21:33:44 -07:00
Paul Culley
224748eb96 Fix usage of posixpath; should be os.path for os independence (#650)
Fixes #10740
2018-09-04 11:20:34 +10:00
prculley
257275f169 Merge from gramps50 2018-07-12 11:10:22 -05:00
Nick Hall
cf42e5a4b8 Fix place format option in place report (#561)
* Fix place format option in place report

Resolves #10467.

* Use -1 instead of None for default place format

* adds New [Place format:] option on the [Report Options (2)] tab
2018-03-07 09:53:21 +11:00
Nick Hall
59bd9f040d Merge branch 'gramps50' 2018-03-03 17:29:32 +00:00
Nick Hall
cbac98894b Implement place formats 2018-02-13 13:58:23 +00:00
mb06cs
6b42d71158
endoflinereport.py: sort generation during output 2018-01-06 13:32:43 +01:00
Nick Hall
1482fedb9c Merge branch 'gramps50' 2017-09-23 17:08:52 +01:00
Paul Franklin
e215393abd 7276: translate some currently-untranslated punctuation marks 2017-08-21 00:32:20 -07:00
Nick Hall
86fd14613e Merge branch 'gramps50' 2017-07-25 21:45:37 +01:00
Nick Hall
b83283e081 Allow multiple collations per connection
This fixes collation for translated reports and multi-user access
for PostgreSQL.
2017-07-22 19:46:26 +01:00
Nick Hall
dd0671b111 Bump all version numbers to 5.1 2017-05-23 18:30:29 +01:00
Paul Franklin
d6a97cf90e 10033: Note isn't included on CIR when it is attached to a name 2017-05-19 06:50:22 -07:00
Paul Culley
6a35246e08 bug 6664; fix Detailed Descendent Report, multi paths to descendent (#386)
where the descendent ends up in different generations at the same
time
2017-05-16 10:08:25 +10:00
Paul Franklin
07ce8c22d8 add gramps-ID option to DAR and DDR text reports 2017-05-10 20:18:52 -07:00
Paul Franklin
8244c7b211 add gramps-ID option to Ancestor and Descendant text reports 2017-05-08 19:00:29 -07:00
Paul Franklin
8d0fcc5730 convert existing reports to use the new stdoptions gramps-ID option 2017-05-07 18:15:40 -07:00
Paul Franklin
c8001c7483 tweak some None tests 2017-05-07 18:03:40 -07:00
Paul Franklin
1ba072e6fc 10000: report tables are always written LTR even for RTL locales 2017-04-30 13:52:42 -07:00
Paul Franklin
2b6cc3cd18 Revert "10000: report tables are always written LTR even for RTL locales"
This reverts commit 55fa920628.
2017-04-30 12:31:42 -07:00
Paul Franklin
55fa920628 10000: report tables are always written LTR even for RTL locales 2017-04-30 11:44:13 -07:00
Paul Franklin
e0a8bb4f5e add a subtitle to the book's T.O.C. for the Family Group report 2017-04-16 09:47:57 -07:00
Paul Franklin
cb932b9221 typo (trailing whitespace) 2017-04-14 17:02:50 -07:00
Paul Franklin
8379e0ce6e add the date-format option to some more reports 2017-04-14 13:54:24 -07:00
Paul Franklin
977db6223f enable date-format option in Complete Individual report 2017-04-09 18:12:23 -07:00
Paul Franklin
fab2537dce typo 2017-04-02 09:41:19 -07:00
Paul Franklin
08746bf024 consolidate some report style descriptions (fewer strings to translate) 2017-03-21 22:34:47 -07:00
Paul Franklin
73ca25e68e disable FGR option if it's not relevant 2017-03-19 20:52:37 -07:00
Paul Franklin
eb3c13dbca add filter progress bar to the Records report 2017-02-28 11:52:19 -08:00
Paul Franklin
1ce98afc86 don't type out a (possible) warning message if the option is not on 2017-02-24 11:10:03 -08:00
Paul Franklin
fc4b9fe695 fix bug (the option itself is always True, we want the value) 2017-02-24 11:08:18 -08:00
Nick Hall
d0b50caea1 Change "GRAMPS" to "Gramps" in comments and docstrings 2017-02-20 19:05:48 +00:00