File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -35,27 +35,27 @@ defmodule ExAdmin.Paginate do
35
35
36
36
def pagination_information ( name , record_number , record_number , record_count ) do
37
37
markup do
38
- text ( gettext "Displaying" ) <> Inflex . singularize ( " #{ name } " ) <> " "
38
+ text gettext ( "Displaying" ) <> Inflex . singularize ( " #{ name } " ) <> " "
39
39
b "#{ record_number } "
40
- text " " <> ( gettext "of" ) <> " "
40
+ text " " <> gettext ( "of" ) <> " "
41
41
b "#{ record_count } "
42
- text " " <> ( gettext "in total" )
42
+ text " " <> gettext ( "in total" )
43
43
end
44
44
end
45
45
46
46
def pagination_information ( name , record_number , last , record_count ) do
47
47
markup do
48
48
text ( gettext "Displaying %{name}" , name: name ) <> " "
49
49
b "#{ record_number } - #{ last } "
50
- text " " <> ( gettext "of" ) <> " "
50
+ text " " <> gettext ( "of" ) <> " "
51
51
b "#{ record_count } "
52
- text " " <> ( gettext "in total" )
52
+ text " " <> gettext ( "in total" )
53
53
end
54
54
end
55
55
56
56
def pagination_information ( name , total ) do
57
57
markup do
58
- text gettext "Displaying" <> " "
58
+ text gettext ( "Displaying" ) <> " "
59
59
b ( gettext "all %{total}" , total: total )
60
60
text " #{ name } "
61
61
end
You can’t perform that action at this time.
0 commit comments