L10n: Fix punctuation.
This commit is contained in:
parent
503afc4422
commit
c218eb5077
|
@ -175,11 +175,11 @@ class ApiStatusNetOAuthDataStore extends StatusNetOAuthDataStore
|
||||||
$rt->state = 0;
|
$rt->state = 0;
|
||||||
if (!$rt->find(true)) {
|
if (!$rt->find(true)) {
|
||||||
// TRANS: Exception thrown when an attempt is made to revoke an unknown token.
|
// TRANS: Exception thrown when an attempt is made to revoke an unknown token.
|
||||||
throw new Exception(_('Tried to revoke unknown token'));
|
throw new Exception(_('Tried to revoke unknown token.'));
|
||||||
}
|
}
|
||||||
if (!$rt->delete()) {
|
if (!$rt->delete()) {
|
||||||
// TRANS: Exception thrown when an attempt is made to remove a revoked token.
|
// TRANS: Exception thrown when an attempt is made to remove a revoked token.
|
||||||
throw new Exception(_('Failed to delete revoked token'));
|
throw new Exception(_('Failed to delete revoked token.'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user