Re: [IAEP] Any way to hide google translation stuff in the printable version of wiki pages?

2009-08-06 Thread Tomeu Vizoso
On Fri, Aug 7, 2009 at 03:24, Gary C Martin wrote:
> Hi Kevin,
>
> On 6 Aug 2009, at 23:32, Kevin Cole wrote:
>
>> On Thu, Aug 6, 2009 at 17:52, Gary C Martin 
>> wrote:
>>
>>> Hmmm, wow folks actually still print? :-) I had a colleague who would
>>> incessantly print out every email she received and file it away by
>>> date,
>>> that was quite fun to watch ;-) On a community wiki, material is
>>> going to be
>>> out of date _really_ fast if you're referring to a print-out.
>>
>> I frequently find myself in situations where I have but one
>> computer, and
>> browsing the documentation while trying to do something else on the
>> same
>> computer (particularly the XO), is a RPITA.
>>
 One benefit now is that all pages have translation links.

>>>
>>> True, though I'm still not keen on all the vertical scrolling into
>>> empty
>>> space.
>>
>> My original thought (which Dave Bauer filled in what I left unsaid)
>> was
>> using either a class or id attribute on the  and/or 
>> within it,
>> and then setting that class/id to display:none for @media print.
>> This would
>> avoid the empty space you're referring to: Pages would show up as
>> most do
>> now, but when printed, all the translation magic would disappear
>> from the
>> printout.
>
> That would be cool, it's some css magic I wasn't aware of.
>
>> Barring that solution, would you be okay with something that
>> rearranged the
>> order of the sidebar to minimize scrolling?  (Of course, different
>> people
>> are going to want different stuff at the top...)
>>
>>> -.8 if it comes to a vote :-)
>>
>> Tell us how you REALLY feel. ;-)
>
> Well a re-arrange would help a little, still, mark me down as a -.75
> for the side bar (it was already too big to be honest) ;-)

What about using a dropdown menu? I think ASLO uses that.

Regards,

Tomeu

> Just did some testing – I've modified the Activity Team page with the
> below snippet:
>
> {{GoogleTrans-en}}{{TeamHeader|
> Activity Team}}
>
> ...and all the google translate is removed when printing:
>
>        http://wiki.sugarlabs.org/go/Activity_Team
>
> Can you give it a quick test and confirm?
>
> Regards,
> --Gary
>
> ___
> IAEP -- It's An Education Project (not a laptop project!)
> IAEP@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/iaep
>
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep


Re: [IAEP] Any way to hide google translation stuff in the printable version of wiki pages?

2009-08-06 Thread Gary C Martin
Hi Kevin,

On 6 Aug 2009, at 23:32, Kevin Cole wrote:

> On Thu, Aug 6, 2009 at 17:52, Gary C Martin   
> wrote:
>
>> Hmmm, wow folks actually still print? :-) I had a colleague who would
>> incessantly print out every email she received and file it away by  
>> date,
>> that was quite fun to watch ;-) On a community wiki, material is  
>> going to be
>> out of date _really_ fast if you're referring to a print-out.
>
> I frequently find myself in situations where I have but one  
> computer, and
> browsing the documentation while trying to do something else on the  
> same
> computer (particularly the XO), is a RPITA.
>
>>> One benefit now is that all pages have translation links.
>>>
>>
>> True, though I'm still not keen on all the vertical scrolling into  
>> empty
>> space.
>
> My original thought (which Dave Bauer filled in what I left unsaid)  
> was
> using either a class or id attribute on the  and/or   
> within it,
> and then setting that class/id to display:none for @media print.   
> This would
> avoid the empty space you're referring to: Pages would show up as  
> most do
> now, but when printed, all the translation magic would disappear  
> from the
> printout.

That would be cool, it's some css magic I wasn't aware of.

> Barring that solution, would you be okay with something that  
> rearranged the
> order of the sidebar to minimize scrolling?  (Of course, different  
> people
> are going to want different stuff at the top...)
>
>> -.8 if it comes to a vote :-)
>
> Tell us how you REALLY feel. ;-)

Well a re-arrange would help a little, still, mark me down as a -.75  
for the side bar (it was already too big to be honest) ;-)

Just did some testing – I've modified the Activity Team page with the  
below snippet:

