StylishStrings

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

Text labels used by Stylish components when no component-specific label is supplied.

Constructors

Link copied to clipboard
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" })

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val pageOf: (Int, Int) -> String
Link copied to clipboard
Link copied to clipboard
val plural: (Int, String) -> String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val selectRow: (Int) -> String
Link copied to clipboard
Link copied to clipboard