fixup: remove message.id check from this branch
This commit is contained in:
@ -13,10 +13,6 @@ export function digest(message: i18n.Message): string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function decimalDigest(message: i18n.Message): string {
|
export function decimalDigest(message: i18n.Message): string {
|
||||||
if (message.id) {
|
|
||||||
return message.id;
|
|
||||||
}
|
|
||||||
|
|
||||||
const visitor = new _SerializerIgnoreIcuExpVisitor();
|
const visitor = new _SerializerIgnoreIcuExpVisitor();
|
||||||
const parts = message.nodes.map(a => a.visit(visitor, null));
|
const parts = message.nodes.map(a => a.visit(visitor, null));
|
||||||
return computeMsgId(parts.join(''), message.meaning);
|
return computeMsgId(parts.join(''), message.meaning);
|
||||||
|
Reference in New Issue
Block a user