From 4e70b16445ae490e7f86f72439d7947ed8dd0688 Mon Sep 17 00:00:00 2001 From: androiddevkotlin <64539346+androiddevkotlin@users.noreply.github.com> Date: Tue, 13 Apr 2021 12:24:26 +0300 Subject: [PATCH] Fix arabic and persian rtl issue --- OsmAnd/src/net/osmand/plus/quickaction/SwitchableAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/quickaction/SwitchableAction.java b/OsmAnd/src/net/osmand/plus/quickaction/SwitchableAction.java index 412eba2323..874fadaa4c 100644 --- a/OsmAnd/src/net/osmand/plus/quickaction/SwitchableAction.java +++ b/OsmAnd/src/net/osmand/plus/quickaction/SwitchableAction.java @@ -110,7 +110,7 @@ public abstract class SwitchableAction extends QuickAction { String item = getSelectedItem(application); String arrowDirection = isLayoutRtl(application) ? "\u25c0" : "\u25b6"; - return application.getString(R.string.ltr_or_rtl_combine_via_space, getTranslatedItemName(application, item), arrowDirection + "\u2026"); + return getTranslatedItemName(application, item) + arrowDirection + "\u2026"; } @Override