← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6380: local vn - Fixed bug I18n.

 

------------------------------------------------------------
revno: 6380
committer: Hieu <hieu.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2012-03-26 16:22:30 +0700
message:
  local vn - Fixed bug I18n.
modified:
  local/vn/dhis-service-spreadsheet-reporting/src/main/java/org/hisp/dhis/reportsheet/impl/DefaultExportReportService.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'local/vn/dhis-service-spreadsheet-reporting/src/main/java/org/hisp/dhis/reportsheet/impl/DefaultExportReportService.java'
--- local/vn/dhis-service-spreadsheet-reporting/src/main/java/org/hisp/dhis/reportsheet/impl/DefaultExportReportService.java	2012-02-03 08:38:42 +0000
+++ local/vn/dhis-service-spreadsheet-reporting/src/main/java/org/hisp/dhis/reportsheet/impl/DefaultExportReportService.java	2012-03-26 09:22:30 +0000
@@ -194,7 +194,7 @@
 
     public Collection<String> getExportReportGroups()
     {
-        return i18n( i18nService, exportReportStore.getExportReportGroups() );
+        return exportReportStore.getExportReportGroups();
     }
 
     public Collection<ExportReport> getExportReportsByGroup( String group )
@@ -204,12 +204,12 @@
 
     public Collection<ExportReport> getExportReportsByClazz( Class<?> clazz )
     {
-        return exportReportStore.getExportReportsByClazz( clazz );
+        return i18n( i18nService, exportReportStore.getExportReportsByClazz( clazz ) );
     }
 
     public Collection<ExportReport> getExportReportsByReportType( String reportType )
     {
-        return exportReportStore.getExportReportsByReportType( reportType );
+        return i18n( i18nService, exportReportStore.getExportReportsByReportType( reportType ) );
     }
 
     public Collection<String> getAllExportReportTemplates()