Skip to content

Commit 2873f3e

Browse files
committed
Refactor Browse string to Choose File
Browse is not part of the Wordpress translatation file so it doesn't get translated. Choose File is and will be translated according to the langauge Wordpress is set. Signed-off-by: Roi Dayan <[email protected]>
1 parent eaacd6a commit 2873f3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/class.settings-api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ function callback_file( $args ) {
345345
$id = $args['section'] . '[' . $args['id'] . ']';
346346

347347
$html = sprintf( '<input type="text" class="%1$s-text wpsa-url" id="%2$s[%3$s]" name="%2$s[%3$s]" value="%4$s"/>', $size, $args['section'], $args['id'], $value );
348-
$html .= '<input type="button" class="button wpsa-browse" value="'.__( 'Browse' ).'" />';
348+
$html .= '<input type="button" class="button wpsa-browse" value="' . __( 'Choose File' ) . '" />';
349349
$html .= $this->get_field_description( $args );
350350

351351
echo $html;

0 commit comments

Comments
 (0)