John Ralls
fd559d0d80
[r21170]GrampsLocale: Convert some late-added translations to
...
GRAMPS_LOCALE
svn: r21405
2013-02-24 00:53:58 +00:00
John Ralls
7a894d9a41
[r21168]GrampsLocale: get_relationship_calculator: Fix missed variable
...
name change.
svn: r21404
2013-02-24 00:53:47 +00:00
John Ralls
b6b3fb8680
[r21156]Descendant Report: Fix changed Sort function name
...
svn: r21403
2013-02-24 00:53:37 +00:00
John Ralls
755b653925
[r21154]Import get_svn_revision into const.py
...
via const.py.in, of course
svn: r21402
2013-02-24 00:53:29 +00:00
John Ralls
592f68ab6e
[r21153]PdfDocGen: Report cause of failure on all exceptions
...
not just file open ones. Expat can raise exceptions too!
svn: r21401
2013-02-24 00:53:20 +00:00
John Ralls
0986d69429
[r21152]GrampsLocale: Fix file encoding error in recentfiles
...
Expat wants a binary file, not a string file.
svn: r21400
2013-02-24 00:53:11 +00:00
John Ralls
98898ddb71
[r21151]GrampsLocale: Get the language code from the global translation
...
Instead of probing locale.getlocale() and environment variables
svn: r21399
2013-02-24 00:52:59 +00:00
John Ralls
8cbba85cf1
[r21150]GrampsLocale: Use the codeset from the singleton translation
...
Instead of locale.getlocale() or locale.nl_langinfo
svn: r21398
2013-02-24 00:52:48 +00:00
John Ralls
c01846fb84
[r21149]Fix some file resource leaks
...
I.e., files left open when the opening function exits. This is
a PyDebug warning.
svn: r21397
2013-02-24 00:52:35 +00:00
John Ralls
fccfdecd03
[r21148]GrampsLocale: Simplify the file-finding functions
...
Making use of the fact that GrampsLocale now knows what
encoding to use, and noting that filesystems don't use
more than one encoding to write filenames in directories.
Also specify the encoding on some more files
svn: r21396
2013-02-24 00:52:26 +00:00
John Ralls
3f408af0fa
[r21147][Bug 6364] Fix file-opening failures due to unicode content.
...
svn: r21395
2013-02-24 00:52:07 +00:00
John Ralls
8cea2e239a
[r21146]GrampsLocale: Replace calls to sys.getfilesystemencoding
...
On MSWin and OSX, this call always returns the correct
value (utf-8 on OSX, 'mbcs' on MSWin), but on Linux the
return value is bizarrely dependent upon the environment.
Replace it with a GrampsLocale function which returns 'utf-8'
(the correct value for most Linux file systems) regardless of
the environment.
Also replace its use in print and write functions: It's the
encoding of paths in the filesystem, not of the files's content,
nor of the terminal's capabilities. The former is almost
always utf-8 as long as we write the file, the latter is
given by sys.stdout.encoding. Use the 'backslashreplace' error
handler to avoid exceptions when we need to output unicode
text to an ASCII terminal.
svn: r21394
2013-02-24 00:51:57 +00:00
John Ralls
221c30976f
[r21145][Bug 6222]: Get the addons language list from the primary
...
GrampsLocale instance.
svn: r21393
2013-02-24 00:51:38 +00:00
John Ralls
e28e114c95
[r21144]GrampsLocale: Remove ggettext
...
svn: r21392
2013-02-24 00:51:17 +00:00
John Ralls
3788d52107
[r21143]Localization: Re-implement localization as a class, GrampsLocale
...
GrampsLocale is effectively a singleton: An instance is created in
const.py and retrieved everywhere.
Translations are provided via Translations classes, which are derived
from GNUTranslations and NullTranslations to provide extra functions
like sgettext.
svn: r21391
2013-02-24 00:46:03 +00:00
John Ralls
740c7036d7
[r21142]Rename trans.py and mactrans.py to grampslocale.py and
...
maclocale.py
Reflecting discussion on gramps-devel about their affecting more than
just translations.
Provide for a master GrampsLocale instance to be retrieved from
const.py, set by grampsapp.
svn: r21390
2013-02-24 00:45:50 +00:00
Nick Hall
eeaf8697f0
6408: Display GExiv2 version rather than pyexiv2 version
...
svn: r21389
2013-02-23 23:36:23 +00:00
Nick Hall
3fabbe1ecb
6408: Convert Metadata Viewer from pyexiv2 to GExiv2. Move Edit Exif Metadata gramplet into gramps-addons.
...
svn: r21387
2013-02-23 21:11:29 +00:00
Helge Herz
d10d572002
see issue 0006464
...
svn: r21384
2013-02-23 12:42:24 +00:00
John Ralls
3d0fa69bd0
ImportGedcom: Fix Python3 "dictionary changed size during iteration" errors
...
svn: r21380
2013-02-19 22:11:35 +00:00
John Ralls
a84d51d6b7
Import ProGen: Use python3 print syntax
...
svn: r21379
2013-02-19 22:11:29 +00:00
John Ralls
88831f8398
Fix Py2 TypeError in GEDCOM export
...
Due to writing regular strings instead of unicode strings.
svn: r21378
2013-02-19 22:11:21 +00:00
Paul Franklin
945bec0d6c
basedocclass==>docclass to match the 20695 changes
...
svn: r21373
2013-02-19 19:18:59 +00:00
Serge Noiraud
dfb6be488d
Geography : print suppression
...
svn: r21371
2013-02-18 19:57:11 +00:00
Serge Noiraud
22bcc94ec0
Geography : bug #06451 note 27413 : the ellipse become a line when it is too small
...
svn: r21369
2013-02-18 19:40:16 +00:00
Serge Noiraud
d02f6a3fb1
Geography : bug #06466 : History change when clicking on one marker
...
bug #06451 : incomplete precedent patch
svn: r21367
2013-02-17 12:46:13 +00:00
Nick Hall
76eae75da2
Make availability of GraphViz settings depend on output format
...
svn: r21366
2013-02-16 21:37:07 +00:00
Serge Noiraud
657d8e233f
Geography : bug #06451 : Don't see chinese characters in the geography view.
...
svn: r21363
2013-02-16 13:33:10 +00:00
Nick Hall
5bb9581b15
Improve the descriptions and tooltip for GraphViz aspect ratio option
...
svn: r21361
2013-02-15 19:44:00 +00:00
Peter Landgren
d6c4298ff4
Fixed a typo.
...
svn: r21360
2013-02-15 08:46:02 +00:00
Paul Franklin
260170ce36
6448: Text Reports>Descendant Report gives an AttributeError: 'Sort' object has no attribute by_birthdate
...
svn: r21358
2013-02-14 23:42:02 +00:00
John Ralls
801f1b77aa
[Bug 6413] Fix importing ProGen files
...
This isn't a perfect fix because it requires that the ProGen file is
encoded with CP437, which is guaranteed only in Version 3.21 and later.
svn: r21354
2013-02-14 18:36:07 +00:00
Mirko Leonhäuser
d5dfa05ff9
updated german translation
...
svn: r21353
2013-02-13 22:35:21 +00:00
Paul Franklin
808002d419
6247: Crash when attempting to use Book Report
...
svn: r21352
2013-02-13 18:47:44 +00:00
Serge Noiraud
4dc0f01137
Geography : bug #6442 use the good glib with introspection.
...
svn: r21348
2013-02-13 13:39:58 +00:00
Tim G L Lyons
aa7e0b49e4
Reinstate inadvertent removal of rev 19988 change for bug 5900
...
svn: r21347
2013-02-13 11:08:52 +00:00
Peter Landgren
3c103143a6
Fixed a typo.
...
svn: r21345
2013-02-12 15:44:05 +00:00
Serge Noiraud
ef65c893ea
Geography : replace GObject.timeout_add by glib.timeout_add as it is deprecated
...
svn: r21342
2013-02-12 08:38:19 +00:00
Erik De Richter
566c3fb32b
updated nl translation
...
svn: r21339
2013-02-11 20:01:57 +00:00
Josip Pisoj
db1bd1e114
win32_py3: open use system encoding
...
svn: r21338
2013-02-10 22:52:19 +00:00
Paul Franklin
866796f5dc
6379: Can not get ancestry or relationship tabs to work
...
svn: r21336
2013-02-10 21:11:37 +00:00
Erik De Richter
fdf740b35c
updated nl translation
...
svn: r21334
2013-02-10 19:29:32 +00:00
Josip Pisoj
1500556d99
win32 changes
...
svn: r21330
2013-02-10 17:37:56 +00:00
Helge Herz
5e4b2d3bdc
Revert svn21254 as discussed in issue 6424
...
svn: r21328
2013-02-10 14:32:43 +00:00
Tim G L Lyons
880e6c44e7
Revert change 21304 for moving report_options file
...
svn: r21323
2013-02-08 17:09:50 +00:00
Serge Noiraud
4068bebb3e
Geography : synchronize gramps and osm-gps-map for the free maps.
...
svn: r21319
2013-02-08 07:39:59 +00:00
Serge Noiraud
0465b9cf37
Geography : sometimes crash with unknown people or family.
...
svn: r21318
2013-02-07 23:25:46 +00:00
Josip Pisoj
fed5cc6a71
win32-py3 fix:ValueError: strftime() requires year in [1; 9999]
...
svn: r21317
2013-02-07 21:43:19 +00:00
Josip Pisoj
69800680a3
adapt setup script for win32
...
svn: r21316
2013-02-07 21:41:02 +00:00
Tim G L Lyons
a3a758fd13
0006411: Navweb crashes alpha4 when creating Media pages
...
svn: r21314
2013-02-07 16:42:16 +00:00