WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/25/2016 10:25:08 PM (19 months ago)
Author:
ocean90
Message:

Tests: Update language files to include a Language header.

See #26511.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/l10n.php

    r37746 r38930  
    8686
    8787        $array = get_available_languages( DIR_TESTDATA . '/languages/' );
    88         $this->assertEquals( array( 'en_GB', 'es_ES' ), $array );
     88        $this->assertEquals( array( 'de_DE', 'en_GB', 'es_ES' ), $array );
    8989    }
    9090
     
    100100        $this->assertNotEmpty( $installed_translations['default']['en_GB'] );
    101101        $data_en_GB = $installed_translations['default']['en_GB'];
    102         $this->assertEquals( '2016-01-14 21:14:29+0000', $data_en_GB['PO-Revision-Date'] );
     102        $this->assertEquals( '2016-10-26 00:01+0200', $data_en_GB['PO-Revision-Date'] );
    103103        $this->assertEquals( 'Development (4.4.x)', $data_en_GB['Project-Id-Version'] );
    104         $this->assertEquals( 'GlotPress/1.0-alpha-1100', $data_en_GB['X-Generator'] );
     104        $this->assertEquals( 'Poedit 1.8.10', $data_en_GB['X-Generator'] );
    105105
    106106        $this->assertNotEmpty( $installed_translations['admin']['es_ES'] );
    107107        $data_es_ES = $installed_translations['admin']['es_ES'];
    108         $this->assertEquals( '2015-12-22 20:26:46+0000', $data_es_ES['PO-Revision-Date'] );
     108        $this->assertEquals( '2016-10-25 18:29+0200', $data_es_ES['PO-Revision-Date'] );
    109109        $this->assertEquals( 'Administration', $data_es_ES['Project-Id-Version'] );
    110         $this->assertEquals( 'GlotPress/1.0-alpha-1100', $data_es_ES['X-Generator'] );
     110        $this->assertEquals( 'Poedit 1.8.10', $data_es_ES['X-Generator'] );
    111111    }
    112112
Note: See TracChangeset for help on using the changeset viewer.