{{GoogleTrans-en}}{{TeamHeader| 
Activity Team}}

...and all the google translate is removed when printing:

http://wiki.sugarlabs.org/go/Activity_Team

Can you give it a quick test and confirm?

Regards,
--Gary

___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep


Re: [IAEP] Any way to hide google translation stuff in the printable version of wiki pages?

2009-08-06 Thread Kevin Cole
On Thu, Aug 6, 2009 at 17:52, Gary C Martin  wrote:


> Hmmm, wow folks actually still print? :-) I had a colleague who would
> incessantly print out every email she received and file it away by date,
> that was quite fun to watch ;-) On a community wiki, material is going to be
> out of date _really_ fast if you're referring to a print-out.
>

I frequently find myself in situations where I have but one computer, and
browsing the documentation while trying to do something else on the same
computer (particularly the XO), is a RPITA.


> One benefit now is that all pages have translation links.
>>
>
> True, though I'm still not keen on all the vertical scrolling into empty
> space.
>

My original thought (which Dave Bauer filled in what I left unsaid) was
using either a class or id attribute on the  and/or  within it,
and then setting that class/id to display:none for @media print.  This would
avoid the empty space you're referring to: Pages would show up as most do
now, but when printed, all the translation magic would disappear from the
printout.

Barring that solution, would you be okay with something that rearranged the
order of the sidebar to minimize scrolling?  (Of course, different people
are going to want different stuff at the top...)


> -.8 if it comes to a vote :-)


Tell us how you REALLY feel. ;-)

-- 
Ubuntu Linux DC LoCo
Washington, DC
http://dc.ubuntu-us.org/
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] Any way to hide google translation stuff in the printable version of wiki pages?

2009-08-06 Thread Gary C Martin
On 6 Aug 2009, at 21:07, Kevin Cole wrote:

> On Thu, Aug 6, 2009 at 14:57, Frederick Grose   
> wrote:
> I've set up Google Translations in the wiki sidebar for a community  
> evaluation, http://wiki.sugarlabs.org/go/Welcome_to_the_Sugar_Labs_wiki 
> .
>
> In addition to making all pages longer, the 'Using the Wiki' section  
> of the sidebar is pushed further down. ...Bernie might be able to  
> move that, if the community prefers.

Hmmm, wow folks actually still print? :-) I had a colleague who would  
incessantly print out every email she received and file it away by  
date, that was quite fun to watch ;-) On a community wiki, material is  
going to be out of date _really_ fast if you're referring to a print- 
out.

> One benefit now is that all pages have translation links.

True, though I'm still not keen on all the vertical scrolling into  
empty space.

-.8 if it comes to a vote :-)

Regards,
--Gary
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep


Re: [IAEP] Any way to hide google translation stuff in the printable version of wiki pages?

2009-08-06 Thread Kevin Cole
On Thu, Aug 6, 2009 at 14:57, Frederick Grose  wrote:

> I've set up Google Translations in the wiki sidebar for a community
> evaluation, http://wiki.sugarlabs.org/go/Welcome_to_the_Sugar_Labs_wiki.
>
> In addition to making all pages longer, the 'Using the Wiki' section of the
> sidebar is pushed further down. ...Bernie might be able to move that, if the
> community prefers.
>
> One benefit now is that all pages have translation links.


I assume that before you made the change it was "ugly" with all the
translate stuff at the top of the printable view.  Looks great to me now.
 Thanks.


> So, to print a page without the Google Translations header, one would enter
> edit mode for a page, and then remove the {{GoogleTrans-en}} template at the
> top of the wiki text entry box. (An older version of the template may look
> like this, {{ GoogleTrans-en | es =show | bg =show | zh-CN =show | zh-TW
> =show | hr =show | cs =show | da =show | nl =show | fi =show | fr =show | de
> =show | el =show | hi =show | it =show | ja =show | ko =show | no =show | pl
> =show | pt =show | ro =show | ru =show | sv =show }}.


Shall I start changing pages as I encounter them?  (I doubt there'd be a lot
of problem with that, but one never knows.)

-- 
Ubuntu Linux DC LoCo
Washington, DC
http://dc.ubuntu-us.org/
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] Any way to hide google translation stuff in the printable version of wiki pages?

