fixed localizations issues

changed application name
updated svg icons
This commit is contained in:
2024-12-16 22:59:15 +04:00
parent a676d454ca
commit 04120c4847
26 changed files with 212 additions and 414 deletions

View File

@@ -95,89 +95,53 @@ abstract class AppLocale {
Locale('ru')
];
/// No description provided for @appBarTitle.
/// No description provided for @mainAppBarTitle.
///
/// In ru, this message translates to:
/// **'Персонажи из Гарри Поттера'**
String get appBarTitle;
/// In en, this message translates to:
/// **'Cryptocurrency Exchange'**
String get mainAppBarTitle;
/// No description provided for @search.
/// No description provided for @detailsPageAppBarTitle.
///
/// In ru, this message translates to:
/// **'Поиск'**
String get search;
/// In en, this message translates to:
/// **'Cryptocurrency info'**
String get detailsPageAppBarTitle;
/// No description provided for @liked.
/// No description provided for @settingsPageAppBarTitle.
///
/// In ru, this message translates to:
/// **'Вы добавили в избранное'**
String get liked;
/// In en, this message translates to:
/// **'Settings'**
String get settingsPageAppBarTitle;
/// No description provided for @unliked.
/// No description provided for @searchHint.
///
/// In ru, this message translates to:
/// **'Вы удалили из избранного'**
String get unliked;
/// In en, this message translates to:
/// **'Search'**
String get searchHint;
/// No description provided for @errorOccured.
/// No description provided for @addedToFavourite.
///
/// In ru, this message translates to:
/// **'Произошла ошибка'**
String get errorOccured;
/// In en, this message translates to:
/// **'is added to favourites'**
String get addedToFavourite;
/// No description provided for @noErrorMsg.
/// No description provided for @removedFromFavourite.
///
/// In ru, this message translates to:
/// **'Нет сообщения'**
String get noErrorMsg;
/// In en, this message translates to:
/// **'is removed from favourites'**
String get removedFromFavourite;
/// No description provided for @retry.
/// No description provided for @coinDataPriceChange.
///
/// In ru, this message translates to:
/// **'Повторить'**
String get retry;
/// In en, this message translates to:
/// **'for the last 24 hours'**
String get coinDataPriceChange;
/// No description provided for @unknown.
/// No description provided for @settingsLanguage.
///
/// In ru, this message translates to:
/// **'Неизвестно'**
String get unknown;
/// No description provided for @apiYear.
///
/// In ru, this message translates to:
/// **'Год'**
String get apiYear;
/// No description provided for @apiType.
///
/// In ru, this message translates to:
/// **'Тип'**
String get apiType;
/// No description provided for @apiRating.
///
/// In ru, this message translates to:
/// **'Рейтинг'**
String get apiRating;
/// No description provided for @apiDesc.
///
/// In ru, this message translates to:
/// **'(Описание доступно только на английском языке)'**
String get apiDesc;
/// No description provided for @apiNoDesc.
///
/// In ru, this message translates to:
/// **'Нет описания'**
String get apiNoDesc;
/// No description provided for @arbEnding.
///
/// In ru, this message translates to:
/// **'t'**
String get arbEnding;
/// In en, this message translates to:
/// **'Language'**
String get settingsLanguage;
}
class _AppLocaleDelegate extends LocalizationsDelegate<AppLocale> {

View File

@@ -7,44 +7,26 @@ class AppLocaleEn extends AppLocale {
AppLocaleEn([String locale = 'en']) : super(locale);
@override
String get appBarTitle => 'Harry Potter characters';
String get mainAppBarTitle => 'Cryptocurrency Exchange';
@override
String get search => 'Search';
String get detailsPageAppBarTitle => 'Cryptocurrency info';
@override
String get liked => 'You liked';
String get settingsPageAppBarTitle => 'Settings';
@override
String get unliked => 'Like removed from';
String get searchHint => 'Search';
@override
String get errorOccured => 'Произошла ошибка';
String get addedToFavourite => 'is added to favourites';
@override
String get noErrorMsg => 'No message provided';
String get removedFromFavourite => 'is removed from favourites';
@override
String get retry => 'Retry';
String get coinDataPriceChange => 'for the last 24 hours';
@override
String get unknown => 'Unknown';
@override
String get apiYear => 'Year';
@override
String get apiType => 'Type';
@override
String get apiRating => 'Rating';
@override
String get apiDesc => '';
@override
String get apiNoDesc => 'No description provided';
@override
String get arbEnding => 't';
String get settingsLanguage => 'Language';
}

View File

@@ -7,44 +7,26 @@ class AppLocaleRu extends AppLocale {
AppLocaleRu([String locale = 'ru']) : super(locale);
@override
String get appBarTitle => 'Персонажи из Гарри Поттера';
String get mainAppBarTitle => 'Криптобиржа';
@override
String get search => 'Поиск';
String get detailsPageAppBarTitle => 'Сведения о валюте';
@override
String get liked => 'Вы добавили в избранное';
String get settingsPageAppBarTitle => 'Настройки';
@override
String get unliked => 'Вы удалили из избранного';
String get searchHint => 'Поиск';
@override
String get errorOccured => 'Произошла ошибка';
String get addedToFavourite => 'добавлен в избранное';
@override
String get noErrorMsg => 'Нет сообщения';
String get removedFromFavourite => 'удален из избранного';
@override
String get retry => 'Повторить';
String get coinDataPriceChange => 'за последние 24 часа';
@override
String get unknown => 'Неизвестно';
@override
String get apiYear => 'Год';
@override
String get apiType => 'Тип';
@override
String get apiRating => 'Рейтинг';
@override
String get apiDesc => '(Описание доступно только на английском языке)';
@override
String get apiNoDesc => 'Нет описания';
@override
String get arbEnding => 't';
String get settingsLanguage => 'Язык';
}