Skip to content

Commit 55356ca

Browse files
author
Michiel Verkoijen
committed
Updated texts.
1 parent 88812a4 commit 55356ca

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/class-tiny-plugin.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function admin_init() {
5757

5858
public function admin_menu() {
5959
add_management_page(
60-
self::translate('Compress JPEG & PNG Images'), self::translate('Compress all images'),
60+
self::translate('Compress JPEG & PNG Images'), self::translate('Compress All Images'),
6161
'upload_files', 'tiny-bulk-compress', $this->get_method('bulk_compress_page')
6262
);
6363

@@ -75,7 +75,7 @@ public function enqueue_scripts($hook) {
7575
wp_localize_script($handle, 'tinyCompress', array(
7676
'nonce' => wp_create_nonce('tiny-compress'),
7777
'L10nAllDone' => self::translate('All images are processed'),
78-
'L10nBulkAction' => self::translate('Compress images'),
78+
'L10nBulkAction' => self::translate('Compress Images'),
7979
'L10nCompressing' => self::translate('Compressing'),
8080
'L10nCompressions' => self::translate('compressions'),
8181
'L10nError' => self::translate('Error'),
@@ -225,7 +225,7 @@ public function bulk_compress_page() {
225225
echo '<input type="hidden" name="_wpnonce" value="' . wp_create_nonce('tiny-bulk-compress') . '">';
226226
echo '<input type="hidden" name="tiny-bulk-compress" value="1">';
227227
echo '<p><button class="button button-primary button-large" type="submit">' .
228-
self::translate_escape('Compress all images') . '</p>';
228+
self::translate_escape('Compress All Images') . '</p>';
229229
echo '</form>';
230230
} else {
231231
check_admin_referer('tiny-bulk-compress');

src/languages/tiny-compress-images-nl_NL.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ msgstr "Compressie"
3737
msgid "Compress"
3838
msgstr "Comprimeer"
3939

40-
msgid "Compress images"
41-
msgstr "Comprimeer afbeeldingen"
40+
msgid "Compress Images"
41+
msgstr "Comprimeer Afbeeldingen"
4242

4343
msgid "Compressed %d out of %d sizes"
4444
msgstr "%d van de %d afmetingen zijn gecomprimeerd"
@@ -142,8 +142,8 @@ msgstr "Upgrade je %s als je meer afbeeldingen wilt comprimeren"
142142
msgid "Please fill in an API key to start compressing images"
143143
msgstr "Vul een API-sleutel in om te starten met comprimeren"
144144

145-
msgid "Compress all images"
146-
msgstr "Comprimeer alle afbeeldingen"
145+
msgid "Compress All Images"
146+
msgstr "Comprimeer Alle Afbeeldingen"
147147

148148
msgid "Compress JPEG & PNG Images"
149149
msgstr "Comprimeer JPEG & PNG afbeeldingen"

test/integration/BulkCompressIntegrationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function tearDown() {
1717
public function testBulkCompressActionShouldBePresentInMedia() {
1818
$this->upload_image(dirname(__FILE__) . '/../fixtures/input-example.png');
1919
self::$driver->get(wordpress('/wp-admin/upload.php?mode=list'));
20-
$this->assertEquals('Compress images', self::$driver->findElement(
20+
$this->assertEquals('Compress Images', self::$driver->findElement(
2121
WebDriverBy::cssSelector('select[name="action"] option[value="tiny_bulk_compress"]')
2222
)->getText());
2323
}

0 commit comments

Comments
 (0)