You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
425 B
13 lines
425 B
import 'package:core/dependency/index.dart';
|
|
import 'package:core/services/translation.service.dart';
|
|
import 'package:get/get.dart';
|
|
|
|
class AbpTranslations extends Translations {
|
|
AbpTranslations(this._injector);
|
|
final Injector _injector;
|
|
|
|
TranslationService get _translationService => _injector.get<TranslationService>();
|
|
|
|
@override
|
|
Map<String, Map<String, String>> get keys => _translationService.getResources();
|
|
}
|