Commit Graph

570 Commits

Author SHA1 Message Date
Paul Franklin
471ec72966 7276: translate some punctuation marks -- partial 2014-03-17 08:03:23 -07:00
John Ralls
8cbb3ef014 7519: GRAMPs unable to handle ... Path with accented characters
Much worse, actually. Gramps wasn't able to handle any non-ascii
characters in any preference setting from Python2.

repr() in Py2 effectively runs "encode(val, ascii, backslashreplace)"
on its argument, and there's no way to reconstruct the string.
2014-03-08 17:55:50 -08:00
John Ralls
38aaa671cd Remove some left-over diagnostic messages. 2014-03-08 13:40:47 -08:00
John Ralls
49cdfe3283 Bug 6538: Collation variants do not work properly
If ICU is available, inspect the environment for $COLLATION and on
a Mac also check the AppleCollationOrder default. Pass the results
to a special ICU Locale used for sorting.
2014-03-07 16:27:05 -08:00
John Ralls
80c58f46d3 Convert two common plugin errors from unhandled exceptions to warnings.
Missing translation for the current primary locale.
Import failure because of some missing dependency.

Note that these handlers can be overridded in the module itself; this is just a fallback.
2014-03-07 16:20:24 -08:00
John Ralls
58d150ebc8 Revert "Bug 6538: Collation variants do not work properly"
This reverts commit e0c896fe12.
Picked up too much in one change.
2014-03-07 16:17:51 -08:00
John Ralls
e0c896fe12 Bug 6538: Collation variants do not work properly
Pass fully-qualified locale found in $LC_COLLATE to ICU.
2014-03-07 16:14:00 -08:00
John Ralls
4dd543c323 Move the icu missing warning to after setting up the log handler. 2014-03-06 11:23:49 -08:00
Nick Hall
d268a966bd Implement alternative place names 2014-03-05 14:02:26 +00:00
John Ralls
f9172c3ad1 Bug 7377 - Ver 4.0.2 starts in East Asian Language
Because there is no en.po for Gramps, so the C gettext called from
GtkBuilder skips to the next translation in the list. Fix makes sure
that there is no next translation.
2014-03-04 10:00:37 -08:00
kulath
b5097ed5ac 6194: Database corrupted - TypeError: unhashable type: 'list'
Fixed upgrade to deal with sourceref in media references in Sources.
Also fixed Check and Repair to repair previously broken databases.
2014-03-04 17:39:23 +00:00
Paul Franklin
4ba1f79b55 7276: translate some punctuation marks -- partial 2014-02-26 10:24:04 -08:00
Nick Hall
c364bcd7ad 7482: Fix python3 problems with new place structure
Based on patches by Marc Hulsman.
2014-02-25 22:31:03 +00:00
John Ralls
816bf310e1 Bug 7377 Ver 4.0.2 starts in East Asian Language
Revert "GrampsLocale: Don't set  to 'C' if LANG is en_US"

This reverts commit bdd336f38e.

