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:
Brahim Hadriche authored and GitHub committed 2024-03-17 22:22:53 -04:00
1 parent 403ed94e97
commit 7d9817994c
36 files changed
+789 -51

No files matched your search

@@ -1,6 +1,7 @@
import "pkg:/components/Navigation/Navigation.bs"
import "pkg:/source/utils/DisposableObserve.bs"
import "pkg:/source/utils/FocusManagement.bs"
import "pkg:/source/utils/Locale.bs"
import "pkg:/source/utils/StringUtils.bs"
import "pkg:/source/utils/Types.bs"
@@ -143,10 +144,10 @@ function UpdateActivateButton() as void
if m.activateButton.hasFocus()
NodeSetFocus(m.logoutButton, true)
end if
m.activateButton.text = "In Use"
m.activateButton.text = Tr(Locale.InUse)
m.activateButton.disabled = true
else
m.activateButton.text = "Activate"
m.activateButton.text = Tr(Locale.Activate)
m.activateButton.disabled = false
end if
end function