Commit Graph

20927 Commits

Author SHA1 Message Date
John Ralls
1e41e76682 MacLocale: Allow $LANG to override defaults settings
For currency, calendar, and collation

svn: r21490
2013-02-28 18:57:31 +00:00
John Ralls
991447264a GrampsLocale: Handle errors in getting collation key from locale module
svn: r21489
2013-02-28 18:57:25 +00:00
John Ralls
38dcbbae58 GrampsLocale: Restore call to locale.bindtextdomain() for GtkBuilder
Apparently some Linuxes require it for GtkBuilder to find the localization files. It's not supported on Win32, though, so don't try in that case.

svn: r21488
2013-02-28 18:57:19 +00:00
John Ralls
ca80adeb01 GrampsLocale: Set collation, currency, and calendar to lang only on secondary locale objects.
svn: r21487
2013-02-28 18:57:13 +00:00
John Ralls
c0aa613e4a GrampsLocale: Use absolute address for importing grampslocale
so that it works from outside of Gramps itself, in particular gramps-addons/contrib/make.py

svn: r21486
2013-02-28 18:57:04 +00:00
John Ralls
4eb3e7c926 GrampsLocale: Fix get_addon_translator path
Add the locale subdirectory.
Also clean out some cruft left over from the old implementation.

svn: r21485
2013-02-28 18:56:59 +00:00
Nick Hall
512c57cb04 6408: Restore warning message for missing GExiv2 module
svn: r21483
2013-02-28 15:04:53 +00:00
Jérôme Rapinat
b2319f90d4 update Portuguese (Europe) translation by Frederico Muñoz
svn: r21482
2013-02-28 10:31:51 +00:00
Jérôme Rapinat
2024c027c6 "Delete" label instead of "Remove" on Gtk button
svn: r21479
2013-02-28 10:05:30 +00:00
Jérôme Rapinat
b78c9b358e 6385: Three minor grammar issues
svn: r21478
2013-02-28 10:03:04 +00:00
Helge Herz
bf438cddd6 Python less 3.x uses GdkPixbuf.new_subpixbuf instead dkPixbuf.subpixbuf issue 6487
svn: r21477
2013-02-27 22:24:14 +00:00
Paul Franklin
0599914223 rename .__next__ (formerly .next) as it is "NOT an iterator"
svn: r21474
2013-02-27 18:49:56 +00:00
Paul Franklin
4e04ec09fb behave gracefully if no GExiv2 under Python3
svn: r21468
2013-02-26 20:36:52 +00:00
Tim G L Lyons
d3077942e1 Fix retrieval of version metadata for python3 Gramps.py -L
svn: r21464
2013-02-26 17:35:24 +00:00
Tim G L Lyons
41ba5c838e Fix type error in "python3 Gramps.py -L"
svn: r21461
2013-02-26 17:27:33 +00:00
Paul Franklin
5e8623cf1b 6409 and 6447 Python3 changes (possibly not done yet)
svn: r21459
2013-02-26 17:18:00 +00:00
Tim G L Lyons
ed8b6b9edf 0006410: Webcal report crashes and freezes alpha4. For python3 simply opening the file works.
svn: r21458
2013-02-26 17:14:54 +00:00
John Ralls
138bbb047b GrampsLocale: Remove all calls to locale.setlocale and locale.bindtextdomain
svn: r21451
2013-02-26 00:16:41 +00:00
John Ralls
ff7cef7d4e Addons: Check for two-letter lang as well as 5-char locale
E.g, check fr as well as fr_FR

svn: r21450
2013-02-26 00:16:30 +00:00
John Ralls
cdf619cf62 grampletpane: Replace diagnostic prints with log warnings.
And improve warning when unable to save the Dashboard layout.

svn: r21449
2013-02-26 00:16:19 +00:00
John Ralls
624314e8bc grampletpane: Use __future__.unicode_literals instead of cuni()
And get rid of the silly NL = "\n"

