<!-- Pt-web/src/app-root/ztr/PasswordChanger.xml

 Copyright: ©2015, Güralp Systems Ltd.
 Author: Laurence Withers <lwithers@guralp.com>
 License: GPLv3

-->

<messages>

<!--============================================================================
Widget
=============================================================================-->

<!-- widget contents -->
<message id='tpl.PasswordChanger.layout'>
<div class='control-group'><label for='${id:currentPass}'>Enter current
  password:</label> ${currentPass}</div>
<div class='control-group'><label for='${id:newPass}'>Enter new
  password:</label> ${newPass}</div>
<div class='control-group'><label for='${id:confirmPass}'>Confirm new
  password:</label> ${confirmPass}</div>
<div>${changeButton}</div>
<div>${message}</div>
</message>

<message id='text.PasswordChanger.changeButton'>Change password</message>

<!-- the widget confirms the user typed the same password twice -->
<message id='xhtml.PasswordChanger.passwordsDoNotMatch'>
<p class='errorMessage'>Passwords do not match.</p>
</message>

<!-- error message shown when executing passwd fails; arguments:
 {1} path to executable
 {2} errno
 {3} library error message
-->
<message id='xhtml.PasswordChanger.passwdSystemError'>Error executing
<code>{1}</code>: {3} (library error code {2})</message>

<!-- success message -->
<message id='xhtml.PasswordChanger.success'>
<p class='successMessage'>Password changed.</p>
</message>

<!--============================================================================
Page
=============================================================================-->

<message id='text.PasswordChanger.Page.title'>Changing password for {1}</message>

</messages>

<!-- options for text editors
vim: ts=2:sw=2:expandtab
-->
