From e0aa0b737bd968604db0ebf7dc480262e57785db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Va=CC=81clav=20Slavi=CC=81k?= Date: Sun, 21 Jun 2020 17:30:05 +0200 Subject: [PATCH] Use skipUntranslatedStrings=true --- src/crowdin_client.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/crowdin_client.cpp b/src/crowdin_client.cpp index e046ce84dd..e293b2199a 100644 --- a/src/crowdin_client.cpp +++ b/src/crowdin_client.cpp @@ -368,6 +368,7 @@ dispatch::future CrowdinClient::DownloadFile(const long project_id, "projects/" + std::to_string(project_id) + "/translations/builds/files/" + std::to_string(file_id), json_data({ { "targetLanguageId", lang.LanguageTag() }, + { "skipUntranslatedStrings", true }, // for XLIFF and PO files should be exported "as is" so set to `false` { "exportAsXliff", !(ext == "xliff" || ext == "xlf" || ext == "po" || ext == "pot") } }))