%c = $config.open("autoaway.kvc","r");
%AutoAway{"Enabled"} = $config.read(%c,"Enabled",1);
- %AutoAway{"Reason"} = $config.read(%c,"Reason",$tr("felt asleep over the keyboard...","autoaway"));
+ %AutoAway{"Reason"} = $config.read(%c,"Reason",$tr("fell asleep over the keyboard...","autoaway"));
%AutoAway{"InactivityTimeoutInMins"} = $config.read(%c,"InactivityTimeoutInMins",10);
%AutoAway{"UseAwayMessage"} = $config.read(%c,"UseAwayMessage",0)
%AutoAway{"AwayMessage"} = $config.read(%c,"AwayMessage",$tr("fell asleep over the keyboard after \%AutoAwayTime minutes of inactivity...","autoaway"))
%l->$addMultiCellWidget(@%hReason,1,1,2,4)
objects.connect @%hEnabled "toggled" @%hReason "setEnabled"
- %tip = $tr("This is the aproximate timeout after that KVIrc will automatically set away mode","autoaway");
+ %tip = $tr("This is the approximate timeout after that KVIrc will automatically set away mode","autoaway");
%label = $new(label,$this)
%label->$setText($tr("Inactivity Timeout","autoaway") " ")
%label->$setEnabled(%AutoAway{"Enabled"})
%l->$addMultiCellWidget(@%hInactivityTimeout,2,2,2,4)
objects.connect @%hEnabled "toggled" @%hInactivityTimeout "setEnabled"
- %tip = $tr("While setting away mode, the addon can also execute a /me command on all the channels and queries you are on.<br>Please be aware that away actions are often looked suspiciously by operators...","autoaway");
+ %tip = $tr("While setting away mode, the add-on can also execute a /me command on all the channels and queries you are on.<br>Please be aware that away actions are often looked suspiciously by operators...","autoaway");
@%hUseAwayMessage = $this->$createCheckBox($this,$tr("Use Away Message","autoaway"),%AutoAway{"UseAwayMessage"})
@%hUseAwayMessage->$setEnabled(%AutoAway{"Enabled"})
@%hUseAwayMessage->$setToolTip(%tip)