| @@ -1,30 +1,35 @@ | ||
| 1 | 1 | <?php |
| 2 | + | |
| 2 | 3 | /** |
| 3 | - * Displays the content of the About metabox | |
| 4 | - * | |
| 5 | - * @package Polylang | |
| 4 | + * displays the content of the About metabox | |
| 6 | 5 | */ |
| 7 | 6 | |
| 8 | 7 | if ( ! defined( 'ABSPATH' ) ) { |
| 9 | - exit; // Don't access directly | |
| 8 | + exit; // don't access directly | |
| 10 | 9 | }; |
| 11 | 10 | ?> |
| 12 | -<p> | |
| 13 | - <?php | |
| 11 | +<p><?php | |
| 12 | +printf( | |
| 13 | + /* translators: %s are html tags */ | |
| 14 | + esc_html__( 'Polylang is provided with an extensive %sdocumentation%s (in English only). It includes information on how to set up your multilingual site and use it on a daily basis, a FAQ, as well as a documentation for developers to adapt their plugins and themes.', 'polylang' ), | |
| 15 | + '<a href="https://polylang.pro/doc/">', | |
| 16 | + '</a>' | |
| 17 | +); | |
| 18 | +if ( ! defined( 'POLYLANG_PRO' ) ) { | |
| 19 | + echo ' '; | |
| 14 | 20 | printf( |
| 15 | - /* translators: %1$s is link start tag, %2$s is link end tag. */ | |
| 16 | - esc_html__( 'Polylang is provided with an extensive %1$sdocumentation%2$s (in English). It includes information on how to set up your multilingual site and use it on a daily basis; FAQs, and documentation for developers to adapt their plugins and themes.', 'polylang' ), | |
| 17 | - '<a href="https://polylang.pro/doc/">', | |
| 21 | + /* translators: %s are html tags */ | |
| 22 | + esc_html__( 'Support and extra features are available to %sPolylang Pro%s users.' ), | |
| 23 | + '<a href="https://polylang.pro">', | |
| 18 | 24 | '</a>' |
| 19 | 25 | ); |
| 20 | - if ( ! defined( 'POLYLANG_PRO' ) ) { | |
| 21 | - echo ' '; | |
| 22 | - printf( | |
| 23 | - /* translators: %1$s is link start tag, %2$s is link end tag. */ | |
| 24 | - esc_html__( 'Support and extra features are available to %1$sPolylang Pro%2$s users.', 'polylang' ), | |
| 25 | - '<a href="https://polylang.pro">', | |
| 26 | - '</a>' | |
| 27 | - ); | |
| 28 | - } | |
| 29 | - ?> | |
| 26 | +}?> | |
| 30 | 27 | </p> |
| 28 | +<p><?php | |
| 29 | +printf( | |
| 30 | + /* translators: %s are html tags */ | |
| 31 | + esc_html__( 'Polylang is released under the same license as WordPress, the %sGPL%s.', 'polylang' ), | |
| 32 | + '<a href="http://wordpress.org/about/gpl/">', | |
| 33 | + '</a>' | |
| 34 | +); | |
| 35 | + | |