John Ralls
b3edd2fa5f
Make recentfiles.do_save exception safe.
2014-04-21 14:12:36 -07:00
John Ralls
5f3f280ea0
Fix None type exception when there's no localedir.
2014-04-21 14:08:57 -07:00
Paul Franklin
8a831ed466
7620: 'Display as' field in Name Editor reverts to Preferences default ...
2014-04-21 13:53:16 -07:00
John Ralls
2b1cd04071
Fix indentation errors
...
Thanks to Paul Franklin for noticing.
(cherry picked from commit d5f918040c
)
2014-04-20 19:52:31 -07:00
John Ralls
f0ffd6e9b9
Remove gramps.gen.utils.file.fix_encoding()
...
Yet another overly complicated way to spell conv_to_unicode().
Note that unicode() and str.decode() are alternate spellings of the same function in Py2, and unicode();
note as well that this was used on strings coming from the GUI or the database, not the shell, so that
using glocale.encoding was also incorrect.
2014-04-20 17:05:53 -07:00
John Ralls
55610b6f0a
Remove get_unicode_path_from_env_var(), get_unicode_path_from_file_chooser()
...
Two very cumbersome ways of saying conv_to_unicode().
2014-04-20 17:05:53 -07:00
John Ralls
ecfad157a8
7258: Replace os.getcwd() with gramps.gen.constfunc.get_curr_dir()
...
Py2 on Win32 returns a str from os.getcwd(), which doesn't work with unicode in the path.
New function get_curr_dir() uses the Windows GetCurrentDirectoryW to return a Unicode.
2014-04-20 17:05:52 -07:00
John Ralls
10921cee29
GrampsLocale: Don't try to set self.localedir to _first.localedir if the latter path doesn't exist.
2014-04-20 17:05:52 -07:00
John Ralls
c1dcd6f59e
7258: Remove all instances of sys.getfilesystemencoding()
...
This function reliably returns a useful value only on MacOS X. On Linux it's incorrectly determined by the
locale's encoding and on Windows it always returns 'mbcs' which is correct only on FAT file systems.
2014-04-20 17:05:51 -07:00
John Ralls
efa3741579
7258: Ensure that resource paths are set correctly when they include Unicode characters.
2014-04-20 17:05:51 -07:00
Paul Franklin
8e164e29a2
flag some semicolons, for translation in Arabic
2014-04-20 16:34:29 -07:00
John Ralls
8f4aebe4c6
7258: A consequence of forcing paths to unicode is that we sometimes need to explicitly decode a path to utf8 to pass to Gtk
...
Only in Py2, of course, since the Py3 version of PyGObject knows what to do.
2014-04-20 08:13:00 -07:00
John Ralls
74336a7ca8
7258: Metadata viewer: Exiv2 can't handle Windows's UTF16 pathnames
...
So open the file and pass the handle.
2014-04-20 08:12:59 -07:00
John Ralls
94518f2577
7258: MediaEditor: Ensure that pathnames are always Unicode.
2014-04-20 08:12:58 -07:00
John Ralls
7962403216
7258: Work around PyCairo path issue by opening the target file first.
...
PyCairo, even the latest version, insists on using the 'mbcs' codec on path names on Windows.
That destroys pathnames with characters that aren't in the current default code-page.
2014-04-20 08:12:58 -07:00
Paul Franklin
f62a38ef9a
translate one more Arabic string
2014-04-20 07:57:20 -07:00
Jérôme Rapinat
860f88479d
Translation Memory (gramps40) for spanish and ukrainian according to their last revisions
2014-04-20 11:18:48 +02:00
Jérôme Rapinat
092ac4bd22
merge some strings from gramps40 for the italian translation
2014-04-20 11:03:45 +02:00
Jérôme Rapinat
2bdda43936
merge experimental debian stuff from gramps40
2014-04-20 10:18:21 +02:00
Jérôme Rapinat
774e25b050
merge some translation files (features freeze)
2014-04-19 19:34:35 +02:00
Paul Franklin
70580f515b
make one Arabic (comma) string "unfuzzy"
2014-04-19 08:20:38 -07:00
Nick Hall
20c9d949ac
Fix python2 bug when creating backup filename
2014-04-18 22:06:30 +01:00
Jérôme Rapinat
061a289bde
update translations template
2014-04-18 20:44:56 +02:00
Jérôme Rapinat
9b5ab192eb
move some devel gramplets to UNSTABLE, do not need to translate them
2014-04-18 20:43:24 +02:00
Jérôme Rapinat
0194c4ede6
merge some keys/values (updated translations) from gramps40 branch
2014-04-18 19:13:31 +02:00
Jérôme Rapinat
fc54450814
merge some keys/values (updated translations) from gramps40 branch
2014-04-18 18:37:28 +02:00
Jérôme Rapinat
e9a64e2b9b
6926: date handling in arabic
2014-04-18 18:14:45 +02:00
Jérôme Rapinat
3dd2dbc4fc
merge arabic translation
2014-04-18 17:33:37 +02:00
John Ralls
fa2be88b68
Correct lambda syntax for py3
...
Thanks to Paul Franklin for reporting it.
2014-04-17 14:22:20 -07:00
Jérôme Rapinat
15206590e7
sort translations output by file location for easier diff
2014-04-17 16:43:46 +02:00
Jérôme Rapinat
c8b73dd3f9
workarounds for incomplet gtk3 migration and ValueError on populatesources debug tool, need a real fix
2014-04-17 15:44:46 +02:00
Jérôme Rapinat
a483e2990e
update template, test french translation, think on merging and do not need to translate hidden titles (on glade)
2014-04-17 15:34:26 +02:00
Paul Franklin
5434a9f3fc
fix another "po/update_po -p" warning
2014-04-16 09:54:42 -07:00
John Ralls
73fed7385a
7258: Fix a path encoding issue when upgrading the database.
2014-04-15 17:05:13 -07:00
Nick Hall
16d5dfff09
Keep button active if current category is clicked
2014-04-15 23:01:35 +01:00
Nick Hall
4e239310a1
Fix popup menus in drop-down navigation sidebar
2014-04-15 22:37:50 +01:00
Nick Hall
c7e160436a
Prevent MapList action warning
2014-04-15 22:29:52 +01:00
John Ralls
081675c4bc
Bug 7258: Work around bug in Py2Cairo 1.8.10 and earlier on Linux
...
(cherry picked from commit 117fbe2810
)
2014-04-15 11:48:33 -07:00
Nick Hall
f6be31eb39
Remove subversion substitution variables
2014-04-15 14:10:18 +01:00
Paul Franklin
f3e378a76a
7596: Translation of plurals does not allow the translator to omit the number
2014-04-14 19:17:26 -07:00
Paul Franklin
99cfe782da
make "update_po -p" happier about unnamed strings
2014-04-14 17:07:32 -07:00
Jérôme Rapinat
a2d23d0201
spacing on french translation
2014-04-14 20:08:03 +02:00
Zdeněk Hataš
452d38ea76
czech translation update
2014-04-14 11:37:25 +02:00
Nick Hall
4a7ae64dd3
Fix unicode error when saving filters
2014-04-13 14:03:43 +01:00
Nick Hall
0901528ddf
GEPS 6: Add extra place types
2014-04-13 14:03:43 +01:00
Josip
aedfc3a673
7258: transcode os.path.join args from the fs enc to prevent a crash
...
fix plugin registration
fix textual, html report etc (except cairo based report)
fix web calendar report for python3
2014-04-13 10:11:22 +02:00
Jérôme Rapinat
adeeec6ab1
run update_po.py, update template and french translation
2014-04-12 18:31:08 +02:00
Jérôme Rapinat
6e1b7476b2
support comments
2014-04-12 17:49:12 +02:00
Josip
63f0dc3447
fix size of 'Potential Merges' dialog
2014-04-11 20:22:32 +02:00
Nick Hall
a08d4434b0
Rename "parent" place to "enclosed by"
2014-04-10 22:57:01 +01:00