diff --git a/ui/flutter/lib/l10n/app_en.arb b/ui/flutter/lib/l10n/app_en.arb index ba46fd44..0cb61f11 100644 --- a/ui/flutter/lib/l10n/app_en.arb +++ b/ui/flutter/lib/l10n/app_en.arb @@ -106,7 +106,7 @@ "add": "Add", "edit": "Edit", "newVersionTitle": "Discover new version @version", - "newVersionUpdate": "Update Now", + "newVersionUpdate": "Update", "newVersionLater": "Later", "extensions": "Extensions", "extensionInstallUrl": "Install URL", diff --git a/ui/flutter/lib/l10n/app_zh.arb b/ui/flutter/lib/l10n/app_zh.arb index 6e724adc..6d4e91fc 100644 --- a/ui/flutter/lib/l10n/app_zh.arb +++ b/ui/flutter/lib/l10n/app_zh.arb @@ -99,7 +99,7 @@ "add": "添加", "edit": "编辑", "newVersionTitle": "发现新版本 @version", - "newVersionUpdate": "立即更新", + "newVersionUpdate": "更新", "newVersionLater": "稍后再说", "extensions": "扩展", "extensionInstallUrl": "安装链接", diff --git a/ui/flutter/test/widget_test.dart b/ui/flutter/test/widget_test.dart index 9b8ec608..0d2c3fee 100644 --- a/ui/flutter/test/widget_test.dart +++ b/ui/flutter/test/widget_test.dart @@ -2329,7 +2329,7 @@ void main() { final progress = find.descendant(of: updateButton, matching: find.byType(shad.CircularProgressIndicator)); expect(progress, findsOneWidget); expect(tester.getSize(progress), const Size.square(14)); - expect(find.descendant(of: updateButton, matching: find.text('Update Now')), findsOneWidget); + expect(find.descendant(of: updateButton, matching: find.text('Update')), findsOneWidget); runtimeController.completeTrackerUpdate(); await tester.pumpAndSettle();