all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: "Michael Köppl" <m.koeppl@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH flutter_frontend v2 1/2] fix typos
Date: Fri,  9 May 2025 10:31:18 +0200	[thread overview]
Message-ID: <20250509083120.40047-1-m.koeppl@proxmox.com> (raw)

Signed-off-by: Michael Köppl <m.koeppl@proxmox.com>
---
 README.md                                        | 2 +-
 lib/pages/main_layout_slim.dart                  | 2 +-
 lib/widgets/pve_console_menu_widget.dart         | 2 +-
 lib/widgets/pve_guest_overview_header.dart       | 4 ++--
 lib/widgets/pve_node_overview.dart               | 2 +-
 lib/widgets/pve_resource_status_chip_widget.dart | 2 +-
 lib/widgets/pve_rrd_chart_widget.dart            | 6 +++---
 7 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/README.md b/README.md
index b395a3a..c910ad9 100644
--- a/README.md
+++ b/README.md
@@ -95,7 +95,7 @@ $ flutter run -d chrome --web-port=35000
 
 
 NOTE: without setting a fixed port flutter uses a random one, as chrome binds
- certificate expections and local browser storage to a (protocol, host, port)
+ certificate exceptions and local browser storage to a (protocol, host, port)
  tuple, this means that we'd lose all saved settings etc. every time else
 
 ### Use reverse proxy to allow connections to PVE and the App over the same port
