Skip to content

Commit 81958bc

Browse files
authored
Merge pull request #733 from spinola103/add-translation-ta
add Tamil (ta) localization support
2 parents 002f6f4 + 9a932ed commit 81958bc

File tree

4 files changed

+3575
-3
lines changed

4 files changed

+3575
-3
lines changed

ios/Runner/Info.plist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<string>kn</string>
1414
<string>mr</string>
1515
<string>pa</string>
16+
<string>ta</string>
1617
</array>
1718
<key>CFBundleDisplayName</key>
1819
<string>Resonate</string>

lib/l10n/app_localizations.dart

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import 'app_localizations_hi.dart';
1212
import 'app_localizations_kn.dart';
1313
import 'app_localizations_mr.dart';
1414
import 'app_localizations_pa.dart';
15+
import 'app_localizations_ta.dart';
1516

1617
// ignore_for_file: type=lint
1718

@@ -106,6 +107,7 @@ abstract class AppLocalizations {
106107
Locale('kn'),
107108
Locale('mr'),
108109
Locale('pa'),
110+
Locale('ta'),
109111
];
110112

111113
/// The title of the application.
@@ -1467,7 +1469,7 @@ abstract class AppLocalizations {
14671469
/// Error message when a chosen username is too short.
14681470
///
14691471
/// In en, this message translates to:
1470-
/// **'Username should contain more than 5 characters.'**
1472+
/// **'Username should contain more than 7 characters.'**
14711473
String get usernameCharacterLimit;
14721474

14731475
/// Generic button text for submitting a form.
@@ -2518,17 +2520,29 @@ abstract class AppLocalizations {
25182520
/// **'Are you sure you want to delete this message?'**
25192521
String get deleteMessageContent;
25202522

2521-
/// No description provided for @thisMessageWasDeleted.
2523+
/// Status text shown when a previously sent message has been deleted.
25222524
///
25232525
/// In en, this message translates to:
25242526
/// **'This message was deleted'**
25252527
String get thisMessageWasDeleted;
25262528

2527-
/// No description provided for @failedToDeleteMessage.
2529+
/// Error message shown when the system is unable to delete a message.
25282530
///
25292531
/// In en, this message translates to:
25302532
/// **'Failed to delete message'**
25312533
String get failedToDeleteMessage;
2534+
2535+
/// Validation error displayed when the user enters a username with unsupported characters.
2536+
///
2537+
/// In en, this message translates to:
2538+
/// **'Please enter a valid username. Only letters, numbers, dots, underscores, and hyphens are allowed.'**
2539+
String get usernameInvalidFormat;
2540+
2541+
/// Error shown when the chosen username is unavailable because another user has already registered it.
2542+
///
2543+
/// In en, this message translates to:
2544+
/// **'This username is already taken. Try a different one.'**
2545+
String get usernameAlreadyTaken;
25322546
}
25332547

25342548
class _AppLocalizationsDelegate
@@ -2549,6 +2563,7 @@ class _AppLocalizationsDelegate
25492563
'kn',
25502564
'mr',
25512565
'pa',
2566+
'ta',
25522567
].contains(locale.languageCode);
25532568

25542569
@override
@@ -2572,6 +2587,8 @@ AppLocalizations lookupAppLocalizations(Locale locale) {
25722587
return AppLocalizationsMr();
25732588
case 'pa':
25742589
return AppLocalizationsPa();
2590+
case 'ta':
2591+
return AppLocalizationsTa();
25752592
}
25762593

25772594
throw FlutterError(

0 commit comments

Comments
 (0)