diff options
| author | Ilya Kitaev <mbg033@gmail.com> | 2016-07-20 22:28:11 +0300 |
|---|---|---|
| committer | Ilya Kitaev <mbg033@gmail.com> | 2016-07-20 22:28:11 +0300 |
| commit | 32ebf180acce258f8efb9bcaeca945a1fdd311ce (patch) | |
| tree | 3f617d1ef44e919cbaac2aa22c77cdbc4c50d77c /wizard/utils.js | |
| parent | 39b88daf326cdbbbac5f757769168d41e6d3517b (diff) | |
| download | monzero-gui-32ebf180acce258f8efb9bcaeca945a1fdd311ce.tar.gz monzero-gui-32ebf180acce258f8efb9bcaeca945a1fdd311ce.tar.xz monzero-gui-32ebf180acce258f8efb9bcaeca945a1fdd311ce.zip | |
dynamic translation support. closes #24
Diffstat (limited to 'wizard/utils.js')
| -rw-r--r-- | wizard/utils.js | 5 |
1 files changed, 5 insertions, 0 deletions
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 +} |
