refactor: enhance localizations

This commit is contained in:
cogwheel0
2025-08-28 23:46:32 +05:30
parent 6dabd108f9
commit 86d18ee0fb
14 changed files with 788 additions and 353 deletions

View File

@@ -404,43 +404,19 @@ abstract class AppLocalizations {
/// In en, this message translates to:
/// **'Username or Email'**
String get usernameOrEmail;
/// No description provided for @password.
///
/// In en, this message translates to:
/// **'Password'**
String get password;
/// No description provided for @usernameOrEmailHint.
///
/// In en, this message translates to:
/// **'Enter your username or email'**
String get usernameOrEmailHint;
/// No description provided for @passwordHint.
///
/// In en, this message translates to:
/// **'Enter your password'**
String get passwordHint;
/// No description provided for @signInWithApiKey.
///
/// In en, this message translates to:
/// **'Sign in with API Key'**
String get signInWithApiKey;
/// No description provided for @enterApiKey.
///
/// In en, this message translates to:
/// **'Enter your API key'**
String get enterApiKey;
/// No description provided for @signingIn.
///
/// In en, this message translates to:
/// **'Signing in...'**
String get signingIn;
/// No description provided for @connectToServer.
///
/// In en, this message translates to:
@@ -507,84 +483,6 @@ abstract class AppLocalizations {
/// **'Remove header'**
String get removeHeader;
/// No description provided for @advancedSettings.
///
/// In en, this message translates to:
/// **'Advanced Settings'**
String get advancedSettings;
/// No description provided for @customHeaders.
///
/// In en, this message translates to:
/// **'Custom Headers'**
String get customHeaders;
/// No description provided for @customHeadersDescription.
///
/// In en, this message translates to:
/// **'Add custom HTTP headers for authentication, API keys, or special server requirements.'**
String get customHeadersDescription;
/// No description provided for @headerNameEmpty.
///
/// In en, this message translates to:
/// **'Header name cannot be empty'**
String get headerNameEmpty;
/// No description provided for @headerNameTooLong.
///
/// In en, this message translates to:
/// **'Header name too long (max 64 characters)'**
String get headerNameTooLong;
/// No description provided for @headerNameInvalidChars.
///
/// In en, this message translates to:
/// **'Invalid header name. Use only letters, numbers, and these symbols: !#\$&-^_`|~'**
String get headerNameInvalidChars;
/// No description provided for @headerNameReserved.
///
/// In en, this message translates to:
/// **'Cannot override reserved header "{key}"'**
String headerNameReserved(String key);
/// No description provided for @headerValueEmpty.
///
/// In en, this message translates to:
/// **'Header value cannot be empty'**
String get headerValueEmpty;
/// No description provided for @headerValueTooLong.
///
/// In en, this message translates to:
/// **'Header value too long (max 1024 characters)'**
String get headerValueTooLong;
/// No description provided for @headerValueInvalidChars.
///
/// In en, this message translates to:
/// **'Header value contains invalid characters. Use only printable ASCII.'**
String get headerValueInvalidChars;
/// No description provided for @headerValueUnsafe.
///
/// In en, this message translates to:
/// **'Header value appears to contain potentially unsafe content'**
String get headerValueUnsafe;
/// No description provided for @headerAlreadyExists.
///
/// In en, this message translates to:
/// **'Header "{key}" already exists. Remove it first to update.'**
String headerAlreadyExists(String key);
/// No description provided for @maxHeadersReachedDetail.
///
/// In en, this message translates to:
/// **'Maximum of 10 custom headers allowed. Remove some to add more.'**
String get maxHeadersReachedDetail;
/// No description provided for @connecting.
///
/// In en, this message translates to:
@@ -1364,6 +1262,198 @@ abstract class AppLocalizations {
/// In en, this message translates to:
/// **'Create images from your prompts.'**
String get imageGenerationDescription;
/// No description provided for @copy.
///
/// In en, this message translates to:
/// **'Copy'**
String get copy;
/// No description provided for @edit.
///
/// In en, this message translates to:
/// **'Edit'**
String get edit;
/// No description provided for @regenerate.
///
/// In en, this message translates to:
/// **'Regenerate'**
String get regenerate;
/// No description provided for @noConversationsYet.
///
/// In en, this message translates to:
/// **'No conversations yet'**
String get noConversationsYet;
/// No description provided for @usernameOrEmailHint.
///
/// In en, this message translates to:
/// **'Enter your username or email'**
String get usernameOrEmailHint;
/// No description provided for @passwordHint.
///
/// In en, this message translates to:
/// **'Enter your password'**
String get passwordHint;
/// No description provided for @enterApiKey.
///
/// In en, this message translates to:
/// **'Enter your API key'**
String get enterApiKey;
/// No description provided for @signingIn.
///
/// In en, this message translates to:
/// **'Signing in...'**
String get signingIn;
/// No description provided for @advancedSettings.
///
/// In en, this message translates to:
/// **'Advanced Settings'**
String get advancedSettings;
/// No description provided for @customHeaders.
///
/// In en, this message translates to:
/// **'Custom Headers'**
String get customHeaders;
/// No description provided for @customHeadersDescription.
///
/// In en, this message translates to:
/// **'Add custom HTTP headers for authentication, API keys, or special server requirements.'**
String get customHeadersDescription;
/// No description provided for @headerNameEmpty.
///
/// In en, this message translates to:
/// **'Header name cannot be empty'**
String get headerNameEmpty;
/// No description provided for @headerNameTooLong.
///
/// In en, this message translates to:
/// **'Header name too long (max 64 characters)'**
String get headerNameTooLong;
/// No description provided for @headerNameInvalidChars.
///
/// In en, this message translates to:
/// **'Invalid header name. Use only letters, numbers, and these symbols: !#\$&-^_`|~'**
String get headerNameInvalidChars;
/// No description provided for @headerNameReserved.
///
/// In en, this message translates to:
/// **'Cannot override reserved header \"{key}\"'**
String headerNameReserved(String key);
/// No description provided for @headerValueEmpty.
///
/// In en, this message translates to:
/// **'Header value cannot be empty'**
String get headerValueEmpty;
/// No description provided for @headerValueTooLong.
///
/// In en, this message translates to:
/// **'Header value too long (max 1024 characters)'**
String get headerValueTooLong;
/// No description provided for @headerValueInvalidChars.
///
/// In en, this message translates to:
/// **'Header value contains invalid characters. Use only printable ASCII.'**
String get headerValueInvalidChars;
/// No description provided for @headerValueUnsafe.
///
/// In en, this message translates to:
/// **'Header value appears to contain potentially unsafe content'**
String get headerValueUnsafe;
/// No description provided for @headerAlreadyExists.
///
/// In en, this message translates to:
/// **'Header \"{key}\" already exists. Remove it first to update.'**
String headerAlreadyExists(String key);
/// No description provided for @maxHeadersReachedDetail.
///
/// In en, this message translates to:
/// **'Maximum of 10 custom headers allowed. Remove some to add more.'**
String get maxHeadersReachedDetail;
/// No description provided for @editMessage.
///
/// In en, this message translates to:
/// **'Edit Message'**
String get editMessage;
/// No description provided for @noModelsAvailable.
///
/// In en, this message translates to:
/// **'No models available'**
String get noModelsAvailable;
/// No description provided for @followingSystem.
///
/// In en, this message translates to:
/// **'Following system: {theme}'**
String followingSystem(String theme);
/// No description provided for @themeDark.
///
/// In en, this message translates to:
/// **'Dark'**
String get themeDark;
/// No description provided for @themeLight.
///
/// In en, this message translates to:
/// **'Light'**
String get themeLight;
/// No description provided for @currentlyUsingDarkTheme.
///
/// In en, this message translates to:
/// **'Currently using Dark theme'**
String get currentlyUsingDarkTheme;
/// No description provided for @currentlyUsingLightTheme.
///
/// In en, this message translates to:
/// **'Currently using Light theme'**
String get currentlyUsingLightTheme;
/// No description provided for @aboutConduit.
///
/// In en, this message translates to:
/// **'About Conduit'**
String get aboutConduit;
/// No description provided for @versionLabel.
///
/// In en, this message translates to:
/// **'Version: {version} ({build})'**
String versionLabel(String version, String build);
/// No description provided for @githubRepository.
///
/// In en, this message translates to:
/// **'GitHub Repository'**
String get githubRepository;
/// No description provided for @unableToLoadAppInfo.
///
/// In en, this message translates to:
/// **'Unable to load app info'**
String get unableToLoadAppInfo;
}
class _AppLocalizationsDelegate extends LocalizationsDelegate<AppLocalizations> {