# Copyright (C) 2026 Marco Graetsch # This file is distributed under the GPL v2 or later. msgid "" msgstr "" "Project-Id-Version: WP Prometheus 0.4.2\n" "Report-Msgid-Bugs-To: https://src.bundespruefstelle.ch/magdev/wp-prometheus/issues\n" "POT-Creation-Date: 2026-02-02T00:00:00+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "PO-Revision-Date: 2026-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" #: src/Admin/Settings.php msgid "Metrics Settings" msgstr "" #: src/Admin/Settings.php msgid "Metrics" msgstr "" #: src/Admin/Settings.php msgid "License" msgstr "" #: src/Admin/Settings.php msgid "Help" msgstr "" #: src/Admin/Settings.php msgid "Custom Metrics" msgstr "" #: src/Admin/Settings.php msgid "Dashboards" msgstr "" #: src/Admin/Settings.php msgid "License settings saved." msgstr "" #: src/Admin/Settings.php msgid "License is active and valid." msgstr "" #: src/Admin/Settings.php msgid "License is invalid." msgstr "" #: src/Admin/Settings.php msgid "License has expired." msgstr "" #: src/Admin/Settings.php msgid "License has been revoked." msgstr "" #: src/Admin/Settings.php msgid "License is inactive." msgstr "" #: src/Admin/Settings.php msgid "License has not been validated yet." msgstr "" #: src/Admin/Settings.php msgid "License server is not configured." msgstr "" #: src/Admin/Settings.php msgid "Unknown status." msgstr "" #. translators: %s: Expiration date #: src/Admin/Settings.php msgid "Expires: %s" msgstr "" #. translators: %s: Time ago #: src/Admin/Settings.php msgid "Last checked: %s ago" msgstr "" #: src/Admin/Settings.php msgid "License Server URL" msgstr "" #: src/Admin/Settings.php msgid "License Key" msgstr "" #: src/Admin/Settings.php msgid "Server Secret" msgstr "" #: src/Admin/Settings.php msgid "Leave empty to keep existing." msgstr "" #: src/Admin/Settings.php msgid "Save License Settings" msgstr "" #: src/Admin/Settings.php msgid "Validate License" msgstr "" #: src/Admin/Settings.php msgid "Activate License" msgstr "" #: src/Admin/Settings.php msgid "Authentication" msgstr "" #: src/Admin/Settings.php msgid "Enabled Metrics" msgstr "" #: src/Admin/Settings.php msgid "Configure authentication for the /metrics endpoint." msgstr "" #: src/Admin/Settings.php msgid "Select which metrics to expose on the /metrics endpoint." msgstr "" #: src/Admin/Settings.php msgid "Auth Token" msgstr "" #: src/Admin/Settings.php msgid "Select Metrics" msgstr "" #: src/Admin/Settings.php msgid "Regenerate" msgstr "" #: src/Admin/Settings.php msgid "Use this token to authenticate Prometheus scrape requests." msgstr "" #: src/Admin/Settings.php msgid "Static Metrics" msgstr "" #: src/Admin/Settings.php msgid "WordPress Info (version, PHP version, multisite)" msgstr "" #: src/Admin/Settings.php msgid "Total Users by Role" msgstr "" #: src/Admin/Settings.php msgid "Total Posts by Type and Status" msgstr "" #: src/Admin/Settings.php msgid "Total Comments by Status" msgstr "" #: src/Admin/Settings.php msgid "Total Plugins (active/inactive)" msgstr "" #: src/Admin/Settings.php msgid "Cron Events (scheduled tasks, overdue, next run)" msgstr "" #: src/Admin/Settings.php msgid "Transients (total, expiring, expired)" msgstr "" #: src/Admin/Settings.php msgid "Runtime Metrics" msgstr "" #: src/Admin/Settings.php msgid "Runtime metrics track data across requests. Enable only what you need to minimize performance impact." msgstr "" #: src/Admin/Settings.php msgid "HTTP Requests Total (by method, status, endpoint)" msgstr "" #: src/Admin/Settings.php msgid "HTTP Request Duration (histogram)" msgstr "" #: src/Admin/Settings.php msgid "Database Queries Total (by endpoint)" msgstr "" #: src/Admin/Settings.php msgid "WooCommerce Metrics" msgstr "" #: src/Admin/Settings.php msgid "Metrics specific to WooCommerce stores. Only available when WooCommerce is active." msgstr "" #: src/Admin/Settings.php msgid "WooCommerce Products (by status and type)" msgstr "" #: src/Admin/Settings.php msgid "WooCommerce Orders (by status)" msgstr "" #: src/Admin/Settings.php msgid "WooCommerce Revenue (all time, today, month)" msgstr "" #: src/Admin/Settings.php msgid "WooCommerce Customers (registered, guest)" msgstr "" #: src/Admin/Settings.php msgid "Reset Runtime Metrics" msgstr "" #: src/Admin/Settings.php msgid "Clear all accumulated runtime metric data." msgstr "" #: src/Admin/Settings.php msgid "Reset Metrics" msgstr "" #: src/Admin/Settings.php msgid "Prometheus Configuration" msgstr "" #: src/Admin/Settings.php msgid "Add the following to your prometheus.yml:" msgstr "" #: src/Admin/Settings.php msgid "Endpoint Information" msgstr "" #: src/Admin/Settings.php msgid "Metrics URL" msgstr "" #: src/Admin/Settings.php msgid "Testing the Endpoint" msgstr "" #: src/Admin/Settings.php msgid "You can test the endpoint using curl:" msgstr "" #: src/Admin/Settings.php msgid "Available Metrics" msgstr "" #: src/Admin/Settings.php msgid "Metric" msgstr "" #: src/Admin/Settings.php msgid "Type" msgstr "" #: src/Admin/Settings.php msgid "Description" msgstr "" #: src/Admin/Settings.php msgid "Gauge" msgstr "" #: src/Admin/Settings.php msgid "Counter" msgstr "" #: src/Admin/Settings.php msgid "Histogram" msgstr "" #: src/Admin/Settings.php msgid "WordPress installation info" msgstr "" #: src/Admin/Settings.php msgid "Total users by role" msgstr "" #: src/Admin/Settings.php msgid "Total posts by type and status" msgstr "" #: src/Admin/Settings.php msgid "Total comments by status" msgstr "" #: src/Admin/Settings.php msgid "Total plugins by status" msgstr "" #: src/Admin/Settings.php msgid "HTTP requests by method, status, endpoint" msgstr "" #: src/Admin/Settings.php msgid "HTTP request duration distribution" msgstr "" #: src/Admin/Settings.php msgid "Database queries by endpoint" msgstr "" #: src/Admin/Settings.php msgid "Database query duration distribution (requires SAVEQUERIES)" msgstr "" #: src/Admin/Settings.php msgid "Scheduled cron events by hook" msgstr "" #: src/Admin/Settings.php msgid "Number of overdue cron events" msgstr "" #: src/Admin/Settings.php msgid "Unix timestamp of next scheduled cron" msgstr "" #: src/Admin/Settings.php msgid "Total transients by type" msgstr "" #: src/Admin/Settings.php msgid "WooCommerce products by status and type" msgstr "" #: src/Admin/Settings.php msgid "WooCommerce orders by status" msgstr "" #: src/Admin/Settings.php msgid "WooCommerce revenue by period" msgstr "" #: src/Admin/Settings.php msgid "WooCommerce customers by type" msgstr "" #: src/Admin/Settings.php msgid "You can add custom metrics using the wp_prometheus_collect_metrics action:" msgstr "" #: src/Admin/Settings.php msgid "Add Custom Metric" msgstr "" #: src/Admin/Settings.php msgid "Edit Custom Metric" msgstr "" #: src/Admin/Settings.php msgid "Metric Name" msgstr "" #: src/Admin/Settings.php msgid "Must follow Prometheus naming conventions." msgstr "" #: src/Admin/Settings.php msgid "Help Text" msgstr "" #: src/Admin/Settings.php msgid "Description shown in Prometheus output." msgstr "" #: src/Admin/Settings.php msgid "Value Type" msgstr "" #: src/Admin/Settings.php msgid "Static Value" msgstr "" #: src/Admin/Settings.php msgid "WordPress Option" msgstr "" #: src/Admin/Settings.php msgid "Static Value:" msgstr "" #: src/Admin/Settings.php msgid "Option Name:" msgstr "" #: src/Admin/Settings.php msgid "The name of the WordPress option to read." msgstr "" #: src/Admin/Settings.php msgid "Labels" msgstr "" #: src/Admin/Settings.php msgid "Label name" msgstr "" #: src/Admin/Settings.php msgid "Add Label" msgstr "" #: src/Admin/Settings.php msgid "Label Values" msgstr "" #: src/Admin/Settings.php msgid "Value" msgstr "" #: src/Admin/Settings.php msgid "Add Value Row" msgstr "" #: src/Admin/Settings.php msgid "Enabled" msgstr "" #: src/Admin/Settings.php msgid "Save Metric" msgstr "" #: src/Admin/Settings.php msgid "Cancel" msgstr "" #: src/Admin/Settings.php msgid "Your Custom Metrics" msgstr "" #: src/Admin/Settings.php msgid "Name" msgstr "" #: src/Admin/Settings.php msgid "Status" msgstr "" #: src/Admin/Settings.php msgid "Actions" msgstr "" #: src/Admin/Settings.php msgid "Active" msgstr "" #: src/Admin/Settings.php msgid "Inactive" msgstr "" #: src/Admin/Settings.php msgid "Edit" msgstr "" #: src/Admin/Settings.php msgid "Delete" msgstr "" #: src/Admin/Settings.php msgid "No custom metrics defined yet." msgstr "" #: src/Admin/Settings.php msgid "Export / Import" msgstr "" #: src/Admin/Settings.php msgid "Export your custom metrics configuration for backup or transfer to another site." msgstr "" #: src/Admin/Settings.php msgid "Export Metrics" msgstr "" #: src/Admin/Settings.php msgid "Import Metrics" msgstr "" #: src/Admin/Settings.php msgid "Import Options" msgstr "" #: src/Admin/Settings.php msgid "Skip existing metrics" msgstr "" #: src/Admin/Settings.php msgid "Overwrite existing metrics" msgstr "" #: src/Admin/Settings.php msgid "Rename duplicates" msgstr "" #: src/Admin/Settings.php msgid "Import" msgstr "" #: src/Admin/Settings.php msgid "Grafana Dashboard Templates" msgstr "" #: src/Admin/Settings.php msgid "Download pre-built Grafana dashboards for visualizing your WordPress metrics." msgstr "" #: src/Admin/Settings.php msgid "Download" msgstr "" #: src/Admin/Settings.php msgid "Import instructions:" msgstr "" #: src/Admin/Settings.php msgid "Download the desired dashboard JSON file" msgstr "" #: src/Admin/Settings.php msgid "In Grafana, go to Dashboards > Import" msgstr "" #: src/Admin/Settings.php msgid "Upload the JSON file or paste its contents" msgstr "" #: src/Admin/Settings.php msgid "Select your Prometheus data source" msgstr "" #: src/Admin/Settings.php msgid "Click Import" msgstr "" #: src/Metrics/CustomMetricBuilder.php msgid "Metric name is required." msgstr "" #: src/Metrics/CustomMetricBuilder.php msgid "Invalid metric name format." msgstr "" #: src/Metrics/CustomMetricBuilder.php msgid "A metric with this name already exists." msgstr "" #: src/Metrics/CustomMetricBuilder.php msgid "Help text is required." msgstr "" #: src/Metrics/CustomMetricBuilder.php msgid "Invalid value type." msgstr "" #: src/Metrics/CustomMetricBuilder.php msgid "Static value must be numeric." msgstr "" #: src/Metrics/CustomMetricBuilder.php msgid "Option name is required for option value type." msgstr "" #. translators: %d: Maximum number of labels #: src/Metrics/CustomMetricBuilder.php msgid "Maximum %d labels allowed." msgstr "" #: src/Metrics/CustomMetricBuilder.php msgid "Invalid label name format." msgstr "" #. translators: %d: Maximum number of label value combinations #: src/Metrics/CustomMetricBuilder.php msgid "Maximum %d label value combinations allowed." msgstr "" #: src/Metrics/CustomMetricBuilder.php msgid "Invalid JSON format." msgstr "" #: src/Metrics/CustomMetricBuilder.php msgid "Invalid export format." msgstr "" #: src/Plugin.php msgid "Settings" msgstr "" #. translators: 1: Required PHP version, 2: Current PHP version #: wp-prometheus.php msgid "WP Prometheus requires PHP version %1$s or higher. You are running PHP %2$s." msgstr "" #. translators: 1: Required WordPress version, 2: Current WordPress version #: wp-prometheus.php msgid "WP Prometheus requires WordPress version %1$s or higher. You are running WordPress %2$s." msgstr "" #: wp-prometheus.php msgid "WP Prometheus requires Composer dependencies to be installed. Please run \"composer install\" in the plugin directory." msgstr "" #. translators: %s: Required PHP version #: wp-prometheus.php msgid "WP Prometheus requires PHP version %s or higher." msgstr "" #: src/Admin/Settings.php msgid "Storage" msgstr "" #: src/Admin/Settings.php msgid "Metrics Storage Configuration" msgstr "" #: src/Admin/Settings.php msgid "Configure how Prometheus metrics are stored. Persistent storage (Redis, APCu) allows metrics to survive between requests and aggregate data over time." msgstr "" #: src/Admin/Settings.php msgid "Environment Override Active" msgstr "" #: src/Admin/Settings.php msgid "Storage adapter is configured via environment variable. Admin settings will be ignored." msgstr "" #: src/Admin/Settings.php msgid "Storage Fallback Active" msgstr "" #: src/Admin/Settings.php msgid "Falling back to In-Memory storage." msgstr "" #: src/Admin/Settings.php msgid "Current Status:" msgstr "" #. translators: %s: Active adapter name #: src/Admin/Settings.php msgid "Using %s storage." msgstr "" #: src/Admin/Settings.php msgid "Storage Adapter" msgstr "" #: src/Admin/Settings.php msgid "unavailable" msgstr "" #: src/Admin/Settings.php msgid "Select the storage backend for metrics. Redis and APCu require their respective PHP extensions." msgstr "" #: src/Admin/Settings.php msgid "Redis Configuration" msgstr "" #: src/Admin/Settings.php msgid "Host" msgstr "" #. translators: %s: Environment variable name #: src/Admin/Settings.php msgid "Can be overridden with %s environment variable." msgstr "" #: src/Admin/Settings.php msgid "Port" msgstr "" #: src/Admin/Settings.php msgid "Password" msgstr "" #: src/Admin/Settings.php msgid "Leave empty if not required" msgstr "" #: src/Admin/Settings.php msgid "Database" msgstr "" #. translators: %s: Environment variable name #: src/Admin/Settings.php msgid "Redis database index (0-15). Can be overridden with %s." msgstr "" #: src/Admin/Settings.php msgid "Key Prefix" msgstr "" #: src/Admin/Settings.php msgid "Prefix for Redis keys. Useful when sharing Redis with other applications." msgstr "" #: src/Admin/Settings.php msgid "APCu Configuration" msgstr "" #. translators: %s: Environment variable name #: src/Admin/Settings.php msgid "Prefix for APCu keys. Can be overridden with %s." msgstr "" #: src/Admin/Settings.php msgid "Save Storage Settings" msgstr "" #: src/Admin/Settings.php msgid "Test Connection" msgstr "" #: src/Admin/Settings.php msgid "Environment Variables" msgstr "" #: src/Admin/Settings.php msgid "For Docker or containerized environments, you can configure storage using environment variables. These take precedence over admin settings." msgstr "" #: src/Admin/Settings.php msgid "Variable" msgstr "" #: src/Admin/Settings.php msgid "Example" msgstr "" #: src/Admin/Settings.php msgid "Storage adapter to use" msgstr "" #: src/Admin/Settings.php msgid "Redis server hostname" msgstr "" #: src/Admin/Settings.php msgid "Redis server port" msgstr "" #: src/Admin/Settings.php msgid "Redis authentication password" msgstr "" #: src/Admin/Settings.php msgid "Redis database index" msgstr "" #: src/Admin/Settings.php msgid "Redis key prefix" msgstr "" #: src/Admin/Settings.php msgid "APCu key prefix" msgstr "" #: src/Admin/Settings.php msgid "Docker Compose Example" msgstr "" #: src/Admin/Settings.php msgid "Permission denied." msgstr "" #: src/Admin/Settings.php msgid "Storage adapter is configured via environment variable and cannot be changed." msgstr "" #: src/Admin/Settings.php msgid "Invalid storage adapter." msgstr "" #: src/Admin/Settings.php msgid "Storage settings saved successfully." msgstr "" #: src/Admin/Settings.php msgid "Storage settings saved, but connection test failed:" msgstr "" #: src/Metrics/StorageFactory.php msgid "In-Memory (default, no persistence)" msgstr "" #: src/Metrics/StorageFactory.php msgid "Redis (requires PHP Redis extension)" msgstr "" #: src/Metrics/StorageFactory.php msgid "APCu (requires APCu extension)" msgstr "" #: src/Metrics/StorageFactory.php msgid "PHP Redis extension is not installed." msgstr "" #. translators: %s: Error message #: src/Metrics/StorageFactory.php msgid "Redis connection failed: %s" msgstr "" #. translators: %s: Error message #: src/Metrics/StorageFactory.php msgid "Redis error: %s" msgstr "" #. translators: %s: Error message #: src/Metrics/StorageFactory.php msgid "Storage error: %s" msgstr "" #: src/Metrics/StorageFactory.php msgid "APCu extension is not installed." msgstr "" #: src/Metrics/StorageFactory.php msgid "APCu is installed but not enabled." msgstr "" #. translators: %s: Error message #: src/Metrics/StorageFactory.php msgid "APCu error: %s" msgstr "" #: src/Metrics/StorageFactory.php msgid "In-Memory storage is always available." msgstr "" #: src/Metrics/StorageFactory.php msgid "Unknown storage adapter." msgstr "" #: src/Metrics/StorageFactory.php msgid "Could not connect to Redis server." msgstr "" #: src/Metrics/StorageFactory.php msgid "Redis authentication failed." msgstr "" #. translators: %s: Redis host:port #: src/Metrics/StorageFactory.php msgid "Successfully connected to Redis at %s." msgstr "" #: src/Metrics/StorageFactory.php msgid "Redis ping failed." msgstr "" #: src/Metrics/StorageFactory.php msgid "APCu is installed but not enabled. Check your php.ini settings." msgstr "" #: src/Metrics/StorageFactory.php msgid "APCu store operation failed." msgstr "" #. translators: %s: Memory info #: src/Metrics/StorageFactory.php msgid "APCu is working. Memory: %s used." msgstr "" #: src/Metrics/StorageFactory.php msgid "APCu fetch operation returned unexpected value." msgstr "" #: src/Admin/Settings.php msgid "Early Mode" msgstr "" #: src/Admin/Settings.php msgid "Early mode intercepts /metrics requests before full WordPress initialization. This prevents memory exhaustion issues caused by some plugins (e.g., Twig-based themes/plugins) but disables the wp_prometheus_collect_metrics hook for custom metrics." msgstr "" #: src/Admin/Settings.php msgid "Early mode is configured via WP_PROMETHEUS_DISABLE_EARLY_MODE environment variable. Admin settings will be ignored." msgstr "" #: src/Admin/Settings.php msgid "Disable Early Mode" msgstr "" #: src/Admin/Settings.php msgid "Disable early metrics interception" msgstr "" #: src/Admin/Settings.php msgid "When disabled, metrics are collected through normal WordPress template loading. This enables the wp_prometheus_collect_metrics hook for custom metrics but may cause issues with some plugins." msgstr "" #: src/Admin/Settings.php msgid "Early mode is active (this request was served via early interception)" msgstr "" #: src/Admin/Settings.php msgid "Early mode is disabled" msgstr "" #: src/Admin/Settings.php msgid "Early mode is enabled (active for /metrics requests)" msgstr "" #: src/Admin/Settings.php msgid "Clear all accumulated runtime metric data (HTTP requests, database queries). This is useful for testing or starting fresh." msgstr "" #: src/Admin/Settings.php msgid "Endpoint" msgstr "" #: src/Admin/Settings.php msgid "Selection" msgstr "" #: src/Admin/Settings.php msgid "Runtime" msgstr "" #: src/Admin/Settings.php msgid "Advanced" msgstr "" #: src/Admin/Settings.php msgid "Runtime Metrics Management" msgstr "" #: src/Admin/Settings.php msgid "Runtime metrics track HTTP requests and database queries across requests. Use this section to manage accumulated data." msgstr "" #: src/Admin/Settings.php msgid "Reset Data" msgstr "" #: src/Admin/Settings.php msgid "Extension" msgstr "" #. translators: %s: Plugin name #: src/Admin/Settings.php msgid "Provided by: %s" msgstr "" #: src/Admin/Settings.php msgid "No dashboards available." msgstr "" #: src/Admin/Settings.php msgid "Pre-built dashboards for visualizing your WordPress metrics in Grafana." msgstr "" #: src/Admin/Settings.php msgid "Installation Instructions" msgstr "" #: src/Admin/Settings.php msgid "Download the JSON file for your desired dashboard." msgstr "" #: src/Admin/Settings.php msgid "In Grafana, go to Dashboards → Import." msgstr "" #: src/Admin/Settings.php msgid "Upload the JSON file or paste its contents." msgstr "" #: src/Admin/Settings.php msgid "Select your Prometheus data source when prompted." msgstr "" #: src/Admin/Settings.php msgid "Click Import to create the dashboard." msgstr "" #. translators: %s: Metrics URL #: src/Admin/Settings.php msgid "Make sure your Prometheus instance is configured to scrape %s with the correct authentication token." msgstr ""