This commit is contained in:
@ -304,6 +304,9 @@ case 'PUT':
|
||||
json_error('NOT_FOUND', 'Translation entity not found', 404);
|
||||
}
|
||||
qdb_put_translation($pdo, $type, $id, $lang, $text);
|
||||
if ($type === 'app_string' && $lang === QDB_SOURCE_LANGUAGE) {
|
||||
qdb_update_app_string_german_default((string)$id, (string)$text);
|
||||
}
|
||||
qdb_save($tmpDb, $lockFp);
|
||||
json_success([]);
|
||||
} catch (Throwable $e) {
|
||||
|
||||
Reference in New Issue
Block a user