Merge pull request #59 from aspnetboilerplate/pr/5162
Fix localization getSource TypeScript function to allow multiple format args
This commit is contained in:
Коммит
9275b46d2f
|
@ -15,7 +15,7 @@ export class LocalizationService {
|
|||
return abp.localization.localize(key, sourceName);
|
||||
}
|
||||
|
||||
getSource(sourceName: string): (key: string) => string {
|
||||
getSource(sourceName: string): (...key: string[]) => string {
|
||||
return abp.localization.getSource(sourceName);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче