summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-03-05 13:50:46 +0100
committerAndrew Dolgov <[email protected]>2007-03-05 13:50:46 +0100
commit4dccf1ed93948f6e75750c31ba6bb0abf053e52b (patch)
treefb071c51f25d2551e67b144405722fba655bf734 /functions.php
parent8497d2b976c320604929efd8055155380ebe3814 (diff)
more i18n work
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index 7554ad9ba..14c68e864 100644
--- a/functions.php
+++ b/functions.php
@@ -3188,6 +3188,14 @@
<img src=\"images/sign_info.png\">$msg</div>";
}
+ 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);
+ }
+
?>