From 8ccc879ef5ffc149add48935f772d660d4d149dd Mon Sep 17 00:00:00 2001 From: Mathias Mogensen <42929161+Xazin@users.noreply.github.com> Date: Thu, 18 Apr 2024 00:39:34 +0200 Subject: [PATCH] chore: update plugins package version (#5157) --- .../lib/plugins/document/presentation/editor_page.dart | 10 ++++++---- frontend/appflowy_flutter/pubspec.lock | 9 +++++---- frontend/appflowy_flutter/pubspec.yaml | 7 ++++++- frontend/resources/translations/en.json | 7 ++++--- 4 files changed, 21 insertions(+), 12 deletions(-) diff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart index fd4bb61188..cd04f22d14 100644 --- a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart +++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart @@ -34,14 +34,16 @@ import 'package:flutter_bloc/flutter_bloc.dart'; final codeBlockLocalization = CodeBlockLocalizations( codeBlockNewParagraph: LocaleKeys.settings_shortcuts_commands_codeBlockNewParagraph.tr(), - codeBlockAddTwoSpaces: - LocaleKeys.settings_shortcuts_commands_codeBlockAddTwoSpaces.tr(), - codeBlockDeleteTwoSpaces: - LocaleKeys.settings_shortcuts_commands_codeBlockDeleteTwoSpaces.tr(), + codeBlockIndentLines: + LocaleKeys.settings_shortcuts_commands_codeBlockIndentLines.tr(), + codeBlockOutdentLines: + LocaleKeys.settings_shortcuts_commands_codeBlockOutdentLines.tr(), codeBlockSelectAll: LocaleKeys.settings_shortcuts_commands_codeBlockSelectAll.tr(), codeBlockPasteText: LocaleKeys.settings_shortcuts_commands_codeBlockPasteText.tr(), + codeBlockAddTwoSpaces: + LocaleKeys.settings_shortcuts_commands_codeBlockAddTwoSpaces.tr(), ); final localizedCodeBlockCommands = diff --git a/frontend/appflowy_flutter/pubspec.lock b/frontend/appflowy_flutter/pubspec.lock index 497c629321..73f566ead0 100644 --- a/frontend/appflowy_flutter/pubspec.lock +++ b/frontend/appflowy_flutter/pubspec.lock @@ -61,10 +61,11 @@ packages: appflowy_editor_plugins: dependency: "direct main" description: - name: appflowy_editor_plugins - sha256: adfafde707a65ec9674bc3edaa8b8d865e065a08a4f653176d5db0c950521cbb - url: "https://pub.dev" - source: hosted + path: "packages/appflowy_editor_plugins" + ref: "37f35e77" + resolved-ref: "37f35e77aefb1b9a0b872086d156b1b885ba02df" + url: "https://github.com/AppFlowy-IO/appflowy-plugins.git" + source: git version: "0.0.1" appflowy_popover: dependency: "direct main" diff --git a/frontend/appflowy_flutter/pubspec.yaml b/frontend/appflowy_flutter/pubspec.yaml index d91db514a7..cea3b3a5d6 100644 --- a/frontend/appflowy_flutter/pubspec.yaml +++ b/frontend/appflowy_flutter/pubspec.yaml @@ -46,7 +46,12 @@ dependencies: ref: 15a3a50 appflowy_result: path: packages/appflowy_result - appflowy_editor_plugins: ^0.0.1 + appflowy_editor_plugins: + git: + url: https://github.com/AppFlowy-IO/appflowy-plugins.git + path: packages/appflowy_editor_plugins + ref: "37f35e77" + appflowy_editor: appflowy_popover: diff --git a/frontend/resources/translations/en.json b/frontend/resources/translations/en.json index 53850f1d92..d27ac5c99c 100644 --- a/frontend/resources/translations/en.json +++ b/frontend/resources/translations/en.json @@ -523,8 +523,9 @@ "couldNotSaveErrorMsg": "Could not save shortcuts, Try again", "commands": { "codeBlockNewParagraph": "Insert a new paragraph next to the code block", - "codeBlockAddTwoSpaces": "Insert two spaces at the line start in code block", - "codeBlockDeleteTwoSpaces": "Delete two spaces at the line start in code block", + "codeBlockIndentLines": "Insert two spaces at the line start in code block", + "codeBlockOutdentLines": "Delete two spaces at the line start in code block", + "codeBlockAddTwoSpaces": "Insert two spaces at the cursor position in code block", "codeBlockSelectAll": "Select all content inside a code block", "codeBlockPasteText": "Paste text in codeblock", "textAlignLeft": "Align text to the left", @@ -1475,4 +1476,4 @@ "betaTooltip": "We currently only support searching for pages", "fromTrashHint": "From trash" } -} \ No newline at end of file +}