From dd036890b26ee81ee3763b2e9c12d218a995b87a Mon Sep 17 00:00:00 2001 From: Aliaksei Tratseuski Date: Wed, 19 Jun 2024 15:20:15 +0400 Subject: [PATCH] fix: l10n assets format fix, whitespace and keyname --- assets/translations/be.json | 2 +- assets/translations/en.json | 16 ++++++++-------- lib/logic/models/console_log.dart | 2 +- lib/ui/pages/more/console/console_page.dart | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/assets/translations/be.json b/assets/translations/be.json index 4c85255b..49972ea9 100644 --- a/assets/translations/be.json +++ b/assets/translations/be.json @@ -250,7 +250,7 @@ "dark_theme_title": "Цёмная тэма", "change_application_theme": "Змяніць каляровую тэму", "language": "Мова", - "click_to_change_locale":"Націсніце, каб адчыніць меню выбару мовы", + "click_to_change_locale": "Націсніце, каб адчыніць меню выбару мовы", "dangerous_settings": "Небяспечныя налады", "reset_config_title": "Скід налад", "reset_config_description": "Скінуць API ключы i суперкарыстальніка." diff --git a/assets/translations/en.json b/assets/translations/en.json index 302cd6fe..9f672acd 100644 --- a/assets/translations/en.json +++ b/assets/translations/en.json @@ -49,16 +49,16 @@ "waiting": "Waiting for initialization…", "copy": "Copy", "copy_raw": "Raw response", - "historyEmpty": "No data yet", - "error":"Error", - "log":"Log", - "rest_api_request":"Rest API Request", - "rest_api_response":"Rest API Response", - "graphql_request":"GraphQL Request", - "graphql_response":"GraphQL Response", + "history_empty": "No data yet", + "error": "Error", + "log": "Log", + "rest_api_request": "Rest API Request", + "rest_api_response": "Rest API Response", + "graphql_request": "GraphQL Request", + "graphql_response": "GraphQL Response", "logged_at": "Logged at", "data": "Data", - "errors":"Errors", + "errors": "Errors", "error_path": "Path", "error_locations": "Locations", "error_extensions": "Extensions", diff --git a/lib/logic/models/console_log.dart b/lib/logic/models/console_log.dart index 91cef018..e928b04c 100644 --- a/lib/logic/models/console_log.dart +++ b/lib/logic/models/console_log.dart @@ -29,7 +29,7 @@ sealed class ConsoleLog { String get content; /// data available for copy in dialog - String? get shareableData => '{"title":"$title",\n' + String? get shareableData => '{"title": "$title",\n' '"timestamp": "$fullUTCString",\n' '"data":{\n$content\n}' '\n}'; diff --git a/lib/ui/pages/more/console/console_page.dart b/lib/ui/pages/more/console/console_page.dart index 95b77d73..e69eb2fe 100644 --- a/lib/ui/pages/more/console/console_page.dart +++ b/lib/ui/pages/more/console/console_page.dart @@ -116,7 +116,7 @@ class _ConsoleViewEmpty extends StatelessWidget { @override Widget build(final BuildContext context) => Align( alignment: Alignment.topCenter, - child: Text('console_page.historyEmpty'.tr()), + child: Text('console_page.history_empty'.tr()), ); }