Re: [boinc_dev] french & german translation bug on language_select.php

2016-12-08 Thread Christian Beer
I don't see the need for an extra file that needs extra effort to be
kept up to date when the translations are fine. I fixed the French and
Portuguese translations in Transifex some weeks ago. This should be in
the github repo, if it is not we should investigate why.

Right now we don't need the language names in the po files anymore, so
we should remove them, but then someone needs to look out to add new
languages to language_names.inc (and document that this needs to be done).

Regards
Christian

On 08.12.2016 01:39, David Anderson wrote:
> I partly fixed this by getting the language names (native and
> international)
> from a BOINC file (inc/language_names.inc) rather than from the .po
> files.
>
> The German problem will go away when the translation is updated.
>
> -- David
>
> On 12/7/2016 12:58 PM, yoyo wrote:
>> Hello,
>>
>> I'm on the latest boinc git master.
>> There are bugs on https://yafu.myfirewall.org/yafu/language_select.php.
>>
>> If you change your language to German and open this page you see a
>> "(%2)" on the first line.
>>
>> If you open this page in French you see a
>> "(LANG_NAME_INTERNATIONAL/LANG_NAME_NATIVE)" on the first line.
>>
>> Same in pt_BR: pt_BR (LANG_NAME_INTERNATIONAL/LANG_NAME_NATIVE).
>>
>> yoyo
>> ___
>> boinc_dev mailing list
>> boinc_dev@ssl.berkeley.edu
>> http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
>> To unsubscribe, visit the above URL and
>> (near bottom of page) enter your email address.
>
> ___
> boinc_dev mailing list
> boinc_dev@ssl.berkeley.edu
> http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
> To unsubscribe, visit the above URL and
> (near bottom of page) enter your email address.


___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] [boinc_projects] Bootstrap

2016-12-08 Thread Jord van der Elst
It was fixed by David in the next change.
It still doesn't look good in actual threads, with the post column taking
up so little space that it shows one word max per line. It looks similar in
Chrome, but there it's a max of 4 words per line. Zooming out will just
zoom the page out, the column stays the same width. I have sent that one
off to Dolphin's developers as it may be trouble with their browser and
CSS.


-- Jord van der Elst.

On Thu, Dec 8, 2016 at 8:30 PM, Juha Sointusalo 
wrote:

> On 8 December 2016 at 10:26, Jord van der Elst  wrote:
>
>> This doesn't look good on my mobile browser, Dolphin.
>>
>
> Is it still bad or was it just a temporary glitch? I could understand that
> the Post view would change but there isn't anything obviously wrong in the
> main index page source. The only change there is width: 100%; but I don't
> understand why the browser would now feel obligated to follow it when it
> normally doesn't.
>
> -Juha
>
___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] [boinc_projects] Bootstrap

2016-12-08 Thread Juha Sointusalo
On 8 December 2016 at 10:26, Jord van der Elst  wrote:

> This doesn't look good on my mobile browser, Dolphin.
>

Is it still bad or was it just a temporary glitch? I could understand that
the Post view would change but there isn't anything obviously wrong in the
main index page source. The only change there is width: 100%; but I don't
understand why the browser would now feel obligated to follow it when it
normally doesn't.

-Juha
___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.


Re: [boinc_dev] [boinc_projects] Bootstrap

2016-12-08 Thread Richard Haselgrove
David,
Could you please look at the 'numbered list' format used for messages in both 
search results and user posting history?
At SETI, there is a single visible horizontal rule between the message header 
and the text, and no divider at all between the end-of-text and the header for 
the next message.
At BOINC, it's slightly better with heavier rules between messages and lighter 
rules between header and body - but the distinction is very slight. 

On Thursday, 8 December 2016, 8:45, Jord van der Elst  
wrote:
 

 This doesn't look good on my mobile browser, Dolphin. The main index is now
all squashed together, with the Threads, Posts and Last Post columns are
super imposed over each other, even when I zoom out.
The individual forum indexes do look good.
But then all text in posts are now squashed into a single one-word column,
that I cannot resize.
(Attached for those that can see them, some images)

Even in Chrome the Threads, Posts and Last Post columns are right up
against each other, and here I can only zoom in, not out.
The same post column is now slightly broader, allowing for as many as four
words in the column.


-- Jord van der Elst.

On Thu, Dec 8, 2016 at 3:58 AM, David Anderson 
wrote:

> Thanks; that solved the problem.
> I committed it and deployed on SETI@home.
> I used a slightly wider author column (10em) to accommodate strings like
> "Volunteer moderator".
>
> -- David
>
> On 12/1/2016 1:47 PM, Juha Sointusalo wrote:
>
>>
>> Ok, pre-formatted text stretching table cells and allowing other text to
>> go off-screen.
>>
>> Tables that have pre-formatted text need to be fixed to 100% width:
>>
>> width: 100%;
>> table-layout: fixed;
>>
>> These tables are in Thread view, Post to thread, PM Inbox, Forum search
>> results, Posts by user and Profile: user (the inner table). The theme used
>> in Seti website seems to have tables set to 100% width already but it
>> doesn't hurt to make sure the width stays that even if the theme is changed.
>>
>> When table layout is fixed browser doesn't adjust column widths based on
>> their content any more. Instead the browser divides the available space
>> evenly across the columns unless the browser is told otherwise.
>>
>> Thread view and Post to thread needs width: 8em; set for the author
>> column, PM Inbox needs width: 8em; set for subject and sender columns. The
>> previous style used width: 136px; but that is not exactly responsive to
>> font size changes. I chose 8em because it looks good on my screen.
>>
>> Team search results and Team display are a bit harder. Both could use
>> fixed layout but I'm not sure what to do next. If I limit column widths in
>> Team search results the page looks bad on narrow displays; if I don't it
>> looks bad on wide displays. On Team display page the header that spans the
>> entire table seems to prevent setting width to columns. Anyway, I guess
>> it's rare enough to have very long lines in these two pages so they could
>> probably be left as they are now.
>>
>> The theme used on Seti has black on light grey for  blocks which
>> makes large blocks of text to stand out quite a lot on dark theme. I think
>> monospace font would be enough and would use normal text colour for it.
>>
>> You changed [code] BBcode element to render to  with white-space:
>> pre-wrap;. For some reason the previous style had made  a block level
>> element. Normally it's an inline element, that is, it can be used within
>> text like I have done throughout this message. I would like [code] to be
>> rendered to  with slight adjustment. To keep compatibility with
>> existing uses of [code],  needs white-space: pre-wrap; set. (There's
>> a small snag with using  for multiple lines; the first line is
>> slightly indented.) The colour used for  in Seti theme is... eh,
>> eye-catching, so same treatment as with .
>>
>> Putting those two together:
>>
>> code {
>>    color: inherit;
>> background-color: inherit;
>>    white-space: pre-wrap;
>> }
>>
>> pre {
>>    color: inherit;
>> background-color: inherit;
>>    white-space: pre;
>> }
>>
>> That leaves borders for theme designers to decide.
>>
>> -Juha
>>
>
> ___
> boinc_projects mailing list
> boinc_proje...@ssl.berkeley.edu
> http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_projects
> To unsubscribe, visit the above URL and
> (near bottom of page) enter your email address.
>

___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

   
___
boinc_dev mailing list
boinc_dev@ssl.berkeley.edu
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.