Commit Graph

22155 Commits

Author SHA1 Message Date
Jérôme Rapinat
6b160a09ff typo on french translation 2014-04-02 19:05:20 +02:00
Josip
fc40578687 Fix PyGObject-3.11 DeprecationWarning
GObject.idle_add() ==> GLib.idle_add()
2014-04-02 16:22:40 +02:00
Jérôme Rapinat
0af1c0bf41 7572: Do not hide 'categorysidebar' from Plugins Manager, do not try to restore hidden gramplets, typo on grampletbar (LOG.warning) 2014-04-01 12:04:43 +02:00
Jérôme Rapinat
20a17bed89 typo: NameError: global name 'gen' is not defined 2014-04-01 11:16:52 +02:00
Nick Hall
6d0c5d4e0e 7137: Fix updating of events gramplets 2014-03-29 23:55:27 +00:00
Nick Hall
7eb68e0c2f 7559: Fix bug in abandon changes and quit 2014-03-29 19:56:58 +00:00
John Ralls
53c878aa08 Use gramps.gen.const.HOME_DIR instead of os.environ['HOME']
$HOME doesn't exist on Windows, so os.environ['HOME'] gives the wrong answer.
2014-03-27 11:34:49 -07:00
John Ralls
71650917bf 7258: Replace some os.environ['foo'] lookups missed earlier. 2014-03-27 11:32:37 -07:00
John Ralls
2a81c76e69 Prevent range error crash when loading a defective database. 2014-03-25 15:44:50 -07:00
John Ralls
97d3ab49c4 7258: Fix filesystem encoding in get_dbdir_summary and DbUndoBSDDB.close. 2014-03-25 15:44:23 -07:00
Zdeněk Hataš
2221dfd79a czech translation update 2014-03-25 14:55:31 +01:00
Jérôme Rapinat
43cba81de5 7559: more accurate word for 'Undo' on french translation 2014-03-25 12:02:44 +01:00
Igal Shapira
6d1d380096 Updated Hebrew translations - update to latest gramps.pot and some minor fixes 2014-03-25 08:44:34 +01:00
Paul Franklin
1b166865f4 7476: Given Name Cloud Gramplet splits up given names into words 2014-03-23 18:43:25 -07:00
John Ralls
14e1edcd4e 7332-Filename-Decoding-Error-in-Graphical-Reports
Don't encode the filename for output. Python does that for you.
2014-03-23 15:22:46 -07:00
John Ralls
85a1c39092 7258: Transcode FS paths to avoid a crash
The problem is really that the paths get munged into strings in the
system codepage, losing or misinterpreting most Unicode. Python's os
module is smart enough to encode the unicode to the file system
encoding, but the bsddb module needs a little help.

