[pve-devel] [PATCH manager] ui: migration: Improve grammar on error string

Maximiliano Sandoval m.sandoval at proxmox.com
Fri Jan 9 09:30:56 CET 2026


Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
---

This was spotted while translating the UI:

 - Toward was selected instead of towards due to it being slithly more common in
   written american english, and also because the string was already too long.
 - This string was mentioned at https://forum.proxmox.com/threads/ha-non-strict-negative-resource-affinity.176757/#post-822473


 www/manager6/window/Migrate.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/manager6/window/Migrate.js b/www/manager6/window/Migrate.js
index ff80c70c..702009c3 100644
--- a/www/manager6/window/Migrate.js
+++ b/www/manager6/window/Migrate.js
@@ -428,7 +428,7 @@ Ext.define('PVE.window.Migrate', {
                     if (cause === 'resource-affinity') {
                         reasonText = Ext.String.format(
                             gettext(
-                                'HA resource {0} with negative affinity to VM on selected target node',
+                                'HA resource {0} has negative affinity toward a VM on the selected target node',
                             ),
                             sid,
                         );
@@ -518,7 +518,7 @@ Ext.define('PVE.window.Migrate', {
                     if (cause === 'resource-affinity') {
                         reasonText = Ext.String.format(
                             gettext(
-                                'HA resource {0} with negative affinity to container on selected target node',
+                                'HA resource {0} has negative affinity toward a container on the selected target node',
                             ),
                             sid,
                         );
-- 
2.47.3





More information about the pve-devel mailing list