We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1b79f5 commit ebd6ae1Copy full SHA for ebd6ae1
src/PhraseApp.php
@@ -85,11 +85,8 @@ public function create(Message $message)
85
if ($key->getName() === $message->getDomain().'::'.$message->getKey()) {
86
/* @var Index $index */
87
$index = $this->client->translation()->indexKey($this->projectId, $key->getId(), ['tags' => $message->getDomain()]);
88
-
89
foreach ($index as $translation) {
90
- if ($translation->getLocale()->getId() === $localeId
91
- && $translation->getContent() !== $message->getTranslation()
92
- ) {
+ if ($translation->getLocale()->getId() === $localeId) {
93
$this->client->translation()->update($this->projectId, $translation->getId(), $message->getTranslation());
94
95
return;
0 commit comments