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
@ -17,8 +17,9 @@ import {_extractMessages} from './i18n_parser_spec';
|
||||
export function main(): void {
|
||||
describe('TranslationBundle', () => {
|
||||
const file = new ParseSourceFile('content', 'url');
|
||||
const location = new ParseLocation(file, 0, 0, 0);
|
||||
const span = new ParseSourceSpan(location, null !);
|
||||
const startLocation = new ParseLocation(file, 0, 0, 0);
|
||||
const endLocation = new ParseLocation(file, 0, 0, 7);
|
||||
const span = new ParseSourceSpan(startLocation, endLocation);
|
||||
const srcNode = new i18n.Text('src', span);
|
||||
|
||||
it('should translate a plain message', () => {
|
||||
|
Reference in New Issue
Block a user