Provide a new function, constfunc.get_env_var(name, default=None) to
cleanly import Unicode environment variables in Windows and use it in
place of all instances of foo = os.environ['BAR] or foo =
os.environ.get('BAR').

Os path functions are smart enough to convert unicode to the file system
encoding on their own, but Db functions aren't, so provide an _encode
function in gen.db.write.py and apply it where a path is being passed to
DBEnv.open().

Also convert paths from the UI to unicode from 'utf8' rather than
sysfilesystemencoding. The latter happens to be correct most of the time
on Linux and OSX but is wrong on Windows.
2014-03-23 15:09:51 -07:00
kdau
53acb627bb 7501: Notes always say 'no data exists for note' when saving 2014-03-21 15:07:18 +01:00
Vassilii Khachaturov
dd5e1cc832 RU translation update 2014-03-19 15:33:11 +02:00
Munzir Taha
4f4ef14379 7539: NotRelated and Verify data dialogs appear either too small or too big 2014-03-19 10:04:39 +01:00
Paul Franklin
38125ac611 fix translation of children count to use ngettext 2014-03-18 17:31:28 -07:00
Mirko Leonhaeuser
eefb9feb24 update German translation 2014-03-18 23:21:36 +01:00
Vassilii Khachaturov
32ae80e9e9 7212: vcard: only convert non-empty BDAY to text
Discovered in #7530.
1) Previously, tests expected invalid BDAY with DD-MM-YYYY format
to be ignored. Now they are wrapped with datestr (see #7212),
and that is already covered by
 test_birthday_invalid_format_converted_to_datestr
Corrected test expectations by removing the obsolete test.
2) Test expects that an empty BDAY record won't create any
event objects. Modified import code accordingly -- we used
to create an event object without date, regression in #7212.
2014-03-18 19:57:01 +02:00
Vassilii Khachaturov
b4d2e60198 7530: gen.test.constfunc_test broken in python3
Use the `in' operator rather than has_key() method to check for
environment variables in os.environ. Works on both python2 and python3.
2014-03-18 15:48:04 +02:00
John Ralls
a030c20210 7519: GRAMPs unable to handle ... Path with accented characters
This replaces commit 8cbb3ef014 with
removing the incorrect encoding of paths with the system filesystem
encoding. Python is mostly smart enough to do that itself.

Thanks to Paul Franklin and Josip Pisoj for their help with sorting this
out.
2014-03-17 12:54:22 -07:00
John Ralls
946c5539af 7026: Eliminate localedir error message 2014-03-17 12:54:22 -07:00
Paul Franklin
471ec72966 7276: translate some punctuation marks -- partial 2014-03-17 08:03:23 -07:00
Jérôme Rapinat
eeea77e9c1 6369 Couldn't find a target for a mnemonic activation on confidence into Citation Editor 2014-03-16 11:08:29 +01:00
Nick Hall
fcdd15c6d0 Fix bug in event gramplet 2014-03-15 19:30:07 +00:00
Nick Hall
ca2cafc68a Adjustments to the citation editor
Remove publication information and abbreviation fields.
Move tag button.
2014-03-15 17:49:31 +00:00
Jérôme Rapinat
5654c99815 7510: do not drag and drop more than one data into editor tabs 2014-03-15 11:18:52 +01:00
Jérôme Rapinat
6d8679df2d 7530: typo on import geneweb unit test 2014-03-13 12:03:17 +01:00
Mirko Leonhaeuser
40d169f346 update German translation 2014-03-12 01:00:29 +01: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
2642fc5409 6854: Spelling messages at random cause hang for a few seconds.
Improve error message to conditionally explain that there is no
dictionary if that's in fact the case; otherwise log the actual
exception string.
2014-03-08 16:41:04 -08:00
John Ralls
38aaa671cd Remove some left-over diagnostic messages. 2014-03-08 13:40:47 -08:00
John Ralls
9c3a40f785 6808: Poor contrast mouse on mouse over
Set the Gnome-standard 'Adwaita' theme, which doesn't have gray lines.
2014-03-08 13:22:06 -08:00
Josip
b38e5996fb 7435: Media Editor error if Path value was changed to a non existing file
fix media path
2014-03-08 21:53:12 +01:00
Josip
b868e3e256 7434: Media viewer list crashes during start if one try to select an entry where the media isn't available 2014-03-08 21:51:56 +01:00
Josip
22ec94f84d 7435: Media Editor error if Path value was changed to a non existing file 2014-03-08 18:00:36 +01: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
20f2564df0 Bug 6696: sort failure using key=glocale.sort_key
Correct the call with a lambda.
2014-03-07 12:37:38 -08:00
Jérôme Rapinat
9a58b3f4a6 update template and french translation 2014-03-07 15:05:32 +01:00
John Ralls
e76d3f91bf Bug 7026: misleading diagnostics when locale resources aren't built
This problem is from setup.py test, so ensure that there's a 'build'
directory before running test.
2014-03-06 15:41:09 -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
447113bf9f Add source fields to citation editor 2014-03-05 16:31:32 +00:00
Nick Hall
cdff0daff1 Fix parent place selection for new places 2014-03-05 14:02:26 +00:00
Nick Hall
ad4737edd5 Automatically populate the place title field 2014-03-05 14:02:26 +00:00