Skip to content

Commit

Permalink
l10n fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
frankmer committed Oct 16, 2024
1 parent 4ba19d5 commit 3a2a899
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions lib/model/extensions/enums/sync_state_extension.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ import '../../enums/sync_state.dart';

extension SyncStateX on SyncState {
String localizedName(AppLocalizations localization) => switch (this) {
SyncState.notStarted => localization.syncStateNotStartedName,
SyncState.syncing => localization.syncStateSyncingName,
SyncState.completed => localization.syncStateCompletedName,
SyncState.failed => localization.syncStateFailedName,
SyncState.notStarted => localization.syncStateNotStartedDescription,
SyncState.syncing => localization.syncStateSyncingDescription,
SyncState.completed => localization.syncStateCompletedDescription,
SyncState.failed => localization.syncStateFailedDescription,
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class _DetailsContainerDialogState extends ConsumerState<DetailsContainerDialog>
@override
Widget build(BuildContext context) {
return DefaultDialog(
title: Text(AppLocalizations.of(context)!.editContainer),
title: Text(AppLocalizations.of(context)!.containerDetails),
content: Column(
mainAxisSize: MainAxisSize.min,
children: [
Expand Down

0 comments on commit 3a2a899

Please sign in to comment.