From a41aa425117ca3e4f41a0c6ceb4a4ad43eea731e Mon Sep 17 00:00:00 2001 From: Atul Varma Date: Tue, 19 May 2020 06:24:31 -0400 Subject: [PATCH] Add 'X-Crowdin-SourceKey: msgstr' header to PO files. (#1459) So #1438 helped us reduce the size of our browser code footprint, but Crowdin didn't like it much, because it presented the message ID as the string to be translated, rather than the English version of the actual string. Fortunately, after talking to Crowdin support, it looks like this is remedied with a simple header on the PO file, which this PR adds. --- locales/en/messages.po | 1 + locales/es/messages.po | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/locales/en/messages.po b/locales/en/messages.po index 3fadf2289..f7ca005cc 100644 --- a/locales/en/messages.po +++ b/locales/en/messages.po @@ -5,6 +5,7 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: @lingui/cli\n" +"X-Crowdin-SourceKey: msgstr\n" "Language: en\n" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" diff --git a/locales/es/messages.po b/locales/es/messages.po index 469df21b5..dbedb6b6a 100644 --- a/locales/es/messages.po +++ b/locales/es/messages.po @@ -5,6 +5,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: @lingui/cli\n" +"X-Crowdin-SourceKey: msgstr\n" "Language: es\n" "Project-Id-Version: tenants2\n" "Report-Msgid-Bugs-To: \n" @@ -1347,4 +1348,3 @@ msgstr "" #: frontend/lib/norent/letter-builder/confirmation.tsx:80 msgid "{stateName} has specific documentation requirements to support your letter to your landlord." msgstr "" -