[Ktutorial-commits] SF.net SVN: ktutorial:[366] trunk/ktutorial/ktutorial-editor/src/tutorials/ In
Status: Alpha
Brought to you by:
danxuliu
From: <dan...@us...> - 2012-08-10 18:14:19
|
Revision: 366 http://ktutorial.svn.sourceforge.net/ktutorial/?rev=366&view=rev Author: danxuliu Date: 2012-08-10 18:14:12 +0000 (Fri, 10 Aug 2012) Log Message: ----------- Update exported tutorial for changes made on commit 325 ("Fix missed internationalization in options when exported to Javascript."). Modified Paths: -------------- trunk/ktutorial/ktutorial-editor/src/tutorials/InteractingWithTheTargetApplication.js Modified: trunk/ktutorial/ktutorial-editor/src/tutorials/InteractingWithTheTargetApplication.js =================================================================== --- trunk/ktutorial/ktutorial-editor/src/tutorials/InteractingWithTheTargetApplication.js 2012-08-10 18:05:55 UTC (rev 365) +++ trunk/ktutorial/ktutorial-editor/src/tutorials/InteractingWithTheTargetApplication.js 2012-08-10 18:14:12 UTC (rev 366) @@ -201,7 +201,8 @@ targetApplicationAlreadyRunningStep.setText(t.i18nc("@info", "<para><application>KTutorial editor</application> needs to know which application is the target application of the tutorial to \"talk\" with it.</para>\n\n<para>It seems that you already had selected the target application before starting this tutorial. Unfortunately, if the target application already selected is not <application>KTutorial editor</application>, you will have to close this tutorial and that target application, create a new tutorial (using <interface>File|New</interface>, or <interface>New</interface> in the tool bar) and start this tutorial again.</para>\n\n<para>Yes, I guess I should have warned you about this when you started this tutorial :P</para>")); function targetApplicationAlreadyRunningStepSetup(step) { - step.addOption(ktutorial.newOption("Continue"), "highlightWidgetInRemoteObjectChooser"); + continueOption = ktutorial.newOption(t.i18nc("@action Tutorial option", "Continue")); + step.addOption(continueOption, "highlightWidgetInRemoteObjectChooser"); } connect(targetApplicationAlreadyRunningStep, "setup(QObject*)", this, "targetApplicationAlreadyRunningStepSetup(QObject*)"); @@ -213,7 +214,8 @@ highlightWidgetInRemoteObjectChooserStep.setText(t.i18nc("@info", "<para>Now you have the list with the objects that KTutorial can access in the target application.</para>\n\n<para>Note that when you select a widget in the list the widget is highlighted in the target application. For example, select the object named <emphasis>centralTreeView</emphasis>. You will see that, in the target application, the tree view that shows the tutorial being designed is highlighted.</para>\n\n<para>The list also shows the parent/child relationship between objects. For example, select <emphasis>editTutorialDock</emphasis>. The whole dock is highlighted.</para>\n\n<para>Now, select the unnamed object from the ActionListWidget class that appears in the list as a child element of the <emphasis>editTutorialDock</emphasis>. Now only the buttons in the dock are highlighted, as they are part of that widget.</para>\n\n<para>And finally, if you select the <emphasis>setTutorialInformationToolButton</emphasis> element, only the button to set the information of the tutorial will be highlighted.</para>")); function highlightWidgetInRemoteObjectChooserStepSetup(step) { - step.addOption(ktutorial.newOption("Continue"), "selectStepDataDialogInRemoteObjectChooser"); + continueOption = ktutorial.newOption(t.i18nc("@action Tutorial option", "Continue")); + step.addOption(continueOption, "selectStepDataDialogInRemoteObjectChooser"); } connect(highlightWidgetInRemoteObjectChooserStep, "setup(QObject*)", this, "highlightWidgetInRemoteObjectChooserStepSetup(QObject*)"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |