Make deprecation warning notice less confusing

Replace "in preference of" with "in favor of," as the former is not
widely used, but the latter is.

This problem was mentioned in issue #3139.
This commit is contained in:
Georgelemental
2019-10-19 21:53:25 -04:00
committed by Georgelemental
parent 512444dc23
commit 0772ab6c9f

View File

@@ -514,7 +514,7 @@ end_of_lifed_with_rebase (FlatpakTransaction *transaction,
g_autoptr(FlatpakRef) rref = flatpak_ref_parse (ref, NULL);
if (rebased_to_ref)
g_print (_("Info: %s is end-of-life, in preference of %s\n"), flatpak_ref_get_name (rref), rebased_to_ref);
g_print (_("Info: %s is end-of-life, in favor of %s\n"), flatpak_ref_get_name (rref), rebased_to_ref);
else if (reason)
g_print (_("Info: %s is end-of-life, with reason: %s\n"), flatpak_ref_get_name (rref), reason);