summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authordobey <>2009-03-14 17:14:49 +0000
committerdobey <>2009-03-14 17:14:49 +0000
commit1c090bd910b9013e7f78f309a43cc067750d4e7c (patch)
tree348c6e9c880358435931dd79a45b34a135a56de7 /README
parent3ac1998f9478fac38af4baa377c3e3c9bdf93006 (diff)
downloadintltool-1c090bd910b9013e7f78f309a43cc067750d4e7c.tar.gz
Update README to not suggest putting intltool-*.in in EXTRA_DIST
Update README to refer to .server files instead of .oaf
Diffstat (limited to 'README')
-rw-r--r--README29
1 files changed, 9 insertions, 20 deletions
diff --git a/README b/README
index 5ec572c..ba91348 100644
--- a/README
+++ b/README
@@ -47,10 +47,6 @@ To use intltool in your module, do the following:
IT_PROG_INTLTOOL([minimum required version], [no-xml])
- o Add intltool-extract.in, intltool-merge.in, and intltool-update.in
- to EXTRA_DIST in your top-level Makefile.am and also to the top-level
- .cvsignore. Also add the non-.in versions to .cvsignore.
-
o Add intltool-extract, intltool-merge, and intltool-update to
DISTCLEANFILES in your top-level Makefile.am.
@@ -132,40 +128,33 @@ Extra Steps for GLADE Files
them from POTFILES.in
-Extra Steps for SERVER Files (formerly .oafinfo or .oaf)
+Extra Steps for SERVER Files (formerly .server)
.............................
To get server translation extraction and merging requires a few more steps:
- o Rename your .oafinfo (or .oaf) files to .oaf.in or .server.in and put an
+ o Rename your .server files to .server.in and put an
underscore before every value property for string attributes that should
be localized.
- o Add the new .oaf.in or .server.in files to POTFILES.in.
+ o Add the new .server.in or .server.in files to POTFILES.in.
o Put lines like these in every Makefile.am that installs oaf files:
--- start ----
- oafdir = $(datadir)/oaf
+ serverdir = $(libdir)/bonobo/servers
- oaf_in_files = My_OAF_info_file.oaf.in
- oaf_DATA = $(oaf_in_files:.oaf.in=.oaf)
+ server_in_files = My_Server_file.server.in
+ server_DATA = $(server_in_files:.server.in=.server)
- @INTLTOOL_OAF_RULE@
+ @INTLTOOL_SERVER_RULE@
- EXTRA_DIST=$(oaf_in_files) $(oaf_DATA)
+ EXTRA_DIST=$(server_in_files) $(server_DATA)
--- end ----
-At this point, your oaf translations will be extracted and
-merged. Also, so long as you are renaming the .oafinfo files to
-.oaf.in, you should take the opportunity to rename them to the new base
-naming convention, with namespacing, for example:
-
- foo.oafinfo --> GNOME_Foo.oaf.in
- foo-baa.oafinfo --> GNOME_Foo_baa.oaf.in
-
+At this point, your server translations will be extracted and merged.
Extra Steps for XML Files (Files with .xml Extension)
.....................................................