Extract strings
This commit is contained in:
parent
c14e571e55
commit
e64bfafa8f
2
lib/generated/intl/messages_en.dart
generated
2
lib/generated/intl/messages_en.dart
generated
|
@ -554,6 +554,8 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||||
"details": MessageLookupByLibrary.simpleMessage("Details"),
|
"details": MessageLookupByLibrary.simpleMessage("Details"),
|
||||||
"devAccountChanged": MessageLookupByLibrary.simpleMessage(
|
"devAccountChanged": MessageLookupByLibrary.simpleMessage(
|
||||||
"The developer account we use to publish ente on App Store has changed. Because of this, you will need to login again.\n\nOur apologies for the inconvenience, but this was unavoidable."),
|
"The developer account we use to publish ente on App Store has changed. Because of this, you will need to login again.\n\nOur apologies for the inconvenience, but this was unavoidable."),
|
||||||
|
"deviceCodeHint":
|
||||||
|
MessageLookupByLibrary.simpleMessage("Enter the code"),
|
||||||
"deviceFilesAutoUploading": MessageLookupByLibrary.simpleMessage(
|
"deviceFilesAutoUploading": MessageLookupByLibrary.simpleMessage(
|
||||||
"Files added to this device album will automatically get uploaded to ente."),
|
"Files added to this device album will automatically get uploaded to ente."),
|
||||||
"deviceLockExplanation": MessageLookupByLibrary.simpleMessage(
|
"deviceLockExplanation": MessageLookupByLibrary.simpleMessage(
|
||||||
|
|
10
lib/generated/l10n.dart
generated
10
lib/generated/l10n.dart
generated
|
@ -8347,6 +8347,16 @@ class S {
|
||||||
args: [],
|
args: [],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// `Enter the code`
|
||||||
|
String get deviceCodeHint {
|
||||||
|
return Intl.message(
|
||||||
|
'Enter the code',
|
||||||
|
name: 'deviceCodeHint',
|
||||||
|
desc: '',
|
||||||
|
args: [],
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class AppLocalizationDelegate extends LocalizationsDelegate<S> {
|
class AppLocalizationDelegate extends LocalizationsDelegate<S> {
|
||||||
|
|
|
@ -1191,5 +1191,6 @@
|
||||||
"playOnTv": "Play album on TV",
|
"playOnTv": "Play album on TV",
|
||||||
"pair": "Pair",
|
"pair": "Pair",
|
||||||
"deviceNotFound": "Device not found",
|
"deviceNotFound": "Device not found",
|
||||||
"castInstruction": "Visit cast.ente.io on the device you want to pair.\n\nEnter the code below to play the album on your TV."
|
"castInstruction": "Visit cast.ente.io on the device you want to pair.\n\nEnter the code below to play the album on your TV.",
|
||||||
|
"deviceCodeHint": "Enter the code"
|
||||||
}
|
}
|
||||||
|
|
|
@ -832,7 +832,7 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {
|
||||||
body: S.of(context).castInstruction,
|
body: S.of(context).castInstruction,
|
||||||
submitButtonLabel: S.of(context).pair,
|
submitButtonLabel: S.of(context).pair,
|
||||||
textInputType: TextInputType.streetAddress,
|
textInputType: TextInputType.streetAddress,
|
||||||
hintText: "Enter the code",
|
hintText: context.l10n.deviceCodeHint,
|
||||||
onSubmit: (String text) async {
|
onSubmit: (String text) async {
|
||||||
try {
|
try {
|
||||||
String code = text.trim();
|
String code = text.trim();
|
||||||
|
|
Loading…
Reference in a new issue