l10n: Extract strings
This commit is contained in:
parent
ff93db2729
commit
c31c8554e0
4
lib/generated/intl/messages_en.dart
generated
4
lib/generated/intl/messages_en.dart
generated
|
@ -1053,6 +1053,9 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"Sorry, we could not generate secure keys on this device.\n\nplease sign up from a different device."),
|
||||
"sparkleSuccess": MessageLookupByLibrary.simpleMessage("✨ Success"),
|
||||
"startBackup": MessageLookupByLibrary.simpleMessage("Start backup"),
|
||||
"storage": MessageLookupByLibrary.simpleMessage("Storage"),
|
||||
"storageBreakupFamily": MessageLookupByLibrary.simpleMessage("Family"),
|
||||
"storageBreakupYou": MessageLookupByLibrary.simpleMessage("You"),
|
||||
"storageInGB": m32,
|
||||
"storageLimitExceeded":
|
||||
MessageLookupByLibrary.simpleMessage("Storage limit exceeded"),
|
||||
|
@ -1174,6 +1177,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
MessageLookupByLibrary.simpleMessage("Use recovery key"),
|
||||
"useSelectedPhoto":
|
||||
MessageLookupByLibrary.simpleMessage("Use selected photo"),
|
||||
"usedSpace": MessageLookupByLibrary.simpleMessage("Used space"),
|
||||
"verificationFailedPleaseTryAgain":
|
||||
MessageLookupByLibrary.simpleMessage(
|
||||
"Verification failed, please try again"),
|
||||
|
|
41
lib/generated/l10n.dart
generated
41
lib/generated/l10n.dart
generated
|
@ -6832,6 +6832,47 @@ class S {
|
|||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Storage`
|
||||
String get storage {
|
||||
return Intl.message(
|
||||
'Storage',
|
||||
name: 'storage',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Used space`
|
||||
String get usedSpace {
|
||||
return Intl.message(
|
||||
'Used space',
|
||||
name: 'usedSpace',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Family`
|
||||
String get storageBreakupFamily {
|
||||
return Intl.message(
|
||||
'Family',
|
||||
name: 'storageBreakupFamily',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `You`
|
||||
String get storageBreakupYou {
|
||||
return Intl.message(
|
||||
'You',
|
||||
name: 'storageBreakupYou',
|
||||
desc:
|
||||
'Label to indicate how much storage you are using when you are part of a family plan',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
class AppLocalizationDelegate extends LocalizationsDelegate<S> {
|
||||
|
|
|
@ -950,5 +950,12 @@
|
|||
"description": "Unit for distance in km"
|
||||
},
|
||||
"dayToday": "Today",
|
||||
"dayYesterday": "Yesterday"
|
||||
"dayYesterday": "Yesterday",
|
||||
"storage": "Storage",
|
||||
"usedSpace": "Used space",
|
||||
"storageBreakupFamily": "Family",
|
||||
"storageBreakupYou": "You",
|
||||
"@storageBreakupYou": {
|
||||
"description": "Label to indicate how much storage you are using when you are part of a family plan"
|
||||
}
|
||||
}
|
|
@ -3,6 +3,7 @@ import 'dart:math';
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:logging/logging.dart';
|
||||
import 'package:photos/core/constants.dart';
|
||||
import "package:photos/generated/l10n.dart";
|
||||
import 'package:photos/models/user_details.dart';
|
||||
import 'package:photos/states/user_details_state.dart';
|
||||
import 'package:photos/theme/colors.dart';
|
||||
|
@ -154,7 +155,9 @@ class _StorageCardWidgetState extends State<StorageCardWidget> {
|
|||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
isMobileScreenSmall ? "Used space" : "Storage",
|
||||
isMobileScreenSmall
|
||||
? S.of(context).usedSpace
|
||||
: S.of(context).storage,
|
||||
style: getEnteTextTheme(context)
|
||||
.small
|
||||
.copyWith(color: textMutedDark),
|
||||
|
@ -227,7 +230,7 @@ class _StorageCardWidgetState extends State<StorageCardWidget> {
|
|||
),
|
||||
const SizedBox(width: 4),
|
||||
Text(
|
||||
"You",
|
||||
S.of(context).storageBreakupYou,
|
||||
style: getEnteTextTheme(context)
|
||||
.miniBold
|
||||
.copyWith(color: textBaseDark),
|
||||
|
@ -243,7 +246,7 @@ class _StorageCardWidgetState extends State<StorageCardWidget> {
|
|||
),
|
||||
const SizedBox(width: 4),
|
||||
Text(
|
||||
"Family",
|
||||
S.of(context).storageBreakupFamily,
|
||||
style: getEnteTextTheme(context)
|
||||
.miniBold
|
||||
.copyWith(color: textBaseDark),
|
||||
|
|
Loading…
Reference in a new issue