From 4dccf1ed93948f6e75750c31ba6bb0abf053e52b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 5 Mar 2007 13:50:46 +0100 Subject: more i18n work --- functions.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 7554ad9ba..14c68e864 100644 --- a/functions.php +++ b/functions.php @@ -3188,6 +3188,14 @@ $msg"; } + function print_notice($msg) { + return print format_notice($msg); + } + + function print_warning($msg) { + return print format_warning($msg); + } + function startup_gettext() { # Get locale from Accept-Language header @@ -3201,4 +3209,9 @@ } } + function T_sprintf() { + $args = func_get_args(); + return vsprintf(__(array_shift($args)), $args); + } + ?> -- cgit v1.2.3