John Ralls
2e453b678a
GrampsLocale: Add explanatory comment
...
After I stopped myself from fixing something that was done right!
svn: r22038
2013-04-20 23:10:06 +00:00
John Ralls
a579fd1ad9
GrampsLocale: Mac: Align flow of user preferences to match other OSes.
...
Also add diagnostics to make Tim Lyons happy.
svn: r22037
2013-04-20 23:10:01 +00:00
John Ralls
2054c0ad46
GrampsLocale: Win32: Clean up extraneous conditions, don't set self.language prematurely
...
svn: r22036
2013-04-20 23:09:57 +00:00
John Ralls
a2e17b7b4a
GrampsLocale: Posix: Move LC_MESSAGES check to setting self.language
...
svn: r22035
2013-04-20 23:09:51 +00:00
John Ralls
1832f7bdb5
GrampsLocale: Add some debugging messages.
...
Move the warning about failure to after the last attempt.
svn: r22034
2013-04-20 23:09:46 +00:00
John Ralls
9daf584c74
GrampsLocale: Init_from_environment: Change precedence
...
LC_MESSAGES takes precedence over LC_CTYPE for setting self.lang
$LANGUAGES overrides $LANG, $LC_FOO for setting translations
svn: r22033
2013-04-20 23:09:41 +00:00
John Ralls
e9770ef48f
GrampsLocale: Fix indentation error
...
svn: r22032
2013-04-20 23:09:36 +00:00
John Ralls
7a17f9b420
MacLocale: Make sure the overrides work correctly
...
And that we follow the user's preferences correctly or issue a warning that we've defaulted to US English if we can't.
svn: r22031
2013-04-20 23:09:31 +00:00
John Ralls
fefe1f842a
Supply a concatstrings PostScript function
...
To allow postscript documents to work without Ghostscript.
svn: r22030
2013-04-20 23:09:26 +00:00
John Ralls
b7f6055af8
Use GrampsLocale.encoding to get the code set instead of locale
...
svn: r22029
2013-04-20 23:09:21 +00:00
John Ralls
467a9b1c43
GrampsLocale: Replace gen.plug.utils gfloat()
...
With GrampsLocale.float().
Also remove gen.plug.utils gformat(), which was written to work
around string formatting with %f localizing the decimal point,
which it doesn't do. locale.format() does, but it wasn't being
used anyway.
svn: r22028
2013-04-20 23:09:16 +00:00
John Ralls
769203162c
GrampsLocale: Wrap locale.format and locale.format_string
...
To concentrate the locale dependency in grampslocale.py
svn: r22027
2013-04-20 23:09:09 +00:00
John Ralls
963712e978
Remove some imports of locale where nothing it exports was used.
...
svn: r22026
2013-04-20 23:09:02 +00:00
John Ralls
0a6ff725ac
Take the localization debug info from GrampsLocale instead of locale
...
svn: r22025
2013-04-20 23:08:53 +00:00
John Ralls
6400b8b29c
GrampsLocale: Add GrampsLocale attributes numeric and currency
...
svn: r22024
2013-04-20 23:08:48 +00:00
John Ralls
6804278fc1
MacLocale: Fix missing subscript.
...
svn: r22023
2013-04-20 23:08:42 +00:00
John Ralls
a364740fae
Mac: Update trunk bundle file to match gramps40
...
svn: r22022
2013-04-20 23:08:35 +00:00
Paul Franklin
dc128110bc
typos
...
svn: r22021
2013-04-19 16:58:24 +00:00
Paul Franklin
3a06d7b204
typo
...
svn: r22017
2013-04-18 20:56:27 +00:00
Paul Franklin
9804301762
give the "ahnentafel" report a user-settable title string
...
(since many English speakers do not know what "ahnentafel" means)
svn: r22015
2013-04-18 19:08:46 +00:00
Paul Franklin
f0ea234060
add name-format option to the three GraphViz reports
...
svn: r22013
2013-04-18 17:16:47 +00:00
Jérôme Rapinat
57f6f389a8
6645: unable to do Spanish kinship report, 4185: Julio's patch
...
svn: r22011
2013-04-18 09:06:38 +00:00
Paul Franklin
cceb28c5b9
refactor: move name_format into stdoptions.py
...
svn: r22009
2013-04-17 20:49:50 +00:00
Paul Franklin
12777d3fb9
6623: funny GUI report-language display
...
svn: r22006
2013-04-16 22:19:27 +00:00
Paul Franklin
2ded1e5e8a
6462: GEDCOM import fails (patch by Enno Borgsteede)
...
svn: r22000
2013-04-15 22:00:12 +00:00
Benny Malengier
86686c764b
6618: Export CSV crashes gramps 4.0 beta
...
svn: r21998
2013-04-15 11:01:08 +00:00
Benny Malengier
83fb5d353d
6635: retry of bug 6443, exec missing globals
...
svn: r21996
2013-04-15 09:40:39 +00:00
Benny Malengier
07b84e5e11
6623: funny GUI report-language display
...
svn: r21995
2013-04-15 09:15:45 +00:00
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