Commit Graph

21010 Commits

Author SHA1 Message Date
Paul Franklin
d50b4ced58 add "Id" property and line, and stdoptions.py
svn: r21991
2013-04-13 23:35:10 +00:00
John Ralls
5f98900c27 Remove unnecessary (and broken in Py3) import
svn: r21977
2013-04-13 14:31:30 +00:00
Nick Hall
bc63594df4 6622: Change regular expression rules to use search rather than match
svn: r21976
2013-04-13 14:30:21 +00:00
Paul Franklin
227dc5f7b4 add "Id" property
svn: r21971
2013-04-13 02:55:03 +00:00
John Ralls
00aa00fbf5 GrampsLocale: Remove get_translation()
Only one base translation per locale. To set up a different locale
on any axis (locale, domain, directory, or languages) instantiate a
secondary locale by calling GrampsLocale() with the appropriate
arguments.

svn: r21968
2013-04-12 22:32:11 +00:00
John Ralls
56254d4a14 GrampsLocale: Integrate libtranslate functions into GrampsLocale
And remove libtranslate

svn: r21967
2013-04-12 22:27:54 +00:00
John Ralls
665206df85 GrampsLocale: Extract 2 reporting functions
set_translation() to the Report class
Add a new module stdoptions to gen.plug.report with function
add_localization_option(). The intent of stdoptions is to reduce the code-copying among reports; this is the first bit.

svn: r21966
2013-04-12 22:27:44 +00:00
John Ralls
27f667e343 GrampsLocale: Add get_date and get_type functions
To enable GrampsLocale to replace libtranlate.py's Translation
class.

svn: r21965
2013-04-12 22:27:32 +00:00
John Ralls
db66851363 GrampsLocale: Add date_parser and date_displayer properties
svn: r21964
2013-04-12 22:27:23 +00:00
John Ralls
6f078627ca MacLocale: Capture collation qualifications
svn: r21963
2013-04-12 22:27:15 +00:00
John Ralls
2c532baf1c GrampsLocale: Make dictionaries class variables
lang_map and country_map

svn: r21962
2013-04-12 22:27:05 +00:00
John Ralls
a422b30fd6 GrampsLocale: Refactor/clean up initialization
Includes moving encoding to be a class variable.

svn: r21961
2013-04-12 22:26:55 +00:00
Paul Franklin
25315ceece add person-index entries, for book report
svn: r21953
2013-04-10 21:56:10 +00:00
Paul Franklin
87c11877f4 add TOC and index entries, for book report
svn: r21952
2013-04-10 20:26:35 +00:00
Paul Franklin
d96c766cb1 add TOC entry, for book report
svn: r21949
2013-04-10 19:05:41 +00:00
Paul Franklin
3702704ef2 missing import
svn: r21948
2013-04-10 19:01:14 +00:00
Nick Hall
36f27ebefb 6599: Fix python3 error
svn: r21945
2013-04-10 17:39:31 +00:00
Nick Hall
aa0e413d5f 6599: Add regex parameter to rules which override the constructor
svn: r21943
2013-04-10 13:25:02 +00:00
Peter Landgren
a71e8f5689 Update for spelling of Family Tree.
svn: r21938
2013-04-10 09:34:27 +00:00
Peter Landgren
3aaa4641d7 Update for spelling of Family Tree.
svn: r21937
2013-04-10 09:33:41 +00:00
Nick Hall
59d9bc25c0 6599: Add regular expression option to rules using the match_substring method
svn: r21935
2013-04-09 13:52:09 +00:00
Jérôme Rapinat
b5997bdb45 existing name for gexiv2 package
svn: r21932
2013-04-09 13:50:39 +00:00
Jérôme Rapinat
f91db9f5e1 6608: typo
svn: r21931
2013-04-09 13:49:30 +00:00
Paul Franklin
d2c5629b9d enable "indent spouse" option to /not/ indent a spouse
svn: r21925
2013-04-08 15:07:53 +00:00
Zdenek Hatas
99075d48a7 czech translation update
svn: r21921
2013-04-08 12:28:30 +00:00
Luigi Toscano
6d60fadb4e Pending 'it' translation updates for 3.4, forward-port to 4.0 and trunk
svn: r21915
2013-04-07 21:36:50 +00:00
Nick Hall
cb028cea56 6599: Fix matching empty fields in empty locations using regular expressions
svn: r21913
2013-04-06 17:27:26 +00:00
Paul Franklin
c5fe6ed881 clarify and qualify release information
svn: r21910
2013-04-06 16:57:29 +00:00
Jérôme Rapinat
8fbddda976 merge minor fixes from 4.0.x
svn: r21908
2013-04-06 12:01:08 +00:00
John Ralls
01b4b7dc4e GrampsLocale: Ensure self.encoding exists before testing it
svn: r21899
2013-04-05 23:40:55 +00:00
John Ralls
e21ba6c432 GrampsLocale: Clean up _init_from_environment even more
And do it right this time!