svn: r21448
2013-02-26 00:16:07 +00:00
John Ralls
07b52e2a11 ConfigManager: Ensure key files are loaded and saved as utf-8
svn: r21447
2013-02-26 00:15:55 +00:00
Paul Franklin
3178850a29 Python3 changes: __next__ and future division (which is not done yet)
svn: r21446
2013-02-25 18:52:45 +00:00
Paul Franklin
388ec0cbf1 slightly reformat error message
svn: r21443
2013-02-25 16:12:19 +00:00
Jérôme Rapinat
1773d661e7 6283: test flag for python on new script, not on Gramps.py... (thank you Paul)
svn: r21438
2013-02-25 07:24:40 +00:00
John Ralls
6f8fc1be58 Work around lack of locale.LC_MESSAGES on some Windows pythons
svn: r21436
2013-02-24 17:38:43 +00:00
John Ralls
af0f98d3b7 Fix missed cuni() in save.
svn: r21435
2013-02-24 16:46:16 +00:00
Jérôme Rapinat
14a38b91bc 6283: Re-enable optimization flag (-O) for python
svn: r21433
2013-02-24 16:16:42 +00:00
Nick Hall
dc671cf212 6408: python3 fix
svn: r21430
2013-02-24 13:52:56 +00:00
Paul Franklin
0b30e204bf revert to the old report name
svn: r21429
2013-02-24 08:40:08 +00:00
John Ralls
4decf95b07 [r21424]Fix Py2 file encoding errors
svn: r21425
2013-02-24 02:20:09 +00:00
Nick Hall
ddf9dc9f14 6408: Display GExiv2 version rather than pyexiv2 version
svn: r21388
2013-02-23 23:36:12 +00:00
Nick Hall
7c0e4e4eb4 6408: Convert Metadata Viewer from pyexiv2 to GExiv2. Move Edit Exif Metadata gramplet into gramps-addons.
svn: r21386
2013-02-23 21:04:48 +00:00
Helge Herz
808c3d1183 see issue 0006464
svn: r21385
2013-02-23 12:45:55 +00:00
Paul Franklin
71edc3e710 6478: allow setting a background color in the SVG backend
svn: r21383
2013-02-23 04:59:31 +00:00
Craig J. Anderson
c5ae536432 someone changed a lot of the
box.next
to 
box.__next__

changed these back.


svn: r21382
2013-02-22 15:56:42 +00:00
Brian Matherly
daf8669dc3 Remove dead basedocclass code
svn: r21381
2013-02-21 04:27:51 +00:00
John Ralls
3578392de5 ImportGedcom: Fix Python3 "dictionary changed size during iteration" errors
svn: r21377
2013-02-19 22:06:32 +00:00
John Ralls
e62eb831f0 Import ProGen: Use python3 print syntax
svn: r21376
2013-02-19 22:06:20 +00:00
John Ralls
c2a6e0e5d7 Fix Py2 TypeError in GEDCOM export
Due to writing regular strings instead of unicode strings.

svn: r21375
2013-02-19 22:06:11 +00:00
Paul Franklin
31745aaf8f basedocclass==>docclass to match the 20695 changes
svn: r21374
2013-02-19 19:19:22 +00:00
Serge Noiraud
5e6fe3a996 Geography : print suppression
svn: r21372
2013-02-18 19:57:28 +00:00
Serge Noiraud
670592122a Geography : bug #06451 note 27413 : the ellipse become a line when it is too small
svn: r21370
2013-02-18 19:41:35 +00:00
Serge Noiraud
bf65ad1e7c Geography : bug #06466 : History change when clicking on one marker
bug #06451 : incomplete precedent patch


svn: r21368
2013-02-17 12:48:55 +00:00
Nick Hall
6deead53fc Make availability of GraphViz settings depend on output format
svn: r21365
2013-02-16 21:36:58 +00:00
Serge Noiraud
f075325399 Geography : bug #06451 : Don't see chinese characters in the geography view.
svn: r21364
2013-02-16 13:35:32 +00:00
Nick Hall
834a14fc38 Improve the descriptions and tooltip for GraphViz aspect ratio option
svn: r21362
2013-02-15 19:44:17 +00:00
Peter Landgren
a1daf098b2 Fixed a typo.
svn: r21359
2013-02-15 08:45:31 +00:00
Paul Franklin
658134e464 6448: Text Reports>Descendant Report gives an AttributeError: 'Sort' object has no attribute by_birthdate
svn: r21357
2013-02-14 23:41:35 +00:00
John Ralls
5d6e2c991a [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: r21355
2013-02-14 18:41:43 +00:00