Commit Graph

1515 Commits

Author SHA1 Message Date
Christian Stimming
48988ac59a Update German translation 2019-01-18 23:52:51 +01:00
John Ralls
b4fedff90e Provide a single static instance of C++ locale.
We can't use std::locale::global because all streams imbue it by
default and if it's not 'C' (aka std::locale::classic) then we
must imbue all the streams that we don't want localized, and that's
most of them.

Provides error checking for setting the C++ locale from the environment.
This is necessary both because the environment might have an invalid
locale, which would cause an unhandled exception crash.

On windows std::locale("") can't handle some Microsoft-style locale
strings (e.g. Spanish_Spain) so we use boost::locale's gen("") function
to set the locale--though even that can't handle a Microsoft-style
locale string with an appended charset (e.g. Spanish_Spain.1252) and
that's what glibc's setlocale(LC_ALL, NULL) emits.
2019-01-06 10:13:01 -08:00
Christian Stimming
83ae800645 Update German translation. 2018-12-30 22:23:01 +01:00
John Ralls
ae3c2bff77 Update translations from the Translation Project.
Updated Languages: Chinese (Simplified), Farsi, Japanese, Ukrainian.
2018-12-30 07:38:18 -08:00
Christian
596d0336c6 Update German translation. 2018-12-29 22:26:30 +01:00
Frank H. Ellenberger
294c932e3b de.po: Berichtige ein bisher nicht übersetztes Datum-Format
Follow up of commit 7f1a711
2018-12-22 01:20:45 +01:00
Frank H. Ellenberger
07821be68d de.po: fix 1 MsgStr to test boost::locale::tramslate
preparation for Bug 796988
2018-12-21 06:04:05 +01:00
Geert Janssens
67174dd0b1 Prevent temporary editor files from being picked up for POTFILES.in generation
Aparently cmake's file glob also picks up hidden files and doesn't have
an easy way to avoid that.
2018-11-04 13:07:36 +01:00
John Ralls
1c6fca9fca Remove emacs artifact from POTFILES.in. 2018-11-02 11:27:41 -07:00
John Ralls
0e723610f0 Bug 795080 - Some dates reset to 01/01/1970
The first fix for this bug handled structs tm with ambiguous times.
This one fixes the GncDate constructor when the time is ambiguous
because it's in the DST-change hour, using the same add 3 hours,
construct the LDT, and subtract the 3 hours from the result.

The string constructor handles only simple-offset HH:MM timezones and so
is immune to the bug.
2018-11-02 10:45:40 -07:00
Frank H. Ellenberger
204d6864c0 merge current messages in fr.po
3961 translated messages, 892 fuzzy translations, 390 untranslated
messages.
2018-11-02 01:20:21 +01:00
Frank H. Ellenberger
8625fe6500 Minor fixes of PR #429
Fix Language and Plural-Forms tags
2018-11-01 20:51:13 +01:00
Frank H. Ellenberger
f350c4ad58 PR #429: French translation update
Merge branch 'maint' of https://github.com/YBSLE/gnucash into maint
2018-11-01 20:31:30 +01:00
Frank H. Ellenberger
046b4e61a1 Add mailinglist address to translator-credits 2018-10-31 00:08:34 +01:00
yo
3d9628746e French translation update 2018-10-26 17:18:22 +02:00
yo
541e5ff117 French translation update 2018-10-25 14:05:51 +02:00
U-IXION\christoph
fe99b0a702 Fix syntax error 2018-10-17 19:27:03 +02:00
U-IXION\christoph
218f16c6ef Doing some german translations 2018-10-17 19:04:38 +02:00
Frank H. Ellenberger
544fd31c48 Reverse author list of de.po and use it in translator_credits 2018-10-17 10:01:33 +02:00
Frank H. Ellenberger
93981f2758 msgmerge de.po to version 3.3 2018-10-17 08:19:24 +02:00
Frank H. Ellenberger
295f8e38d8 Update LINGUAS explanation to the last version we had in autotools 2018-10-17 07:33:38 +02:00
Pedro Albuquerque
a777666c2e updated pt.po
5238 translated messages, 1 untranslated message.
2018-10-11 08:58:58 +02:00
Frank H. Ellenberger
c713540def Merge recent changes in pt.po
5082 translated messages, 114 fuzzy translations, 43 untranslated
messages.
2018-10-11 02:03:13 +02:00
Pedro Albuquerque
17ff6aa0a3 updated po/glossary/pt.po 2018-10-09 09:49:08 +01:00
Pedro Albuquerque
b1e96f5e40 Updated pt.po 2018-10-09 09:08:50 +01:00
Pedro Albuquerque
0f2e89afb8 updated pt.po 2018-10-08 15:06:03 +01:00
John Ralls
8d90966251 Update Farsi and Ukrainian translations from the Translation Project.
Includes re-applying http://bugzilla.gnome.org -> https://bugs.gnucash.org.
2018-09-29 12:44:09 -07:00
Geert Janssens
406953c2ae Bug 796820 - References to 'Gnome Bugzilla' should be changed to 'GnuCash Bugzilla'
Additionally use https everywhere to refer to bugs.gnucash.org or bugzilla.gnome.org
2018-09-28 15:00:43 +02:00
Geert Janssens
ed436f4151 Bug 796819 - bad icon with Spanish localization
Drop translations of the 'gnucash-icon' string from our po files
and add a note for translators to not translate this string or
use the litteral 'gnucash-icon' as translation
2018-09-24 23:05:59 +02:00
John Ralls
7e56a44f66 Remove deleted files from POTFILES.in 2018-09-08 15:08:39 -07:00
Geert Janssens
54a5097c60 Bug 796777 - CVE-2008-1391: Integer overflow in included strfmon function
We only used strfmon in one source file to generate three fixed format
strings. Instead of updating to a newer strfmon in borrowed I have
chosen to reimplement the string formatters for these strings in C++.
Note this is *not* a full c++ conversion of the full functionality
of assistant-loan. Only the string parsing has been redone.
2018-08-17 16:23:12 +02:00
Geert Janssens
34cb4925a4 Compile assistant-loan as c++
Fix only c++ compatibility issues, which primarily boils down
to dealing with stricter type checking.
2018-08-17 16:23:12 +02:00
John Ralls
c08dee67ba Preserve timespec-using functions in Guile bindings.
There's an example of use in text-extras.scm, function
gnc-pricedb-create.

