[tuxdroid-svn] r637 - in software/gadgets/light_monitor/trunk: . Light_monitor Light_monitor/String
Status: Beta
Brought to you by:
ks156
From: Paul_R <c2m...@c2...> - 2007-10-19 08:48:53
|
Author: Paul_R Date: 2007-10-19 10:48:25 +0200 (Fri, 19 Oct 2007) New Revision: 637 Modified: software/gadgets/light_monitor/trunk/Light_monitor.tgf software/gadgets/light_monitor/trunk/Light_monitor/Strings/fr_ALL.xml software/gadgets/light_monitor/trunk/Light_monitor/about.xml software/gadgets/light_monitor/trunk/Light_monitor/settings.xml software/gadgets/light_monitor/trunk/Light_monitor/strings.xml Log: * Added help file Modified: software/gadgets/light_monitor/trunk/Light_monitor/Strings/fr_ALL.xml =================================================================== --- software/gadgets/light_monitor/trunk/Light_monitor/Strings/fr_ALL.xml 2007-10-19 08:47:18 UTC (rev 636) +++ software/gadgets/light_monitor/trunk/Light_monitor/Strings/fr_ALL.xml 2007-10-19 08:48:25 UTC (rev 637) @@ -11,8 +11,40 @@ <Increase type='str'>La lumière est passée en dessus du seuil</Increase> <gui_conf_accept_bt type='str'>Valider</gui_conf_accept_bt> <speaker_name type='str'>Bruno8k</speaker_name> - <help_text type='str'> - </help_text> + <help_text type='str'>-- Les évènements : +Deux grands types d'évènements peuvent avoir lieu, contenant chacun diverses options : + +Les changements : +Les changements sont de évènements qui se produisent dans un laps de temps donné. +Les quatre types de changements sont : +- Chute +- Augmentation +- Une chute suivie d'une augmentation +- Une augmentation suivie d'une chute + +Par exemple, un évènement peut avoir lieu si le niveau lumineux diminue de 10% dans un laps de temps de deux secondes. + +Les seuils : +Les évènements de seuils se déclenche lorsque la lumière atteint un certain niveau. +Le passage du seuil peut se faire : +- par une augmentation (dépassement du seuil) +- par une diminution (passage en dessous du seuil) +- dans les deux directions. + +-- Les fenêtres : +- La fenêtre de configuration : +Cette fenêtre reprend toutes les options de configuration du gadget, notamment le taux de rafraichissement ainsi que le nombre de points affichés sur le graphique peut être configuré. + +Des évènements, pouvant entraîner une notification, peuvent également être enregistrés. +Si aucun script externe n'est spécifié, un comportement de base se déclenchera. +Les évènements peuvent à tout moment être modifiés ou supprimés, par simple sélection de la ligne dans le tableau. + +- La fenêtre du gadget : +Cette fenêtre affiche le graphique de lumière. +Lorsque cette fenêtre est affichée, les évènements enregistrés dans la fenêtre de configuration ne sont plus notifiés. +Cette fenêtre permet de tester diverses configurations et de les ajouter dans le tableau de configuration. + +Une zone de test comportant deux boutons permettent à Tux de rechercher la direction la plus lumineuse, ou la plus sombre.</help_text> <ChangeU type='str'>La lumière a augmenté puis chuté</ChangeU> <conf_lblChange type='str'>Changement</conf_lblChange> <conf_lblBoth type='str'>Deux directions</conf_lblBoth> @@ -25,10 +57,10 @@ <gui_conf_cancel_bt type='str'>Annuler</gui_conf_cancel_bt> <MainBehavior type='str'>Comportement principal</MainBehavior> <gui_conf_rate_lb type='str'>Taux de rafraichissement :</gui_conf_rate_lb> - <Threshold type='str'>La lumière a atteint le seuil</Threshold> <mainscript type='str'>J'ai trouvé la lumière !</mainscript> <conf_btnRemove type='str'>Enlever</conf_btnRemove> <gui_conf_delay_lb type='str'>Délai (sec)</gui_conf_delay_lb> + <conf_lblNotNotified type='str'>Non notifié</conf_lblNotNotified> <conf_btnBehavior type='str'>Supprimer</conf_btnBehavior> <gui_conf_about_title type='str'>A propos</gui_conf_about_title> <conf_lblChangeD type='str'>Chute et augmente</conf_lblChangeD> @@ -37,6 +69,7 @@ <conf_lblSample type='str'>Points</conf_lblSample> <conf_lblType type='str'>Type</conf_lblType> <Change type='str'>La lumière a changé</Change> + <conf_lblRate type='str'>Taux de rafraichissement</conf_lblRate> <Both type='str'>La lumière a passé le seuil</Both> <conf_btnModify type='str'>Modifier</conf_btnModify> <widget_lblDrop type='str'>Chute</widget_lblDrop> @@ -54,7 +87,7 @@ <light2 type='str'>J'en vois encore plus ici !</light2> <gui_conf_author_lb type='str'>Auteur</gui_conf_author_lb> <widget_lblRaise type='str'>Augmentation</widget_lblRaise> - <gui_conf_window_title type='str'>Paramètres</gui_conf_window_title> + <ChangeD type='str'>La lumière a chuté puis augmenté</ChangeD> <widget_lblBoth type='str'>Deux directions</widget_lblBoth> <gui_conf_current_bind_lb type='str'>Assignation</gui_conf_current_bind_lb> <conf_lblDefaultBehavior type='str'>Comportement pas défaut</conf_lblDefaultBehavior> @@ -66,12 +99,11 @@ <widget_lblChange type='str'>Changement</widget_lblChange> <widget_lblLight type='str'>Trouver lumière</widget_lblLight> <name_to_read type='str'>Moniteur de lumière</name_to_read> - <conf_lblNotNotified type='str'>Non notifié</conf_lblNotNotified> + <gui_conf_window_title type='str'>Paramètres</gui_conf_window_title> <Drop type='str'>La lumière a chuté</Drop> <conf_lblDrop type='str'>Chute</conf_lblDrop> - <ChangeD type='str'>La lumière a chuté puis augmenté</ChangeD> + <widget_lblBehavior type='str'>Activer le script</widget_lblBehavior> <Raise type='str'>La lumière a augmenté</Raise> - <widget_lblThreshold type='str'>Seuil</widget_lblThreshold> <conf_lblNotified type='str'>Notifié ?</conf_lblNotified> <widget_lblSet type='str'>Ajouter a la config.</widget_lblSet> <light3 type='str'>ou ici ?</light3> @@ -79,11 +111,11 @@ <Decrease type='str'>La lumière est passée en dessous du seuil</Decrease> <conf_lblValue type='str'>Valeur (%)</conf_lblValue> <light4 type='str'>Je pense que la lumière vient de cette direction</light4> - <conf_lblRate type='str'>Taux de rafraichissement</conf_lblRate> - <widget_lblBehavior type='str'>Activer le script</widget_lblBehavior> + <light5 type='str'>Je ne peux pas trouver d'où vient la lumière...</light5> + <Threshold type='str'>La lumière a atteint le seuil</Threshold> <widget_lblChangeD type='str'>Changement inf.</widget_lblChangeD> <conf_lblTime type='str'>Temps (sec.)</conf_lblTime> <conf_lblControl type='str'>Contrôle</conf_lblControl> <widget_lblDark type='str'>Trouver ombre</widget_lblDark> - <light5 type='str'>Je ne peux pas trouver d'où vient la lumière...</light5> + <widget_lblThreshold type='str'>Seuil</widget_lblThreshold> </strings> Modified: software/gadgets/light_monitor/trunk/Light_monitor/about.xml =================================================================== --- software/gadgets/light_monitor/trunk/Light_monitor/about.xml 2007-10-19 08:47:18 UTC (rev 636) +++ software/gadgets/light_monitor/trunk/Light_monitor/about.xml 2007-10-19 08:48:25 UTC (rev 637) @@ -1,7 +1,7 @@ <?xml version='1.0' encoding='UTF-8'?> <about> + <gadget_author type='str'>Paul Rathgeb</gadget_author> + <gadget_version type='str'>0.0.1</gadget_version> <gadget_description type='str'>Light monitor for tux droid</gadget_description> - <gadget_author type='str'>Paul Rathgeb</gadget_author> <gadget_name type='str'>light_monitor</gadget_name> - <gadget_version type='str'>0.0.1</gadget_version> </about> Modified: software/gadgets/light_monitor/trunk/Light_monitor/settings.xml =================================================================== --- software/gadgets/light_monitor/trunk/Light_monitor/settings.xml 2007-10-19 08:47:18 UTC (rev 636) +++ software/gadgets/light_monitor/trunk/Light_monitor/settings.xml 2007-10-19 08:48:25 UTC (rev 637) @@ -10,22 +10,22 @@ <changeD_rad type='bool'>False</changeD_rad> <threshold type='float'>50.0</threshold> <decrease_rad type='bool'>False</decrease_rad> - <behavior_file_threshold type='NoneType'>None</behavior_file_threshold> + <Sample type='float'>500.0</Sample> <raise type='float'>10.0</raise> <changeU_rad type='bool'>False</changeU_rad> <threshold_notified type='bool'>False</threshold_notified> <config type='list'>[]</config> <behavior_file_change type='NoneType'>None</behavior_file_change> + <drop_rad type='bool'>True</drop_rad> <raise_rad type='bool'>False</raise_rad> <changeD type='float'>10.0</changeD> <drop_time type='float'>1.0</drop_time> <changeU type='float'>10.0</changeU> <raise_time type='float'>1.0</raise_time> <drop type='float'>10.0</drop> - <drop_rad type='bool'>True</drop_rad> <MainScript type='str'> </MainScript> - <Sample type='float'>500.0</Sample> + <behavior_file_threshold type='NoneType'>None</behavior_file_threshold> <threshold_chk type='bool'>False</threshold_chk> <Rate type='float'>0.1</Rate> <changeD_time type='float'>1.0</changeD_time> Modified: software/gadgets/light_monitor/trunk/Light_monitor/strings.xml =================================================================== --- software/gadgets/light_monitor/trunk/Light_monitor/strings.xml 2007-10-19 08:47:18 UTC (rev 636) +++ software/gadgets/light_monitor/trunk/Light_monitor/strings.xml 2007-10-19 08:48:25 UTC (rev 637) @@ -3,46 +3,76 @@ <conf_lblIncrease type='str'>Increase</conf_lblIncrease> <conf_lblThreshold type='str'>Threshold</conf_lblThreshold> <gui_conf_remote_title type='str'>Control</gui_conf_remote_title> - <conf_lblTime type='str'>Time (sec.)</conf_lblTime> <conf_lblRaise type='str'>Raise</conf_lblRaise> - <widget_lblSet type='str'>Add to config</widget_lblSet> + <power_supply type='str'>You must disconnect the power supply</power_supply> <gui_conf_description_lb type='str'>Description</gui_conf_description_lb> <conf_lblEvent type='str'>Event</conf_lblEvent> <widget_lblControl type='str'>Control</widget_lblControl> <Increase type='str'>The light level exceeded the threshold</Increase> + <widget_lblBehavior type='str'>Enable behavior script</widget_lblBehavior> + <conf_btnRemove type='str'>Remove</conf_btnRemove> <gui_conf_accept_bt type='str'>Accept</gui_conf_accept_bt> - <speaker_name type='str'>Ryan8k</speaker_name> - <help_text type='str'> - </help_text> - <conf_lblBehavior type='str'>Behavior script</conf_lblBehavior> + <help_text type='str'>-- The events: +Two main types of events can take place, containing each one various options: + +The changes: +The changes are events which occur in a given time. +The four types of changes are: +- Drop +- Raise +- a followed drop of an increase +- an followed increase of a drop + +For example, an event can take place if the light level decreases by 10% in a time of two seconds. + +The thresholds: +The thresholds events starts when the light reached a specified level. +The passage of the threshold can be done: +- by an increase (passage beyond of the threshold) +- by a reduction (passage below the threshold) +- in the both directions. + +-- The windows: +- The settings window: +This window contains all the options of configuration of the gadget, in particular the refresh rate and the number of points displayed on the graph. + +Some events, being able to involve a notification, can also be recorded. +If no external script is specified, a standard behavior will start. +The events can constantly be modified or removed, simply by selection of the line in the table. + +- The gadget window: +This window display the light graph. +When this window is showed, the events recorded in the settings window are not notified. +This window makes it possible to try various configurations and to add them in the settings table. + +A test area comprising two buttons make it possible Tux to seek the most luminous direction, or darkest.</help_text> + <ChangeU type='str'>The light level raised and dropped</ChangeU> <conf_lblChange type='str'>Change</conf_lblChange> <conf_lblBoth type='str'>Both</conf_lblBoth> <widget_lblBtnApply type='str'>Apply changes</widget_lblBtnApply> - <conf_lblRate type='str'>Refresh rate</conf_lblRate> <widget_lblChangeU type='str'>Raise and drop</widget_lblChangeU> <conf_lblDecrease type='str'>Decrease</conf_lblDecrease> <gui_conf_version_lb type='str'>Version</gui_conf_version_lb> <gui_conf_update_title type='str'>Update</gui_conf_update_title> <widget_lblValue type='str'>Value (%)</widget_lblValue> <gui_conf_cancel_bt type='str'>Cancel</gui_conf_cancel_bt> - <widget_lblBoth type='str'>Both direction</widget_lblBoth> - <Threshold type='str'>The light reached the threshold</Threshold> + <MainBehavior type='str'>Main behavior</MainBehavior> + <gui_conf_rate_lb type='str'>Refresh rate :</gui_conf_rate_lb> <mainscript type='str'>I've found the light !</mainscript> + <light2 type='str'>ow wait, even lighter here.</light2> <gui_conf_delay_lb type='str'>Delay (sec)</gui_conf_delay_lb> - <widget_lblDrop type='str'>Drop</widget_lblDrop> <conf_btnBehavior type='str'>Clear path</conf_btnBehavior> <gui_conf_about_title type='str'>About</gui_conf_about_title> <conf_lblChangeD type='str'>Drop and raise</conf_lblChangeD> - <widget_lblChangeD type='str'>Drop and raise</widget_lblChangeD> - <power_supply type='str'>You must disconnect the power supply</power_supply> + <conf_lblChangeU type='str'>Raise and drop</conf_lblChangeU> + <speaker_name type='str'>Ryan8k</speaker_name> <conf_lblSample type='str'>Samples</conf_lblSample> <conf_lblType type='str'>Type</conf_lblType> <Change type='str'>The light level changed</Change> - <conf_lblValue type='str'>Value (%)</conf_lblValue> + <widget_lblDark type='str'>Search darkness</widget_lblDark> <Both type='str'>The light level reached the threshold</Both> <conf_btnModify type='str'>Modify</conf_btnModify> - <widget_lblTest type='str'>Notifications</widget_lblTest> - <widget_lblEvent type='str'>Event</widget_lblEvent> + <widget_lblDrop type='str'>Drop</widget_lblDrop> <widget_lblNotified type='str'>Notified</widget_lblNotified> <dark1 type='str'>It's pretty dark here.</dark1> <widget_lblIncrease type='str'>Increasing</widget_lblIncrease> @@ -52,38 +82,40 @@ <dark4 type='str'>This is the darkest spot.</dark4> <gui_conf_sample_lb type='str'>Sample :</gui_conf_sample_lb> <widget_lblDecrease type='str'>Decreasing</widget_lblDecrease> + <widget_lblEvent type='str'>Event</widget_lblEvent> <conf_lblNotifiedBehavior type='str'>Notified</conf_lblNotifiedBehavior> <gui_conf_author_lb type='str'>Author</gui_conf_author_lb> <widget_lblRaise type='str'>Raise</widget_lblRaise> - <conf_lblNotified type='str'>Notified ?</conf_lblNotified> - <gui_conf_window_title type='str'>Parameters</gui_conf_window_title> - <gui_conf_rate_lb type='str'>Refresh rate :</gui_conf_rate_lb> + <ChangeD type='str'>The light level dropped and raised</ChangeD> + <widget_lblBoth type='str'>Both direction</widget_lblBoth> <gui_conf_current_bind_lb type='str'>Current</gui_conf_current_bind_lb> <conf_lblDefaultBehavior type='str'>Default behavior</conf_lblDefaultBehavior> - <conf_lblChangeU type='str'>Raise and drop</conf_lblChangeU> + <widget_lblDisplayThreshold type='str'>Display threshold on graph</widget_lblDisplayThreshold> + <conf_lblBehavior type='str'>Behavior script</conf_lblBehavior> <dark2 type='str'>And darker here.</dark2> <gui_conf_remote_set_bt type='str'>Set</gui_conf_remote_set_bt> <search type='str'>I seek ...</search> <widget_lblChange type='str'>Change</widget_lblChange> <widget_lblLight type='str'>Search light</widget_lblLight> <name_to_read type='str'>Light monitor</name_to_read> - <conf_lblNotNotified type='str'>Not notified</conf_lblNotNotified> + <gui_conf_window_title type='str'>Parameters</gui_conf_window_title> <Drop type='str'>The light level dropped</Drop> <conf_lblDrop type='str'>Drop</conf_lblDrop> - <ChangeD type='str'>The light level dropped and raised</ChangeD> + <conf_lblNotNotified type='str'>Not notified</conf_lblNotNotified> <Raise type='str'>The light level raised</Raise> - <widget_lblDark type='str'>Search darkness</widget_lblDark> - <light2 type='str'>ow wait, even lighter here.</light2> + <widget_lblThreshold type='str'>Threshold</widget_lblThreshold> + <conf_lblNotified type='str'>Notified ?</conf_lblNotified> + <widget_lblSet type='str'>Add to config</widget_lblSet> <light3 type='str'>or here ...</light3> <light1 type='str'>Seeing more light over here.</light1> <Decrease type='str'>The light level passed below the threshold</Decrease> - <widget_lblDisplayThreshold type='str'>Display threshold on graph</widget_lblDisplayThreshold> + <conf_lblValue type='str'>Value (%)</conf_lblValue> <light4 type='str'>I think the light is coming from this direction.</light4> + <conf_lblRate type='str'>Refresh rate</conf_lblRate> + <Threshold type='str'>The light reached the threshold</Threshold> + <widget_lblChangeD type='str'>Drop and raise</widget_lblChangeD> + <conf_lblTime type='str'>Time (sec.)</conf_lblTime> + <conf_lblControl type='str'>Control</conf_lblControl> + <widget_lblTest type='str'>Notifications</widget_lblTest> <light5 type='str'>I can't find the direction of the light.</light5> - <widget_lblBehavior type='str'>Enable behavior script</widget_lblBehavior> - <MainBehavior type='str'>Main behavior</MainBehavior> - <ChangeU type='str'>The light level raised and dropped</ChangeU> - <conf_lblControl type='str'>Control</conf_lblControl> - <conf_btnRemove type='str'>Remove</conf_btnRemove> - <widget_lblThreshold type='str'>Threshold</widget_lblThreshold> </strings> Modified: software/gadgets/light_monitor/trunk/Light_monitor.tgf =================================================================== (Binary files differ) |