|
@@ -317,20 +317,20 @@ class _ScrollableImageListState extends State<ScrollableImageList> {
|
|
|
return description;
|
|
|
}
|
|
|
|
|
|
- /// 设置翻译值
|
|
|
- String _setLanguageValue(String code) {
|
|
|
+ /// 获取翻译值
|
|
|
+ String _getLanguageValue(String code) {
|
|
|
return measureLanguage.t('application', code);
|
|
|
}
|
|
|
|
|
|
String _getDescription(String application, String applicationCategory) {
|
|
|
String description = '';
|
|
|
if ([application, applicationCategory].contains('FromSonopost')) {
|
|
|
- description = _setLanguageValue('FromSonopost');
|
|
|
+ description = _getLanguageValue('FromSonopost');
|
|
|
} else {
|
|
|
if (application.isNotEmpty || applicationCategory.isNotEmpty) {
|
|
|
- description = _setLanguageValue(applicationCategory) +
|
|
|
+ description = _getLanguageValue(applicationCategory) +
|
|
|
"-" +
|
|
|
- _setLanguageValue(application);
|
|
|
+ _getLanguageValue(application);
|
|
|
} else {
|
|
|
description = '';
|
|
|
}
|