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
Paul Franklin
6cd609941f
slightly reformat error message
...
svn: r21444
2013-02-25 16:13:03 +00:00
Jérôme Rapinat
4a23da9500
quick test and update on the french translation
...
svn: r21442
2013-02-25 14:02:33 +00:00
Jérôme Rapinat
73cdf3d86f
update template
...
svn: r21441
2013-02-25 13:45:25 +00:00
Jérôme Rapinat
d24586eb34
update translation strings index
...
svn: r21440
2013-02-25 13:39:56 +00:00
Jérôme Rapinat
158a5f93fb
6283: Re-enable optimization flag (-O) for python
...
svn: r21439
2013-02-25 07:26:36 +00:00
John Ralls
7ff24aa9d1
[r21436]Work around lack of locale.LC_MESSAGES on some Windows pythons
...
svn: r21437
2013-02-24 17:41:31 +00:00
John Ralls
bb2bcc4185
Fix missed cuni() in save.
...
svn: r21434
2013-02-24 16:42:58 +00:00
Peter Landgren
c8254b1c68
Fixed a typo, two " was missing.
...
svn: r21432
2013-02-24 15:27:54 +00:00
Nick Hall
8d06298921
6408: python3 fix
...
svn: r21431
2013-02-24 13:53:15 +00:00
Paul Franklin
4621970783
revert to the old report name
...
svn: r21428
2013-02-24 08:39:51 +00:00
Paul Franklin
123a6e0ecf
sync gramps40 to trunk (two places)
...
svn: r21426
2013-02-24 06:06:42 +00:00
John Ralls
3d0fa7a00a
Fix Py2 file encoding errors
...
svn: r21424
2013-02-24 01:49:24 +00:00
John Ralls
400523c7f3
[r21326] GrampsLocale: Correct setting GrampsLocale.languages
...
Test only first 5 or first 2 characters of the language id against the
list of available translations.
Thanks to Tim Lyons for exposing the error.
svn: r21423
2013-02-24 01:49:15 +00:00
John Ralls
0bbbc76852
[r21287] GrampsLocale: Allow for importing older PyICU packages
...
svn: r21422
2013-02-24 01:49:07 +00:00
John Ralls
252d2932df
[r21282]GrampsLocale: Fix creation of second GrampsLocale
...
svn: r21421
2013-02-24 01:49:01 +00:00
John Ralls
bffb6767aa
[r21281] grampslocale: Pretty up the log messages.
...
svn: r21420
2013-02-24 01:48:42 +00:00
John Ralls
0c07855f37
[r21280]grampslocale.py: Protect against C.UTF-8 not being installed
...
svn: r21419
2013-02-24 01:48:29 +00:00
John Ralls
088c97106f
[r21279]relationship.py: Fix not registering "en_GB" as english.
...
Also replace diagnostic print with proper logging.
svn: r21418
2013-02-24 01:48:24 +00:00
John Ralls
bfa28faf55
[r21276]Handle junk at the end of revision strings
...
svn: r21417
2013-02-24 01:48:16 +00:00
John Ralls
8222d4c04c
[r21275]GrampsLocale: Replace locale functions
...
locale.strcoll, locale.strxfrm, and conv*_tosrtkey
With GrampsLocale.sort_key (for strxfrm and conv*_tosrtkey) and
GrampsLocale.strcoll.
If ICU is available will use the correct ICU::Collator for the locale,
otherwise falls back to locale.strxfrm -- for which it temporarily
changes the LC_COLLATE locale.
svn: r21416
2013-02-24 00:55:46 +00:00
John Ralls
879c48f57d
[r21274]GrampsLocale: Introduce new GrampsLocale attributes
...
currency, calendar, and collate
svn: r21415
2013-02-24 00:55:32 +00:00
John Ralls
7127f8f2da
[r21273] GrampsLocale: Directly set glocale attributes
...
... in maclocale.mac_setup_localization()
svn: r21414
2013-02-24 00:55:23 +00:00
John Ralls
db9daced3c
[r21272]GrampsLocale: Extract function __init_from_environment
...
svn: r21413
2013-02-24 00:55:13 +00:00
John Ralls
c42cb6beee
[r21271] Add modules for ICU
...
svn: r21412
2013-02-24 00:55:06 +00:00
John Ralls
efa53a0537
[r21236]GrampsLocale: Replace use of get_language_string
...
... with GrampsLocale.get_language_dict
Permits sorting by localized language name.
Also hides the language code, which the user doesn't really care about.
Removes get_language_string from libtranslate.py, no longer needed.
svn: r21411
2013-02-24 00:54:56 +00:00
John Ralls
bbf16cb40c
[r21235]GrampsLocale: Use module-specific logger for grampslocale.py
...
Fixes double-logging problem reported by Tim Lyons.
svn: r21410
2013-02-24 00:54:40 +00:00