You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by jf...@apache.org on 2017/01/13 17:27:25 UTC

svn commit: r1778638 - /vcl/trunk/web/js/resources/image.js

Author: jfthomps
Date: Fri Jan 13 17:27:25 2017
New Revision: 1778638

URL: http://svn.apache.org/viewvc?rev=1778638&view=rev
Log:
wrapped 'unset' with translation function in Image.prototype.colformatter

Modified:
    vcl/trunk/web/js/resources/image.js

Modified: vcl/trunk/web/js/resources/image.js
URL: http://svn.apache.org/viewvc/vcl/trunk/web/js/resources/image.js?rev=1778638&r1=1778637&r2=1778638&view=diff
==============================================================================
--- vcl/trunk/web/js/resources/image.js (original)
+++ vcl/trunk/web/js/resources/image.js Fri Jan 13 17:27:25 2017
@@ -39,7 +39,7 @@ Image.prototype.colformatter = function(
 	if((obj.field == 'maxinitialtime' && value == 0) ||
 	   (obj.field == 'addomain' && value == null) ||
 	   (obj.field == 'baseOU' && value == null))
-		return '(unset)';
+		return '(' + _('unset') + ')';
 	return value;
 }