Stylish Strings
constructor(previousPage: String = "Previous page", nextPage: String = "Next page", selectedPage: String = "Selected page", selectAllRows: String = "Select all rows", selectRow: (Int) -> String = { index -> "Select row ${index + 1}" }, increase: String = "Increase", decrease: String = "Decrease", close: String = "Close", cancel: String = "Cancel", confirm: String = "Confirm", edit: String = "Edit", delete: String = "Delete", loading: String = "Loading", error: String = "Error", empty: String = "No results", filter: String = "Filter", export: String = "Export", expandRow: String = "Expand row", collapseRow: String = "Collapse row", available: String = "Available", selected: String = "Selected", chooseFiles: String = "Choose files", qrCode: String = "QR code", colorRed: String = "Red", colorGreen: String = "Green", colorBlue: String = "Blue", colorAlpha: String = "Alpha", remove: String = "Remove", pageOf: (Int, Int) -> String = { page, count -> "Page $page of $count" }, sortAscending: String = "Sorted ascending", sortDescending: String = "Sorted descending", moveColumnLeft: (String) -> String = { title -> "Move $title left" }, moveColumnRight: (String) -> String = { title -> "Move $title right" }, resizeColumn: (String) -> String = { title -> "Resize $title" }, pinnedColumn: String = "Pinned column", frozenColumn: String = "Frozen column", fileSizeBytes: (Long) -> String = { bytes -> "$bytes bytes" }, rowPosition: (Int) -> String = { index -> "Row ${index + 1}" }, columnPosition: (String, Int) -> String = { title, index -> "$title, row ${index + 1}" }, formatInteger: (Long) -> String = { it.toString() }, formatDecimal: (Double) -> String = { it.toString() }, formatCurrency: (Double, String) -> String = { value, currency -> "$currency${value}" }, formatDate: (Int, Int, Int) -> String = { year, month, day ->
"$year/${month.toString().padStart(2, '0')}/${day.toString().padStart(2, '0')}"
}, plural: (Int, String) -> String = { count, noun -> "$count $noun" })