diff --git a/libs/oik-depends.php b/libs/oik-depends.php index fba1851..0dda648 100644 --- a/libs/oik-depends.php +++ b/libs/oik-depends.php @@ -1,6 +1,6 @@ -'; $text .= ' '; + /* translators: %s: plugin dependencies, comma separated */ $text .= sprintf( __( 'Please install and activate the required minimum version of this plugin: %1$s', null ), $dependencies ); $text .= "
"; if ( current_filter() == "admin_notices" ) { @@ -148,8 +149,10 @@ function oik_plugin_plugin_inactive( $plugin=null, $dependencies=null, $problem= $dependencies = str_replace( ":", ' ' . __( "version", null ) . ' ', $dependencies ); list( $depends ) = explode(' ', trim( $dependencies )); $text = ""; + /* translators: %s: plugin dependencies, comma separated */ $text .= sprintf( __( '%1$s may not be fully functional.', null), $plugin_name ); $text .= " "; + /* translators: %s: plugin dependencies, comma separated */ $text .= sprintf( __( 'Please install and activate the required minimum version of this plugin: %1$s', null ), $dependencies ); $text .= "
"; @@ -282,6 +285,7 @@ function oik_install_plugin( $plugin ) { $link = ''; + /* translators: %s: plugin name */ $link .= sprintf( __( 'Install %1$s', null ), $plugin ); $link .= ""; return( $link ); @@ -310,6 +314,7 @@ function oik_activate_plugin( $plugin, $plugin_name) { $link = ''; + /* translators: %s: plugin name */ $link .= sprintf( __( 'Activate %1$s', null ), $plugin_name ); $link .= ""; return( $link ); @@ -328,6 +333,7 @@ function oik_update_plugin( $plugin ) { $link = ''; + /* translators: %s: plugin name */ $link .= sprintf( __( 'Upgrade %1$s', null ), $plugin ); $link .= ""; return( $link );