Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
locale fix (#1195)
Syeerzyc11a00a380c6
diff --git a/frontend/app_flowy/assets/translations/en.json b/frontend/app_flowy/assets/translations/en.jsonindex cd7932945b..2381d5b288 100644--- a/frontend/app_flowy/assets/translations/en.json+++ b/frontend/app_flowy/assets/translations/en.json@@ -199,7 +199,8 @@"delete": "Delete","textPlaceholder": "Empty","copyProperty": "Copied property to clipboard",- "count": "Count"+ "count": "Count",+ "newRow": "New row"},"selectOption": {"create": "Create",@@ -231,4 +232,4 @@"create_new_card": "New"}}-}\ No newline at end of file+}diff --git a/frontend/app_flowy/assets/translations/zh-CN.json b/frontend/app_flowy/assets/translations/zh-CN.jsonindex f5fee6ab23..6271d138cd 100644--- a/frontend/app_flowy/assets/translations/zh-CN.json+++ b/frontend/app_flowy/assets/translations/zh-CN.json@@ -94,7 +94,14 @@},"tooltip": {"lightMode": "切换到亮色模式",- "darkMode": "切换到暗色模式"+ "darkMode": "切换到暗色模式",+ "openAsPage": "作为页面打开",+ "addNewRow": "增加一行",+ "openMenu": "点击打开菜单"+ },+ "sideBar": {+ "openSidebar": "打开侧边栏",+ "closeSidebar": "关闭侧边栏"},"notifications": {"export": {@@ -149,15 +156,12 @@"darkLabel": "夜间模式"}},- "sideBar": {- "openSidebar": "打开侧边栏",- "closeSidebar": "关闭侧边栏"- },"grid": {"settings": {"filter": "过滤器","sortBy": "排序",- "Properties": "属性"+ "Properties": "属性",+ "group": "组"},"field": {"hide": "隐藏",@@ -186,13 +190,17 @@"addSelectOption": "添加一个标签","optionTitle": "标签","addOption": "添加标签",- "editProperty": "编辑列属性"+ "editProperty": "编辑列属性",+ "newColumn": "增加一列",+ "deleteFieldPromptMessage": "确定要删除这个属性吗? "},"row": {"duplicate": "复制","delete": "删除","textPlaceholder": "空",- "copyProperty": "复制列"+ "copyProperty": "复制列",+ "count": "数量",+ "newRow": "添加一行"},"selectOption": {"create": "新建",@@ -218,5 +226,11 @@"timeHintTextInTwelveHour": "01:00 PM","timeHintTextInTwentyFourHour": "13:00"}+ },+ "board": {+ "column": {+ "create_new_card": "新建"+ },+ "menuName": "看板"}}\ No newline at end of filediff --git a/frontend/app_flowy/lib/plugins/grid/presentation/widgets/footer/grid_footer.dart b/frontend/app_flowy/lib/plugins/grid/presentation/widgets/footer/grid_footer.dartindex 27d6a59cd6..338ada57fe 100755--- a/frontend/app_flowy/lib/plugins/grid/presentation/widgets/footer/grid_footer.dart+++ b/frontend/app_flowy/lib/plugins/grid/presentation/widgets/footer/grid_footer.dart@@ -1,4 +1,6 @@+import 'package:app_flowy/generated/locale_keys.g.dart';import 'package:app_flowy/plugins/grid/application/grid_bloc.dart';+import 'package:easy_localization/easy_localization.dart';import 'package:flowy_infra/image.dart';import 'package:flowy_infra/theme.dart';import 'package:flowy_infra_ui/style_widget/button.dart';@@ -13,7 +15,7 @@ class GridAddRowButton extends StatelessWidget {Widget build(BuildContext context) {final theme = context.watch<AppTheme>();return FlowyButton(- text: const FlowyText.medium('New row', fontSize: 12),+ text: FlowyText.medium(LocaleKeys.grid_row_newRow.tr(), fontSize: 12),hoverColor: theme.shader6,onTap: () => context.read<GridBloc>().add(const GridEvent.createRow()),leftIcon: svgWidget("home/add", color: theme.iconColor),