This commit is contained in:
Javier Casares 2026-03-02 11:22:59 +00:00
commit 5cdf7f48e5
29 changed files with 6526 additions and 0 deletions

View file

@ -0,0 +1,649 @@
# Copyright (C) 2026 ROBOTSTXT
# This file is distributed under the GPL-3.0-or-later.
msgid ""
msgstr ""
"Project-Id-Version: MLP2 to MLP5 (by ROBOTSTXT) 1.0.0\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/robotstxt-mlp2-mlp5\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2026-02-27T10:21:22+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.12.0\n"
"X-Domain: robotstxt-mlp2-mlp5\n"
#. Plugin Name of the plugin
#: robotstxt-mlp2-mlp5.php
msgid "MLP2 to MLP5 (by ROBOTSTXT)"
msgstr ""
#. Plugin URI of the plugin
#: robotstxt-mlp2-mlp5.php
msgid "https://git.robotstxt.es/ROBOTSTXT/robotstxt-mlp2-mlp5"
msgstr ""
#. Description of the plugin
#: robotstxt-mlp2-mlp5.php
msgid "Guided, safe, and reversible migration from MultilingualPress 2 to MultilingualPress 5."
msgstr ""
#. Author of the plugin
#: robotstxt-mlp2-mlp5.php
msgid "ROBOTSTXT"
msgstr ""
#. Author URI of the plugin
#: robotstxt-mlp2-mlp5.php
msgid "https://git.robotstxt.es/ROBOTSTXT"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:61
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:290
msgid "MLP2 to MLP5 Migrator"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:62
msgid "MLP Migrator"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:90
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:107
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:131
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:254
msgid "You do not have permission to perform this action."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:271
msgid "You do not have permission to access this page."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:321
msgid "Preflight"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:322
msgid "Analysis"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:323
#: includes/class-robotstxt-mlp2-mlp5-step-verification.php:30
msgid "Site Relations"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:324
msgid "Content Relations"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:325
msgid "Verification"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:326
msgid "Cleanup"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:383
msgid "Reset migration (start over)"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:385
msgid "This will reset the wizard to Step 1 and clear the migration log. It does not modify MLP5 data."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:389
msgid "Reset wizard"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:398
msgid "System status"
msgstr ""
#. translators: %d: number of renamed tables
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:419
#, php-format
msgid "%d table renamed successfully."
msgid_plural "%d tables renamed successfully."
msgstr[0] ""
msgstr[1] ""
#. translators: %d: number of tables that could not be renamed
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:424
#, php-format
msgid "%d table could not be renamed. Check database permissions."
msgid_plural "%d tables could not be renamed. Check database permissions."
msgstr[0] ""
msgstr[1] ""
#. translators: %d: number of restored tables
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:429
#, php-format
msgid "%d table restored to original name."
msgid_plural "%d tables restored to original names."
msgstr[0] ""
msgstr[1] ""
#. translators: %d: number of tables that could not be restored
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:434
#, php-format
msgid "%d table could not be restored. Check database permissions."
msgid_plural "%d tables could not be restored. Check database permissions."
msgstr[0] ""
msgstr[1] ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:437
msgid "Wizard reset. You can start the migration from Step 1."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:440
msgid "Cleanup completed."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:443
msgid "Cleanup confirmation invalid. Type DELETE exactly."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:458
msgid "Action required: MLP2 tables must be renamed before MultilingualPress 5 can be activated."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:461
msgid "MLP2 tables renamed. Now go to Network Admin &gt; Plugins and activate MultilingualPress 5."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:464
msgid "Warning: both original and backup MLP2 tables were found. Investigate before proceeding."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:467
msgid "No MLP2 tables found. Migration cannot proceed. Restore your database from a backup."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:494
msgid "System Status"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:498
msgid "MLP2 tables (original names)"
msgstr ""
#. translators: %d: number of tables
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:501
#, php-format
msgid "%d table — must be renamed"
msgid_plural "%d tables — must be renamed"
msgstr[0] ""
msgstr[1] ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:503
msgid "None"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:508
msgid "MLP2 tables (backup copies)"
msgstr ""
#. translators: %d: number of backup tables
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:511
#, php-format
msgid "%d backup table ready"
msgid_plural "%d backup tables ready"
msgstr[0] ""
msgstr[1] ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:513
msgid "Not yet renamed"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:518
#: includes/class-robotstxt-mlp2-mlp5-step-preflight.php:105
msgid "MultilingualPress 5 (network-active)"
msgstr ""
#. translators: %s: version
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:521
#: includes/class-robotstxt-mlp2-mlp5-step-preflight.php:108
#, php-format
msgid "Active (v%s)"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:523
#: includes/class-robotstxt-mlp2-mlp5-step-preflight.php:110
msgid "Not active"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:544
msgid "Step 1 — Rename MLP2 Tables"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:545
msgid "MultilingualPress 5 cannot activate while the original MLP2 table names are present. Click below to rename them to temporary backup copies ({prefix}mlp2bak_*). This is safe and fully reversible."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:549
msgid "Rename MLP2 tables (prepare for MLP5 activation)"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:558
msgid "Step 2 — Activate MultilingualPress 5"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:559
msgid "MLP2 tables have been renamed. MultilingualPress 5 can now be activated without the old-version compatibility error."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:560
msgid "Go to Network Admin › Plugins"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:569
msgid "Emergency: restore original MLP2 table names"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:571
msgid "This renames backup tables back to their original MLP2 names. Only use this before MLP5 has been activated."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-admin-page.php:575
msgid "Restore original table names"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-analysis.php:112
msgid "Step 2 — Analysis"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-analysis.php:115
msgid "Click \"Run Analysis\" to scan the MLP2 backup database and validate MLP5 schema compatibility before migrating."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-analysis.php:120
msgid "Run Analysis"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-analysis.php:126
msgid "MLP5 schema incompatibility detected:"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-analysis.php:131
#: includes/class-robotstxt-mlp2-mlp5-step-verification.php:111
msgid "Category"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-analysis.php:131
msgid "Records found"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-analysis.php:133
msgid "Site relations"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-analysis.php:134
msgid "Post relation groups"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-analysis.php:135
msgid "Term relation groups"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-analysis.php:140
msgid "Conflicts (will be skipped and logged)"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-analysis.php:144
msgid "Orphaned sites"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-analysis.php:147
msgid "Orphaned post references"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-analysis.php:150
msgid "Orphaned term references"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-analysis.php:153
msgid "Duplicate relation rows"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-analysis.php:164
msgid "Re-run Analysis"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-analysis.php:171
msgid "Next: Migrate Site Relations"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-analysis.php:320
msgid "MLP5 tables not found. Ensure MultilingualPress 5 is active and has been initialized."
msgstr ""
#. translators: %s: table name
#: includes/class-robotstxt-mlp2-mlp5-step-analysis.php:326
#, php-format
msgid "Table %s does not have expected columns (site_1, site_2)."
msgstr ""
#. translators: %s: table name
#: includes/class-robotstxt-mlp2-mlp5-step-analysis.php:332
#, php-format
msgid "Table %s does not have expected columns (relationship_id, site_id, content_id)."
msgstr ""
#. translators: %s: table name
#: includes/class-robotstxt-mlp2-mlp5-step-analysis.php:339
#, php-format
msgid "Table %s does not have expected columns (id, type)."
msgstr ""
#. translators: 1: column name, 2: table name
#: includes/class-robotstxt-mlp2-mlp5-step-analysis.php:349
#, php-format
msgid "MLP2 backup table %2$s is missing expected column \"%1$s\". Schema may differ from expected."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-cleanup.php:34
msgid "MLP2 deactivation: plugin is already inactive."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-cleanup.php:43
msgid "MLP2 plugin deactivated network-wide."
msgstr ""
#. translators: %s: table name
#: includes/class-robotstxt-mlp2-mlp5-step-cleanup.php:66
#, php-format
msgid "Failed to drop backup table: %s"
msgstr ""
#. translators: %s: table name
#: includes/class-robotstxt-mlp2-mlp5-step-cleanup.php:69
#, php-format
msgid "Backup table dropped: %s"
msgstr ""
#. translators: %d: key count
#: includes/class-robotstxt-mlp2-mlp5-step-cleanup.php:108
#, php-format
msgid "Removed %d MLP2 sitemeta entries."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-cleanup.php:119
msgid "Step 6 — Cleanup (Optional)"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-cleanup.php:122
msgid "Migration complete!"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-cleanup.php:122
msgid "MultilingualPress 5 is now configured with your migrated data. Verify that everything works before performing the optional cleanup below."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-cleanup.php:125
msgid "The cleanup actions below are optional and irreversible. MultilingualPress 5 will work correctly whether or not you perform them."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-cleanup.php:138
msgid "Deactivate MultilingualPress 2 (network-wide)"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-cleanup.php:140
msgid "Deactivate MultilingualPress 2"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-cleanup.php:141
msgid "already inactive"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-cleanup.php:148
msgid "Delete MLP2 backup database tables"
msgstr ""
#. translators: %d: table count
#: includes/class-robotstxt-mlp2-mlp5-step-cleanup.php:149
#, php-format
msgid "%d table"
msgid_plural "%d tables"
msgstr[0] ""
msgstr[1] ""
#. translators: %d: table count
#: includes/class-robotstxt-mlp2-mlp5-step-cleanup.php:150
msgid "Irreversible. Only do this after verifying the migration in MLP5."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-cleanup.php:156
msgid "Delete MLP2 network settings from wp_sitemeta"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-cleanup.php:163
msgid "Type DELETE to confirm:"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-cleanup.php:169
msgid "Proceed with cleanup"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-content-relations.php:109
msgid "Step 4 — Content Relations"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-content-relations.php:110
msgid "This step migrates all post and term relationships in batches. On large sites this can take several minutes. You can pause and resume at any time."
msgstr ""
#. translators: 1: processed count, 2: total count
#: includes/class-robotstxt-mlp2-mlp5-step-content-relations.php:117
#, php-format
msgid "Processed %1$s of %2$s groups"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-content-relations.php:126
#: includes/class-robotstxt-mlp2-mlp5-step-site-relations.php:85
#: includes/class-robotstxt-mlp2-mlp5-step-verification.php:113
msgid "Migrated"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-content-relations.php:127
#: includes/class-robotstxt-mlp2-mlp5-step-site-relations.php:86
#: includes/class-robotstxt-mlp2-mlp5-step-verification.php:114
msgid "Skipped"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-content-relations.php:128
#: includes/class-robotstxt-mlp2-mlp5-step-site-relations.php:87
#: includes/class-robotstxt-mlp2-mlp5-step-verification.php:115
msgid "Errors"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-content-relations.php:134
msgid "Content relations migration complete."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-content-relations.php:137
msgid "Resume"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-content-relations.php:137
msgid "Start"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-content-relations.php:138
msgid "Pause"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-content-relations.php:148
msgid "Next: Verification"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-content-relations.php:175
msgid "Error during migration."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-content-relations.php:184
msgid "Done! Reload the page to continue."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-content-relations.php:193
msgid "Network error. Click Resume to continue."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-content-relations.php:209
msgid "Running…"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-content-relations.php:219
msgid "Paused."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-content-relations.php:249
#: includes/class-robotstxt-mlp2-mlp5-step-site-relations.php:50
msgid "Relation already exists in MLP5 (idempotent skip)."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-content-relations.php:278
msgid "Fewer than 2 valid members after orphan check. Skipped."
msgstr ""
#. translators: %d: member count
#: includes/class-robotstxt-mlp2-mlp5-step-content-relations.php:288
#, php-format
msgid "Group migrated with %d members."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-content-relations.php:290
msgid "Failed to write group to MLP5."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-preflight.php:48
msgid "MLP2 tables have not been renamed yet. Go back to the plugin status page and click \"Rename MLP2 tables\"."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-preflight.php:50
msgid "No MLP2 tables found (neither original nor backup). Restore your database from a backup before proceeding."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-preflight.php:55
msgid "MultilingualPress 5 is not network-active. Activate it before running the migration."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-preflight.php:78
msgid "Step 1 — Preflight Checks"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-preflight.php:83
msgid "MLP2 backup tables (preparation done)"
msgstr ""
#. translators: %d: table count
#: includes/class-robotstxt-mlp2-mlp5-step-preflight.php:86
#, php-format
msgid "%d table ready"
msgid_plural "%d tables ready"
msgstr[0] ""
msgstr[1] ""
#: includes/class-robotstxt-mlp2-mlp5-step-preflight.php:88
msgid "Original tables still present — rename step not done"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-preflight.php:90
msgid "No MLP2 tables found"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-preflight.php:95
msgid "MLP2 plugin (active — informational only)"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-preflight.php:98
msgid "Active — consider deactivating before proceeding"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-preflight.php:100
msgid "Inactive (expected)"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-preflight.php:133
msgid "Next: Run Analysis"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-preflight.php:136
msgid "Resolve the issues above before continuing."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-site-relations.php:43
msgid "One or both sites no longer exist in the network."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-site-relations.php:57
msgid "Site relation migrated successfully."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-site-relations.php:60
msgid "Failed to write site relation to MLP5."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-site-relations.php:79
msgid "Step 3 — Site Relations"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-site-relations.php:80
msgid "This step migrates site connections and language assignments from MLP2 to MLP5. It usually completes in seconds."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-site-relations.php:98
msgid "Re-run Site Relations"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-site-relations.php:98
msgid "Start Site Relations Migration"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-site-relations.php:107
msgid "Next: Content Relations"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-verification.php:34
msgid "Post Relations"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-verification.php:38
msgid "Term Relations"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-verification.php:81
msgid "You do not have permission to export the log."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-verification.php:105
msgid "Step 5 — Verification"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-verification.php:106
msgid "Compare expected totals (from the Analysis step) with actual migration results. Download the full log before proceeding to cleanup."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-verification.php:112
msgid "Expected"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-verification.php:142
msgid "Download log (CSV)"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5-step-verification.php:150
msgid "Next: Cleanup"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5.php:72
msgid "MLP2 to MLP5 Migrator requires a WordPress Multisite installation."
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5.php:73
msgid "Plugin Activation Error"
msgstr ""
#: includes/class-robotstxt-mlp2-mlp5.php:101
msgid "MLP2 to MLP5 Migrator requires a WordPress Multisite installation and has been deactivated."
msgstr ""