diff --git a/lib/pages/main_layout_slim.dart b/lib/pages/main_layout_slim.dart
index ac5a6f9..77cff52 100644
--- a/lib/pages/main_layout_slim.dart
+++ b/lib/pages/main_layout_slim.dart
@@ -622,7 +622,7 @@ class MobileResourceOverview extends StatelessWidget {
               itemBuilder: (context, index) {
                 final resource = fResources[index];
                 StatelessWidget listWidget = const ListTile(
-                  title: Text('Unkown resource type'),
+                  title: Text('Unknown resource type'),
                 );
                 if (const ['lxc', 'qemu'].contains(resource.type)) {
                   listWidget = PveGuestListTile(resource: resource);
diff --git a/lib/widgets/pve_console_menu_widget.dart b/lib/widgets/pve_console_menu_widget.dart
index f4bd8d3..cd8c314 100644
--- a/lib/widgets/pve_console_menu_widget.dart
+++ b/lib/widgets/pve_console_menu_widget.dart
@@ -308,7 +308,7 @@ class PVEWebConsoleState extends State<PVEWebConsole> {
             // prevent back button from canceling this callback
             canPop: false,
             child: AlertDialog(
-                title: const Text('An TLS error has occurred:'),
+                title: const Text('A TLS error has occurred:'),
                 content: Column(
                   crossAxisAlignment: CrossAxisAlignment.start,
                   mainAxisSize: MainAxisSize.min,
diff --git a/lib/widgets/pve_guest_overview_header.dart b/lib/widgets/pve_guest_overview_header.dart
index 1429ac1..d9cc637 100644
--- a/lib/widgets/pve_guest_overview_header.dart
+++ b/lib/widgets/pve_guest_overview_header.dart
@@ -197,7 +197,7 @@ class _PveGuestHeaderRRDPageViewState extends State<PveGuestHeaderRRDPageView> {
                   child: PveRRDChart(
                     titlePadding: const EdgeInsets.only(bottom: 80),
                     titleWidth: 150,
-                    titleAlginment: CrossAxisAlignment.end,
+                    titleAlignment: CrossAxisAlignment.end,
                     title: 'CPU (${rrdData.last.maxcpu ?? '-'})',
                     subtitle: "${(rrdData.last.cpu ?? 0).toStringAsFixed(2)}%",
                     data: rrdData.where((e) => e.cpu != null).map(
@@ -212,7 +212,7 @@ class _PveGuestHeaderRRDPageViewState extends State<PveGuestHeaderRRDPageView> {
                   child: PveRRDChart(
                     titlePadding: const EdgeInsets.only(bottom: 80),
                     titleWidth: 200,
-                    titleAlginment: CrossAxisAlignment.end,
+                    titleAlignment: CrossAxisAlignment.end,
                     title: 'Memory',
                     subtitle: Renderers.formatSize(rrdData.last.mem ?? 0),
                     data: rrdData.where((e) => e.mem != null).map(
diff --git a/lib/widgets/pve_node_overview.dart b/lib/widgets/pve_node_overview.dart
index 85410fb..3558549 100644
--- a/lib/widgets/pve_node_overview.dart
+++ b/lib/widgets/pve_node_overview.dart
@@ -230,7 +230,7 @@ class PveNodeOverview extends StatelessWidget {
                     children: [
                       ListTile(
                         dense: true,
-                        title: Text(status?.kversion ?? 'unkown'),
+                        title: Text(status?.kversion ?? 'unknown'),
                         subtitle: const Text('Kernel'),
                       ),
                       if (status?.cpuinfo != null)
diff --git a/lib/widgets/pve_resource_status_chip_widget.dart b/lib/widgets/pve_resource_status_chip_widget.dart
index 3a6df89..c3d3f69 100644
--- a/lib/widgets/pve_resource_status_chip_widget.dart
+++ b/lib/widgets/pve_resource_status_chip_widget.dart
@@ -46,7 +46,7 @@ class StatusChip extends StatelessWidget {
         break;
       default:
         statusColor = offlineColor;
-        statusText = 'unkown';
+        statusText = 'unknown';
     }
     return Container(
       decoration: BoxDecoration(
diff --git a/lib/widgets/pve_rrd_chart_widget.dart b/lib/widgets/pve_rrd_chart_widget.dart
index d61deea..0dc648a 100644
--- a/lib/widgets/pve_rrd_chart_widget.dart
+++ b/lib/widgets/pve_rrd_chart_widget.dart
@@ -15,7 +15,7 @@ class PveRRDChart extends StatefulWidget {
   final double? staticMaximum;
   final Color? shadeColorTop;
   final Color? shadeColorBottom;
-  final CrossAxisAlignment titleAlginment;
+  final CrossAxisAlignment titleAlignment;
   final bool showMaximum;
   final bool showDuration;
   final Widget? bottomRight;
@@ -31,7 +31,7 @@ class PveRRDChart extends StatefulWidget {
     this.staticMaximum,
     this.shadeColorTop,
     this.shadeColorBottom,
-    this.titleAlginment = CrossAxisAlignment.start,
+    this.titleAlignment = CrossAxisAlignment.start,
     this.titleWidth,
     this.titlePadding,
     this.showMaximum = true,
@@ -58,7 +58,7 @@ class _PveRRDChartState extends State<PveRRDChart> {
     final fgColor =
         Theme.of(context).colorScheme.onPrimary.withValues(alpha: 0.85);
     return Column(
-      crossAxisAlignment: widget.titleAlginment,
+      crossAxisAlignment: widget.titleAlignment,
       children: <Widget>[
         Container(
           width: widget.titleWidth,
-- 
2.39.5



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

             reply	other threads:[~2025-05-09  8:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-09  8:31 Michael Köppl [this message]
2025-05-09  8:31 ` [pve-devel] [PATCH flutter_frontend v2 2/2] ui: make containers naming more consistent Michael Köppl
2025-05-09  8:31 ` [pve-devel] [PATCH dart_api_client v2 1/1] fix typos Michael Köppl
2025-05-19 14:12 ` [pve-devel] [PATCH flutter_frontend v2 1/2] " Shan Shaji
2025-05-21 12:43 ` [pve-devel] applied: " Dominik Csapak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250509083120.40047-1-m.koeppl@proxmox.com \
    --to=m.koeppl@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal