diff options
| author | Andy Staudacher <andy.st@gmail.com> | 2009-01-08 17:13:06 +0000 |
|---|---|---|
| committer | Andy Staudacher <andy.st@gmail.com> | 2009-01-08 17:13:06 +0000 |
| commit | a631fe29f3950f8db1f7fb4ce1f47261a9b0feff (patch) | |
| tree | b5af3ad39362dea97ce01be63d5ec09b7846bb9c /core/views/admin_block_platform.html.php | |
| parent | fd081159f1783918d81e355e25e262ccc5249913 (diff) | |
i18n refactoring: Rename all _() (reserved by gettext) calls to t().
- And refactor printf to our string interpolation / pluralization syntax
- Also, a slight change to the translations_incomings table, using binary(16) instead of char(32) as message key.
Diffstat (limited to 'core/views/admin_block_platform.html.php')
| -rw-r--r-- | core/views/admin_block_platform.html.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/views/admin_block_platform.html.php b/core/views/admin_block_platform.html.php index 958097a1..2f13d5d9 100644 --- a/core/views/admin_block_platform.html.php +++ b/core/views/admin_block_platform.html.php @@ -1,15 +1,15 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <ul> <li> - <? printf(_("Operating System: %s"), PHP_OS) ?> + <?= t("Operating System: {{operating_system}}", array("operating_system" => PHP_OS)) ?> </li> <li> - <? printf(_("Apache: %s"), function_exists("apache_get_version") ? apache_get_version() : _("Unknown")) ?> + <?= t("Apache: {{apache_version}}", array("apache_version" => function_exists("apache_get_version") ? apache_get_version() : t("Unknown"))) ?> </li> <li> - <? printf(_("PHP: %s"), phpversion()) ?> + <?= t("PHP: {{php_version}}", array("php_version" => phpversion())) ?> </li> <li> - <? printf(_("MySQL: %s"), mysql_get_server_info()) ?> + <?= t("MySQL: {{mysql_version}}", array("mysql_version" => mysql_get_server_info())) ?> </li> </ul> |
