Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv2241/phpwiki/lib
Modified Files:
WikiPlugin.php
Log Message:
Plugin description "tooltip" is now localized if a translation is present. (Also restored plugin name to its previous unlocalized state--my code was unexpectedly incomplete; so it will have to wait.)
Index: WikiPlugin.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/WikiPlugin.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** WikiPlugin.php 2001/12/15 10:55:20 1.3
--- WikiPlugin.php 2001/12/15 11:28:15 1.4
***************
*** 20,24 ****
function getDescription() {
! return $this->description;
}
--- 20,24 ----
function getDescription() {
! return _($this->description);
}
***************
*** 128,132 ****
$attr['onmouseout'] = "window.status='';return true;";
}
! return QElement('a', $attr, $args['linktext']);
}
--- 128,132 ----
$attr['onmouseout'] = "window.status='';return true;";
}
! return QElement('a', $attr, _($args['linktext']));
}
|