version 1.432, 2009/03/27 02:39:59
|
version 1.433, 2009/03/27 11:33:19
|
Line 643 sub getDescription {
|
Line 643 sub getDescription {
|
if ($slot_status == $res->UNKNOWN) { |
if ($slot_status == $res->UNKNOWN) { |
return &mt('Reservation status unknown'); |
return &mt('Reservation status unknown'); |
} elsif ($slot_status == $res->RESERVED) { |
} elsif ($slot_status == $res->RESERVED) { |
return &mt('Reserved - ends').' '. |
return &mt('Reserved - ends [_1]', |
timeToHumanString($slot_time,'end'); |
timeToHumanString($slot_time,'end')); |
} elsif ($slot_status == $res->RESERVED_LOCATION) { |
} elsif ($slot_status == $res->RESERVED_LOCATION) { |
return &mt('Reserved - specific location(s) - ends').' '. |
return &mt('Reserved - specific location(s) - ends [_1]', |
timeToHumanString($slot_time,'end'); |
timeToHumanString($slot_time,'end')); |
} elsif ($slot_status == $res->RESERVED_LATER) { |
} elsif ($slot_status == $res->RESERVED_LATER) { |
return &mt('Reserved - next open').' '. |
return &mt('Reserved - next open [_1]', |
timeToHumanString($slot_time,'start'); |
timeToHumanString($slot_time,'start')); |
} elsif ($slot_status == $res->RESERVABLE) { |
} elsif ($slot_status == $res->RESERVABLE) { |
return &mt('Reservable ending').' '. |
return &mt('Reservable ending [_1]', |
timeToHumanString($slot_time,'end'); |
timeToHumanString($slot_time,'end')); |
} elsif ($slot_status == $res->RESERVABLE_LATER) { |
} elsif ($slot_status == $res->RESERVABLE_LATER) { |
return &mt('Reservable starting').' '. |
return &mt('Reservable starting [_1]', |
timeToHumanString($slot_time,'start'); |
timeToHumanString($slot_time,'start')); |
} elsif ($slot_status == $res->NOT_IN_A_SLOT) { |
} elsif ($slot_status == $res->NOT_IN_A_SLOT) { |
return &mt('Reserve a time/place to work'); |
return &mt('Reserve a time/place to work'); |
} elsif ($slot_status == $res->NOTRESERVABLE) { |
} elsif ($slot_status == $res->NOTRESERVABLE) { |