diff --git a/app/src/main/java/cy/agorise/bitsybitshareswallet/utils/PDFGeneratorTask.kt b/app/src/main/java/cy/agorise/bitsybitshareswallet/utils/PDFGeneratorTask.kt index 457f04f..d61271d 100644 --- a/app/src/main/java/cy/agorise/bitsybitshareswallet/utils/PDFGeneratorTask.kt +++ b/app/src/main/java/cy/agorise/bitsybitshareswallet/utils/PDFGeneratorTask.kt @@ -54,9 +54,10 @@ class PDFGeneratorTask(context: Context) : AsyncTask, Int, val table = PdfPTable(7) // Add the table header - val columnNames = arrayOf("From", "To", "Memo", "Date", "Time", "Asset Amount", "Fiat Equivalent") + val columnNames = arrayOf(R.string.title_from, R.string.title_to, R.string.title_memo, R.string.title_date, + R.string.title_time, R.string.title_asset_amount, R.string.title_fiat_equivalent) for (columnName in columnNames) { - val cell = PdfPCell(Paragraph(columnName)) + val cell = PdfPCell(Paragraph(mContext.get()?.getString(columnName))) table.addCell(cell) } table.completeRow() diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 1d861f7..5b9fa38 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -63,6 +63,13 @@ PDF CSV El permiso de almacenamiento es necesario para exportar los archivos PDF/CSV. + De + Para + Memo + Fecha + Hora + Cantidad de activo + Equivalente fiat Comerciantes diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index ab0b8a1..159a583 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -63,6 +63,13 @@ PDF CSV Storage permission is necessary to export PDF/CSV files. + From + To + Memo + Date + Time + Asset Amount + Fiat Equivalent Merchants