Commit Graph

1445 Commits

Author SHA1 Message Date
Geert Janssens
61a21d12c6 Look for user editable config files in gnc_userconfig_dir instead of gnc_userdata_dir
At present these are
- log.conf
- config-user.scm (previously config.user-2.0)

Implement one-time migration of these files to the proper directory if they previously exist
Look for a log.conf file in gnc_userconfig_dir instead of gnc_userdata_dir

Note this commit also uses boost::locale::translate for the first time.
We may need to fine-tune our use, but in the current state strings marked
for translation using that function are already picked up for gnucash.pot.
2018-02-24 20:39:26 +01:00
Nikos Charonitakis
6137719417 Updated Greek Translation 2018-02-22 12:15:39 -08:00
John Ralls
c58b0024c5 Remove bogus file from POTFILES.in. 2018-02-20 12:25:14 -08:00
John Ralls
36ad5064e4 Move gnc:substring-replace-from-to back to utilities.scm
It's used in report.scm as well as qif-imp.
2018-02-19 13:27:44 -08:00
John Ralls
5929bb3bf8 Move string.scm to qif-imp, the only place it's used. 2018-02-19 11:25:08 -08:00
John Ralls
720acddff2 Restore fin.scm, incorrectly removed earlier.
But put it in app-utils where it's used and load it explicitly.
2018-02-19 10:50:38 -08:00
fell
464281644c Merge branch 'maint' into unstable
Should resolve issue mentioned in PR #277
Conflicts:
	libgnucash/app-utils/gnc-sx-instance-model.c: resolved
	po/de.po: changes in maint ignored
2018-02-19 15:25:53 +01:00
fell
fb26ef648e update de.po to commit ce71586
4684 translated messages, 5 untranslated messages.
2018-02-19 12:17:53 +01:00
John Ralls
f4965ae2ac Move direct check dependencies to the originating CMakeLists.txt.
Removing transitive dependencies from being declared direct.
2018-02-18 22:16:27 -08:00
John Ralls
48bdab38d4 Replace sprintf with Guile's built-in format. 2018-02-17 15:24:44 -08:00
John Ralls
cd8f2b7c7e Rename libgnucash/scm/main.scm to utilities.scm
Because it hasn't been "main" since GnuCash became a C program.
2018-02-16 15:52:19 -08:00
John Ralls
8b0d9425e9 Remove some obsolete and unused Scheme files. 2018-02-16 15:37:46 -08:00
fell
2598dbe5e6 Insert lost '#, c-format' lines again into de.po
Additional removed garbage
2018-02-14 19:04:18 +01:00
Geert Janssens
c7b5061e8f Bug 792884 - cmake: gschemas.compiled missing
Fix handling of gschemas.compiled. It should only be called
at install time to regenerate gschemas.compiled based on all
available gschema files. In the installation directory that
can be more than just our own.

Note to force the compilation to run after all gschema files
themselves are installed, the gnome and gnome-utils gschemas
have been moved into a higher-level gschemas directory and
the install command is added there.
2018-02-14 17:56:07 +01:00
fell
2a7b0b7b91 Review of PR #268
4910 translated messages, 161 fuzzy translations, 123 untranslated
messages.
14 msgstr lack the keyboard accelerator mark '_'
2018-02-14 14:46:53 +01:00
Mechtilde
9c9f4634ed some more German translations 2018-02-12 15:13:14 +01:00
Mechtilde
4e8e4d424d adjust conflicts 2018-02-12 13:13:05 +01:00
Mechtilde
18b6af3d8b correct some typos 2018-02-12 12:02:21 +01:00
Mechtilde
d8e508a376 msgmerge with gnucash-2.7.4.pot 2018-02-12 11:56:34 +01:00
Mechtilde
8c573dbb9f add some more German translations 2018-02-12 11:39:14 +01:00
Mechtilde
97471f2319 add some more German translations 2018-02-12 11:39:14 +01:00
Mechtilde
b6ad4e61e0 add even more German translations 2018-02-12 11:39:14 +01:00
Mechtilde
9207ba8712 add some more German translation 2018-02-12 11:39:14 +01:00
Mechtilde
2914920ff6 add ellipses to fit Common User Access (CUA) under the Tools menu 2018-02-12 11:39:14 +01:00
Mechtilde
2f11fc6fb3 add some German translations 2018-02-12 11:39:14 +01:00
fell
794090d671 update de.po
4680 translated messages, 4 untranslated messages.
2018-02-02 23:43:58 +01:00
John Ralls
18abf4e243 Update Turkish translation from the Translation Project. 2018-02-02 13:10:09 -08:00
Geert Janssens
59fb8efaf9 Merge branch 'maint' into unstable 2018-02-02 18:57:24 +01:00
Geert Janssens
d983ad9e46 Provide preference panel to set the Alpha Vantage API key needed for fincance::quote 2018-02-02 18:48:34 +01:00
Geert Janssens
77982c71bb Remove make-gnucash-po.sh.in
This time we're really not using it any more.
2018-01-31 18:25:53 +01:00
Geert Janssens
ff24970f5f Add GENERATE_SWIG_WRAPPERS option to control the generation of swig wrappers independently of whether we're building from git
The swig wrappers don't really depend on git (but rather on swig) and there can be
situations the builder wants to generate the wrappers also from a tar ball.
2018-01-31 16:16:59 +01:00
fell
00c4bac65b Merge branch 'maint' into unstable
Adjust path
2018-01-30 02:44:04 +01:00
fell
8812aae5d5 Add src/plugins/example/gnc-plugin.example.c to POTFILES.skip 2018-01-30 02:07:06 +01:00
Geert Janssens
99ebeb6b5d gnucash.pot target improvements
- add simple target called 'pot' so translators can run 'make pot'
- make gnucash.pot depend on all files with translatable strings. So whenever
  one of these files is changed the potfile will automatically be regenerated
  (if the current target depends on it, like 'pot' or 'dist')

