[gnome-software/1727-wrong-direction-of-arrows-in-rtl-languages] gs-os-update-page: Flip also version values in RTL, not only the arrow
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/1727-wrong-direction-of-arrows-in-rtl-languages] gs-os-update-page: Flip also version values in RTL, not only the arrow
- Date: Thu, 21 Apr 2022 07:31:57 +0000 (UTC)
commit a1c5b568b5dfde73c70cc0bb47691aaf96269836
Author: Milan Crha <mcrha redhat com>
Date: Thu Apr 21 09:30:12 2022 +0200
gs-os-update-page: Flip also version values in RTL, not only the arrow
That will make the the arrow being from the current version to the update
version, as it's supposed to be.
Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1727
src/gs-os-update-page.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-os-update-page.c b/src/gs-os-update-page.c
index 535125dc7..bbd75cff3 100644
--- a/src/gs-os-update-page.c
+++ b/src/gs-os-update-page.c
@@ -109,8 +109,8 @@ format_version_update (GsApp *app, GtkTextDirection direction)
* RTL locales, but not change the text order.
* See section 2 of http://www.unicode.org/L2/L2017/17438-bidi-math-fdbk.html */
return g_strdup_printf ("%s ← %s",
- version_current,
- version_update);
+ version_update,
+ version_current);
case GTK_TEXT_DIR_NONE:
case GTK_TEXT_DIR_LTR:
default:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]