geno/wp-content/plugins/woocommerce/i18n/units.php

29 lines
680 B
PHP
Raw Permalink Normal View History

2024-02-01 17:24:18 +05:30
<?php
/**
* Units
*
* Returns a multidimensional array of measurement units and their labels.
* Unit labels should be defined in English and translated native through localization files.
*
* @package WooCommerce\i18n
* @version
*/
defined( 'ABSPATH' ) || exit;
return array(
'weight' => array(
'kg' => __( 'kg', 'woocommerce' ),
'g' => __( 'g', 'woocommerce' ),
'lbs' => __( 'lbs', 'woocommerce' ),
'oz' => __( 'oz', 'woocommerce' ),
),
'dimensions' => array(
'm' => __( 'm', 'woocommerce' ),
'cm' => __( 'cm', 'woocommerce' ),
'mm' => __( 'mm', 'woocommerce' ),
'in' => __( 'in', 'woocommerce' ),
'yd' => __( 'yd', 'woocommerce' ),
),
);