all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH pve_flutter_frontend 1/2] fix typos
@ 2025-05-02 12:10 Michael Köppl
  2025-05-02 12:10 ` [pve-devel] [PATCH pve_flutter_frontend 2/2] ui: make LXC containers naming more consistent Michael Köppl
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Michael Köppl @ 2025-05-02 12:10 UTC (permalink / raw)
  To: pve-devel

Signed-off-by: Michael Köppl <m.koeppl@proxmox.com>
---
While reviewing another series, I noticed a few typos in user-facing
errors. While I was at it, also fixed typos for a few variables.

 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 322bcac..20f3209 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 2382f2d..1da2667 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 23f0edc..203a83d 100644
--- a/lib/widgets/pve_node_overview.dart
+++ b/lib/widgets/pve_node_overview.dart
@@ -231,7 +231,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 aa6406e..f5c7e5b 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,
@@ -57,7 +57,7 @@ class _PveRRDChartState extends State<PveRRDChart> {
 
     final fgColor = Theme.of(context).colorScheme.onPrimary.withOpacity(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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-05-09  8:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-02 12:10 [pve-devel] [PATCH pve_flutter_frontend 1/2] fix typos Michael Köppl
2025-05-02 12:10 ` [pve-devel] [PATCH pve_flutter_frontend 2/2] ui: make LXC containers naming more consistent Michael Köppl
2025-05-07  8:12   ` Thomas Lamprecht
2025-05-09  7:20     ` Michael Köppl
2025-05-02 12:10 ` [pve-devel] [PATCH proxmox_dart_api_client 1/1] fix typos Michael Köppl
2025-05-07  8:09 ` [pve-devel] [PATCH pve_flutter_frontend 1/2] " Thomas Lamprecht
2025-05-09  8:41   ` Michael Köppl

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