Convert transformation descriptions to gettext.
[phpmyadmin/blinky.git] / libraries / transformations / text_plain__longToIpv4.inc.php
blobbcfc12a4a2c33c27b3b4c140e66b69c8039dedc2
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * @package phpMyAdmin-Transformation
5 * @version $Id$
6 */
8 function PMA_transformation_text_plain__longToIpv4_info() {
9 return array(
10 'info' => __('Converts an (IPv4) Internet network address into a string in Internet standard dotted format.'),
14 /**
15 * returns IPv4 address
17 * @see http://php.net/long2ip
19 function PMA_transformation_text_plain__longToIpv4($buffer, $options = array(), $meta = '')
21 if ($buffer < 0 || $buffer > 4294967295) {
22 return $buffer;
25 return long2ip($buffer);