]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/applicationeditform.php
For good measure, don't return autocomplete results when not logged in.
[quix0rs-gnu-social.git] / lib / applicationeditform.php
index 224b6eaa1b62de73ebe71ddd4a7feabbd9a50553..f53c31feb42d270b74a88269e5c6fe32d4287287 100644 (file)
@@ -197,7 +197,8 @@ class ApplicationEditForm extends Form
         $maxDesc = Oauth_application::maxDesc();
         if ($maxDesc > 0) {
             // TRANS: Form input field instructions.
-            $descInstr = sprintf(_('Describe your application in %d characters'),
+            // TRANS: %d is the number of available characters for the description.
+            $descInstr = sprintf(ngettext('Describe your application in %d character','Describe your application in %d characters',$maxDesc),
                                  $maxDesc);
         } else {
             // TRANS: Form input field instructions.