Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Dashboard) RTL text disorder #5464

Open
2 tasks done
kianashnad opened this issue Sep 19, 2024 · 4 comments
Open
2 tasks done

(Dashboard) RTL text disorder #5464

kianashnad opened this issue Sep 19, 2024 · 4 comments
Labels

Comments

@kianashnad
Copy link

Initial checklist

  • I understand this is a bug report and questions should be posted in the Community Forum
  • I searched issues and couldn’t find anything (or linked relevant results below)

Link to runnable example

No response

Steps to reproduce

Set the locale to Persian (or probably anything RTL)

Expected behavior

  • Parts of the text should stay LTR. For example the LTR text 600 MB should not become MB 600 on RTL.
  • On the statusbar text, the time-left value should be before the text that says "time left" (باقی مانده) and the filesize indicators (MB, KB, etc) should be shown just like the LTR version. A possible solution is to wrap these parts of the text and set them to be always LTR.
  • the time-left text (example 3h 28m) should actually use the localized words, for example in Persian h becoming ساعت and m becoming دقیقه

Actual behavior

image
image

@kianashnad kianashnad added the Bug label Sep 19, 2024
@Murderlon
Copy link
Member

Hi, are you willing to contribute a fix? :)

@kianashnad
Copy link
Author

Hi, are you willing to contribute a fix? :)

That's what I've tried to do at first, but my react/tsx knowledge is next to 0 🙁.

@devansh-m12
Copy link

can i work on this ?

@Murderlon
Copy link
Member

Of course :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants