← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6388: local vn - Fixed I18n problem

 

------------------------------------------------------------
revno: 6388
committer: Hieu <hieu.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2012-03-27 13:09:22 +0700
message:
  local vn - Fixed I18n problem
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-03-26 09:22:30 +0000
+++ local/vn/dhis-service-spreadsheet-reporting/src/main/java/org/hisp/dhis/reportsheet/impl/DefaultExportReportService.java	2012-03-27 06:09:22 +0000
@@ -246,24 +246,22 @@
 
     public void deleteExportItem( int id )
     {
-        i18nService.removeObject( exportReportStore.getExportItem( id ) );
-
         exportReportStore.deleteExportItem( id );
     }
 
     public ExportItem getExportItem( int id )
     {
-        return i18n( i18nService, exportReportStore.getExportItem( id ) );
+        return exportReportStore.getExportItem( id );
     }
 
     public Collection<ExportItem> getAllExportItem()
     {
-        return i18n( i18nService, exportReportStore.getAllExportItem() );
+        return exportReportStore.getAllExportItem();
     }
 
     public Collection<ExportItem> getExportItem( int sheetNo, Integer reportId )
     {
-        return i18n( i18nService, exportReportStore.getExportItem( sheetNo, reportId ) );
+        return exportReportStore.getExportItem( sheetNo, reportId );
     }
 
     public Collection<Integer> getSheets( Integer reportId )