Commit Graph

20853 Commits

Author SHA1 Message Date
John Ralls
b262eeaab7 get_unicode_path_from_env_var(): make no-op if it's already unicode
svn: r21561
2013-03-06 01:07:05 +00:00
John Ralls
2dcc870dbc Adapt HTMLRenderer NavigationView init args to new signature
svn: r21560
2013-03-06 01:06:58 +00:00
Helge Herz
dd3bb6122c GEexiv2 vor Python 2.7.3 and Win (see 6464)
svn: r21559
2013-03-05 21:56:09 +00:00
John Ralls
b57e7b7508 GrampsLocale:Move setlocale from _set_from_environment to __init_first_instance
So that encoding is set for Mac as well.

svn: r21554
2013-03-05 17:23:21 +00:00
Paul Franklin
cf4a3aefbd shorten the report name for easier CLI use
svn: r21552
2013-03-05 04:45:57 +00:00
Paul Franklin
78624360cd tweak the default format for the report
svn: r21551
2013-03-05 01:03:25 +00:00
Mirko Leonhäuser
09f276990f updated german translation
svn: r21548
2013-03-04 18:36:19 +00:00
Paul Franklin
7892d02a5d 6494: svn_revision module ignores translated SVN stdout value for "exported"
svn: r21546
2013-03-04 05:12:32 +00:00
Paul Franklin
1d4ae20433 skip error msg if no file exists
svn: r21544
2013-03-04 00:41:54 +00:00
John Ralls
694f757463 GrampsLocale: Add _win_bindtextdomain
Adapted from init_windows_gettext in Gramps3.
Libintl-8.dll must be on the path, just like all of the other C-library
dependencies.



svn: r21540
2013-03-03 23:40:27 +00:00
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