|
@@ 73-82 (lines=10) @@
|
| 70 |
|
} |
| 71 |
|
} |
| 72 |
|
|
| 73 |
|
if (!isset($keyId)) { |
| 74 |
|
$response = $this->client->request('key.create', [ |
| 75 |
|
'project_id' => $this->projectId, |
| 76 |
|
'locale_id' => $this->getLocaleId($message->getLocale()), |
| 77 |
|
'name' => $message->getDomain() . '::' . $message->getKey(), |
| 78 |
|
'tags' => $message->getDomain(), |
| 79 |
|
]); |
| 80 |
|
|
| 81 |
|
$keyId = $response['id']; |
| 82 |
|
} |
| 83 |
|
|
| 84 |
|
$response = $this->client->request('translation.indexKeys', [ |
| 85 |
|
'project_id' => $this->projectId, |
|
@@ 123-132 (lines=10) @@
|
| 120 |
|
} |
| 121 |
|
} |
| 122 |
|
|
| 123 |
|
if (!isset($keyId)) { |
| 124 |
|
$response = $this->client->request('key.create', [ |
| 125 |
|
'project_id' => $this->projectId, |
| 126 |
|
'locale_id' => $this->getLocaleId($message->getLocale()), |
| 127 |
|
'name' => $message->getDomain() . '::' . $message->getKey(), |
| 128 |
|
'tags' => $message->getDomain(), |
| 129 |
|
]); |
| 130 |
|
|
| 131 |
|
$keyId = $response['id']; |
| 132 |
|
} |
| 133 |
|
|
| 134 |
|
$response = $this->client->request('translation.indexKeys', [ |
| 135 |
|
'project_id' => $this->projectId, |