API & Client - add API error messages translation
This commit is contained in:
@ -370,7 +370,7 @@
|
||||
<li><p>Invalid token. Please log in again.</p></li>
|
||||
</ul>
|
||||
</p></li>
|
||||
<li><p><a class="reference external" href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.4">403 Forbidden</a> – You do not have permissions</p></li>
|
||||
<li><p><a class="reference external" href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.4">403 Forbidden</a> – You do not have permissions.</p></li>
|
||||
<li><p><a class="reference external" href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.5">404 Not Found</a> – activity not found</p></li>
|
||||
</ul>
|
||||
</dd>
|
||||
|
@ -177,10 +177,10 @@
|
||||
<li><p>Sorry. That user already exists.</p></li>
|
||||
<li><dl class="simple">
|
||||
<dt>Errors:</dt><dd><ul>
|
||||
<li><p>Username: 3 to 12 characters required.</p></li>
|
||||
<li><p>3 to 12 characters required for usernanme.</p></li>
|
||||
<li><p>Valid email must be provided.</p></li>
|
||||
<li><p>Password and password confirmation don’t match.</p></li>
|
||||
<li><p>Password: 8 characters required.</p></li>
|
||||
<li><p>8 characters required for password.</p></li>
|
||||
</ul>
|
||||
</dd>
|
||||
</dl>
|
||||
|
@ -266,7 +266,7 @@
|
||||
</ul>
|
||||
</p></li>
|
||||
<li><p><a class="reference external" href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.5">404 Not Found</a> – <ul>
|
||||
<li><p>User does not exist</p></li>
|
||||
<li><p>User does not exist.</p></li>
|
||||
</ul>
|
||||
</p></li>
|
||||
</ul>
|
||||
@ -298,7 +298,7 @@
|
||||
<dd class="field-even"><ul class="simple">
|
||||
<li><p><a class="reference external" href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.1">200 OK</a> – success</p></li>
|
||||
<li><p><a class="reference external" href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.5">404 Not Found</a> – <ul>
|
||||
<li><p>User does not exist</p></li>
|
||||
<li><p>User does not exist.</p></li>
|
||||
<li><p>No picture.</p></li>
|
||||
</ul>
|
||||
</p></li>
|
||||
|
Reference in New Issue
Block a user