浏览代码

Fix cases

vishnukvmd 3 年之前
父节点
当前提交
cea9e025a3

+ 2 - 2
lib/ui/app_update_dialog.dart

@@ -157,7 +157,7 @@ class _ApkDownloaderDialogState extends State<ApkDownloaderDialog> {
         actions: [
           TextButton(
             child: Text(
-              "ignore",
+              "Ignore",
               style: TextStyle(
                 color: Colors.white,
               ),
@@ -169,7 +169,7 @@ class _ApkDownloaderDialogState extends State<ApkDownloaderDialog> {
           ),
           TextButton(
             child: Text(
-              "retry",
+              "Retry",
               style: TextStyle(
                 color: Theme.of(context).buttonColor,
               ),

+ 3 - 3
lib/ui/email_entry_page.dart

@@ -460,7 +460,7 @@ class _EmailEntryPageState extends State<EmailEntryPage> {
                           MaterialPageRoute(
                             builder: (BuildContext context) {
                               return WebPage(
-                                "encryption",
+                                "Encryption",
                                 "https://ente.io/architecture",
                               );
                             },
@@ -528,7 +528,7 @@ class PricingWidget extends StatelessWidget {
         mainAxisAlignment: MainAxisAlignment.spaceEvenly,
         children: <Widget>[
           Text(
-            "pricing",
+            "Pricing",
             style: TextStyle(
               fontWeight: FontWeight.bold,
               fontSize: 18,
@@ -561,7 +561,7 @@ class PricingWidget extends StatelessWidget {
                 ),
                 Padding(padding: EdgeInsets.all(1)),
                 Text(
-                  "close",
+                  "Close",
                   style: TextStyle(
                     color: Colors.white38,
                   ),

+ 1 - 1
lib/ui/exif_info_dialog.dart

@@ -34,7 +34,7 @@ class _ExifInfoDialogState extends State<ExifInfoDialog> {
       actions: [
         TextButton(
           child: Text(
-            "close",
+            "Close",
             style: Theme.of(context).textTheme.bodyText1,
           ),
           onPressed: () {

+ 1 - 1
lib/ui/image_editor_page.dart

@@ -403,7 +403,7 @@ class _ImageEditorPageState extends State<ImageEditorPage> {
           SizedBox(
             width: 40,
             child: Text(
-              "color",
+              "Color",
               style: subtitle2.copyWith(
                 color: subtitle2.color.withOpacity(0.8),
               ),

+ 6 - 6
lib/ui/payment/stripe_subscription_page.dart

@@ -376,18 +376,18 @@ class _StripeSubscriptionPageState extends State<StripeSubscriptionPage> {
           var choice = await showChoiceDialog(
             context,
             title,
-            "are you sure you want to renew?",
-            firstAction: "no",
-            secondAction: "yes",
+            "Are you sure you want to renew?",
+            firstAction: "No",
+            secondAction: "Yes",
           );
           confirmAction = choice == DialogUserChoice.secondChoice;
         } else {
           var choice = await showChoiceDialog(
             context,
             title,
-            'are you sure you want to cancel?',
-            firstAction: 'yes, cancel',
-            secondAction: 'no',
+            'Are you sure you want to cancel?',
+            firstAction: 'Yes, cancel',
+            secondAction: 'No',
             actionType: ActionType.critical,
           );
           confirmAction = choice == DialogUserChoice.firstChoice;

+ 1 - 1
lib/ui/recovery_page.dart

@@ -70,7 +70,7 @@ class _RecoveryPageState extends State<RecoveryPage> {
             if (e is AssertionError) {
               errMessage = '$errMessage : ${e.message}';
             }
-            showErrorDialog(context, "incorrect recovery key", errMessage);
+            showErrorDialog(context, "Incorrect recovery key", errMessage);
           }
         },
       ),

+ 1 - 1
lib/ui/settings/info_section_widget.dart

@@ -84,7 +84,7 @@ class InfoSectionWidget extends StatelessWidget {
                     behavior: HitTestBehavior.translucent,
                     onTap: () async {
                       final dialog =
-                          createProgressDialog(context, "checking...");
+                          createProgressDialog(context, "Checking...");
                       await dialog.show();
                       final shouldUpdate =
                           await UpdateService.instance.shouldUpdate();

+ 2 - 2
lib/ui/settings/security_section_widget.dart

@@ -285,7 +285,7 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {
       actions: [
         TextButton(
           child: Text(
-            "no",
+            "No",
             style: TextStyle(
               color: Theme.of(context).buttonColor,
             ),
@@ -296,7 +296,7 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {
         ),
         TextButton(
           child: Text(
-            "yes",
+            "Yes",
             style: TextStyle(
               color: Colors.red,
             ),

+ 1 - 1
lib/ui/settings/support_section_widget.dart

@@ -56,7 +56,7 @@ class SupportSectionWidget extends StatelessWidget {
                   final url = isLoggedIn
                       ? endpoint + "?token=" + Configuration.instance.getToken()
                       : kRoadmapURL;
-                  return WebPage("roadmap", url);
+                  return WebPage("Roadmap", url);
                 },
               ),
             );