John Ralls
649bdf7bb7
GrampsLocale: Restore setlocale, add GrampsLocale.encoding
...
encoding to replace translation().info()['encoding'] which isn't
the encoding we're looking for.
svn: r21539
2013-03-03 21:55:02 +00:00
John Ralls
46d7c95f86
svn: r21538
2013-03-03 21:50:22 +00:00
Serge Noiraud
ee3469233a
Geography : #05742 note 27613 : cairo arguments differ from gtk2 draw arc.
...
svn: r21534
2013-03-03 10:57:03 +00:00
Jérôme Rapinat
87838a3178
update Portuguese (Europe) translation by Frederico Muñoz
...
svn: r21533
2013-03-03 09:07:14 +00:00
Paul Franklin
1e208f02bb
add ICU/PyICU to "gramps -v"
...
svn: r21531
2013-03-03 03:19:56 +00:00
John Ralls
f6ab91e87f
GrampsLocale: Create GrampsTranslation attribute for language
...
Rather than relying on translators to correctly fill out po files
svn: r21526
2013-03-02 20:25:07 +00:00
John Ralls
67e975b31f
GrampsLocale: Fix glocale without import
...
svn: r21525
2013-03-02 20:25:01 +00:00
Tim G L Lyons
41ff6f2fbd
0005058: Note reference on Attribute for individual is not filtered on Export. Fixed many other note references that are not filtered out.
...
svn: r21524
2013-03-02 19:30:41 +00:00
Peter Landgren
3cdfa558d6
Better translation for compare events.
...
svn: r21518
2013-03-02 13:45:46 +00:00
Helge Herz
968b4a882d
adaption for python version less 3.x (see issue 6465) for details
...
svn: r21516
2013-03-02 13:44:04 +00:00
Tim G L Lyons
80f25e3806
0003428: When running with pythonw.exe, Windows may crash if you write to stdout. Some more print statements changed to log.warning.
...
svn: r21512
2013-03-01 13:13:58 +00:00
Tim G L Lyons
40b8b02838
Narrative Web: Fix alphabetic navigation bar and sorting in index pages using PyICU where available. Implements most collate contractions for western languages Gramps has been translated into. This fixes the following bugs:
...
0002933: Problems in Narrative Web Report with surnames beginning with V or W. Use collation primary difference to define index groupings. Special case for 'V' and 'W' in Swedish removed because the default CLDR has a primary difference between them.
0003434: NarrativeWeb new alphabet index sorted incorrectly. Fix Cyrillic sort order, and contractions for Slovak and Czech (among other languages).
0003933: References inside pages in NarWeb report and non-ascii characters. Sorting issues for Polish characters.
0004423: Web report does not handle Czech "CH" character properly. Dz contraction is not present in the CLDR. Slovak is similar.
0005088: Narrated Web Site Report sort order different Windows vs Linux. Resolved by using PyICU (if available).
0005645: can't sort greek names
0005767: Sorting in Narrative Webb does not work correctly. Fix sorting in Individuals, Surnames, Families, Events and Places to use PyICU (if available). This bug covers sorting in the index header (as well as in the body of the index pages).
svn: r21509
2013-03-01 12:42:16 +00:00
Serge Noiraud
58a2be3264
Bug #06459 : change the lock strategy and split transactions in Merge citation.
...
svn: r21503
2013-02-28 19:52:24 +00:00
John Ralls
b73e758a84
RelationshipCalculator: Promote no translation message to warning
...
And make it more specific.
Thanks to Tim Lyons.
svn: r21501
2013-02-28 19:36:09 +00:00
John Ralls
b87c663612
grampletpane: Fix typo, naked except.
...
Warn with the reason when Dashboard file can't be opened or parsed.
svn: r21492
2013-02-28 19:10:33 +00:00
John Ralls
ee7fdca6ef
MacLocale: Handle AppleCollationOrder returning "root"
...
svn: r21491
2013-02-28 18:57:37 +00:00
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