Note the default target (make without anything) does not depend on gnucash.pot
so the potfile will not automatically be (re)generated when building that target.
2018-01-29 21:51:38 +01:00
Mechtilde
8c988bfc1f add some more German translations 2018-01-29 20:22:59 +01:00
Mechtilde
22cc065d39 add some more German translations 2018-01-29 20:22:59 +01:00
Mechtilde
311f8c2dc6 add even more German translations 2018-01-29 20:22:59 +01:00
Mechtilde
4198af108b add some more German translation 2018-01-29 20:22:59 +01:00
Mechtilde
f0f20d3f5b add ellipses to fit Common User Access (CUA) under the Tools menu 2018-01-29 20:22:59 +01:00
Mechtilde
cf15c78818 add some German translations 2018-01-29 20:22:59 +01:00
Geert Janssens
4317d8a8f6 Improve handling of generated distributable files
- the two dist_add_... macros now both take a list of file names
as argument so more files can be added at once to the dist tarball.
- dist_add_generated now creates the right target by itself. There's
  no need to pass one any more
- make the swig generated *.py module files explicit output files
- change a couple of custom_targets into custom_commands. The only
  reason they were defined as targets was to ensure they got built
  before the dist tarball. This is now properly handled by the
  dist_add_... macros.
- correctly handle dependency on swig-runtime.h (using OBJECT_DEPENDS
  was not the way to do it according to that property's help page)
2018-01-29 19:46:44 +01:00
Geert Janssens
3dff4e5211 Fix make dist on a clean checkout
cmake with unix makefiles fails to resolve dist dependencies
added from COPY_FROM_BUILD if these dependencies aren't built yet.

This commit replaces the COPY_FROM_BUILD based logic with two new functions
'dist_add_configured' and 'dist_add_generated' to indicate which files should
be included in the dist tarball. The latter also adds a target level dependency
to the dist tarball custom command. Hence the former should
be used for files that get generated during a cmake run while the latter
should be used for files generated as the result of a 'make/ninja-build' run
(like files for which an add_custom_command rule exists).

Note: this commit also temporarily disables the dist target when building
from a tarball (and hence it won't be tested in distcheck either). This
will be handled in a future commit.
2018-01-29 19:46:44 +01:00
Geert Janssens
1258a2adfd Make potfile generation a custom target, and make the dist target depend on it 2018-01-29 19:46:44 +01:00
Geert Janssens
0f4a72b49f Remove unused file 2018-01-26 18:26:06 +01:00
Geert Janssens
85bfbd8e82 Some minor cleanups after the autotools removal
This includes removal of the now unused make-gnucash-potfiles.in,
checking for CMakeLists.txt rather than Makefile.am in gnc-vcs-info,
upating the HACKING file,
and generally updating references to autotools.

I have kept "Makefile.*" exclude patterns in our CMakeLists.txt files
because they may still be lingering in the source directory from
previous autogen.sh runs. At some point these should probably be
removed as well still, together with the gitignore references to them.
2018-01-26 18:22:48 +01:00
Geert Janssens
6aa58811da Import Dutch translation by Mark Haanen from the Translation Project 2018-01-25 23:01:21 +01:00
Geert Janssens
709787dafa Apply Xavier's translations for goffice
These should take precedence over automatically imported translations.
2018-01-25 22:29:57 +01:00
Geert Janssens
7fc2915687 Merge es.po from Translation Project into unstable
Rsovled conflicts:
	po/es.po

- all conflicts related to goffice strings were resolved in favor or the goffice translation
- all other conflicts were resolved in favor of the TP po file
2018-01-25 21:50:34 +01:00
Geert Janssens
4533f77904 Import new Spanish translation from the Translation Project 2018-01-25 21:15:21 +01:00
Geert Janssens
e1807c99e2 Import new Spanish translation from the Translation Project 2018-01-25 21:14:13 +01:00