diff --git a/src/views/admin/components/metadata-types/geocoordinate/class-tainacan-geocoordinate.php b/src/views/admin/components/metadata-types/geocoordinate/class-tainacan-geocoordinate.php index 82a26ad3f..7ab020dc2 100644 --- a/src/views/admin/components/metadata-types/geocoordinate/class-tainacan-geocoordinate.php +++ b/src/views/admin/components/metadata-types/geocoordinate/class-tainacan-geocoordinate.php @@ -17,7 +17,7 @@ class GeoCoordinate extends Metadata_Type { $this->set_primitive_type('geo'); $this->set_component('tainacan-geocoordinate'); $this->set_form_component('tainacan-form-geocoordinate'); - $this->set_name( __('Geographical Location', 'tainacan') ); + $this->set_name( __('GeoCoordinate', 'tainacan') ); $this->set_description( __('Represents a geographical location that is determined by latitude and longitude coordinates.', 'tainacan') ); $this->set_preview_template('
diff --git a/tests/test-metadata.php b/tests/test-metadata.php index 3e0a7ab6f..5ec3b6d56 100644 --- a/tests/test-metadata.php +++ b/tests/test-metadata.php @@ -197,7 +197,7 @@ class Metadata extends TAINACAN_UnitTestCase { */ function test_metadata_metadata_type(){ $Tainacan_Metadata = \Tainacan\Repositories\Metadata::get_instance(); - $this->assertEquals( 9, sizeof( $Tainacan_Metadata->fetch_metadata_types() ) ); + $this->assertEquals( 10, sizeof( $Tainacan_Metadata->fetch_metadata_types() ) ); } /**