| 
				
			 | 
			
			
				
				@@ -1,6 +1,6 @@ 
			 | 
		
		
	
		
			
			| 
				1
			 | 
			
				1
			 | 
			
			
				
				 <window id="batchWindow"> 
			 | 
		
		
	
		
			
			| 
				2
			 | 
			
				2
			 | 
			
			
				
				     <menu name="Batch"> 
			 | 
		
		
	
		
			
			| 
				3
			 | 
			
				
			 | 
			
			
				
				-        <item id="new" shortcut="Ctrl+N">New Batch…</item> 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				3
			 | 
			
			
				
				+        <item id="new" shortcut="Ctrl+N">New Batch...</item> 
			 | 
		
		
	
		
			
			| 
				4
			 | 
			
				4
			 | 
			
			
				
				     </menu> 
			 | 
		
		
	
		
			
			| 
				5
			 | 
			
				5
			 | 
			
			
				
				     <layout type="horizontal"> 
			 | 
		
		
	
		
			
			| 
				6
			 | 
			
				6
			 | 
			
			
				
				         <layout type="vertical"> 
			 | 
		
		
	
	
		
			
			| 
				
			 | 
			
			
				
				@@ -394,7 +394,8 @@ 
			 | 
		
		
	
		
			
			| 
				394
			 | 
			
				394
			 | 
			
			
				
				                 if(validateCapacity()) { 
			 | 
		
		
	
		
			
			| 
				395
			 | 
			
				395
			 | 
			
			
				
				                     proceed = true; 
			 | 
		
		
	
		
			
			| 
				396
			 | 
			
				396
			 | 
			
			
				
				                 } else { 
			 | 
		
		
	
		
			
			| 
				397
			 | 
			
				
			 | 
			
			
				
				-                    proceed = displayWarning("Suspicious Input", "Entered green coffee weight exceeds maximum batch size. Continue?"); 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				397
			 | 
			
			
				
				+                    proceed = displayWarning(TTR("batchWindow", "Suspicious Input"), 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				398
			 | 
			
			
				
				+                    TTR("batchWindow", "Entered green coffee weight exceeds maximum batch size. Continue?")); 
			 | 
		
		
	
		
			
			| 
				398
			 | 
			
				399
			 | 
			
			
				
				                 } 
			 | 
		
		
	
		
			
			| 
				399
			 | 
			
				400
			 | 
			
			
				
				                 if(proceed) { 
			 | 
		
		
	
		
			
			| 
				400
			 | 
			
				401
			 | 
			
			
				
				                     doLoadProfile(); 
			 | 
		
		
	
	
		
			
			| 
				
			 | 
			
			
				
				@@ -468,7 +469,7 @@ 
			 | 
		
		
	
		
			
			| 
				468
			 | 
			
				469
			 | 
			
			
				
				                 input.input(); 
			 | 
		
		
	
		
			
			| 
				469
			 | 
			
				470
			 | 
			
			
				
				                 log.updatesEnabled = true; 
			 | 
		
		
	
		
			
			| 
				470
			 | 
			
				471
			 | 
			
			
				
				                 graph.updatesEnabled = true; 
			 | 
		
		
	
		
			
			| 
				471
			 | 
			
				
			 | 
			
			
				
				-                log.newAnnotation("End", 1, lc); 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				472
			 | 
			
			
				
				+                log.newAnnotation(TTR("batchWindow", "End"), 1, lc); 
			 | 
		
		
	
		
			
			| 
				472
			 | 
			
				473
			 | 
			
			
				
				             } 
			 | 
		
		
	
		
			
			| 
				473
			 | 
			
				474
			 | 
			
			
				
				             var noprofilebutton = findChildObject(this, 'noprofile'); 
			 | 
		
		
	
		
			
			| 
				474
			 | 
			
				475
			 | 
			
			
				
				             noprofilebutton.clicked.connect(function() { 
			 | 
		
		
	
	
		
			
			| 
				
			 | 
			
			
				
				@@ -476,7 +477,8 @@ 
			 | 
		
		
	
		
			
			| 
				476
			 | 
			
				477
			 | 
			
			
				
				                 if(validateCapacity()) { 
			 | 
		
		
	
		
			
			| 
				477
			 | 
			
				478
			 | 
			
			
				
				                     proceed = true; 
			 | 
		
		
	
		
			
			| 
				478
			 | 
			
				479
			 | 
			
			
				
				                 } else { 
			 | 
		
		
	
		
			
			| 
				479
			 | 
			
				
			 | 
			
			
				
				-                    proceed = displayWarning("Suspicious Input", "Entered green coffee weight exceeds maximum batch size. Continue?"); 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				480
			 | 
			
			
				
				+                    proceed = displayWarning(TTR("batchWindow", "Suspicious Input"), 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				481
			 | 
			
			
				
				+                    TTR("batchWindow", "Entered green coffee weight exceeds maximum batch size. Continue?")); 
			 | 
		
		
	
		
			
			| 
				480
			 | 
			
				482
			 | 
			
			
				
				                 } 
			 | 
		
		
	
		
			
			| 
				481
			 | 
			
				483
			 | 
			
			
				
				                 if(proceed) { 
			 | 
		
		
	
		
			
			| 
				482
			 | 
			
				484
			 | 
			
			
				
				                     doNoProfile(); 
			 | 
		
		
	
	
		
			
			| 
				
			 | 
			
			
				
				@@ -514,13 +516,15 @@ 
			 | 
		
		
	
		
			
			| 
				514
			 | 
			
				516
			 | 
			
			
				
				                 if(validateCapacity()) { 
			 | 
		
		
	
		
			
			| 
				515
			 | 
			
				517
			 | 
			
			
				
				                     proceed = true; 
			 | 
		
		
	
		
			
			| 
				516
			 | 
			
				518
			 | 
			
			
				
				                 } else { 
			 | 
		
		
	
		
			
			| 
				517
			 | 
			
				
			 | 
			
			
				
				-                    proceed = displayWarning("Suspicious Input", "Entered green coffee weight exceeds maximum batch size. Continue?"); 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				519
			 | 
			
			
				
				+                    proceed = displayWarning(TTR("batchWindow", "Suspicious Input"), 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				520
			 | 
			
			
				
				+                    TTR("batchWindow", "Entered green coffee weight exceeds maximum batch size. Continue?")); 
			 | 
		
		
	
		
			
			| 
				518
			 | 
			
				521
			 | 
			
			
				
				                 } 
			 | 
		
		
	
		
			
			| 
				519
			 | 
			
				522
			 | 
			
			
				
				                 if(proceed) { 
			 | 
		
		
	
		
			
			| 
				520
			 | 
			
				523
			 | 
			
			
				
				                     if(checkSubmitEnable()) { 
			 | 
		
		
	
		
			
			| 
				521
			 | 
			
				524
			 | 
			
			
				
				                         doSubmit(); 
			 | 
		
		
	
		
			
			| 
				522
			 | 
			
				525
			 | 
			
			
				
				                     } else { 
			 | 
		
		
	
		
			
			| 
				523
			 | 
			
				
			 | 
			
			
				
				-                        displayError("Incomplete Input", "Some required information is not available. Please check inputs and try again."); 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				526
			 | 
			
			
				
				+                        displayError(TTR("batchWindow", "Incomplete Input"), 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				527
			 | 
			
			
				
				+                        TTR("batchWindow", "Some required information is not available. Please check inputs and try again.")); 
			 | 
		
		
	
		
			
			| 
				524
			 | 
			
				528
			 | 
			
			
				
				                     } 
			 | 
		
		
	
		
			
			| 
				525
			 | 
			
				529
			 | 
			
			
				
				                 } 
			 | 
		
		
	
		
			
			| 
				526
			 | 
			
				530
			 | 
			
			
				
				             }); 
			 |