Commit Graph

21018 Commits

Author SHA1 Message Date
John Ralls
d01f7bf7df [r21540]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: r21543
2013-03-03 23:59:44 +00:00
John Ralls
1d2b143be9 [r21539]GrampsLocale: Restore setlocale, add GrampsLocale.encoding
encoding to replace translation().info()['encoding'] which isn't
the encoding we're looking for.

svn: r21542
2013-03-03 23:59:39 +00:00
John Ralls
debf8b601a [r21538]Win32:Apply \\ escape to all const paths
svn: r21541
2013-03-03 23:59:32 +00:00
Mirko Leonhäuser
bcef9fc868 updated german translation
svn: r21537
2013-03-03 12:12:37 +00:00
Serge Noiraud
fae194d1a0 Geography : #05742 note 27613 : cairo arguments differ from gtk2 draw arc.
svn: r21535
2013-03-03 10:58:30 +00:00
Jérôme Rapinat
7aa1c2bbde update Portuguese (Europe) translation by Frederico Muñoz
svn: r21532
2013-03-03 09:05:26 +00:00
Paul Franklin
2528da2f2d add ICU/PyICU to "gramps -v"
svn: r21530
2013-03-03 03:19:37 +00:00
Josip Pisoj
8ea29ede81 win32 fix
svn: r21529
2013-03-03 00:08:15 +00:00
John Ralls
4ca0c9f8c9 [r21526]GrampsLocale: Create GrampsTranslation attribute for language
Rather than relying on translators to correctly fill out po files

svn: r21528
2013-03-02 20:28:57 +00:00
John Ralls
5a8a7479dd [r21525]GrampsLocale: Fix glocale without import
svn: r21527
2013-03-02 20:28:49 +00:00
Tim G L Lyons
c3f39e7d40 0005058: Note reference on Attribute for individual is not filtered on Export. Fixed many other note references that are not filtered out.
svn: r21523
2013-03-02 19:30:02 +00:00
Paul Franklin
5235a6a6ac add "Id" property
svn: r21521
2013-03-02 15:52:57 +00:00
Jérôme Rapinat
62475bbc87 6500: relative import
svn: r21520
2013-03-02 14:56:13 +00:00
Jérôme Rapinat
a33eb1d799 6500: missing glocale
svn: r21519
2013-03-02 14:54:29 +00:00
Peter Landgren
6e73fc8924 Better translation for compare events.
svn: r21517
2013-03-02 13:45:02 +00:00
Helge Herz
06b8b291f8 adaption for python version less 3.x (see issue 6465) for details
svn: r21515
2013-03-02 13:42:17 +00:00
Tim G L Lyons
98fa69b717 0003428: When running with pythonw.exe, Windows may crash if you write to stdout. Some more print statements changed to log.warning.
svn: r21511
2013-03-01 13:12:29 +00:00
Tim G L Lyons
7c9ec32d22 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: r21508
2013-03-01 12:41:19 +00:00
John Ralls
e1fb1c5b14 [r21501]RelationshipCalculator: Promote no translation message to warning
And make it more specific.
Thanks to Tim Lyons.

svn: r21505
2013-02-28 20:09:18 +00:00
Serge Noiraud
7541dd5b2e Bug #06459 : change the lock strategy and split transactions in Merge citation.
svn: r21504
2013-02-28 19:57:35 +00:00
John Ralls
e8bad4d4c8 [r21492]grampletpane: Fix typo, naked except.
Warn with the reason when Dashboard file can't be opened or parsed.

svn: r21500
2013-02-28 19:23:15 +00:00
John Ralls
d704d9ac4b [r21491]MacLocale: Handle AppleCollationOrder returning "root"
svn: r21499
2013-02-28 19:23:04 +00:00
John Ralls
d334e0043f [r21490]MacLocale: Allow $LANG to override defaults settings
For currency, calendar, and collation

svn: r21498
2013-02-28 19:22:55 +00:00
John Ralls
dede164e69 [r21489]GrampsLocale: Handle errors in getting collation key from locale module
svn: r21497
2013-02-28 19:22:43 +00:00
John Ralls
f309f210d1 [r21488]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: r21496
2013-02-28 19:22:35 +00:00
John Ralls
ebe1d0139c [r21487]GrampsLocale: Set collation, currency, and calendar to lang
only on secondary locale objects.

