chore: update text for folder storage (#1590)

This commit is contained in:
Annie 2022-12-20 20:33:41 +08:00 committed by GitHub
parent 45c73a20c2
commit 3f00e78508
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 14 deletions

View File

@ -4,7 +4,7 @@
"welcomeText": "Welcome to @:appName",
"githubStarText": "Star on GitHub",
"subscribeNewsletterText": "Subscribe to Newsletter",
"letsGoButtonText": "Let's Go",
"letsGoButtonText": "Quick Start",
"title": "Title",
"signUp": {
"buttonText": "Sign Up",
@ -167,24 +167,25 @@
}
},
"files": {
"defaultLocation": "Default location for new notes",
"defaultLocation": "Where your data is stored now",
"doubleTapToCopy": "Double tap to copy the path",
"restoreLocation": "Restore to default location",
"customizeLocation": "Customize location",
"restoreLocation": "Restore to AppFlowy default path",
"customizeLocation": "Open another folder",
"restartApp": "Please restart app for the changes to take effect.",
"exportDatabase": "Export databae",
"selectFiles": "Select the files that need to be export",
"createNewFolder": "Create a new folder",
"createNewFolderDesc": "Create a new folder ...",
"createNewFolderDesc": "Tell us where you want to store your data ...",
"open": "Open",
"openFolder": "Open folder",
"openFolderDesc": "Open folder ...",
"openFolder": "Open an existing folder",
"openFolderDesc": "Read and write it to your existing AppFlowy folder ...",
"folderHintText": "folder name",
"location": "Location",
"locationDesc": "Pick a name for your location",
"browser": "Browser",
"create": "create",
"locationCannotBeEmpty": "Location cannot be empty"
"location": "Creating a new folder",
"locationDesc": "Pick a name for your AppFlowy data folder",
"browser": "Browse",
"create": "Create",
"folderPath": "Path to store your folder",
"locationCannotBeEmpty": "Path cannot be empty"
}
},
"grid": {

View File

@ -191,7 +191,7 @@ class CreateFolderWidgetState extends State<CreateFolderWidget> {
),
Card(
child: ListTile(
title: FlowyText.medium(LocaleKeys.settings_files_location.tr()),
title: FlowyText.medium(LocaleKeys.settings_files_folderPath.tr()),
subtitle: FlowyText.regular(_path),
trailing: _buildTextButton(
context, LocaleKeys.settings_files_browser.tr(), () async {
@ -205,7 +205,8 @@ class CreateFolderWidgetState extends State<CreateFolderWidget> {
),
),
Card(
child: _buildTextButton(context, 'create', () async {
child: _buildTextButton(
context, LocaleKeys.settings_files_create.tr(), () async {
if (_path.isEmpty) {
_showToast(LocaleKeys.settings_files_locationCannotBeEmpty.tr());
} else {