зеркало из https://github.com/mozilla/pjs.git
[Bug 415822] - Clean up QAX Install Wizard + more UI fixes
This commit is contained in:
Родитель
1d092bef45
Коммит
9ebdfa8595
|
@ -139,7 +139,7 @@ var CC_loginManager = Components.classes["@mozilla.org/login-manager;1"];
|
|||
// for the current baseURL. If we do, remove it before adding
|
||||
// any new passwords:
|
||||
var p;
|
||||
while (p = this.getPasswordObj()) {
|
||||
while (p == this.getPasswordObj()) {
|
||||
m.removeUser(p.host, p.user);
|
||||
}
|
||||
m.addUser(this.passwordName(), username, password);
|
||||
|
|
|
@ -45,8 +45,8 @@
|
|||
<wizard
|
||||
id="qa-setup"
|
||||
title="&qa.setup.title;"
|
||||
height="625"
|
||||
width="850"
|
||||
height="600"
|
||||
width="500"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml">
|
||||
|
||||
|
@ -81,16 +81,16 @@
|
|||
<spacer height="20px" />
|
||||
|
||||
<vbox id="qa-setup-accountyes" style="display: none;">
|
||||
<label value="&qa.setup.accountyes.enterinfo;"/>
|
||||
<description>&qa.setup.accountyes.enterinfo;</description>
|
||||
<groupbox>
|
||||
<hbox>
|
||||
<vbox>
|
||||
<label control="username" value="&qa.preferences.litmus.username;"/>
|
||||
<textbox id="username" size="35"/>
|
||||
<label control="password" value="&qa.preferences.litmus.password;"/>
|
||||
<textbox id="password" type="password" size="35"/>
|
||||
</vbox>
|
||||
</hbox>
|
||||
<label control="username" value="&qa.preferences.litmus.username;" width="60px"/>
|
||||
<textbox id="username" size="35" width="250px"/>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<label control="password" value="&qa.preferences.litmus.password;" width="60px"/>
|
||||
<textbox id="password" type="password" size="35" width="250px"/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
<label id="qa-setup-accountconfirmloading"/>
|
||||
</vbox>
|
||||
|
@ -98,7 +98,7 @@
|
|||
<vbox id="qa-setup-accountno" style="display: none;">
|
||||
<description>&qa.setup.accountno.text;</description>
|
||||
<html:iframe id="qa-setup-createaccount-iframe"
|
||||
height="280"/>
|
||||
height="250" width="300" scrolling="auto"/>
|
||||
</vbox>
|
||||
</wizardpage>
|
||||
|
||||
|
@ -108,27 +108,27 @@
|
|||
<vbox>
|
||||
<description>&qa.setup.sysconfig.text;</description>
|
||||
<spacer height="20px" />
|
||||
<label id="qa-setup-sysconfig-loading"/>
|
||||
<spacer height="10px" />
|
||||
<hbox>
|
||||
<label control="qa-setup-platform" value="&qa.setup.sysconfig.platform;"/>
|
||||
<label control="qa-setup-platform" value="&qa.setup.sysconfig.platform;" width="100px"/>
|
||||
<menulist id="qa-setup-platform">
|
||||
<menupopup>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
</hbox>
|
||||
<spacer height="20px" />
|
||||
<hbox>
|
||||
<label control="qa-setup-opsys" value="&qa.setup.sysconfig.opsys;"/>
|
||||
<label control="qa-setup-opsys" value="&qa.setup.sysconfig.opsys;" width="100px"/>
|
||||
<menulist id="qa-setup-opsys">
|
||||
<menupopup>
|
||||
</menupopup>
|
||||
</menulist>
|
||||
</hbox>
|
||||
<spacer height="20px" />
|
||||
<label id="qa-setup-sysconfig-loading"/>
|
||||
</vbox>
|
||||
</wizardpage>
|
||||
|
||||
<wizardpage pageid="finish" onpageshow="qaSetup.finish();">
|
||||
<wizardpage pageid="finish" onpageshow="qaSetup.finish();" label="&qa.setup.finish.header;">
|
||||
<description>&qa.setup.accountdone;</description>
|
||||
</wizardpage>
|
||||
|
||||
|
|
|
@ -70,10 +70,8 @@
|
|||
<checkbox id="qa-bugzilla-input-version" label="Product Version" />
|
||||
</hbox>
|
||||
<hbox>
|
||||
<button style="margin-left: 50px; padding-left: 2em; padding-right: 2em;"
|
||||
label="Find!" oncommand="bugzilla.doSearch(); "/>
|
||||
<button style="padding-left: 2em; padding-right: 2em;"
|
||||
label="Show all bugs filed today" oncommand="bugzilla.showRecent()"/>
|
||||
<button style="margin-left: 50px;" label="Find!" oncommand="bugzilla.doSearch(); "/>
|
||||
<button label="Show all bugs filed today" oncommand="bugzilla.showRecent()"/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
|
||||
|
@ -106,8 +104,8 @@
|
|||
multiline="true" disabled="true" flex="1" />
|
||||
|
||||
<hbox>
|
||||
<button style="margin-left: 50px; padding-left: 2em; padding-right: 2em;"
|
||||
label="Show in Bugzilla" oncommand="bugzilla.openInBugzilla();"/>
|
||||
<button style="margin-left: 50px;" label="Show in Bugzilla"
|
||||
oncommand="bugzilla.openInBugzilla();"/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
</div>
|
||||
</vbox>
|
||||
<vbox>
|
||||
<button style="margin-top: 10px; margin-left: 20px; padding-left: 2em; padding-right: 2em;"
|
||||
<button style="margin-left: 50px;"
|
||||
oncommand="openQAChat();" label="&qa.chat.howdoI.joinnow;" />
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
|
|
|
@ -54,8 +54,7 @@
|
|||
<label value="" id="qa-subgroup-label" style="font-weight: bold;" crop="end"/>
|
||||
</vbox>
|
||||
<vbox>
|
||||
<button label="&qa.litmus.selecttests;" oncommand="litmus.handleDialog()"
|
||||
style="padding-left: 2em; padding-right: 2em;" />
|
||||
<button label="&qa.litmus.selecttests;" oncommand="litmus.handleDialog()"/>
|
||||
<spacer flex="1"/>
|
||||
</vbox>
|
||||
</hbox>
|
||||
|
@ -106,10 +105,9 @@
|
|||
</hbox>
|
||||
<spacer flex="1"/>
|
||||
<hbox>
|
||||
<button style="margin-left: 50px; padding-left: 2em; padding-right: 2em;"
|
||||
id="qa-mainwindow-previousButton" label="Previous" oncommand="litmus.prevButton()"/>
|
||||
<button style="padding-left: 2em; padding-right: 2em;"
|
||||
id="qa-mainwindow-nextButton" label="Next (Submit)" oncommand="litmus.nextButton()"/>
|
||||
<button style="margin-left: 50px;" id="qa-mainwindow-previousButton" label="Previous"
|
||||
oncommand="litmus.prevButton()"/>
|
||||
<button id="qa-mainwindow-nextButton" label="Next (Submit)" oncommand="litmus.nextButton()"/>
|
||||
</hbox>
|
||||
</vbox>
|
||||
</hbox>
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
<?xml-stylesheet href="chrome://qa/skin/" type="text/css"?>
|
||||
|
||||
<dialog id="dialog-name"
|
||||
title="&qa.selecttests.header;"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
persist="screenX screenY width height"
|
||||
buttons="accept,cancel"
|
||||
|
@ -57,9 +58,13 @@
|
|||
<script type="application/x-javascript" src="chrome://qa/content/common.js" />
|
||||
<script type="application/x-javascript" src="chrome://qa/content/tabs/selecttests.js" />
|
||||
|
||||
<dialogheader description="&qa.selecttests.header;" />
|
||||
<spacer height="20" />
|
||||
<vbox>
|
||||
<vbox flex="1">
|
||||
<hbox>
|
||||
<description flex="1"> Please select a Test Run, Group and Subgroup. Your selections will show
|
||||
changes in the main Mozilla QA Companion, but will only take effect if you press the "OK" button.
|
||||
Pressing "Cancel" will take you back to your previous tests.</description>
|
||||
</hbox>
|
||||
<spacer height="10" />
|
||||
<hbox>
|
||||
<description value="Test Run:" />
|
||||
<menulist label=" " id="qa-st-testrun" onselect="handleRunSelect()">
|
||||
|
@ -68,20 +73,20 @@
|
|||
</menupopup>
|
||||
</menulist>
|
||||
</hbox>
|
||||
<spacer height="20" />
|
||||
<hbox>
|
||||
<spacer height="10" />
|
||||
<hbox flex="1">
|
||||
<vbox>
|
||||
<description value="Test Group:" />
|
||||
<listbox id="qa-st-testgroup" rows = "5"
|
||||
onselect="handleTestgroupSelect()">
|
||||
<listitem label="&qa.selecttests.load;" />
|
||||
<listbox id="qa-st-testgroup"
|
||||
onselect="handleTestgroupSelect()" flex="1">
|
||||
<listitem label="&qa.selecttests.load;"/>
|
||||
</listbox>
|
||||
</vbox>
|
||||
<vbox>
|
||||
<description value="Subgroup" />
|
||||
<listbox id="qa-st-subgroup" rows = "5"
|
||||
onselect="handleSubgroupSelect()">
|
||||
<listitem label="&qa.selecttests.load;" />
|
||||
<vbox flex="1">
|
||||
<description value="Test Subgroup:" />
|
||||
<listbox id="qa-st-subgroup"
|
||||
onselect="handleSubgroupSelect()" flex="1">
|
||||
<listitem label="&qa.selecttests.load;" flex="1"/>
|
||||
</listbox>
|
||||
</vbox>
|
||||
</hbox>
|
||||
|
|
|
@ -55,15 +55,15 @@
|
|||
<hbox>
|
||||
<label control="qa-preferences-litmus-username"
|
||||
value="&qa.preferences.litmus.username;" width="60px" />
|
||||
<textbox id="qa-preferences-litmus-username" width="200px" />
|
||||
<textbox id="qa-preferences-litmus-username" size="35" width="250px" />
|
||||
</hbox>
|
||||
<hbox>
|
||||
<label control="qa-preferences-litmus-password"
|
||||
value="&qa.preferences.litmus.password;" width="60px" />
|
||||
<textbox id="qa-preferences-litmus-password" type="password" width="200px" />
|
||||
<textbox id="qa-preferences-litmus-password" type="password" size="35" width="250px" />
|
||||
</hbox>
|
||||
<hbox>
|
||||
<button style="margin-left: 50px; padding-left: 2em; padding-right: 2em;"
|
||||
<button style="margin-left: 50px;"
|
||||
id="qa-preferences-litmus-createAccount"
|
||||
label="&qa.preferences.litmus.createAccount;"
|
||||
oncommand="qaPrefsWindow.createAccount();"/>
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
<!ENTITY qa.testcase.comment "Comment (optional):">
|
||||
|
||||
<!ENTITY qa.selecttests.load "Loading...">
|
||||
<!ENTITY qa.selecttests.header "Select test group">
|
||||
<!ENTITY qa.selecttests.header "Select Tests To Run">
|
||||
|
||||
<!ENTITY qa.preferences.title "Settings">
|
||||
<!ENTITY qa.preferences.litmus.title "Litmus Settings">
|
||||
|
@ -77,14 +77,13 @@
|
|||
<!ENTITY qa.qmo.forumposts "Recent forum topics">
|
||||
<!ENTITY qa.qmo.thelatest "The latest from QMO">
|
||||
|
||||
|
||||
<!ENTITY qa.setup.title "Mozilla QA Companion: Setup">
|
||||
<!ENTITY qa.setup.welcomeheader "Welcome to the Mozilla QA Companion!">
|
||||
<!ENTITY qa.setup.welcometext "
|
||||
<html:h4>Welcome to the Mozilla QA community!</html:h4>
|
||||
<html:h4>It's the easiest way to stay connected and participate in the Mozilla QA community...</html:h4>
|
||||
Mozilla Quality Assurance (QA) is a network of countless volunteers
|
||||
from the Internet community, along with a group of Mozilla employees, who share
|
||||
the common mission of <html:i>taming the lizard</html:i> through testing and
|
||||
the common mission of <html:b>taming the Lizard</html:b> through testing and
|
||||
constructively reporting bugs in Mozilla products.
|
||||
<html:br/><html:br/>
|
||||
This extension allows you to <html:b>find bugs</html:b> in Mozilla products by
|
||||
|
@ -93,20 +92,22 @@ your time, doesn't require any special skills, and helps to improve Mozilla
|
|||
products like Firefox and Thunderbird.
|
||||
<html:br/><html:br/>
|
||||
When you find a bug, this extension helps you to <html:b>report it</html:b>
|
||||
to <html:a href='http://litmus.mozilla.org/' target='_blank'>Litmus</html:a>,
|
||||
the tool we use to track our testing efforts. Your test results are valuable,
|
||||
to <html:a href='http://litmus.mozilla.org/' style='color: #0067ac;' target='_blank'>Litmus</html:a>,
|
||||
the tool we use to track our testing efforts. You can even <html:b>search for bugs</html:b> and
|
||||
learn more about them through <html:a href='http://bugzilla.mozilla.org/' style='color: #0067ac;'
|
||||
target='_blank'>Bugzilla</html:a>, our bug tracking tool. Your test results and bug reports are valuable,
|
||||
and we use them to ensure that all features work properly across a wide range
|
||||
of platforms, operating systems, and configurations.
|
||||
|
||||
<html:h4>Why Should I Get Involved?</html:h4>
|
||||
If you are a fan of Firefox and want to help us make it even better, the
|
||||
easiest way to get involved is to help us test! The Mozilla QA team and
|
||||
<html:h4>Why should I get involved?</html:h4>
|
||||
If you're a fan of Firefox and want to help us make it even better, the
|
||||
easiest way to get involved is to <html:b>help us test</html:b>! The Mozilla QA team and
|
||||
community play an important role in making sure millions of people have the
|
||||
best Web experience possible... so what are you waiting for? Join the Mozilla
|
||||
best Web experience possible... so what are you waiting for? Join the Mozilla
|
||||
QA community now!
|
||||
|
||||
<html:h5>For more information, please visit the home of Mozilla QA at
|
||||
<html:a href='http://quality.mozilla.org' target='_blank'>
|
||||
<html:a href='http://quality.mozilla.org' style='color: #0067ac;' target='_blank'>
|
||||
quality.mozilla.org (QMO)</html:a>.</html:h5>
|
||||
">
|
||||
|
||||
|
@ -114,52 +115,57 @@ quality.mozilla.org (QMO)</html:a>.</html:h5>
|
|||
<!ENTITY qa.setup.abouttext "
|
||||
<html:h4>How do I get started?</html:h4>
|
||||
Getting started with Mozilla QA is easy! This setup wizard will ask you a
|
||||
few simple questions. Once that's done, you will be taken to the test runner,
|
||||
few simple questions. Once that's done, you'll be able to use the Litmus tab,
|
||||
where you can select what you want to test, run those tests, and submit your
|
||||
results to Litmus. You'll also have a chance to learn about QA Community
|
||||
events and other ways to get involved.
|
||||
results to Litmus. You can also search for bugs or see all the bugs reported today in
|
||||
the Bugzilla tab. To meet others and interact with the Mozilla QA team and community you
|
||||
can connect to IRC using the Chat tab. You'll also have a chance to learn more about
|
||||
Mozilla QA through regular updates and news on the QMO tab. It's all integrated into
|
||||
the Mozilla QA Companion!
|
||||
|
||||
<html:h4>A note on privacy</html:h4>
|
||||
When you use the Mozilla QA Companion, you are submitting test results to an
|
||||
When you use the Mozilla QA Companion, you're submitting test results to an
|
||||
open system. Other members of the community will access the information you
|
||||
submit in order to improve the quality of Mozilla products. You
|
||||
<html:b>should not</html:b> submit any private or confidential information
|
||||
using the Mozilla QA Companion. If you provide your real name or an IRC nickname
|
||||
to display instead, we will hide your email address from
|
||||
to display instead, we'll hide your email address from
|
||||
public view to help prevent email harvesting bots from spamming you.
|
||||
For more information, please see our
|
||||
<html:a href='http://www.mozilla.com/privacy-policy.html' target='_blank'>
|
||||
privacy policy</html:a>.
|
||||
<html:a href='http://www.mozilla.com/privacy-policy.html' style='color: #0067ac;' target='_blank'>
|
||||
Privacy Policy</html:a>.
|
||||
|
||||
<html:h4>Welcome to the Mozilla QA Community. Let's get started!</html:h4>
|
||||
<html:h4>Welcome to the Mozilla QA community... Let's get started!</html:h4>
|
||||
">
|
||||
|
||||
<!ENTITY qa.setup.accountheader "Creating an account">
|
||||
<!ENTITY qa.setup.accountheader "Creating a Litmus account">
|
||||
<!ENTITY qa.setup.accounttext "To use the Mozilla QA Companion, you will need an account
|
||||
on Litmus, our test management system.">
|
||||
<!ENTITY qa.setup.haveaccount "Do you already have a Litmus account?">
|
||||
<!ENTITY qa.setup.accountno "I do not have a Litmus account">
|
||||
<!ENTITY qa.setup.accountyes "I already have a Litmus account">
|
||||
<!ENTITY qa.setup.accountyes.enterinfo "Enter your Litmus account information:">
|
||||
<!ENTITY qa.setup.accountyes.enterinfo "Enter your Litmus account information and then press
|
||||
the 'Continue' button.">
|
||||
<!ENTITY qa.setup.accountno.text "Complete the form below and press the
|
||||
<html:b>Create Account</html:b> button to create your new account. <html:br/>Once your
|
||||
<html:b>Create Account</html:b> button to create your new account. Once your
|
||||
account is created, press the 'Continue' button to complete setup.">
|
||||
<!ENTITY qa.setup.createfail "Note: If you have problems creating your Litmus account, just press the
|
||||
'Go Back' button and then 'Continue' to return to this window and try again.">
|
||||
|
||||
<!ENTITY qa.setup.accountdone "
|
||||
<html:h4>Account Created</html:h4>
|
||||
<html:b>Congratulations!</html:b> Your Litmus
|
||||
account has been created. You'll be able to use your new account both here in
|
||||
the Mozilla QA Companion, and on the <html:a href='http://litmus.mozilla.org'>Litmus</html:a> website.
|
||||
<html:h4>Congratulations!</html:h4>
|
||||
Your Litmus account has been created. You'll be able to use your new account both here in
|
||||
the Mozilla QA Companion and on the
|
||||
<html:a href='http://litmus.mozilla.org/' style='color: #0067ac;' target='_blank'>Litmus</html:a> website.
|
||||
|
||||
<html:h4>That's it!</html:h4>
|
||||
<html:b>You're ready to start testing.</html:b> If you have any questions along
|
||||
the way, you may post to the
|
||||
<html:a href='http://quality.mozilla.org/forums' target='_blank'>QMO Forums
|
||||
<html:h4>That's it! You're ready to start testing.</html:h4>
|
||||
If you have any questions along the way, please post to the
|
||||
<html:a href='http://quality.mozilla.org/forums' style='color: #0067ac;' target='_blank'>QMO Forums
|
||||
</html:a> or join us on
|
||||
<html:a href='http://irc.mozilla.org' target='_blank'>IRC</html:a> (Internet Relay
|
||||
Chat) and become more involved in our testing community.
|
||||
We are in #qa on irc.mozilla.org. You can click the Join IRC Now button in the Chat tab or if you have an IRC client installed already, you can join by clicking this link: <html:a href='irc://irc.mozilla.org/qa'>
|
||||
join #qa</html:a>.
|
||||
<html:a href='http://irc.mozilla.org' style='color: #0067ac;' target='_blank'>IRC</html:a>.
|
||||
We are in #qa on irc.mozilla.org. You can click the 'Join IRC Now' button in the Chat tab or if
|
||||
you have an IRC client installed already, you can just click this link:
|
||||
<html:a href='irc://irc.mozilla.org/qa' style='color: #0067ac;'>join #qa</html:a>.
|
||||
">
|
||||
|
||||
<!ENTITY qa.setup.sysconfig.header "System Configuration">
|
||||
|
@ -171,6 +177,8 @@ possible, but please check the settings below and make any necessary changes.
|
|||
<!ENTITY qa.setup.sysconfig.platform "Platform:">
|
||||
<!ENTITY qa.setup.sysconfig.opsys "Operating System:">
|
||||
|
||||
<!ENTITY qa.setup.finish.header "Setup Complete">
|
||||
|
||||
<!ENTITY qa.bugzilla.title "Bugzilla">
|
||||
|
||||
<!ENTITY qa.chat.title "Chat">
|
||||
|
|
Загрузка…
Ссылка в новой задаче