Skip to content

Commit

Permalink
Localize text value for svgElement adjustments (#1180)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgao1 authored Sep 1, 2023
1 parent 8176aa3 commit 940c2fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nunaliit2-js/src/main/js/nunaliit2/n2.styleRule.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ var Symbolizer = $n2.Class({

if( value ){
// text(value)
var textNode = svgDomElem.ownerDocument.createTextNode(value);
var textNode = svgDomElem.ownerDocument.createTextNode(_loc(value));
svgDomElem.appendChild(textNode);
};

Expand Down

0 comments on commit 940c2fe

Please sign in to comment.