Skip to content

Commit 61edd18

Browse files
author
Antti Kuosmanen
committed
Add missing text domain for "View Attachment"
1 parent c99c1a4 commit 61edd18

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

classes/class-cpt-wplf-submission.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ function metabox_submission() {
206206
// if the field ends with '_attachment' and there is an attachment url that corresponds to the id, show a link
207207
$attachment_suffix = '_attachment';
208208
if ( substr( $field, -strlen( $attachment_suffix ) ) === $attachment_suffix && wp_get_attachment_url( $value ) ) {
209-
$link_text = __( 'View Attachment' );
209+
$link_text = __( 'View Attachment', 'wp-libre-form' );
210210
$possible_link = '<a target="_blank" href="' . get_edit_post_link( $value ) . '" style="float:right">' . $link_text . '</a>';
211211
}
212212

0 commit comments

Comments
 (0)