feat(i18n): switch to sha1 for message fingerprinting

This commit is contained in:
Victor Berchet
2016-08-08 12:44:48 -07:00
committed by Alex Rickabaugh
parent dd68ae3ef1
commit b65f66feff
6 changed files with 194 additions and 56 deletions

View File

@ -38,7 +38,7 @@ describe('template i18n extraction output', () => {
<!ELEMENT ex (#PCDATA)>
]>
<messagebundle>
<msg id="5a2858f1" desc="desc" meaning="meaning">translate me</msg>
<msg id="76e1eccb1b772fa9f294ef9c146ea6d0efa8a2d4" desc="desc" meaning="meaning">translate me</msg>
</messagebundle>`;
const xmbOutput = path.join(outDir, 'messages.xmb');