Merge pull request #711 from gradido/710-change-text-community-server

change text from Geld to Gradidos
This commit is contained in:
Alexander Friedland 2021-08-17 07:56:31 +02:00 committed by GitHub
commit 1bb8bbfc77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2762 additions and 855 deletions

View File

@ -170,13 +170,13 @@ class TransactionSendCoinsController extends AppController
$amountCent = $this->GradidoNumber->parseInputNumberToCentNumber($requestData['amount']);
if(!isset($user['balance']) || $amountCent > $user['balance']) {
$this->Flash->error(__('Du hast nicht genug Geld!'));
$this->Flash->error(__('Du hast nicht genug Gradidos!'));
return;
}
$receiverEmail = $requestData['email'];
if($receiverEmail === $user['email']) {
$this->Flash->error(__('Du kannst dir leider nicht selbst Geld schicken!'));
$this->Flash->error(__('Du kannst dir selbst keine Gradidos senden!'));
return;
}
$requestAnswear = $this->JsonRequestClient->sendRequest(json_encode([

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff