mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3088] move sorting picker to a separate module (#3396)
* move sorting picker to a separate module * update translation mock
This commit is contained in:
@@ -17,18 +17,20 @@
|
||||
|
||||
import { EventEmitter } from '@angular/core';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { TranslationService } from '../services/translation.service';
|
||||
|
||||
export interface LangChangeEvent {
|
||||
lang: string;
|
||||
translations: any;
|
||||
}
|
||||
|
||||
export class TranslationMock {
|
||||
export class TranslationMock implements TranslationService {
|
||||
|
||||
defaultLang: string = 'en';
|
||||
userLang: string;
|
||||
customLoader: any;
|
||||
translate = {
|
||||
|
||||
translate: any = {
|
||||
onLangChange: new EventEmitter<LangChangeEvent>()
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user