+2005-01-12 Angus Leeming <leeming@lyx.org>
+
+ * Makefile.in.in (POTFILES.in): replace mention of path_defines.C
+ with package.C.
+
2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* de.po: update strings with context information
rm -f $@-t \
&& ( cd $(top_srcdir); \
grep -l "_(\".*\")" `find src \( -name '*.[Cch]' -o -name '*.C.in' \) -print` |\
- sed -e '/xforms.forms/d' | grep -v -e "src/support/path_defines.C$$" |\
+ sed -e '/xforms.forms/d'| grep -v -e "src/support/package.C$$" |\
sort | uniq ) > $@-t \
&& mv $@-t $@
+2005-01-12 Angus Leeming <leeming@lyx.org>
+
+ * package.C.in (package): comment out the ASSERT for now.
+ (check_env_var_dir): write one of the strings to be translated
+ (any one, doesn't matter) on a single line so that the
+ gettext search mechanism in po/Makefile.in.in will register
+ package.C.in as a file containing strings that need translation.
+
2005-01-12 Angus Leeming <leeming@lyx.org>
* os_win32.C: add #include "lstring.h" back in.
Package const & package()
{
- BOOST_ASSERT(initialised_);
+ // BOOST_ASSERT(initialised_);
return package_;
}
string const get_locale_dir(string const & system_support_dir);
string const get_system_support_dir(string const & abs_binary,
- string const & command_line_system_support_dir);
+ string const & command_line_system_support_dir);
string const get_temp_dir();
bool const success = (fi.isOK() && fi.isDir());
if (!success) {
- lyxerr << bformat(_("Invalid %1% environment variable.\n"
- "%2% is not a directory."),
- env_var, dir)
+ // Put this string on a single line so that the gettext
+ // search mechanism in po/Makefile.in.in will register
+ // package.C.in as a file containing strings that need
+ // translation.
+ string const fmt =
+ _("Invalid %1% environment variable.\n%2% is not a directory.");
+
+ lyxerr << bformat(fmt, env_var, dir)
<< std::endl;
}