intltool r772 - trunk
- From: dobey svn gnome org
- To: svn-commits-list gnome org
- Subject: intltool r772 - trunk
- Date: Sat, 14 Mar 2009 17:14:50 +0000 (UTC)
Author: dobey
Date: Sat Mar 14 17:14:49 2009
New Revision: 772
URL: http://svn.gnome.org/viewvc/intltool?rev=772&view=rev
Log:
Update README to not suggest putting intltool-*.in in EXTRA_DIST
Update README to refer to .server files instead of .oaf
Modified:
trunk/ChangeLog
trunk/README
Modified: trunk/README
==============================================================================
--- trunk/README (original)
+++ trunk/README Sat Mar 14 17:14:49 2009
@@ -47,10 +47,6 @@
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 @@
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)
.....................................................
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]