dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e7cecd
)
Kludge for the present state of PHPTAL 1.0.0's i18n:attributes, which isn't backwards...
author
Brion Vibber
<brion@users.mediawiki.org>
Sat, 23 Oct 2004 07:37:48 +0000
(07:37 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sat, 23 Oct 2004 07:37:48 +0000
(07:37 +0000)
includes/SkinPHPTal.php
patch
|
blob
|
history
diff --git
a/includes/SkinPHPTal.php
b/includes/SkinPHPTal.php
index
f6cc7b9
..
f986ae4
100644
(file)
--- a/
includes/SkinPHPTal.php
+++ b/
includes/SkinPHPTal.php
@@
-63,6
+63,9
@@
class MediaWiki_I18N {
}
function translate($value) {
+ // Hack for i18n:attributes in PHPTAL 1.0.0 dev version as of 2004-10-23
+ $value = preg_replace( '/^string:/', '', $value );
+
$value = wfMsg( $value );
// interpolate variables
while (preg_match('/\$([0-9]*?)/sm', $value, $m)) {