Amire80 created this task.
Amire80 triaged this task as "Normal" priority.
Amire80 added projects: Wikidata Query UI, Story, RTL, I18n, Wikidata.

TASK DESCRIPTION

The translatable message Wdqs-app-editor-placeholder includes the word "SPARQL", which is probably not translated. In RTL languages, this causes the message to be displayed in an unreadable way: It's displayed in the query writing textarea that is by its nature LTR, and putting an LTR word in the middle of an RTL sentence breaks it

One solution that I found for this is defining the dir HTML attribute for <pre class="CodeMirror-placeholder"> as "rtl" and setting its text-align CSS property to left (explicitly, and without auto-flipping).

If it's impossible, there is another, much less elegant, solution: add an RLE control character in the beginning of the message, and a PDF character in its end (see https://en.wikipedia.org/wiki/Bi-directional_text#Table_of_possible_BiDi-types ).


TASK DETAIL
https://phabricator.wikimedia.org/T203314

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Amire80
Cc: Aklapper, Jonas, Smalyshev, eranroz, Liuxinyu970226, Amire80, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, Jayprakash12345, QZanden, EBjune, merbst, LawExplorer, Salgo60, Srdjan_m, Xmlizer, MuhammadShuaib, LNDDYL, Psychoslave, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Huji, Manybubbles, Gryllida, Shizhao, Lydia_Pintscher, Arrbee, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to