chore: update translations

This commit is contained in:
Lucas.Xu 2024-08-29 21:14:47 +08:00
parent cb2144ba69
commit 4ae06a4dcf
2 changed files with 35 additions and 9 deletions

View File

@ -5,6 +5,7 @@ import 'package:appflowy/mobile/presentation/widgets/widgets.dart';
import 'package:appflowy/shared/af_role_pb_extension.dart';
import 'package:appflowy/workspace/presentation/settings/widgets/members/workspace_member_bloc.dart';
import 'package:appflowy_backend/protobuf/flowy-user/protobuf.dart';
import 'package:appflowy_editor/appflowy_editor.dart';
import 'package:easy_localization/easy_localization.dart';
import 'package:flowy_infra_ui/flowy_infra_ui.dart';
import 'package:flutter/material.dart';
@ -72,10 +73,9 @@ class _MemberItem extends StatelessWidget {
final canDelete = myRole.canDelete && member.email != userProfile.email;
final textColor = member.role.isOwner ? Theme.of(context).hintColor : null;
Widget child = Container(
height: 48,
padding: const EdgeInsets.symmetric(horizontal: 16.0),
child: Row(
Widget child;
if (PlatformExtension.isDesktop) {
child = Row(
children: [
Expanded(
child: FlowyText.medium(
@ -93,7 +93,33 @@ class _MemberItem extends StatelessWidget {
),
),
],
),
);
} else {
child = Row(
children: [
Expanded(
child: FlowyText.medium(
member.name,
color: textColor,
fontSize: 15.0,
overflow: TextOverflow.ellipsis,
),
),
const HSpace(36.0),
FlowyText.medium(
member.role.description,
color: textColor,
fontSize: 15.0,
textAlign: TextAlign.end,
),
],
);
}
child = Container(
height: 48,
padding: const EdgeInsets.symmetric(horizontal: 16.0),
child: child,
);
if (canDelete) {

View File

@ -288,10 +288,10 @@
"minutesAgo": "{count} minutes ago",
"lastViewed": "Last viewed",
"favoriteAt": "Favorited",
"emptyRecent": "No Recent Documents",
"emptyRecentDescription": "As you view documents, they will appear here for easy retrieval",
"emptyFavorite": "No Favorite Documents",
"emptyFavoriteDescription": "Start exploring and mark documents as favorites. Theyll be listed here for quick access!",
"emptyRecent": "No Recent Pages",
"emptyRecentDescription": "As you view pages, they will appear here for easy retrieval.",
"emptyFavorite": "No Favorite Pages",
"emptyFavoriteDescription": "Mark pages as favorites—they'll be listed here for quick access!",
"removePageFromRecent": "Remove this page from the Recent?",
"removeSuccess": "Removed successfully",
"favoriteSpace": "Favorites",