svn: r21495
2013-02-28 19:22:27 +00:00
John Ralls
ebcd0bb119 [r21486]GrampsLocale: Use absolute address for importing grampslocale
so that it works from outside of Gramps itself, in particular gramps-addons/contrib/make.py

svn: r21494
2013-02-28 19:22:21 +00:00
John Ralls
fc8eb4f445 [r21485]GrampsLocale: Fix get_addon_translator path
Add the locale subdirectory.
Also clean out some cruft left over from the old implementation.

svn: r21493
2013-02-28 19:22:14 +00:00
Nick Hall
3ae8e5cc1e 6408: Restore warning message for missing GExiv2 module
svn: r21484
2013-02-28 15:05:03 +00:00
Jérôme Rapinat
a03877e8c9 update Portuguese (Europe) translation by Frederico Muñoz
svn: r21481
2013-02-28 10:20:48 +00:00
Helge Herz
357eb8af19 Python less 3.x uses GdkPixbuf.new_subpixbuf instead dkPixbuf.subpixbuf issue 6487
svn: r21476
2013-02-27 22:21:10 +00:00
Paul Franklin
c91eec3d5f rename .__next__ (formerly .next) as it is "NOT an iterator"
svn: r21475
2013-02-27 18:50:47 +00:00
Jérôme Rapinat
870f80fc83 6385: Three minor grammar issues
svn: r21473
2013-02-27 14:35:10 +00:00
Jérôme Rapinat
3ee5b1dec4 "Delete" label instead of "Remove" on Gtk button
svn: r21472
2013-02-27 14:29:32 +00:00
Jérôme Rapinat
c37bfc9dbe 6385: Three minor grammar issues
svn: r21471
2013-02-27 14:19:30 +00:00
Jérôme Rapinat
bb494a56ca update template and french translation
svn: r21470
2013-02-27 13:39:46 +00:00
Erik De Richter
4a512c7347 updated nl translation
svn: r21469
2013-02-27 10:48:15 +00:00
Paul Franklin
e6034cde4b behave gracefully if no GExiv2 under Python3
svn: r21467
2013-02-26 20:36:18 +00:00
Mirko Leonhäuser
5e9837d484 updated german translation
svn: r21466
2013-02-26 19:05:14 +00:00
Tim G L Lyons
57fcc67498 Fix retrieval of version metadata for python3 Gramps.py -L, reverting inadvertent changes in revision 21463
svn: r21465
2013-02-26 18:44:07 +00:00
Tim G L Lyons
3872899ebc Fix retrieval of version metadata for python3 Gramps.py -L
svn: r21463
2013-02-26 17:34:37 +00:00
Tim G L Lyons
ad20c91b4f Fix type error in "python3 Gramps.py -L"
svn: r21462
2013-02-26 17:28:41 +00:00
Paul Franklin
5df0c7d3ee 6409 and 6447 Python3 changes (possibly not done yet)
svn: r21460
2013-02-26 17:18:23 +00:00
Tim G L Lyons
daae9242bf 0006410: Webcal report crashes and freezes alpha4. For python3 simply opening the file works.
svn: r21457
2013-02-26 17:14:28 +00:00
John Ralls
114a71c13c [r21451]GrampsLocale: Remove all calls to locale.setlocale and locale.bindtextdomain
svn: r21456
2013-02-26 00:24:13 +00:00
John Ralls
7d7cc6f789 [r21450]Addons: Check for two-letter lang as well as 5-char locale
E.g, check fr as well as fr_FR

svn: r21455
2013-02-26 00:23:44 +00:00
John Ralls
b99e2e29df [r21449]grampletpane: Replace diagnostic prints with log warnings.
And improve warning when unable to save the Dashboard layout.

svn: r21454
2013-02-26 00:23:31 +00:00
John Ralls
44f065eabf [r21448]grampletpane: Use __future__.unicode_literals instead of cuni()
And get rid of the silly NL = "\n"

svn: r21453
2013-02-26 00:23:21 +00:00
John Ralls
b126aa1fc3 [r21447]ConfigManager: Ensure key files are loaded and saved as utf-8
svn: r21452
2013-02-26 00:23:10 +00:00
Paul Franklin
e2860c99f6 Python3 changes: __next__ and future division (which is not done yet)
svn: r21445
2013-02-25 18:52:10 +00:00