Skip to content

Commit

Permalink
Add 'X-Crowdin-SourceKey: msgstr' header to PO files. (#1459)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
toolness authored May 19, 2020
1 parent 2fdd09e commit a41aa42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions locales/en/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion locales/es/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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 ""

0 comments on commit a41aa42

Please sign in to comment.