| @@ -1,8 +1,5 @@ | ||
| 1 | 1 | <?php |
| 2 | -/** | |
| 3 | - * @package Polylang | |
| 4 | - */ | |
| 5 | 2 | |
| 6 | 3 | /** |
| 7 | 4 | * Polylang activation / de-activation class |
| 8 | 5 | * |
| @@ -36,9 +33,9 @@ | ||
| 36 | 33 | * |
| 37 | 34 | * @since 2.6.7 |
| 38 | 35 | */ |
| 39 | 36 | public function php_version_notice() { |
| 40 | - load_plugin_textdomain( 'polylang' ); // Plugin i18n. | |
| 37 | + load_plugin_textdomain( 'polylang', false, basename( POLYLANG_DIR ) . '/languages' ); // Plugin i18n. | |
| 41 | 38 | |
| 42 | 39 | printf( |
| 43 | 40 | '<div class="error"><p>%s</p></div>', |
| 44 | 41 | sprintf( |
| @@ -58,9 +55,9 @@ | ||
| 58 | 55 | */ |
| 59 | 56 | public function wp_version_notice() { |
| 60 | 57 | global $wp_version; |
| 61 | 58 | |
| 62 | - load_plugin_textdomain( 'polylang' ); // Plugin i18n. | |
| 59 | + load_plugin_textdomain( 'polylang', false, basename( POLYLANG_DIR ) . '/languages' ); // Plugin i18n. | |
| 63 | 60 | |
| 64 | 61 | printf( |
| 65 | 62 | '<div class="error"><p>%s</p></div>', |
| 66 | 63 | sprintf( |