]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Add translator hint.
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Sun, 12 Sep 2010 15:08:49 +0000 (17:08 +0200)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Sun, 12 Sep 2010 15:08:49 +0000 (17:08 +0200)
19 files changed:
actions/apiaccountupdatedeliverydevice.php
actions/apiaccountupdateprofile.php
actions/apiaccountupdateprofilebackgroundimage.php
actions/apiaccountupdateprofilecolors.php
actions/apiaccountupdateprofileimage.php
actions/apiblockcreate.php
actions/apiblockdestroy.php
actions/apidirectmessagenew.php
actions/apifavoritecreate.php
actions/apifavoritedestroy.php
actions/apifriendshipscreate.php
actions/apifriendshipsdestroy.php
actions/apigroupcreate.php
actions/apigroupjoin.php
actions/apigroupleave.php
actions/apimediaupload.php
actions/apistatusesretweet.php
actions/apistatusesupdate.php
plugins/OStatus/lib/salmonaction.php

index 295378aa679ffd238a3f7bb28fa11f68bb462063..2d903cb46087fe51bee5f0afac8d59849e4ac256 100644 (file)
@@ -83,6 +83,7 @@ class ApiAccountUpdateDeliveryDeviceAction extends ApiAuthAction
 
         if ($_SERVER['REQUEST_METHOD'] != 'POST') {
             $this->clientError(
+                // TRANS: Client error message. POST is a HTTP command. It should not be translated.
                 _('This method requires a POST.'),
                 400, $this->format
             );
index 9b371ea95764e1f829e7c9bce1eba8cffcb3859a..92d0f6b77141279a6c1b4bbad439b3e54a5858fe 100644 (file)
@@ -86,6 +86,7 @@ class ApiAccountUpdateProfileAction extends ApiAuthAction
 
         if ($_SERVER['REQUEST_METHOD'] != 'POST') {
             $this->clientError(
+                // TRANS: Client error. POST is a HTTP command. It should not be translated.
                 _('This method requires a POST.'),
                 400, $this->format
             );
index 3537b9f9793354087c6cf11e9a8bb616dc7ece7d..923fb1d114f0ba1d4b22dcd8fdbb926393825e7c 100644 (file)
@@ -83,6 +83,7 @@ class ApiAccountUpdateProfileBackgroundImageAction extends ApiAuthAction
 
         if ($_SERVER['REQUEST_METHOD'] != 'POST') {
             $this->clientError(
+                // TRANS: Client error. POST is a HTTP command. It should not be translated.
                 _('This method requires a POST.'),
                 400, $this->format
             );
index c666f9d7592e6deea13a1d49b07ce70316e7c793..9e07d80de375b1660d22fb334aedc78c9b625e6f 100644 (file)
@@ -107,6 +107,7 @@ class ApiAccountUpdateProfileColorsAction extends ApiAuthAction
 
         if ($_SERVER['REQUEST_METHOD'] != 'POST') {
             $this->clientError(
+                // TRANS: Client error. POST is a HTTP command. It should not be translated.
                 _('This method requires a POST.'),
                 400, $this->format
             );
index 153ef7818ee03a9f09cc74bb4b790b8392e516bb..7f868a6eb3253ff1cc5baea8d8ece35e2988a666 100644 (file)
@@ -81,6 +81,7 @@ class ApiAccountUpdateProfileImageAction extends ApiAuthAction
 
         if ($_SERVER['REQUEST_METHOD'] != 'POST') {
             $this->clientError(
+                // TRANS: Client error. POST is a HTTP command. It should not be translated.
                 _('This method requires a POST.'),
                 400, $this->format
             );
index b355cd1c7e7e3ed0b6b9dc44abe6d65f6400820a..53844cd2f299e3ec233a4e47da6884301015083d 100644 (file)
@@ -86,6 +86,7 @@ class ApiBlockCreateAction extends ApiAuthAction
 
         if ($_SERVER['REQUEST_METHOD'] != 'POST') {
             $this->clientError(
+                // TRANS: Client error. POST is a HTTP command. It should not be translated.
                 _('This method requires a POST.'),
                 400,
                 $this->format
index 7ea201677e677fe2c2e0373153bc9a752db3ef7c..871ce66c731fbe796475298daaf0c9ee144d70a9 100644 (file)
@@ -85,6 +85,7 @@ class ApiBlockDestroyAction extends ApiAuthAction
 
         if ($_SERVER['REQUEST_METHOD'] != 'POST') {
             $this->clientError(
+                // TRANS: Client error. POST is a HTTP command. It should not be translated.
                 _('This method requires a POST.'),
                 400,
                 $this->format
index 65d065648ff0337483a3fd5add842546b2133230..44e205ebb04a801c1831a8e57238da358cc1d070 100644 (file)
@@ -106,6 +106,7 @@ class ApiDirectMessageNewAction extends ApiAuthAction
 
         if ($_SERVER['REQUEST_METHOD'] != 'POST') {
             $this->clientError(
+                // TRANS: Client error. POST is a HTTP command. It should not be translated.
                 _('This method requires a POST.'),
                 400,
                 $this->format
index 0447a92ba2613f04f60acc997dcfcc19b21e10ec..15da010138f1cc7387b71a39def4f49782beee39 100644 (file)
@@ -88,6 +88,7 @@ class ApiFavoriteCreateAction extends ApiAuthAction
 
         if ($_SERVER['REQUEST_METHOD'] != 'POST') {
             $this->clientError(
+                // TRANS: Client error. POST is a HTTP command. It should not be translated.
                 _('This method requires a POST.'),
                 400,
                 $this->format
index 9f2efdd0033b0afbefdcfb71db3d8bd268d84614..c2e1ebafc7a5d5703455a558a326ec747d23e08f 100644 (file)
@@ -89,6 +89,7 @@ class ApiFavoriteDestroyAction extends ApiAuthAction
 
         if ($_SERVER['REQUEST_METHOD'] != 'POST') {
             $this->clientError(
+                // TRANS: Client error. POST is a HTTP command. It should not be translated.
                 _('This method requires a POST.'),
                 400,
                 $this->format
index a7ec5b28a44452996e666d60c36ce72075fc400b..64c857c70c2c4a97dfe3a5e8f666a33d2291480f 100644 (file)
@@ -88,6 +88,7 @@ class ApiFriendshipsCreateAction extends ApiAuthAction
 
         if ($_SERVER['REQUEST_METHOD'] != 'POST') {
             $this->clientError(
+                // TRANS: Client error. POST is a HTTP command. It should not be translated.
                 _('This method requires a POST.'),
                 400,
                 $this->format
index 551d016823ba143a1057cbac84ca6cbda0f1962e..21da23ef7cbc9500b85991e62fd03e3dada8f844 100644 (file)
@@ -88,6 +88,7 @@ class ApiFriendshipsDestroyAction extends ApiAuthAction
 
         if ($_SERVER['REQUEST_METHOD'] != 'POST') {
             $this->clientError(
+                // TRANS: Client error. POST is a HTTP command. It should not be translated.
                 _('This method requires a POST.'),
                 400,
                 $this->format
index d216c15cd4f4be0e6a17c0f9a5083f925756e840..fa443573d66927f7cf4795d5ea0f8da8eab580af 100644 (file)
@@ -102,6 +102,7 @@ class ApiGroupCreateAction extends ApiAuthAction
 
         if ($_SERVER['REQUEST_METHOD'] != 'POST') {
              $this->clientError(
+                 // TRANS: Client error. POST is a HTTP command. It should not be translated.
                  _('This method requires a POST.'),
                  400,
                  $this->format
index 5265ec629ed85a2e205cb5ad5d35571640491071..a0c069974ba12bdbbf77d6640f9ddc08184a842b 100644 (file)
@@ -89,6 +89,7 @@ class ApiGroupJoinAction extends ApiAuthAction
 
         if ($_SERVER['REQUEST_METHOD'] != 'POST') {
             $this->clientError(
+                // TRANS: Client error. POST is a HTTP command. It should not be translated.
                 _('This method requires a POST.'),
                 400,
                 $this->format
index 8c100d58a83e9bd50db8f68329c35aac139ed436..c838f6c878b5a4cf16d13293b5ffa9058a28cbc5 100644 (file)
@@ -89,6 +89,7 @@ class ApiGroupLeaveAction extends ApiAuthAction
 
         if ($_SERVER['REQUEST_METHOD'] != 'POST') {
             $this->clientError(
+                // TRANS: Client error. POST is a HTTP command. It should not be translated.
                 _('This method requires a POST.'),
                 400,
                 $this->format
index 7aa88c186bcc58c3592393e6d90bda8f7596feaf..54d7fda68fac0c471fadd8f36b724531a477eea4 100644 (file)
@@ -64,6 +64,7 @@ class ApiMediaUploadAction extends ApiAuthAction
 
         if ($_SERVER['REQUEST_METHOD'] != 'POST') {
             $this->clientError(
+                // TRANS: Client error. POST is a HTTP command. It should not be translated.
                 _('This method requires a POST.'),
                 400, $this->format
             );
index 9aa33748544ec5c978453701aacba6265dd20a85..aae98f63786c6d5d5f64dd84845a796d9db1836a 100644 (file)
@@ -62,6 +62,7 @@ class ApiStatusesRetweetAction extends ApiAuthAction
         parent::prepare($args);
 
         if ($_SERVER['REQUEST_METHOD'] != 'POST') {
+            // TRANS: Client error. POST is a HTTP command. It should not be translated.
             $this->clientError(_('This method requires a POST.'),
                                400, $this->format);
             return false;
index fa3f611c0a8a59a797691de9087a5211da6be2ee..4715f7002755695d6afecbbab08ef08c85cfe59b 100644 (file)
@@ -195,6 +195,7 @@ class ApiStatusesUpdateAction extends ApiAuthAction
 
         if ($_SERVER['REQUEST_METHOD'] != 'POST') {
             $this->clientError(
+                // TRANS: Client error. POST is a HTTP command. It should not be translated.
                 _('This method requires a POST.'),
                 400,
                 $this->format
index 5fdb11abe40be4d91b6af9e5616cab7f887d6ee2..f97c67edd0dfd152b6e66f48e6df0dffbe46fff5 100644 (file)
@@ -38,6 +38,7 @@ class SalmonAction extends Action
         parent::prepare($args);
 
         if ($_SERVER['REQUEST_METHOD'] != 'POST') {
+            // TRANS: POST is a HTTP command. It should not be translated.
             $this->clientError(_m('This method requires a POST.'));
         }