Re: [Sugar-devel] [PATCH] sl#2815: Localization fixes.

2012-02-02 Thread David Mason
Hi Chris,

 I'm sure Zanata is a fine tool, but we've developed a L10n community
 around our Pootle instance and they are familiar with Pootle and we
 are pretty good at managing our Pootle instance and it's interactions
 with Gitorious, so I do not see any reason at present to consider
 switching, but I will spend some time looking over Zanata to better
 understand what it has to offer.

You're right, at present Zanata is less mature than Pootle, so it would be 
inappropriate to change. Let me know if you have any questions or want a hand 
getting into Zanata to check it out.

Cheers, 

David Mason
Software Engineer
L10n Engineering

Red Hat, Asia-Pacific Pty Ltd
Level 1, 193 North Quay
Brisbane 4000

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [DESIGN] Browse PDF handling

2012-02-02 Thread Manuel Quiñones
I'm proposing, for the new and fresh Browse wearing WebKit, the
following behaviour when clicking on a link to a PDF:

- the PDF is shown in a new tab, next to the current
- basic document navigation is provided to the user
- as well, a button to save to Journal is provided

Using the save to Journal button, the kid can now read the PDF
starting the full-featured Read activity.

This behaviour is similar to what Safari does, and I think it fits
Sugar user interface better than other approaches we where thinking
before, like start Read directly, which provokes an interruptive
activity switch.  Also this way, an entry in the Journal is made only
if the user ask for it, and allows a quick read of the PDF then you
can decide on storing.

If we go for this, some design decisions should be taken:

- How can we provide basic PDF navigation?
  1. Overload Browse buttons? This are: View zoom-in, zoom-out, Edit
copy, paste, Go back page, go forward page buttons.
  2. Add a special toolbar for PDF, add Save to Journal option in that toolbar

- Where to append Save to Journal button?
  1. In the activity toolbar, like other activities have.  This
matches well basic navigation 1 above.
  2. In a special toolbar.  This matches basic navigation 2 above.

For 1, I fear that may confuse users and may complicate code.  For 2,
we can take Safari as reference.  It adds an overlay horizontally
centered near the bottom of the screen [1].  We can do this with the
new widget GtkOverlay [2].

Am I overlooking something?  Comments?

Credits go to Simon for the investigation :-)

[1] http://dev.laptop.org/~erikos/designs/safari_inline.png
[2] http://developer.gnome.org/gtk3/3.3/GtkOverlay.html
-- 
.. manuq ..
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Browse PDF handling

2012-02-02 Thread Walter Bender
2012/2/2 Manuel Quiñones ma...@laptop.org:
 I'm proposing, for the new and fresh Browse wearing WebKit, the
 following behaviour when clicking on a link to a PDF:

 - the PDF is shown in a new tab, next to the current
 - basic document navigation is provided to the user
 - as well, a button to save to Journal is provided

 Using the save to Journal button, the kid can now read the PDF
 starting the full-featured Read activity.

 This behaviour is similar to what Safari does, and I think it fits
 Sugar user interface better than other approaches we where thinking
 before, like start Read directly, which provokes an interruptive
 activity switch.  Also this way, an entry in the Journal is made only
 if the user ask for it, and allows a quick read of the PDF then you
 can decide on storing.

 If we go for this, some design decisions should be taken:

 - How can we provide basic PDF navigation?
  1. Overload Browse buttons? This are: View zoom-in, zoom-out, Edit
 copy, paste, Go back page, go forward page buttons.
  2. Add a special toolbar for PDF, add Save to Journal option in that toolbar

#2 seems to be the way to go.


 - Where to append Save to Journal button?
  1. In the activity toolbar, like other activities have.  This
 matches well basic navigation 1 above.
  2. In a special toolbar.  This matches basic navigation 2 above.

 For 1, I fear that may confuse users and may complicate code.  For 2,
 we can take Safari as reference.  It adds an overlay horizontally
 centered near the bottom of the screen [1].  We can do this with the
 new widget GtkOverlay [2].

 Am I overlooking something?  Comments?

 Credits go to Simon for the investigation :-)

 [1] http://dev.laptop.org/~erikos/designs/safari_inline.png
 [2] http://developer.gnome.org/gtk3/3.3/GtkOverlay.html
 --
 .. manuq ..
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel



-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Browse PDF handling

