Compare commits

...
Author SHA1 Message Date
Vassilii Khachaturov 562fdbb06a 5554: back-port to gramps32 to debug 6757
Back-port the following commit:
	commit d43545a98a00b01228786776f74121d58bb73966
	Author: Josip Pisoj <josip@pisoj.com>
	Date:   Fri Feb 10 20:25:15 2012 +0000

		bug #5554: Automake problem

		git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@18851 4ae1f11a-8b86-4847-b8af-ab372f36d1fd

svn: r23210
2013-09-27 21:40:49 +00:00
Zdeněk Hataš f83f4c8451 czech translation update
svn: r18424
2011-11-09 13:05:44 +00:00
Doug Blank 838f3adba7 5266: Christening dates displayed as Birth dates in Family editor
svn: r18350
2011-10-18 21:16:25 +00:00
Kees Bakker 7d15137109 Bugfix for 5146 and 5106 - ImportProGen fails on Windows because some files
must be read as "binary".


svn: r18059
2011-08-23 20:01:50 +00:00
Peter Landgren c210a14acc Swedish update.
svn: r17880
2011-07-01 08:16:08 +00:00
Nick Hall 92c5cceea3 5055: Issue warning when attempting to edit media reference when media object is already being edited
svn: r17874
2011-06-30 20:42:05 +00:00
Michiel Nauta 5eea9ca023 4856: Gedcom import of empty note leads to invalid database
svn: r17768
2011-06-13 08:27:50 +00:00
Michiel Nauta 19bfd81a9b 4316: [NarWeb] Missing document.png
svn: r17744
2011-06-10 17:07:10 +00:00
Peter Landgren 296d7557b7 Fix so that date, if any, in source reference is printed.
svn: r17732
2011-06-09 14:11:03 +00:00
Peter Landgren 3eea6dc8dc Fix so that date, if any, in source reference is printed.
svn: r17731
2011-06-09 14:10:20 +00:00
Michiel Nauta d7200b028a 4906: Infinitive loop when trying to remove matched person/event filter rules
svn: r17627
2011-05-30 20:23:41 +00:00
Erik De Richter a79e8f8860 updated nl translation
svn: r17554
2011-05-24 19:22:21 +00:00
Jérôme Rapinat fa60e78ee2 2521, 4923 'after' and validation (partial fix); typo on NextYear()
svn: r17546
2011-05-21 12:14:14 +00:00
Jérôme Rapinat 46979f512d 4899: according to specification, increase limite from '72' (default) to '120'
svn: r17479
2011-05-12 12:41:51 +00:00
Vassilii Khachaturov 1231c01b05 RU: annoying typo
svn: r17445
2011-05-07 18:37:43 +00:00
Michiel Nauta bdf97fabd0 4322: Upgrading a large database to new version runs out of memory; increase locktable size
svn: r17385
2011-05-02 20:10:37 +00:00
Doug Blank a8a8b41210 4875: 3.2.6-1 - Narweb - pedigree section
svn: r17370
2011-05-01 16:14:04 +00:00
Stéphane Charette 1091c221ba bump version number after the 3.2.6 release
svn: r17369
2011-05-01 07:11:19 +00:00
Stéphane Charette ccfe2230ef update for 3.2.6 release
svn: r17363
2011-05-01 06:52:33 +00:00
Kees Bakker e3bfa40a70 Bugfix for ImportProGen, bug #4869
svn: r17362
2011-04-30 20:33:16 +00:00
Stéphane Charette 1bb2a2fec0 updated gramps.pot prior to the 3.2.6 release
svn: r17356
2011-04-30 15:43:59 +00:00
Michiel Nauta 77cf544636 Add some debug statements to find cause of bug 4481/4834
svn: r17295
2011-04-27 17:45:37 +00:00
Michiel Nauta 33daf99b33 3614: Undo gives wrong text in menu of what it will do; uncontroversial patch part
svn: r17227
2011-04-23 14:19:04 +00:00
Peter Landgren 20b3131237 Issue 4000 also fixed for Gramps 3.2.6 now.
svn: r17224
2011-04-23 11:03:54 +00:00
Michiel Nauta 1a11e6ba36 4047: Cannot modify a mother on a family editor without father
svn: r17221
2011-04-23 08:54:46 +00:00
Vassilii Khachaturov 2dd4eb7526 Home person - translate consistently
svn: r17203
2011-04-22 09:24:27 +00:00
Jérôme Rapinat be37e4cc45 4848: Lithuanian date handler (display gregorian) and libtranslate
svn: r17200
2011-04-22 08:38:26 +00:00
Michiel Nauta f668c23cf2 4284: again, fix for parentless family
svn: r17174
2011-04-21 04:56:02 +00:00
Michiel Nauta 90c0f43c9d 4284: Common ancestor filter ignores persons without ancestors
svn: r17168
2011-04-20 13:33:47 +00:00
Benny Malengier 5819fa672e 4455: Gramps crashes when selecting Events due to PHON in GEDCOM
svn: r17161
2011-04-20 10:25:20 +00:00
Michiel Nauta 40f7314699 4426: Names under thumbnails in Gallery view in Narweb reports mis show characters & and '
svn: r17098
2011-04-11 17:01:23 +00:00
Jérôme Rapinat e942c940fa minor improvement (call name)
svn: r17042
2011-04-05 08:18:00 +00:00
Zdeněk Hataš 9c0f5a96ef Czech translation is now complete.
svn: r17028
2011-04-02 19:41:52 +00:00
Michiel Nauta e01b04e117 4794: Error adding new repository via source dialog
svn: r16975
2011-03-29 17:43:28 +00:00
Mirko Leonhäuser e3e6a36f3b Bugfix in German translation
svn: r16967
2011-03-28 18:31:57 +00:00
Michiel Nauta 74968f9b5a 4763: Crash because error passes instead of string
svn: r16912
2011-03-24 21:20:50 +00:00
Michiel Nauta 200b4f3015 4770: Unexpected error exporting a database to Gramps Xml format
svn: r16899
2011-03-23 20:29:47 +00:00
Luigi Toscano 35763a3c29 Italian translation updates.
svn: r16895
2011-03-23 00:14:53 +00:00
Jérôme Rapinat 8996d04cb9 4423: Web report does not handle Czech 'CH' character properly (contribution by phejl)
svn: r16843
2011-03-17 16:29:59 +00:00
Michiel Nauta 36b418ec65 4109: Command line arguments for tools ignored
svn: r16836
2011-03-16 21:55:13 +00:00
Peter Landgren 62d1419a83 Fixed typo in Swedish translation.
svn: r16830
2011-03-16 15:16:25 +00:00
Zdeněk Hataš 89cf7676e1 translation update. abbreviations left untranslated. I don't have an idea, how to convert it to my native language now.
svn: r16828
2011-03-16 14:20:15 +00:00
Michiel Nauta 22b13fc772 4758: Copy constructor of gen.lib objects uses shallow copy instead of deep copy
svn: r16826
2011-03-15 21:54:37 +00:00
Serge Noiraud 7150429195 GeoView : issue 4743 : self.title already used in pageview.py. rename it with self.title_name
svn: r16824
2011-03-14 09:50:39 +00:00
Vassilii Khachaturov 741eedcbe1 tiny cleanup
svn: r16799
2011-03-10 13:48:51 +00:00
Vassilii Khachaturov a1ae8852cf POT merge up to POT-Creation-Date: 2011-02-05 10:35+0100.
Verified today's POT only generates differences in 
the source referencing comments.



svn: r16782
2011-03-08 11:13:02 +00:00
Michiel Nauta 9bc4a82007 4041: Filter rule people with records containing <substring> fails on street name
svn: r16761
2011-03-05 10:49:01 +00:00
Boril Gourinov a414670cec Updating Bulgarian translation
svn: r16755
2011-03-04 21:20:08 +00:00
Jérôme Rapinat c1487b1e59 4692, 4519, 4390: try to avoid empty event types with a better support for web addresses on individual
svn: r16749
2011-03-03 09:27:43 +00:00
Michiel Nauta 5af7f07875 Undo revision 16674
svn: r16743
2011-03-02 11:33:36 +00:00
Jérôme Rapinat 8708c60f33 'Selected' action/string was missing
svn: r16729
2011-02-28 15:20:53 +00:00
Doug Blank a87b267515 4694: Tools->Utilities->Verify the Data->crash
svn: r16727
2011-02-28 13:47:53 +00:00
Vassilii Khachaturov 0884741057 4687: session log gramplet - overzealous l10n of signal names breaks clickable link handlers
backport my trunk fix (cleanly applies)



svn: r16725
2011-02-27 13:40:54 +00:00
Jérôme Rapinat f2f4d5974c 4689: More space for localized sentences on ProgressMeter
svn: r16711
2011-02-25 14:41:10 +00:00
Michiel Nauta b72ae432e7 correct revision 16674, readd sort_string method in case external plugins use it
svn: r16677
2011-02-19 15:08:30 +00:00
Peter Landgren 13e1d5420e Further improvment for Swedish Calendar.
svn: r16676
2011-02-19 14:14:14 +00:00
Michiel Nauta f5a8db75c2 4657: The "sort as" name is ignored
svn: r16674
2011-02-19 14:08:06 +00:00
Vassilii Khachaturov bdd110de18 Committing my fix to bug #4550 - PATCH OK'ed by dsblank
svn: r16658
2011-02-17 22:52:41 +00:00
Jérôme Rapinat 8b198624ef 4653: typo, capital letter (contribution by cderory)
svn: r16656
2011-02-17 22:11:31 +00:00
Peter Landgren 8f0bcd136b Update of Swedish translation.
svn: r16644
2011-02-17 09:19:36 +00:00
Peter Landgren 5e275bedfd Improved Swedish Calendar.
svn: r16641
2011-02-17 08:29:30 +00:00
Peter Landgren 5791d2d0d3 Fixed a typo and improved Swedish Calendar.
svn: r16640
2011-02-17 08:28:35 +00:00
Michiel Nauta 01aa78127e 4651: XML import of name with only display or sort format set fails
svn: r16633
2011-02-16 18:57:13 +00:00
Jérôme Rapinat 10342a03cc dupplicated */12/26 (France)
svn: r16629
2011-02-16 14:16:35 +00:00
Jérôme Rapinat 1fd757e6fa cleanup France; http://fr.wikipedia.org/wiki/Jour_f%C3%A9ri%C3%A9#.C2.A0France
svn: r16628
2011-02-16 14:14:58 +00:00
Michiel Nauta 8af1f7e6f5 4430: fail to repair database
svn: r16605
2011-02-11 16:10:58 +00:00
Michiel Nauta 41d752a75b 4613: Gramps dies many times (on entering person that satisfies filter with ID parameter)
svn: r16594
2011-02-09 21:27:12 +00:00
Rob G. Healey 783619455f Bug#4287: Beg#4601: Fixed
and cleanup for NarrativeWeb for W3C compliance; IndividualPages
          still have errors in the Pedigree section -- this will require
          more than a simple tweak of code or style sheet elements.

svn: r16591
2011-02-09 06:26:01 +00:00
Erik De Richter 6e50919487 updated nl translation
svn: r16589
2011-02-08 19:24:44 +00:00
Rob G. Healey 7a9fe58b48 Bug#4287; Html.attr was not closing such elements as: <img ... /> . Thanks Gerald Britton for the patch.
svn: r16587
2011-02-07 07:13:22 +00:00
Jérôme Rapinat 69f1ec0508 4612: 'elf' instead of 'self' (fixed by Harald Rosemann)
svn: r16584
2011-02-06 13:07:15 +00:00
Mirko Leonhäuser a8aea11b07 updated german translation
svn: r16583
2011-02-06 09:02:25 +00:00
Gary Burton 09f20eaf9f Redraw selectors on toggling sort order. Bug #4518
svn: r16580
2011-02-05 16:56:39 +00:00
Mirko Leonhäuser a4ca60e98f updated german translation
svn: r16577
2011-02-05 15:29:59 +00:00
Jérôme Rapinat 12e19ef445 update template
svn: r16576
2011-02-05 09:41:33 +00:00
Jérôme Rapinat a12f166b09 4326: typos (by PaulFranklin); backport
svn: r16575
2011-02-05 09:00:43 +00:00
Jérôme Rapinat 170d7e4cdb 4089: Month names for Lithuanian (contribution by embar)
svn: r16573
2011-02-05 08:26:22 +00:00
Peter Landgren 328a9d329d Better abbreviations, thanks to Paul Franklin.
svn: r16567
2011-02-04 15:41:34 +00:00
Benny Malengier 277e91a1ca 3975: Accessing an incompatible database corrupts the database
Undoing unset of DB_RECOVERY flag, we need it to have ACI(D) database


svn: r16561
2011-02-03 22:23:05 +00:00
Rob G. Healey 6ca6765458 Fixed navigation menus in Nebraska style sheet.
svn: r16557
2011-02-03 18:42:13 +00:00
Nick Hall bced98bd71 4591: Do not allow less than a single column in the Gramplet view
svn: r16546
2011-02-02 22:09:14 +00:00
Jérôme Rapinat b5cd86498b 4587: cleanup Russian translation (by vassilii); merge with new template
svn: r16541
2011-02-02 13:31:45 +00:00
Jérôme Rapinat 7045418dec wording, spacing, separator
svn: r16539
2011-02-02 10:57:41 +00:00
Mirko Leonhäuser a5b5842ec3 updated german translation
svn: r16536
2011-02-01 22:04:34 +00:00
Jérôme Rapinat 20b39325b6 typos
svn: r16533
2011-02-01 16:27:54 +00:00
Erik De Richter cbade510a9 updated nl translation
svn: r16532
2011-02-01 15:30:42 +00:00
Jérôme Rapinat 82d7d7db9a 3782: Cannot set max generation > 15; use the same value as DAR and pedigree gramplet
svn: r16530
2011-02-01 14:58:54 +00:00
Peter Landgren f3d110f7ec Update with abbreviations.
svn: r16526
2011-02-01 12:10:27 +00:00
Jérôme Rapinat 6968dcdf97 4425: event type abbreviations; new template; update french translation
svn: r16524
2011-02-01 11:08:20 +00:00
Peter Landgren 243d02a6f5 Issue 4425: Abbreviation algorithm does not work for all languages.
svn: r16520
2011-01-31 20:08:09 +00:00
Jérôme Rapinat 1aa71cceaa 4582: cleanup by vassilii; merge with last template
svn: r16510
2011-01-31 08:04:42 +00:00
Zdeněk Hataš d8b100757f czech translation completed.
svn: r16509
2011-01-30 20:58:33 +00:00
Jérôme Rapinat 80a6b71e13 4578: cleanup by vassilii
svn: r16494
2011-01-28 12:38:03 +00:00
Jérôme Rapinat dfa36127f8 4089: Month names (by embar)
svn: r16492
2011-01-28 09:51:37 +00:00
Mirko Leonhäuser f17a5125f3 updated german translation
svn: r16474
2011-01-25 22:00:35 +00:00
Benny Malengier c58ca7575b 4473: Prefix lost when using Add new child to family
svn: r16473
2011-01-25 20:02:28 +00:00
Peter Landgren 4f1943b180 Swedish translation update.
svn: r16469
2011-01-25 14:00:13 +00:00
Benny Malengier b147cb2ca3 4383: Error while attempt to edit family
2521: Problem with erroneous birth date in using the family editor.
We show validation error on date > next year, and don't crash on large year anymore


