File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
pluggableWidgets/datagrid-web/src/features/select-all
shared/widget-plugin-grid/src/selection-counter Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -71,15 +71,15 @@ export class SelectAllBarViewModel implements SetupComponent {
7171 }
7272
7373 private get selectAllFormat ( ) : string {
74- return this . props . selectAllTemplate ?. value ?? "select. all.n.items " ;
74+ return this . props . selectAllTemplate ?. value ?? "Select all %d rows in the data source " ;
7575 }
7676
7777 private get selectAllText ( ) : string {
78- return this . props . selectAllText ?. value ?? "select. all.items " ;
78+ return this . props . selectAllText ?. value ?? "Select all rows in the data source " ;
7979 }
8080
8181 private get allSelectedText ( ) : string {
82- const str = this . props . allSelectedText ?. value ?? "all. selected" ;
82+ const str = this . props . allSelectedText ?. value ?? "All %d rows selected. " ;
8383 return str . replace ( "%d" , `${ this . count . selectedCount } ` ) ;
8484 }
8585
Original file line number Diff line number Diff line change @@ -23,11 +23,11 @@ export class SelectionCounterViewModel {
2323 }
2424
2525 private get formatSingular ( ) : string {
26- return this . props . selectedCountTemplateSingular ?. value || "%d. row. selected" ;
26+ return this . props . selectedCountTemplateSingular ?. value || "%d row selected" ;
2727 }
2828
2929 private get formatPlural ( ) : string {
30- return this . props . selectedCountTemplatePlural ?. value || "%d. rows. selected" ;
30+ return this . props . selectedCountTemplatePlural ?. value || "%d rows selected" ;
3131 }
3232
3333 get isTopCounterVisible ( ) : boolean {
@@ -41,7 +41,7 @@ export class SelectionCounterViewModel {
4141 }
4242
4343 get clearButtonLabel ( ) : string {
44- return this . props . clearSelectionButtonLabel ?. value || "clear. selection" ;
44+ return this . props . clearSelectionButtonLabel ?. value || "Clear selection" ;
4545 }
4646
4747 get selectedCount ( ) : number {
You can’t perform that action at this time.
0 commit comments