mirror of
https://github.com/1j01/textual-paint.git
synced 2025-01-02 11:52:30 +03:00
Fix unlocalized buttons
This commit is contained in:
parent
86fe09cc6e
commit
1c7f7015cb
@ -66,4 +66,4 @@ class EditColorsDialogWindow(DialogWindow):
|
||||
button.focus()
|
||||
container.mount(button)
|
||||
self.content.mount(container)
|
||||
self.content.mount(Button("Cancel", classes="cancel"))
|
||||
self.content.mount(Button(_("Cancel"), classes="cancel"))
|
||||
|
@ -7,3 +7,5 @@ No
|
||||
Filename
|
||||
%1 already exists.
|
||||
Do you want to replace it?
|
||||
Reload
|
||||
Choose Character
|
||||
|
@ -291,8 +291,8 @@ class CharacterSelectorDialogWindow(DialogWindow):
|
||||
for i in range(0, len(self.char_list), column_count):
|
||||
data_table.add_row(*self.char_list[i:i+column_count])
|
||||
self.content.mount(data_table)
|
||||
self.content.mount(Button("OK", classes="ok submit"))
|
||||
self.content.mount(Button("Cancel", classes="cancel"))
|
||||
self.content.mount(Button(_("OK"), classes="ok submit"))
|
||||
self.content.mount(Button(_("Cancel"), classes="cancel"))
|
||||
|
||||
# ASCII line art version:
|
||||
# get_warning_icon = lambda: Static("""[#ffff00]
|
||||
|
Loading…
Reference in New Issue
Block a user