SourceForge logo
SourceForge logo
Menu

phpwiki-checkins

From: Geoffrey T. D. <da...@us...> - 2001年11月29日 03:04:39
Update of /cvsroot/phpwiki/phpwiki/locale
In directory usw-pr-cvs1:/tmp/cvs-serv18546/locale
Modified Files:
	Makefile 
Log Message:
Fix so that xgettext scans templates, too, for strings to translate.
Also add -k_ flag to xgettext so that it recognizes _("") as an
alias for gettext("").
Index: Makefile
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/locale/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** Makefile	2001年05月21日 17:28:44	1.2
--- Makefile	2001年11月29日 03:04:36	1.3
***************
*** 13,17 ****
 PHP_FILES = ${MO_FILES:.mo=.php}
 
! PHP_SRC := $(wildcard ../lib/*.php ../admin/*.php)
 
 .PHONY: all po mo
--- 13,17 ----
 PHP_FILES = ${MO_FILES:.mo=.php}
 
! PHP_SRC := $(wildcard ../lib/*.php ../admin/*.php ../templates/*.html)
 
 .PHONY: all po mo
***************
*** 22,31 ****
 
 po/phpwiki.pot : ${PHP_SRC}
! 	xgettext -L C++ -o $@ $^
 
 po/%.po : po/phpwiki.pot
 	test -f $@ || touch $@
! 	mv -f $@ $@~
! 	msgmerge -o $@ $@~ $^
 
 %/LC_MESSAGES/phpwiki.mo : po/%.po
--- 22,31 ----
 
 po/phpwiki.pot : ${PHP_SRC}
! 	xgettext -L C++ -k_ -o $@ $^
 
 po/%.po : po/phpwiki.pot
 	test -f $@ || touch $@
! 	cp -f $@ $@~
! 	msgmerge -o $@.new $@~ $^ && mv -f $@.new $@
 
 %/LC_MESSAGES/phpwiki.mo : po/%.po
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /