On 5/15/22 12:21, Дилян Палаузов wrote:
Hello,
I am trying to translate HyperKitty. Can somebody explain me in the
strings:
<span class="d-none d-md-inline">Start a n</span><span class="d-md-
none">N</span>ew thread
<span class="d-none d-md-inline">Manage s</span><span class="d-md-
none">S</span>ubscription
what the purpose is of d-none, d-md-inline, d-md-none and how are these
strings supposed to be translated?
They are bootstrap classec and are not to be translated.
Assuming they are Bootstrap-invention to present different text on
differently-wide screens, I tried to make my browser narrower and
wider, while
https://lists.mailman3.org/archives/list/mailman-us...@mailman3.org/ is
loaded, and I see no big difference. The whole block “+Start a new
thread” is replaced by “+ New”, without “ thread” afterwards.
I'm not sure why you see that. Taking
```
<span class="d-none d-md-inline">Start a n</span><span
class="d-md-none">N</span>ew thread
```
as an example the whole point of the span tags is to render the initial
text as either `Start a n` or `N` depending on screen size and in either
case followed by `ew thread` so that the entire rendered string becomes
either `Start a new thread` or `New thread` depending on screen size.
That's all you need to translate,
Depending on what the actual translations of `Start a new thread` are
are `New thread` you may be able to translate this similarly or you may
need to translate it more like
```
<span class="d-none d-md-inline">Start a new</span><span
class="d-md-none">New</span> thread
```
or even
```
<span class="d-none d-md-inline">Start a new thread</span><span
class="d-md-none">New thread</span>
```
--
Mark Sapiro <m...@msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
_______________________________________________
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3
Security Policy: https://wiki.list.org/x/QIA9