Update copy
This commit is contained in:
parent
eb1852038a
commit
5494faee30
5 changed files with 12 additions and 10 deletions
2
lib/generated/intl/messages_en.dart
generated
2
lib/generated/intl/messages_en.dart
generated
|
@ -841,6 +841,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"no": MessageLookupByLibrary.simpleMessage("No"),
|
||||
"noAlbumsSharedByYouYet":
|
||||
MessageLookupByLibrary.simpleMessage("No albums shared by you yet"),
|
||||
"noDeviceLimit": MessageLookupByLibrary.simpleMessage("None"),
|
||||
"noDeviceThatCanBeDeleted": MessageLookupByLibrary.simpleMessage(
|
||||
"You\'ve no files on this device that can be deleted"),
|
||||
"noDuplicates": MessageLookupByLibrary.simpleMessage("✨ No duplicates"),
|
||||
|
@ -1295,7 +1296,6 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"unhiding": MessageLookupByLibrary.simpleMessage("Unhiding..."),
|
||||
"unhidingFilesToAlbum":
|
||||
MessageLookupByLibrary.simpleMessage("Unhiding files to album"),
|
||||
"unlimited": MessageLookupByLibrary.simpleMessage("Unlimited"),
|
||||
"unlock": MessageLookupByLibrary.simpleMessage("Unlock"),
|
||||
"unpinAlbum": MessageLookupByLibrary.simpleMessage("Unpin album"),
|
||||
"unselectAll": MessageLookupByLibrary.simpleMessage("Unselect all"),
|
||||
|
|
10
lib/generated/l10n.dart
generated
10
lib/generated/l10n.dart
generated
|
@ -1530,12 +1530,12 @@ class S {
|
|||
);
|
||||
}
|
||||
|
||||
/// `Unlimited`
|
||||
String get unlimited {
|
||||
/// `None`
|
||||
String get noDeviceLimit {
|
||||
return Intl.message(
|
||||
'Unlimited',
|
||||
name: 'unlimited',
|
||||
desc: '',
|
||||
'None',
|
||||
name: 'noDeviceLimit',
|
||||
desc: 'Text to indicate that there is limit on number of devices',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
|
|
@ -189,7 +189,10 @@
|
|||
"disableDownloadWarningBody": "Viewers can still take screenshots or save a copy of your photos using external tools",
|
||||
"allowDownloads": "Allow downloads",
|
||||
"linkDeviceLimit": "Device limit",
|
||||
"unlimited": "Unlimited",
|
||||
"noDeviceLimit": "None",
|
||||
"@noDeviceLimit": {
|
||||
"description": "Text to indicate that there is limit on number of devices"
|
||||
},
|
||||
"linkExpiry": "Link expiry",
|
||||
"linkExpired": "Expired",
|
||||
"linkEnabled": "Enabled",
|
||||
|
|
|
@ -136,7 +136,7 @@ class _ManageSharedLinkWidgetState extends State<ManageSharedLinkWidget> {
|
|||
captionedTextWidget: CaptionedTextWidget(
|
||||
title: S.of(context).linkDeviceLimit,
|
||||
subTitle: url.deviceLimit == 0
|
||||
? S.of(context).unlimited
|
||||
? S.of(context).noDeviceLimit
|
||||
: "${url.deviceLimit}",
|
||||
),
|
||||
trailingIcon: Icons.chevron_right,
|
||||
|
|
|
@ -7,7 +7,6 @@ import 'package:photos/theme/ente_theme.dart';
|
|||
import 'package:photos/ui/components/captioned_text_widget.dart';
|
||||
import 'package:photos/ui/components/divider_widget.dart';
|
||||
import 'package:photos/ui/components/menu_item_widget/menu_item_widget.dart';
|
||||
import 'package:photos/ui/components/menu_section_description_widget.dart';
|
||||
import 'package:photos/ui/components/title_bar_title_widget.dart';
|
||||
import 'package:photos/ui/components/title_bar_widget.dart';
|
||||
import 'package:photos/utils/dialog_util.dart';
|
||||
|
@ -112,7 +111,7 @@ class _ItemsWidgetState extends State<ItemsWidget> {
|
|||
key: ValueKey(deviceLimit),
|
||||
menuItemColor: getEnteColorScheme(context).fillFaint,
|
||||
captionedTextWidget: CaptionedTextWidget(
|
||||
title: deviceLimit == 0 ? S.of(context).unlimited : "$deviceLimit",
|
||||
title: deviceLimit == 0 ? S.of(context).noDeviceLimit : "$deviceLimit",
|
||||
),
|
||||
trailingIcon: currentDeviceLimit == deviceLimit ? Icons.check : null,
|
||||
alignCaptionedTextToLeft: true,
|
||||
|
|
Loading…
Add table
Reference in a new issue