[gnome-shell] polkit: Add translator comment



commit 641d7a4ea41998ca38c27ff506843507ca39203b
Author: Vincent Untz <vuntz gnome org>
Date:   Sun Mar 27 10:41:54 2011 +0530

    polkit: Add translator comment
    
    Add a translator comment for the "Sorry, that didn't work. Please try
    again." string, as suggested by several people; this should help
    translators what "that" refers to.

 js/ui/polkitAuthenticationAgent.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/polkitAuthenticationAgent.js b/js/ui/polkitAuthenticationAgent.js
index 8f7703c..4a0fdf6 100644
--- a/js/ui/polkitAuthenticationAgent.js
+++ b/js/ui/polkitAuthenticationAgent.js
@@ -257,6 +257,10 @@ AuthenticationDialog.prototype = {
              * show "Sorry, that didn't work. Please try again."
              */
             if (!this._errorMessageLabel.visible && !this._wasDismissed) {
+                /* Translators: "that didn't work" refers to the fact that the
+                 * requested authentication was not gained; this can happen
+                 * because of an authentication error (like invalid password),
+                 * for instance. */
                 this._errorMessageLabel.set_text(_("Sorry, that didn\'t work. Please try again."));
                 this._errorMessageLabel.show();
                 this._infoMessageLabel.hide();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]