From 32ebf180acce258f8efb9bcaeca945a1fdd311ce Mon Sep 17 00:00:00 2001 From: Ilya Kitaev Date: Wed, 20 Jul 2016 22:28:11 +0300 Subject: dynamic translation support. closes #24 --- wizard/utils.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'wizard/utils.js') diff --git a/wizard/utils.js b/wizard/utils.js index 6d16951d..0cc910c6 100644 --- a/wizard/utils.js +++ b/wizard/utils.js @@ -37,3 +37,8 @@ function mapScope (inputScopeFrom, inputScopeTo, outputScopeFrom, outputScopeTo, var result = outputScopeFrom + ((outputScopeTo - outputScopeFrom) * x); return result; } + + +function tr(text) { + return qsTr(text) + translationManager.emptyString +} -- cgit v1.2.3