2012-02-02 Thread Samuel Greenfeld
Something to watch out for is that many websites already like to open a
separate tab or window for PDF documents, sometimes via Javascript and
sometimes by setting the target frame/window.

Sometimes these sites directly link the PDF file; other times they attempt
to include it inline.

If we intend to support tabbed browsing, these behaviors could result in an
unused tab being opened besides the one showing the document.
On Feb 2, 2012 7:00 AM, Manuel Quiñones ma...@laptop.org wrote:

 I'm proposing, for the new and fresh Browse wearing WebKit, the
 following behaviour when clicking on a link to a PDF:

 - the PDF is shown in a new tab, next to the current
 - basic document navigation is provided to the user
 - as well, a button to save to Journal is provided

 Using the save to Journal button, the kid can now read the PDF
 starting the full-featured Read activity.

 This behaviour is similar to what Safari does, and I think it fits
 Sugar user interface better than other approaches we where thinking
 before, like start Read directly, which provokes an interruptive
 activity switch.  Also this way, an entry in the Journal is made only
 if the user ask for it, and allows a quick read of the PDF then you
 can decide on storing.

 If we go for this, some design decisions should be taken:

 - How can we provide basic PDF navigation?
  1. Overload Browse buttons? This are: View zoom-in, zoom-out, Edit
 copy, paste, Go back page, go forward page buttons.
  2. Add a special toolbar for PDF, add Save to Journal option in that
 toolbar

 - Where to append Save to Journal button?
  1. In the activity toolbar, like other activities have.  This
 matches well basic navigation 1 above.
  2. In a special toolbar.  This matches basic navigation 2 above.

 For 1, I fear that may confuse users and may complicate code.  For 2,
 we can take Safari as reference.  It adds an overlay horizontally
 centered near the bottom of the screen [1].  We can do this with the
 new widget GtkOverlay [2].

 Am I overlooking something?  Comments?

 Credits go to Simon for the investigation :-)

 [1] http://dev.laptop.org/~erikos/designs/safari_inline.png
 [2] http://developer.gnome.org/gtk3/3.3/GtkOverlay.html
 --
 .. manuq ..
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Sugar Digest 2012-02-02

2012-02-02 Thread Walter Bender
== Sugar Digest ==

1. I spent some time working on the nutrition plugin for Turtle Blocks
last weekend. I'm actually quite intrigued by the potential. So far, I
have built a small database of foods (banana, apple, chocolate cake,
and a chocolate chip cookie), where each object has an associated
simple polynomial with value for calories, protein, carbohydrates,
fiber, and fat. These values are respectable on the help palette and
there are inspector blocks that can get these values as numeric values
in Turtle Block programs. You can do arithmetic operations on the
object, e.g., banana * 3 + cookie / 2 and you can use the component
values in other operations, e.g., forward by get_calories apple.
Finally, there is an eat method that consumes the nutritional values
fed to it and accumulates aggregate totals for each component. Using
those values, I wrote a simple Weight Watchers(TM) Points
calculator. You can play with all of this by downloading the plugin
from [1].

Next up is to create a palette with foods that are actually meaningful
within the context of a deployment. There is a nice database to map
foods to their nutritional components available at [2] so the real
work is coming up with a representative list of foods and the artwork
for the blocks. Anyone one interested in exploring this further with
me?

A screen shot is available at [3].

2. I am a little late in relaying this, but Caryl Bigenho wrote up a
nice summary of SCaLE 10X a week ago. You can read about it here: [4]

3. I am please to announce that Robert Fadel will be taking over as
finance coordinator for Sugar Labs. Robert has a wealth of
professional experience in finance and, having previously been a part
of the core team at One Laptop per Child, he is very familiar with
Sugar Labs and its mission. Robert has been in communication with
Bradley Kuhn at the SFC in order to get brought up to speed on our
finances--Bradley had been distracted by an end of year audit report,
so things are a bit behind on the finance front. Once he gets the lay
of the land, I am certain that Robert will have many recommendations
on how we can improve our financial processes. Robert and Bradley both
have expressed interest in helping Sugar Labs identify funding
opportunities.

2. John Tierney spent the fall semester working closely with a team of
students participating in the OWL Jr. project at Oakland University
under the supervision of Dr. Dana Driscoll. The students evaluated
different aspects of Sugar and the use of Sugar in the classroom and
have written up very thoughtful recommendations. John is working with
them to get these materials into the wiki and to mine them for
potential feature requests. Stay tuned.