svn: r21898
2013-04-05 23:40:49 +00:00
Tim G L Lyons
445f10396a Put maxsize back
svn: r21896
2013-04-05 17:14:32 +00:00
Paul Franklin
61205f8783 say pyexiv2 is no longer needed, and slight reformatting
svn: r21893
2013-04-05 17:00:30 +00:00
Tim G L Lyons
60b57a996e write.py: After the bsddb version has been upgraded, if the schema versions also needs to be upgraded, output a separate dialog asking the user whether he wants to upgrade the schema. (As requested by Benny).
svn: r21888
2013-04-05 10:54:35 +00:00
John Ralls
b72ddb7f47 GrampsLocale: Improve windows handling of no locale
svn: r21882
2013-04-04 21:06:19 +00:00
John Ralls
04c146669b GrampsLocale: Ensure posix collation and calendar are set correctly
svn: r21881
2013-04-04 21:06:09 +00:00
John Ralls
fc23bbd93a GrampsLocale: Better handling of unset $LANG or $LANG == 'C'
svn: r21880
2013-04-04 21:04:48 +00:00
Benny Malengier
0daf403859 6579: Check and Verify crashes
svn: r21879
2013-04-04 20:08:30 +00:00
Benny Malengier
689e4d4b47 formatting cleanup
svn: r21875
2013-04-04 10:50:37 +00:00
Benny Malengier
fe6fb5e67a 6590: gramps40 asciidoc.py crashes for at least some reports
svn: r21873
2013-04-04 10:13:26 +00:00
Benny Malengier
4bf42dc5ca 6591: converted bytes of media in a string to show in quickview
svn: r21871
2013-04-04 09:53:54 +00:00
Benny Malengier
7b7836267a More exception text
svn: r21869
2013-04-04 09:31:39 +00:00
Benny Malengier
0c2c56ec4c fix python3 error and improve upgrade text
svn: r21867
2013-04-04 09:26:53 +00:00
Jérôme Rapinat
6ddff4b560 update Debian control file according to README file
svn: r21863
2013-04-03 16:53:23 +00:00
Jérôme Rapinat
df1ab10041 typo for handling one translated string
svn: r21862
2013-04-03 16:52:39 +00:00
John Ralls
a8c7156b76 GrampsLocale: Fix MSWin Syntax error
Can't do everything the C way :-(

svn: r21858
2013-04-03 03:55:17 +00:00
John Ralls
ea9ddaba69 GrampsLocale: Win: Check both forward and reverse mslocale
svn: r21854
2013-04-02 20:25:08 +00:00
John Ralls
4dc31ff808 ImportProGen: Fix "with" statement syntax.
svn: r21853
2013-04-02 20:25:03 +00:00
Tim G L Lyons
f2809f4249 0006529: Cancelling database upgrade can corrupt the database. Check whether the bsddb version has changed (or was originally unknown). If it is an upgrade, ask the user whether he has made a backup, and is ready to upgrade. If so, made a zip backup and open the database with the new bsddb version. Make messages on the dialogues more explicit with the version numbers mentioned.
svn: r21852
2013-04-02 16:06:36 +00:00
Paul Franklin
4be0f93da9 send a CLI error string to stderr
svn: r21849
2013-04-02 05:07:41 +00:00