26 Commits

Author SHA1 Message Date
Vassilii Khachaturov
3f32fbcab0 add __main__ for stand-alone test runs
svn: r23038
2013-09-05 08:32:00 +00:00
Paul Franklin
0bba5fcfdb add and enable Greek date handler (from Zissis Papadopoulos)
svn: r22896
2013-08-21 16:55:05 +00:00
Nick Hall
a3a9542f0f Add datehandler unit test
svn: r22884
2013-08-20 19:46:40 +00:00
Paul Franklin
6a45bc4a40 revert the Finnish date-format change (remove the four I added)
svn: r22677
2013-07-13 20:56:24 +00:00
Paul Franklin
a8307d21aa correct the Finnish date-format choices (add the other four)
svn: r22674
2013-07-13 20:02:32 +00:00
Paul Franklin
666f6d5b1a added and/or clarified various date handler comments
also slightly reformatted a few date handler lines
and fixed one (locale-specific) date handler typo


svn: r22671
2013-07-13 18:00:38 +00:00
Paul Franklin
ad79a3f1bb standardize date handler's internal argument names, for easier comparisons
svn: r22666
2013-07-09 01:31:42 +00:00
Jérôme Rapinat
ba11af72ac enable Ukrainian date handler (by Fedir)
svn: r22562
2013-06-23 08:54:17 +00:00
Paul Franklin
960787a33c add "Id" property, and "Id" line, and license line, if any were needed
svn: r22434
2013-05-27 19:31:49 +00:00
Jérôme Rapinat
8faa02c176 add Ukrainian date handler to SVN for testing, not enabled yet (__init__.py), contribution by Fedir Zinchuk
svn: r22366
2013-05-18 15:24:49 +00:00
John Ralls
7c2469a3ca [r22026]Remove some imports of locale where nothing it exports was used.
svn: r22043
2013-04-20 23:22:53 +00:00
Paul Franklin
c032fc8dae typos
svn: r22020
2013-04-19 16:57:48 +00:00
John Ralls
58c2b11013 [r21968]GrampsLocale: Remove get_translation()
Only one base translation per locale. To set up a different locale
on any axis (locale, domain, directory, or languages) instantiate a
secondary locale by calling GrampsLocale() with the appropriate
arguments.

svn: r21985
2013-04-13 14:37:34 +00:00
John Ralls
a67b7b7d11 [r21845]GrampsLocale: Report the plugin when complaining
About not being able to find a translation.
Well, that's usually the source of this warning. With an unsupported
locale it will say "share".

svn: r21855
2013-04-02 20:35:38 +00:00
John Ralls
cd4585b100 [r21831][Bug 6553] Get Datehandler base language
from GRAMPS_LOCALE.calendar

svn: r21834
2013-03-31 22:51:38 +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
Josip Pisoj
8ea29ede81 win32 fix
svn: r21529
2013-03-03 00:08:15 +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
John Ralls
8cbba85cf1 [r21150]GrampsLocale: Use the codeset from the singleton translation
Instead of locale.getlocale() or locale.nl_langinfo

svn: r21398
2013-02-24 00:52:48 +00:00
Josip Pisoj
fed5cc6a71 win32-py3 fix:ValueError: strftime() requires year in [1; 9999]
svn: r21317
2013-02-07 21:43:19 +00:00
Jérôme Rapinat
2040716b9c common date handler for Norwegian Bokmål and Norwegian Nynorsk
svn: r20801
2012-12-20 14:16:30 +00:00
Benny Malengier
8c4eb3d171 2620: GEPS 031: Python 3 support - 3.2
* working treeviews in python 3
   * changed conv_to_unicode on python 3 so that it decodes to unicode


svn: r20663
2012-11-16 17:09:26 +00:00
Benny Malengier
bb5fc7cb7c 2620: GEPS 031: Python 3 support - 3.2
This does patch updates Gramps to the 3.2 syntax, it does not yet mean Gramps works with python 3.2
Expect next day commits to fix further issues, but this is the main 2to3 tool created patch changed
where needed to have python 2.7 work. 
Specific issues might be:
  1. next has been changed, must be checked
  2. new division as on the wiki page listed is to do
  3. ...


svn: r20634
2012-11-07 17:53:14 +00:00
Benny Malengier
91e6df28c1 GEPS 026: Replace 'make' for Gramps build
Remove all makefile in gramps code
Still present: make for doc creation and make for webapp


svn: r20499
2012-10-03 08:46:04 +00:00
Benny Malengier
9832e6712e Coding Guidelines: relative import of gen in gen submodule
svn: r20479
2012-10-02 08:28:08 +00:00
Benny Malengier
326d604365 GEPS 026: Replace 'make' for Gramps build
If we want to use Gramps from the code directory, src should be called gramps to allow import


svn: r20466
2012-09-30 11:55:52 +00:00