update texts

This commit is contained in:
otsmr 2026-04-29 17:52:04 +02:00
parent 51477e3f51
commit 72e91f7492
5 changed files with 34 additions and 8 deletions

View file

@ -2927,7 +2927,7 @@ abstract class AppLocalizations {
/// No description provided for @userDiscoveryManualApprovalReachedThreshold. /// No description provided for @userDiscoveryManualApprovalReachedThreshold.
/// ///
/// In en, this message translates to: /// In en, this message translates to:
/// **'{username} has reached your threshold and now needs your manual approval to be shared with your friends.'** /// **'Would you like to share {username} with your friends?'**
String userDiscoveryManualApprovalReachedThreshold(Object username); String userDiscoveryManualApprovalReachedThreshold(Object username);
/// No description provided for @userDiscoveryManualApprovalHideContact. /// No description provided for @userDiscoveryManualApprovalHideContact.
@ -2953,6 +2953,18 @@ abstract class AppLocalizations {
/// In en, this message translates to: /// In en, this message translates to:
/// **'You can now share your moments with your friends securely without distractions like ads.'** /// **'You can now share your moments with your friends securely without distractions like ads.'**
String get onboardingSetupCompleteDesc; String get onboardingSetupCompleteDesc;
/// No description provided for @contactUserDiscoveryManualApprovalPending.
///
/// In en, this message translates to:
/// **'Contact was not yet manually approved.'**
String get contactUserDiscoveryManualApprovalPending;
/// No description provided for @contactUserDiscoveryManualApprovalApprove.
///
/// In en, this message translates to:
/// **'Approve'**
String get contactUserDiscoveryManualApprovalApprove;
} }
class _AppLocalizationsDelegate class _AppLocalizationsDelegate

View file

@ -1645,7 +1645,7 @@ class AppLocalizationsDe extends AppLocalizations {
@override @override
String userDiscoveryManualApprovalReachedThreshold(Object username) { String userDiscoveryManualApprovalReachedThreshold(Object username) {
return '$username hat deinen Schwellenwert erreicht und benötigt nur noch eine manuelle Zustimmung, um mit deinen Freunden geteilt zu werden.'; return 'Möchtes du $username mit deinen Freunden teilen?';
} }
@override @override
@ -1662,4 +1662,11 @@ class AppLocalizationsDe extends AppLocalizations {
@override @override
String get onboardingSetupCompleteDesc => String get onboardingSetupCompleteDesc =>
'Du kannst jetzt deine Momente sicher mit deinen Freunden teilen, ohne Ablenkungen wie Werbung.'; 'Du kannst jetzt deine Momente sicher mit deinen Freunden teilen, ohne Ablenkungen wie Werbung.';
@override
String get contactUserDiscoveryManualApprovalPending =>
'Der Kontakt wurde noch nicht manuell freigegeben.';
@override
String get contactUserDiscoveryManualApprovalApprove => 'Freigeben';
} }

View file

@ -1630,7 +1630,7 @@ class AppLocalizationsEn extends AppLocalizations {
@override @override
String userDiscoveryManualApprovalReachedThreshold(Object username) { String userDiscoveryManualApprovalReachedThreshold(Object username) {
return '$username has reached your threshold and now needs your manual approval to be shared with your friends.'; return 'Would you like to share $username with your friends?';
} }
@override @override
@ -1647,4 +1647,11 @@ class AppLocalizationsEn extends AppLocalizations {
@override @override
String get onboardingSetupCompleteDesc => String get onboardingSetupCompleteDesc =>
'You can now share your moments with your friends securely without distractions like ads.'; 'You can now share your moments with your friends securely without distractions like ads.';
@override
String get contactUserDiscoveryManualApprovalPending =>
'Contact was not yet manually approved.';
@override
String get contactUserDiscoveryManualApprovalApprove => 'Approve';
} }

@ -1 +1 @@
Subproject commit b556f4b332d9df274ff07c606d4db3ab0353cc9a Subproject commit 03bf220400bf35002c77e153768bd0f963a97d89

View file

@ -318,9 +318,9 @@ class _ContactViewState extends State<ContactView> {
BetterListTile( BetterListTile(
icon: FontAwesomeIcons.usersViewfinder, icon: FontAwesomeIcons.usersViewfinder,
text: context.lang.userDiscoverySettingsTitle, text: context.lang.userDiscoverySettingsTitle,
subtitle: const Text( subtitle: Text(
'Contact was not yet manual approved.', context.lang.contactUserDiscoveryManualApprovalPending,
style: TextStyle(fontSize: 10), style: const TextStyle(fontSize: 10),
), ),
trailing: TextButton( trailing: TextButton(
onPressed: () async { onPressed: () async {
@ -331,7 +331,7 @@ class _ContactViewState extends State<ContactView> {
), ),
); );
}, },
child: const Text('Approve'), child: Text(context.lang.contactUserDiscoveryManualApprovalApprove),
), ),
) )
else else