[Rt-commit] r17967 - in rt/3.999/branches/merge_to_3.8.2: share/html/Dashboards/Elements
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Wed Jan 28 22:32:20 EST 2009
Author: sunnavy
Date: Wed Jan 28 22:32:20 2009
New Revision: 17967
Modified:
rt/3.999/branches/merge_to_3.8.2/ (props changed)
rt/3.999/branches/merge_to_3.8.2/share/html/Dashboards/Elements/ShowSubscription
Log:
r19126 at sunnavys-mb: sunnavy | 2009-01-29 09:14:13 +0800
merged share/html/Dashboards/Elements/ShowSubscription
Modified: rt/3.999/branches/merge_to_3.8.2/share/html/Dashboards/Elements/ShowSubscription
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/share/html/Dashboards/Elements/ShowSubscription (original)
+++ rt/3.999/branches/merge_to_3.8.2/share/html/Dashboards/Elements/ShowSubscription Wed Jan 28 22:32:20 2009
@@ -62,14 +62,14 @@
my $hour = $subscription->sub_value('Hour');
if ($freq eq 'weekly') {
- my $day = (qw/Monday Tuesday Wednesday Thursday Friday Saturday Sunday/)[$subscription->sub_value('Dow')];
- $frequency = _("%1 (on %2) at %3", $freq, $day, $hour);
+ my $day = $Subscription->sub_value('Dow');
+ $frequency = _("weekly (on %1) at %2", _($day), $hour);
}
elsif ($freq eq 'monthly') {
- $frequency = _("%1 (day %2) at %3", $freq, $subscription->sub_value('Dom'), $hour);
+ $frequency = _("monthly (day %1) at %2", $Subscription->sub_value('Dom'), $hour);
}
elsif ($freq eq 'daily') {
- $frequency = _("%1 at %2", $freq, $hour);
+ $frequency = _("daily at %1", $hour);
}
}
</%INIT>
More information about the Rt-commit
mailing list