Last change
on this file since 6a80231 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
809 bytes
|
Line | |
---|
1 | /**
|
---|
2 | * @license
|
---|
3 | * Copyright Google LLC All Rights Reserved.
|
---|
4 | *
|
---|
5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
6 | * found in the LICENSE file at https://angular.io/license
|
---|
7 | */
|
---|
8 | import * as i18n from '../i18n_ast';
|
---|
9 | import { PlaceholderMapper, Serializer } from './serializer';
|
---|
10 | export declare class Xmb extends Serializer {
|
---|
11 | write(messages: i18n.Message[], locale: string | null): string;
|
---|
12 | load(content: string, url: string): {
|
---|
13 | locale: string;
|
---|
14 | i18nNodesByMsgId: {
|
---|
15 | [msgId: string]: i18n.Node[];
|
---|
16 | };
|
---|
17 | };
|
---|
18 | digest(message: i18n.Message): string;
|
---|
19 | createNameMapper(message: i18n.Message): PlaceholderMapper;
|
---|
20 | }
|
---|
21 | export declare function digest(message: i18n.Message): string;
|
---|
22 | export declare function toPublicName(internalName: string): string;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.