Merge develop: combine the i18n test fixture with #363

Both message batches seeded locale copies at the same point of
test_command_descriptions.py. The two blocks are independent — one
seeds the backup messages, the other the storage ones — so they are
merged into a single block that reads and writes the fixture once.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
MacRimi
2026-09-22 16:46:04 +02:00
co-authored by Claude Opus 5
23 changed files with 1206 additions and 64 deletions
+8 -1
View File
@@ -694,7 +694,14 @@ apply_assignment() {
echo -e "${TAB}${BL}Log: ${LOG_FILE}${CL}"
if [[ "$assigned_count" -gt 0 ]]; then
msg_ok "$(translate "Completed.") $assigned_count $(translate "device(s) added to VM") ${SELECTED_VMID}."
local completed_message
completed_message="$(translate "Completed. Devices added to VM {vmid}: {count}.")"
if [[ "$completed_message" != *'{vmid}'* || "$completed_message" != *'{count}'* ]]; then
completed_message="Completed. Devices added to VM {vmid}: {count}."
fi
completed_message="${completed_message//\{vmid\}/$SELECTED_VMID}"
completed_message="${completed_message//\{count\}/$assigned_count}"
msg_ok "$completed_message"
else
msg_warn "$(translate "No new Controller/NVMe entries were added.")"
fi