mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: update translations
This commit is contained in:
parent
cb2144ba69
commit
4ae06a4dcf
@ -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) {
|
||||
|
@ -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. They’ll 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",
|
||||
|
Loading…
Reference in New Issue
Block a user