svn: r16467
2011-01-25 12:43:09 +00:00
Benny Malengier 3a4a01ba9e set async write to disk to improve speed, eg import * 40
svn: r16461
2011-01-24 20:08:21 +00:00
Jérôme Rapinat f84de89864 #4569 #4560 patches for Russian translation on Records.py and Name formats (by vassilii)
svn: r16452
2011-01-24 13:43:43 +00:00
Jérôme Rapinat adc4608ba5 typo
svn: r16431
2011-01-22 10:12:55 +00:00
Zdeněk Hataš fd363c528b bug #3482 fix backported from trunk
svn: r16408
2011-01-18 10:35:08 +00:00
Jérôme Rapinat e60da9001a 4537: spelling mistake (contribution by vassilii)
svn: r16399
2011-01-17 18:26:35 +00:00
Rob G. Healey b2ea7dea08 Bug#3795; fixed DownloadPage alignment.
svn: r16383
2011-01-15 07:17:38 +00:00
Zdeněk Hataš eea46c8875 czech translation update
svn: r16382
2011-01-14 20:55:28 +00:00
Jérôme Rapinat 4f44f6f98f 4530: Gedcom import looses custom family event description
svn: r16373
2011-01-13 10:45:37 +00:00
Jérôme Rapinat 62358e931b update french translation
svn: r16372
2011-01-13 10:41:02 +00:00
Mirko Leonhäuser a7319dac47 updated german translation
svn: r16346
2011-01-07 11:15:32 +00:00
Peter Landgren dc0cd05ef8 Issue 4515, Check and Repair replaces illegal cntrl char with space.
svn: r16343
2011-01-06 12:12:53 +00:00
Peter Landgren 76e66f6104 Issue 4515, allow only 09, 0A, 0D in GEDCOM input.
svn: r16341
2011-01-05 18:12:15 +00:00
Joan Creus b94008e412 A few corrections to translation
svn: r16338
2011-01-05 17:49:35 +00:00
Peter Landgren 2acc96fa62 Issue 4515, skip all control char in XML output except 09, 0A, 0D.
svn: r16337
2011-01-05 10:46:27 +00:00
Joan Creus dcca22245c Translation update
svn: r16335
2011-01-04 10:32:17 +00:00
Rob G. Healey 27ff0c989e Worked on bugs #4305 and #4486. Not all problems are complete yet, but see #4305 for explaination.
svn: r16331
2011-01-03 02:39:27 +00:00
Jérôme Rapinat 0df382465c 4502: typo (contribution verthezp)
svn: r16328
2011-01-01 15:13:59 +00:00
Zdeněk Hataš 28f2bc8bac Backported Czech translations from trunk.
svn: r16302
2010-12-19 17:08:20 +00:00
Peter Landgren 58e7af6ddf Issue 4460. Fixed by changing =+ to +=.
svn: r16299
2010-12-19 12:03:51 +00:00
Jérôme Rapinat e0adfcbb7b update Chinese translation (by honeyword)
svn: r16297
2010-12-18 09:06:44 +00:00
Mirko Leonhäuser bc0ce2aada updated german translation
svn: r16294
2010-12-17 00:06:18 +00:00
Jérôme Rapinat 9e7e513b13 3930: Verify data tool ignores role on burial event (see previous rev)
svn: r16290
2010-12-16 09:29:32 +00:00
Jérôme Rapinat e43da1a226 3930: Verify data tool ignores role on burial event
svn: r16289
2010-12-16 09:27:17 +00:00
Jérôme Rapinat cd036d3ec7 update Chinese translation (by honeyword)
svn: r16285
2010-12-15 16:20:20 +00:00
Doug Blank a162c6796e Changed CREATE_FOLDER to SELECT_FOLDER to prevent infinite loop; still allows one to create folder, with no lack of functionality
svn: r16284
2010-12-15 15:46:50 +00:00
Peter Landgren 2e8b234b94 Fix of preposition, thanks to user report.
svn: r16282
2010-12-14 19:51:10 +00:00
Doug Blank 5f51aeeb63 4429: gramps can't export my database
svn: r16280
2010-12-13 22:39:34 +00:00
Doug Blank 4742d33e26 4457: Setup addons
svn: r16278
2010-12-13 21:09:34 +00:00
Zdeněk Hataš f0ece22743 Backported Czech translations from trunk.
svn: r16276
2010-12-12 22:40:47 +00:00
Zdeněk Hataš 62b29c6e61 Backported translation from trunk
svn: r16262
2010-12-11 19:42:12 +00:00
Jérôme Rapinat c6688c8927 update Brazilian-Portuguese translation (by Robert Jerome)
svn: r16256
2010-12-07 13:26:01 +00:00
Doug Blank 38a6412aa5 4427: GEDCOM export: non-standard end of line characters not output properly
svn: r16240
2010-11-30 14:31:16 +00:00
Doug Blank 7244448c51 3975: Accessing an incompatible database corrupts the database
svn: r16234
2010-11-24 03:27:37 +00:00
Doug Blank 5705dfe107 4415: Editing ID format in preferences can throw exception
svn: r16228
2010-11-23 04:06:56 +00:00
Erik De Richter cd53f3a842 updated nl translation
svn: r16220
2010-11-20 10:20:50 +00:00
Peter Landgren d5ccbb092d Issue 4393, str/unicode problem. Now same code as in trunk.
svn: r16218
2010-11-19 18:37:12 +00:00
Doug Blank 3affb0a3fd 4395: Crash on selecting Gramplets
svn: r16217
2010-11-19 14:37:10 +00:00
Benny Malengier 028e5caf03 4370: Reports in ODT format are corrupted
svn: r16209
2010-11-18 20:18:06 +00:00
Benny Malengier 8dd881dc2f 4352: more memory leak problems
svn: r16207
2010-11-18 19:16:55 +00:00
Stéphane Charette c0bf571c62 bump version number after the 3.2.5 release
svn: r16204
2010-11-18 07:42:26 +00:00
Stéphane Charette 3b5508d997 update for 3.2.5 release
svn: r16200
2010-11-18 06:54:44 +00:00
Jérôme Rapinat 77455f2776 4185: update strings for kinship report (contribution by Robert Jerome)
svn: r16194
2010-11-15 10:33:04 +00:00
Jérôme Rapinat 5ca248aa14 update slovak translation (by Lubo Vasko)
svn: r16190
2010-11-14 10:47:24 +00:00
Jérôme Rapinat d1b9344373 4089: Month names for Russian (contribution)
svn: r16188
2010-11-13 21:27:48 +00:00
Jérôme Rapinat 081c300b75 update polish translation (by Łukasz Rymarczyk)
svn: r16184
2010-11-12 10:45:03 +00:00
Peter Landgren 35d494f49e Fix of issue 4369, parameter msg not always a string object.
svn: r16181
2010-11-11 16:56:56 +00:00
Jérôme Rapinat 658284d692 typo
svn: r16175
2010-11-11 11:58:07 +00:00
Erik De Richter 900edf379c updated nl translation
svn: r16173
2010-11-10 22:28:56 +00:00
Nick Hall 4ceee5b350 4366: Fix bug with event type of Unknown
svn: r16171
2010-11-10 17:02:21 +00:00
Mirko Leonhäuser 3154bbaa50 updated german translation
svn: r16168
2010-11-09 20:18:28 +00:00
Jérôme Rapinat e3147bc8a5 syntax error '''\n' breaks compilation
svn: r16159
2010-11-08 13:44:41 +00:00
Jérôme Rapinat 9fcf2bf560 typo on Norwegian Nynorsk; update french translation
svn: r16158
2010-11-08 10:51:12 +00:00
Peter Landgren 626e1ec24d swedish translation update.
svn: r16157
2010-11-07 21:24:35 +00:00
Espen Berg 9bc9cf6a47 Sigmund Lorentsen revised Norwegian Nynorsk to 100%
svn: r16156
2010-11-07 18:44:06 +00:00
Mirko Leonhäuser 94efebf36c translation of proceed i have taken a backup was to long
svn: r16153
2010-11-07 01:54:38 +00:00
Mirko Leonhäuser f91eb31d88 updated german translation
svn: r16152
2010-11-07 01:41:24 +00:00
Nick Hall 03d5e3f4bc 4354: Bug fix in unused methods
svn: r16151
2010-11-06 16:03:09 +00:00
Jérôme Rapinat 5bc355ad0c update template
svn: r16150
2010-11-06 10:15:58 +00:00
Espen Berg 47ff14af65 Revised Norwegian bokmål to 100% due to the last few new strings
svn: r16149
2010-11-06 09:39:39 +00:00
Benny Malengier 60a4ce9f4a 4301: Got a database error
svn: r16148
2010-11-06 08:32:30 +00:00
Erik De Richter 959693bc84 updated nl translation
svn: r16144
2010-11-05 19:53:23 +00:00
Jérôme Rapinat 395e46aaab 4301: extra questiondialog on db manager
svn: r16142
2010-11-05 09:30:49 +00:00
Benny Malengier c0b534fe1d 4301: Got a database error
svn: r16134
2010-11-04 19:43:07 +00:00
Erik De Richter bdd3a553c0 updated nl translation
svn: r16133
2010-11-04 19:17:36 +00:00
Espen Berg 3418ac3bd2 Revised Norwegian bokmål translation
svn: r16123
2010-11-03 13:15:18 +00:00
Benny Malengier aff06c9b49 4343: Error message at close of address entry
svn: r16120
2010-11-02 20:04:40 +00:00
Benny Malengier bf7182ed8f 4341: Error when adding a new place
svn: r16118
2010-11-02 18:57:06 +00:00
Jérôme Rapinat dc5cfb7f91 2 errors on plural forms, clean-up
svn: r16115
2010-11-02 18:40:46 +00:00
Benny Malengier ea9df739a4 4340: Error when adding source reference
svn: r16110
2010-11-02 13:19:13 +00:00
Benny Malengier e6f6d5d00c 4340: Error when adding source reference
svn: r16109
2010-11-02 13:12:27 +00:00
Benny Malengier 77d3cf1967 4333: memory leak in 3.2
svn: r16104
2010-11-01 20:48:23 +00:00
Benny Malengier e80a74d72a 4333: memory leak in 3.2
svn: r16093
2010-10-31 08:55:42 +00:00
Benny Malengier 1baf7070a3 4333: memory leak in 3.2
svn: r16092
2010-10-31 08:38:05 +00:00
Benny Malengier f1e2d15ebb 4325: Error with 'More Name Details' if window is already opened
svn: r16072
2010-10-28 17:58:47 +00:00
Jérôme Rapinat a8ab3b5f4e #2644: Do not export individual events without primary role
svn: r16031
2010-10-24 07:20:15 +00:00
Peter Landgren 403bea5f2c Issue 4308, missed one parameter when calling Narrator.
svn: r16024
2010-10-22 17:27:41 +00:00
Benny Malengier ca3dba5dd9 4288: Preformatted blocks broken in web report
svn: r16015
2010-10-19 18:30:28 +00:00
Benny Malengier 3f87bdec6e 4292: Error in RTF output
svn: r16012
2010-10-19 15:37:28 +00:00
Jérôme Rapinat 848114ea4e #4264 properly import role and type on family (.gw file)
svn: r16005
2010-10-16 09:12:47 +00:00
Jérôme Rapinat ef37b3c6a6 typo
svn: r16004
2010-10-16 08:50:14 +00:00
Rob G. Healey 0fe26ef415 NarrativeWeb: Part of Bug#4287: Source References's hyperlink in now fixed.
svn: r16003
2010-10-16 08:35:26 +00:00
Rob G. Healey 2f9341dcb8 NarrativeWeb: Part of bug#4287: Description for the individual gallery is now escape so that for one the ampersand is taken care of.
svn: r16001
2010-10-16 08:03:13 +00:00
Rob G. Healey 77f96037fa libhtml: Part of Bug#4287 Adds PUBLIC to all of the DOCTYPE header of the first line in all web documents. Thanks Gerald Britton for the patch file.
svn: r16000
2010-10-16 07:47:05 +00:00
Peter Landgren 1cb6f2f3c8 Issue 4293, problems with LagecyGedcom and empty events.
svn: r15996
2010-10-15 17:55:14 +00:00
Jérôme Rapinat 43fa619ebc #4264: import ignores marriage and divorce dates (.gw file)
svn: r15994
2010-10-15 17:43:43 +00:00
Jérôme Rapinat db4e0aafb8 Update french translation, new template for matching usage argument (cli)
svn: r15989
2010-10-15 16:48:30 +00:00
Peter Landgren 09e9872206 Update #2 (took wrong version) with translation of the cli command --usage.
svn: r15986
2010-10-14 12:25:26 +00:00
Peter Landgren 796b778bf0 Update with translation of the cli command --usage.
svn: r15985
2010-10-14 12:16:42 +00:00
Peter Landgren 174886e40a Issue 4274, Gramps cli commands for user with non latin characters in names. Mostly Windows.
svn: r15983
2010-10-14 11:31:15 +00:00
Rob G. Healey dd1f244d24 Style Sheets: Added comment line to remove the description under the thumbnails in Individual Gallery. Search for line that is: #indivgallery div.thumbnail p, and follow the directions there.
svn: r15982
2010-10-14 00:45:20 +00:00
Doug Blank 0f7623be22 4236: All notes and sources ALWAYS written to GEDCOM file even when no notes are suppose to be written
svn: r15979
2010-10-13 10:56:58 +00:00
Doug Blank 1a27f856c5 typo in comment
svn: r15977
2010-10-13 10:49:07 +00:00
Peter Landgren d3993f57ff Issue 4291, wrong path when cancel.
svn: r15975
2010-10-13 08:45:23 +00:00
Mirko Leonhäuser af788956aa updated german translation
svn: r15974
2010-10-12 18:42:29 +00:00
Jérôme Rapinat 96efc4ee45 Add Relationships handler for Slovenian (by Bernard Banko)
svn: r15973
2010-10-12 06:49:30 +00:00
Jérôme Rapinat 359192efb0 Add Date handler for Slovenian (by Bernard Banko)
svn: r15972
2010-10-12 06:44:58 +00:00
Peter Landgren 8e841be786 Revert so that it will work with python 2.5 for branch32.
svn: r15971
2010-10-12 06:09:35 +00:00
Benny Malengier 9d207fd48f add missing css file to distribution
svn: r15969
2010-10-11 11:49:04 +00:00
Stéphane Charette 924acb11ff bump version strings to 3.2.5
svn: r15966
2010-10-10 23:34:07 +00:00
Stéphane Charette e035fe57e6 update for 3.2.4 release
svn: r15963
2010-10-10 22:55:05 +00:00
Stéphane Charette 985e42abe2 updated gramps.pot
svn: r15960
2010-10-10 14:05:43 +00:00
Peter Landgren 8bd6a16cf0 Some conversions are not needed for gramps on win with non latin username.
svn: r15958
2010-10-08 13:53:49 +00:00
Peter Landgren 16f468654a Minor update of Swedish translation, took trunk, should be bransch.
svn: r15956
2010-10-06 14:16:54 +00:00
Peter Landgren 6aef60a421 Updates to allow for Family Tree names, with non latin characters in Windows, in -l/-L commands.
svn: r15942
2010-09-30 14:25:25 +00:00
Peter Landgren ec50af2785 Final fix of 4164, problems with cairo: out of memory for mult pages in Grapviz output.
svn: r15940
2010-09-30 13:04:32 +00:00
Peter Landgren c0f2ed96b2 Updates to allow for user names with non latin characters in Windows.
svn: r15939
2010-09-30 10:02:41 +00:00
Jérôme Rapinat 8b7e7aed4e minor clean-up
svn: r15936
2010-09-29 14:43:51 +00:00
Jérôme Rapinat c5e1ee690d bugs 2488 and 4251: spacing on families
svn: r15935
2010-09-28 16:54:07 +00:00
Peter Landgren f08d4825e7 Minor update of Swedish translation.
svn: r15933
2010-09-27 18:03:56 +00:00
Peter Landgren c414e34ceb Consistent use of OS detection and host added to Win users.
svn: r15931
2010-09-27 17:53:57 +00:00
Doug Blank 3fb1e0fd4a Two more fixes for protecting None.property when using Do Not Include Unlinked records
svn: r15929
2010-09-25 11:00:25 +00:00
Jérôme Rapinat ae8ba555eb 4241: ignore Residence events on Addresse page for non-english locales
svn: r15925
2010-09-24 14:37:07 +00:00
Benny Malengier 479e70f835 3969: [NarWeb] Narrated Web Site: Newlines and white space are not preserved in note text
Patch of Tim Lyons and  Benny Malengier


svn: r15922
2010-09-23 21:03:02 +00:00
Jérôme Rapinat c796db53c5 #4242: NarWeb ignores Calendar for sorting Dates on Event groups
svn: r15919
2010-09-21 14:32:10 +00:00
Nick Hall 84898abaaf 4250: Bookmark menu does not redraw when bookmarks are re-ordered
svn: r15916
2010-09-20 23:47:06 +00:00
Espen Berg 2f983fade2 Revised Norwegian bokmål and nynorsk (Sigmund Lorentzen) translations
svn: r15915
2010-09-19 17:59:36 +00:00
Jérôme Rapinat f6a8fd888a typo
svn: r15908
2010-09-16 18:06:42 +00:00
Peter Landgren 1c1da5a8ea Issue 4235.
svn: r15906
2010-09-16 12:36:59 +00:00
Peter Landgren 4679718cc2 Fixed indent errors.
svn: r15904
2010-09-16 12:30:14 +00:00
Peter Landgren a52072d79e Issue 4212, Win problems with media path/file name with non latin.
svn: r15903
2010-09-16 12:23:16 +00:00
Doug Blank c8a48b4b0e 4203: [NarWeb] 'Exclude living' option can lead to error
svn: r15898
2010-09-13 23:57:05 +00:00
Rob G. Healey f479381bfd NarrativeWeb: bug#4079 -- siblings, pedigree, and children are all sorted if birthorder option is chosen.
svn: r15897
2010-09-13 22:14:02 +00:00
Benny Malengier 33de80e6fd 3519: Wrong 'Group as' value (Given instead of Surname) is used for custom display name
svn: r15895
2010-09-13 19:55:13 +00:00
Benny Malengier 46c9eb079c 4192: [NarWeb] media is out of order in Places
svn: r15894
2010-09-13 19:22:54 +00:00
Benny Malengier 1df64c2609 4192: [NarWeb] media is out of order in Places
svn: r15892
2010-09-13 18:55:20 +00:00
Benny Malengier 9aa00be403 3875: [NarWeb] no more caption text for images in Source gallery
svn: r15891
2010-09-13 18:11:21 +00:00
Julio Sánchez 3096db842c Minor translation update
svn: r15889
2010-09-13 11:15:06 +00:00
Benny Malengier 86474a1cf6 3870: [NarWeb] Reference name to Source incorrectly displayed as "unknown"
svn: r15887
2010-09-13 09:34:49 +00:00
Julio Sánchez fa246bc681 Minor translation update
svn: r15886
2010-09-13 06:03:19 +00:00
Erik De Richter 546e39d530 updated nl translation
svn: r15880
2010-09-12 09:31:29 +00:00
Jérôme Rapinat 3b24bfc971 update Slovak translation (by Lubo Vasko)
svn: r15879
2010-09-12 08:48:36 +00:00
Benny Malengier 3e6fa30d60 3944: [NarWeb] Alternate Locations on places site in web report vers. 3.2.2
svn: r15875
2010-09-11 15:17:04 +00:00
Benny Malengier c1137c79e5 3894: [NarWeb] Narrated Website does not show Gramps-ID for sources and events
svn: r15874
2010-09-11 11:35:38 +00:00
Doug Blank e7749890f7 Typo, but only when self._LOG_ALL flag is set, which I don't know how to set
svn: r15873
2010-09-11 06:53:57 +00:00
Rob G. Healey 8a03b75b27 Stylesheet: Fixed text color on WebCal. Could not see non hyperlinked text.
svn: r15872
2010-09-11 03:12:42 +00:00
Arturas Sleinius bf9a7efe37 Updated Lithuanian translation
svn: r15871
2010-09-10 09:00:23 +00:00
Boril Gourinov 4e4a95926a Update of Bulgarian translation
svn: r15870
2010-09-09 20:08:45 +00:00
Mirko Leonhäuser 09069234d4 updated german translation
svn: r15869
2010-09-09 19:12:17 +00:00
Jérôme Rapinat 2cba6ed51c update french translation
svn: r15867
2010-09-09 17:26:29 +00:00
Peter Landgren ab0ed284f1 Swedish translation update.
svn: r15863
2010-09-09 14:17:56 +00:00
Peter Landgren 8b24f681cb Two strings made translatable.
svn: r15862
2010-09-09 14:16:42 +00:00
Benny Malengier 1ac68fb63d 0004131: [NarWeb] No clickable link in referenced region in the photo, if person has no name
svn: r15861
2010-09-09 11:15:33 +00:00
Peter Landgren 531f089f10 Issue 3960, warn button disappears too soon on long GEDCOM import with errors.
svn: r15858
2010-09-06 15:18:28 +00:00
Benny Malengier aff081d139 4196: Error by using special filter in person view
svn: r15856
2010-09-03 22:56:33 +00:00
Rob G. Healey 4f821bc75c Style Sheets: There has been so many problems with the Ancestors Tree, I have removed the elements from the individual sheets, and create one sheet instead.
svn: r15854
2010-09-03 00:44:18 +00:00
Rob G. Healey 6eb47e400c Nebraska: fixed a footer background color issue.
svn: r15853
2010-09-03 00:05:45 +00:00
Rob G. Healey 80a748109a Stylesheets: I hope that these style sheet corrections will correct the layout and style problems that have been plaquing NarrativeWeb. If you have any problems, please let me know.
svn: r15852
2010-09-02 23:55:27 +00:00
Benny Malengier 140ce8077d 2953: wrong handling of gramps id's on individual report. I44 and I440 I441 etc are all included when only I44 should be
svn: r15850
2010-09-02 21:03:53 +00:00
Rob G. Healey 81aaf690f3 NarWeb: Fixed siblings not displaying in birth year order; Bug#4079. Thanks kulath for the patch file.
svn: r15847
2010-09-01 21:12:23 +00:00
Peter Landgren 65ac980dae Date part of issue 4160. Use of option Use full dates instead of full year works again.
svn: r15846
2010-09-01 16:18:06 +00:00
Peter Landgren 6bb686ec2d Date part of issue 4160. Use of option Use full dates instead of full year works again.
svn: r15845
2010-09-01 16:17:36 +00:00
Rob G. Healey 0894288476 Stylesheet: Fixed the overrun of colors.
svn: r15842
2010-08-31 16:50:09 +00:00
Benny Malengier 8cf2831c51 bug #2402 : Line spacing for text not correct in CairoDoc
svn: r15838
2010-08-31 07:45:44 +00:00
Gerald Britton e52db3c15d Bug 0003785: Unhandled exception - Undo History - ValueError: invalid tree path
svn: r15833
2010-08-30 16:37:20 +00:00
Rob G. Healey 8edf5690a4 NarrativeWeb: Bug fix for #4203.
svn: r15827
2010-08-29 03:39:43 +00:00
Luigi Toscano 37697f48a0 Translation updates.
svn: r15826
2010-08-28 18:42:09 +00:00
Erik De Richter 9c15d167b4 updated nl translation
svn: r15823
2010-08-27 07:00:23 +00:00
Rob G. Healey bf4295b5b3 Web_Mainz.css: Fixed problem with the backgrounds not showing as they were intended. Thanks Jason Simanek.
svn: r15822
2010-08-26 23:08:26 +00:00
Doug Blank 1eb50ff295 Removed yields while cursor is open
svn: r15814
2010-08-25 04:25:08 +00:00
Jérôme Rapinat 0698a42f8e Update french translation
svn: r15809
2010-08-23 16:09:17 +00:00
Doug Blank b3929af419 Fixes to allow log cleanup
svn: r15803
2010-08-22 16:12:05 +00:00
Doug Blank 32f9ff1863 4190: Gedcom import: All my internet addresses are missing...
svn: r15797
2010-08-22 13:38:31 +00:00
Doug Blank 777c929f88 4180: Error occurred while attempting to EXPORT a GEDCOM file
svn: r15792
2010-08-22 02:08:29 +00:00
Doug Blank e39dedb453 4187: Error on GEDCOM file import
svn: r15791
2010-08-22 01:50:58 +00:00
Benny Malengier fc3ed649f1 better fix for #4166, #3955
svn: r15770
2010-08-18 21:15:49 +00:00
Jérôme Rapinat dce76ae6fe update Slovenian translation (by Bernard Banko) - What about date and rel handlers (rev15752)?
svn: r15753
2010-08-16 12:27:54 +00:00
Benny Malengier 285c5e429c 4166: Export Assistant crashes when closing or cancelling using the mouse
svn: r15739
2010-08-15 12:00:46 +00:00
Peter Landgren 724e09dfc9 Issue 4164, correction.
svn: r15722
2010-08-13 11:21:10 +00:00
Peter Landgren c09f8e4950 Issue 4164, Graphviz version=2.26.3
svn: r15716
2010-08-12 18:03:21 +00:00
Peter Landgren 4bbc5c08f3 Issue 4162, correction of box width.
svn: r15703
2010-08-11 07:02:14 +00:00
Peter Landgren a31d95bd28 Found some untranlated strings.
svn: r15695
2010-08-09 18:01:11 +00:00
Doug Blank 02dc2ce868 Name Format strings can have XML in them; now escaped- prevented valid XML from being written
svn: r15692
2010-08-09 13:17:38 +00:00
Nick Hall 3d19491f40 Sort by "surname" instead of "group as" in flat person view
svn: r15686
2010-08-08 18:33:21 +00:00
Espen Berg c7d490f469 Revised Norwegian bokmål
svn: r15676
2010-08-01 18:38:55 +00:00
Jérôme Rapinat 4690a03256 4089: 5 caracters for short months
svn: r15661
2010-07-29 08:50:10 +00:00
Jérôme Rapinat a35db4f70a 3526:Documentation for relationship module
svn: r15660
2010-07-29 08:24:05 +00:00
Jérôme Rapinat 42f5c62154 4089: Month names for Finnish (validated by Peter)
svn: r15640
2010-07-20 12:40:38 +00:00
Rob G. Healey 7e456e996c NarrativeWeb: Fix for bug #4098. Place name not retrurning proper answer.
svn: r15628
2010-07-08 22:56:11 +00:00
Nick Hall e0b02e80af Fix marker colours in Family and Note views
svn: r15614
2010-07-03 18:20:38 +00:00
Peter Landgren 51a9075613 Some unnecessary unicode conversion cleanup after fix of issue 4078.
svn: r15609
2010-06-30 07:37:55 +00:00
Peter Landgren 51abf16ddb Some unnecessary unicode conversion cleanup after fix of issue 4078.
svn: r15608
2010-06-30 07:37:09 +00:00
Peter Landgren 945f6e5b9f Some unnecessary unicode conversion cleanup after fix of issue 4078.
svn: r15607
2010-06-30 07:36:11 +00:00
Peter Landgren e7edfbdc0a Fix of issue 4078, note.get() unicode now.
svn: r15596
2010-06-28 07:28:16 +00:00
Peter Landgren 3e81d9dd88 Fix of issue 4078, note.get() unicode now.
svn: r15595
2010-06-28 07:27:24 +00:00
Peter Landgren cfbb494612 Issue 4078, notes not in utf-8.
svn: r15592
2010-06-24 07:49:14 +00:00
Nick Hall 52d5fbd042 Change sort order from D.D8 to ISO-DMS
svn: r15582
2010-06-19 23:43:59 +00:00
Nick Hall f0e156a112 4076: Fix sort order when different latitude/longitude formats are used
svn: r15580
2010-06-19 17:39:56 +00:00
Espen Berg 839b2ee4de Revised Norwegian bokmål translation
svn: r15573
2010-06-15 21:02:02 +00:00
Espen Berg 4beb29464a Revised Norwegian Nynorsk translation, by Sigmund Lorentsen
svn: r15572
2010-06-15 21:00:16 +00:00
Espen Berg c3ffffd943 Revised Norwegian bokmål translation
svn: r15571
2010-06-15 20:59:25 +00:00
Peter Landgren 15fc4fdf0f Fix of 4071 so that substitutioins variables /%N, /%s, /%S follow the spec in the manual.
svn: r15568
2010-06-15 06:32:41 +00:00
Mirko Leonhäuser 90c1f95ac5 Updated German translation
svn: r15564
2010-06-13 13:16:31 +00:00
Doug Blank 713344f2f8 Use Today for living filter date, and use basedb for determining living status
svn: r15556
2010-06-11 00:39:15 +00:00
Doug Blank 1f17db49c2 Removed some subtle checks in probably_alive to make more protective when restricting on alive status
svn: r15555
2010-06-11 00:36:49 +00:00
Peter Landgren 9e40603988 Fix of issue 4059, event type begins with non latin char.
svn: r15549
2010-06-09 20:59:16 +00:00
Peter Landgren 44f970baa8 Fix of issue 4058, list index out of range.
svn: r15548
2010-06-09 20:30:20 +00:00
Serge Noiraud dceb900362 Open Document : Issue 4018 and 4017 : random page break + top and bottom margin for paragraphs.
svn: r15543
2010-06-08 18:39:45 +00:00
Mirko Leonhäuser 1110c18ae1 Updated German translation
svn: r15537
2010-06-07 00:03:58 +00:00
Peter Landgren e3f9f97864 Fixed coding error when looking at issue 4034.
svn: r15534
2010-06-06 17:15:53 +00:00
Igal Shapira 10bd447ed5 Add 200 more hebrew translations.
svn: r15531
2010-06-05 09:28:40 +00:00
Jérôme Rapinat bc9cdd3896 #4044 #2855 #2762 fix on half relations (contribution by reinhard)
svn: r15529
2010-06-05 06:25:46 +00:00
Doug Blank a36690aa26 4036: svn15488 de.po from Branch crashes
svn: r15515
2010-05-30 14:43:08 +00:00
Peter Landgren 1db7cd2051 Final fix of issue 3935, coding problem in Windows.
svn: r15492
2010-05-28 13:18:48 +00:00
Mirko Leonhäuser 2ff12bdbcf Updated German translation
svn: r15488
2010-05-27 17:29:32 +00:00
Peter Landgren 904cb8cf16 Added info about DB version.
svn: r15486
2010-05-27 11:01:20 +00:00
Doug Blank d0d8fd4af1 4015: Addition of option of 'Page Break before Endnotes' on DDR and DAR reports
svn: r15483
2010-05-25 21:23:33 +00:00
Doug Blank 102189d77a 4012: Improvement for "What's next" report
svn: r15478
2010-05-25 13:20:33 +00:00
Doug Blank bbaec4b5ed 4012: Improvement for "What's next" report
svn: r15476
2010-05-25 10:08:51 +00:00
Rob G. Healey 2cfa9299d4 Adjusted the menus to have a little bigger font.
svn: r15474
2010-05-25 05:59:18 +00:00
Rob G. Healey 515b9525dd Bug#3932: Fixed events doubling up in class EventListPage.
svn: r15473
2010-05-25 05:57:18 +00:00
Doug Blank a393d793fc 4004, 3983, 3861, 3758: initialize_options missing argument
svn: r15468
2010-05-24 01:41:21 +00:00
Rob G. Healey aa8e6754c5 Bug#4005: Fixes the marriage/ divorce issue in anniversaries.
svn: r15450
2010-05-23 04:24:49 +00:00
Rob G. Healey bd937a1842 Bug#4001; Text in WebCal of birthday and anniversaries were being doubled up. Thanks Doug S. Blank for the patch.
svn: r15449
2010-05-23 04:06:16 +00:00
Serge Noiraud a40d4c4482 GeoView : bug #4002 console message: undefined @1: ReferenceError: Can't find variable: addcrosshair
svn: r15447
2010-05-22 07:39:22 +00:00
Rob G. Healey 7376843595 #3992: Fixed missing menus elements in stylesheet if using Web_Basic-Blue.css or Web_Visually.css. Menu elements were removed so that the user could choose between horizontal or Vertical menus.
svn: r15445
2010-05-21 23:51:51 +00:00
Rob G. Healey 8a40eeafe6 #3989: Fixed the problem of showing primary person twice in family events.
svn: r15444
2010-05-21 22:56:27 +00:00
Peter Landgren 42138f0c2e Added version info about the database.
svn: r15440
2010-05-21 14:16:13 +00:00
Igal Shapira bdfce6bf1b Updated he.po with 5 more percents - total 62.78% PO covarge
svn: r15437
2010-05-21 11:48:20 +00:00
Peter Landgren 8b463b8aae Fixed problem with non unicode path name.
svn: r15435
2010-05-21 06:23:53 +00:00
Serge Noiraud 2d8dab099b GeoView : bug #3973 ignore buttons_have_icons which avoid set_image() to change the image of a button.
gnome => 2.26 now set this to false


svn: r15432
2010-05-20 20:58:44 +00:00
Rob G. Healey 5cba134809 Fixed bug #3988; ColumnPerson on EventPages is blackened out.
svn: r15431
2010-05-20 20:56:44 +00:00
Stéphane Charette 1f41eddfea bump version number to 3.2.4
svn: r15423
2010-05-17 05:51:39 +00:00
Stéphane Charette 38c9e2800c update for 3.2.3 release
svn: r15419
2010-05-17 05:29:02 +00:00
Jérôme Rapinat eea4d3e0c9 update month names (by Łukasz Rymarczyk)
svn: r15417
2010-05-16 15:48:00 +00:00
Mirko Leonhäuser 4442a74690 Updated german translation
svn: r15415
2010-05-16 12:16:51 +00:00
Julio Sánchez 5688c351f1 Update
svn: r15414
2010-05-16 07:02:12 +00:00
Jérôme Rapinat cbc5b831b7 improvement on short sentences (narrative)
svn: r15413
2010-05-15 07:49:18 +00:00
Jérôme Rapinat c69eba2e4e typo (thanks to Bruno Coudoin)
svn: r15412
2010-05-15 07:36:16 +00:00
Nick Hall 9c6d5ea86b 3970: Append space to paragraph leader in ascii docgen
svn: r15408
2010-05-13 18:45:46 +00:00
Igal Shapira d323b5013f Adding he translations and also some previous typos fixes
svn: r15407
2010-05-13 18:17:04 +00:00
Jérôme Rapinat 953a0ac8b5 update Slovak translation (by Lubo Vasko)
svn: r15405
2010-05-13 17:46:37 +00:00
Doug Blank 1019617d0f 3958: Extremely slow gedcom import
svn: r15399
2010-05-13 11:07:38 +00:00
Jérôme Rapinat 6c1b155953 Removed some commented lines
svn: r15395
2010-05-12 17:16:32 +00:00
Erik De Richter 6a1d059e53 update nl translation
svn: r15394
2010-05-12 16:05:26 +00:00
Espen Berg 5f318a93b3 Removed some commented lines in Norwegian translation
svn: r15393
2010-05-12 08:22:58 +00:00
Stéphane Charette 03e1ef85fc update pot to get ready for 3.2.3
svn: r15387
2010-05-11 20:44:44 +00:00
Jérôme Rapinat b931b9aa9b update Polish translation (by Łukasz Rymarczyk)
svn: r15385
2010-05-11 17:33:41 +00:00
Doug Blank ff0cf470c5 svn ignore some gramps-connect files
svn: r15384
2010-05-10 00:22:25 +00:00
Doug Blank 18cebd92dd 3878: Private option and filter on Exporter
svn: r15382
2010-05-09 23:59:22 +00:00
Doug Blank 3430c34988 Protection from crashing on unknown (new) markup
svn: r15381
2010-05-09 23:51:29 +00:00
Espen Berg 380490c6a2 merged 15378 from trunk. issues 3915, 3950 and 3951 (and perhaps some more?) due to a change in pygtk appears to be fixed with this patch.
svn: r15379
2010-05-09 18:49:15 +00:00
Jérôme Rapinat 4a25ab7a25 minor improvement on unit test
svn: r15376
2010-05-09 16:44:13 +00:00
Doug Blank 8812e82f49 3943: Crashed whilst exporting to data.gramps using a person filter 'Public'; fixed many filter rules for people
svn: r15375
2010-05-09 15:19:07 +00:00
Doug Blank 96471a964b 3943: Crashed whilst exporting to data.gramps using a person filter 'Public'; fixed many filter rules for people
svn: r15373
2010-05-09 15:09:05 +00:00
Doug Blank 29ff7a386b 3640: Truncated FILE media path on Gedcom export; extended line for file to 255 characters
svn: r15371
2010-05-09 13:55:15 +00:00
Doug Blank 2c7e58e187 3943: Crashed whilst exporting to data.gramps using a person filter 'Public'; fixed many filter rules for people
svn: r15368
2010-05-09 13:42:33 +00:00
Doug Blank 1ff33d6377 3640: Truncated FILE media path on Gedcom export; extended line for file to 255 characters
svn: r15367
2010-05-09 12:57:33 +00:00
Peter Landgren 5ff5769845 Fix of issue 3935. Wrong encoding in Windows.
svn: r15359
2010-05-08 14:29:16 +00:00
Doug Blank 997cd04fe2 Fixing issues with get_privacy on non-existent objects which were probably filted out by a living proxy
svn: r15353
2010-05-07 23:45:28 +00:00
Jérôme Rapinat 45be6866ad #3936: months not localized (by maple)
svn: r15341
2010-05-06 18:39:01 +00:00
Boril Gourinov a5ac1da9fd Update of Bulgarian translation
svn: r15339
2010-05-06 15:38:27 +00:00
Peter Landgren d67271a2cf Fixed two minor spelling issues.
svn: r15335
2010-05-06 06:45:19 +00:00
Doug Blank 2fb7a5e048 3896: Narrated web fail: display_additional_images_as_gallery, not in list
svn: r15334
2010-05-06 04:46:28 +00:00
Doug Blank 5f69c64971 Ignore (and remove) style tags this version of gramps doesn't know about, rather than crash
svn: r15331
2010-05-05 23:15:22 +00:00
Jérôme Rapinat 602aa8c1bd #3918: months not localized (by jcreus)
svn: r15329
2010-05-05 16:51:29 +00:00
Doug Blank 0c270f4862 3911: Crash because of syntax error in name format; fixed having to escape double-quotes, and removed them if empty
svn: r15324
2010-05-05 03:56:18 +00:00
Peter Landgren 053efc5f75 Deleted test string.
svn: r15318
2010-05-04 11:57:12 +00:00
Peter Landgren ff705565a4 Issue 3915, error in error message.
svn: r15316
2010-05-04 11:53:48 +00:00
Peter Landgren b41598c645 Issue 3904, dirname and filename swapped.
svn: r15315
2010-05-04 11:51:59 +00:00
Jason Simanek b1d2ca5dc4 bug #0003908: fixed NarWeb footer height problem
svn: r15304
2010-05-03 12:17:47 +00:00
Doug Blank 4a8414e5c8 Protect views with no histories
svn: r15301
2010-05-02 13:48:49 +00:00
Doug Blank 6bfe45f079 3900: Export to Gedcom
svn: r15296
2010-05-01 18:38:13 +00:00
Doug Blank 38d8332970 Two fixes to address issues with living proxy and GEDCOM export
svn: r15295
2010-05-01 14:29:52 +00:00
Joan Creus 97eff89616 Updating Catalan translation
svn: r15291
2010-04-25 14:38:33 +00:00
Stéphane Charette 2ae3583c3a bump version to 3.2.3; remove libgconf as a build dependency
svn: r15288
2010-04-25 07:57:05 +00:00
Stéphane Charette 612b1889d8 update for 3.2.2 release
svn: r15284
2010-04-25 07:35:35 +00:00
Josip Pisoj 07e2fc2dd4 translation update
svn: r15282
2010-04-25 01:16:01 +00:00
Doug Blank 76ced42747 3877: 'alive' and incomplet date
svn: r15279
2010-04-24 18:58:56 +00:00
Luigi Toscano e06ba873f3 Translation updates.
svn: r15278
2010-04-24 11:04:09 +00:00
Gerald Britton db67f8de2a Bug 3873: Narrative web site crashes when both living and private filters are active
svn: r15276
2010-04-23 18:40:27 +00:00
Doug Blank 32d363fb7f bump next version string to 3.2.2
svn: r15275
2010-04-23 10:34:15 +00:00
Stéphane Charette 2465b88422 bump next version string to 3.2.2
svn: r15266
2010-04-22 08:09:39 +00:00
Benny Malengier 8cea9a51eb revert last change of Rob for Braille, breaks 3.2
svn: r15263
2010-04-22 07:30:53 +00:00
Stéphane Charette 4550baab10 update for 3.2.1 release
svn: r15260
2010-04-22 07:14:59 +00:00
Rob G. Healey 55f392869a Re-wrote the Vertical navigation menu.
svn: r15259
2010-04-22 01:33:50 +00:00
Rob G. Healey 00b0412fee Committed same changes for NarrativeWeb and WebCal for Screen Readers and Braille writers.
svn: r15258
2010-04-22 01:31:51 +00:00
Mirko Leonhäuser 13b5c5a524 Updated german translation
svn: r15252
2010-04-21 17:28:22 +00:00
Espen Berg e044b265d1 Revised Norwegian bokmål translation
svn: r15250
2010-04-21 10:41:50 +00:00
Peter Landgren 2e784b10dc Update of Swedish translation.
svn: r15249
2010-04-21 07:07:34 +00:00
Doug Blank 1a0eb9ce07 3848: NarWeb: a Family Attribute confuses following families
svn: r15248
2010-04-21 00:31:33 +00:00
Stephen George f7bdf34e52 Add the current windows install scripts to version control
svn: r15247
2010-04-20 22:17:51 +00:00
Erik De Richter d4c8769f77 update nl translation
svn: r15245
2010-04-20 14:26:57 +00:00
Jérôme Rapinat d771987d25 update hebrew translation (by Igal Shapira)
svn: r15244
2010-04-20 13:20:16 +00:00
Jérôme Rapinat 5576d5a29a update french translation
svn: r15243
2010-04-20 07:22:41 +00:00
Rob G. Healey 8383d19e2c Cleanup work on stylesheets before next release.
svn: r15242
2010-04-19 22:45:42 +00:00
Mirko Leonhäuser fe986d59e2 Updated german translation
svn: r15239
2010-04-19 20:19:03 +00:00
Doug Blank d473bc8704 3430: Add Gramps version to the output of reports
svn: r15237
2010-04-19 14:34:54 +00:00
Peter Landgren 4c1b073dac Fix of issue 3865.
svn: r15235
2010-04-19 13:49:49 +00:00
Doug Blank def3e1f1c1 3863: Narrative Web report : role not displayed when not primary
svn: r15233
2010-04-19 13:46:37 +00:00
Peter Landgren 33f27e5a9d Fix of 3838.
svn: r15231
2010-04-19 13:08:00 +00:00
Peter Landgren dd585eeb14 Swedish update.
svn: r15230
2010-04-19 13:00:31 +00:00
Jérôme Rapinat 3638758a6a update french translation
svn: r15227
2010-04-19 08:42:40 +00:00
Jérôme Rapinat a48189188f typo
svn: r15225
2010-04-19 08:21:20 +00:00
Doug Blank beec9a1e5b 3868: NarWeb Associations should be a link to the person's webpage
svn: r15224
2010-04-19 02:45:26 +00:00
Doug Blank 41c810d9ae Don't crash on new-style newyear date tuple (newyear date is from trunk)
svn: r15223
2010-04-19 02:44:13 +00:00
Mirko Leonhäuser cf6a378e0a Updated german translation
svn: r15222
2010-04-18 21:59:15 +00:00
Doug Blank 5aa5782130 3863: Narrative Web report : missing description column
svn: r15221
2010-04-18 16:58:04 +00:00
Doug Blank b7ca1ab432 3862: Narrative Web Report - Hyperlink on image regions no more clikable
svn: r15219
2010-04-18 16:14:31 +00:00
Doug Blank 62e4b4bc29 3805: Report 'Narrated Web Site...' - Contact page will be shown only if Publisher contact note OR image was set before
svn: r15217
2010-04-18 13:52:34 +00:00
Doug Blank 6ed480d1d9 Fixes for configuring gramplets
svn: r15216
2010-04-18 13:44:33 +00:00
Doug Blank 6806b68d9d Fixed error in losing options on config of this gramplet
svn: r15213
2010-04-18 12:59:04 +00:00
Mirko Leonhäuser 537c2cf71f Updated german translation
svn: r15211
2010-04-18 12:49:44 +00:00
Doug Blank 54b87d8fc6 Fixed error in losing options on config of this gramplet
svn: r15210
2010-04-18 12:25:51 +00:00
Doug Blank cc2a9b39fb 3863: Narrative Web report : role not displayed when not primary; moved associations above sources to include assoc sources
svn: r15208
2010-04-18 11:03:46 +00:00
Rob G. Healey 67866b3be6 Added my changes in trunk/NarrativeWeb to gramps32. Allowing the user to choose from either vertical/horizontal menus in either Web_Basic-Blue or Web_Visually stylesheets.
svn: r15205
2010-04-18 01:37:37 +00:00
Doug Blank 62bd563c9e All known CSS syntax errors fixed
svn: r15204
2010-04-18 00:43:05 +00:00
Doug Blank 4954b97248 Bump up gramps32 SVN from 3.2.0 to 3.2.1
svn: r15202
2010-04-17 23:21:08 +00:00
Doug Blank 75c9a2ef3b Revert: put this in the next commit
svn: r15200
2010-04-17 23:19:23 +00:00
Doug Blank 2a66d6b648 3798: tempfile wrongly used in Gramps: possible error 'Too many open files: ...'
svn: r15199
2010-04-17 23:16:36 +00:00
Doug Blank 92dd34a742 3544: Narrated web report does not get created
svn: r15198
2010-04-17 21:58:20 +00:00
Doug Blank d66ba3430a CSS fixes---need to do to all
svn: r15195
2010-04-17 21:44:21 +00:00
Doug Blank b38c9e5144 Refine dump_notes usage
svn: r15194
2010-04-17 20:09:45 +00:00
Doug Blank 4f648c3c7e 3851: NarWeb Associations don't show unless Include Private is checked
svn: r15193
2010-04-17 20:08:47 +00:00
Boril Gourinov 0754a00faf Update of Bulgarian translation
svn: r15191
2010-04-17 19:37:31 +00:00
Erik De Richter d60766d252 update nl translation
svn: r15190
2010-04-17 18:58:36 +00:00
Jérôme Rapinat be1deaa875 update template and french translation
svn: r15189
2010-04-17 18:43:05 +00:00
Doug Blank 00b02b19ed CSS fixes and rest of fix of 3837
svn: r15186
2010-04-17 18:19:13 +00:00
Doug Blank 8f38b63312 CSS fixes and partial fix to 3837
svn: r15184
2010-04-17 14:47:02 +00:00
Peter Landgren ab138911f5 Issue 3823, improved support for 2-byte unicode sequence.
svn: r15183
2010-04-17 14:01:58 +00:00
Doug Blank b88b68e3cf Changed a gettext string (home -> active); only show home link if person is selected
svn: r15180
2010-04-17 13:08:57 +00:00
Doug Blank 59f12247f5 Use cropped regions as images; show gallery in order of media_list, and include snapshot in gallery
svn: r15179
2010-04-17 12:42:42 +00:00
Doug Blank 690daa1783 Removed unnecessary return
svn: r15173
2010-04-17 00:48:24 +00:00
Doug Blank 8564556ddd 3848: Web Report Revision 15110, missing name
svn: r15170
2010-04-17 00:20:34 +00:00
Benny Malengier 99e8b2bb31 3815: Notes with html show verbatim in narrative web
svn: r15168
2010-04-16 20:58:51 +00:00
Erik De Richter 387e9537a5 update nl translation
svn: r15167
2010-04-16 16:06:32 +00:00
Doug Blank 290c7413ea 3798: Narrative Web Report error 'Too many open files: ...'
svn: r15166
2010-04-16 15:38:58 +00:00
Doug Blank 84b35dcbd0 Protection from scale error
svn: r15164
2010-04-16 15:37:46 +00:00
Doug Blank 361a781b44 Protect from unknown types---just mark as unknown
svn: r15161
2010-04-16 15:35:18 +00:00
Jérôme Rapinat 1b205c9d8d update Slovak translation (by Lubo Vasko)
svn: r15160
2010-04-16 13:09:32 +00:00
Doug Blank 3ca9122aa9 Resized Download page
svn: r15158
2010-04-16 00:17:39 +00:00
Doug Blank 62e612da4f Create Addressbook Page, even if no addresses if it is checked; center mainz addressbook pages
svn: r15156
2010-04-15 21:45:44 +00:00
Doug Blank 8f3d0564d7 Mainz subparts centered
svn: r15154
2010-04-15 21:27:17 +00:00
Doug Blank 3f9096cac1 Mainz centered
svn: r15152
2010-04-15 21:16:35 +00:00
Doug Blank 3eafa61ba7 Errors in CSS
svn: r15150
2010-04-15 21:04:38 +00:00
Espen Berg d2a7319945 Revised Norwegian bokmål translation
svn: r15147
2010-04-15 19:25:31 +00:00
Rob G. Healey 9de60a586a Added Navigation style sheets and Basic Blue to src/data directory in preparation to getting trunk NarrativeWeb up to speed with gramps32. NarrativeWeb has NOT been modified for these changes yet.
svn: r15145
2010-04-15 14:34:54 +00:00
Doug Blank d54e4dadbe 3829: Narrated Web Site: Type of source ref note is not output
svn: r15144
2010-04-15 12:40:36 +00:00
Doug Blank 9445741cd1 Long/lat showing as None
svn: r15142
2010-04-15 10:53:22 +00:00
Doug Blank dfdda43ed7 Repository name was double-escaped
svn: r15140
2010-04-15 10:48:09 +00:00
Rob G. Healey 6e04d0c427 Cleanup of class RepositoryPage.
svn: r15137
2010-04-15 07:29:08 +00:00
Rob G. Healey 98b68e0d2c Attempt to return Mainz to its original state. Only needs work on the div#footer. Sides, header, and body all working once again.
svn: r15136
2010-04-15 06:52:50 +00:00
Peter Landgren 6ccb9e2fb7 Fix of 3800, so that error msg are dispalyed.
svn: r15132
2010-04-15 06:41:10 +00:00
Doug Blank 8c429cdb4e 3845: In NarrativeWeb plugin, would like to remove the <sup> from the source annotations, by adamplumb
svn: r15131
2010-04-15 04:12:27 +00:00
Doug Blank abcc901da6 3828: Narrated Web Site: Association output is incorrect, by kulath
svn: r15127
2010-04-15 03:51:41 +00:00
Rob G. Healey 561f7fc040 Bug#3846: Fixed class SourcePage where information would not be created if 'Suppress Gramps IDs' was selected.
svn: r15123
2010-04-15 01:47:51 +00:00
Doug Blank 163382d835 Fixed typo on ewgions to match trunk
svn: r15122
2010-04-15 01:08:28 +00:00
Benny Malengier a3c6fa4e6f 1892: Name Editor Cancel marks Override
svn: r15120
2010-04-14 20:15:40 +00:00
Mirko Leonhäuser 02ba3841f3 Updated german translation
svn: r15119
2010-04-14 18:35:49 +00:00
Jérôme Rapinat 5a07dd88c6 new template
svn: r15118
2010-04-14 16:40:11 +00:00
Jérôme Rapinat 3fbecd2480 update Slovak DateHandler (by Lubo Vasko)
svn: r15116
2010-04-14 16:22:04 +00:00
Peter Landgren a32f2d8d51 Update of Swedish translation.
svn: r15115
2010-04-14 12:53:32 +00:00
Jérôme Rapinat 9c181346f0 Bug#3813: Removed ColumnPath and made ColumnDescription the hyperlink - quick manual edit : new translation string
svn: r15113
2010-04-14 08:39:07 +00:00
Jérôme Rapinat 3c7cbc9a49 update Hebrew and Slovak translations (by Igal Shapira and Lubo Vasko) and enable Hebrew (50%) for 3.2.1
svn: r15112
2010-04-14 08:30:27 +00:00
Rob G. Healey bee3835ab6 Bug#3819: Fixed the place detail missing because if place.main_loc in dump_places() was indented one too far.
svn: r15110
2010-04-14 05:48:14 +00:00
Rob G. Healey e231990b74 Bug#3813: Removed ColumnPath and made ColumnDescription the hyperlink. Removed ColumnPath Element from all stylesheets.
svn: r15107
2010-04-14 04:38:19 +00:00
Doug Blank 8667244185 3822: Narrated Web Site: citations for person sources are missing
svn: r15105
2010-04-14 00:23:55 +00:00
Peter Landgren 5297e676b0 Fix of issue 3840.
svn: r15102
2010-04-13 07:33:09 +00:00
Doug Blank a81f6956a5 3827: Narrated Web Site: Dates for Alternate names are not shown, by kulath
svn: r15101
2010-04-13 02:49:45 +00:00
Doug Blank aac19c3b31 3834: Death date on individuals an surnames pages in Narrative Web Report
svn: r15098
2010-04-13 02:37:08 +00:00
Doug Blank ea49e88bb5 3831: Childref notes are lost on merging of children
svn: r15097
2010-04-13 02:28:19 +00:00
Doug Blank 18dd8cac93 3676: NarrativeWeb report sometimes uses urls not availables (filter, proxy, living)
svn: r15094
2010-04-13 02:14:59 +00:00
Doug Blank 28306a0bf4 CSS Errors
svn: r15092
2010-04-12 23:44:54 +00:00
Jérôme Rapinat 3430645c48 3756: Cannot set new year value different than default (first January)
svn: r15091
2010-04-12 08:38:30 +00:00
Mirko Leonhäuser 869cd9f118 Updated german translation
svn: r15089
2010-04-11 20:27:40 +00:00
Peter Landgren e5dcf43212 All strings in unicode.
svn: r15087
2010-04-11 17:32:23 +00:00
Peter Landgren 7d1812fe7e Swedish update.
svn: r15086
2010-04-11 17:27:54 +00:00
Doug Blank 9773eb5a15 3826: Language detection in spelling does not work, by kulath
svn: r15085
2010-04-11 14:18:59 +00:00
Doug Blank 8777a0ee1e 3831: Childref notes are lost on merging of children, by MD Nauta
svn: r15082
2010-04-11 13:43:00 +00:00
Doug Blank f829b1bf91 3830: 'Merged GRAMPS ID' attribute overwritten on PeopleMerge by MD Nauta
svn: r15081
2010-04-11 13:15:58 +00:00
Rob G. Healey b0d01d4c2c Bug#3822: Added citation_links for person sources in NarrativeWeb.
svn: r15078
2010-04-11 05:05:41 +00:00
Rob G. Healey f1acb5e0d5 Re-added #alphabet, #navigation, #subnavigation back to Visually Impaired stylesheet.
svn: r15077
2010-04-11 04:59:44 +00:00
Rob G. Healey 9655233957 Bug#3814: Added Attributes style elements to stylesheets. Added family attributes back into IndividualPages.
svn: r15076
2010-04-11 04:07:08 +00:00
Jérôme Rapinat 1ea98777ca Do not break translations
svn: r15071
2010-04-10 07:50:36 +00:00
Erik De Richter b21d78ef8b update nl translation
svn: r15070
2010-04-10 06:48:03 +00:00
Rob G. Healey 4053357d17 Bug#3816: Fixed note issue in header_note and footer_note.
svn: r15068
2010-04-09 22:32:45 +00:00
Josip Pisoj c57394f6aa hr translation update
svn: r15067
2010-04-08 21:28:20 +00:00
Erik De Richter c47b012160 update nl translation
svn: r15065
2010-04-08 14:05:47 +00:00
Rob G. Healey a1d66d4e42 Fixed problems in RepositoryList and Sources of items not being a bottom dashed line to separate items.
svn: r15064
2010-04-08 12:24:22 +00:00
Rob G. Healey b9c55e9f41 Fixed the center person to be using the actual center person option in NarrativeWeb.
svn: r15062
2010-04-08 05:47:32 +00:00
Rob G. Healey d3b6d8c9f3 Fixed footer note to use straight HTML code instead of styled text.
svn: r15059
2010-04-08 02:26:10 +00:00
Rob G. Healey f52dc92ad0 Bug #3812: Fixed event notes being shown on individual pages.
svn: r15058
2010-04-08 00:33:30 +00:00
Rob G. Healey 6846dc43dd Bug #3816: Fixxed header note so that there is no formatting. Straight HTML.
svn: r15057
2010-04-07 23:57:22 +00:00
Rob G. Healey 78dca2345a Fixed page source layout for stylesheet links line up.
svn: r15056
2010-04-07 23:55:28 +00:00
Boril Gourinov aaa5f81719 Updating Bulgarian translation
svn: r15052
2010-04-07 06:26:32 +00:00
Benny Malengier d8268a5c5e fix short month dutch datehandler
svn: r15045
2010-04-06 19:22:18 +00:00
Mirko Leonhäuser 699b1415d3 Updated german translation
svn: r15044
2010-04-06 18:41:57 +00:00
Jérôme Rapinat 8fdebc3f79 Add bookmark icon was missing on Menu (same string as navigationview)
svn: r15043
2010-04-06 18:00:24 +00:00
Jérôme Rapinat 2b968797b5 Edit bookmark icon was missing on Menu
svn: r15040
2010-04-06 17:47:22 +00:00
Espen Berg c4f62cf446 Revised Norwegian translation
svn: r15039
2010-04-06 17:04:22 +00:00
Peter Landgren 3c4c8bae1c Swedish update.
svn: r15025
2010-04-04 11:42:43 +00:00
Raphael Ackermann d3494a9429 added checks so that missing LOCALEDIR won't prevent gramps from starting
svn: r15020
2010-04-04 09:24:15 +00:00
Rob G. Healey 318ffc4060 Replaced downloadnote with msg on DownloadPage.
svn: r15018
2010-04-04 05:41:42 +00:00
Rob G. Healey 1fcfbe0cb3 Fixed spacing and alighment in Nebraska stylesheet.
svn: r15017
2010-04-04 05:39:40 +00:00
Rob G. Healey b6be5cfbb5 Re-added missing #navigation, #subnavigation, #alphabet back into Visually Impaired stylesheet.
svn: r15016
2010-04-04 04:23:28 +00:00
Rob G. Healey 13e14ab179 Fixed navigation menu spacing and alignment.
svn: r15015
2010-04-04 03:45:33 +00:00
Rob G. Healey 193de7d191 Bug#2872: Fixed #streetaddress in ContactPage for Web_Nebraska.css stylesheet.
svn: r15012
2010-04-04 02:50:01 +00:00
Mirko Leonhäuser 49f4af524c Updated german translation
svn: r15008
2010-04-03 19:46:29 +00:00
Raphael Ackermann 9c514656a2 0003770: Transutils crashes if it cannot find /usr/local/share/locale
svn: r15007
2010-04-03 12:04:04 +00:00
Rob G. Healey fa97100070 Fixed bug#3775. Putting space between source references.
svn: r15004
2010-04-03 05:41:26 +00:00
Rob G. Healey 429494fb13 Fixed download page table being oversized. Removed download page note from download page. Bug#3795 should be resolved.
svn: r15003
2010-04-03 01:27:16 +00:00
Luigi Toscano d3012d9753 Translation updates.
svn: r15001
2010-04-02 21:12:08 +00:00
Peter Landgren 6d397343bd Swedish update.
svn: r15000
2010-04-02 09:17:59 +00:00
Peter Landgren 4083a4e95e Fix of issue 2740.
svn: r14999
2010-04-02 09:14:11 +00:00
Rob G. Healey 0ab9fb1041 Fixed a typo from eaxct_search to exact_search in line #235.
svn: r14996
2010-04-02 00:08:39 +00:00
Doug Blank 531a1670bd 3789: Web report crash
svn: r14993
2010-04-01 23:35:19 +00:00
Erik De Richter e114a33e8c update nl translation
svn: r14992
2010-04-01 18:52:30 +00:00
Mirko Leonhäuser 39a211e6b6 Updated german translation
svn: r14989
2010-04-01 15:41:44 +00:00
Jérôme Rapinat 07cf64904e update french transaltion, new template
svn: r14987
2010-04-01 14:51:55 +00:00
Doug Blank 1ea37388af 3780: 'Gender contains' filter does not work as I expect
svn: r14986
2010-04-01 13:24:48 +00:00
Doug Blank a7e06a91aa 3609: Can't open a gramps 3.1 database from trunk on Windows 7 64 bit from Gramps 3.2
svn: r14984
2010-04-01 01:20:40 +00:00
Doug Blank 9302411eb4 0003734: [Calendars] Only add persons whose birth date is year/01/01 on the first january
svn: r14982
2010-04-01 01:09:13 +00:00
Benny Malengier 4aca694f11 3757: key2string map still in memory after XML import
svn: r14980
2010-03-31 08:26:47 +00:00
Benny Malengier eb052c160e 3783: NewPerson Dialogue: "available surname list" shows each occurrence of a family name instead of one per family name
svn: r14976
2010-03-30 13:41:26 +00:00
Jérôme Rapinat 8b0851a5d9 update Polish translation (by Łukasz Rymarczyk)
svn: r14974
2010-03-30 09:04:27 +00:00
Nick Hall 1518db862b Fix bug introduced with adding column to place tree view
svn: r14971
2010-03-29 22:43:03 +00:00
Nick Hall 1832a4335c 3740: Fix problems with add, delete and update of views when filter applied
svn: r14969
2010-03-29 16:04:19 +00:00
Jérôme Rapinat 17945cd5d2 update Slovak translation (by Lubo Vasko)
svn: r14966
2010-03-29 10:16:16 +00:00
Jérôme Rapinat 994d8479ef update Slovak translation (by Lubo Vasko)
svn: r14965
2010-03-29 09:55:36 +00:00
Espen Berg a442eea8bb Revised Norwegian translation
svn: r14964
2010-03-28 20:01:48 +00:00
Rob G. Healey 94a9262faf Removed new code only meant for trunk. Thanks Stephane Charette for finding the error.
svn: r14963
2010-03-28 19:38:58 +00:00
Stéphane Charette 05af777974 new gramps.pot file generated
svn: r14962
2010-03-28 16:33:24 +00:00
Stéphane Charette 0decb74ba2 insert a line break between the date and the 'created for' name
svn: r14960
2010-03-28 15:42:28 +00:00
Peter Landgren 02295c4b37 Minor Swedish update.
svn: r14959
2010-03-28 15:17:39 +00:00
Stéphane Charette e0503bf667 only scale images down, not up
svn: r14956
2010-03-28 14:10:17 +00:00
Stéphane Charette 3f1d184f9b remove stray html on resized images
svn: r14955
2010-03-28 14:07:05 +00:00
Erik De Richter 096aeb789c update nl translation
svn: r14954
2010-03-28 08:41:15 +00:00
Nick Hall b014c9d39d 0407 and 1447: Save column widths in configuration file
svn: r14952
2010-03-28 00:54:33 +00:00
Nick Hall 097200d512 3731: Add place name column to place tree view
svn: r14950
2010-03-27 22:59:41 +00:00
Raphael Ackermann fb93619c6e 0002878: $n / $N commands don't make a difference when printing reports
svn: r14948
2010-03-27 19:25:08 +00:00
Boril Gourinov d286d6355a Updating Bulgarian translation
svn: r14947
2010-03-27 17:34:04 +00:00
Peter Landgren a897c63f31 Swedish update.
svn: r14946
2010-03-27 09:17:07 +00:00
Jérôme Rapinat 766ea73c52 3596: Web reports dialogs use too large length value
svn: r14945
2010-03-27 08:24:28 +00:00
Jérôme Rapinat ed19bd7c71 update french translation and template
svn: r14944
2010-03-27 07:58:02 +00:00
Rob G. Healey 06a2f38faa Created CSS elements for WebLinks sections in Individual Pages and AddressBook Pages. Fixed missing hyperlinks and description fields. Problem from Alain Aupeix. No bug tracker created.
svn: r14943
2010-03-27 07:15:24 +00:00
Mirko Leonhäuser 38be51fdc7 Updated german translation
svn: r14941
2010-03-27 01:09:51 +00:00
Rob G. Healey 636ef25a7a Fixed missing notes and sources in Event Section of Individual Pages. Reported by Alain Aupeix and Stephane Charette. No bug report generated. Thanks gentlemen.
svn: r14938
2010-03-26 23:52:57 +00:00
Nick Hall 4219566d11 Translate strings for hierarchy level headings
svn: r14934
2010-03-26 21:11:12 +00:00
Nick Hall 08920e3f8c 3752: Fix sort order of last-changed column
svn: r14932
2010-03-26 19:48:43 +00:00
Jérôme Rapinat f5c1e9efcf 3736: Bloc size and new line on NarrativeWeb: line 879
svn: r14931
2010-03-26 15:48:34 +00:00
Jérôme Rapinat 2d78513cfe convert localized short months to DateObject
svn: r14929
2010-03-26 15:43:26 +00:00
Peter Landgren e43b659d50 Swedish update.
svn: r14928
2010-03-26 08:24:39 +00:00
Josip Pisoj 97662e04e3 hr translations
svn: r14925
2010-03-25 19:12:37 +00:00
Benny Malengier 0d2eab4f07 3761: Error when editing family event
svn: r14923
2010-03-24 19:45:48 +00:00
Benny Malengier 66da4a7f96 Solving connected date bugs
3390: Date module that reads calendar on Gedcom file format, cannot read the @ 
3763: dates parsed wrong
3754: Active markup for invalid date on Event View
Some other bugs might be fixed by these changes


svn: r14921
2010-03-24 16:05:14 +00:00
Serge Noiraud 2f9a6cef54 ODFDoc : Issue 2576 : change run-through form background to foreground.
svn: r14919
2010-03-24 06:44:32 +00:00
Boril Gourinov 0563f93c97 Updating Bulgarian translation
svn: r14917
2010-03-23 20:08:22 +00:00
Benny Malengier d83b8d5675 3715: Plugin manager load/reload does not unload earlier versions of plugins
svn: r14915
2010-03-23 13:27:40 +00:00
Joan Creus 1f0214abda Translation update
svn: r14913
2010-03-22 22:53:55 +00:00
Luigi Toscano b68b0be609 Translation updates.
svn: r14911
2010-03-22 22:29:59 +00:00
Julio Sánchez 46abb12de5 Handle GEDCOM 5.5.1 formats for latitude and longitude (bug #3743)
svn: r14910
2010-03-22 22:21:05 +00:00
Mirko Leonhäuser 6fde03c4a0 Updated german translation
svn: r14909
2010-03-22 20:21:23 +00:00
Julio Sánchez e73736b83c Translation is now up-to-date except for online manual references
svn: r14908
2010-03-22 17:47:57 +00:00
Jérôme Rapinat 3db68542cd new template and updated french translation (3.2.1)
svn: r14907
2010-03-22 17:19:10 +00:00
Jérôme Rapinat 9d3352fd9f 3723: Some labels should be plural ?
svn: r14905
2010-03-22 17:15:00 +00:00
Jérôme Rapinat 573f342462 new template and updated french translation (3.2.1)
svn: r14904
2010-03-22 16:59:55 +00:00
Jérôme Rapinat df7afdf59f 3723: Some labels should be plural ?
svn: r14902
2010-03-22 13:09:25 +00:00
Erik De Richter fcf37f7e42 update nl translation
svn: r14900
2010-03-22 07:57:09 +00:00
Luigi Toscano 8ec4760b8f Translation updates.
svn: r14897
2010-03-21 18:47:04 +00:00
Serge Noiraud 7595be65f2 GeoView : Issue 3749 : syncronize the crosshair to the new position.
svn: r14895
2010-03-21 16:21:07 +00:00
Espen Berg f0e4a17c99 Updated Norwegian translation
svn: r14894
2010-03-21 16:11:17 +00:00
Serge Noiraud 643e6321c3 GeoView : Issue 3749: better way to place the icon at the same place as googlemap do.
svn: r14893
2010-03-21 15:59:20 +00:00
Serge Noiraud 90f27a4b06 GeoView : Issue 749 : Pin positions drift with zoom
svn: r14891
2010-03-21 15:26:47 +00:00
Benny Malengier 6a020331e4 3690: Do not need to use underscore on text for file formats (import/export)
svn: r14888
2010-03-21 10:32:36 +00:00
Benny Malengier 339b7c7d24 3655: last modified timestamp changes everytime a tree is accessed
svn: r14886
2010-03-21 09:36:51 +00:00
Jérôme Rapinat 0957aac8b0 updated french translation
svn: r14885
2010-03-20 16:46:43 +00:00
Doug Blank 999c8fb653 3742: Gramps 3.2 crashes on data entry
svn: r14884
2010-03-20 15:23:40 +00:00
Doug Blank 1bb7b75060 3475: Sort temple names on LDS Editor
svn: r14882
2010-03-20 14:31:44 +00:00
Doug Blank d4adeacaa4 3739: Find duplicate people (error in soundex unicode)
svn: r14879
2010-03-20 12:41:37 +00:00
Peter Landgren 07527ad229 Fix of issue 3737.
svn: r14876
2010-03-20 11:52:08 +00:00
Jérôme Rapinat 2974f5034b 3744: Cannot display name, description, uri for 'Web Home' web link generated by NarrativeWeb (need descr)
svn: r14874
2010-03-20 08:24:14 +00:00
Jérôme Rapinat 56d940ca03 updated Slovak translation (by Lubo Vasko)
svn: r14873
2010-03-20 04:27:24 +00:00
Jérôme Rapinat a521a5721a 3738: ftp url can lead to NarrativeWeb crash (typo)
svn: r14871
2010-03-20 04:18:09 +00:00
Raphael Ackermann 5f4700674e 0002857: Spacebar doesn't activate embedded edit buttons
svn: r14868
2010-03-19 14:42:42 +00:00
Doug Blank 10a8de8f1f 3728: Daterange with cformat doesn't XML-import
svn: r14865
2010-03-19 01:19:29 +00:00
Doug Blank 85cda5069b Changed variable name to avoid conflict with reload function
svn: r14864
2010-03-18 23:56:33 +00:00
Benny Malengier e009296c4e 3715: Plugin manager load/reload does not unload earlier versions of plugins
svn: r14862
2010-03-18 22:28:52 +00:00
Jérôme Rapinat 029d505706 3736: Bloc size and new line on NarrativeWeb: line 879
svn: r14860
2010-03-18 15:53:19 +00:00
Boril Gourinov b3e903f455 Updating Bulgarian translation
svn: r14859
2010-03-17 21:13:14 +00:00
Mirko Leonhäuser 1a11905b03 Updated german translation
svn: r14858
2010-03-17 18:47:18 +00:00
Jérôme Rapinat 60d4102d2b 3729: plugin names are description
svn: r14857
2010-03-17 15:18:47 +00:00
Jérôme Rapinat 648f0c17e1 3694: Use of the same translation string on View as the name set on group
svn: r14854
2010-03-17 15:04:43 +00:00
Mirko Leonhäuser 3311cb01a7 Updated german translation
svn: r14853
2010-03-16 20:02:22 +00:00
Julio Sánchez c3cf78513e Partial update
svn: r14852
2010-03-16 16:54:32 +00:00
Jérôme Rapinat 321461ffac 3708: Portuguese Date Handler updated (by lcc)
svn: r14851
2010-03-16 13:09:51 +00:00
Jérôme Rapinat ae92094ccf remove Esperanto reference
svn: r14850
2010-03-16 13:08:22 +00:00
Benny Malengier 21e99eb292 3706: GRAMPS plugins selecting a local path produces an error
svn: r14849
2010-03-16 08:54:38 +00:00
Peter Landgren 5ccfcd25d0 Update after last fix of typos and grammar.
svn: r14847
2010-03-16 07:46:22 +00:00
Julio Sánchez c6ace32787 Partial update
svn: r14846
2010-03-16 06:08:20 +00:00
Benny Malengier cc022dc858 3709: Typos and grammar mistakes
svn: r14844
2010-03-15 22:24:25 +00:00
Benny Malengier a0e510a210 3709: Typos and grammar mistakes
svn: r14842
2010-03-15 22:15:25 +00:00
Benny Malengier d47852bfbe 3709: Typos and grammar mistakes
svn: r14840
2010-03-15 22:10:58 +00:00
Benny Malengier ee1185428a 3721: RuntimeWarning on Event comparison tool
svn: r14838
2010-03-15 22:03:17 +00:00
Joan Creus 59457b5974 Translation update
svn: r14837
2010-03-15 21:20:37 +00:00
Mirko Leonhäuser c49071215a Updated german translation
svn: r14836
2010-03-15 19:40:40 +00:00
Julio Sánchez 1cf2b67ddd Partial update
svn: r14835
2010-03-15 18:02:46 +00:00
Jérôme Rapinat d84f35e449 wording
svn: r14834
2010-03-15 18:00:21 +00:00
Espen Berg a0082082f7 Updated Norwegian translation - too late, but only three fuzzies, so I don't bother
svn: r14832
2010-03-15 15:30:41 +00:00
Jérôme Rapinat f07071178d Some 16x16 images are missing, used by OS or desktop not able to scale SVG images
svn: r14830
2010-03-15 13:53:21 +00:00
Jérôme Rapinat bf83a938f6 Some 16x16 images are missing, used by OS or desktop not able to scale SVG images
svn: r14829
2010-03-15 13:51:37 +00:00
Jérôme Rapinat 3d56add348 3696: Typo on translation strings into NarrativeWeb
svn: r14827
2010-03-15 11:10:52 +00:00
Jérôme Rapinat 8ade441c5c missing image for old distribution or desktop (no SVG support)
svn: r14825
2010-03-15 11:01:34 +00:00
Stéphane Charette 4e2c568c75 up the version string for gramps32 branch to 3.2.1
svn: r14824
2010-03-15 08:00:22 +00:00
Julio Sánchez 4eebd0ca01 Partial update
svn: r14818
2010-03-15 06:20:21 +00:00
Julio Sánchez 6d8a2ac7fd Partial update
svn: r14816
2010-03-14 15:33:41 +00:00
Boril Gourinov 095326925b Bulgarian Calendar Holidays fixed tipo
svn: r14814
2010-03-14 15:17:01 +00:00
Boril Gourinov a7031c89c2 Bulgarian Calendar Holidays
svn: r14813
2010-03-14 14:23:56 +00:00
Doug Blank 808137d693 3688: Fanchart view is built twice when made active
svn: r14811
2010-03-14 13:54:24 +00:00
Mirko Leonhäuser 63ccc34811 Updated german translation
svn: r14808
2010-03-14 12:26:48 +00:00
Jérôme Rapinat eb266275b5 there was a missing string ...
svn: r14807
2010-03-14 11:30:27 +00:00
Peter Landgren ad65879edc Swedish update.
svn: r14806
2010-03-14 10:12:05 +00:00
Peter Landgren 7573565d85 Found a missing _
svn: r14804
2010-03-14 10:02:37 +00:00
Josip Pisoj 75c6f2394f hr translations
svn: r14803
2010-03-14 09:40:31 +00:00
Julio Sánchez 778aba3ccc Partial update
svn: r14801
2010-03-14 08:19:42 +00:00
Julio Sánchez 17237d7c8e Partial update
svn: r14800
2010-03-14 07:03:37 +00:00
Jérôme Rapinat 232d568e39 update Chinese translation (by honeyword)
svn: r14799
2010-03-14 06:52:44 +00:00
Boril Gourinov b41f40d567 Updating Bulgarian translation
svn: r14797
2010-03-13 21:28:27 +00:00
Peter Landgren 32d091f2b1 Fix of issue 3703.
svn: r14795
2010-03-13 20:24:33 +00:00
Julio Sánchez 9a119ba699 More msgfmt -c fixes
svn: r14794
2010-03-13 17:37:39 +00:00
Julio Sánchez 137afa1b12 Fix header error
svn: r14793
2010-03-13 17:27:47 +00:00
Luigi Toscano 57d51dc905 Translation updates.
svn: r14792
2010-03-13 17:10:26 +00:00
Julio Sánchez 61f02c317e Partial update
svn: r14789
2010-03-13 07:43:31 +00:00
Julio Sánchez 0d37e8fe9f Partial update
svn: r14787
2010-03-13 06:35:24 +00:00
Luigi Toscano 1b5e6a6f4c Translation updates.
svn: r14786
2010-03-13 00:08:58 +00:00
Boril Gourinov 6cd15d0a74 Bulgarian translation update. Some minor spell errors fixed.
svn: r14783
2010-03-12 22:49:55 +00:00
Boril Gourinov e1a6ff6b89 Bug fixing of _Date_bg.py. It's works fine.
svn: r14782
2010-03-12 22:36:59 +00:00
Serge Noiraud 894f1b85ad GeoView : config file named "None.ini"
svn: r14780
2010-03-12 20:45:45 +00:00
Serge Noiraud 47ffa7b517 GeoView : crosshair synchronization between providers.
svn: r14779
2010-03-12 19:22:16 +00:00
Jérôme Rapinat b315989e11 minor improvements
svn: r14778
2010-03-12 18:28:36 +00:00
Joan Creus 5ce7694fda Updating translation
svn: r14775
2010-03-12 16:58:49 +00:00
Peter Landgren acc0f82e1b Found a typo in Swedish translation.
svn: r14774
2010-03-12 15:35:06 +00:00
Benny Malengier 4c7510c253 add bulgarian date handler
svn: r14771
2010-03-12 08:16:47 +00:00
Joan Creus 3ff5e972ee Updating translation
svn: r14770
2010-03-12 01:44:38 +00:00
Boril Gourinov 585f835e5d Updateting Bulgarian translation
svn: r14769
2010-03-11 23:06:40 +00:00
Boril Gourinov e7c4e7863a Bulgarian Date Handler
svn: r14766
2010-03-11 21:39:39 +00:00
Peter Landgren 9a869e44b0 Swedish update.
svn: r14764
2010-03-11 21:10:21 +00:00
Mirko Leonhäuser 9d67e229aa Updated german translation
svn: r14761
2010-03-11 19:03:54 +00:00
Espen Berg 46c2b9a4b6 Revised Norwegian bokmål translation
svn: r14759
2010-03-11 18:20:41 +00:00
Nick Hall ccd4adb161 Rebuild pedigree view if flagged as dirty
svn: r14757
2010-03-11 17:52:49 +00:00
Boril Gourinov 021ab50a60 Update of Bulgarian translation, some spelling errors removed
svn: r14756
2010-03-11 16:47:46 +00:00
Jérôme Rapinat 4214a47232 minor improvements
svn: r14754
2010-03-11 15:40:18 +00:00
Benny Malengier 22a616037c release notes are put on the website
svn: r14753
2010-03-11 14:05:11 +00:00
Erik De Richter 78430cb207 help connection to wiki page
svn: r14752
2010-03-11 10:10:58 +00:00
Boril Gourinov d277539f2b Update of Bulgarian translation, daily update
svn: r14751
2010-03-11 09:59:03 +00:00
Erik De Richter 2ccacbdae5 update nl translation
svn: r14750
2010-03-11 07:55:12 +00:00
Rob G. Healey d001b0b492 Made each stylesheet consistence with AddressBookList elements.
svn: r14747
2010-03-11 07:01:13 +00:00
Rob G. Healey b2168faf53 Removed a new feature that is scheduled for trunk/ development not 3.2.x.
svn: r14746
2010-03-11 06:40:38 +00:00
Rob G. Healey caad454b89 NarrativeWeb: Fixed problem with AddressBook pages not being able to create a page when there is no address. Stylesheets: Fixed and cleanup of AddressBook elements.
svn: r14745
2010-03-11 05:59:51 +00:00
Espen Berg 16ee3c2512 Revised Norwegian bokmål translation
svn: r14743
2010-03-10 20:42:15 +00:00
Erik De Richter 148314b219 help connection to wiki page
svn: r14741
2010-03-10 18:38:38 +00:00
Jérôme Rapinat 9ac9ba27a3 minor improvements
svn: r14740
2010-03-10 18:17:09 +00:00
Josip Pisoj b9c710ae70 hr translations
svn: r14739
2010-03-10 18:01:46 +00:00
Boril Gourinov f099ff70b4 Update of Bulgarian translation, only manual ref missed to 100%
svn: r14738
2010-03-10 16:52:53 +00:00
Nick Hall b559c14b14 3691: Make all views displaying names respond to nameformat-changed signals
svn: r14736
2010-03-10 12:35:42 +00:00
Benny Malengier 8b3a6b7cb1 activate help buttons in editors
svn: r14735
2010-03-10 11:39:54 +00:00
Stéphane Charette 1af6e6cf63 updated debian package files
svn: r14731
2010-03-10 09:19:50 +00:00
Stéphane Charette c54a3cc0d4 update version string and copyright year in "about" dialog window
svn: r14728
2010-03-10 07:42:56 +00:00
Erik De Richter dff7c4a8b5 update nl translation
svn: r14727
2010-03-10 07:13:01 +00:00
Nick Hall d4d71670e8 3687: Prevent multiple re-build of views when name format changed
svn: r14724
2010-03-09 22:39:22 +00:00
Benny Malengier 1b4f86ad2d make notrelated ok in glade designer
svn: r14722
2010-03-09 20:59:46 +00:00
Boril Gourinov 47f4566a9c Update of Bulgarian translation, 99.46% ready
svn: r14721
2010-03-09 20:57:04 +00:00
Benny Malengier 1c58e1c7b2 add help button to changenames as it is assumed in the code
svn: r14719
2010-03-09 20:53:09 +00:00
Espen Berg 12714fd6f1 Updated Norwegian bokmål translation
svn: r14718
2010-03-09 19:09:03 +00:00
Nick Hall 57e2ee81d4 Add navigation menu items to place tree view
svn: r14716
2010-03-09 17:40:50 +00:00
Jérôme Rapinat 6ca4f6b84f 2 new strings, update chinese and french translations
svn: r14715
2010-03-09 17:11:56 +00:00
Mirko Leonhäuser 9150d59c1b Updated german translation
svn: r14713
2010-03-09 13:53:53 +00:00
Peter Landgren 3696ea6dd4 Last? update for 3.2.
svn: r14712
2010-03-09 12:54:20 +00:00
Peter Landgren a8da4bf460 Add message if addon has wrong version.
svn: r14711
2010-03-09 12:51:18 +00:00
Joan Creus 4c28226a3f Translation update
svn: r14706
2010-03-09 01:40:29 +00:00
Doug Blank d6d386520c Used module desc rather than plugin desc
svn: r14705
2010-03-09 01:23:08 +00:00
Boril Gourinov d162eca43d Update of Bulgarian translation, 99% ready
svn: r14703
2010-03-08 21:46:51 +00:00
Arturas Sleinius f9e3d068d3 Updated Lithuanian translation
svn: r14702
2010-03-08 20:12:09 +00:00
Josip Pisoj 397809cd7b bug #3662: SoundEx works only for ascii characters
svn: r14701
2010-03-08 18:13:43 +00:00
Mirko Leonhäuser 728c6f3c3b Updated german translation
svn: r14699
2010-03-08 17:53:30 +00:00
Mirko Leonhäuser 99160920f1 Updated german translation
svn: r14698
2010-03-08 13:09:02 +00:00
Peter Landgren 4bd50c6749 Swedish update after fixed typo in gramplet.gpr.py.
svn: r14695
2010-03-08 12:07:02 +00:00
Peter Landgren c7ec7125f7 Fixed a typo.
svn: r14694
2010-03-08 12:05:10 +00:00
Peter Landgren e5c53f3734 Swedish update
svn: r14693
2010-03-08 11:51:28 +00:00
Rob G. Healey 6e64cd02bc Alphabetized the authors file. If you see an error, then I apologize and will fix it if you don't.
svn: r14692
2010-03-08 07:24:17 +00:00
Espen Berg 4dad6d00db Updated Norwegian bokmål translation
svn: r14691
2010-03-08 07:22:09 +00:00
Doug Blank 438793abf5 3673: People with less than 1 year seems to be ignored on 'Age on Date' gramplet and 'Records' report
svn: r14688
2010-03-08 02:58:52 +00:00
Luigi Toscano a8506d868a Translation updates.
svn: r14687
2010-03-07 21:49:04 +00:00
Doug Blank ed7f937da2 Removed Django import/export and CalcEstimateDates (moved to addons)
svn: r14686
2010-03-07 21:48:29 +00:00
Arturas Sleinius 3f8586fed9 Updated Lithuanian translation
svn: r14683
2010-03-07 21:20:06 +00:00
Mirko Leonhäuser c6c6307318 updated german translation
svn: r14682
2010-03-07 21:04:37 +00:00
Doug Blank 0d7398c09b Speed-up for right-click menu
svn: r14680
2010-03-07 20:56:56 +00:00
Nick Hall 949c1494e0 Bug fix for multiple sort keys
svn: r14678
2010-03-07 19:48:30 +00:00
Benny Malengier cb7227f692 3175: Crash when undoing a family edit- part of undo being slow
svn: r14676
2010-03-07 19:38:48 +00:00
Erik De Richter 9da1431b6c update nl translation
svn: r14675
2010-03-07 19:36:36 +00:00
Nick Hall bf0a1cc434 Allow multiple sort keys on tree views
svn: r14674
2010-03-07 17:49:30 +00:00
Nick Hall 137bc788c5 Fix sort order in flat person view
svn: r14671
2010-03-07 17:26:27 +00:00
Jérôme Rapinat c88c876e38 new template, strings were added, not modified
svn: r14670
2010-03-07 17:19:24 +00:00
Joan Creus 41c786cc18 Translation update
svn: r14668
2010-03-07 16:49:39 +00:00
Benny Malengier 6aeba201a4 3657: Calculation od step siblings is incorrect in narrated Web report
svn: r14666
2010-03-07 16:08:53 +00:00
Doug Blank 56c898064d Added FAQs with links from user list and wiki
svn: r14665
2010-03-07 16:08:12 +00:00
Benny Malengier e0b0b14c2d 3667: Addings a new person and changing the name grouping results in frozen window
svn: r14663
2010-03-07 15:34:32 +00:00
Doug Blank 129d6e6fbd Added comments for gramplets
svn: r14660
2010-03-07 14:54:55 +00:00
Benny Malengier f658139fb4 3672: Crosshair image missing from GeoView
svn: r14657
2010-03-07 09:10:00 +00:00
Joan Creus bf00316be0 Updating translation
svn: r14655
2010-03-06 23:30:00 +00:00
Nick Hall 8bb52bb0d9 Add my name to authors file
svn: r14651
2010-03-06 16:09:15 +00:00
Doug Blank 6a7594b95f 3665: Crash with Webcal report when linking with WebReport
svn: r14649
2010-03-06 13:31:09 +00:00
Peter Landgren 2f52deae58 One file was listed twice.
svn: r14647
2010-03-06 10:54:37 +00:00
Benny Malengier 677ad44e44 make fanchart a stable plugin
svn: r14644
2010-03-06 10:10:45 +00:00
Luigi Toscano ae58e5a8d4 Translation updates.
svn: r14643
2010-03-05 23:30:16 +00:00
Benny Malengier 23d80230a9 3441: Need to connect on_result_delete_event on glade dialogs - part 2
svn: r14642
2010-03-05 22:52:24 +00:00
Benny Malengier 3511390a52 3441: Need to connect on_result_delete_event on glade dialogs
svn: r14639
2010-03-05 22:34:50 +00:00
Espen Berg 842432b71d Norwegian bokmål is fully translated. I could not wait to complete when I had so few phrases left from last commit
svn: r14638
2010-03-05 22:16:28 +00:00
Espen Berg 25ac9a4f20 Enough translation for tonight. 12 fuzzy and 7 untranslated strings remaining
svn: r14636
2010-03-05 20:13:25 +00:00
Jérôme Rapinat 011ff47007 geoview icon for zoom missing
svn: r14634
2010-03-05 18:57:53 +00:00
Jérôme Rapinat 10028218eb typo, only copy geo-place-add.svg
svn: r14632
2010-03-05 17:49:35 +00:00
Jérôme Rapinat 235180132c PNG images for Gnome UI (SVG missing)
svn: r14630
2010-03-05 17:42:31 +00:00
Benny Malengier 4ff82a7581 3271: Verify tool glade file needs to have elements renamed
svn: r14628
2010-03-05 15:43:47 +00:00
Benny Malengier 01f264fa8b 2043: Error on cosole output when Esc press in configure window of custom text in the book report
svn: r14627
2010-03-05 15:24:47 +00:00
Espen Berg 571c6305ea Some more done on Norwegian translation
svn: r14625
2010-03-05 12:01:56 +00:00
Peter Landgren 9ad6dbef8f Found extra dot after abbreviation for birth and death.
svn: r14624
2010-03-05 11:01:34 +00:00
Stéphane Charette 17b0fa4fc9 update version string now that 3.2.0-0beta1 has been released
svn: r14623
2010-03-05 09:06:44 +00:00
Benny Malengier 8b4b8da242 remove pedigreeviewext completely
svn: r14621
2010-03-05 07:59:22 +00:00
Espen Berg 046d0fc897 Some more revision on Norwegian translation
svn: r14620
2010-03-04 22:05:55 +00:00
Jérôme Rapinat 1c58f0f0ba minors improvements
svn: r14618
2010-03-04 14:32:08 +00:00
Peter Landgren 7b40ee1aea Fixed another three errors in string formatting using {}.
svn: r14617
2010-03-04 14:11:59 +00:00
Peter Landgren b1c33334d2 Fixed another two errors in string formatting using {}.
svn: r14615
2010-03-04 13:58:08 +00:00
Peter Landgren b84716e1e9 Fixed another error in string formatting using {}.
svn: r14613
2010-03-04 13:49:57 +00:00
Peter Landgren c134937e9d Fixed another error in string formatting using {}.
svn: r14610
2010-03-04 13:38:30 +00:00
Jérôme Rapinat 5647b44801 3659: unable to load MediaManager
svn: r14608
2010-03-04 13:25:30 +00:00
Jérôme Rapinat 7e01ef0f6b 3659: unable to load MediaManager
svn: r14606
2010-03-04 11:26:28 +00:00
Jérôme Rapinat 11437b7c27 3661: Typo on all_events.py quickview
svn: r14604
2010-03-04 11:15:28 +00:00
Espen Berg 23bad21b29 Some more revision on Norwegian translation
svn: r14603
2010-03-04 08:20:08 +00:00
Doug Blank 8546dc91e5 Added some protection on loading bad views
svn: r14602
2010-03-04 01:11:48 +00:00
Josip Pisoj cd0d479ec1 hr translations update
svn: r14600
2010-03-04 00:45:30 +00:00
Nick Hall 6fe4cff9e2 Remove extended pedigree view
svn: r14599
2010-03-03 23:21:12 +00:00
Jérôme Rapinat 5a76e262c6 typo
svn: r14595
2010-03-03 08:51:55 +00:00
Jérôme Rapinat acb3371b72 3654: Cannot print title on all_relations quick view
svn: r14593
2010-03-03 08:43:17 +00:00
Boril Gourinov adfc952c02 Update of Bulgarian translation, fixed some bugs
svn: r14590
2010-03-02 23:10:38 +00:00
Gary Burton 82b1c17360 Do not explicitly set an item width as it causes excessive whitespace around thumbnails when the image description becomes longer.
svn: r14588
2010-03-02 21:56:35 +00:00
Espen Berg 16d631bbb3 Some more revision on Norwegian translation
svn: r14587
2010-03-02 21:31:29 +00:00
Mirko Leonhäuser 3e4b3f69a9 Updated _Date_de.py
svn: r14584
2010-03-02 20:26:46 +00:00
Mirko Leonhäuser f9415e8fd1 updated german translation
svn: r14583
2010-03-02 20:26:10 +00:00
Erik De Richter f6d9997204 update nl translation
svn: r14582
2010-03-02 17:11:30 +00:00
Nick Hall f21fb8d6d8 Update history and MRU lists when objects are deleted
svn: r14580
2010-03-02 15:48:05 +00:00
Peter Landgren 9efe53787d Swedish update
svn: r14579
2010-03-02 12:40:54 +00:00
Serge Noiraud 5c11bc6f09 GeoView : bug 3517 : filter in menu
svn: r14578
2010-03-02 11:56:38 +00:00
Benny Malengier 027b333860 03650: Cannot execute changes proposed by Calculate Estimated Date
svn: r14576
2010-03-02 11:19:59 +00:00
Benny Malengier 0a2d52a5a0 03651: Deleting more than one person causes crash
Actually these are fixes trying to fix this bug


svn: r14574
2010-03-02 11:13:19 +00:00
Jérôme Rapinat 3dcc74a173 merge and check some translations
svn: r14573
2010-03-02 11:07:18 +00:00
Jérôme Rapinat fe337c21cd check some translations
svn: r14572
2010-03-02 10:53:19 +00:00
Erik De Richter b2d58a27e4 update nl translation
svn: r14571
2010-03-02 10:33:01 +00:00
Jérôme Rapinat c9cef9e4da check some translations, wrong permission
svn: r14570
2010-03-02 10:31:20 +00:00
Jérôme Rapinat 7fdf47ac3c new template, merge and check some translations
svn: r14569
2010-03-02 10:13:21 +00:00
Espen Berg 1e70d474f6 Some more Norwegian translation
svn: r14568
2010-03-02 09:48:49 +00:00
Peter Landgren 2169c8ab4f Fix of issue 3653 (Windows only issue).
svn: r14566
2010-03-02 09:13:34 +00:00
Benny Malengier 17f7e5f6fd include fanchart in distribution
svn: r14564
2010-03-02 08:12:31 +00:00
Espen Berg afd9b2f40f Some revision on Norwegian translation. Got rid of all nasty mismatches. Now only normal fuzzys and untranslated strings remaining
svn: r14563
2010-03-02 07:48:50 +00:00
Rob G. Healey 33b209eed7 Fixed two typos in stylesheet.
svn: r14560
2010-03-02 01:33:53 +00:00
Serge Noiraud 90dc718dd0 GeoView : bad word not translatable.
svn: r14558
2010-03-01 22:02:26 +00:00
Mirko Leonhäuser c79c29ec9a Updated _Date_de.py translated months
svn: r14556
2010-03-01 21:37:49 +00:00
Mirko Leonhäuser 605f9d0f24 updated german translation
svn: r14555
2010-03-01 21:34:33 +00:00
Nick Hall 01c80b19db 3603: Make family option in reports default to the active family
svn: r14553
2010-03-01 19:17:59 +00:00
Peter Landgren 049698426e Fix of isue 3645.
svn: r14552
2010-03-01 18:13:48 +00:00
Nick Hall cba3502131 3646: Remove redundant code
svn: r14549
2010-03-01 17:45:07 +00:00
Jérôme Rapinat dfa9118384 3596: Web reports dialogs use too large length value (Download section)
svn: r14548
2010-03-01 17:20:49 +00:00
Jérôme Rapinat 2e84a2457b 3596: Web reports dialogs use too large length value
svn: r14547
2010-03-01 15:55:30 +00:00
Benny Malengier ee8559dd69 3542: Scratchpad does not remove objects when changing database
svn: r14545
2010-03-01 12:52:33 +00:00
Peter Landgren e984e15c9d Minor update of Swedish translation.
svn: r14544
2010-03-01 10:48:28 +00:00
Erik De Richter 393a2d9748 update nl translation
svn: r14543
2010-03-01 10:29:00 +00:00
Benny Malengier 96fbb98733 Fix bug: allow drop from Nautilius/Dolphin
svn: r14541
2010-03-01 08:57:37 +00:00
Benny Malengier 9b30450f33 Fix bug: allow drop from Nautilius/Dolphin
svn: r14539
2010-03-01 08:51:17 +00:00
Boril Gourinov 92b0b99e25 Update of Bulgarian translation
svn: r14537
2010-02-28 21:59:37 +00:00
Josip Pisoj 755807436a Updated Croatian translations
svn: r14536
2010-02-28 21:39:45 +00:00
Peter Landgren 155aea5d72 Further improvments to drag and drop mult files in Windows.
svn: r14534
2010-02-28 21:24:34 +00:00
Gary Burton 3c80aaa2b0 Fix for 0003629: Cannot set entry on marker field into NotRelated tool
svn: r14532
2010-02-28 21:12:47 +00:00
Mirko Leonhäuser e91cdcbd8b updated german translation
svn: r14531
2010-02-28 21:12:23 +00:00
Arturas Sleinius 38a90e201f Updated Lithuanian translation
svn: r14530
2010-02-28 20:12:32 +00:00
Gary Burton 61bff1a65c Align vertical position of person label and edit button
svn: r14528
2010-02-28 19:58:43 +00:00
Nick Hall 91281166c1 Only update display counts for nodes with handles
svn: r14526
2010-02-28 17:24:10 +00:00
Nick Hall 17e9750bb5 3448: Prevent removal of hidden root node
svn: r14524
2010-02-28 17:01:11 +00:00
Gary Burton 33414b0c78 Improve GEDCOM round trip by parsing SOUR and NOTE tokens for FACT attributes. Gramps was previously exporting this data but ignoring it on import.
svn: r14522
2010-02-28 16:17:54 +00:00
Jérôme Rapinat ec43a7122c generate template with last POTFILES.in
svn: r14521
2010-02-28 15:38:55 +00:00
Jérôme Rapinat 76c1044a64 new messages, typo and update translation template
svn: r14519
2010-02-28 15:24:50 +00:00
Benny Malengier d91cbd91bf 3631: Cannot start Gramps without any view loaded (OK, it is stupid...)
svn: r14517
2010-02-28 14:27:17 +00:00
Benny Malengier 644d0ac540 Fix drag/drop bug: allow multiple drop on gallery
svn: r14516
2010-02-28 14:03:52 +00:00
Gary Burton 99c8ae9181 Fix GEDCOM import of CHAN for SOUR, REPO, OBJE. Bug 3373.
svn: r14514
2010-02-28 13:11:52 +00:00
Arturas Sleinius 57f66d842f Updated Lithuanian translation
svn: r14512
2010-02-27 23:07:38 +00:00
Arturas Sleinius 83c19420b4 Updated Lithuanian translation
svn: r14511
2010-02-27 18:21:39 +00:00
Peter Landgren d1c4c853bb Fixed a typo 'juct' -> 'just'.
svn: r14510
2010-02-27 14:24:12 +00:00
Peter Landgren 6f90f1cb46 Some finetuning of translation.
svn: r14507
2010-02-27 13:44:16 +00:00
Peter Landgren b69ee2b401 Fix of issue 3642.
svn: r14505
2010-02-27 13:27:33 +00:00
Doug Blank ab0021c02b 3639: Check and Repair tool fails with unsupported operand
svn: r14504
2010-02-27 12:14:25 +00:00
Jérôme Rapinat f4fb59aefe typo
svn: r14501
2010-02-27 09:29:03 +00:00
Josip Pisoj f660795ce1 Updated Croatian translations
svn: r14500
2010-02-26 23:04:02 +00:00
Peter Landgren fe1d2530b1 Had missed to add constfunct.py.
svn: r14499
2010-02-26 10:33:25 +00:00
Peter Landgren 81ad0c8602 Swedish update.
svn: r14498
2010-02-26 10:27:11 +00:00
Erik De Richter fbc6543ea7 update nl translation
svn: r14497
2010-02-26 10:23:45 +00:00
Peter Landgren c639654f9b Fixed a typo.
svn: r14496
2010-02-26 07:14:36 +00:00
Doug Blank ac8bc209e1 3639: Check and Repair tool fails with unsupported operand
svn: r14494
2010-02-26 01:56:09 +00:00
Mirko Leonhäuser 2e9066a6cf Update german translation
svn: r14489
2010-02-25 21:47:56 +00:00
Jérôme Rapinat d99f6eac3f typo
svn: r14487
2010-02-25 17:17:22 +00:00
Rob G. Healey 9dbf20d795 Fixed error on line 691. Thanks Peter.
svn: r14485
2010-02-25 16:51:55 +00:00
Peter Landgren c0cc2ff7ba Swedish update.
svn: r14481
2010-02-25 15:15:09 +00:00
Benny Malengier 66639dd2cb translate category in menu and title
svn: r14480
2010-02-25 13:01:48 +00:00
Doug Blank 38290f7c57 Fixed gettext formulation error
svn: r14478
2010-02-25 11:29:26 +00:00
Jérôme Rapinat 43dc1d299b update french translation
svn: r14477
2010-02-25 09:02:02 +00:00
Rob G. Healey 9710e7adcf Fixed the problem with ngettext on line 1462.
svn: r14476
2010-02-25 04:47:52 +00:00
Rob G. Healey d719751914 Fixed a ngettext issue on line 1462 from earlier today.
svn: r14475
2010-02-25 04:34:14 +00:00
Rob G. Healey 96c80a44e2 Fixed error blocking start of software.
svn: r14474
2010-02-25 04:16:10 +00:00
Doug Blank 9dfa170293 3628: Frames not set on CalcToolManagedWindow class
svn: r14473
2010-02-25 01:21:37 +00:00
Mirko Leonhäuser f3b7e35c69 Update german translation
svn: r14471
2010-02-24 23:59:48 +00:00
Rob G. Healey 4c9197b403 Adding named variables to format strings for errors in 'make distcheck' to work.
svn: r14470
2010-02-24 23:11:28 +00:00
Rob G. Healey 3ed392bab0 Adding named variables to format strings for errors in 'make distcheck' to work.
svn: r14469
2010-02-24 23:09:32 +00:00
Rob G. Healey edd6fc6ee7 Adding named variables to format strings for errors in 'make distcheck' to work.
svn: r14468
2010-02-24 23:08:16 +00:00
Rob G. Healey ae81cbc6ee Adding named variables to format strings for errors in 'make distcheck' to work.
svn: r14467
2010-02-24 23:07:23 +00:00
Rob G. Healey c9d41950eb Adding named variables to format strings for errors in 'make distcheck' to work.
svn: r14466
2010-02-24 23:06:21 +00:00
Rob G. Healey 8b0b4a3785 Adding named variables to format strings for errors in 'make distcheck' to work.
svn: r14465
2010-02-24 23:05:16 +00:00
Rob G. Healey 4989c9e5d4 Adding named variables to format strings for errors in 'make distcheck' to work.
svn: r14464
2010-02-24 23:04:32 +00:00
Rob G. Healey 78c286fce2 Adding named variables to format strings for errors in 'make distcheck' to work.
svn: r14463
2010-02-24 23:03:43 +00:00
Rob G. Healey ec7001837a Adding named variables to format strings for errors in 'make distcheck' to work.
svn: r14462
2010-02-24 23:02:48 +00:00
Rob G. Healey 4bf6ab292d Adding named variables to format strings for errors in 'make distcheck' to work.
svn: r14461
2010-02-24 23:01:38 +00:00
Rob G. Healey 6f6c74ae8b Adding named variables to format strings for errors in 'make distcheck' to work.
svn: r14460
2010-02-24 23:00:12 +00:00
Rob G. Healey 8440ccbf87 Adding named variables to format strings for errors in 'make distcheck' to work.
svn: r14459
2010-02-24 22:59:07 +00:00
Rob G. Healey 6cbe9e3c0d Adding named variables to format strings for errors in 'make distcheck' to work.
svn: r14458
2010-02-24 22:58:17 +00:00
Rob G. Healey f99b1ac371 Adding named variables to format strings for errors in 'make distcheck' to work.
svn: r14457
2010-02-24 22:57:18 +00:00
Rob G. Healey 848eb99bb7 Adding named variables to format strings for errors in 'make distcheck' to work.
svn: r14456
2010-02-24 22:56:31 +00:00
Rob G. Healey d1f26d9f7a Adding named variables to format strings for errors in 'make distcheck' to work.
svn: r14455
2010-02-24 22:55:25 +00:00
Rob G. Healey 51ff6e4569 Adding named variables to format strings for errors in 'make distcheck' to work.
svn: r14454
2010-02-24 22:54:03 +00:00
Erik De Richter 69e08ceafb update nl translation
svn: r14453
2010-02-24 17:14:30 +00:00
Peter Landgren fc080a686b Swedish update.
svn: r14452
2010-02-24 13:59:32 +00:00
Jérôme Rapinat bb5428d725 Update Croatian translation (by Josip)
svn: r14450
2010-02-24 10:30:37 +00:00
Peter Landgren 5604a27bf4 Fix of issue 3534.
svn: r14445
2010-02-23 13:44:42 +00:00
Peter Landgren 63430a1ce3 Fix of issue 3534.
svn: r14444
2010-02-23 13:43:21 +00:00
Serge Noiraud 7496974691 GeoView : Don't use a dot at the end of messages in the configuration window.
svn: r14442
2010-02-22 18:08:12 +00:00
Jérôme Rapinat 3a2af65bc0 merge Norwegian Nynorsk (3.1.3 -> 3.2)
svn: r14441
2010-02-22 16:30:06 +00:00
Jérôme Rapinat 26c80611b2 disable translations without active translators and too many untranslated strings
svn: r14440
2010-02-22 15:41:22 +00:00
Erik De Richter 641b7e5e07 update nl translation
svn: r14438
2010-02-22 14:26:28 +00:00
Doug Blank f6af0cb380 Changes to allow distcheck to pass
svn: r14437
2010-02-22 12:41:06 +00:00
Peter Landgren a5e4bf8637 Missed () in some contsfunc.win().
svn: r14435
2010-02-22 08:44:07 +00:00
Stéphane Charette 077d0ded1f preliminary 3.2 release notes, based on Benny's document
svn: r14433
2010-02-22 03:46:31 +00:00
Stéphane Charette 7b1eae9a5b set 3.2.0 version to 'beta1'
svn: r14432
2010-02-22 03:01:00 +00:00
Serge Noiraud 5a46c30439 GeoView : Allow message translation.
svn: r14429
2010-02-21 20:56:36 +00:00
Mirko Leonhäuser 9e742feac4 Update german translation not komplete jet
svn: r14427
2010-02-21 16:06:28 +00:00
Brian Matherly eb4e5ddc1f Create a maintenance branch for the 3.2.x series of releases.
svn: r14425
2010-02-21 14:14:21 +00:00
434 changed files with 389842 additions and 362943 deletions
+83
View File
@@ -1,3 +1,86 @@
Version 3.2.6 -- the "So far, so good." bug fix release.
* fix memory leaks
* fix corrupted reports
* fix crash in cramplets
* fix gedcom import and export
* import speed improvements
* NarrativeWeb fixes
* prevent corrupting databases
* many translation updates
* other changes; see the changelog and the 3.2.6 roadmap: http://www.gramps-project.org/bugs/roadmap_page.php?version_id=23
Version 3.2.5 -- the "I intend to live forever" bug fix release.
* fix Gramps so it again runs with Python 2.5
* write all notes and sources to gedcom files
* cli fixes
* GeneWeb and LegacyGedcom fixes
* NarrativeWeb fixes
* memory leak fixes
* various other small fixes
* many translation updates
Version 3.2.4 -- the "Tententen" bug fix release.
* fix a crash on newer distro's after an export is finished
* styled notes cleanup and consistency improvement (nar web behaves like the pdf/html output of reports)
* newlines in styled notes are written as newlines so users can make simple lists
* many NarrativeWeb fixes
* gedcom output fixes
* non latin character fixes (mainly for windows)
* recursive filter fixes
* undo fixes
* many translation updates
Version 3.2.3 -- the "I used to eat there. Really good noodles." release.
* Bug fixes:
-> several GLADE fixes
-> several GEDCOM fixes (both export and import)
-> several crash fixes
-> encoding fix (Windows only)
-> privacy/living fixes
-> updates to NarrativeWeb and the css stylsheets
* Translation updates: bg, ca, de, es, fr, he, nb, nl, pl, sk, sv
Version 3.2.2 -- the "Mea navis aëricumbens anguillis abundat" release.
* This release is a quick fix to a problem introduced by NarrativeWeb in the previous release.
* Also includes a few small fixes and translation updates to hr and it.
* See the release notes from the 3.2.1 release for the full list of changes and translation updates.
Version 3.2.1 -- the "One of those men is my father" release.
* Many bug fixes:
-> fixed missing icons
-> load/reload plugins must unload old plugins
-> import/export fixes (date ranges, underscore, latitude/longitude)
-> narrative web crash fixes and many updates, html notes, css updates
-> geoview fixes and updates
-> unicode error in soundex
-> fixed crash on data entry
* Translation updates: bg, ca, de, es, fr, he, hr, it, nb, nl, sk, sv
Version 3.2.0 -- the "I am your father" release.
* New Plugin System:
-> In the Help Menu -> Menu Status, all available plugins are visible. All
plugins can be hidden, saving resources and hiding options you do not need.
* Faster:
-> Many under the hood improvements have occurred that should improve
performance enormously. New features are implemented as plugins that can
be hidden.
-> Performance improvement example: Insertion of a new person in a family
tree with 30000 people previously took 4 seconds on a 1.4GHz PC running
Gramps 3.1, but now takes milliseconds.
* New Views:
-> There are new views, and some existing views have been greatly improved
-> People view can now be sorted on the columns
-> A Place treeview is present, nicely grouping your places under country
groups
-> GeoView has left it's beta status behind and shows your data on an online
map (OpenStreetMap or Google Maps, a fast internet connection is required)
-> Help Menu -> Extra Reports/Tools open a webpage with downloadable views
* Other Improvements:
-> Styled Notes now in most output formats that support styles
-> New languages
-> Select language in which report should be created (not yet available in
all reports)
Version 3.1.3 -- the "What name?" release.
* contains translation updates, crash fixes, bug fixes, and minor updates.
* fixes and updates to:
-24
View File
@@ -1,24 +0,0 @@
Gramps 3.2 Release Notes
General Improvements
* New Plugin System
In the Help Menu -> Menu Status, all available plugins are visible. All plugins can be hidden, saving resources and hiding options you do not need. Eg: You don't use the Pedigree View? Hide it in the Plugin Status, and it will not be present anymore. You don't use vcard export? Hide it in the Plugin Status, and it will not be offered anymore.
* Faster
Many under the hood improvements have occurred that should improve perfamance enormously. Yes, new features are present to use all your processing power, but they are all implemented as plugins that can be hidden. Eg: Insert of a person in a 30000 people family tree took 4sec on 1.4Ghz PC in 3.1, Now it is done in milliseconds.
*New Views
There are new views, and some views have been greatly improved
- People view can now be sorted on the columns
- A Place treeview is present, nicely grouping your places under country groups
- GeoView has left it's beta status behind and shows your data on an
online map (Openstreetmap or google maps, fast internet connection required)
- Help Menu -> Extra Reports/Tools open a webpage with downloadable extra views
Other Improvements
* Styled Notes now in most output formats that support styles, eg in the web report
* New languages
* Select language in which report should be created (only present now in some reports)
+3 -3
View File
@@ -5,14 +5,14 @@ dnl May need to run automake && aclocal first
AC_PREREQ(2.57)
dnl NOTE: arg to macro below becomes the "VERSION"
AC_INIT(gramps, 3.2.0, [gramps-bugs@lists.sourceforge.net])
AC_INIT(gramps, 3.2.7, [gramps-bugs@lists.sourceforge.net])
AC_CONFIG_SRCDIR(configure.in)
AM_INIT_AUTOMAKE([1.6.3 foreign])
AC_CONFIG_MACRO_DIR([m4])
RELEASE=0.SVN$(svnversion -n .)
dnl RELEASE=0beta
dnl RELEASE=0beta3
dnl RELEASE=0rc1
dnl RELEASE=1
@@ -33,7 +33,7 @@ AC_SUBST(RELEASE)
AC_SUBST(VERSIONSTRING)
dnl Add the languages which your application supports here.
ALL_LINGUAS="hu zh_CN cs da de es fr it nb nl nn pl pt_BR ro ru sv eo fi lt sk tr bg hr sl ca mk sq he"
ALL_LINGUAS="hu zh_CN cs da de es fr it nb nl nn pl pt_BR ru sv fi lt sk bg hr sl ca sq he"
GETTEXT_PACKAGE=gramps
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Define to the Gettext package name.])
+12 -5
View File
@@ -3,9 +3,16 @@ gramps for Debian
This is the Debian package of GRAMPS.
If you do not install python-reportlab (gramps Recommends it be
installed) then you will be able to create usable PDF files only if
your database contains solely latin (iso-8859-1) characters. Reportlab
will generate PDF files containing non-latin characters although they
are quite large as the font must be included in the file.
Regarding the extra dependencies:
Recommends: graphviz
Enable creation of graphs
Recommends: python-gtkmozembed
Recommends: python-webkit
Enable html rendering for Geographic view and Web view. If both
are installed webkit will be used. python-gtkmozembed may be more
stable.
Suggests: ttf-freefont
Allows more fonts in reports
Suggests: python-gtkspell python-enchant
allows spell checking in the notes. Both need to be installed.
+251 -6
View File
@@ -1,20 +1,265 @@
gramps (3.0.0-1) gutsy; urgency=low
gramps (3.2.0-0beta1) unstable; urgency=low
* New upstream release
* works with gtk 2.19. Closes: #566958
-- James A. Treacy <treacy@debian.org> Fri, 05 Mar 2010 14:05:39 -0500
gramps (3.1.3-2) unstable; urgency=low
* Switch to dpkg-source 3.0 (quilt) format
-- James A. Treacy <treacy@debian.org> Tue, 05 Jan 2010 20:04:30 -0500
gramps (3.1.3-1) unstable; urgency=low
* New upstream release
-- Stephane Charette <stephanecharette@gmail.com> Mon, 31 Mar 2008 19:42:05 -0700
-- James A. Treacy <treacy@debian.org> Sun, 06 Dec 2009 13:46:48 -0500
gramps (2.90.0-0beta) unstable; urgency=low
gramps (3.1.2-2) unstable; urgency=low
* allow python >= 2.5. Closes: #547150
* fix Relationship Graph to use new format for URLs. Closes: #532559
* Web report creation fixed. Closes: #537355
-- James A. Treacy <treacy@debian.org> Tue, 17 Nov 2009 11:38:43 -0500
gramps (3.1.2-1.1) unstable; urgency=low
* Non-maintainer upload.
* debian/control: drop Recommends on python-gnome2-desktop: it is now
gone and none of its modules are used anyhow (Closes: #541560)
-- Stefano Zacchiroli <zack@debian.org> Thu, 08 Oct 2009 13:52:35 +0200
gramps (3.1.2-1) unstable; urgency=low
* New upstream release.
* Replace Recommends on python-gnome2-extras with python-gtkspell
* Do not create the directory /etc/gconf/schemas/. Closes: Bug#525683
-- James A. Treacy <treacy@debian.org> Sun, 07 Jun 2009 14:01:16 -0400
gramps (3.1.1-1) unstable; urgency=low
* New upstream release.
-- James A. Treacy <treacy@debian.org> Tue, 10 Mar 2009 09:26:52 -0400
gramps (3.1.0-1) unstable; urgency=low
* New upstream release.
* link /usr/share/common-licenses/GPL-2 from /usr/share/gramps/COPYING
so gramps can find the file.
-- James A. Treacy <treacy@debian.org> Sat, 07 Mar 2009 22:03:09 -0500
gramps (3.0.4-1) unstable; urgency=low
* New upstream version. Closes: #506621, #506818
-- James A. Treacy <treacy@debian.org> Sun, 07 Dec 2008 21:39:55 -0500
gramps (3.0.3-1) unstable; urgency=low
* New upstream version
-- James A. Treacy <treacy@debian.org> Mon, 20 Oct 2008 20:43:35 -0400
gramps (3.0.2-1) unstable; urgency=low
* New upstream version
-- James A. Treacy <treacy@debian.org> Sat, 27 Sep 2008 17:25:09 -0400
gramps (3.0.1-2) unstable; urgency=low
* Remove dependency on gnome-doc-utils and scrollkeeper
* Disable spell checking in src/Spell.py due to the spell checker
crashing. Closes: #492212
Spell checking will be reenabled once the offending package is
identified and fixed.
-- James A. Treacy <treacy@debian.org> Fri, 29 Aug 2008 11:09:04 -0400
gramps (3.0.1-1) unstable; urgency=low
* New upstream version
-- James A. Treacy <treacy@debian.org> Mon, 19 May 2008 09:38:28 -0400
gramps (3.0.0-6) unstable; urgency=low
* Fix typo in _EditChildRef.py which can cause gramps to crash. Closes: #476163
-- James A. Treacy <treacy@debian.org> Tue, 15 Apr 2008 23:37:04 -0400
gramps (3.0.0-5) unstable; urgency=low
* Remove gtkspell Recommends as it is now provided by python-gnome2-extras.
Closes: Bug#474755
-- James A. Treacy <treacy@debian.org> Mon, 07 Apr 2008 17:25:18 -0400
gramps (3.0.0-4) unstable; urgency=low
* Fix the binary package python dependency properly. A recent python
(>= 2.4.4-6) is needed to ensure python2.5 is supported properly.
Closes: #474056
-- James A. Treacy <treacy@debian.org> Thu, 03 Apr 2008 09:46:28 -0400
gramps (3.0.0-3) unstable; urgency=low
* Build-Depends on Python2.5. Closes: Bug#473946, #474056
-- James A. Treacy <treacy@debian.org> Wed, 02 Apr 2008 08:28:27 -0400
gramps (3.0.0-2) unstable; urgency=low
* Explicitly require python version >= 2.5
-- James A. Treacy <treacy@debian.org> Wed, 26 Mar 2008 09:34:25 -0400
gramps (3.0.0-1) unstable; urgency=low
* New upstream release. Closes: #472681
-- James A. Treacy <treacy@debian.org> Tue, 25 Mar 2008 09:35:00 -0400
gramps (2.2.10-2) unstable; urgency=low
* Remove build dependency on python-xml. Closes: Bug#468625
-- James A. Treacy <treacy@debian.org> Fri, 29 Feb 2008 13:30:11 -0500
gramps (2.2.10-1) unstable; urgency=low
* New upstream release
* Added dh_icons to debian/rules. Closes: #454761
* Remove version from scrollkeeper dependency. Closes: #456600
* Fixed typos in description. Closes: #433559
-- James A. Treacy <treacy@debian.org> Mon, 14 Jan 2008 09:57:25 -0500
gramps (2.2.9-2) unstable; urgency=low
* Move debhelper to Build-Depends. Closes: #447948
-- James A. Treacy <treacy@debian.org> Wed, 24 Oct 2007 20:03:36 -0400
gramps (2.2.9-1) unstable; urgency=low
* New upstream release
-- Stephane Charette <stephanecharette@gmail.com> Wed, 16 Jan 2008 21:45:00 -0800
-- James A. Treacy <treacy@debian.org> Thu, 18 Oct 2007 13:14:30 -0400
gramps (2.1.6-1) unstable; urgency=low
gramps (2.2.8-2) unstable; urgency=low
* Work around a bug in gnome-python-extras which caused a deallocation
of the TextView in the check if a spell checker is present.
Closes: #445864
-- James A. Treacy <treacy@debian.org> Tue, 09 Oct 2007 17:26:54 -0400
gramps (2.2.8-1) unstable; urgency=low
* New Upstream version
* Misleading error message changed. Closes: #418033
-- James A. Treacy <treacy@debian.org> Mon, 28 May 2007 21:00:51 -0400
gramps (2.2.7-2) unstable; urgency=low
* Added dependency on librsvg2-common
-- James A. Treacy <treacy@debian.org> Mon, 23 Apr 2007 19:32:00 -0400
gramps (2.2.7-1) unstable; urgency=low
* New upstream version
-- James A. Treacy <treacy@debian.org> Sun, 22 Apr 2007 20:08:55 -0400
gramps (2.2.6-1) unstable; urgency=low
* New upstream version
-- James A. Treacy <treacy@debian.org> Mon, 29 Jan 2007 20:12:05 -0500
gramps (2.2.5-0rc1-1) unstable; urgency=low
* rc1 of 2.2.5
-- James A. Treacy <treacy@debian.org> Thu, 25 Jan 2007 23:04:24 -0500
gramps (2.2.4-1) unstable; urgency=low
* New upstream release
-- Alex Roitman <shura@gramps-project.org> Thu, 22 Jun 2006 13:28:14 -0700
-- James A. Treacy <treacy@debian.org> Wed, 27 Dec 2006 18:04:11 -0500
gramps (2.2.3-1) unstable; urgency=low
* New upstream release
-- James A. Treacy <treacy@debian.org> Mon, 27 Nov 2006 00:27:23 -0500
gramps (2.2.2-2) unstable; urgency=low
* call dh_desktop in debian/rules so .desktop file is registered. Closes: Bug#398423
-- James A. Treacy <treacy@debian.org> Mon, 13 Nov 2006 20:26:00 -0500
gramps (2.2.2-1) unstable; urgency=low
* Bumped upstream version number. 2.2.1-3 and -4 should have been 2.2.2
-- James A. Treacy <treacy@debian.org> Sat, 4 Nov 2006 16:34:47 -0500
gramps (2.2.1-4) unstable; urgency=low
* add missing Build-Depends-Indep. Closes: #396874
-- James A. Treacy <treacy@debian.org> Fri, 3 Nov 2006 11:03:35 -0500
gramps (2.2.1-3) unstable; urgency=low
* New Upstream release
-- James A. Treacy <treacy@debian.org> Fri, 3 Nov 2006 08:07:38 -0500
gramps (2.2.1-2) unstable; urgency=low
* Upload to sid
-- James A. Treacy <treacy@debian.org> Wed, 1 Nov 2006 20:50:28 -0500
gramps (2.2.1-1) experimental; urgency=low
* New upstream release
-- James A. Treacy <treacy@debian.org> Mon, 30 Oct 2006 10:32:43 -0500
gramps (2.1.95-1) experimental; urgency=low
* Beta release of version 2.2
-- James A. Treacy <treacy@debian.org> Tue, 29 Aug 2006 11:40:08 -0400
gramps (2.1.90-1) experimental; urgency=low
* Beta release of version 2.2
-- James A. Treacy <treacy@debian.org> Tue, 25 Jul 2006 00:18:15 -0400
gramps (2.0.11-2) unstable; urgency=low
* Complies with new python policy
-- James A. Treacy <treacy@debian.org> Wed, 5 Jul 2006 14:47:56 -0400
gramps (2.0.11-1) unstable; urgency=low
+1 -1
View File
@@ -1 +1 @@
4
7
+20 -16
View File
@@ -1,23 +1,27 @@
Source: gramps
Section: gnome
Priority: optional
Maintainer: James A. Treacy <treacy@debian.org>
Build-Depends-Indep: debhelper (>=5.0.37.2), python-xml, python-gnome2, python-glade2, scrollkeeper, libglib2.0-dev, build-essential, gnome-doc-utils, intltool, xsltproc, python-central (>= 0.4.17)
Standards-Version: 3.6.2
XS-Python-Version: current
Maintainer: Stéphane Charette <stephanecharette@gmail.com>
Build-Depends-Indep: libxml-parser-perl, python-gtk2, gettext, python-central (>= 0.5.6), python, intltool
Build-Depends: debhelper (>= 7)
Standards-Version: 3.8.3
Homepage: http://www.gramps-project.org/
XS-Python-Version: >=2.5
Package: gramps
Architecture: all
Depends: ${python:Depends}, python-gnome2, python-glade2, ${misc:Depends}
Replaces: gramps-manual, gramps-extending-doc, gramps-help
Conflicts: gramps-manual, gramps-extending-doc, gramps-common
Recommends: graphviz, ttf-freefont, python-reportlab, python-gnome2-extras
Description: Genealogical Research and Analysis Management Program
GRAMPS, the Genealogical Research and Analysis Management Programming
System, is an Open Source genealogy program written in Python, using
the GTK/GNOME interface.
GRAMPS has the ability to import GEDCOM files that are used in such
programs as FamilyTree Maker for Windows and can produce reports
in various formats such as the popular ABIWord and OpenOffice.org
formats as well as HTML and PDF.
Depends: ${python:Depends}, librsvg2-common, python-gtk2, xdg-utils, ${misc:Depends}
Replaces: gramps-manual, gramps-extending-doc
Conflicts: gramps-manual, gramps-extending-doc, gramps-common, python-gtk-1.2
Recommends: graphviz, python-webkit, python-gtkmozembed
Suggests: ttf-freefont, python-enchant, python-gtkspell
Description: Genealogical research program
GRAMPS is an Open Source genealogy program written in Python, using
the GTK/GNOME interface. It is an extremely flexible program fitting
the needs for both the amateur genealogist and serious genealogical
researcher.
GRAMPS has the ability to import GEDCOM files exported from many
proprietary genealogy programs and can produce a large number of
reports in many popular formats.
XB-Python-Version: ${python:Versions}
+1
View File
@@ -1 +1,2 @@
usr/share/pixmaps
usr/share/mime/packages
+3
View File
@@ -0,0 +1,3 @@
/usr/bin/
/usr/share/
/etc
+1 -1
View File
@@ -1,3 +1,3 @@
?package(gramps):needs="X11" section="Apps/Tools"\
?package(gramps):needs="X11" section="Applications/Office"\
title="gramps" command="/usr/bin/gramps"\
icon="/usr/share/pixmaps/gramps.xpm"
+1
View File
@@ -0,0 +1 @@
2
+29 -32
View File
@@ -4,71 +4,68 @@ build: build-stamp
build-stamp:
dh_testdir
./configure \
--enable-packager-mode \
--disable-scrollkeeper \
--prefix=/usr \
--mandir=\$${prefix}/share/man \
--sysconfdir=/etc
#./autogen.sh --prefix=/usr --mandir=\$${prefix}/share/man --sysconfdir=/etc
./configure --enable-packager-mode --prefix=/usr --mandir=\$${prefix}/share/man --sysconfdir=/etc
# ./configure --prefix=`pwd`/debian/tmp/usr --mandir=\$${prefix}/share/man
$(MAKE)
# $(MAKE) html
touch build-stamp
clean:
dh_testdir
dh_testroot
-rm -f build-stamp
-$(MAKE) clean
-rm -f src/*.pyo src/*/*.pyo src/*/*/*.pyo src/*/*/*/*.pyo
-rm -f config.status config.log
# [ ! -f Makefile ] || $(MAKE) distclean
# -rm -f src/*.pyo src/*/*.pyo
# -rm -f config.status config.log
dh_auto_clean
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_prep
dh_installdirs
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
# Add here commands to install the package into debian/tmp.
# GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
$(MAKE) install DESTDIR=`pwd`/debian/gramps
# Remove help-related dirs, they will go into gramps-help package
-rm -rf debian/gramps/usr/share/gnome
-rm -rf debian/gramps/usr/share/omf
# Remove byte-compiled python files
-rm -f debian/gramps/usr/share/gramps/COPYING
ln -s /usr/share/common-licenses/GPL-2 debian/gramps/usr/share/gramps/COPYING
-rm -rf debian/gramps/usr/var
# cp src/data/gramps.xml debian/gramps/usr/share/mime/packages
-find debian/gramps/usr/share/ -name "*.pyo" -exec rm -f '{}' ';'
# Copy icon file
cp debian/gramps.xpm debian/gramps/usr/share/pixmaps/
# cp src/gramps.xpm debian/tmp/usr/share/pixmaps/
#cp src/data/gramps.svg debian/gramps/usr/share/pixmaps/
#chmod 644 debian/gramps/usr/share/pixmaps/gramps.svg
# Instal gramps-help things
#$(MAKE) -C help install DESTDIR=`pwd`/debian/gramps-help
# cp src/images/gramps.svg debian/gramps/usr/share/pixmaps/
# chmod 644 debian/gramps/usr/share/pixmaps/gramps.svg
# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
dh_installdocs
dh_installmenu --package=gramps
dh_installman --package=gramps
dh_installdocs FAQ
dh_installmenu
# dh_installman
dh_installmime -i
dh_installchangelogs --package=gramps ChangeLog
#dh_installchangelogs --package=gramps-help help/ChangeLog
dh_gconf --package=gramps
#dh_scrollkeeper --package=gramps-help
# dh_installchangelogs ChangeLog
dh_installchangelogs
dh_icons
# dh_movefiles -i
# dh_gconf -i
dh_link -i
dh_compress -i
dh_fixperms -i
dh_python --package=gramps
dh_installdeb -i
dh_pycentral -i
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
# Build architecture-dependent files here.
binary-arch: build install
+11
View File
@@ -0,0 +1,11 @@
#########################################
The :class:`RelationshipCalculator` Class
#########################################
Contents:
.. automodule:: Relationship
.. autoclass:: RelationshipCalculator
:members:
:undoc-members:
:show-inheritance:
+5 -9
View File
@@ -320,6 +320,7 @@ src/Merge/_MergePlace.py
src/Merge/_MergeSource.py
# DateHandler package
src/DateHandler/_Date_bg.py
src/DateHandler/_Date_cs.py
src/DateHandler/_Date_de.py
src/DateHandler/_DateDisplay.py
@@ -381,7 +382,6 @@ src/plugins/drawreport/TimeLine.py
# plugins/export directory
src/plugins/export/export.gpr.py
src/plugins/export/ExportCsv.py
src/plugins/export/ExportDjango.gpr.py
src/plugins/export/ExportFtree.py
src/plugins/export/ExportGedcom.py
src/plugins/export/ExportGeneWeb.py
@@ -398,6 +398,7 @@ src/plugins/gramplet/AttributesGramplet.py
src/plugins/gramplet/CalendarGramplet.py
src/plugins/gramplet/DescendGramplet.py
src/plugins/gramplet/FanChartGramplet.py
src/plugins/gramplet/FaqGramplet.py
src/plugins/gramplet/GivenNameGramplet.py
src/plugins/gramplet/gramplet.gpr.py
src/plugins/gramplet/PedigreeGramplet.py
@@ -420,8 +421,6 @@ src/plugins/graph/GVRelGraph.py
# plugins/import directory
src/plugins/import/import.gpr.py
src/plugins/import/ImportCsv.py
src/plugins/import/ImportDjango.gpr.py
src/plugins/import/ImportDjango.py
src/plugins/import/ImportGedcom.py
src/plugins/import/ImportGeneWeb.py
src/plugins/import/ImportGrdb.py
@@ -506,7 +505,6 @@ src/plugins/textreport/Summary.py
src/plugins/textreport/textplugins.gpr.py
# plugins/tool directory
src/plugins/tool/CalculateEstimatedDates.py
src/plugins/tool/ChangeNames.py
src/plugins/tool/ChangeTypes.py
src/plugins/tool/Check.py
@@ -534,8 +532,8 @@ src/plugins/tool/Verify.py
#plugins/view directory
src/plugins/view/eventview.py
src/plugins/view/familyview.py
src/plugins/view/fanchartview.gpr.py
src/plugins/view/fanchartview.py
src/plugins/view/fanchartview.gpr.py
src/plugins/view/geoview.py
src/plugins/view/geoview.gpr.py
src/plugins/view/grampletview.py
@@ -543,8 +541,6 @@ src/plugins/view/htmlrenderer.py
src/plugins/view/mediaview.py
src/plugins/view/noteview.py
src/plugins/view/pedigreeview.py
src/plugins/view/pedigreeviewext.py
src/plugins/view/pedigreeviewext.gpr.py
src/plugins/view/personlistview.py
src/plugins/view/persontreeview.py
src/plugins/view/placelistview.py
@@ -895,8 +891,8 @@ src/plugins/tool/verify.glade
#
# web
#
src/web/grampsdb/views.py
src/web/utils.py
#src/web/grampsdb/views.py
#src/web/utils.py
#
# Files to extract from and then merge into
#
+4 -1
View File
@@ -11,6 +11,8 @@ src/gen/lib/styledtexttagtype.py
src/LdsUtils.py
src/Mime/_WinMime.py
src/plugins/docgen/PdfDoc.py
src/plugins/export/ExportDjango.gpr.py
src/plugins/import/ImportDjango.gpr.py
src/plugins/gramplet/DeepConnections.py
src/plugins/gramplet/NoteGramplet.py
src/plugins/gramplet/PluginManagerGramplet.py
@@ -21,8 +23,9 @@ src/plugins/tool/DumpGenderStats.py
src/plugins/tool/PHPGedViewConnector.py
src/plugins/tool/TestcaseGenerator.py
src/plugins/tool/phpgedview.glade
src/plugins/gramplet/FaqGramplet.py
src/plugins/gramplet/HeadlineNewsGramplet.py
src/plugins/quickview/AllNames.py
src/plugins/quickview/Query.py
src/ReportBase/_DocReportDialog.py
src/web/grampsdb/views.py
src/web/utils.py
+4489 -4071
View File
File diff suppressed because it is too large Load Diff
+10912 -7705
View File
File diff suppressed because it is too large Load Diff
+19338 -20565
View File
File diff suppressed because it is too large Load Diff
+19348 -20555
View File
File diff suppressed because it is too large Load Diff
+13890 -14263
View File
File diff suppressed because it is too large Load Diff
+4130 -4773
View File
File diff suppressed because it is too large Load Diff
+22309 -19974
View File
File diff suppressed because it is too large Load Diff
+9337 -12008
View File
File diff suppressed because it is too large Load Diff
+4636 -4129
View File
File diff suppressed because it is too large Load Diff
+3353 -3966
View File
File diff suppressed because it is too large Load Diff
+2986 -2848
View File
File diff suppressed because it is too large Load Diff
+20383 -19127
View File
File diff suppressed because it is too large Load Diff
+20072 -18368
View File
File diff suppressed because it is too large Load Diff
+4582 -4130
View File
File diff suppressed because it is too large Load Diff
+7592 -5928
View File
File diff suppressed because it is too large Load Diff
+3557 -3694
View File
File diff suppressed because it is too large Load Diff
+21088 -18826
View File
File diff suppressed because it is too large Load Diff
+11244 -8172
View File
File diff suppressed because it is too large Load Diff
+7866 -5428
View File
File diff suppressed because it is too large Load Diff
+18371 -17472
View File
File diff suppressed because it is too large Load Diff
+14273 -12539
View File
File diff suppressed because it is too large Load Diff
+20684 -20904
View File
File diff suppressed because it is too large Load Diff
+21958 -19062
View File
File diff suppressed because it is too large Load Diff
+4156 -3792
View File
File diff suppressed because it is too large Load Diff
+5830 -7067
View File
File diff suppressed because it is too large Load Diff
+21090 -20572
View File
File diff suppressed because it is too large Load Diff
+20658 -18242
View File
File diff suppressed because it is too large Load Diff
+4194 -3973
View File
File diff suppressed because it is too large Load Diff
+4302 -3664
View File
File diff suppressed because it is too large Load Diff
+6 -16
View File
@@ -22,28 +22,14 @@
""" Unittest for testing POTFILES.in and Makefile contents """
# PYTHONPATH=/../src python po_test.py
import unittest
import os
import glob
from test import test_util
test_util.path_append_parent()
excluded_files = ["src/DataViews/_MapView.py",
"src/plugins/PHPGedViewConnector.py",
"src/plugins/phpgedview.glade",
"src/plugins/Ancestors.py",
"src/plugins/DesGraph.py",
"src/plugins/FtmStyleAncestors.py",
"src/plugins/FtmStyleDescendants.py",
"src/plugins/IndivSummary.py",
"src/date_test.py",
"src/plugins/CmdRef.py",
"src/plugins/DumpGenderStats.py",
"src/plugins/Eval.py",
"src/plugins/Leak.py",
"src/plugins/TestcaseGenerator.py"
]
def get_potfile(filename):
fp = open(filename, "r")
retvals = []
@@ -53,6 +39,10 @@ def get_potfile(filename):
fp.close()
return retvals
# POTFILES.skip
excluded_files = get_potfile("../POTFILES.skip")
class TestPOT(unittest.TestCase):
potfiles = get_potfile("../POTFILES.in")
count = 1
+20971 -18212
View File
File diff suppressed because it is too large Load Diff
+9409 -7085
View File
File diff suppressed because it is too large Load Diff
+1
View File
@@ -126,6 +126,7 @@ class Bookmarks :
self.uistate.uimanager.remove_ui(self.active)
self.uistate.uimanager.remove_action_group(self.action_group)
self.action_group = gtk.ActionGroup('Bookmarks')
self.uistate.uimanager.ensure_update()
self.active = DISABLED
def redraw_and_report_change(self):
+4 -1
View File
@@ -62,7 +62,7 @@ import gtk
#
#-------------------------------------------------------------------------
from gen.ggettext import sgettext as _
from gen.lib import Date
from gen.lib.date import Date, NextYear
import DateHandler
import const
import GrampsDisplay
@@ -150,6 +150,9 @@ class DateEdit(object):
# if text could not be parsed it is assumed invalid
if self.date_obj.get_modifier() == Date.MOD_TEXTONLY:
return ValidationError(_('Bad Date'))
elif (self.date_obj.to_calendar(calendar_name=Date.CAL_GREGORIAN) >>
NextYear()):
return ValidationError(_('Date more than one year in the future'))
def invoke_date_editor(self, obj):
"""
+6 -6
View File
@@ -3,10 +3,9 @@
# but that is not necessarily portable.
# If not using GNU make, then list all .py files individually
pkgdatadir = $(datadir)/@PACKAGE@/DateHandler
pkgdata_PYTHON = \
_Date_ca.py\
pkgpython_PYTHON = \
_Date_bg.py\
_Date_ca.py\
_Date_cs.py\
_Date_de.py\
_Date_es.py\
@@ -21,6 +20,7 @@ pkgdata_PYTHON = \
_Date_pt.py\
_Date_ru.py\
_Date_sk.py\
_Date_sl.py\
_Date_sr.py\
_Date_sv.py\
_DateDisplay.py\
@@ -30,7 +30,7 @@ pkgdata_PYTHON = \
__init__.py
pkgpyexecdir = @pkgpyexecdir@/DateHandler
pkgpythondir = @pkgpythondir@/DateHandler
pkgpythondir = $(datadir)/@PACKAGE@/DateHandler
# Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo
@@ -48,4 +48,4 @@ docs:
pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON));
pychecker $(pkgpython_PYTHON));
+6 -1
View File
@@ -139,7 +139,12 @@ class DateDisplay(object):
Formats the extra items (calendar, newyear) for a date.
"""
scal = self.calendar[cal]
snewyear = self.newyear[newyear]
if isinstance(newyear, int) and newyear <= len(self.newyear):
snewyear = self.newyear[newyear]
elif isinstance(newyear, (list, tuple)):
snewyear = "%s-%s" % (newyear[0], newyear[1])
else:
snewyear = "Err"
retval = ""
for item in [scal, snewyear]:
if item:
+52 -21
View File
@@ -96,18 +96,20 @@ def julian_valid(date_tuple):
def swedish_valid(date_tuple):
""" Checks if date_tuple is a valid date in Swedish Calendar """
valid = gregorian_valid(date_tuple)
# not sure how <= and >= works with tuples???
valid_J = julian_valid(date_tuple)
date_tuple = (date_tuple[2], date_tuple[1], date_tuple[0])
if date_tuple <= (1700, 2, 28):
valid = False
if date_tuple == (1700, 2, 29): # leapday 1700 was skipped
valid = False
if date_tuple == (1712, 2, 30): # extra day was inserted 1712
valid = True
if date_tuple >= (1712, 3, 1): # back to julian
valid = False
return valid
# Swedish calendar starts as Julian 1700-03-01 and ends 1712-03-01 as Julian
if date_tuple >= (1700, 2, 29) and date_tuple < (1712, 3, 1):
if date_tuple == (1712, 2, 30): # extra day was inserted 1712, not valid Julian
return True
if valid_J:
if date_tuple == (1700, 2, 29): # leapday 1700 was skipped
return False
return True
else:
return False
else:
return False
def french_valid(date_tuple):
""" Checks if date_tuple is a valid date in French Calendar """
@@ -154,11 +156,17 @@ class DateParser(object):
modifier_after_to_int = {}
hebrew_to_int = {
"tishri" : 1, "heshvan" : 2, "kislev" : 3,
"tevet" : 4, "shevat" : 5, "adari" : 6,
"adarii" : 7, "nisan" : 8, "iyyar" : 9,
"sivan" : 10, "tammuz" : 11, "av" : 12,
"elul" : 13,
u"tishri" : 1, u"heshvan" : 2, u"kislev" : 3,
u"tevet" : 4, u"shevat" : 5, u"adari" : 6,
u"adarii" : 7, u"nisan" : 8, u"iyyar" : 9,
u"sivan" : 10, u"tammuz" : 11, u"av" : 12,
u"elul" : 13,
#alternative spelling
u"cheshvan": 2, u"adar sheni": 7, u"iyar" : 9,
#GEDCOM months
u"tsh" : 1, u"csh": 5, u"ksl": 3, u"tvt": 4, u"shv": 5, u"adr": 6,
u"ads" : 7, u"nsn": 8, u"iyr": 9, u"svn":10, u"tmz":11, u"aav":12,
u"ell":13,
}
french_to_int = {
@@ -168,7 +176,15 @@ class DateParser(object):
u'germinal' : 7, u'floréal' : 8,
u'prairial' : 9, u'messidor' : 10,
u'thermidor' : 11, u'fructidor' : 12,
u'extra' : 13
u'extra' : 13,
#GEDCOM months
u'vend' : 1, u'brum' : 2,
u'frim' : 3, u'nivo' : 4,
u'pluv' : 5, u'vent' : 6,
u'germ' : 7, u'flor' : 8,
u'prai' : 9, u'mess' : 10,
u'ther' : 11, u'fruc' : 12,
u'comp' : 13,
}
islamic_to_int = {
@@ -202,7 +218,7 @@ class DateParser(object):
"januari" : 1, "februari" : 2,
"mars" : 3, "april" : 4,
"maj" : 5, "juni" : 6,
"juli" : 7, "augisti" : 8,
"juli" : 7, "augusti" : 8,
"september" : 9, "oktober" : 10,
"november" : 11, "december" : 12,
}
@@ -430,7 +446,6 @@ class DateParser(object):
m = 0
else:
m = mmap[groups[1].lower()]
d = self._get_int(groups[0])
if groups[2] is None:
@@ -586,11 +601,15 @@ class DateParser(object):
text_parser = self.parser[cal]
(text1, bc1) = self.match_bce(match.group('start'))
start = self._parse_subdate(text1, text_parser)
if start == Date.EMPTY and text1 != "":
return 0
if bc1:
start = self.invert_year(start)
(text2, bc2) = self.match_bce(match.group('stop'))
stop = self._parse_subdate(text2, text_parser)
if stop == Date.EMPTY and text2 != "":
return 0
if bc2:
stop = self.invert_year(stop)
@@ -609,11 +628,15 @@ class DateParser(object):
text_parser = self.parser[cal]
(text1, bc1) = self.match_bce(match.group('start'))
start = self._parse_subdate(text1, text_parser)
if start == Date.EMPTY and text1 != "":
return 0
if bc1:
start = self.invert_year(start)
(text2, bc2) = self.match_bce(match.group('stop'))
stop = self._parse_subdate(text2, text_parser)
if stop == Date.EMPTY and text2 != "":
return 0
if bc2:
stop = self.invert_year(stop)
@@ -666,7 +689,10 @@ class DateParser(object):
start = self._parse_subdate(grps[0], self.parser[cal])
mod = self.modifier_after_to_int.get(grps[1].lower(),
Date.MOD_NONE)
if bc:
if start == Date.EMPTY:
date.set_modifier(Date.MOD_TEXTONLY)
date.set_text_value(text)
elif bc:
date.set(qual, mod, cal, self.invert_year(start), newyear=ny)
else:
date.set(qual, mod, cal, start, newyear=ny)
@@ -676,7 +702,10 @@ class DateParser(object):
grps = match.groups()
start = self._parse_subdate(grps[0])
mod = Date.MOD_ABOUT
if bc:
if start == Date.EMPTY:
date.set_modifier(Date.MOD_TEXTONLY)
date.set_text_value(text)
elif bc:
date.set(qual, mod, cal, self.invert_year(start), newyear=ny)
else:
date.set(qual, mod, cal, start, newyear=ny)
@@ -712,6 +741,8 @@ class DateParser(object):
if subdate == Date.EMPTY and text != "":
date.set_as_text(text)
return
#else:
# print 'valid subdate', text, subdate
except:
date.set_as_text(text)
return
+314
View File
@@ -0,0 +1,314 @@
# -*- coding: utf-8 -*-
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2004-2006 Donald N. Allingham
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# $Id: _Date_bg.py 9101 2007-10-08 16:41:39Z dallingham $
"""
Bulgarian-specific classes for parsing and displaying dates.
"""
#-------------------------------------------------------------------------
#
# Python modules
#
#-------------------------------------------------------------------------
import re
#-------------------------------------------------------------------------
#
# GRAMPS modules
#
#-------------------------------------------------------------------------
from gen.lib import Date
from _DateParser import DateParser
from _DateDisplay import DateDisplay
from _DateHandler import register_datehandler
#-------------------------------------------------------------------------
#
# Bulgarian parser
#
#-------------------------------------------------------------------------
class DateParserBG(DateParser):
modifier_to_int = {
u'преди' : Date.MOD_BEFORE,
u'пр.' : Date.MOD_BEFORE,
u'пр' : Date.MOD_BEFORE,
u'след' : Date.MOD_AFTER,
u'сл.' : Date.MOD_AFTER,
u'сл' : Date.MOD_AFTER,
u'ок' : Date.MOD_ABOUT,
u'ок.' : Date.MOD_ABOUT,
u'около' : Date.MOD_ABOUT,
u'примерно' : Date.MOD_ABOUT,
u'прим' : Date.MOD_ABOUT,
u'прим.' : Date.MOD_ABOUT,
u'приблизително' : Date.MOD_ABOUT,
u'приб.' : Date.MOD_ABOUT,
u'прибл.' : Date.MOD_ABOUT,
u'приб' : Date.MOD_ABOUT,
u'прибл' : Date.MOD_ABOUT,
}
calendar_to_int = {
u'григориански' : Date.CAL_GREGORIAN,
u'г' : Date.CAL_GREGORIAN,
u'юлиански' : Date.CAL_JULIAN,
u'ю' : Date.CAL_JULIAN,
u'еврейски' : Date.CAL_HEBREW,
u'е' : Date.CAL_HEBREW,
u'ислямски' : Date.CAL_ISLAMIC,
u'и' : Date.CAL_ISLAMIC,
u'френски републикански' : Date.CAL_FRENCH,
u'републикански' : Date.CAL_FRENCH,
u'фр.реп.' : Date.CAL_FRENCH,
u'р' : Date.CAL_FRENCH,
u'френски' : Date.CAL_FRENCH,
u'фр.' : Date.CAL_FRENCH,
u'персийски' : Date.CAL_PERSIAN,
u'п' : Date.CAL_PERSIAN,
}
quality_to_int = {
u'приблизително' : Date.QUAL_ESTIMATED,
u'прибл.' : Date.QUAL_ESTIMATED,
u'изчислено' : Date.QUAL_CALCULATED,
u'изчисл.' : Date.QUAL_CALCULATED,
u'изч.' : Date.QUAL_CALCULATED,
}
hebrew_to_int = {
u"тишрей":1,
u"мархешван":2,
u"кислев":3,
u"тевет":4,
u"шват":5,
u"адар":6,
u"адар бет":7,
u"нисан":8,
u"ияр":9,
u"сиван":10,
u"тамуз":11,
u"ав":12,
u"eлул":13,
}
islamic_to_int = {
u"мухаррам":1,
u"саффар":2,
u"рабиу-л-ауал":3,
u"рабиу-с-сани":4,
u"джумадал-уля":5,
u"джумада-с-сания":6,
u"раджаб":7,
u"шаабан":8,
u"рамадан":9,
u"шауал":10,
u"зу-л-кида":11,
u"зул-л-хиджа":12,
}
persian_to_int = {
u"фарвардин":1,
u"урдбихищ":2,
u"хурдад":3,
u"тир":4,
u"мурдад":5,
u"шахривар":6,
u"михр":7,
u"абан":8,
u"азар":9,
u"дай":10,
u"бахман":11,
u"исфаидармуз":12,
}
french_to_int = {
u"вандемер":1,
u"брюмер":2,
u"фример":3,
u"нивоз":4,
u"плювиоз":5,
u"вантоз":6,
u"жерминал":7,
u"флореал":8,
u"прериал":9,
u"месидор":10,
u"термидор":11,
u"фрюктидор":12,
u"допълнителен":13,
}
bce = [
u'преди Христа', u'пр. Хр.', u'пр.Хр.'
] + DateParser.bce
def init_strings(self):
DateParser.init_strings(self)
_span_1 = [u'от']
_span_2 = [u'до']
_range_1 = [u'между']
_range_2 = [u'и']
self._span = re.compile("(%s)\s+(?P<start>.+)\s+(%s)\s+(?P<stop>.+)" %
('|'.join(_span_1), '|'.join(_span_2)),
re.IGNORECASE)
self._range = re.compile("(%s)\s+(?P<start>.+)\s+(%s)\s+(?P<stop>.+)" %
('|'.join(_range_1), '|'.join(_range_2)),
re.IGNORECASE)
#-------------------------------------------------------------------------
#
# Bulgarian displayer
#
#-------------------------------------------------------------------------
class DateDisplayBG(DateDisplay):
"""
Bulgarian language date display class.
"""
long_months = ( u"", u"януари", u"февруари", u"март", u"април", u"май",
u"юни", u"юли", u"август", u"септември", u"октомври",
u"ноември", u"декември" )
short_months = ( u"", u"яну", u"февр", u"март", u"апр", u"май", u"юни",
u"юли", u"авг", u"септ", u"окт", u"ное", u"дек" )
calendar = (
u"",
u"юлиански",
u"еврейски",
u"републикански",
u"персийски",
u"ислямски",
u"шведски"
)
_mod_str = ("", "преди ", "след ", "около ", "", "", "")
_qual_str = ("", "приблизително ", "изчислено ")
_bce_str = u"%s пр. Хр."
formats = (
"ГГГГ-ММ-ДД (ISO)", "Числов", "Месец Ден, Година", "Мес. Ден, Година", "Ден Месец Година", "Ден Мес. Година"
)
hebrew = ( u"",
u"Тишрей",
u"Мархешван",
u"Кислев",
u"Тевет",
u"Шват",
u"Адар",
u"Адар бет",
u"Нисан",
u"Ияр",
u"Сиван",
u"Тамуз",
u"Ав",
u"Елул",
)
islamic = ( u"",
u"Мухаррам",
u"Саффар",
u"Рабиу-л-ауал",
u"Рабиу-с-сани",
u"Джумадал-уля",
u"Джумада-с-сания",
u"Раджаб",
u"Шаабан",
u"Рамадан",
u"Шауал",
u"Зу-л-кида",
u"Зул-л-хиджа",
)
persian = ( u"",
u"Фарвардин",
u"Урдбихищ",
u"Хурдад",
u"Тир",
u"Мурдад",
u"Шахривар",
u"Михр",
u"Абан",
u"Азар",
u"Дай",
u"Бахман",
u"Исфаидармуз",
)
french = ( u"",
u"Вандемер",
u"Брюмер",
u"Фример",
u"Нивоз",
u"Плювиоз",
u"Вантоз",
u"Жерминал",
u"Флореал",
u"Прериал",
u"Мессидор",
u"Термидор",
u"Фрюктидор",
u"Допълнителен"
)
def display(self, date):
"""
Returns a text string representing the date.
"""
mod = date.get_modifier()
cal = date.get_calendar()
qual = date.get_quality()
start = date.get_start_date()
newyear = date.get_new_year()
qual_str = self._qual_str[qual]
if mod == Date.MOD_TEXTONLY:
return date.get_text()
elif start == Date.EMPTY:
return ""
elif mod == Date.MOD_SPAN:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'от', d1, u'до', d2, scal)
elif mod == Date.MOD_RANGE:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'между', d1, u'и', d2, scal)
else:
text = self.display_cal[date.get_calendar()](start)
scal = self.format_extras(cal, newyear)
return "%s%s%s%s" % (qual_str, self._mod_str[mod], text, scal)
#-------------------------------------------------------------------------
#
# Register classes
#
#-------------------------------------------------------------------------
register_datehandler(('bg_BG', 'bg', 'bulgarian', 'Bulgarian'),
DateParserBG, DateDisplayBG)
+15 -12
View File
@@ -116,18 +116,17 @@ class DateDisplayCA(DateDisplay):
"""
Catalan language date display class.
"""
# TODO: Translate these month strings:
long_months = ( u"", u"January", u"February", u"March", u"April", u"May",
u"June", u"July", u"August", u"September", u"October",
u"November", u"December" )
long_months = ( u"", u"Gener", u"Febrer", u"Març", u"Abril", u"Maig",
u"Juny", u"Juliol", u"Agost", u"Setembre", u"Octubre",
u"Novembre", u"Desembre" )
short_months = ( u"", u"Jan", u"Feb", u"Mar", u"Apr", u"May", u"Jun",
u"Jul", u"Aug", u"Sep", u"Oct", u"Nov", u"Dec" )
short_months = ( u"", u"Gen", u"Feb", u"Mar", u"Abr", u"Mai", u"Jun",
u"Jul", u"Ago", u"Set", u"Oct", u"Nov", u"Des" )
calendar = (
"", u" (Julià)", u" (Hebreu)",
u" (Revolucionari)", u" (Persa)", u" (Islàmic)",
u" (Swedish)"
"", u"Julià", u"Hebreu",
u"Revolucionari", u"Persa", u"Islàmic",
u"Suec"
)
_mod_str = ("", u"abans de ", u"després de ", u"cap a ", "", "", "")
@@ -164,6 +163,7 @@ class DateDisplayCA(DateDisplay):
cal = date.get_calendar()
qual = date.get_quality()
start = date.get_start_date()
newyear = date.get_new_year()
qual_str = self._qual_str[qual]
@@ -174,14 +174,17 @@ class DateDisplayCA(DateDisplay):
elif mod == Date.MOD_SPAN:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
return "%s%s %s %s %s%s" % (qual_str, u'des de', d1, u'fins a', d2, self.calendar[cal])
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'des de', d1, u'fins a', d2, scal)
elif mod == Date.MOD_RANGE:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
return "%s%s %s %s %s%s" % (qual_str, u'entre', d1, u'i', d2, self.calendar[cal])
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'entre', d1, u'i', d2, scal)
else:
text = self.display_cal[date.get_calendar()](start)
return "%s%s%s%s" % (qual_str, self._mod_str[mod], text, self.calendar[cal])
scal = self.format_extras(cal, newyear)
return "%s%s%s%s" % (qual_str, self._mod_str[mod], text, scal)
#-------------------------------------------------------------------------
#
+15 -12
View File
@@ -102,18 +102,17 @@ class DateDisplayCZ(DateDisplay):
"""
Czech language date display class.
"""
# TODO: Translate these month strings:
long_months = ( u"", u"January", u"February", u"March", u"April", u"May",
u"June", u"July", u"August", u"September", u"October",
u"November", u"December" )
long_months = ( u"", u"Leden", u"Únor", u"Březen", u"Duben", u"Květen",
u"Červen", u"červenec", u"Srpen", u"Září", u"Říjen",
u"Listopad", u"Prosinec" )
short_months = ( u"", u"Jan", u"Feb", u"Mar", u"Apr", u"May", u"Jun",
u"Jul", u"Aug", u"Sep", u"Oct", u"Nov", u"Dec" )
short_months = ( u"", u"Led", u"Úno", u"Bře", u"Dub", u"Kvě", u"čer",
u"Čvc", u"Srp", u"Zář", u"Říj", u"Lis", u"Pro" )
calendar = (
"", u" (juliánský)", u" (hebrejský)",
u" (republikánský)", u" (perský)", u" (islámský)",
u" (swedish)"
"", u"juliánský", u"hebrejský",
u"republikánský", u"perský", u"islámský",
u"švédský"
)
_mod_str = ("", u"před ", u"po ", u"kolem ", "", "", "")
@@ -133,6 +132,7 @@ class DateDisplayCZ(DateDisplay):
cal = date.get_calendar()
qual = date.get_quality()
start = date.get_start_date()
newyear = date.get_new_year()
qual_str = self._qual_str[qual]
@@ -143,17 +143,20 @@ class DateDisplayCZ(DateDisplay):
elif mod == Date.MOD_SPAN:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'od', d1,
u'do', d2, self.calendar[cal])
u'do', d2, scal)
elif mod == Date.MOD_RANGE:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'mezi',
d1, u'a', d2, self.calendar[cal])
d1, u'a', d2, scal)
else:
text = self.display_cal[date.get_calendar()](start)
scal = self.format_extras(cal, newyear)
return "%s%s%s%s" % (qual_str, self._mod_str[mod],
text, self.calendar[cal])
text, scal)
#-------------------------------------------------------------------------
#
+87 -23
View File
@@ -56,27 +56,87 @@ class DateParserDE(DateParser):
month_to_int[u"jan"] = 1
month_to_int[u"jänner"] = 1
month_to_int[u"jän"] = 1
# Add other common latin, local and historical variants
# Add other common latin,
month_to_int[u"januaris"] = 1
month_to_int[u"januarii"] = 1
month_to_int[u"januarius"] = 1
month_to_int[u"februaris"] = 2
month_to_int[u"februarii"] = 2
month_to_int[u"februarius"] = 2
month_to_int[u"martii"] = 3
month_to_int[u"martius"] = 3
month_to_int[u"aprilis"] = 4
month_to_int[u"maius"] = 5
month_to_int[u"maii"] = 5
month_to_int[u"junius"] = 6
month_to_int[u"junii"] = 6
month_to_int[u"julius"] = 7
month_to_int[u"julii"] = 7
month_to_int[u"augustus"] = 8
month_to_int[u"augusti"] = 8
month_to_int[u"septembris"] = 9
month_to_int[u"7bris"] = 9
month_to_int[u"september"] = 9
month_to_int[u"october"] = 10
month_to_int[u"octobris"] = 10
month_to_int[u"8bris"] = 10
month_to_int[u"novembris"] = 11
month_to_int[u"9bris"] = 11
month_to_int[u"november"] = 11
month_to_int[u"decembris"] = 12
month_to_int[u"10bris"] = 12
month_to_int[u"xbris"] = 12
month_to_int[u"december"] = 12
# local and historical variants
month_to_int[u"jenner"] = 1
month_to_int[u"feber"] = 2
month_to_int[u"februaris"] = 2
month_to_int[u"merz"] = 3
month_to_int[u"aprilis"] = 4
month_to_int[u"maius"] = 5
month_to_int[u"junius"] = 6
month_to_int[u"julius"] = 7
month_to_int[u"augst"] = 8
month_to_int[u"7ber"] = 9
month_to_int[u"7bris"] = 9
month_to_int[u"8ber"] = 10
month_to_int[u"8bris"] = 10
month_to_int[u"9ber"] = 11
month_to_int[u"9bris"] = 11
month_to_int[u"10ber"] = 12
month_to_int[u"10bris"] = 12
month_to_int[u"xber"] = 12
month_to_int[u"xbris"] = 12
# old german names
month_to_int[u"hartung"] = 1
month_to_int[u"eismond"] = 1
month_to_int[u"hornung"] = 2
month_to_int[u"schmelzmond"] = 2
month_to_int[u"taumond"] = 2
month_to_int[u"narrenmond"] = 2
month_to_int[u"rebmond"] = 2
month_to_int[u"hintester"] = 2
month_to_int[u"lenzing"] = 3
month_to_int[u"lenzmond"] = 3
month_to_int[u"launing"] = 4
month_to_int[u"ostermond"] = 4
month_to_int[u"winnemond"] = 5
month_to_int[u"weidenmonat"] = 5
month_to_int[u"blumenmond"] = 5
month_to_int[u"brachet"] = 6
month_to_int[u"brachmond"] = 6
month_to_int[u"heuert"] = 7
month_to_int[u"heumond"] = 7
month_to_int[u"ernting"] = 8
month_to_int[u"erntemond"] = 8
month_to_int[u"bisemond"] = 8
month_to_int[u"scheiding"] = 9
month_to_int[u"herbstmond"] = 9
month_to_int[u"gilbhard"] = 10
month_to_int[u"gilbhart"] = 10
month_to_int[u"windmond"] = 11
month_to_int[u"nebelung"] = 11
month_to_int[u"wintermond"] = 11
month_to_int[u"julmond"] = 12
month_to_int[u"heilmond"] = 12
month_to_int[u"christmond"] = 12
month_to_int[u"dustermond"] = 12
modifier_to_int = {
u'vor' : Date.MOD_BEFORE,
@@ -137,18 +197,18 @@ class DateDisplayDE(DateDisplay):
"""
German language date display class.
"""
# TODO: Translate these month strings:
long_months = ( u"", u"January", u"February", u"March", u"April", u"May",
u"June", u"July", u"August", u"September", u"October",
u"November", u"December" )
short_months = ( u"", u"Jan", u"Feb", u"Mar", u"Apr", u"May", u"Jun",
u"Jul", u"Aug", u"Sep", u"Oct", u"Nov", u"Dec" )
long_months = ( u"", u"Januar", u"Februar", u"März", u"April", u"Mai",
u"Juni", u"Juli", u"August", u"September", u"Oktober",
u"November", u"Dezember" )
short_months = ( u"", u"Jan", u"Feb", u"Mär", u"Apr", u"Mai", u"Jun",
u"Jul", u"Aug", u"Sep", u"Okt", u"Nov", u"Dez" )
calendar = (
"", u" (julianisch)", u" (hebräisch)",
u" (französisch republikanisch)", u" (persisch)", u" (islamisch)",
u" (schwedisch)"
"", u"julianisch", u"hebräisch",
u"französisch republikanisch", u"persisch", u"islamisch",
u"schwedisch"
)
_mod_str = ("", u"vor ", u"nach ", u"etwa ", "", "", "")
@@ -229,6 +289,7 @@ class DateDisplayDE(DateDisplay):
cal = date.get_calendar()
qual = date.get_quality()
start = date.get_start_date()
newyear = date.get_new_year()
qual_str = self._qual_str[qual]
@@ -239,14 +300,17 @@ class DateDisplayDE(DateDisplay):
elif mod == Date.MOD_SPAN:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
return "%s%s %s %s %s%s" % (qual_str, u'von', d1, u'bis', d2, self.calendar[cal])
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'von', d1, u'bis', d2, scal)
elif mod == Date.MOD_RANGE:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
return "%szwischen %s und %s%s" % (qual_str, d1, d2, self.calendar[cal])
scal = self.format_extras(cal, newyear)
return "%szwischen %s und %s%s" % (qual_str, d1, d2, scal)
else:
text = self.display_cal[date.get_calendar()](start)
return "%s%s%s%s" % (qual_str, self._mod_str[mod], text, self.calendar[cal])
scal = self.format_extras(cal, newyear)
return "%s%s%s%s" % (qual_str, self._mod_str[mod], text, scal)
#-------------------------------------------------------------------------
#
+10 -6
View File
@@ -127,9 +127,9 @@ class DateDisplayES(DateDisplay):
u"dic" )
calendar = (
"", u" (Juliano)", u" (Hebreo)",
u" (Revolucionario)", u" (Persa)", u" (Islámico)",
u" (Swedish)"
"", u"Juliano", u"Hebreo",
u"Revolucionario", u"Persa", u"Islámico",
u"Swedish"
)
_mod_str = ("", u"antes de ", u"después de ", u"hacia ", "", "", "")
@@ -149,6 +149,7 @@ class DateDisplayES(DateDisplay):
cal = date.get_calendar()
qual = date.get_quality()
start = date.get_start_date()
newyear = date.get_new_year()
qual_str = self._qual_str[qual]
@@ -159,14 +160,17 @@ class DateDisplayES(DateDisplay):
elif mod == Date.MOD_SPAN:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
return "%s%s %s %s %s%s" % (qual_str, u'de', d1, u'a', d2, self.calendar[cal])
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'de', d1, u'a', d2, scal)
elif mod == Date.MOD_RANGE:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
return "%s%s %s %s %s%s" % (qual_str, u'entre', d1, u'y', d2, self.calendar[cal])
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'entre', d1, u'y', d2, scal)
else:
text = self.display_cal[date.get_calendar()](start)
return "%s%s%s%s" % (qual_str, self._mod_str[mod], text, self.calendar[cal])
scal = self.format_extras(cal, newyear)
return "%s%s%s%s" % (qual_str, self._mod_str[mod], text, scal)
#-------------------------------------------------------------------------
#
+19 -16
View File
@@ -116,22 +116,22 @@ class DateDisplayFI(DateDisplay):
"""
Finnish language date display class.
"""
# TODO: Translate these month strings:
long_months = ( u"", u"January", u"February", u"March", u"April", u"May",
u"June", u"July", u"August", u"September", u"October",
u"November", u"December" )
long_months = (u"", u"Tammikuu", u"Helmikuu", u"Maaliskuu", u"Huhtikuu",
u"Toukokuu", u"Kesäkuu", u"Heinäkuu", u"Elokuu",
u"Syyskuu", u"Lokakuu", u"Marraskuu", u"Joulukuu")
short_months = ( u"", u"Jan", u"Feb", u"Mar", u"Apr", u"May", u"Jun",
u"Jul", u"Aug", u"Sep", u"Oct", u"Nov", u"Dec" )
short_months = (u"", u"Tammi", u"Helmi", u"Maali", u"Huhti", u"Touko",
u"Kesäk", u"Heinä", u"Eloku", u"Syysk", u"Lokak", u"Marra",
u"Joulu")
calendar = ("",
u"(juliaaninen)",
u"(heprealainen)",
u"(ranskan v.)",
u"(persialainen)",
u"(islamilainen)",
u" (svensk)"
)
u"juliaaninen",
u"heprealainen",
u"ranskan v.",
u"persialainen",
u"islamilainen",
u"svensk"
)
_qual_str = (u"", u"arviolta", u"laskettuna")
@@ -139,7 +139,7 @@ class DateDisplayFI(DateDisplay):
formats = (
"VVVV-KK-PP (ISO)",
"PP.KK.VVVV"
"PP.KK.VVVV"
)
def display(self, date):
@@ -150,6 +150,7 @@ class DateDisplayFI(DateDisplay):
qual = date.get_quality()
cal = date.get_calendar()
start = date.get_start_date()
newyear = date.get_new_year()
if mod == Date.MOD_TEXTONLY:
return date.get_text()
@@ -185,9 +186,11 @@ class DateDisplayFI(DateDisplay):
if qual:
# prepend quality
text = u"%s %s" % (self._qual_str[qual], text)
if cal:
if cal or newyear:
# append calendar type
text = u"%s %s" % (text, self.calendar[cal])
scal = self.format_extras(cal, newyear)
text = u"%s %s" % (text, scal)
return text
+23 -12
View File
@@ -58,6 +58,15 @@ class DateParserFR(DateParser):
month_to_int = DateParser.month_to_int
# Custom short months not the same as long months
month_to_int[u"janv"] = 1
month_to_int[u"févr"] = 2
month_to_int[u"juil"] = 7
month_to_int[u"sept"] = 9
month_to_int[u"oct"] = 10
month_to_int[u"déc"] = 12
# Add common value
month_to_int[u"bluviose"] = 5
@@ -230,7 +239,6 @@ class DateParserFR(DateParser):
self._stext2 = re.compile('(\d+)?.?\s+?%s\s*((\d+)(/\d+)?)?' %
self._smon_str, re.IGNORECASE)
#-------------------------------------------------------------------------
#
# French display
@@ -247,8 +255,8 @@ class DateDisplayFR(DateDisplay):
short_months = ( u"", u"janv", u"févr", u"mars", u"avril", u"mai", u"juin",
u"juil", u"août", u"sept", u"oct", u"nov", u"déc" )
calendar = ("", u" (Julien)", u" (Hébreu)", u" (Révolutionnaire)",
u" (Perse)", u" (Islamique)", u" (Suédois)")
calendar = ("", u"Julien", u"Hébreu", u"Révolutionnaire",
u"Perse", u"Islamique", u"Suédois")
_mod_str = ("", u"avant ", u"après ", u"vers ", "", "", "")
@@ -383,6 +391,7 @@ class DateDisplayFR(DateDisplay):
cal = date.get_calendar()
qual = date.get_quality()
start = date.get_start_date()
newyear = date.get_new_year()
qual_str = (self._qual_str)[qual]
@@ -391,20 +400,22 @@ class DateDisplayFR(DateDisplay):
elif start == Date.EMPTY:
return ""
elif mod == Date.MOD_SPAN:
date1 = (self.display_cal)[cal](start)
date2 = (self.display_cal)[cal](date.get_stop_date())
date1 = self.display_cal[cal](start)
date2 = self.display_cal[cal](date.get_stop_date())
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'de', date1, u'à',
date2, (self.calendar)[cal])
date2, scal)
elif mod == Date.MOD_RANGE:
date1 = (self.display_cal)[cal](start)
date2 = (self.display_cal)[cal](date.get_stop_date())
date1 = self.display_cal[cal](start)
date2 = self.display_cal[cal](date.get_stop_date())
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'entre', date1, u'et',
date2, (self.calendar)[cal])
date2, scal)
else:
text = (self.display_cal)[date.get_calendar()](start)
text = self.display_cal[date.get_calendar()](start)
scal = self.format_extras(cal, newyear)
return "%s%s%s%s" % (qual_str, (self._mod_str)[mod], text,
(self.calendar)[cal])
scal)
#-------------------------------------------------------------------------
#
+14 -7
View File
@@ -115,6 +115,7 @@ class DateParserHR(DateParser):
month_to_int[u"septembar"] = 9
month_to_int[u"septembra"] = 9
month_to_int[u"ix"] = 9
month_to_int[u"7ber"] = 9
month_to_int[u"listopad"] = 10
month_to_int[u"listopada"] = 10
@@ -122,6 +123,7 @@ class DateParserHR(DateParser):
month_to_int[u"oktobar"] = 10
month_to_int[u"oktobra"] = 10
month_to_int[u"x"] = 10
month_to_int[u"8ber"] = 10
month_to_int[u"studeni"] = 11
month_to_int[u"studenog"] = 11
@@ -129,6 +131,7 @@ class DateParserHR(DateParser):
month_to_int[u"novembar"] = 11
month_to_int[u"novembra"] = 11
month_to_int[u"xi"] = 11
month_to_int[u"9ber"] = 11
month_to_int[u"prosinac"] = 12
month_to_int[u"prosinca"] = 12
@@ -160,7 +163,7 @@ class DateParserHR(DateParser):
u'franc.' : Date.CAL_FRENCH,
u'perzijski' : Date.CAL_PERSIAN,
u'perz. ' : Date.CAL_PERSIAN,
u'swedish' : Date.CAL_SWEDISH,
u'švedski' : Date.CAL_SWEDISH,
u's' : Date.CAL_SWEDISH,
}
@@ -224,9 +227,9 @@ class DateDisplayHR(DateDisplay):
)
calendar = (
"", u" (julijanski)", u" (hebrejski)",
u" (francuski republikanski)", u" (perzijski)", u" (islamski)",
u" (swedish)"
"", u"julijanski", u"hebrejski",
u"francuski republikanski", u"perzijski", u"islamski",
u"swedish"
)
_mod_str = ("", "prije ", "poslije ", "okolo ", "", "", "")
@@ -319,6 +322,7 @@ class DateDisplayHR(DateDisplay):
cal = date.get_calendar()
qual = date.get_quality()
start = date.get_start_date()
newyear = date.get_new_year()
qual_str = self._qual_str[qual]
@@ -329,17 +333,20 @@ class DateDisplayHR(DateDisplay):
elif mod == Date.MOD_SPAN:
d_1 = self.display_cal[cal](start)
d_2 = self.display_cal[cal](date.get_stop_date())
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'od', d_1, u'do', d_2,
self.calendar[cal])
scal)
elif mod == Date.MOD_RANGE:
d_1 = self.display_cal[cal](start)
d_2 = self.display_cal[cal](date.get_stop_date())
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'između', d_1, u'i', d_2,
self.calendar[cal])
scal)
else:
text = self.display_cal[date.get_calendar()](start)
scal = self.format_extras(cal, newyear)
return "%s%s%s%s" % (qual_str, self._mod_str[mod], text,
self.calendar[cal])
scal)
#-------------------------------------------------------------------------
#
+10 -6
View File
@@ -120,9 +120,9 @@ class DateDisplayIT(DateDisplay):
u"lug", u"ago", u"set", u"ott", u"nov", u"dic" )
calendar = (
"", u" (Giuliano)", u" (Ebraico)",
u" (Rivoluzionario)", u" (Persiano)", u" (Islamico)",
u" (Svedese)"
"", u"Giuliano", u"Ebraico",
u"Rivoluzionario", u"Persiano", u"Islamico",
u"Svedese"
)
_mod_str = ("", u"prima del ", u"dopo del ", u"circa il ", "", "", "")
@@ -159,6 +159,7 @@ class DateDisplayIT(DateDisplay):
cal = date.get_calendar()
qual = date.get_quality()
start = date.get_start_date()
newyear = date.get_new_year()
qual_str = self._qual_str[qual]
@@ -169,14 +170,17 @@ class DateDisplayIT(DateDisplay):
elif mod == Date.MOD_SPAN:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
return "%s%s %s %s %s%s" % (qual_str, u'dal', d1, u'al', d2, self.calendar[cal])
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'dal', d1, u'al', d2, scal)
elif mod == Date.MOD_RANGE:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
return "%s%s %s %s %s%s" % (qual_str, u'tra', d1, u'e', d2, self.calendar[cal])
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'tra', d1, u'e', d2, scal)
else:
text = self.display_cal[date.get_calendar()](start)
return "%s%s%s%s" % (qual_str, self._mod_str[mod], text, self.calendar[cal])
scal = self.format_extras(cal, newyear)
return "%s%s%s%s" % (qual_str, self._mod_str[mod], text, scal)
#-------------------------------------------------------------------------
#
+140 -20
View File
@@ -48,6 +48,59 @@ from _DateHandler import register_datehandler
#
#-------------------------------------------------------------------------
class DateParserLT(DateParser):
"""
Convert a text string into a Date object. If the date cannot be
converted, the text string is assigned.
"""
month_to_int = DateParser.month_to_int
# Custom months not the same as long months
month_to_int[u"sausis"] = 1
month_to_int[u"vasaris"] = 2
month_to_int[u"kovas"] = 3
month_to_int[u"balandis"] = 4
month_to_int[u"gegužė"] = 5
month_to_int[u"gegužis"] = 5
month_to_int[u"birželis"] = 6
month_to_int[u"liepa"] = 7
month_to_int[u"rugpjūtis"] = 8
month_to_int[u"rugsėjis"] = 9
month_to_int[u"spalis"] = 10
month_to_int[u"lapkritis"] = 11
month_to_int[u"gruodis"] = 12
# For not full months
month_to_int[u"saus"] = 1
month_to_int[u"vasa"] = 2
month_to_int[u"vasar"] = 2
month_to_int[u"bala"] = 4
month_to_int[u"balan"] = 4
month_to_int[u"baland"] = 4
month_to_int[u"gegu"] = 5
month_to_int[u"geguž"] = 5
month_to_int[u"birž"] = 6
month_to_int[u"birže"] = 6
month_to_int[u"biržel"] = 6
month_to_int[u"liep"] = 7
month_to_int[u"rugp"] = 8
month_to_int[u"rugpj"] = 8
month_to_int[u"rugpjū"] = 8
month_to_int[u"rugpjūt"] = 8
month_to_int[u"rugs"] = 9
month_to_int[u"rugsė"] = 9
month_to_int[u"rugsėj"] = 9
month_to_int[u"rugsėjis"] = 9
month_to_int[u"spal"] = 10
month_to_int[u"lapk"] = 11
month_to_int[u"lapkr"] = 11
month_to_int[u"lapkri"] = 11
month_to_int[u"lapkrit"] = 11
month_to_int[u"gru"] = 12
month_to_int[u"gruo"] = 12
month_to_int[u"gruod"] = 12
modifier_to_int = {
u'prieš' : Date.MOD_BEFORE,
@@ -64,11 +117,11 @@ class DateParserLT(DateParser):
u'h' : Date.CAL_HEBREW,
u'islamo' : Date.CAL_ISLAMIC,
u'i' : Date.CAL_ISLAMIC,
u'prancuzų respublikos': Date.CAL_FRENCH,
u'prancūzų respublikos': Date.CAL_FRENCH,
u'r' : Date.CAL_FRENCH,
u'persų' : Date.CAL_PERSIAN,
u'p' : Date.CAL_PERSIAN,
u'swedish' : Date.CAL_SWEDISH,
u'švedų' : Date.CAL_SWEDISH,
u's' : Date.CAL_SWEDISH,
}
@@ -92,6 +145,27 @@ class DateParserLT(DateParser):
('|'.join(_range_1), '|'.join(_range_2)),
re.IGNORECASE)
#------------------------------------------------------------------------
#
# FIXME: oficial long date format (ex, 2011 m. vasario 4 d.)
# is not recognized correctly:
# with self._text2 - day is recognized as year, year - as day
# with self._iso - month not recognized, day recognized,
# year increased by 1, date treated as double
# TODO: in _DateParser.py in _parse_calendar modify groups
#
#------------------------------------------------------------------------
#
# # gregorian and julian
#
# self._text2 = re.compile('(\d+)?\s*?m\.?\s*?%s\.?\s*((\d+)(/\d+)?)?\s*?d?\.?' %
# self._mon_str, re.IGNORECASE)
#
# self._iso = re.compile('(\d+)(/\d+)?\s*?m?\.?\s+?%s\.?\s*((\d+))?\s*?d?\.?' %
# self._mon_str, re.IGNORECASE)
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
#
# Lithuanian displayer
@@ -101,21 +175,25 @@ class DateDisplayLT(DateDisplay):
"""
Lithuanian language date display class.
"""
# TODO: Translate these month strings:
long_months = ( u"", u"January", u"February", u"March", u"April", u"May",
u"June", u"July", u"August", u"September", u"October",
u"November", u"December" )
long_months = ( u"", u"sausio", u"vasario", u"kovo", u"balandžio", u"gegužės",
u"birželio", u"liepos", u"rugpjūčio", u"rugsėjo", u"spalio",
u"lapkričio", u"gruodžio" )
short_months = ( u"", u"Jan", u"Feb", u"Mar", u"Apr", u"May", u"Jun",
u"Jul", u"Aug", u"Sep", u"Oct", u"Nov", u"Dec" )
long_months_vardininkas = ( u"", u"sausis", u"vasaris", u"kovas", u"balandis", u"gegužė",
u"birželis", u"liepa", u"rugpjūtis", u"rugsėjis", u"spalis",
u"lapkritis", u"gruodis" )
short_months = ( u"", u"Sau", u"Vas", u"Kov", u"Bal", u"Geg", u"Bir",
u"Lie", u"Rgp", u"Rgs", u"Spa", u"Lap", u"Grd" )
calendar = (
u"", u" (julijaus)",
u" (hebrajų)",
u" (prancuzų respublikos)",
u" (persų)",
u" (islamo)",
u" (swedish)"
u"", u"julijaus",
u"hebrajų",
u"prancūzų respublikos",
u"persų",
u"islamo",
u"švedų"
)
_mod_str = (u"",
@@ -127,9 +205,47 @@ class DateDisplayLT(DateDisplay):
_qual_str = (u"", u"apytikriai ", u"apskaičiuota ")
formats = (
"YYYY-MM-DD (ISO)", "Skaitmeninis", "Mėnuo Diena, Metai",
"Mėn DD, YYYY", "Diena Mėnuo Metai", "DD Mėn YYYY"
)
"mmmm-MM-DD (ISO)", "mmmm m. mėnesio diena d.", "Mėn diena, metai")
def _display_gregorian(self, date_val):
"""
display gregorian calendar date in different format
"""
year = self._slash_year(date_val[2], date_val[3])
value = self.display_iso(date_val)
if self.format == 0:
return self.display_iso(date_val)
elif self.format == 1:
# mmmm m. mėnesio diena d. (YYYY m. month DD d.)
if date_val[0] == 0:
if date_val[1] == 0:
value = year
else:
value = "%s m. %s" % (year, self.long_months_vardininkas[date_val[1]])
else:
value = "%s m. %s %d d." % (year, self.long_months[date_val[1]],
date_val[0])
elif self.format == 2:
# MON Day, Year
if date_val[0] == 0:
if date_val[1] == 0:
value = year
else:
value = "%s %s" % (self.short_months[date_val[1]], year)
else:
value = "%s %d, %s" % (self.short_months[date_val[1]],
date_val[0], year)
if date_val[2] < 0:
return self._bce_str % value
else:
return value
def display(self, date):
"""
@@ -139,6 +255,7 @@ class DateDisplayLT(DateDisplay):
cal = date.get_calendar()
qual = date.get_quality()
start = date.get_start_date()
newyear = date.get_new_year()
qual_str = self._qual_str[qual]
@@ -149,17 +266,20 @@ class DateDisplayLT(DateDisplay):
elif mod == Date.MOD_SPAN:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'nuo', d1, u'iki',
d2, self.calendar[cal])
d2, scal)
elif mod == Date.MOD_RANGE:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'tarp', d1, u'ir',
d2, self.calendar[cal])
d2, scal)
else:
text = self.display_cal[date.get_calendar()](start)
scal = self.format_extras(cal, newyear)
return "%s%s%s%s" % (qual_str, self._mod_str[mod], text,
self.calendar[cal])
scal)
#-------------------------------------------------------------------------
#
+13 -9
View File
@@ -124,12 +124,12 @@ class DateDisplayNb(DateDisplay):
calendar = (
"",
" (juliansk)",
" (hebraisk)",
" (fransk republikansk)",
" (persisk)",
" (islamisk)",
" (svensk)"
"juliansk",
"hebraisk",
"fransk republikansk",
"persisk",
"islamisk",
"svensk"
)
_mod_str = ("", u"før ", u"etter ", u"ca ", "", "", "")
@@ -146,6 +146,7 @@ class DateDisplayNb(DateDisplay):
cal = date.get_calendar()
qual = date.get_quality()
start = date.get_start_date()
newyear = date.get_new_year()
qual_str = self._qual_str[qual]
@@ -156,16 +157,19 @@ class DateDisplayNb(DateDisplay):
elif mod == Date.MOD_SPAN:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
return u"%sfra %s til %s%s" % (qual_str, d1, d2, self.calendar[cal])
scal = self.format_extras(cal, newyear)
return u"%sfra %s til %s%s" % (qual_str, d1, d2, scal)
elif mod == Date.MOD_RANGE:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
scal = self.format_extras(cal, newyear)
return u"%smellom %s og %s%s" % (qual_str, d1, d2,
self.calendar[cal])
scal)
else:
text = self.display_cal[date.get_calendar()](start)
scal = self.format_extras(cal, newyear)
return u"%s%s%s%s" % (qual_str, self._mod_str[mod],
text, self.calendar[cal])
text, scal)
#-------------------------------------------------------------------------
#
+14 -7
View File
@@ -65,6 +65,9 @@ class DateParserNL(DateParser):
month_to_int[u"feber"] = 2
month_to_int[u"februaris"] = 2
month_to_int[u"merz"] = 3
#make sure on all distro mrt and maa are accepted
month_to_int[u"maa"] = 3
month_to_int[u"mrt"] = 3
month_to_int[u"aprilis"] = 4
month_to_int[u"maius"] = 5
month_to_int[u"junius"] = 6
@@ -143,13 +146,13 @@ class DateDisplayNL(DateDisplay):
u"juni", u"juli", u"augustus", u"september", u"oktober",
u"november", u"december" )
short_months = ( u"", u"jan", u"feb", u"maa", u"apr", u"mei", u"jun",
short_months = ( u"", u"jan", u"feb", u"mrt", u"apr", u"mei", u"jun",
u"jul", u"aug", u"sep", u"okt", u"nov", u"dec" )
calendar = (
"", u" (juliaans)", u" (hebreeuws)",
u" (franse republiek)", u" (persisch)", u" (islamitisch)",
u" (zweeds)" )
"", u"juliaans", u"hebreeuws",
u"franse republiek", u"persisch", u"islamitisch",
u"zweeds" )
_mod_str = ("", u"voor ", u"na ", u"rond ", "", "", "")
@@ -231,6 +234,7 @@ class DateDisplayNL(DateDisplay):
cal = date.get_calendar()
qual = date.get_quality()
start = date.get_start_date()
newyear = date.get_new_year()
qual_str = self._qual_str[qual]
@@ -241,17 +245,20 @@ class DateDisplayNL(DateDisplay):
elif mod == Date.MOD_SPAN:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'van', d1,
u'tot', d2, self.calendar[cal])
u'tot', d2, scal)
elif mod == Date.MOD_RANGE:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
scal = self.format_extras(cal, newyear)
return "%stussen %s en %s%s" % (qual_str, d1, d2,
self.calendar[cal])
scal)
else:
text = self.display_cal[date.get_calendar()](start)
scal = self.format_extras(cal, newyear)
return "%s%s%s%s" % (qual_str, self._mod_str[mod], text,
self.calendar[cal])
scal)
#-------------------------------------------------------------------------
#
+61 -23
View File
@@ -20,6 +20,7 @@
#
# Polish version 2007 by Piotr Czubaszek
# Updated in 2010 by Łukasz Rymarczyk
"""
Polish-specific classes for parsing and displaying dates.
@@ -85,7 +86,31 @@ class DateParserPL(DateParser):
month_to_int[u"grudzień"] = 12
month_to_int[u"gru"] = 12
month_to_int[u"XII"] = 12
# Alternative forms: declined nouns
month_to_int[u"stycznia"] = 1
month_to_int[u"lutego"] = 2
month_to_int[u"marca"] = 3
month_to_int[u"kwietnia"] = 4
month_to_int[u"maja"] = 5
month_to_int[u"czerwca"] = 6
month_to_int[u"lipca"] = 7
month_to_int[u"sierpnia"] = 8
month_to_int[u"września"] = 9
month_to_int[u"października"] = 10
month_to_int[u"listopada"] = 11
month_to_int[u"grudnia"] = 12
# Alternative forms: nouns without polish accent letters
# (misspellings sometimes used in emails)
month_to_int[u"styczen"] = 1
month_to_int[u"kwiecien"] = 4
month_to_int[u"sierpien"] = 8
month_to_int[u"wrzesien"] = 9
month_to_int[u"pazdziernik"] = 10
month_to_int[u"grudzien"] = 12
month_to_int[u"wrzesnia"] = 9
month_to_int[u"pazdziernika"] = 10
month_to_int[u"paz"] = 10
modifier_to_int = {
u'przed' : Date.MOD_BEFORE,
u'po' : Date.MOD_AFTER,
@@ -93,26 +118,34 @@ class DateParserPL(DateParser):
u'ok.' : Date.MOD_ABOUT,
u'circa' : Date.MOD_ABOUT,
u'ca.' : Date.MOD_ABOUT,
# Alternative forms: misspellings sometimes used in emails
u'okolo' : Date.MOD_ABOUT,
u'ok' : Date.MOD_ABOUT,
}
calendar_to_int = {
u'gregoriański' : Date.CAL_GREGORIAN,
u'gregoriański' : Date.CAL_GREGORIAN,
u'greg.' : Date.CAL_GREGORIAN,
u'juliański' : Date.CAL_JULIAN,
u'juliański' : Date.CAL_JULIAN,
u'jul.' : Date.CAL_JULIAN,
u'hebrajski' : Date.CAL_HEBREW,
u'hebr.' : Date.CAL_HEBREW,
u'islamski' : Date.CAL_ISLAMIC,
u'islamski' : Date.CAL_ISLAMIC,
u'isl.' : Date.CAL_ISLAMIC,
u'francuski republikański': Date.CAL_FRENCH,
u'franc.' : Date.CAL_FRENCH,
u'perski' : Date.CAL_PERSIAN,
u'swedish' : Date.CAL_SWEDISH,
u's' : Date.CAL_SWEDISH,
u'perski' : Date.CAL_PERSIAN,
u'szwedzki' : Date.CAL_SWEDISH,
u's' : Date.CAL_SWEDISH,
# Alternative forms: nouns without polish accent letters
# (misspellings sometimes used in emails)
u'gregorianski' : Date.CAL_GREGORIAN,
u'julianski' : Date.CAL_JULIAN,
u'francuski republikanski': Date.CAL_FRENCH,
}
quality_to_int = {
u'szacowany' : Date.QUAL_ESTIMATED,
u'szacowany' : Date.QUAL_ESTIMATED,
u'szac.' : Date.QUAL_ESTIMATED,
u'obliczony' : Date.QUAL_CALCULATED,
u'obl.' : Date.QUAL_CALCULATED,
@@ -123,11 +156,12 @@ class DateParserPL(DateParser):
def init_strings(self):
DateParser.init_strings(self)
self._span = re.compile("(od)\s+(?P<start>.+)\s+(do)\s+(?P<stop>.+)",re.IGNORECASE)
self._range = re.compile(u"(między)\s+(?P<start>.+)\s+(a)\s+(?P<stop>.+)", re.IGNORECASE)
self._span = re.compile("(od)\s+(?P<start>.+)\s+(do)\s+(?P<stop>.+)", re.IGNORECASE)
# Also handle a common mistakes
self._range = re.compile(u"((?:po)?mi(?:ę|e)dzy)\s+(?P<start>.+)\s+(a)\s+(?P<stop>.+)", re.IGNORECASE)
self._text2 = re.compile('(\d+)?.?\s+?%s\s*((\d+)(/\d+)?)?' % self._mon_str,
re.IGNORECASE)
self._jtext2= re.compile('(\d+)?.?\s+?%s\s*((\d+)(/\d+)?)?' % self._jmon_str,
self._jtext2 = re.compile('(\d+)?.?\s+?%s\s*((\d+)(/\d+)?)?' % self._jmon_str,
re.IGNORECASE)
#-------------------------------------------------------------------------
@@ -139,18 +173,18 @@ class DateDisplayPL(DateDisplay):
"""
Polish language date display class.
"""
# TODO: Translate these month strings:
long_months = ( u"", u"January", u"February", u"March", u"April", u"May",
u"June", u"July", u"August", u"September", u"October",
u"November", u"December" )
long_months = ( u"", u"Styczeń", u"Luty", u"Marzec", u"Kwiecień", u"Maj",
u"Czerwiec", u"Lipiec", u"Sierpień", u"Wrzesień", u"Październik",
u"Listopad", u"Grudzień" )
short_months = ( u"", u"Jan", u"Feb", u"Mar", u"Apr", u"May", u"Jun",
u"Jul", u"Aug", u"Sep", u"Oct", u"Nov", u"Dec" )
short_months = ( u"", u"Sty", u"Lut", u"Mar", u"Kwi", u"Maj", u"Cze",
u"Lip", u"Sie", u"Wrz", u"Paź", u"Lis", u"Gru" )
calendar = (
"", u" (juliański)", u" (hebrajski)",
u" (francuski republikański)", u" (perski)", u" (islamski)",
u" (swedish)"
"", u"juliański", u"hebrajski",
u"francuski republikański", u"perski", u"islamski",
u"swedish"
)
_mod_str = ("", u"przed ", u"po ", u"ok. ", "", "", "")
@@ -246,6 +280,7 @@ class DateDisplayPL(DateDisplay):
cal = date.get_calendar()
qual = date.get_quality()
start = date.get_start_date()
newyear = date.get_new_year()
qual_str = self._qual_str[qual]
@@ -256,17 +291,20 @@ class DateDisplayPL(DateDisplay):
elif mod == Date.MOD_SPAN:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'od', d1, u'do', d2,
self.calendar[cal])
scal)
elif mod == Date.MOD_RANGE:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'między', d1, u'a', d2,
self.calendar[cal])
scal)
else:
text = self.display_cal[date.get_calendar()](start)
scal = self.format_extras(cal, newyear)
return "%s%s%s%s" % (qual_str, self._mod_str[mod], text,
self.calendar[cal])
scal)
#-------------------------------------------------------------------------
#
+36 -27
View File
@@ -52,20 +52,26 @@ from _DateHandler import register_datehandler
class DateParserPT(DateParser):
modifier_to_int = {
u'antes de' : Date.MOD_BEFORE,
u'antes' : Date.MOD_BEFORE,
u'ant.' : Date.MOD_BEFORE,
u'ant' : Date.MOD_BEFORE,
u'após' : Date.MOD_AFTER,
u'aprox.' : Date.MOD_ABOUT,
u'aprox' : Date.MOD_ABOUT,
u'apr.' : Date.MOD_ABOUT,
u'apr' : Date.MOD_ABOUT,
u'cerca de' : Date.MOD_ABOUT,
u'ca.' : Date.MOD_ABOUT,
u'ca' : Date.MOD_ABOUT,
u'c.' : Date.MOD_ABOUT,
u'até' : Date.MOD_ABOUT,
u'antes de' : Date.MOD_BEFORE,
u'antes' : Date.MOD_BEFORE,
u'ant.' : Date.MOD_BEFORE,
u'ant' : Date.MOD_BEFORE,
u'a' : Date.MOD_BEFORE,
u'depois de' : Date.MOD_AFTER,
u'depois' : Date.MOD_AFTER,
u'dep.' : Date.MOD_AFTER,
u'dep' : Date.MOD_AFTER,
u'aprox.' : Date.MOD_ABOUT,
u'aprox' : Date.MOD_ABOUT,
u'apr.' : Date.MOD_ABOUT,
u'apr' : Date.MOD_ABOUT,
u'cerca de' : Date.MOD_ABOUT,
u'ca.' : Date.MOD_ABOUT,
u'ca' : Date.MOD_ABOUT,
u'c.' : Date.MOD_ABOUT,
u'por volta de' : Date.MOD_ABOUT,
u'por volta' : Date.MOD_ABOUT,
u'pvd.' : Date.MOD_ABOUT,
}
calendar_to_int = {
@@ -116,21 +122,20 @@ class DateDisplayPT(DateDisplay):
"""
Portuguese language date display class.
"""
# TODO: Translate these month strings:
long_months = ( u"", u"January", u"February", u"March", u"April", u"May",
u"June", u"July", u"August", u"September", u"October",
u"November", u"December" )
long_months = ( u"", u"Janeiro", u"Fevereiro", u"Março", u"Abril", u"Maio",
u"Junho", u"Julho", u"Agosto", u"Setembro", u"Outubro",
u"Novembro", u"Dezembro" )
short_months = ( u"", u"Jan", u"Feb", u"Mar", u"Apr", u"May", u"Jun",
u"Jul", u"Aug", u"Sep", u"Oct", u"Nov", u"Dec" )
short_months = ( u"", u"Jan", u"Fev", u"Mar", u"Abr", u"Mai", u"Jun",
u"Jul", u"Ago", u"Set", u"Out", u"Nov", u"Dez" )
calendar = (
"", u" (Juliano)", u" (Hebreu)",
u" (Revolucionário)", u" (Persa)", u" (Islâmico)",
u" (Swedish)"
"", u"Juliano", u"Hebreu",
u"Revolucionário", u"Persa", u"Islâmico",
u"Sueco"
)
_mod_str = ("",u"antes de ",u"depois de ",u"até ","","","")
_mod_str = ("",u"antes de ",u"depois de ",u"por volta de ","","","")
_qual_str = ("","estimado ","calculado ")
@@ -147,6 +152,7 @@ class DateDisplayPT(DateDisplay):
cal = date.get_calendar()
qual = date.get_quality()
start = date.get_start_date()
newyear = date.get_new_year()
qual_str = self._qual_str[qual]
@@ -157,14 +163,17 @@ class DateDisplayPT(DateDisplay):
elif mod == Date.MOD_SPAN:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
return "%s%s %s %s %s%s" % (qual_str, u'de', d1, u'a', d2,self.calendar[cal])
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'de', d1, u'a', d2, scal)
elif mod == Date.MOD_RANGE:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
return "%s%s %s %s %s%s" % (qual_str, u'entre', d1, u'e', d2, self.calendar[cal])
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'entre', d1, u'e', d2, scal)
else:
text = self.display_cal[date.get_calendar()](start)
return "%s%s%s%s" % (qual_str, self._mod_str[mod], text, self.calendar[cal])
scal = self.format_extras(cal, newyear)
return "%s%s%s%s" % (qual_str, self._mod_str[mod], text, scal)
#-------------------------------------------------------------------------
#
+68 -65
View File
@@ -187,22 +187,21 @@ class DateDisplayRU(DateDisplay):
"""
Russian language date display class.
"""
# TODO: Translate these month strings:
long_months = ( u"", u"January", u"February", u"March", u"April", u"May",
u"June", u"July", u"August", u"September", u"October",
u"November", u"December" )
long_months = ( u"", u"января", u"февраля", u"марта", u"апреля", u"мая",
u"июня", u"июля", u"августа", u"сентября", u"октября",
u"ноября", u"декабря" )
short_months = ( u"", u"Jan", u"Feb", u"Mar", u"Apr", u"May", u"Jun",
u"Jul", u"Aug", u"Sep", u"Oct", u"Nov", u"Dec" )
short_months = ( u"", u"янв", u"фев", u"мар", u"апр", u"мая", u"июн",
u"июл", u"авг", u"сен", u"окт", u"ноя", u"дек" )
calendar = (
u"",
u" (юлианский)",
u" (еврейский)",
u" (республиканский)",
u" (персидский)",
u" (исламский)",
u" (Swedish)"
u"юлианский",
u"еврейский",
u"республиканский",
u"персидский",
u"исламский",
u"шведский"
)
_mod_str = (
@@ -222,65 +221,65 @@ class DateDisplayRU(DateDisplay):
)
hebrew = ( u"",
u"Тишрей",
u"Хешван",
u"Кислев",
u"Тевет",
u"Шеват",
u"Адар",
u"Адар бет",
u"Нисан",
u"Ияр",
u"Сиван",
u"Таммуз",
u"Ав",
u"Элул",
u"тишрея",
u"хешвана",
u"кислева",
u"тевета",
u"шевата",
u"адара",
u"адар бета",
u"нисана",
u"ияра",
u"сивана",
u"таммуза",
u"ава",
u"элула",
)
islamic = ( u"",
u"Мухаррам",
u"Сафар",
u"Раби-аль-авваль",
u"Раби-ассани",
u"Джумада-аль-уля",
u"Джумада-аль-ахира",
u"Раджаб",
u"Шаабан",
u"Рамадан",
u"Шавваль",
u"Зуль-каада",
u"Зуль-хиджжа",
u"мухаррама",
u"сафара",
u"раби-аль-авваля",
u"раби-ассани",
u"джумада-аль-уля",
u"джумада-аль-ахира",
u"раджаба",
u"шаабана",
u"рамадана",
u"шаввальа",
u"зуль-каада",
u"зуль-хиджжа",
)
persian = ( u"",
u"Фарвардин",
u"Урдбихишт",
u"Хурдад",
u"Тир",
u"Мурдад",
u"Шахривар",
u"Михр",
u"Абан",
u"Азар",
u"Дай",
u"Бахман",
u"Исфаидармуз",
u"фарвардина",
u"урдбихишта",
u"хурдада",
u"тира",
u"мурдада",
u"шахривара",
u"михра",
u"абана",
u"азара",
u"дайа",
u"бахмана",
u"исфаидармуза",
)
french = ( u"",
u"Вандемьер",
u"Брюмер",
u"Фример",
u"Нивоз",
u"Плювиоз",
u"Вантоз",
u"Жерминаль",
u"Флореаль",
u"Прериаль",
u"Мессидор",
u"Термидор",
u"Фрюктидор",
u"Дополнит."
u"вандемьера",
u"брюмера",
u"фримера",
u"нивоза",
u"плювиоза",
u"вантоза",
u"жерминаля",
u"флореаля",
u"прериаля",
u"мессидора",
u"термидора",
u"фрюктидора",
u"дополнит."
)
def display(self, date):
@@ -291,6 +290,7 @@ class DateDisplayRU(DateDisplay):
cal = date.get_calendar()
qual = date.get_quality()
start = date.get_start_date()
newyear = date.get_new_year()
qual_str = self._qual_str[qual]
@@ -301,17 +301,20 @@ class DateDisplayRU(DateDisplay):
elif mod == Date.MOD_SPAN:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
scal = self.format_extras(cal, newyear)
return "%sс %s %s %s%s" % (qual_str, d1, u'по', d2,
self.calendar[cal])
scal)
elif mod == Date.MOD_RANGE:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'между', d1, u'и',
d2, self.calendar[cal])
d2, scal)
else:
text = self.display_cal[date.get_calendar()](start)
scal = self.format_extras(cal, newyear)
return "%s%s%s%s" % (qual_str, self._mod_str[mod],
text, self.calendar[cal])
text, scal)
#-------------------------------------------------------------------------
#
+15 -12
View File
@@ -104,18 +104,17 @@ class DateDisplaySK(DateDisplay):
"""
Slovak language date display class.
"""
# TODO: Translate these month strings:
long_months = ( u"", u"January", u"February", u"March", u"April", u"May",
u"June", u"July", u"August", u"September", u"October",
u"November", u"December" )
long_months = ( u"", u"január", u"február", u"marec", u"apríl", u"máj",
u"jún", u"júl", u"august", u"september", u"október",
u"november", u"december" )
short_months = ( u"", u"Jan", u"Feb", u"Mar", u"Apr", u"May", u"Jun",
u"Jul", u"Aug", u"Sep", u"Oct", u"Nov", u"Dec" )
short_months = ( u"", u"jan", u"feb", u"mar", u"apr", u"máj", u"jún",
u"júl", u"aug", u"sep", u"okt", u"nov", u"dec" )
calendar = (
"", u" (juliánský)", u" (hebrejský)",
u" (republikánsky)", u" (perzský)", u" (islamský)",
u" (swedish)"
"", u"juliánský", u"hebrejský",
u"republikánsky", u"perzský", u"islamský",
u"swedish"
)
_mod_str = ("", u"pred ", u"po ", u"okolo ", "", "", "")
@@ -135,6 +134,7 @@ class DateDisplaySK(DateDisplay):
cal = date.get_calendar()
qual = date.get_quality()
start = date.get_start_date()
newyear = date.get_new_year()
qual_str = self._qual_str[qual]
@@ -145,17 +145,20 @@ class DateDisplaySK(DateDisplay):
elif mod == Date.MOD_SPAN:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'od', d1,
u'do', d2, self.calendar[cal])
u'do', d2, scal)
elif mod == Date.MOD_RANGE:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'medzi',
d1, u'a', d2, self.calendar[cal])
d1, u'a', d2, scal)
else:
text = self.display_cal[date.get_calendar()](start)
scal = self.format_extras(cal, newyear)
return "%s%s%s%s" % (qual_str, self._mod_str[mod],
text, self.calendar[cal])
text, scal)
#-------------------------------------------------------------------------
#
+313
View File
@@ -0,0 +1,313 @@
# -*- coding: utf-8 -*-
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2004-2007 Donald N. Allingham
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# Slovenian version 2010 by Bernard Banko, based on croatian one by Josip
"""
Slovenian-specific classes for parsing and displaying dates.
"""
#-------------------------------------------------------------------------
#
# Python modules
#
#-------------------------------------------------------------------------
import re
#-------------------------------------------------------------------------
#
# GRAMPS modules
#
#-------------------------------------------------------------------------
from gen.lib import Date
from _DateParser import DateParser
from _DateDisplay import DateDisplay
from _DateHandler import register_datehandler
#-------------------------------------------------------------------------
#
# Slovenian parser
#
#-------------------------------------------------------------------------
class DateParserSL(DateParser):
"""
Converts a text string into a Date object
"""
month_to_int = DateParser.month_to_int
month_to_int[u"januar"] = 1
month_to_int[u"januarja"] = 1
month_to_int[u"januarjem"] = 1
month_to_int[u"jan"] = 1
month_to_int[u"i"] = 1
month_to_int[u"februar"] = 2
month_to_int[u"februarjem"] = 2
month_to_int[u"februarja"] = 2
month_to_int[u"feb"] = 2
month_to_int[u"ii"] = 2
month_to_int[u"mar"] = 3
month_to_int[u"marcem"] = 3
month_to_int[u"marec"] = 3
month_to_int[u"marca"] = 3
month_to_int[u"iii"] = 3
month_to_int[u"apr"] = 4
month_to_int[u"april"] = 4
month_to_int[u"aprilom"] = 4
month_to_int[u"aprila"] = 4
month_to_int[u"iv"] = 4
month_to_int[u"maj"] = 5
month_to_int[u"maja"] = 5
month_to_int[u"majem"] = 5
month_to_int[u"v"] = 5
month_to_int[u"jun"] = 6
month_to_int[u"junij"] = 6
month_to_int[u"junijem"] = 6
month_to_int[u"junija"] = 6
month_to_int[u"vi"] = 6
month_to_int[u"jul"] = 7
month_to_int[u"julij"] = 7
month_to_int[u"julijem"] = 7
month_to_int[u"julija"] = 7
month_to_int[u"vii"] = 7
month_to_int[u"avg"] = 8
month_to_int[u"avgust"] = 8
month_to_int[u"avgustom"] = 8
month_to_int[u"avgusta"] = 8
month_to_int[u"viii"] = 8
month_to_int[u"sep"] = 9
month_to_int[u"sept"] = 9
month_to_int[u"september"] = 9
month_to_int[u"septembrom"] = 9
month_to_int[u"septembra"] = 9
month_to_int[u"ix"] = 9
month_to_int[u"okt"] = 10
month_to_int[u"oktober"] = 10
month_to_int[u"oktobrom"] = 10
month_to_int[u"oktobra"] = 10
month_to_int[u"x"] = 10
month_to_int[u"nov"] = 11
month_to_int[u"november"] = 11
month_to_int[u"novembrom"] = 11
month_to_int[u"novembra"] = 11
month_to_int[u"xi"] = 11
month_to_int[u"dec"] = 12
month_to_int[u"december"] = 12
month_to_int[u"decembrom"] = 12
month_to_int[u"decembra"] = 12
month_to_int[u"xii"] = 12
modifier_to_int = {
u'pred' : Date.MOD_BEFORE,
u'pr.' : Date.MOD_BEFORE,
u'po' : Date.MOD_AFTER,
u'okoli' : Date.MOD_ABOUT,
u'okrog' : Date.MOD_ABOUT,
u'okr.' : Date.MOD_ABOUT,
u'ok.' : Date.MOD_ABOUT,
u'cca.' : Date.MOD_ABOUT,
u'cca' : Date.MOD_ABOUT,
u'circa' : Date.MOD_ABOUT,
u'ca.' : Date.MOD_ABOUT,
}
calendar_to_int = {
u'gregorijanski' : Date.CAL_GREGORIAN,
u'greg.' : Date.CAL_GREGORIAN,
u'julijanski' : Date.CAL_JULIAN,
u'jul.' : Date.CAL_JULIAN,
u'hebrejski' : Date.CAL_HEBREW,
u'hebr.' : Date.CAL_HEBREW,
u'islamski' : Date.CAL_ISLAMIC,
u'isl.' : Date.CAL_ISLAMIC,
u'francoski republikanski': Date.CAL_FRENCH,
u'franc.' : Date.CAL_FRENCH,
u'perzijski' : Date.CAL_PERSIAN,
u'perz. ' : Date.CAL_PERSIAN,
u'švedski' : Date.CAL_SWEDISH,
u'šved.' : Date.CAL_SWEDISH,
}
quality_to_int = {
u'približno' : Date.QUAL_ESTIMATED,
u'pribl.' : Date.QUAL_ESTIMATED,
u'izračunano' : Date.QUAL_CALCULATED,
u'izrač.' : Date.QUAL_CALCULATED,
}
bce = ["pred našim štetjem", "pred Kristusom",
"p.n.š.", "p. n. š.", "pr.Kr.", "pr. Kr."] + DateParser.bce
def init_strings(self):
"""
compiles regular expression strings for matching dates
"""
DateParser.init_strings(self)
# match 'Day. MONTH year.' format with or without dots
self._text2 = re.compile('(\d+)?\.?\s*?%s\.?\s*((\d+)(/\d+)?)?\s*\.?$'
% self._mon_str, re.IGNORECASE)
# match Day.Month.Year.
self._numeric = re.compile("((\d+)[/\.-])?\s*((\d+)[/\.-])?\s*(\d+)\.?$")
self._span = re.compile("od\s+(?P<start>.+)\s+do\s+(?P<stop>.+)",
re.IGNORECASE)
self._range = re.compile(
u"med\s+(?P<start>.+)\s+in\s+(?P<stop>.+)",
re.IGNORECASE)
self._jtext2 = re.compile('(\d+)?.?\s+?%s\s*((\d+)(/\d+)?)?'\
% self._jmon_str, re.IGNORECASE)
#-------------------------------------------------------------------------
#
# Slovenian display
#
#-------------------------------------------------------------------------
class DateDisplaySL(DateDisplay):
"""
Slovenian language date display class.
"""
long_months = ( u"", u"januarja", u"februarja", u"marca",u"aprila",
u"maja", u"junija", u"julija", u"avgusta", u"septembra",
u"oktobra", u"novembra", u"decembra"
)
short_months = ( u"", u"jan", u"feb", u"mar", u"apr", u"maj", u"jun",
u"jul", u"avg", u"sep", u"okt", u"nov", u"dec"
)
calendar = (
"", u"julijanski", u"hebrejski",
u"francoski republikanski", u"perzijski", u"islamski",
u"švedski"
)
_mod_str = ("", "pred ", "po ", "okrog ", "", "", "")
_qual_str = ("", "približno ", "izračunano ")
_bce_str = "%s p.n.š."
formats = (
"ISO (leto-mm-dd)",
"številčno",
"dan. mes. leto",
"dan. mesec leto"
)
def _display_gregorian(self, date_val):
"""
display gregorian calendar date in different format
"""
year = self._slash_year(date_val[2], date_val[3])
if self.format == 0:
return self.display_iso(date_val)
elif self.format == 1:
# D. M. YYYY
if date_val[3]:
return self.display_iso(date_val)
else:
if date_val[0] == 0 and date_val[1] == 0:
value = str(date_val[2])
else:
value = self._tformat.replace('%m', str(date_val[1]))
value = value.replace('%d', str(date_val[0]))
value = value.replace('%Y', str(date_val[2]))
value = value.replace('-', '. ')
elif self.format == 2:
# D. mon. YYYY
if date_val[0] == 0:
if date_val[1] == 0:
value = year
else:
value = "%s. %s" % (self.short_months[date_val[1]], year)
else:
value = "%d. %s. %s" % (date_val[0],
self.short_months[date_val[1]], year)
else:
# D. month YYYY
if date_val[0] == 0:
if date_val[1] == 0:
value = "%s." % year
else:
value = "%s %s" % (self.long_months[date_val[1]], year)
else:
value = "%d. %s %s" % (
date_val[0],self.long_months[date_val[1]], year)
if date_val[2] < 0:
return self._bce_str % value
else:
return value
def display(self, date):
"""
Return a text string representing the date.
"""
mod = date.get_modifier()
cal = date.get_calendar()
qual = date.get_quality()
start = date.get_start_date()
newyear = date.get_new_year()
qual_str = self._qual_str[qual]
if mod == Date.MOD_TEXTONLY:
return date.get_text()
elif start == Date.EMPTY:
return u""
elif mod == Date.MOD_SPAN:
d_1 = self.display_cal[cal](start)
d_2 = self.display_cal[cal](date.get_stop_date())
scal = self.format_extras(cal, newyear)
return u"%sod %s do %s%s" % (qual_str, d_1, d_2, scal)
elif mod == Date.MOD_RANGE:
d_1 = self.display_cal[cal](start)
d_2 = self.display_cal[cal](date.get_stop_date())
scal = self.format_extras(cal, newyear)
date_string = u"%smed %s in %s%s" % (qual_str, d_1, d_2, scal)
date_string = date_string.replace(u"a ",u"em ") #to correct declination
date_string = date_string.replace(u"lem ",u"lom ")
date_string = date_string.replace(u"rem ",u"rom ")
date_string = date_string.replace(u"tem ",u"tom ")
return date_string
else:
text = self.display_cal[date.get_calendar()](start)
scal = self.format_extras(cal, newyear)
date_string = "%s%s%s%s" % (qual_str, self._mod_str[mod], text, scal)
return date_string
#-------------------------------------------------------------------------
#
# Register classes
#
#-------------------------------------------------------------------------
register_datehandler(("sl", "SL", "sl_SI", "slovenščina", "slovenian", "Slovenian",
"sl_SI.UTF8", "sl_SI.UTF-8", "sl_SI.utf-8", "sl_SI.utf8"),
DateParserSL, DateDisplaySL)
+10 -6
View File
@@ -251,9 +251,9 @@ class DateDisplaySR_latin(DateDisplay):
)
calendar = (
"", u" (julijanski)", u" (hebrejski)",
u" (francuski republikanski)", u" (persijski)", u" (islamski)",
u" (švedski)"
"", u"julijanski", u"hebrejski",
u"francuski republikanski", u"persijski", u"islamski",
u"švedski"
)
_mod_str = ("", "pre ", "posle ", "oko ", "", "", "")
@@ -334,6 +334,7 @@ class DateDisplaySR_latin(DateDisplay):
cal = date.get_calendar()
qual = date.get_quality()
start = date.get_start_date()
newyear = date.get_new_year()
qual_str = self._qual_str[qual]
@@ -344,17 +345,20 @@ class DateDisplaySR_latin(DateDisplay):
elif mod == Date.MOD_SPAN:
d_1 = self.display_cal[cal](start)
d_2 = self.display_cal[cal](date.get_stop_date())
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'od', d_1, u'do', d_2,
self.calendar[cal])
scal)
elif mod == Date.MOD_RANGE:
d_1 = self.display_cal[cal](start)
d_2 = self.display_cal[cal](date.get_stop_date())
scal = self.format_extras(cal, newyear)
return "%s%s %s %s %s%s" % (qual_str, u'između', d_1, u'i', d_2,
self.calendar[cal])
scal)
else:
text = self.display_cal[date.get_calendar()](start)
scal = self.format_extras(cal, newyear)
return "%s%s%s%s" % (qual_str, self._mod_str[mod], text,
self.calendar[cal])
scal)
#-------------------------------------------------------------------------
+18 -14
View File
@@ -64,7 +64,7 @@ class DateParserSv(DateParser):
u'c:a' : Date.MOD_ABOUT
}
bce = ["f Kr"]
bce = [u"f Kr"]
calendar_to_int = {
u'gregoriansk ' : Date.CAL_GREGORIAN,
@@ -128,20 +128,20 @@ class DateDisplaySv(DateDisplay):
)
calendar = (
"",
" (juliansk)",
" (hebreisk)",
" (fransk republikansk)",
" (persisk)",
" (islamisk)",
" (svensk)"
u"",
u"juliansk",
u"hebreisk",
u"fransk republikansk",
u"persisk",
u"islamisk",
u"svensk"
)
_mod_str = ("", u"före ", u"efter ", u"c:a ", "", "", "")
_mod_str = (u"", u"före ", u"efter ", u"c:a ", u"", u"", u"")
_qual_str = ("", u"uppskattat ", u"beräknat ")
_qual_str = (u"", u"uppskattat ", u"beräknat ")
_bce_str = "%s f Kr"
_bce_str = u"%s f Kr"
def display(self, date):
"""
@@ -151,6 +151,7 @@ class DateDisplaySv(DateDisplay):
cal = date.get_calendar()
qual = date.get_quality()
start = date.get_start_date()
newyear = date.get_new_year()
qual_str = self._qual_str[qual]
@@ -161,16 +162,19 @@ class DateDisplaySv(DateDisplay):
elif mod == Date.MOD_SPAN:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
return u"%sfrån %s till %s%s" % (qual_str, d1, d2, self.calendar[cal])
scal = self.format_extras(cal, newyear)
return u"%sfrån %s till %s%s" % (qual_str, d1, d2, scal)
elif mod == Date.MOD_RANGE:
d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date())
scal = self.format_extras(cal, newyear)
return u"%smellan %s och %s%s" % (qual_str, d1, d2,
self.calendar[cal])
scal)
else:
text = self.display_cal[date.get_calendar()](start)
scal = self.format_extras(cal, newyear)
return u"%s%s%s%s" % (qual_str, self._mod_str[mod],
text, self.calendar[cal])
text, scal)
#-------------------------------------------------------------------------
#
+2
View File
@@ -29,6 +29,7 @@ from _DateHandler import (LANG, LANG_SHORT, LANG_TO_PARSER, LANG_TO_DISPLAY,
register_datehandler)
# Import all the localized handlers
import _Date_bg
import _Date_ca
import _Date_cs
import _Date_de
@@ -44,6 +45,7 @@ import _Date_pl
import _Date_pt
import _Date_ru
import _Date_sk
import _Date_sl
import _Date_sr
import _Date_sv
+49 -10
View File
@@ -80,10 +80,22 @@ class History(gen.utils.Callback):
'mru-changed' : (list, )
}
def __init__(self):
def __init__(self, dbstate, nav_type):
gen.utils.Callback.__init__(self)
self.clear()
dbstate.connect('database-changed', self.connect_signals)
self.signal_map = {}
self.signal_map[nav_type.lower() + '-delete'] = self.handles_removed
self.signal_map[nav_type.lower() + '-rebuild'] = self.history_changed
def connect_signals(self, dbstate):
"""
Connects database signals when the database has changed.
"""
for sig in self.signal_map:
dbstate.connect(sig, self.signal_map[sig])
def clear(self):
"""
Clears the history, resetting the values back to their defaults
@@ -191,6 +203,22 @@ class History(gen.utils.Callback):
if not self.at_end():
self.history = self.history[0:self.index+1]
def handles_removed(self, handle_list):
"""
Called in response to an object-delete signal.
Removes a list of handles from the history.
"""
for handle in handle_list:
self.remove(handle)
def history_changed(self):
"""
Called in response to an object-rebuild signal.
Objects in the history list may have been deleted.
"""
self.clear()
self.emit('mru-changed', (self.mru, ))
#-------------------------------------------------------------------------
#
# Recent Docs Menu
@@ -279,19 +307,30 @@ class WarnHandler(RotateHandler):
self.button = button
button.on_clicked(self.display)
self.timer = None
self.last_line = '-1'
def emit(self, record):
if self.timer:
gobject.source_remove(self.timer)
gobject.timeout_add(180*1000, self._clear)
if self.timer is None:
#check every 3 minutes if warn button can disappear
self.timer = gobject.timeout_add(3*60*1000, self._check_clear)
RotateHandler.emit(self, record)
self.button.show()
def _check_clear(self):
new_last_line = self.get_buffer()[-1]
if self.last_line == new_last_line:
#buffer has not changed for 3 minutes, let's clear it:
self._clear()
return False
else:
self.last_line = new_last_line
return True
def _clear(self):
self.button.hide()
self.set_capacity(self._capacity)
self.last_line = '-1'
self.timer = None
return False
def display(self, obj):
obj.hide()
@@ -301,7 +340,6 @@ class WarnHandler(RotateHandler):
buf = msg.get_buffer()
for i in self.get_formatted_log():
buf.insert_at_cursor(i + '\n')
self.set_capacity(self._capacity)
top.run()
top.destroy()
@@ -370,13 +408,13 @@ class DisplayState(gen.utils.Callback):
"""
return self.history_lookup.get((nav_type, nav_group))
def register(self, nav_type, nav_group):
def register(self, dbstate, nav_type, nav_group):
"""
Create a history and navigation object for the specified
navigation type and group, if they don't exist.
"""
if (nav_type, nav_group) not in self.history_lookup:
history = History()
history = History(dbstate, nav_type)
self.history_lookup[(nav_type, nav_group)] = history
def get_active(self, nav_type, nav_group=0):
@@ -385,7 +423,7 @@ class DisplayState(gen.utils.Callback):
navigation type and group.
"""
history = self.get_history(nav_type, nav_group)
return history.present()
return history.present() if history else None
def set_active(self, handle, nav_type, nav_group=0):
"""
@@ -393,7 +431,8 @@ class DisplayState(gen.utils.Callback):
the given handle.
"""
history = self.get_history(nav_type, nav_group)
history.push(handle)
if history:
history.push(handle)
def set_sensitive(self, state):
self.window.set_sensitive(state)
+26 -12
View File
@@ -3,6 +3,7 @@
#
# Copyright (C) 2004-2007 Donald N. Allingham
# Copyright (C) 2008 Brian G. Matherly
# Copyright (C) 2008 Benny Malengier
# Contribution 2009 by Brad Crittenden <brad [AT] bradcrittenden.net>
#
# This program is free software; you can redistribute it and/or modify
@@ -92,6 +93,7 @@ class ExportAssistant(gtk.Assistant, ManagedWindow.ManagedWindow) :
"""
#override predefined do_xxx signal handlers
__gsignals__ = {"apply": "override", "cancel": "override",
"close": "override", "prepare": "override"}
@@ -164,6 +166,22 @@ class ExportAssistant(gtk.Assistant, ManagedWindow.ManagedWindow) :
if isinstance(arg, gtk.Button) and arg.get_label() == 'gtk-go-forward':
self.forward_button = arg
def get_cancel_button(self, arg):
if isinstance(arg, gtk.HBox):
arg.forall(self._cancel_btn)
def _cancel_btn(self, arg):
if isinstance(arg, gtk.Button) and arg.get_label() == 'gtk-cancel':
self.cancel_button = arg
def get_close_button(self, arg):
if isinstance(arg, gtk.HBox):
arg.forall(self._close_btn)
def _close_btn(self, arg):
if isinstance(arg, gtk.Button) and arg.get_label() == 'gtk-close':
self.close_button = arg
def build_menu_names(self, obj):
"""Override ManagedWindow method."""
return (self.top_title, None)
@@ -382,22 +400,18 @@ class ExportAssistant(gtk.Assistant, ManagedWindow.ManagedWindow) :
self.set_page_complete(page, False)
self.set_page_type(page, gtk.ASSISTANT_PAGE_SUMMARY)
def do_apply(self):
pass
def do_cancel(self):
if self.writestarted :
return True
else :
self.close()
def do_close(self):
if self.writestarted :
return True
else :
pass
else :
self.close()
def do_cancel(self):
self.do_close()
def do_prepare(self, page):
"""
The "prepare" signal is emitted when a new page is set as the
@@ -462,7 +476,7 @@ class ExportAssistant(gtk.Assistant, ManagedWindow.ManagedWindow) :
#Allow for exotic error: file is still not correct
self.check_fileselect(self.chooser, show=False)
if self.get_page_complete(self.chooser) :
filename = Utils.get_unicode_path(self.chooser.get_filename())
filename = Utils.get_unicode_path_from_file_chooser(self.chooser.get_filename())
name = os.path.split(filename)[1]
folder = os.path.split(filename)[0]
confirm_text = _(
@@ -536,7 +550,7 @@ class ExportAssistant(gtk.Assistant, ManagedWindow.ManagedWindow) :
def close(self, *obj) :
#clean up ManagedWindow menu, then destroy window, bring forward parent
gtk.Assistant.destroy(self)
ManagedWindow.ManagedWindow.close(self,*obj)
def get_intro_text(self):
@@ -596,7 +610,7 @@ class ExportAssistant(gtk.Assistant, ManagedWindow.ManagedWindow) :
hasattr(self.option_box_instance, "no_fileselect")):
filename = ""
else:
filename = Utils.get_unicode_path(self.chooser.get_filename())
filename = Utils.get_unicode_path_from_file_chooser(self.chooser.get_filename())
config.set('paths.recent-export-dir', os.path.split(filename)[0])
ix = self.get_selected_format_index()
config.set('behavior.recent-export-type', ix)
+3 -4
View File
@@ -2,9 +2,9 @@
SUBDIRS = Rules SideBar
pkgdatadir = $(datadir)/@PACKAGE@/Filters
pkgpythondir = $(datadir)/@PACKAGE@/Filters
pkgdata_PYTHON = \
pkgpython_PYTHON = \
_FilterComboBox.py \
_FilterList.py \
_FilterMenu.py \
@@ -17,7 +17,6 @@ pkgdata_PYTHON = \
_SearchFilter.py
pkgpyexecdir = @pkgpyexecdir@/Filters
pkgpythondir = @pkgpythondir@/Filters
# Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo
@@ -26,4 +25,4 @@ GRAMPS_PY_MODPATH = "../"
pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON));
pychecker $(pkgpython_PYTHON));
+4 -4
View File
@@ -1,8 +1,8 @@
# This is the src/Filters/Rules/Event level Makefile for Gramps
pkgdatadir = $(datadir)/@PACKAGE@/Filters/Rules/Event
pkgpythondir = $(datadir)/@PACKAGE@/Filters/Rules/Event
pkgdata_PYTHON = \
pkgpython_PYTHON = \
_ChangedSince.py\
_MatchesFilter.py\
_EventPrivate.py\
@@ -24,7 +24,7 @@ pkgdata_PYTHON = \
__init__.py
pkgpyexecdir = @pkgpyexecdir@/Filters/Rules/Event
pkgpythondir = @pkgpythondir@/Filters/Rules/Event
# Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo
@@ -33,4 +33,4 @@ GRAMPS_PY_MODPATH = "../../../"
pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON));
pychecker $(pkgpython_PYTHON));
+2 -2
View File
@@ -40,5 +40,5 @@ from Filters.Rules._HasSourceBase import HasSourceBase
class HasSource(HasSourceBase):
"""Events with sources"""
name = _('Events with <count> source')
description = _("Matches events with a certain number of items in the source")
name = _('Events with <count> sources')
description = _("Matches events with a certain number of sources connected to it")
+3 -4
View File
@@ -1,8 +1,8 @@
# This is the src/Filters/Rules/Family level Makefile for Gramps
pkgdatadir = $(datadir)/@PACKAGE@/Filters/Rules/Family
pkgpythondir = $(datadir)/@PACKAGE@/Filters/Rules/Family
pkgdata_PYTHON = \
pkgpython_PYTHON = \
_AllFamilies.py\
_ChangedSince.py\
_FamilyPrivate.py\
@@ -38,7 +38,6 @@ pkgdata_PYTHON = \
pkgpyexecdir = @pkgpyexecdir@/Filters/Rules/Family
pkgpythondir = @pkgpythondir@/Filters/Rules/Family
# Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo
@@ -47,4 +46,4 @@ GRAMPS_PY_MODPATH = "../../../"
pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON));
pychecker $(pkgpython_PYTHON));
+2 -2
View File
@@ -43,5 +43,5 @@ from Filters.Rules._HasSourceBase import HasSourceBase
class HasSource(HasSourceBase):
"""Families with sources"""
name = _('Families with <count> source')
description = _("Matches families with a certain number of items in the source")
name = _('Families with <count> sources')
description = _("Matches families with a certain number of sources connected to it")
+3 -4
View File
@@ -2,9 +2,9 @@
SUBDIRS = Person Family Event Place Source MediaObject Repository Note
pkgdatadir = $(datadir)/@PACKAGE@/Filters/Rules
pkgpythondir = $(datadir)/@PACKAGE@/Filters/Rules
pkgdata_PYTHON = \
pkgpython_PYTHON = \
_ChangedSinceBase.py\
_Everything.py\
_HasEventBase.py\
@@ -29,7 +29,6 @@ pkgdata_PYTHON = \
_HasMarkerBase.py
pkgpyexecdir = @pkgpyexecdir@/Filters/Rules
pkgpythondir = @pkgpythondir@/Filters/Rules
# Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo
@@ -38,4 +37,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON));
pychecker $(pkgpython_PYTHON));
+4 -4
View File
@@ -1,8 +1,8 @@
# This is the src/Filters/Rules/MediaObject level Makefile for Gramps
pkgdatadir = $(datadir)/@PACKAGE@/Filters/Rules/MediaObject
pkgpythondir = $(datadir)/@PACKAGE@/Filters/Rules/MediaObject
pkgdata_PYTHON = \
pkgpython_PYTHON = \
_AllMedia.py\
_ChangedSince.py\
_HasIdOf.py\
@@ -17,7 +17,7 @@ pkgdata_PYTHON = \
__init__.py
pkgpyexecdir = @pkgpyexecdir@/Filters/Rules/MediaObject
pkgpythondir = @pkgpythondir@/Filters/Rules/MediaObject
# Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo
@@ -26,4 +26,4 @@ GRAMPS_PY_MODPATH = "../../../"
pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON));
pychecker $(pkgpython_PYTHON));
+3 -4
View File
@@ -1,8 +1,8 @@
# This is the src/Filters/Rules/Note level Makefile for Gramps
pkgdatadir = $(datadir)/@PACKAGE@/Filters/Rules/Note
pkgpythondir = $(datadir)/@PACKAGE@/Filters/Rules/Note
pkgdata_PYTHON = \
pkgpython_PYTHON = \
_AllNotes.py\
_ChangedSince.py\
_HasIdOf.py\
@@ -17,7 +17,6 @@ pkgdata_PYTHON = \
__init__.py
pkgpyexecdir = @pkgpyexecdir@/Filters/Rules/Note
pkgpythondir = @pkgpythondir@/Filters/Rules/Note
# Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo
@@ -26,4 +25,4 @@ GRAMPS_PY_MODPATH = "../../../"
pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON));
pychecker $(pkgpython_PYTHON));
+1 -1
View File
@@ -57,7 +57,7 @@ class MatchesRegexpOf(Rule):
def apply(self, db, note):
""" Apply the filter """
text = unicode(note.get())
text = note.get()
if self.match.match(text) is not None:
return True
return False
@@ -49,7 +49,7 @@ class MatchesSubstringOf(Rule):
def apply(self, db, note):
""" Apply the filter """
text = unicode(note.get())
text = note.get()
if text.upper().find(self.list[0].upper()) != -1:
return True
return False
+3 -4
View File
@@ -1,8 +1,8 @@
# This is the src/Filters/Rules/Person level Makefile for Gramps
pkgdatadir = $(datadir)/@PACKAGE@/Filters/Rules/Person
pkgpythondir = $(datadir)/@PACKAGE@/Filters/Rules/Person
pkgdata_PYTHON = \
pkgpython_PYTHON = \
_ChangedSince.py\
_Disconnected.py \
_DeepRelationshipPathBetween.py \
@@ -74,7 +74,6 @@ pkgdata_PYTHON = \
__init__.py
pkgpyexecdir = @pkgpyexecdir@/Filters/Rules/Person
pkgpythondir = @pkgpythondir@/Filters/Rules/Person
# Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo
@@ -83,4 +82,4 @@ GRAMPS_PY_MODPATH = "../../../"
pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON));
pychecker $(pkgpython_PYTHON));
@@ -46,10 +46,10 @@ def filter_database(db, progress, filter_name):
"""Returns a list of person handles"""
filt = MatchesFilter([filter_name])
progress.set_header('Preparing sub-filter')
filt.prepare(db)
progress.set_header(_('Preparing sub-filter'))
filt.requestprepare(db)
progress.set_header('Retrieving all sub-filter matches')
progress.set_header(_('Retrieving all sub-filter matches'))
matches = []
for handle in db.iter_person_handles():
person = db.get_person_from_handle(handle)
@@ -57,7 +57,7 @@ def filter_database(db, progress, filter_name):
matches.append(handle)
progress.step()
filt.reset()
filt.requestreset()
return matches
@@ -75,7 +75,8 @@ def get_family_handle_people(db, exclude_handle, family_handle):
possibly_add_handle(family.get_mother_handle())
for child_ref in family.get_child_ref_list():
possibly_add_handle(child_ref.get_reference_handle())
if child_ref:
possibly_add_handle(child_ref.get_reference_handle())
return people
@@ -132,7 +133,7 @@ class DeepRelationshipPathBetween(Rule):
root_person = db.get_person_from_gramps_id(root_person_id)
progress = ProgressMeter(_('Finding relationship paths'))
progress.set_pass(header=_('Evaluating people'), mode=ProgressMeter.MODE_ACTIVITY)
progress.set_pass(header=_('Evaluating people'), mode=ProgressMeter.MODE_ACTIVITY)
filter_name = self.list[1]
target_people = filter_database(db, progress, filter_name)
@@ -48,11 +48,12 @@ class FamilyWithIncompleteEvent(Rule):
def apply(self,db,person):
for family_handle in person.get_family_handle_list():
family = db.get_family_from_handle(family_handle)
for event_ref in family.get_event_ref_list():
if event_ref:
event = db.get_event_from_handle(event_ref.ref)
if not event.get_place_handle():
return True
if not event.get_date_object():
return True
if family:
for event_ref in family.get_event_ref_list():
if event_ref:
event = db.get_event_from_handle(event_ref.ref)
if not event.get_place_handle():
return True
if not event.get_date_object():
return True
return False
+3 -1
View File
@@ -58,7 +58,9 @@ class HasBirth(Rule):
def apply(self,db,person):
for event_ref in person.get_event_ref_list():
if event_ref.role != EventRoleType.PRIMARY:
if not event_ref:
continue
elif event_ref.role != EventRoleType.PRIMARY:
# Only match primaries, no witnesses
continue
event = db.get_event_from_handle(event_ref.ref)
@@ -63,19 +63,28 @@ class HasCommonAncestorWith(Rule):
def add_ancs(self, db, person):
if person.handle not in self.ancestor_cache:
self.ancestor_cache[person.handle] = set()
# We are going to compare ancestors of one person with that of
# another person; if that other person is an ancestor and itself
# has no ancestors is must be included, this is achieved by the
# little trick of making a person his own ancestor.
self.ancestor_cache[person.handle].add(person.handle)
else:
return
for fam_handle in person.get_parent_family_handle_list():
parentless_fam = True
fam = db.get_family_from_handle(fam_handle)
for par_handle in (fam.get_father_handle(), fam.get_mother_handle()):
if par_handle:
par = db.get_person_from_handle(par_handle)
if par and par.handle not in self.ancestor_cache:
self.add_ancs(db, par)
if par:
self.ancestor_cache[person.handle].add(par)
self.ancestor_cache[person.handle] |= self.ancestor_cache[par.handle]
if fam:
for par_handle in (fam.get_father_handle(), fam.get_mother_handle()):
if par_handle:
parentless_fam = False
par = db.get_person_from_handle(par_handle)
if par and par.handle not in self.ancestor_cache:
self.add_ancs(db, par)
if par:
self.ancestor_cache[person.handle] |= self.ancestor_cache[par.handle]
if parentless_fam:
self.ancestor_cache[person.handle].add(fam_handle)
def reset(self):
self.ancestor_cache = {}
@@ -41,7 +41,7 @@ from _MatchesFilter import MatchesFilter
# HasCommonAncestorWithFilterMatch
#
#-------------------------------------------------------------------------
class HasCommonAncestorWithFilterMatch(HasCommonAncestorWith,MatchesFilter):
class HasCommonAncestorWithFilterMatch(HasCommonAncestorWith):
"""Rule that checks for a person that has a common ancestor with
someone matching a filter"""
@@ -64,7 +64,7 @@ class HasCommonAncestorWithFilterMatch(HasCommonAncestorWith,MatchesFilter):
self.ancestor_cache = {}
self.with_people = []
filt = MatchesFilter(self.list)
filt.prepare(db)
filt.requestprepare(db)
for handle in db.iter_person_handles():
person = db.get_person_from_handle(handle)
if filt.apply (db, person):
@@ -73,4 +73,4 @@ class HasCommonAncestorWithFilterMatch(HasCommonAncestorWith,MatchesFilter):
#fill list of ancestor of person if not present yet
if handle not in self.ancestor_cache:
self.add_ancs(db, person)
filt.reset()
filt.requestreset()
+3 -1
View File
@@ -58,7 +58,9 @@ class HasDeath(Rule):
def apply(self,db,person):
for event_ref in person.get_event_ref_list():
if event_ref.role != EventRoleType.PRIMARY:
if not event_ref:
continue
elif event_ref.role != EventRoleType.PRIMARY:
# Only match primaries, no witnesses
continue
event = db.get_event_from_handle(event_ref.ref)
@@ -53,10 +53,13 @@ class HasFamilyAttribute(Rule):
return False
for f_id in person.get_family_handle_list():
f = db.get_family_from_handle(f_id)
if not f:
continue
for attr in f.get_attribute_list():
name_match = self.list[0] == attr.get_type()
value_match = \
attr.get_value().upper().find(self.list[1].upper()) != -1
if name_match and value_match:
return True
if attr:
name_match = self.list[0] == attr.get_type()
value_match = \
attr.get_value().upper().find(self.list[1].upper()) != -1
if name_match and value_match:
return True
return False
@@ -64,6 +64,8 @@ class HasFamilyEvent(Rule):
def apply(self,db,person):
for f_id in person.get_family_handle_list():
f = db.get_family_from_handle(f_id)
if not f:
continue
for event_ref in f.get_event_ref_list():
if not event_ref:
continue
+4 -3
View File
@@ -61,9 +61,10 @@ class HasRelationship(Rule):
# count children and look for a relationship type match
for f_id in person.get_family_handle_list():
f = db.get_family_from_handle(f_id)
cnt = cnt + len(f.get_child_ref_list())
if self.list[1] and specified_type == f.get_relationship():
rel_type = 1
if f:
cnt = cnt + len(f.get_child_ref_list())
if self.list[1] and specified_type == f.get_relationship():
rel_type = 1
# if number of relations specified
if self.list[0]:
+2 -2
View File
@@ -43,5 +43,5 @@ from Filters.Rules._HasSourceBase import HasSourceBase
class HasSource(HasSourceBase):
"""People with sources"""
name = _('People with <count> source')
description = _("Matches people with a certain number of items in the source")
name = _('People with <count> sources')
description = _("Matches people with a certain number of sources connected to it")
@@ -171,7 +171,7 @@ class HasTextMatchingSubstringOf(Rule):
self.repo_map.update(
repo.handle for repo in self.db.iter_repositories()
if self.match_object(repo)
if repo and self.match_object(repo)
)
+6 -5
View File
@@ -48,9 +48,10 @@ class HaveAltFamilies(Rule):
def apply(self,db,person):
for fhandle in person.get_parent_family_handle_list():
family = db.get_family_from_handle(fhandle)
ref = [ ref for ref in family.get_child_ref_list() \
if ref.ref == person.handle]
if ref[0].get_father_relation() == ChildRefType.ADOPTED \
or ref[0].get_mother_relation() == ChildRefType.ADOPTED:
return True
if family:
ref = [ ref for ref in family.get_child_ref_list() \
if ref.ref == person.handle]
if ref[0].get_father_relation() == ChildRefType.ADOPTED \
or ref[0].get_mother_relation() == ChildRefType.ADOPTED:
return True
return False
+1 -1
View File
@@ -47,4 +47,4 @@ class HaveChildren(Rule):
def apply(self,db,person):
for family_handle in person.get_family_handle_list():
family = db.get_family_from_handle(family_handle)
return len(family.get_child_ref_list()) > 0
return (family is not None) and len(family.get_child_ref_list()) > 0
@@ -40,7 +40,7 @@ from _MatchesFilter import MatchesFilter
# IsAncestorOfFilterMatch
#
#-------------------------------------------------------------------------
class IsAncestorOfFilterMatch(IsAncestorOf,MatchesFilter):
class IsAncestorOfFilterMatch(IsAncestorOf):
"""Rule that checks for a person that is an ancestor of
someone matched by a filter"""
@@ -66,11 +66,11 @@ class IsAncestorOfFilterMatch(IsAncestorOf,MatchesFilter):
first = 1
filt = MatchesFilter(self.list[0:1])
filt.prepare(db)
filt.requestprepare(db)
for person in db.iter_people():
if filt.apply(db, person):
self.init_ancestor_list(db, person, first)
filt.reset()
filt.requestreset()
def reset(self):
self.map.clear()
@@ -32,6 +32,7 @@ from gen.ggettext import gettext as _
# GRAMPS modules
#
#-------------------------------------------------------------------------
from Filters.Rules import Rule
from _MatchesFilter import MatchesFilter
#-------------------------------------------------------------------------
@@ -39,7 +40,7 @@ from _MatchesFilter import MatchesFilter
# IsChildOfFilterMatch
#
#-------------------------------------------------------------------------
class IsChildOfFilterMatch(MatchesFilter):
class IsChildOfFilterMatch(Rule):
"""Rule that checks for a person that is a child
of someone matched by a filter"""
@@ -52,11 +53,11 @@ class IsChildOfFilterMatch(MatchesFilter):
self.db = db
self.map = set()
filt = MatchesFilter(self.list)
filt.prepare(db)
filt.requestprepare(db)
for person in db.iter_people():
if filt.apply(db, person):
self.init_list(person)
filt.reset()
filt.requestreset()
def reset(self):
self.map.clear()
@@ -69,5 +70,6 @@ class IsChildOfFilterMatch(MatchesFilter):
return
for fam_id in person.get_family_handle_list():
fam = self.db.get_family_from_handle(fam_id)
self.map.update(child_ref.ref
for child_ref in fam.get_child_ref_list())
if fam:
self.map.update(child_ref.ref
for child_ref in fam.get_child_ref_list())

Some files were not shown because too many files have changed in this diff Show More