Unfortunately the deprecation messages issue no warnings.
2018-08-16 10:47:41 -07:00
John Ralls
827c43d935 Add jenny to the dist and compile it. 2018-07-23 12:47:25 -07:00
John Ralls
de927d535d Fix test-backend-dbi for Postgress and MySQL.
Pass MySQL database exists errors and skip creating the database
if it exists.
2018-07-13 16:34:42 -07:00
John Ralls
756f444ac3 Update bug tracker URL
Change all instances of bugzilla.gnome.org to bugs.gnucash.org, reflecting
our migration to a self-hosted bug tracker.

Inform the Translation Project Coordinator at release that this affects
translatable strings and that all message catalogs have been updated.
2018-07-13 09:49:33 -07:00
David Osguthorpe
4d013e091c Bug 796737 - Patch to restore gncmod-python.c.
Restores the gncmod-python module.

It removes the need to link the module to libgncmod-app-utils.dylib or
libgncmod-core-utils.dylib. This was needed previously as the init
function for those modules was called in the c code. However, unless
there was python c code at some point in gncmod-python.c to use
functions in c of either core utils or app utils these are not needed.
Those module init functions would be called when the modules are
imported in eg init.py, which does indeed import _sw_app_utils
successfully.

I have made edits to init.py (and other files) so it loads without
errors with python 3. These edits are NOT tested. I dont actually use
pycons, I update the init.py to simply import my python subsystem init
module. I never set the if False: to if True: to actually activate the
console.
2018-07-07 13:33:22 -07:00
John Ralls
1801fed486 Remove emacs spoor from POTFILES.in 2018-06-15 16:42:02 -07:00
John Ralls
1f8f681732 Remove abandoned C-Language QIF implementation. 2018-06-15 11:38:31 -07:00
John Ralls
9f1bfddc27 Revert "Remove abandoned C-language QIF implementation."
Because it included some extraneous changes.
This reverts commit edd439a05e.
2018-06-15 11:30:09 -07:00
John Ralls
edd439a05e Remove abandoned C-language QIF implementation. 2018-06-15 09:30:31 -07:00
John Ralls
c8861d4666 Bug 795276 - Invalid date on price stops file from being parsed.
Instead of reporting an error and declining to load the file (XML)
or failing to enter a value (SQL) when a bad date is found in the
database, use a 0 time stamp (1970-01-01 00:00:00 UTC). Adds a warning
in SQL backends; there was one already in XML.
2018-06-12 14:56:27 -07:00
Potuz
e3e1464a01 Bug 794617 - Can't compile with -DWITH_GNUCASH=NO due to scm-gnome-utils
Pricedb.go doesn't need gnc-gnome-utils and we don't need WebKit or
gwenhywfar-gtk3 if we have no GUI.
2018-06-07 14:17:49 -07:00
Geert Janssens
53a17fe77c New Dutch translation imported from the Translation Project 2018-05-12 17:40:03 +02:00
Geert Janssens
61fe647828 Use lowercase for account type descriptions 2018-05-12 14:08:08 +02:00
Geert Janssens
a9f35ed7ae Lowercase cmake commands
A huge bikeshed fest but it distracted me enough to do it anyway.
2018-05-03 23:18:15 +02:00
Geert Janssens
92afea59ae Fix guile-json inclusion 2018-05-03 21:19:55 +02:00
John Ralls
20c59f7c30 Update translations from the Tranlation Project. 2018-04-28 12:38:14 -07:00
John Ralls
9c4469d039 Bug 795405 - All Dates in Price Database Off-By-One After 3.0 Upgrade
Also Bug 791825 - Accounting Period dates off by 1.
The DST start/end dates were reversed *and* the DST offset had the wrong
sign in Windows, resulting in the effective timezone always being one to
the west off (i.e. PDT was -9 and PST was -8).
2018-04-27 15:00:28 -07:00
Di Mang
5f0025954f ru.po: some more translations 2018-03-28 00:23:28 +02:00