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

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

    public static function js_strings() {
        return [
            'loading'          => __('Loading…', 'pewit-geo-analysis-tool'),
            'analyzing'        => __('Analyzing…', 'pewit-geo-analysis-tool'),
            'saving'           => __('Saving…', 'pewit-geo-analysis-tool'),
            'done'             => __('Done.', 'pewit-geo-analysis-tool'),
            'saved'            => __('Saved.', 'pewit-geo-analysis-tool'),
            'upgrade'          => __('Upgrade for automation', 'pewit-geo-analysis-tool'),
            'upgradePro'       => __('Upgrade to Pro', 'pewit-geo-analysis-tool'),
            'automationLocked' => __('Bulk, scheduling and history require Pro or Agency.', 'pewit-geo-analysis-tool'),
            'copied'           => __('Copied to clipboard.', 'pewit-geo-analysis-tool'),
            'inserted'         => __('Inserted into the post.', 'pewit-geo-analysis-tool'),
            'error'            => __('Something went wrong. Try again.', 'pewit-geo-analysis-tool'),
            'noKey'            => __('Connect your API key in Settings first.', 'pewit-geo-analysis-tool'),
        ];
    }
}
