Localization part 2 (#332)
* More localization work * instance testing translation * Row cell translations * safety check
This commit is contained in:
1 parent
48993dd9f5
commit
9a7db6aab2
27 files changed
+1201
-270
No files matched your search
@@ -1,5 +1,6 @@
|
||||
import "pkg:/components/Dialog/DialogPalette.bs"
|
||||
import "pkg:/source/utils/FocusManagement.bs"
|
||||
import "pkg:/source/utils/Locale.bs"
|
||||
import "pkg:/source/utils/Types.bs"
|
||||
|
||||
function Init()
|
||||
@@ -70,7 +71,7 @@ function ShowEditKeyboard()
|
||||
keyboardDialog.title = m.top.displayText
|
||||
keyboardDialog.message = [m.top.description]
|
||||
keyboardDialog.text = m.top.value
|
||||
keyboardDialog.buttons = ["OK", "Cancel"]
|
||||
keyboardDialog.buttons = [Tr(Locale.Buttons.OK), Tr(Locale.Buttons.Cancel)]
|
||||
keyboardDialog.observeField("buttonSelected", FuncName(OnKeyboardButton))
|
||||
|
||||
m.top.getScene().dialog = keyboardDialog
|
||||
|
||||
Reference in new issue
Block a user