@@ -138,7 +138,7 @@ class PagedRadioMenu(SimpleRadioMenu, _PagedMenuBase):
138138 def __init__ (
139139 self , data = None , select_callback = None ,
140140 build_callback = None , description = None ,
141- title = None , top_seperator = '-' * 30 , bottom_seperator = '-' * 30 ,
141+ title = None , top_separator = '-' * 30 , bottom_separator = '-' * 30 ,
142142 fill = True ):
143143 """Initialize the object.
144144
@@ -151,9 +151,9 @@ def __init__(
151151 title.
152152 :param str|None title: A title that is displayed at the top of the
153153 menu.
154- :param str top_seperator : A seperator that is displayed right after
154+ :param str top_separator : A separator that is displayed right after
155155 the title/description.
156- :param str bottom_seperator : A seperator that is displayed right after
156+ :param str bottom_separator : A separator that is displayed right after
157157 the body.
158158 :param bool fill: If True the menu will be filled so that it will
159159 always have the same size.
@@ -162,8 +162,8 @@ def __init__(
162162
163163 self .title = title
164164 self .description = description
165- self .top_seperator = top_seperator
166- self .bottom_seperator = bottom_seperator
165+ self .top_separator = top_separator
166+ self .bottom_separator = bottom_separator
167167 self .fill = fill
168168
169169 @staticmethod
@@ -189,9 +189,9 @@ def _format_header(self, player_index, page, slots):
189189 if self .description is not None :
190190 buffer += _translate_text (self .description , player_index ) + '\n '
191191
192- # Set the top seperator if present
193- if self .top_seperator is not None :
194- buffer += self .top_seperator + '\n '
192+ # Set the top separator if present
193+ if self .top_separator is not None :
194+ buffer += self .top_separator + '\n '
195195
196196 return buffer
197197
@@ -236,9 +236,9 @@ def _format_footer(self, player_index, page, slots):
236236 """
237237 buffer = ''
238238
239- # Set the bottom seperator if present
240- if self .bottom_seperator is not None :
241- buffer += self .bottom_seperator + '\n '
239+ # Set the bottom separator if present
240+ if self .bottom_separator is not None :
241+ buffer += self .bottom_separator + '\n '
242242
243243 # TODO: Add translations
244244 # Add "Back" option
0 commit comments