Commit Graph

21113 Commits

Author SHA1 Message Date
John Ralls
1436945239 [r22039]Bug 6533: Report plugin name
when failing to load an add-on translation
Message now says (e.g.) WARNING: Plugin ExtendedAttributes has no translation for any of your configured languages, using US English instead

svn: r22056
2013-04-20 23:24:11 +00:00
John Ralls
f657238034 [r22038]GrampsLocale: Add explanatory comment
After I stopped myself from fixing something that was done right!

svn: r22055
2013-04-20 23:24:05 +00:00
John Ralls
821bf3b740 [r22037]GrampsLocale: Mac: Align flow of user preferences
to match other OSes.
Also add diagnostics to make Tim Lyons happy.

svn: r22054
2013-04-20 23:23:59 +00:00
John Ralls
8ce27e1be6 [r22036]GrampsLocale: Win32: Clean up extraneous conditions
don't set self.language prematurely

svn: r22053
2013-04-20 23:23:53 +00:00
John Ralls
c338c75953 [r22035]GrampsLocale: Posix: Move LC_MESSAGES check
to setting self.language

svn: r22052
2013-04-20 23:23:48 +00:00
John Ralls
001b520199 [r22034]GrampsLocale: Add some debugging messages.
Move the warning about failure to after the last attempt.

svn: r22051
2013-04-20 23:23:41 +00:00
John Ralls
c6f926188a [r22033]GrampsLocale: Init_from_environment: Change precedence
LC_MESSAGES takes precedence over LC_CTYPE for setting self.lang
$LANGUAGES overrides $LANG, $LC_FOO for setting translations

svn: r22050
2013-04-20 23:23:36 +00:00
John Ralls
badaa407f6 [r22032]GrampsLocale: Fix indentation error
svn: r22049
2013-04-20 23:23:29 +00:00
John Ralls
14575a3bc8 [r22031]MacLocale: Make sure the overrides work correctly
And that we follow the user's preferences correctly or issue a warning that we've defaulted to US English if we can't.

svn: r22048
2013-04-20 23:23:23 +00:00
John Ralls
edd40cafa3 [r22030]Supply a concatstrings PostScript function
To allow postscript documents to work without Ghostscript.

svn: r22047
2013-04-20 23:23:18 +00:00
John Ralls
50e43f51c9 [r22029]Use GrampsLocale.encoding to get the code set instead of locale
svn: r22046
2013-04-20 23:23:12 +00:00
John Ralls
ea0a839ab1 [r22028]GrampsLocale: Replace gen.plug.utils gfloat()
With GrampsLocale.float().
Also remove gen.plug.utils gformat(), which was written to work
around string formatting with %f localizing the decimal point,
which it doesn't do. locale.format() does, but it wasn't being
used anyway.

svn: r22045
2013-04-20 23:23:07 +00:00
John Ralls
9284223d4b [r22027]GrampsLocale: Wrap locale.format and locale.format_string
To concentrate the locale dependency in grampslocale.py

svn: r22044
2013-04-20 23:22:59 +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
John Ralls
7005b63a43 [r22025]Take the localization debug info from GrampsLocale
instead of locale

svn: r22042
2013-04-20 23:22:44 +00:00
John Ralls
70345ef4b8 [r22024]GrampsLocale: Add GrampsLocale attributes numeric and currency
svn: r22041
2013-04-20 23:22:37 +00:00
John Ralls
f2d7e62fc0 [r22023]MacLocale: Fix missing subscript.
svn: r22040
2013-04-20 23:22:31 +00:00
Paul Franklin
c032fc8dae typos
svn: r22020
2013-04-19 16:57:48 +00:00
Erik De Richter
15f7b45d3f updated dutch translation
svn: r22019
2013-04-19 06:12:05 +00:00
Paul Franklin
9c44e4500f typo
svn: r22016
2013-04-18 20:56:06 +00:00
Paul Franklin
8aa2a6aa24 give the "ahnentafel" report a user-settable title string
(since many English speakers do not know what "ahnentafel" means)


