Skip to content

Commit

Permalink
added localization
Browse files Browse the repository at this point in the history
  • Loading branch information
rahuldevgarg committed Apr 28, 2023
1 parent 376e892 commit ccc1f87
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions frontend/mgramseva/lib/screeens/GpwscDetails/GpwscRateCard.dart
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,11 @@ class GpwscRateCard extends StatelessWidget {
rows.add(DataRow(cells: [
DataCell(Text("${ApplicationLocalizations.of(context)
.translate(i18.common.WATER_CHARGES)}-10101")),
DataCell(Text("${e.calculationAttribute}")),
DataCell(Text("${ApplicationLocalizations.of(context)
.translate("${e.calculationAttribute}")}")),
DataCell(Text("${slabs.from}-${slabs.to}")),
DataCell(Text("${e.buildingType}")),
DataCell(Text("${ApplicationLocalizations.of(context)
.translate("${e.buildingType}")}")),
DataCell(Text("${slabs.charge}"))
])))
});
Expand Down Expand Up @@ -180,8 +182,10 @@ class GpwscRateCard extends StatelessWidget {
.map((slab) => DataRow(cells: [
DataCell(Text("${ApplicationLocalizations.of(context)
.translate(i18.common.WATER_CHARGES)}-10101")),
DataCell(Text("${slab.calculationAttribute}")),
DataCell(Text("${slab.buildingType}")),
DataCell(Text("${ApplicationLocalizations.of(context)
.translate("${slab.calculationAttribute}")}")),
DataCell(Text("${ApplicationLocalizations.of(context)
.translate("${slab.buildingType}")}")),
DataCell(Text("${slab.minimumCharge}"))
]))
.toList()),
Expand Down

0 comments on commit ccc1f87

Please sign in to comment.