=== In the community ===

6. There will be an eduJAM! in the  week of May 7-12 in Montevideo.
Details to follow.

7. The week following eduJAM! will be a Squeakfest, also in Montevideo
(May 16-18).

=== Tech Talk ===

8. The patches for new features for Sugar 0.96 [5] have (for the most
part) landed. Under the hood, we'll see a migration to GTK-3. This is
particularly important in future-proofing Sugar, ensuring that we
remain in sync with our upstream and opens the door to much of the
work in the GNOME community around topics such as accessibility and
touch. Many thanks to everyone who has contributed to this major
effort. Other new features include a global text-to-speech mechanism,
written by Gonzalo Odiard. You'll be able to highlight text in any
activity and send it to the voice synthesizer with a simple keyboard
shortcut. Manuel Quiñones and Simon Schampijer have been porting
Browse to Webkit as its back end. Simon helped me with write to
journal anytime, a feature that enables the user to takes notes
stored in the Sugar journal from within any activity. And Sascha
Silbe, Anish Mangal, and Aleksey Lim have added proxy configuration to
the network entry in the Sugar control panel. Lots of QA to do, but
the heavy lifting is done.

=== Sugar Labs ===

Gary Martin has generated SOMs from the past few weeks of discussion
on the IAEP mailing list:

2012 Jan 21st-27th [6] (41 emails)
2012 Jan 14th-20th [7] (28 emails)

Visit our planet [8] for more updates about Sugar and Sugar deployments.



[1] http://wiki.sugarlabs.org/go/File:Food-plugin.tar.gz
[2] https://www.choosemyplate.gov/SuperTracker
[3] http://wiki.sugarlabs.org/images/0/01/Food-plugin.png
[4] http://lists.sugarlabs.org/archive/iaep/2012-January/014837.html
0.96/Feature_List
[6] http://wiki.sugarlabs.org/go/File:2012-Jan-21-27-som.jpg
[7] http://wiki.sugarlabs.org/go/File:2012-Jan-14-20-som.jpg
[8] http://planet.sugarlabs.org

-walter
-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [PATCH Sugar] Implementation of Text to Speech in Sugar Feature - v5

2012-02-02 Thread Simon Schampijer

On 02/01/2012 08:19 PM, Simon Schampijer wrote:

On 01/31/2012 08:08 PM, godi...@sugarlabs.org wrote:

From: Gonzalo Odiardgodi...@gmail.com

This patch implement the text to speech feature using the
gstremer espeak plugin and using a device icon in the frame
to enable the user to configure parameters and play/pause/stop
the spoken text. The configuration is saved in gconf.
gstreamer-plugins-espeak is in use in many activities,
but is added now as a dependency to Sugar.

Signed-off-by: Gonzalo Odiardgonz...@laptop.org


Hi Sascha,

Gonzalo adjusted the description. I think we can really push this one
now. Any other comments?

I would like to release now...
Simon
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel



Pushed as 450569da09b4e81cbe4f11f63fee47a024b14fad.

Regards,
   Simon

PS: Gonzalo will prepare a patch to catch gracefully the non-existance 
of gstreamer-espeak. As Sascha noted, gstreamer-plugins-espeak is not 
packaged for all the distros yet. I made the test and removed it from my 
system. Sugar does still start and the device icon is just not added but 
we can do a better logging.

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [RELEASE] sugar-artwork-0.95.2

2012-02-02 Thread Simon Schampijer
== Source ==

http://download.sugarlabs.org/sources/sucrose/glucose/sugar-artwork/sugar-artwork-0.95.2.tar.bz2

== News ==

* Release 0.95.2 (Simon Schampijer)
* Theme the view correctly (Manuel Quiñones)
* Theme the Sugar tray (Simon Schampijer)
* Add icon for the 'Write to Journal anytime' feature (Walter Bender)
* GTK+3 port (Manuel Quiñones)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [RELEASE] sugar-0.95.4

2012-02-02 Thread Simon Schampijer
== Source ==

http://download.sugarlabs.org/sources/sucrose/glucose/sugar/sugar-0.95.4.tar.bz2

== News ==

