Author: sebb Date: Thu Jan 1 16:29:07 2009 New Revision: 730650 URL: http://svn.apache.org/viewvc?rev=730650&view=rev Log: Bug 46423 - I18N of Proxy Recorder
Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.java jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.java?rev=730650&r1=730649&r2=730650&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.java (original) +++ jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.java Thu Jan 1 16:29:07 2009 @@ -244,7 +244,7 @@ manager.add((Header) headers.get(key)); } } - manager.setName("Browser-derived headers"); + manager.setName(JMeterUtils.getResString("header_manager_title")); // $NON-NLS-1$ manager.setProperty(TestElement.TEST_CLASS, HeaderManager.class.getName()); manager.setProperty(TestElement.GUI_CLASS, HeaderPanel.class.getName()); return manager; Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java?rev=730650&r1=730649&r2=730650&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java (original) +++ jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java Thu Jan 1 16:29:07 2009 @@ -252,10 +252,6 @@ setProperty(new StringProperty(CONTENT_TYPE_INCLUDE, contentTypeInclude)); } - public String getClassLabel() { - return JMeterUtils.getResString("proxy_title"); // $NON-NLS-1$ - } - public boolean getAssertions() { return getPropertyAsBoolean(ADD_ASSERTIONS); } @@ -514,7 +510,7 @@ private void addAssertion(JMeterTreeModel model, JMeterTreeNode node) throws IllegalUserActionException { ResponseAssertion ra = new ResponseAssertion(); ra.setProperty(TestElement.GUI_CLASS, ASSERTION_GUI); - ra.setName("Check response"); + ra.setName(JMeterUtils.getResString("assertion_title")); // $NON-NLS-1$ ra.setTestFieldResponseData(); model.addComponent(ra, node); } --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org