From 981e3866d33976dfd92758b7c525ea97f471fc7f Mon Sep 17 00:00:00 2001 From: vishnukvmd Date: Wed, 6 Mar 2024 20:47:52 +0530 Subject: [PATCH] Extract string --- auth/lib/l10n/arb/app_en.arb | 1 + auth/lib/ui/settings/developer_settings_page.dart | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/auth/lib/l10n/arb/app_en.arb b/auth/lib/l10n/arb/app_en.arb index e3037fee4..d01e657b4 100644 --- a/auth/lib/l10n/arb/app_en.arb +++ b/auth/lib/l10n/arb/app_en.arb @@ -412,6 +412,7 @@ "developerMode":"Developer mode", "developerModeWarning":"Are you sure that you want to modify Developer settings?", "developerSettings": "Developer settings", + "serverEndpoint": "Server endpoint", "invalidURL": "Invalid URL", "invalidURLMessage": "Sorry, the URL you entered is invalid. Please enter a valid URL and try again.", "endpointUpdatedMessage": "Endpoint updated successfully" diff --git a/auth/lib/ui/settings/developer_settings_page.dart b/auth/lib/ui/settings/developer_settings_page.dart index 0b11a30c1..4b4a76397 100644 --- a/auth/lib/ui/settings/developer_settings_page.dart +++ b/auth/lib/ui/settings/developer_settings_page.dart @@ -39,7 +39,7 @@ class _DeveloperSettingsPageState extends State { TextField( controller: _urlController, decoration: InputDecoration( - labelText: 'Server Endpoint', + labelText: context.l10n.serverEndpoint, hintText: Configuration.instance.getHttpEndpoint(), ), autofocus: true,