Skip to content

Commit a8f6600

Browse files
committed
Fix bug with scope
1 parent dfcaa79 commit a8f6600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default function () {
4242
// temporarily store messages
4343
definitions.get('properties').forEach((definition) => {
4444
const messages = state.file.get('translations');
45-
const id = `${getValue(scope.get('value'))}.${getKey(definition.get('key'))}`;
45+
const id = `${getValue(scope)}.${getKey(definition.get('key'))}`;
4646
const defaultMessage = getValue(definition.get('value'));
4747

4848
messages.set(id, {

0 commit comments

Comments
 (0)