On 3 September 2012 12:50, <[email protected]> wrote: > Author: pmouawad > Date: Mon Sep 3 11:50:53 2012 > New Revision: 1380212 > > URL: http://svn.apache.org/viewvc?rev=1380212&view=rev > Log: > Added i18n for stderr, stdin, stdout
Being lazy, I did not bother, because I thought stderr/stdout/stdin were well known; at least for the sort of people who know enough to be able to use the OS Sampler! But it does look a bit better. However, the parameter names in component_reference.xml now need updating as well. > Bugzilla Id: 53168 > > Modified: > jmeter/trunk/docs/images/screenshots/os_process_sampler.png > jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties > jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties > > jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/gui/SystemSamplerGui.java > jmeter/trunk/xdocs/images/screenshots/os_process_sampler.png > > Modified: jmeter/trunk/docs/images/screenshots/os_process_sampler.png > URL: > http://svn.apache.org/viewvc/jmeter/trunk/docs/images/screenshots/os_process_sampler.png?rev=1380212&r1=1380211&r2=1380212&view=diff > ============================================================================== > Binary files - no diff available. > > Modified: > jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties > URL: > http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties?rev=1380212&r1=1380211&r2=1380212&view=diff > ============================================================================== > --- jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties > (original) > +++ jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties Mon > Sep 3 11:50:53 2012 > @@ -991,6 +991,9 @@ summary_report=Summary Report > switch_controller_label=Switch Value > switch_controller_title=Switch Controller > system_sampler_title=OS Process Sampler > +system_sampler_stdin=File for "standard" input stream > +system_sampler_stdout=File for "standard" output stream > +system_sampler_stderr=File for "standard" error output stream > > table_visualizer_bytes=Bytes > table_visualizer_sample_num=Sample # > table_visualizer_sample_time=Sample Time(ms) > > Modified: > jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties > URL: > http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties?rev=1380212&r1=1380211&r2=1380212&view=diff > ============================================================================== > --- jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties > (original) > +++ jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties > Mon Sep 3 11:50:53 2012 > @@ -985,6 +985,9 @@ summary_report=Rapport consolid\u00E9 > switch_controller_label=Aller vers le num\u00E9ro d'\u00E9l\u00E9ment (ou > nom) subordonn\u00E9 \: > switch_controller_title=Contr\u00F4leur Aller \u00E0 > system_sampler_title=Appel de processus syst\u00E8me > +system_sampler_stdin=Nom du fichier contenant l'entr\u00E9e "standard" > utilis\u00E9e par le process > +system_sampler_stdout=Nom du fichier contenant la sortie "standard" > +system_sampler_stderr=Nom du fichier contenant la sortie "standard" d'erreur > table_visualizer_bytes=Octets > table_visualizer_sample_num=Echantillon \# > table_visualizer_sample_time=Temps (ms) > > Modified: > jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/gui/SystemSamplerGui.java > URL: > http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/gui/SystemSamplerGui.java?rev=1380212&r1=1380211&r2=1380212&view=diff > ============================================================================== > --- > jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/gui/SystemSamplerGui.java > (original) > +++ > jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/gui/SystemSamplerGui.java > Mon Sep 3 11:50:53 2012 > @@ -54,9 +54,9 @@ public class SystemSamplerGui extends Ab > > private JCheckBox checkReturnCode; > private JLabeledTextField desiredReturnCode; > - private final FilePanelEntry stdin = new FilePanelEntry("stdin "); > - private final FilePanelEntry stdout = new FilePanelEntry("stdout"); > - private final FilePanelEntry stderr = new FilePanelEntry("stderr"); > + private final FilePanelEntry stdin = new > FilePanelEntry(JMeterUtils.getResString("system_sampler_stdin")); > + private final FilePanelEntry stdout = new > FilePanelEntry(JMeterUtils.getResString("system_sampler_stdout")); > + private final FilePanelEntry stderr = new > FilePanelEntry(JMeterUtils.getResString("system_sampler_stderr")); > private JLabeledTextField directory; > private JLabeledTextField command; > private ArgumentsPanel argsPanel; > > Modified: jmeter/trunk/xdocs/images/screenshots/os_process_sampler.png > URL: > http://svn.apache.org/viewvc/jmeter/trunk/xdocs/images/screenshots/os_process_sampler.png?rev=1380212&r1=1380211&r2=1380212&view=diff > ============================================================================== > Binary files - no diff available. > >
