Changes

Jump to navigation Jump to search
Update current help content
Line 10: Line 10:  
* Support l10n for help content
 
* Support l10n for help content
 
* Write help for more activities
 
* Write help for more activities
* Improve current help activity
+
* Improve current Help Activity
    
== Progress ==
 
== Progress ==
Line 18: Line 18:  
Help content for the current Activity can be viewed in the Activity itself. It will pop up in a window when the user enters the key combination '''ctrl+shift+h'''. If there is no help content for the Activity, an error message will be written to the log. I have used the '''bundle_id''' of the Activity to match it with the corresponding help content file (in html).
 
Help content for the current Activity can be viewed in the Activity itself. It will pop up in a window when the user enters the key combination '''ctrl+shift+h'''. If there is no help content for the Activity, an error message will be written to the log. I have used the '''bundle_id''' of the Activity to match it with the corresponding help content file (in html).
   −
[https://github.com/callkalpa/sugar/tree/activity_help GitHub repo]
+
[https://github.com/callkalpa/sugar/tree/activity_help GitHub repo - Sugar fork]
    
<gallery>
 
<gallery>
Line 33: Line 33:  
</gallery>
 
</gallery>
   −
==== Update Help activity ====
+
==== Update Help Activity ====
   −
Help activity was improved to so as to support localized help content. Before localization content is supported, Help activity was released with the help content in the form of html files, static content including images, css, javascript etc. With localized help content, there will be one set of static content and different html files for each and every language that help content is localized into. I have done mainly two modifications.
+
Help Activity was improved to so as to support localized help content. Before localization content is supported, Help Activity was released with the help content in the form of html files, static content including images, css, javascript etc. With localized help content, there will be one set of static content and different html files for each and every language that help content is localized into. I have done mainly two modifications.
 +
 
 +
[https://git.sugarlabs.org/~callkalpa/help/callkalpa-help/commits/activity_help Gitorious repo - Help Activity fork]
    
===== helplink file =====
 
===== helplink file =====
Line 59: Line 61:  
   }
 
   }
    +
===== directory structure modification =====
   −
===== directory structure modification =====
+
To support localized content I had to change the directory structure of the help directory of the Help Activity. Following is the directory structure before,
 +
 
 +
  help
 +
  -_images
 +
  -_static
 +
  -*.html (help content)
 +
 
 +
new directory structure (with localization support) - only localization of English and Sinhala are shown as en example
 +
  help
 +
  -_images
 +
  -_static
 +
  -en
 +
    -*.html (help content in English)
 +
  -si
 +
    -*.html (help content in Sinhala)
    
==== Update current help content ====
 
==== Update current help content ====
    +
I have been updating the current help content, making them upto date with localization supporting screen capturing (label icons of the screen captures with numbers and refer and describe the icons below in text so that it can be localized). During the review process of submitting help content to Pootle, a lot of improvements with regard to the language are being done.
   −
* Implemented a Gtk window to view help in the activity
+
[https://git.sugarlabs.org/help-activity-content Gitorius repo - help activity content]
* Help file matching with the respective activity is done
  −
* Studied the internationalization process with sphinx (http://sphinx-doc.org/intl.html)
  −
* Was successful in i18n with sphinx
  −
* Update current help content (Work in progress: https://git.sugarlabs.org/~callkalpa/help-activity-content/callkalpas-mainline/commits/content_update)
      
== To-do ==
 
== To-do ==
   −
* Implement a mechanism to show help content based on the current language
  −
* Send current help content to Pootle be translated
   
* Write help for activities
 
* Write help for activities
 +
* Update current help content for some Activities including FotoToon and Record
62

edits

Navigation menu