diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index d0a1fa926..f4392c550 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -13,6 +13,7 @@ Added tests for File and Image assets to verify that this happens correctly. - fix - Unable to add EventsCalendar - fix - Wiki Page not added to config + - fix - Some functions in InOutBoard not internationalized 7.3.0 diff --git a/docs/upgrades/templates-7.3.1/inOutReportTemplate.tmpl b/docs/upgrades/templates-7.3.1/inOutReportTemplate.tmpl new file mode 100644 index 000000000..f2e3e4c86 --- /dev/null +++ b/docs/upgrades/templates-7.3.1/inOutReportTemplate.tmpl @@ -0,0 +1,33 @@ +#IOB0000000000000000002 +#namespace:InOutBoard/Report +

+
+
+ + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + + diff --git a/docs/upgrades/templates-7.3.1/inOutTemplate.tmpl b/docs/upgrades/templates-7.3.1/inOutTemplate.tmpl new file mode 100644 index 000000000..c23a0340e --- /dev/null +++ b/docs/upgrades/templates-7.3.1/inOutTemplate.tmpl @@ -0,0 +1,51 @@ +#IOB0000000000000000001 +#namespace:InOutBoard + + +

+
+ + +

+
+ +
+ +

+
+ + + + +
+ +
+
+ + + + + + + + class="odd"> + class="odd"> + class="odd"> + class="odd"> + + + +

+ + + diff --git a/lib/WebGUI/Asset/Wobject/InOutBoard.pm b/lib/WebGUI/Asset/Wobject/InOutBoard.pm index 37adfb905..25b3e33c4 100644 --- a/lib/WebGUI/Asset/Wobject/InOutBoard.pm +++ b/lib/WebGUI/Asset/Wobject/InOutBoard.pm @@ -172,6 +172,7 @@ sub view { my $i18n = WebGUI::International->new($self->session, "Asset_InOutBoard"); if ($self->session->user->isInGroup($self->getValue("reportViewerGroup"))) { $var{'viewReportURL'} = $self->getUrl("func=viewReport"); + $var{'viewReportLabel'} = $i18n->get('view report label'); $var{canViewReport} = 1; } else { $var{canViewReport} = 0; } @@ -233,6 +234,7 @@ sub view { $var{displayForm} = 1; $var{'form'} = $f->print; $var{'selectDelegatesURL'} = $self->getUrl("func=selectDelegates"); + $var{'selectDelegatesLabel'} = $i18n->get('select delegates label'); } else { $var{displayForm} = 0; } @@ -451,6 +453,7 @@ sub www_viewReport { -hoverHelp=>$i18n->get('14 description'), ); $f->submit(-value=>"Search"); + $var{'reportTitleLabel'} = $i18n->get('report title'); $var{'form'} = $f->print; my $url = $self->getUrl("func=viewReport;selectDepartment=".$self->session->form->process("selectDepartment").";reportPagination=".$self->session->form->process("reportPagination").";startDate=".$self->session->form->process("startDate").";endDate=".$self->session->form->process("endDate").";doit=1"); if ($self->session->form->process("doit")) { diff --git a/lib/WebGUI/Help/Asset_InOutBoard.pm b/lib/WebGUI/Help/Asset_InOutBoard.pm index 6c40263b8..000325aee 100644 --- a/lib/WebGUI/Help/Asset_InOutBoard.pm +++ b/lib/WebGUI/Help/Asset_InOutBoard.pm @@ -123,6 +123,9 @@ our $HELP = { title => '22', body => '23', variables => [ + { + 'name' => 'reportTitle' + }, { 'name' => 'showReport' }, diff --git a/lib/WebGUI/i18n/English/Asset_InOutBoard.pm b/lib/WebGUI/i18n/English/Asset_InOutBoard.pm index 485e7a4ea..8c0846849 100644 --- a/lib/WebGUI/i18n/English/Asset_InOutBoard.pm +++ b/lib/WebGUI/i18n/English/Asset_InOutBoard.pm @@ -400,6 +400,38 @@ can alter their status.|, context => q|label for user profile field|, }, + 'report title' => { + message => q|In/Out Board Report|, + lastUpdated =>1165810121, + context => q|Default i18n label for a In/Out Board Report|, + }, + + 'reportTitle' => { + message => q|Internationalized title for an In/Out Board Report.|, + lastUpdated =>1165810121, + }, + + 'select delegates label' => { + message => q|Select Delegates|, + lastUpdated =>1165810121, + context => q|Default i18n label for the URL to select delegates|, + }, + + 'selectDelegatesLabel' => { + message => q|Internationalized title for the URL to select delegates.|, + lastUpdated =>1165810121, + }, + + 'view report label' => { + message => q|View Report|, + lastUpdated =>1165810121, + }, + + 'viewReportLabel' => { + message => q|Internationalized title for the URL to view reports.|, + lastUpdated =>1165810121, + }, + }; 1;