mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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
This commit is contained in:
parent
fefb86c6c5
commit
b0b5380840
@ -1,3 +1,11 @@
|
||||
2006-01-18 David Hampton <hampton@employees.org>
|
||||
|
||||
* All xxx.schemas files renamed to xxx.schemas.in.
|
||||
* All schema directory Makefile.am files replaced.
|
||||
* make-gnucash-potfiles.in: Now also pulls strings from schema
|
||||
files. Together these fix bugs #327507 and #327353 which are
|
||||
about schema file strings not being translated.
|
||||
|
||||
2006-01-18 Joshua Sled <jsled@asynchronous.org>
|
||||
|
||||
* src/gnome/dialog-sx-from-trans.c (sxftd_update_fs): Propgate
|
||||
|
@ -10,7 +10,9 @@ use strict;
|
||||
|
||||
use File::Basename;
|
||||
|
||||
my @possible_files = `find src -name '*.c' -o -name '*.glade' -o -name '*.desktop.in' -o -name '*.keys.in' |sort`;
|
||||
my @possible_files = `find src -name '*.c' -o -name '*.glade' \\
|
||||
-o -name '*.desktop.in' -o -name '*.keys.in' \\
|
||||
-o -name '*.schemas.in' |sort`;
|
||||
## For perl files add the following:
|
||||
# -o -name '*.pl'
|
||||
|
||||
|
@ -1,15 +1,10 @@
|
||||
schemadir = @GCONF_SCHEMA_FILE_DIR@
|
||||
dist_schema_DATA = \
|
||||
apps_gnucash_dialog_business_common.schemas
|
||||
schemas_in_files = \
|
||||
apps_gnucash_dialog_business_common.schemas.in
|
||||
schema_DATA = $(schemas_in_files:.schemas.in=.schemas)
|
||||
|
||||
install-data-local:
|
||||
if GCONF_SCHEMAS_INSTALL
|
||||
-mkdir -p $(GCONF_SCHEMA_CONFIG_SOURCE_DIRONLY)
|
||||
-GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) gconftool-2 --makefile-install-rule $(srcdir)/$(dist_schema_DATA)
|
||||
endif
|
||||
@INTLTOOL_SCHEMAS_RULE@
|
||||
|
||||
uninstall-local:
|
||||
if GCONF_SCHEMAS_INSTALL
|
||||
-GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) gconftool-2 --makefile-uninstall-rule $(srcdir)/$(dist_schema_DATA)
|
||||
endif
|
||||
EXTRA_DIST = $(schemas_in_files)
|
||||
|
||||
CLEANFILES = $(schema_DATA)
|
||||
|
@ -1,15 +1,10 @@
|
||||
schemadir = @GCONF_SCHEMA_FILE_DIR@
|
||||
dist_schema_DATA = \
|
||||
apps_gnucash_history.schemas
|
||||
schemadir = @GCONF_SCHEMA_FILE_DIR@
|
||||
schemas_in_files = \
|
||||
apps_gnucash_history.schemas.in
|
||||
schema_DATA = $(schemas_in_files:.schemas.in=.schemas)
|
||||
|
||||
install-data-local:
|
||||
if GCONF_SCHEMAS_INSTALL
|
||||
-mkdir -p $(GCONF_SCHEMA_CONFIG_SOURCE_DIRONLY)
|
||||
-GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) gconftool-2 --makefile-install-rule $(srcdir)/$(dist_schema_DATA)
|
||||
endif
|
||||
@INTLTOOL_SCHEMAS_RULE@
|
||||
|
||||
uninstall-local:
|
||||
if GCONF_SCHEMAS_INSTALL
|
||||
-GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) gconftool-2 --makefile-uninstall-rule $(srcdir)/$(dist_schema_DATA)
|
||||
endif
|
||||
EXTRA_DIST = $(schemas_in_files)
|
||||
|
||||
CLEANFILES = $(schema_DATA)
|
||||
|
@ -1,23 +1,18 @@
|
||||
schemadir = @GCONF_SCHEMA_FILE_DIR@
|
||||
dist_schema_DATA = \
|
||||
apps_gnucash_dialog_common.schemas \
|
||||
apps_gnucash_dialog_commodities.schemas \
|
||||
apps_gnucash_dialog_prices.schemas \
|
||||
apps_gnucash_dialog_reconcile.schemas \
|
||||
apps_gnucash_dialog_totd.schemas \
|
||||
apps_gnucash_general.schemas \
|
||||
apps_gnucash_warnings.schemas \
|
||||
apps_gnucash_window_pages_account_tree.schemas \
|
||||
apps_gnucash_window_pages_register.schemas
|
||||
schemas_in_files = \
|
||||
apps_gnucash_dialog_common.schemas.in \
|
||||
apps_gnucash_dialog_commodities.schemas.in \
|
||||
apps_gnucash_dialog_prices.schemas.in \
|
||||
apps_gnucash_dialog_reconcile.schemas.in \
|
||||
apps_gnucash_dialog_totd.schemas.in \
|
||||
apps_gnucash_general.schemas.in \
|
||||
apps_gnucash_warnings.schemas.in \
|
||||
apps_gnucash_window_pages_account_tree.schemas.in \
|
||||
apps_gnucash_window_pages_register.schemas.in
|
||||
schema_DATA = $(schemas_in_files:.schemas.in=.schemas)
|
||||
|
||||
install-data-local:
|
||||
if GCONF_SCHEMAS_INSTALL
|
||||
-mkdir -p $(GCONF_SCHEMA_CONFIG_SOURCE_DIRONLY)
|
||||
-GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) gconftool-2 --makefile-install-rule $(srcdir)/$(dist_schema_DATA)
|
||||
endif
|
||||
@INTLTOOL_SCHEMAS_RULE@
|
||||
|
||||
uninstall-local:
|
||||
if GCONF_SCHEMAS_INSTALL
|
||||
-GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) gconftool-2 --makefile-uninstall-rule $(srcdir)/$(dist_schema_DATA)
|
||||
endif
|
||||
EXTRA_DIST = $(schemas_in_files)
|
||||
|
||||
CLEANFILES = $(schema_DATA)
|
||||
|
@ -1,15 +1,10 @@
|
||||
schemadir = @GCONF_SCHEMA_FILE_DIR@
|
||||
dist_schema_DATA = \
|
||||
apps_gnucash_dialog_hbci.schemas
|
||||
schemas_in_files = \
|
||||
apps_gnucash_dialog_hbci.schemas.in
|
||||
schema_DATA = $(schemas_in_files:.schemas.in=.schemas)
|
||||
|
||||
install-data-local:
|
||||
if GCONF_SCHEMAS_INSTALL
|
||||
-mkdir -p $(GCONF_SCHEMA_CONFIG_SOURCE_DIRONLY)
|
||||
-GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) gconftool-2 --makefile-install-rule $(srcdir)/$(dist_schema_DATA)
|
||||
endif
|
||||
@INTLTOOL_SCHEMAS_RULE@
|
||||
|
||||
uninstall-local:
|
||||
if GCONF_SCHEMAS_INSTALL
|
||||
-GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) gconftool-2 --makefile-uninstall-rule $(srcdir)/$(dist_schema_DATA)
|
||||
endif
|
||||
EXTRA_DIST = $(schemas_in_files)
|
||||
|
||||
CLEANFILES = $(schema_DATA)
|
||||
|
@ -1,15 +1,10 @@
|
||||
schemadir = @GCONF_SCHEMA_FILE_DIR@
|
||||
dist_schema_DATA = \
|
||||
apps_gnucash_import_generic_matcher.schemas
|
||||
schemas_in_files = \
|
||||
apps_gnucash_import_generic_matcher.schemas.in
|
||||
schema_DATA = $(schemas_in_files:.schemas.in=.schemas)
|
||||
|
||||
install-data-local:
|
||||
if GCONF_SCHEMAS_INSTALL
|
||||
-mkdir -p $(GCONF_SCHEMA_CONFIG_SOURCE_DIRONLY)
|
||||
-GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) gconftool-2 --makefile-install-rule $(srcdir)/$(dist_schema_DATA)
|
||||
endif
|
||||
@INTLTOOL_SCHEMAS_RULE@
|
||||
|
||||
uninstall-local:
|
||||
if GCONF_SCHEMAS_INSTALL
|
||||
-GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) gconftool-2 --makefile-uninstall-rule $(srcdir)/$(dist_schema_DATA)
|
||||
endif
|
||||
EXTRA_DIST = $(schemas_in_files)
|
||||
|
||||
CLEANFILES = $(schema_DATA)
|
||||
|
Loading…
Reference in New Issue
Block a user