Localization test (#331)
* Localization test * More translations * More translations * Setup the tooling and validation for the localization * More translations * Docs
This commit is contained in:
1 parent
403ed94e97
commit
7d9817994c
36 files changed
+789
-51
No files matched your search
+10
@@ -33,6 +33,16 @@ function Init()
|
||||
|
||||
m.currentNavigtionNode = m.editButton
|
||||
m.textEditBox.hintText = `e.g. ${Invidious.DEFAULT_INSTANCE}`
|
||||
|
||||
SetButtonPositions()
|
||||
end function
|
||||
|
||||
function SetButtonPositions()
|
||||
testButtonWidth = m.testButton.width
|
||||
saveButtonWidth = m.saveButton.width
|
||||
buttonsWith = testButtonWidth + saveButtonWidth + 20
|
||||
m.testButton.translation = [960 / 2 - buttonsWith / 2, m.testButton.translation[1]]
|
||||
m.saveButton.translation = [960 / 2 + buttonsWith / 2 - saveButtonWidth, m.saveButton.translation[1]]
|
||||
end function
|
||||
|
||||
function OnFocusChange() as void
|
||||
|
||||
Reference in new issue
Block a user