Skip to content

Commit c2230f0

Browse files
authored
Merge pull request #245 from twittem/issue/244
Translate a string in fallback function
2 parents 1e869ed + 14ec79c commit c2230f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wp_bootstrap_navwalker.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Class Name: wp_bootstrap_navwalker
55
* GitHub URI: https://github.com/twittem/wp-bootstrap-navwalker
66
* Description: A custom WordPress nav walker class to implement the Bootstrap 3 navigation style in a custom theme using the WordPress built in menu manager.
7-
* Version: 2.0.4
7+
* Version: 2.0.5
88
* Author: Edward McIntyre - @twittem
99
* License: GPL-2.0+
1010
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
@@ -194,7 +194,7 @@ public static function fallback( $args ) {
194194
$fb_output .= ' class="' . $menu_class . '"';
195195

196196
$fb_output .= '>';
197-
$fb_output .= '<li><a href="' . admin_url( 'nav-menus.php' ) . '">Add a menu</a></li>';
197+
$fb_output .= '<li><a href="' . admin_url( 'nav-menus.php' ) . '">'. __('Add a menu', 'wp-bootstrap-navwalker') .'</a></li>';
198198
$fb_output .= '</ul>';
199199

200200
if ( $container )

0 commit comments

Comments
 (0)