It turns out that Gtk's having an 'en' translation isn't the only reason
for doing this: GtkBuilder uses $LANGUAGE too, and will look for an english
translation of strings in our Glade files. Since there's no en.po or
en_US.po, it will go to the next language in the list and produce confusing
results.
2014-02-20 14:01:19 -08:00
John Ralls
84cabddcc9 Better fix for bug 7122. 2014-02-20 14:01:19 -08:00
John Ralls
eec3122bfb Fix up grampslocale logging a bit.
Send log messages "up the chain", make maclocale a sub-log of grampslocale.
2014-02-20 14:01:18 -08:00
Paul Franklin
c2635cd94b don't warn, WebKit is not in Mac or Windows bundles 2014-02-19 19:18:00 -08:00
Paul Franklin
13467d6af7 enable "paper" options in books.xml 2014-02-17 13:05:55 -08:00
Vassilii Khachaturov
92ca4095a9 7117: disallow new year unless Julian or like cal
Unit test.
2014-02-17 15:56:03 +02:00
Vassilii Khachaturov
7b3edabef8 7117: disallow new year unless Julian or like cal
raise an exception from Date.set for a meaningless newyear parameter
Add Date.CALENDARS to reduce cut-and-paste here and with the unit test
2014-02-17 15:56:03 +02:00
Paul Franklin
a2807dff79 translate some paper names, suggested in 0566 2014-02-16 11:19:13 -08:00
Vassilii Khachaturov
ad812c8537 debug.profile: support kwargs and ret values 2014-02-16 13:57:47 +02:00
John Ralls
e281f51ba6 Bug 7122 - Gramps does not start
Handle AppleCollationOrder returning an empty string
2014-02-14 17:21:12 -08:00
Marc Hulsman
7346496214 7470: Upgrade to db version 17 fails in Python 3 due to use of iteritems 2014-02-13 18:16:58 -08:00
Jérôme Rapinat
9dc976f28d Re-enable warning during devel stage on trunk 2014-02-10 16:06:07 +01:00
Jérôme Rapinat
a343b96093 Re-enable warning during devel stage on trunk 2014-02-10 16:00:47 +01:00
Paul Franklin
ae69eb666b encode every "style" file in utf-8 2014-02-09 13:35:55 -08:00
Nick Hall
6fd89cda4c Add place type 2014-02-05 16:08:48 +00:00
Nick Hall
547e71db51 Fix unicode bug 2014-02-05 16:07:44 +00:00
Nick Hall
3a1c3901db Add HasDayOfWeek rule 2014-02-03 22:29:57 +00:00
Nick Hall
356e36fe78 7419: HasEventBase should not include primary role 2014-02-02 16:13:53 +00:00
Vassilii Khachaturov
04d976ceee 7117: disallow new year unless Julian or like cal 2014-01-30 16:35:13 +02:00
Nick Hall
7506265d1c 6519: Add primary role option to event filter 2014-01-26 16:37:34 +00:00
Nick Hall
3d094d7be1 7183: Fix source note citation filter 2014-01-25 19:50:00 +00:00
Nick Hall
9ecc665625 5123: Fix bug in associations filter 2014-01-22 16:15:05 +00:00
Vassilii Khachaturov
c574f3a767 l10n: trying to add context for "Name:"
"Name" as in "Personal name" is different from "Name" as in
"identification of a repository" or in "place name", at least
in Russian. Splitting away "repo|Name:" and "place|Name:"

We need to dynamically set the labels in glade.
See gramps-devel thread "context support for labels in glade?"
2014-01-20 20:19:50 +02:00
Jérôme Rapinat
2301310eb3 Use sgettext for handling context (english locale) 2014-01-17 18:02:24 +01:00
Jérôme Rapinat
b072b88425 Update About dialog (2013 -> 2014) 2014-01-17 18:02:24 +01:00
Benny Malengier
e70849f4f0 7157: better support for objects having citations as subobjects 2014-01-15 09:33:30 +01:00
Doug Blank
01da495ede Delete items in list by assigning Null 2014-01-09 10:43:05 -05:00
Doug Blank
946a213fbc Allow calling lists to select and filter 2014-01-08 10:22:32 -05:00
Doug Blank
37ba4122ba SQL-like allows selection and filter of elements in a list using attr.attr('part', part=value) 2014-01-07 21:46:55 -05:00
Doug Blank
0ff5aa88ad 7357: Adding link to a "Html code" note using the "Link" button has no effect 2014-01-07 10:48:56 -05:00
Vassilii Khachaturov
ca57d2d4f4 l10n: need to disambiguate "New" at least for RU 2014-01-07 17:12:48 +02:00
Josip
bfbf5d01f4 7179: Select an existing person causes crash in searchfilter
refix, aplay only to Windows
2014-01-06 21:08:40 +01:00
Josip
568b4ee4a4 7179: Select an existing person causes crash in searchfilter 2014-01-06 20:53:15 +01:00
Nick Hall
a2dfd9013e 7340: Performance improvement in ancestor filter 2013-12-31 17:36:58 +00:00
Vassilii Khachaturov
7c383cb70c 7172: more meaningful LOG warning plug/utils.py
Reapply [5c467c] from gramps34
2013-12-30 11:11:11 +02:00
Vassilii Khachaturov
aa3a3c8270 7327: friendlier diagnostics during parsing
In preparation for fixing the bug, discovered minor glitches
in the open/lock/close logic on error paths. Using the RAII syntax
for xml_file and removing redundant unlock-before-close.

The parse errors now have friendlier verbiage, give action suggestions,
and point to the actual file location for better usability and
maintainability.
2013-12-28 22:22:52 +02:00
Doug Blank
5b17d597fe Experimental subselection in list using list['field1, field2'] 2013-12-28 14:34:00 -05:00