feat(compiler): add source files to xmb/xliff translations (#14705)
Fixes #14190
This commit is contained in:

committed by
Tobias Bosch

parent
09c4cb2540
commit
4054055d0d
@ -65,8 +65,9 @@ export class Extractor {
|
||||
default:
|
||||
serializer = new compiler.Xliff();
|
||||
}
|
||||
|
||||
return bundle.write(serializer);
|
||||
return bundle.write(
|
||||
serializer,
|
||||
(sourcePath: string) => sourcePath.replace(path.join(this.options.basePath, '/'), ''));
|
||||
}
|
||||
|
||||
getExtension(formatName: string): string {
|
||||
|
Reference in New Issue
Block a user