Add bundled English and Simplified Chinese UI translations (1.1.0-dev)

This commit is contained in:
2026-10-14 10:28:49 +08:00
parent 41395f4102
commit 3b2b213b6f
24 changed files with 1699 additions and 32 deletions
+6
View File
@@ -20,6 +20,12 @@ function add_action( $hook, $callback, $priority = 10 ) {
function add_filter( $hook, $callback, $priority = 10, $accepted_args = 1 ) {
ap_record( 'filters', array( $hook, $callback, $priority, $accepted_args ) );
}
function load_plugin_textdomain( $domain, $deprecated, $path ) {
ap_record( 'textdomains', array( $domain, $path ) );
}
function plugin_basename( $file ) {
return 'wp-asciiplayer/asciicast-player.php';
}
function __( $text, $domain = 'default' ) {
return $text;
}