fix: le traduzioni non finiscono piu' nel pacchetto, se le genera wordpress.org da translate.wordpress.org
This commit is contained in:
parent
fbae03e4f3
commit
9811e3b0c4
6 changed files with 14 additions and 184 deletions
|
|
@ -11,7 +11,6 @@
|
|||
* License: GPL-2.0-or-later
|
||||
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
||||
* Text Domain: piazza-in-festa
|
||||
* Domain Path: /languages
|
||||
*
|
||||
* @package PiazzaInFesta
|
||||
*/
|
||||
|
|
@ -47,11 +46,9 @@ require_once PINFESTA_DIR . 'includes/shortcode.php';
|
|||
require_once PINFESTA_DIR . 'includes/block.php';
|
||||
require_once PINFESTA_DIR . 'includes/settings.php';
|
||||
|
||||
// Translations are not loaded by hand: WordPress finds them on its own, both
|
||||
// the ones from translate.wordpress.org and the bundled ones in /languages
|
||||
// (Domain Path in the header above). Verified on WordPress 7.1 with an it_IT
|
||||
// site: calling load_plugin_textdomain() changes nothing and Plugin Check
|
||||
// flags it as discouraged since 4.6.
|
||||
// Translations are neither loaded by hand nor shipped inside the plugin:
|
||||
// wordpress.org builds them from translate.wordpress.org and WordPress picks
|
||||
// them up on its own, since 4.6, without load_plugin_textdomain().
|
||||
|
||||
/**
|
||||
* Registers the front end assets.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue