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
+11
-1
@@ -35,6 +35,16 @@ function Init()
|
||||
m.closeButton.observeField("buttonSelected", FuncName(Close))
|
||||
|
||||
m.checkList.observeField("checkedState", FuncName(OnCheckedStateChange))
|
||||
|
||||
SetButtonPositions()
|
||||
end function
|
||||
|
||||
function SetButtonPositions()
|
||||
saveButtonWidth = m.saveButton.width
|
||||
closeButtonWidth = m.closeButton.width
|
||||
buttonsWith = closeButtonWidth + saveButtonWidth + 20
|
||||
m.saveButton.translation = [960 / 2 - buttonsWith / 2, m.saveButton.translation[1]]
|
||||
m.closeButton.translation = [960 / 2 + buttonsWith / 2 - closeButtonWidth, m.closeButton.translation[1]]
|
||||
end function
|
||||
|
||||
function OnFocusChange() as void
|
||||
@@ -77,7 +87,7 @@ function OnValueChange()
|
||||
end if
|
||||
node = CreateObject("roSGNode", "ContentNode")
|
||||
node.id = feed.id
|
||||
node.title = feed.title
|
||||
node.title = Tr(feed.title)
|
||||
nodes.push(node)
|
||||
checkedState.push(item.enabled)
|
||||
end for
|
||||
|
||||
+4
-2
@@ -27,15 +27,17 @@
|
||||
<ButtonEx
|
||||
id="moveUpButton"
|
||||
iconVisible="false"
|
||||
anchor="[0.5,0.5]"
|
||||
text="Move up"
|
||||
minWidth="220"
|
||||
translation="[640,183]" />
|
||||
translation="[750,220]" />
|
||||
<ButtonEx
|
||||
id="moveDownButton"
|
||||
iconVisible="false"
|
||||
anchor="[0.5,0.5]"
|
||||
text="Move down"
|
||||
minWidth="220"
|
||||
translation="[640,273]" />
|
||||
translation="[750,300]" />
|
||||
|
||||
<ButtonEx
|
||||
id="saveButton"
|
||||
|
||||
Reference in new issue
Block a user