- Timestamp:
- 01/30/2024 01:59:46 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/l10n/wpTranslationsConvert.php
r57350 r57386 174 174 * @covers ::locate_translation 175 175 * @covers ::get_files 176 * @covers WP_Translation_File::translate 176 177 * 177 178 * @dataProvider data_simple_example_files … … 199 200 $this->assertSame( 'translation0 with context', $controller->translate_plural( array( 'plural0 with context', 'plural1 with context' ), 1, 'context', 'unittest' ) ); 200 201 $this->assertSame( 'translation1 with context', $controller->translate_plural( array( 'plural0 with context', 'plural1 with context' ), 2, 'context', 'unittest' ) ); 202 203 $this->assertSame( 'Produkt', $controller->translate( 'Product', '', 'unittest' ) ); 204 $this->assertSame( 'Produkt', $controller->translate_plural( array( 'Product', 'Products' ), 1, '', 'unittest' ) ); 205 $this->assertSame( 'Produkte', $controller->translate_plural( array( 'Product', 'Products' ), 2, '', 'unittest' ) ); 201 206 } 202 207
Note: See TracChangeset
for help on using the changeset viewer.