* Release 0.95.4 (Simon Schampijer)
* Update Sucrose version for upcoming 0.95.4 (Simon Schampijer)
* Add extensions/deviceicon/speech.py to POTFILES.in (Simon Schampijer)
* Commit from Sugar Labs: Translation System by user cjl.: 280 of 383 messages 
translated (7 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 271 of 383 messages 
translated (9 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 162 of 383 messages 
translated (7 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 216 of 383 messages 
translated (11 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 206 of 383 messages 
translated (28 fuzzy). (Pootle daemon)
* Implementation of Text to Speech Feature [1] (Gonzalo Odiard)
* Commit from Sugar Labs: Translation System by user cjl.: 383 of 383 messages 
translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 378 of 383 messages 
translated (0 fuzzy). (Pootle daemon)

==Packagers==
The Text to Speech Feature adds the dependency for gstreamer-plugins-espeak 
[1] which
is packaged in Fedora as gstreamer-plugins-espeak.

[1] http://wiki.sugarlabs.org/go/Activity_Team/gst-plugins-espeak
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [Sugar-news] Sugar Digest 2012-02-02

2012-02-02 Thread Walter Bender
On Thu, Feb 2, 2012 at 3:51 PM, Fred juma fredwa...@yahoo.com wrote:

 Bungoma OLPC HIV/AIDS  XO project has introduced more activities.Now there
 is internet connection on XO for children in primary Schools.Community
 outreach using XO machines has been introduced.the rural community is so
 excited.This courtesy of Sandra Thaxter of Solutions in USA.She is visiting
 the Kenyan OLPC XO projects to ensure there success.Hands of Charity has
 reached over 7 schools in Bungoma Kenya.The Maths programme has progressed
 too.I has changed the perfomance in Maths in Butonge Primary School in
 Bungoma County.Its a very good idea for learners.


Very interested to learn more about what activites you find useful and more
about the HIV/AIDS-specific efforts.

regards.

-walter


 --- On *Thu, 2/2/12, Walter Bender walter.ben...@gmail.com* wrote:


 From: Walter Bender walter.ben...@gmail.com
 Subject: [Sugar-news] Sugar Digest 2012-02-02
 To: community-n...@lists.sugarlabs.org
 Cc: iaep i...@lists.sugarlabs.org, Sugar-dev Devel 
 sugar-devel@lists.sugarlabs.org
 Date: Thursday, February 2, 2012, 2:10 PM

 == Sugar Digest ==

 1. I spent some time working on the nutrition plugin for Turtle Blocks
 last weekend. I'm actually quite intrigued by the potential. So far, I
 have built a small database of foods (banana, apple, chocolate cake,
 and a chocolate chip cookie), where each object has an associated
 simple polynomial with value for calories, protein, carbohydrates,
 fiber, and fat. These values are respectable on the help palette and
 there are inspector blocks that can get these values as numeric values
 in Turtle Block programs. You can do arithmetic operations on the
 object, e.g., banana * 3 + cookie / 2 and you can use the component
 values in other operations, e.g., forward by get_calories apple.
 Finally, there is an eat method that consumes the nutritional values
 fed to it and accumulates aggregate totals for each component. Using
 those values, I wrote a simple Weight Watchers(TM) Points
 calculator. You can play with all of this by downloading the plugin
 from [1].

 Next up is to create a palette with foods that are actually meaningful
 within the context of a deployment. There is a nice database to map
 foods to their nutritional components available at [2] so the real
 work is coming up with a representative list of foods and the artwork
 for the blocks. Anyone one interested in exploring this further with
 me?

 A screen shot is available at [3].

 2. I am a little late in relaying this, but Caryl Bigenho wrote up a
 nice summary of SCaLE 10X a week ago. You can read about it here: [4]

 3. I am please to announce that Robert Fadel will be taking over as
 finance coordinator for Sugar Labs. Robert has a wealth of
 professional experience in finance and, having previously been a part
 of the core team at One Laptop per Child, he is very familiar with
 Sugar Labs and its mission. Robert has been in communication with
 Bradley Kuhn at the SFC in order to get brought up to speed on our
 finances--Bradley had been distracted by an end of year audit report,
 so things are a bit behind on the finance front. Once he gets the lay
 of the land, I am certain that Robert will have many recommendations
 on how we can improve our financial processes. Robert and Bradley both
 have expressed interest in helping Sugar Labs identify funding
 opportunities.

 2. John Tierney spent the fall semester working closely with a team of
 students participating in the OWL Jr. project at Oakland University
 under the supervision of Dr. Dana Driscoll. The students evaluated
 different aspects of Sugar and the use of Sugar in the classroom and
 have written up very thoughtful recommendations. John is working with
 them to get these materials into the wiki and to mine them for
 potential feature requests. Stay tuned.

 === In the community ===

 6. There will be an eduJAM! in the  week of May 7-12 in Montevideo.
 Details to follow.

 7. The week following eduJAM! will be a Squeakfest, also in Montevideo
 (May 16-18).

 === Tech Talk ===

 8. The patches for new features for Sugar 0.96 [5] have (for the most
 part) landed. Under the hood, we'll see a migration to GTK-3. This is
 particularly important in future-proofing Sugar, ensuring that we
 remain in sync with our upstream and opens the door to much of the
 work in the GNOME community around topics such as accessibility and
 touch. Many thanks to everyone who has contributed to this major
 effort. Other new features include a global text-to-speech mechanism,
 written by Gonzalo Odiard. You'll be able to highlight text in any
 activity and send it to the voice synthesizer with a simple keyboard
 shortcut. Manuel Quiñones and Simon Schampijer have been porting
 Browse to Webkit as its back end. Simon helped me with write to
 journal anytime, a feature that enables the user to takes notes
 stored in the Sugar journal from within any activity. And Sascha
 Silbe, Anish Mangal, and 

[Sugar-devel] [ASLO] Release Turtle Blocks-134

2012-02-02 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4027

Sugar Platform:
0.82 - 0.94

Download Now:
http://activities.sugarlabs.org/downloads/file/27843/turtle_art-134.xo

Release notes:
134

ENHANCEMENTS:
* Added method to change block color (used by some plugins)
* Added method to set the visibility of palette blocks (used by some plugins)
* New translations

BUG FIX:
* Fixed typo inadvertently intoduced into plugin strings
* Fixed problem with boolean and compare blocks not expanding properly




Sugar Labs Activities
http://activities.sugarlabs.org

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Browse PDF handling

2012-02-02 Thread S Page
2012/2/2 Manuel Quiñones ma...@laptop.org:

 Am I overlooking something?  Comments?

Sounds good. But Browse already works similar to this on an XO-1
running 11.3.0. E.g. open a PDF Collection from the  OLPC Library
home page such as Big Cats or Activity Handbook, and it opens in
Browse in the current Browse window (not a new tab) and isn't added to
the Journal. Is your innovation the Save to Journal?  It seems the
same capability might be useful for other content types you see in the
browser, like video and audio.

One thing I regret is that Read is more usable than Browse in e-book
mode.  The game keys don't work the same in Browse, you have to be
careful to focus the Browse window in order to use the arrow keys,
there's less real estate for content. Somehow I've gotten PDFs to show
in the Journal, and from there I Resume with  Read for a better
reading experience.

Years ago there was mailing list discussion about how opening a URL in
Browse could hand it off to an activity that supports its mime type;
as I recall there were Rainbow security issues. Maybe your explicit
Save to Journal that implicitly saves the data to the XO's storage is
a better approach. In general Sugar has a hard time making useful 
intelligible distinctions between open  bookmark in Browse versus
open  manage in Journal, but that's true of every desktop I've yet
seen, all uneasily dealing with the web. IMO the problem goes away
best when you run *everything* in the browser ;-)

--
=S Page
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Browse PDF handling

2012-02-02 Thread S Page
I wrote:
 Somehow I've gotten PDFs to show
 in the Journal, and from there I Resume with  Read for a better
 reading experience.

I think that was back when clicking a PDF in Browse (even in
~/Library) would download it into the Journal. When I tried to do this
with 11.3.0 I ran into a strange problem. While I'm viewing a PDF in
Browse, if I click the globe menu item I can name it e.g. Browsing to
solar system PDF and it creates a Journal entry with that name
associated with Browse. But I can also right-click on the Journal
entry and Resume with  Read, Write, or Etoys. Doing so presents some
Browse JSON data (current_tab, a history array of URLs, etc.) in Read
and Write, instead of showing me the PDF, even though Read can easily
access a PDF by URL. Meanwhile, I can only Resume or Start an actual
PDF in the Journal from Read, I can't view it in Browse.

I dunno if these are bugs or I'm misunderstanding the nature of
Journal entries. As I said, uneasily dealing with the web...  It's a
hard problem.

Regards,
--
=S Page
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel