Skip to content

Commit

Permalink
[Added] Non-translatable captions
Browse files Browse the repository at this point in the history
Captions with prefix | are not translated.

DB Version: V.4.5-2021.04.29.00
Files Version: V.4.5-2021.05.14.01
  • Loading branch information
smalos committed May 14, 2021
1 parent 5af7f7a commit 732d488
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion core/nucommon.js
Expand Up @@ -782,7 +782,9 @@ function nuTranslate(s){
if (typeof s === 'undefined' || s === '' || s === null) {
return '';
}


if (s.charAt(0) == '|') return s.substring(1);

var l = nuLANGUAGE.find(elem => elem.english === s);
return !l ? s : l.translation;

Expand Down
2 changes: 1 addition & 1 deletion version.txt
@@ -1,6 +1,6 @@
nuBuilder Forte 4.5

DB Version: V.4.5-2021.04.29.00
Files Version: V.4.5-2021.05.14.00
Files Version: V.4.5-2021.05.14.01

(V.MajorVersion-CurrentDate.BuildNumber)

0 comments on commit 732d488

Please sign in to comment.