Commit Graph

23 Commits

Author SHA1 Message Date
Geert Janssens
c312b865d1 Bug 619899 - Use normal gettext or intltool toolchain also for scm files 2015-01-31 13:21:52 +01:00
Cristian Marchi
5831e17771 Make Gnome appdata file translatable (or try to...).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23757 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-24 21:08:30 +00:00
Geert Janssens
79bb4b8b78 Enable translations on gsettings schemas
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23381 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-05 18:37:45 +00:00
Christian Stimming
449df116d8 Bug #612212: Provide a method to set the default budget
Patch by Jeff Kletsky.

(Cstim: Accepted even though string freeze is in effect because it was
submitted before the freeze. Also, the string additions are very minor.)

Summary of Changes:

* Initial story related to providing default budget control
  * Add a "Budgeting" tab to the book-level preferences dialog
  * Add a "Default Budget" selector to the "Budgeting" tab
  * Modify gnc_budget_get_default() to
    * Respect the new KVP, if present
    * Fall back to 2.2.x behavior, if not present
  * Modify gnc:make-budget-option
    * Reformatted for readability with additional comments
    * Default is now "#f" so that selected value is always saved
      Otherwise, if selection happened to be the current default
      and the default was later changed, the report would change
    * getter, setter, and generate-restore-form all now consistent
      * setter now always takes a budget object
      * generate-restore-form does not rely on "hack" in setter that
          previously allowed either a budget object or a GUID string
          This is a different fix for 603215 -- see Known Issues

* Provide translation support for "Trading Acccounts" (and "Budgeting")
  * Refactor #define names for consistency and extensibility
    * KVP_OPTION_PATH for consistency with Guile usage
    * OPTION_SECTION_blahblah
    * OPTION_NAME_blahblah
  * Modify qofbookslots.h to be "SWIG-aware"
  * Pick up qofbookslots.h in make-gnucash-potfiles.in and po/POTFILES.in

Known Issues:

* There is no selection (yet) for "Use default budget" so changing the
  default budget and reloading a report does not change the budget used

* setter is no more robust to "bad" values than in previous code

* Budget reports created with 2.3.x after r18528 (between 2.3.8 and
  2.3.9) may not load or re-render as they relied on the setter taking
  either a budget object or a GUID as a string This should not impact
  any 2.2.x users as nothing was saved under 2.2.x related to the
  default budget. This can be resolved through removing the option
  restore code in ~/.gnucash/saved-reports-2.4 and, if affected reports
  were open, in ~/.gnucash/books/<name_of_book>

* Budget reports prior to r18528 did not save budget selection (603215)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19123 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-06 09:01:46 +00:00
Geert Janssens
ebc1f49532 Remove some additional QSF references
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19102 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-04 22:51:54 +00:00
Christian Stimming
90e34f2ae6 Add src/gnome/gnucash.desktop.in.in to the translation input files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19052 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-22 20:45:22 +00:00
Phil Longstaff
dcdc943f3a 1) Remove obsolete xxx-backend-file files (now are backend-xml)
2) Fix 'make check', 'make dist' and 'make distcheck' problems

Make distcheck now passes



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18045 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-12 17:14:21 +00:00
Derek Atkins
e52c8693a2 Ignore the python-bindings when building translations.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17990 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-13 15:07:39 +00:00
Christian Stimming
a1d189431e Add ignore pattern to POTFILES.in creation to ignore swig generated files.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17488 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-09-02 07:13:13 +00:00
Andreas Köhler
172877f43e Add gnc-date.c to make-gnucash-potfiles.in and missing aqbanking files to POTFILES.in.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17423 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-27 16:08:21 +00:00
Christian Stimming
e3f63d58f0 Add po/POTFILES.in to SVN so that l10n.gnome.org can download it directly.
Also, modify build rules so that POTFILES.in is no longer generated
automatically during make dist, but only on explicit "make pot", because
the build rule will now modify POTFILES.in in the srcdir and no longer
in the builddir.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16864 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-15 20:40:19 +00:00
Andreas Köhler
5bc3569911 Fix r16733 and r16782 by removing the contents of po/POTFILES.ignore from po/POTFILES.
For more detail, see
http://lists.gnucash.org/pipermail/gnucash-devel/2008-January/022043.html.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16837 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-07 20:19:06 +00:00
Chris Shoemaker
9b20cbd6d2 Allow make-gnucash-potfiles to run from directories other than srcdir.
Better documentation of exactly what m-g-potfiles excludes, and a general
   clean-up of the script.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13079 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-02 18:47:34 +00:00
Chris Shoemaker
d814359990 When generating POTFILES.in, don't include files we don't want to translate.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13066 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-01 20:32:11 +00:00
David Hampton
b0b5380840 Rework schema infrastructure so that all schema strings will appear
for translation, and the translations will be incorporated back into
the schema files.  Fixed bugs #327507 and #327353.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12863 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 00:40:32 +00:00
Derek Atkins
efe7f9c4e6 ignore dangling symlinks when building po/POTFILES.in
* make-gnucash-potfiles.in: ignore dangling symlinks when
	  building po/POTFILES.in



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12312 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-10 22:10:22 +00:00
Christian Stimming
036c77f923 Update potfiles script so that it works again without the cvsignore
files.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11933 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-14 20:36:33 +00:00
Neil Williams
3696a99e18 adding a libqof file to translation list and script
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11921 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-13 16:20:49 +00:00
David Hampton
f28d033d74 Collapse the gnome2 branch back into HEAD.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11565 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-02 03:32:36 +00:00
Dave Peticolas
54393d0a06 Collect all translatable strings in scm files in intl-scm.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5384 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-09-18 10:12:50 +00:00
Dave Peticolas
92d699e074 Refactor gncGetCurrentGroup dependencies.
Add .desktop.in and .keys.in files to
potfiles search.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5382 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-09-18 07:26:42 +00:00
Dave Peticolas
238d3801bf Use xml-i18n-tools to capture glade strings. Glade string files
are no longer needed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5381 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-09-17 22:27:01 +00:00
Dave Peticolas
27b15ffe3e Add file for creating POTFILES.in. Update POTFILES.in.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5151 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-08-17 08:28:31 +00:00