<?php
if (!defined('ABSPATH')) exit;

class AISB_I18n {
    public static function load() {
        // WordPress.org loads translations from /languages automatically (WP 4.6+).
    }

    public static function js_strings() {
        return [
            'loading'          => __('Loading...', 'pewit-ai-schema-builder'),
            'upgrade'          => __('Upgrade for automation', 'pewit-ai-schema-builder'),
            'upgradePro'       => __('Upgrade to Pro', 'pewit-ai-schema-builder'),
            'automationLocked' => __('Bulk generate and auto-sync require Pro or Agency.', 'pewit-ai-schema-builder'),
            'generating'       => __('Generating schema…', 'pewit-ai-schema-builder'),
            'generated'        => __('Schema generated. Review and save to post.', 'pewit-ai-schema-builder'),
            'saved'            => __('Schema saved.', 'pewit-ai-schema-builder'),
            'valid'            => __('Validation passed', 'pewit-ai-schema-builder'),
            'invalid'          => __('Validation issues', 'pewit-ai-schema-builder'),
            'warnings'         => __('Warnings:', 'pewit-ai-schema-builder'),
            'error'            => __('Something went wrong. Try again.', 'pewit-ai-schema-builder'),
        ];
    }
}
