vcl-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jftho...@apache.org
Subject svn commit: r1778638 - /vcl/trunk/web/js/resources/image.js
Date Fri, 13 Jan 2017 17:27:25 GMT
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;
 }
 



Mime
View raw message