diff options
author | Marc Delisle <marc@infomarc.info> | 2010-05-03 20:57:46 +0400 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2010-05-03 20:57:46 +0400 |
commit | f55823f47fd099cbbc3717fdbf0cfec8135927ed (patch) | |
tree | ba1f8c432878264debe7559f7efe667bf0b3e46f /themes.php | |
parent | 86b11a41ab3cb7ccc059b7ed4e8852667e7c3261 (diff) |
strings to gettext, first batch
Diffstat (limited to 'themes.php')
-rw-r--r-- | themes.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/themes.php b/themes.php index ea3986cdb4..e6863712c0 100644 --- a/themes.php +++ b/themes.php @@ -18,7 +18,7 @@ $path_to_themes = $cfg['ThemePath'] . '/'; require_once './libraries/header_http.inc.php'; /* HTML header */ -$page_title = 'phpMyAdmin - ' . $strTheme; +$page_title = 'phpMyAdmin - ' . __('Theme / Style'); require './libraries/header_meta_style.inc.php'; ?> <script type="text/javascript" language="javascript"> @@ -29,7 +29,7 @@ function takeThis(what){ window.opener.document.forms['setTheme'].submit(); self.close(); } else { - alert('<?php echo sprintf($strNoThemeSupport, $cfg['ThemePath']); ?>'); + alert('<?php echo sprintf(__('No themes support; please check your configuration and/or your themes in directory %s.'), $cfg['ThemePath']); ?>'); self.close(); } } @@ -38,8 +38,8 @@ function takeThis(what){ </head> <body id="bodythemes"> -<h1>phpMyAdmin - <?php echo $strTheme; ?></h1> -<p><a href="http://www.phpmyadmin.net/home_page/themes.php#pma_<?php echo preg_replace('/([0-9]*)\.([0-9]*)\..*/', '\1_\2', PMA_VERSION); ?>"><?php echo $strGetMoreThemes; ?></a></p> +<h1>phpMyAdmin - <?php echo __('Theme / Style'); ?></h1> +<p><a href="http://www.phpmyadmin.net/home_page/themes.php#pma_<?php echo preg_replace('/([0-9]*)\.([0-9]*)\..*/', '\1_\2', PMA_VERSION); ?>"><?php echo __('Get more themes!'); ?></a></p> <?php $_SESSION['PMA_Theme_Manager']->printPreviews(); ?> |