From ed9bbea779089ebd13d26c38a58d67b93fe9e84e Mon Sep 17 00:00:00 2001 From: dairiki Date: Fri, 18 Jan 2002 01:32:52 +0000 Subject: [PATCH] Adjust for templates moving from *.html to *.tmpl. git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@1318 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- locale/Makefile | 19 +++++++++++-------- locale/update-makefile.sh | 4 ++-- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/locale/Makefile b/locale/Makefile index e10b1fa69..f82ab9637 100644 --- a/locale/Makefile +++ b/locale/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.12 2002-01-17 06:52:26 carstenklapp Exp $ +# $Id: Makefile,v 1.13 2002-01-18 01:32:52 dairiki Exp $ # # locale/Makefile # @@ -97,6 +97,7 @@ ${POT_FILE}: ../lib/savepage.php ${POT_FILE}: ../lib/stdlib.php ${POT_FILE}: ../lib/Template.php ${POT_FILE}: ../lib/TextSearchQuery.php +${POT_FILE}: ../lib/Theme.php ${POT_FILE}: ../lib/transform.php ${POT_FILE}: ../lib/WikiCallback.php ${POT_FILE}: ../lib/WikiDB/backend/cvs.php @@ -118,14 +119,16 @@ ${POT_FILE}: ../lib/WikiDB/SQL.php ${POT_FILE}: ../lib/WikiPlugin.php ${POT_FILE}: ../lib/WikiUser.php ${POT_FILE}: ../lib/ziplib.php -${POT_FILE}: ../templates/browse.html -${POT_FILE}: ../templates/editpage.html -${POT_FILE}: ../templates/message.html +${POT_FILE}: ../themes/default/templates/body.tmpl +${POT_FILE}: ../themes/default/templates/browse.tmpl +${POT_FILE}: ../themes/default/templates/editpage.tmpl +${POT_FILE}: ../themes/default/templates/nochanges.tmpl +${POT_FILE}: ../themes/default/templates/savepage.tmpl +${POT_FILE}: ../themes/default/templates/top.tmpl +${POT_FILE}: ../themes/default/templates/viewsource.tmpl ${POT_FILE}: ../themes/default/themeinfo.php -${POT_FILE}: ../themes/Hawaiian/pictures/random.php +${POT_FILE}: ../themes/Hawaiian/images/pictures/random.php ${POT_FILE}: ../themes/Hawaiian/themeinfo.php -${POT_FILE}: ../themes/MacOSX/templates/browse.html -${POT_FILE}: ../themes/MacOSX/templates/editpage.html -${POT_FILE}: ../themes/MacOSX/templates/message.html +${POT_FILE}: ../themes/MacOSX/lib/RecentChanges.php ${POT_FILE}: ../themes/MacOSX/themeinfo.php ${POT_FILE}: ../themes/WikiTrek/themeinfo.php diff --git a/locale/update-makefile.sh b/locale/update-makefile.sh index 00270103d..9fc01d5f5 100644 --- a/locale/update-makefile.sh +++ b/locale/update-makefile.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $Id: update-makefile.sh,v 1.4 2002-01-14 14:15:02 rurban Exp $ +# $Id: update-makefile.sh,v 1.5 2002-01-18 01:32:52 dairiki Exp $ # # This shell script is used to update the list of .po files and the # dependencies for phpwiki.pot in the Makefile. @@ -38,7 +38,7 @@ po_files () { # by xgettext() for localizeable strings. # find ../lib fails on cygwin pot_file_deps () { - (cd ..; find lib templates themes \( -name "*.php" -o -name "*.html" \)) | + (cd ..; find lib templates themes \( -name "*.php" -o -name "*.tmpl" \)) | sed 's|^|${POT_FILE}: ../|;' | sort } -- 2.45.0