2009-08-06 Thread Frederick Grose
I've set up Google Translations in the wiki sidebar for a community
evaluation, http://wiki.sugarlabs.org/go/Welcome_to_the_Sugar_Labs_wiki.

In addition to making all pages longer, the 'Using the Wiki' section of the
sidebar is pushed further down. ...Bernie might be able to move that, if the
community prefers.

One benefit now is that all pages have translation links.

So, to print a page without the Google Translations header, one would enter
edit mode for a page, and then remove the {{GoogleTrans-en}} template at the
top of the wiki text entry box. (An older version of the template may look
like this, {{ GoogleTrans-en | es =show | bg =show | zh-CN =show | zh-TW
=show | hr =show | cs =show | da =show | nl =show | fi =show | fr =show | de
=show | el =show | hi =show | it =show | ja =show | ko =show | no =show | pl
=show | pt =show | ro =show | ru =show | sv =show }}.

  --Fred


On Thu, Aug 6, 2009 at 1:26 PM, Frederick Grose  wrote:

> We could put the translation links in the sidebar; though, since we don't
> have a dropdown list control, it would mean that all pages would probably
> have vertical scroll bars to cover the sidebar content.
>
> Wikipedia, http://en.wikipedia.org/wiki/Main_Page, is an example with 41
> languages.
>
>--Fred
>
> On Thu, Aug 6, 2009 at 12:44 PM, Kevin Cole  wrote:
>
>> Hi,
>>
>> Whenever I print something from the wiki, I get an expanded (sometimes
>> over one page) listing of all the many wonderful translations of a page
>> before getting to the actual content. Is there a way to tweak the CSS to
>> hide that when media = print?
>>
>> --
>> Ubuntu Linux DC LoCo
>> Washington, DC
>> http://dc.ubuntu-us.org/
>>
>> ___
>> IAEP -- It's An Education Project (not a laptop project!)
>> IAEP@lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/iaep
>>
>
>
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Re: [IAEP] Any way to hide google translation stuff in the printable version of wiki pages?

2009-08-06 Thread Dave Bauer
On Thu, Aug 6, 2009 at 1:26 PM, Frederick Grose wrote:
> We could put the translation links in the sidebar; though, since we don't
> have a dropdown list control, it would mean that all pages would probably
> have vertical scroll bars to cover the sidebar content.
>
> Wikipedia, http://en.wikipedia.org/wiki/Main_Page, is an example with 41
> languages.
>

Putting an id onto the container for the google translate content, and
a stylesheet for media:print that has display:none for the container,
is the common way to achieve this.

Dave

>    --Fred
>
> On Thu, Aug 6, 2009 at 12:44 PM, Kevin Cole  wrote:
>>
>> Hi,
>>
>> Whenever I print something from the wiki, I get an expanded (sometimes
>> over one page) listing of all the many wonderful translations of a page
>> before getting to the actual content. Is there a way to tweak the CSS to
>> hide that when media = print?
>> --
>> Ubuntu Linux DC LoCo
>> Washington, DC
>> http://dc.ubuntu-us.org/
>>
>> ___
>> IAEP -- It's An Education Project (not a laptop project!)
>> IAEP@lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/iaep
>
>
> ___
> IAEP -- It's An Education Project (not a laptop project!)
> IAEP@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/iaep
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep


Re: [IAEP] Any way to hide google translation stuff in the printable version of wiki pages?

2009-08-06 Thread Frederick Grose
We could put the translation links in the sidebar; though, since we don't
have a dropdown list control, it would mean that all pages would probably
have vertical scroll bars to cover the sidebar content.

Wikipedia, http://en.wikipedia.org/wiki/Main_Page, is an example with 41
languages.

   --Fred

On Thu, Aug 6, 2009 at 12:44 PM, Kevin Cole  wrote:

> Hi,
>
> Whenever I print something from the wiki, I get an expanded (sometimes over
> one page) listing of all the many wonderful translations of a page before
> getting to the actual content. Is there a way to tweak the CSS to hide that
> when media = print?
>
> --
> Ubuntu Linux DC LoCo
> Washington, DC
> http://dc.ubuntu-us.org/
>
> ___
> IAEP -- It's An Education Project (not a laptop project!)
> IAEP@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/iaep
>
___
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep