- Timestamp:
- 02/01/2024 11:43:21 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/l10n/wpTranslationsConvert.php
r57505 r57513 200 200 $this->assertSame( 'translation0 with context', $controller->translate_plural( array( 'plural0 with context', 'plural1 with context' ), 1, 'context', 'unittest' ) ); 201 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' ) ); 202 206 } 203 207
Note: See TracChangeset
for help on using the changeset viewer.