svn: r22014
2013-04-18 19:08:19 +00:00
Paul Franklin
fa35769714 add name-format option to the three GraphViz reports
svn: r22012
2013-04-18 17:16:16 +00:00
Jérôme Rapinat
53b67443f2 6645: unable to do Spanish kinship report, 4185: Julio's patch
svn: r22010
2013-04-18 09:05:14 +00:00
Paul Franklin
feb36c5ce4 refactor: move name_format into stdoptions.py
svn: r22008
2013-04-17 20:49:14 +00:00
Erik De Richter
b0a159ee2f updated dutch translation
svn: r22007
2013-04-17 19:24:35 +00:00
Paul Franklin
6d57f08ac0 6623: funny GUI report-language display
svn: r22005
2013-04-16 22:18:47 +00:00
Mirko Leonhäuser
9fc255371d updated german translation
svn: r22004
2013-04-16 17:46:50 +00:00
Paul Franklin
706e92be77 6462: GEDCOM import fails (patch by Enno Borgsteede)
svn: r22001
2013-04-15 22:01:08 +00:00
Benny Malengier
16cfc2af23 6618: Export CSV crashes gramps 4.0 beta
svn: r21999
2013-04-15 11:01:24 +00:00
Benny Malengier
77adb230c5 6635: retry of bug 6443, exec missing globals
svn: r21997
2013-04-15 09:40:47 +00:00
Benny Malengier
9503faed70 6623: funny GUI report-language display
svn: r21994
2013-04-15 09:15:34 +00:00
Erik De Richter
1e1e57c576 updated nl translation
svn: r21993
2013-04-14 20:02:24 +00:00
Erik De Richter
fecaba830e updated nl translation
svn: r21992
2013-04-14 07:14:19 +00:00
Paul Franklin
5d13d706b6 add "Id" property and line, and stdoptions.py
svn: r21990
2013-04-13 23:34:50 +00:00
Paul Franklin
7ec9f36fe2 add "Id" property
svn: r21989
2013-04-13 21:03:07 +00:00
John Ralls
d8b04d281d GrampsLocale: Restore the _hastag.py files
Accidentally deleted in r21968

svn: r21988
2013-04-13 19:47:59 +00:00
Paul Franklin
dcb84fd166 add "Id" property
svn: r21987
2013-04-13 15:11:04 +00:00
John Ralls
3127dc08e2 [r21977]Remove unnecessary (and broken in Py3) import
svn: r21986
2013-04-13 14:38:02 +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
d674eed2d4 [r21967]GrampsLocale: Integrate libtranslate functions into GrampsLocale
And remove libtranslate

svn: r21984
2013-04-13 14:35:30 +00:00
John Ralls
751ac2aef0 [r21966]GrampsLocale: Extract 2 reporting functions
set_translation() to the Report class
Add a new module stdoptions to gen.plug.report with function
add_localization_option(). The intent of stdoptions is to reduce the code-copying among reports; this is the first bit.

svn: r21983
2013-04-13 14:35:23 +00:00
John Ralls
eb63ae3d8e [r21965]GrampsLocale: Add get_date and get_type functions
To enable GrampsLocale to replace libtranlate.py's Translation
class.

svn: r21982
2013-04-13 14:35:15 +00:00
John Ralls
6f7c65a038 [r21964]GrampsLocale: Add date_parser and date_displayer properties
svn: r21981
2013-04-13 14:35:08 +00:00
John Ralls
1e598e846a [r21963]MacLocale: Capture collation qualifications
svn: r21980
2013-04-13 14:35:02 +00:00
John Ralls
9f1ec6daf6 [r21962]GrampsLocale: Make dictionaries class variables
lang_map and country_map

svn: r21979
2013-04-13 14:34:56 +00:00
John Ralls
044452805b [r21961]GrampsLocale: Refactor/clean up initialization
Includes moving encoding to be a class variable.

svn: r21978
2013-04-13 14:34:49 +00:00
Nick Hall
5d3735123e 6622: Change regular expression rules to use search rather than match
svn: r21975
2013-04-13 14:30:12 +00:00
Fedik
89847f1df3 small translation and uptades
svn: r21973
2013-04-13 13:23:40 +00:00
Jérôme Rapinat
f7a0036a41 update and merge Greek translation with last template (by Ζήσης Παπαδόπουλος)
svn: r21972
2013-04-13 06:27:55 +00:00
Mirko Leonhäuser
b1b5b1dbfb updated german translation
svn: r21970
2013-04-13 00:11:28 +00:00