Skip to content

Commit 3dd10ff

Browse files
authored
Merge pull request #4084 from DAnn2012/patch-2
Fixed string translation in the examples in two files
2 parents a5a7ca5 + 6eccadc commit 3dd10ff

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

sample/barebones-config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
// SOCIAL ICONS → Set up custom links in the footer for quick links in your panel footer icons.
176176
$args['share_icons'][] = array(
177177
'url' => '//github.com/ReduxFramework/ReduxFramework',
178-
'title' => 'Visit us on GitHub',
178+
'title' => esc_html__( 'Visit us on GitHub', 'your-textdomain-here' ),
179179
'icon' => 'el el-github',
180180
);
181181
$args['share_icons'][] = array(

sample/sample-config.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -243,22 +243,22 @@
243243
// If these are left unchanged, they will not display in your panel!
244244
$args['share_icons'][] = array(
245245
'url' => '//github.com/ReduxFramework/ReduxFramework',
246-
'title' => 'Visit us on GitHub',
246+
'title' => __( 'Visit us on GitHub', 'your-textdomain-here' ),
247247
'icon' => 'el el-github',
248248
);
249249
$args['share_icons'][] = array(
250250
'url' => '//www.facebook.com/pages/Redux-Framework/243141545850368',
251-
'title' => 'Like us on Facebook',
251+
'title' => __( 'Like us on Facebook', 'your-textdomain-here' ),
252252
'icon' => 'el el-facebook',
253253
);
254254
$args['share_icons'][] = array(
255255
'url' => '//twitter.com/reduxframework',
256-
'title' => 'Follow us on Twitter',
256+
'title' => __( 'Follow us on Twitter', 'your-textdomain-here' ),
257257
'icon' => 'el el-twitter',
258258
);
259259
$args['share_icons'][] = array(
260260
'url' => '//www.linkedin.com/company/redux-framework',
261-
'title' => 'Find us on LinkedIn',
261+
'title' => __( 'Find us on LinkedIn', 'your-textdomain-here' ),
262262
'icon' => 'el el-linkedin',
263263
);
264264

0 commit comments

Comments
 (0)