Extracted string
This commit is contained in:
parent
0420e50515
commit
4e4777ce8b
2
lib/generated/intl/messages_en.dart
generated
2
lib/generated/intl/messages_en.dart
generated
|
@ -562,6 +562,8 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"enteCanEncryptAndPreserveFilesOnlyIfYouGrant":
|
||||
MessageLookupByLibrary.simpleMessage(
|
||||
"ente can encrypt and preserve files only if you grant access to them"),
|
||||
"entePhotosPerm": MessageLookupByLibrary.simpleMessage(
|
||||
"ente <i>needs permission to</i> preserve your photos"),
|
||||
"enteSubscriptionPitch": MessageLookupByLibrary.simpleMessage(
|
||||
"ente preserves your memories, so they\'re always available to you, even if you lose your device."),
|
||||
"enteSubscriptionShareWithFamily": MessageLookupByLibrary.simpleMessage(
|
||||
|
|
10
lib/generated/l10n.dart
generated
10
lib/generated/l10n.dart
generated
|
@ -300,6 +300,16 @@ class S {
|
|||
);
|
||||
}
|
||||
|
||||
/// `ente <i>needs permission to</i> preserve your photos`
|
||||
String get entePhotosPerm {
|
||||
return Intl.message(
|
||||
'ente <i>needs permission to</i> preserve your photos',
|
||||
name: 'entePhotosPerm',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Ok`
|
||||
String get ok {
|
||||
return Intl.message(
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
"sendEmail": "Send email",
|
||||
"deleteRequestSLAText": "Your request will be processed within 72 hours.",
|
||||
"deleteEmailRequest": "Please send an email to <warning>account-deletion@ente.io</warning> from your registered email address.",
|
||||
"entePhotosPerm": "ente <i>needs permission to</i> preserve your photos",
|
||||
"ok": "Ok",
|
||||
"createAccount": "Create account",
|
||||
"createNewAccount": "Create new account",
|
||||
|
|
|
@ -4,6 +4,7 @@ import 'package:flutter/material.dart';
|
|||
import 'package:photo_manager/photo_manager.dart';
|
||||
import "package:photos/generated/l10n.dart";
|
||||
import 'package:photos/services/sync_service.dart';
|
||||
import "package:styled_text/styled_text.dart";
|
||||
|
||||
class GrantPermissionsWidget extends StatelessWidget {
|
||||
const GrantPermissionsWidget({Key? key}) : super(key: key);
|
||||
|
@ -49,24 +50,20 @@ class GrantPermissionsWidget extends StatelessWidget {
|
|||
const SizedBox(height: 36),
|
||||
Padding(
|
||||
padding: const EdgeInsets.fromLTRB(40, 0, 40, 0),
|
||||
child: RichText(
|
||||
text: TextSpan(
|
||||
style: Theme.of(context)
|
||||
.textTheme
|
||||
.headlineSmall!
|
||||
.copyWith(fontWeight: FontWeight.w700),
|
||||
children: [
|
||||
const TextSpan(text: 'ente '),
|
||||
TextSpan(
|
||||
text: "needs permission to ",
|
||||
style: Theme.of(context)
|
||||
.textTheme
|
||||
.headlineSmall!
|
||||
.copyWith(fontWeight: FontWeight.w400),
|
||||
),
|
||||
const TextSpan(text: 'preserve your photos'),
|
||||
],
|
||||
),
|
||||
child: StyledText(
|
||||
text: S.of(context).entePhotosPerm,
|
||||
style: Theme.of(context)
|
||||
.textTheme
|
||||
.headlineSmall!
|
||||
.copyWith(fontWeight: FontWeight.w700),
|
||||
tags: {
|
||||
'i': StyledTextTag(
|
||||
style: Theme.of(context)
|
||||
.textTheme
|
||||
.headlineSmall!
|
||||
.copyWith(fontWeight: FontWeight.w400),
|
||||
),
|
||||
},
|
||||
),
|
||||
),
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue