diff --git a/WinNUT_V2/WinNUT-Client/List_Var_Gui.Designer.vb b/WinNUT_V2/WinNUT-Client/List_Var_Gui.Designer.vb index f53cbab..59f04ee 100644 --- a/WinNUT_V2/WinNUT-Client/List_Var_Gui.Designer.vb +++ b/WinNUT_V2/WinNUT-Client/List_Var_Gui.Designer.vb @@ -33,10 +33,11 @@ Partial Class List_Var_Gui Me.Lbl_V = New System.Windows.Forms.Label() Me.Lbl_Name = New System.Windows.Forms.Label() Me.Btn_Reload = New System.Windows.Forms.Button() - Me.Btn_Clear = New System.Windows.Forms.Button() Me.Btn_Close = New System.Windows.Forms.Button() Me.Timer_Update_List = New System.Windows.Forms.Timer(Me.components) Me.Btn_Clip = New System.Windows.Forms.Button() + Me.ToolTip = New System.Windows.Forms.ToolTip(Me.components) + Me.Btn_Save = New System.Windows.Forms.Button() Me.GB1.SuspendLayout() Me.SuspendLayout() ' @@ -96,18 +97,14 @@ Partial Class List_Var_Gui ' resources.ApplyResources(Me.Btn_Reload, "Btn_Reload") Me.Btn_Reload.Name = "Btn_Reload" + Me.ToolTip.SetToolTip(Me.Btn_Reload, resources.GetString("Btn_Reload.ToolTip")) Me.Btn_Reload.UseVisualStyleBackColor = True ' - 'Btn_Clear - ' - resources.ApplyResources(Me.Btn_Clear, "Btn_Clear") - Me.Btn_Clear.Name = "Btn_Clear" - Me.Btn_Clear.UseVisualStyleBackColor = True - ' 'Btn_Close ' resources.ApplyResources(Me.Btn_Close, "Btn_Close") Me.Btn_Close.Name = "Btn_Close" + Me.ToolTip.SetToolTip(Me.Btn_Close, resources.GetString("Btn_Close.ToolTip")) Me.Btn_Close.UseVisualStyleBackColor = True ' 'Timer_Update_List @@ -116,17 +113,27 @@ Partial Class List_Var_Gui ' 'Btn_Clip ' + Me.Btn_Clip.Image = Global.WinNUT_Client.My.Resources.Resources.CopyHS resources.ApplyResources(Me.Btn_Clip, "Btn_Clip") Me.Btn_Clip.Name = "Btn_Clip" + Me.ToolTip.SetToolTip(Me.Btn_Clip, resources.GetString("Btn_Clip.ToolTip")) Me.Btn_Clip.UseVisualStyleBackColor = True ' + 'Btn_Save + ' + Me.Btn_Save.Image = Global.WinNUT_Client.My.Resources.Resources.saveHS + resources.ApplyResources(Me.Btn_Save, "Btn_Save") + Me.Btn_Save.Name = "Btn_Save" + Me.ToolTip.SetToolTip(Me.Btn_Save, resources.GetString("Btn_Save.ToolTip")) + Me.Btn_Save.UseVisualStyleBackColor = True + ' 'List_Var_Gui ' resources.ApplyResources(Me, "$this") Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font + Me.Controls.Add(Me.Btn_Save) Me.Controls.Add(Me.Btn_Clip) Me.Controls.Add(Me.Btn_Close) - Me.Controls.Add(Me.Btn_Clear) Me.Controls.Add(Me.Btn_Reload) Me.Controls.Add(Me.GB1) Me.Controls.Add(Me.TView_UPSVar) @@ -148,8 +155,9 @@ Partial Class List_Var_Gui Friend WithEvents Lbl_V As Label Friend WithEvents Lbl_Name As Label Friend WithEvents Btn_Reload As Button - Friend WithEvents Btn_Clear As Button Friend WithEvents Btn_Close As Button Friend WithEvents Timer_Update_List As Timer Friend WithEvents Btn_Clip As Button + Friend WithEvents ToolTip As ToolTip + Private WithEvents Btn_Save As Button End Class diff --git a/WinNUT_V2/WinNUT-Client/List_Var_Gui.de-DE.resx b/WinNUT_V2/WinNUT-Client/List_Var_Gui.de-DE.resx index f0364d1..4d3aaed 100644 --- a/WinNUT_V2/WinNUT-Client/List_Var_Gui.de-DE.resx +++ b/WinNUT_V2/WinNUT-Client/List_Var_Gui.de-DE.resx @@ -27,9 +27,6 @@ Neu laden - - Leeren - Schließen @@ -39,4 +36,25 @@ Liste der USV-Variablen + + ImageBeforeText + + + 197, 300 + + + 75, 23 + + + 6 + + + ImageBeforeText + + + 168, 17 + + + 62 + \ No newline at end of file diff --git a/WinNUT_V2/WinNUT-Client/List_Var_Gui.fr-FR.resx b/WinNUT_V2/WinNUT-Client/List_Var_Gui.fr-FR.resx index 7056db5..e9828d4 100644 --- a/WinNUT_V2/WinNUT-Client/List_Var_Gui.fr-FR.resx +++ b/WinNUT_V2/WinNUT-Client/List_Var_Gui.fr-FR.resx @@ -27,9 +27,6 @@ Recharger - - Vider - Fermer @@ -39,4 +36,25 @@ Liste des Variables de L'UPS + + ImageBeforeText + + + 197, 300 + + + 75, 23 + + + 6 + + + ImageBeforeText + + + 168, 17 + + + 62 + \ No newline at end of file diff --git a/WinNUT_V2/WinNUT-Client/List_Var_Gui.resx b/WinNUT_V2/WinNUT-Client/List_Var_Gui.resx index 45e039b..fcf44c3 100644 --- a/WinNUT_V2/WinNUT-Client/List_Var_Gui.resx +++ b/WinNUT_V2/WinNUT-Client/List_Var_Gui.resx @@ -140,102 +140,6 @@ 5 - - Lbl_D_Value - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - GB1 - - - 0 - - - Lbl_V_Value - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - GB1 - - - 1 - - - Lbl_N_Value - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - GB1 - - - 2 - - - Lbl_D - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - GB1 - - - 3 - - - Lbl_V - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - GB1 - - - 4 - - - Lbl_Name - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - GB1 - - - 5 - - - 6, 182 - - - 360, 110 - - - 1 - - - Item Properties - - - GB1 - - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - $this - - - 4 - True @@ -249,7 +153,7 @@ 250, 15 - 5 + 3 Lbl_D_Value @@ -276,7 +180,7 @@ 250, 15 - 4 + 2 Lbl_V_Value @@ -303,7 +207,7 @@ 250, 15 - 3 + 1 Lbl_N_Value @@ -398,6 +302,30 @@ 5 + + 6, 182 + + + 360, 110 + + + 1 + + + Item Properties + + + GB1 + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 4 + 9, 300 @@ -405,11 +333,17 @@ 75, 23 - 2 + 4 Reload + + 168, 17 + + + Reloads all information from the UPS. + Btn_Reload @@ -422,30 +356,6 @@ 3 - - 102, 300 - - - 75, 23 - - - 3 - - - Clear - - - Btn_Clear - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - $this - - - 2 - 289, 300 @@ -453,11 +363,14 @@ 75, 23 - 4 + 7 Close + + Close this form. + Btn_Close @@ -468,13 +381,13 @@ $this - 1 + 2 17, 17 - 197, 300 + 102, 300 75, 23 @@ -485,6 +398,13 @@ Copy + + + ImageBeforeText + + + Copy all information to the Clipboard. + Btn_Clip @@ -495,11 +415,44 @@ $this + 1 + + + 197, 300 + + + 75, 23 + + + 6 + + + Save + + + ImageBeforeText + + + Save all information to a file. + + + Btn_Save + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + 0 True + + 62 + 6, 13 @@ -515,6 +468,12 @@ System.Windows.Forms.Timer, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + ToolTip + + + System.Windows.Forms.ToolTip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + List_Var_Gui diff --git a/WinNUT_V2/WinNUT-Client/List_Var_Gui.ru-RU.resx b/WinNUT_V2/WinNUT-Client/List_Var_Gui.ru-RU.resx index 9ceb59a..f9c3426 100644 --- a/WinNUT_V2/WinNUT-Client/List_Var_Gui.ru-RU.resx +++ b/WinNUT_V2/WinNUT-Client/List_Var_Gui.ru-RU.resx @@ -27,9 +27,6 @@ Обновить - - Очистить - Закрыть @@ -39,4 +36,25 @@ Список переменных ИБП + + ImageBeforeText + + + 197, 300 + + + 75, 23 + + + 6 + + + ImageBeforeText + + + 168, 17 + + + 62 + \ No newline at end of file diff --git a/WinNUT_V2/WinNUT-Client/List_Var_Gui.uk-UA.resx b/WinNUT_V2/WinNUT-Client/List_Var_Gui.uk-UA.resx index e16e91e..01a5643 100644 --- a/WinNUT_V2/WinNUT-Client/List_Var_Gui.uk-UA.resx +++ b/WinNUT_V2/WinNUT-Client/List_Var_Gui.uk-UA.resx @@ -27,9 +27,6 @@ Оновити - - Очистити - Закрити @@ -39,4 +36,25 @@ Список змінних ДБЖ + + ImageBeforeText + + + 197, 300 + + + 75, 23 + + + 6 + + + ImageBeforeText + + + 168, 17 + + + 62 + \ No newline at end of file diff --git a/WinNUT_V2/WinNUT-Client/List_Var_Gui.vb b/WinNUT_V2/WinNUT-Client/List_Var_Gui.vb index 34d4de5..3bd238c 100644 --- a/WinNUT_V2/WinNUT-Client/List_Var_Gui.vb +++ b/WinNUT_V2/WinNUT-Client/List_Var_Gui.vb @@ -1,13 +1,4 @@ -' WinNUT-Client is a NUT windows client for monitoring your ups hooked up to your favorite linux server. -' Copyright (C) 2019-2021 Gawindx (Decaux Nicolas) -' -' This program is free software: you can redistribute it and/or modify it under the terms of the -' GNU General Public License as published by the Free Software Foundation, either version 3 of the -' License, or any later version. -' -' This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY - -Imports WinNUT_Client_Common +Imports WinNUT_Client_Common Public Class List_Var_Gui Private List_Var_Datas As List(Of UPS_List_Datas) @@ -76,12 +67,7 @@ Public Class List_Var_Gui Next Next End Sub - Private Sub Btn_Clear_Click(sender As Object, e As EventArgs) Handles Btn_Clear.Click - TView_UPSVar.CollapseAll() - Lbl_N_Value.Text = "" - Lbl_V_Value.Text = "" - Lbl_D_Value.Text = "" - End Sub + Private Function FindNodeByValue(ByVal value As String, ByVal nodes As TreeNodeCollection) As TreeNode For Each n As TreeNode In nodes If n.Text = value Then @@ -148,17 +134,73 @@ Public Class List_Var_Gui End If End Sub - Private Sub Btn_Clip_Click(sender As Object, e As EventArgs) Handles Btn_Clip.Click - LogFile.LogTracing("Export TreeView To Clipboard", LogLvl.LOG_DEBUG, Me) - Dim ToClipBoard As String = Nothing + Private Function SerializeUPSData() As String + LogFile.LogTracing("Serializing UPS data to String.", LogLvl.LOG_DEBUG, Me) + Dim sb As New Text.StringBuilder() + With WinNUT.UPS_Device.UPS_Datas - ToClipBoard = My.Settings.NUT_UPSName & " (" & .Mfr & "/" & .Model & "/" & .Firmware & ")" & vbNewLine + sb.AppendLine(UPSDevice.Name & " (" & .Mfr & "/" & .Model & "/" & .Firmware & ")") End With + For Each LDatas In List_Var_Datas - ToClipBoard &= LDatas.VarKey & " (" & LDatas.VarDesc & ") : " & LDatas.VarValue & vbNewLine + sb.AppendLine(LDatas.VarKey & " (" & LDatas.VarDesc & ") : " & LDatas.VarValue) Next - My.Computer.Clipboard.SetText(ToClipboard) + + LogFile.LogTracing("Successfully built serialized string, length: " & sb.Length, LogLvl.LOG_DEBUG, Me) + Return sb.ToString() + End Function + + Private Sub Btn_Clip_Click(sender As Object, e As EventArgs) Handles Btn_Clip.Click + LogFile.LogTracing("Copy TreeView To Clipboard", LogLvl.LOG_DEBUG, Me) + + Try + Clipboard.SetText(SerializeUPSData) + LogFile.LogTracing("Successfully copied UPS information to the Clipboard.", LogLvl.LOG_NOTICE, Me, + My.Resources.List_Var_Gui__SetCpbTextSuccess) + + Catch ex As Exception + Dim frmtdError = String.Format(My.Resources.List_Var_Gui__SetCpbTextError_Text, ex.Message) + LogFile.LogTracing("Exception encountered while attempting to set Clipboard text.", LogLvl.LOG_ERROR, Me, + frmtdError) + LogFile.LogException(ex, Me) + MessageBox.Show(frmtdError, My.Resources.List_Var_Gui__SetCpbTextError_Caption, + MessageBoxButtons.OK, MessageBoxIcon.Error) + End Try End Sub + + Private Sub Btn_Save_Click(sender As Object, e As EventArgs) Handles Btn_Save.Click + LogFile.LogTracing("Export TreeView To File", LogLvl.LOG_DEBUG, Me) + + Dim sfd As New SaveFileDialog With { + .Filter = "Text files|*.txt|All files|*.*", + .InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Desktop), + .Title = My.Resources.List_Var_Gui__SaveFile_Caption + } + Dim dialogRes = sfd.ShowDialog() + + If dialogRes = DialogResult.OK AndAlso sfd.FileName <> String.Empty Then + LogFile.LogTracing("User completed SaveFileDialog, path: " & sfd.FileName, LogLvl.LOG_NOTICE, Me) + Try + Using sw As New IO.StreamWriter(sfd.OpenFile()) + sw.Write(SerializeUPSData) + sw.Close() + LogFile.LogTracing("File saved successfully.", LogLvl.LOG_NOTICE, Me, + String.Format(My.Resources.List_Var_Gui__SaveFileSuccess, sfd.FileName)) + End Using + + Catch ex As Exception + Dim frmtdError = String.Format(My.Resources.List_Var_Gui__SaveFileError_Text, ex.Message) + LogFile.LogTracing("Exception encountered while saving UPS data to a file.", LogLvl.LOG_ERROR, Me, + frmtdError) + LogFile.LogException(ex, Me) + MessageBox.Show(frmtdError, My.Resources.List_Var_Gui__SaveFile_Caption, + MessageBoxButtons.OK, MessageBoxIcon.Error) + End Try + Else + LogFile.LogTracing("SaveFileDialog was not accepted.", LogLvl.LOG_NOTICE, Me) + End If + End Sub + Function GetChildren(parentNode As TreeNode) As List(Of String) Dim nodes As List(Of String) = New List(Of String) GetAllChildren(parentNode, nodes) diff --git a/WinNUT_V2/WinNUT-Client/List_Var_Gui.zh-CN.resx b/WinNUT_V2/WinNUT-Client/List_Var_Gui.zh-CN.resx index 6602d44..9307f84 100644 --- a/WinNUT_V2/WinNUT-Client/List_Var_Gui.zh-CN.resx +++ b/WinNUT_V2/WinNUT-Client/List_Var_Gui.zh-CN.resx @@ -27,9 +27,6 @@ 重载 - - 清空 - 关闭 @@ -39,4 +36,25 @@ UPS变量列表 + + ImageBeforeText + + + 197, 300 + + + 75, 23 + + + 6 + + + ImageBeforeText + + + 168, 17 + + + 62 + \ No newline at end of file diff --git a/WinNUT_V2/WinNUT-Client/List_Var_Gui.zh-TW.resx b/WinNUT_V2/WinNUT-Client/List_Var_Gui.zh-TW.resx index e58d7d3..c1d1321 100644 --- a/WinNUT_V2/WinNUT-Client/List_Var_Gui.zh-TW.resx +++ b/WinNUT_V2/WinNUT-Client/List_Var_Gui.zh-TW.resx @@ -27,9 +27,6 @@ 重新載入 - - 清除 - 關閉 @@ -39,4 +36,25 @@ UPS 變數清單 + + ImageBeforeText + + + 197, 300 + + + 75, 23 + + + 6 + + + ImageBeforeText + + + 168, 17 + + + 62 + \ No newline at end of file diff --git a/WinNUT_V2/WinNUT-Client/MultilingualResources/WinNUT-Client.zh-TW.xlf b/WinNUT_V2/WinNUT-Client/MultilingualResources/WinNUT-Client.zh-TW.xlf index db819aa..ed3220d 100644 --- a/WinNUT_V2/WinNUT-Client/MultilingualResources/WinNUT-Client.zh-TW.xlf +++ b/WinNUT_V2/WinNUT-Client/MultilingualResources/WinNUT-Client.zh-TW.xlf @@ -157,8 +157,8 @@ Remaining Time : {WinNUT.Lbl_VRTime.Text} 250, 15 - 5 - 5 + 3 + 3 True @@ -177,8 +177,8 @@ Remaining Time : {WinNUT.Lbl_VRTime.Text} 250, 15 - 4 - 4 + 2 + 2 True @@ -197,8 +197,8 @@ Remaining Time : {WinNUT.Lbl_VRTime.Text} 250, 15 - 3 - 3 + 1 + 1 True @@ -269,29 +269,13 @@ Remaining Time : {WinNUT.Lbl_VRTime.Text} 75, 23 - 2 - 2 + 4 + 4 Reload 重新載入 - - 102, 300 - 102, 300 - - - 75, 23 - 75, 23 - - - 3 - 3 - - - Clear - 清除 - 289, 300 289, 300 @@ -301,16 +285,16 @@ Remaining Time : {WinNUT.Lbl_VRTime.Text} 75, 23 - 4 - 4 + 7 + 7 Close 關閉 - 197, 300 - 197, 300 + 102, 300 + 102, 300 75, 23 @@ -344,6 +328,54 @@ Remaining Time : {WinNUT.Lbl_VRTime.Text} True True + + ImageBeforeText + ImageBeforeText + + + Copy all information to the Clipboard. + Copy all information to the Clipboard. + + + 197, 300 + 197, 300 + + + 75, 23 + 75, 23 + + + 6 + 6 + + + Save + Save + + + ImageBeforeText + ImageBeforeText + + + Save all information to a file. + Save all information to a file. + + + 168, 17 + 168, 17 + + + 62 + 62 + + + Reloads all information from the UPS. + Reloads all information from the UPS. + + + Close this form. + Close this form. + @@ -697,6 +729,44 @@ Please correct the error, or cancel the upgrade dialog to continue with the defa Checking for update... Inform the user that WinNUT is checking for an update. + + ..\Resources\CopyHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\CopyHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\saveHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\saveHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Error encountered when saving UPS data to file: {0} + Error encountered when saving UPS data to file: {0} + Alert the user to an error that occurred while saving to a file, puncuated to indicate that the error will follow. + + + Successfully saved UPS data to file: {0} + Successfully saved UPS data to file: {0} + Notify the user that the UPS data was successfully saved to a file, and provide the location. + + + Save UPS Data to File + Save UPS Data to File + Title of Forms relating to saving the UPS data to a file. + + + Clipboard Error + Clipboard Error + Title of the error notification window that displays when an error is encountered setting the clipboard text. + + + Error encountered when copying UPS data to the Clipboard: {0} + Error encountered when copying UPS data to the Clipboard: {0} + Alert the user that there was a problem copying the UPS data to the clipboard, punctuated to indicate that the error will follow. + + + Successfully copied UPS data to the Clipboard. + Successfully copied UPS data to the Clipboard. + Notify the user that the UPS data was copied to their Clipboard successfully. + diff --git a/WinNUT_V2/WinNUT-Client/MultilingualResources/WinNUT-client.de-DE.xlf b/WinNUT_V2/WinNUT-Client/MultilingualResources/WinNUT-client.de-DE.xlf index f2d904b..ddc7e9e 100644 --- a/WinNUT_V2/WinNUT-Client/MultilingualResources/WinNUT-client.de-DE.xlf +++ b/WinNUT_V2/WinNUT-Client/MultilingualResources/WinNUT-client.de-DE.xlf @@ -1197,19 +1197,19 @@ UPS name to monitor. Accepted Value: Name of the UPS configured in the Nut server. - Name der zu überwachenden USV. + Name der zu überwachenden USV. Wertebereich: Name der auf dem NUT-Server konfigurierten USV. Nut Server Port Number (default = 3493). Accepted value: Numeric value from 1 to 65535. - NUT-Server Portnummer (Standard = 3493). + NUT-Server Portnummer (Standard = 3493). Wertebereich: Numerischer Wert von 1 bis 65535. Nut server address. Accepted value: IPV4 / IPV6 / FQDN address. - Adresse des NUT-Servers. + Adresse des NUT-Servers. Wertebereich: IPV4 / IPV6 / FQDN-Adresse. @@ -1223,49 +1223,49 @@ Wertebereich: IPV4 / IPV6 / FQDN-Adresse. Maximum Battery Voltage. Accepted value: Numeric value from 0 to 100. - Maximale Akkuspannung. + Maximale Akkuspannung. Wertebereich: Numerischer Wert von 0 bis 100. Maximum Output Voltage. Accepted value: Numeric value from 0 to 999. - Maximale Ausgangsspannung. + Maximale Ausgangsspannung. Wertebereich: Numerischer Wert von 0 bis 999. Maximum input frequency. Accepted value: Numeric value from 0 to 100. - Maximale Eingangsfrequenz. + Maximale Eingangsfrequenz. Wertebereich: Numerischer Wert von 0 bis 100. Minimum Battery Voltage. Accepted value: Numeric value from 0 to 100. - Minimale Akkuspannung. + Minimale Akkuspannung. Wertebereich: Numerischer Wert von 0 bis 100. Minimum Output Voltage. Accepted value: Numeric value from 0 to 999. - Minimale Ausgangsspannung. + Minimale Ausgangsspannung. Wertebereich: Numerischer Wert von 0 bis 999. Minimum input frequency. Accepted value: Numeric value from 0 to 100. - Minimale Eingangsfrequenz. + Minimale Eingangsfrequenz. Wertebereich: Numerischer Wert von 0 bis 100. Maximum input voltage. Accepted value: Numeric value from 0 to 999. - Maximale Eingangsspannung. + Maximale Eingangsspannung. Wertebereich: Numerischer Wert von 0 bis 999. Minimum input voltage. Accepted value: Numeric value from 0 to 999. - Minimale Eingangsspannung. + Minimale Eingangsspannung. Wertebereich: Numerischer Wert von 0 bis 999. @@ -1307,21 +1307,21 @@ Wertebereich: Numerischer Wert von 0 bis 999. Additional grace period limit. Accepted value: Numeric value from 0 to 3600. - Limit für zusätzliche Verzögerung. + Limit für zusätzliche Verzögerung. Wertebereich: Numerischer Wert von 0 bis 3600. Allow additional time during the shutdown procedure. Note: This additional time could go beyond the UPS backup time - USE WITH CAUTION!!! - Zusätzliche Zeit für das Herunterfahren erlauben. -Hinweis: + Zusätzliche Zeit für das Herunterfahren erlauben. +Hinweis: Diese zusätzliche Zeit kann über die Verfügbarkeit der USV hinausgehen - MIT VORSICHT VERWENDEN !!! Stop procedure delay if delayed. Accepted value: Numeric value from 0 to 3600. - Stoppvorgang bei Verzögerung unterbrechen. + Stoppvorgang bei Verzögerung unterbrechen. Wertebereich: Numerischer Wert von 0 bis 3600. @@ -1335,13 +1335,13 @@ Wertebereich: Numerischer Wert von 0 bis 3600. Lower backup time limit triggering the shutdown procedure. Accepted value: Numeric value from 0 to 3600. - Unteres Backup-Zeitlimit, welches das Herunterfahren auslöst. + Unteres Backup-Zeitlimit, welches das Herunterfahren auslöst. Wertebereich: Numerischer Wert von 0 bis 3600. Lower limit of the battery level triggering the shutdown procedure. Accepted value: Numeric value from 0 to 100. - Untergrenze des Akkuladestands, welcher den Abschaltvorgang auslöst. + Untergrenze des Akkuladestands, welcher den Abschaltvorgang auslöst. Wertebereich: Numerischer Wert von 0 bis 100. @@ -1712,7 +1712,7 @@ Wertebereich: Numerischer Wert von 0 bis 100. Battery_Charge : {0} Remaining Time : {1} - Akkuladung: {0} + Akkuladung: {0} Verbleibende Zeit: {1} @@ -1869,10 +1869,10 @@ Ini File Moved to {0}.old {0} Please correct the error, or cancel the upgrade dialog to continue with the default settings. - Während des Upgrade-Vorgangs ist ein Fehler aufgetreten: - -{0} - + Während des Upgrade-Vorgangs ist ein Fehler aufgetreten: + +{0} + Bitte beheben Sie den Fehler oder brechen Sie den Aktualisierungsdialog ab, um mit den Standardeinstellungen fortzufahren. Alert the user that an error occurred during the upgrade procedure, attempt to give a brief summary of the error, and prompt them to take the next step. @@ -1922,6 +1922,44 @@ Bitte beheben Sie den Fehler oder brechen Sie den Aktualisierungsdialog ab, um m Updateprüfung läuft... Inform the user that WinNUT is checking for an update. + + ..\Resources\CopyHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\CopyHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\saveHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\saveHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Error encountered when saving UPS data to file: {0} + Error encountered when saving UPS data to file: {0} + Alert the user to an error that occurred while saving to a file, puncuated to indicate that the error will follow. + + + Successfully saved UPS data to file: {0} + Successfully saved UPS data to file: {0} + Notify the user that the UPS data was successfully saved to a file, and provide the location. + + + Save UPS Data to File + Save UPS Data to File + Title of Forms relating to saving the UPS data to a file. + + + Clipboard Error + Clipboard Error + Title of the error notification window that displays when an error is encountered setting the clipboard text. + + + Error encountered when copying UPS data to the Clipboard: {0} + Error encountered when copying UPS data to the Clipboard: {0} + Alert the user that there was a problem copying the UPS data to the clipboard, punctuated to indicate that the error will follow. + + + Successfully copied UPS data to the Clipboard. + Successfully copied UPS data to the Clipboard. + Notify the user that the UPS data was copied to their Clipboard successfully. + @@ -3336,8 +3374,8 @@ along with this program. If not, see https://www.gnu.org/licenses/. 250, 15 - 5 - 5 + 3 + 3 True @@ -3356,8 +3394,8 @@ along with this program. If not, see https://www.gnu.org/licenses/. 250, 15 - 4 - 4 + 2 + 2 True @@ -3376,8 +3414,8 @@ along with this program. If not, see https://www.gnu.org/licenses/. 250, 15 - 3 - 3 + 1 + 1 True @@ -3464,29 +3502,13 @@ along with this program. If not, see https://www.gnu.org/licenses/. 75, 23 - 2 - 2 + 4 + 4 Reload Neu laden - - 102, 300 - 102, 300 - - - 75, 23 - 75, 23 - - - 3 - 3 - - - Clear - Leeren - 289, 300 289, 300 @@ -3496,16 +3518,16 @@ along with this program. If not, see https://www.gnu.org/licenses/. 75, 23 - 4 - 4 + 7 + 7 Close Schließen - 197, 300 - 197, 300 + 102, 300 + 102, 300 75, 23 @@ -3535,6 +3557,54 @@ along with this program. If not, see https://www.gnu.org/licenses/. True True + + ImageBeforeText + ImageBeforeText + + + Copy all information to the Clipboard. + Copy all information to the Clipboard. + + + 197, 300 + 197, 300 + + + 75, 23 + 75, 23 + + + 6 + 6 + + + Save + Save + + + ImageBeforeText + ImageBeforeText + + + Save all information to a file. + Save all information to a file. + + + 168, 17 + 168, 17 + + + 62 + 62 + + + Reloads all information from the UPS. + Reloads all information from the UPS. + + + Close this form. + Close this form. + @@ -3619,7 +3689,7 @@ along with this program. If not, see https://www.gnu.org/licenses/. Battery_Charge : {WinNUT.UPS_BattCh} Remaining Time : {WinNUT.Lbl_VRTime.Text} - Akkuladung: {WinNUT.UPS_BattCh} + Akkuladung: {WinNUT.UPS_BattCh} Verbleibende Zeit: {WinNUT.Lbl_VRTime.Text} diff --git a/WinNUT_V2/WinNUT-Client/MultilingualResources/WinNUT-client.fr-FR.xlf b/WinNUT_V2/WinNUT-Client/MultilingualResources/WinNUT-client.fr-FR.xlf index a957a2d..19fa710 100644 --- a/WinNUT_V2/WinNUT-Client/MultilingualResources/WinNUT-client.fr-FR.xlf +++ b/WinNUT_V2/WinNUT-Client/MultilingualResources/WinNUT-client.fr-FR.xlf @@ -1926,6 +1926,44 @@ Please correct the error, or cancel the upgrade dialog to continue with the defa Checking for update... Inform the user that WinNUT is checking for an update. + + ..\Resources\CopyHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\CopyHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\saveHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\saveHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Error encountered when saving UPS data to file: {0} + Error encountered when saving UPS data to file: {0} + Alert the user to an error that occurred while saving to a file, puncuated to indicate that the error will follow. + + + Successfully saved UPS data to file: {0} + Successfully saved UPS data to file: {0} + Notify the user that the UPS data was successfully saved to a file, and provide the location. + + + Save UPS Data to File + Save UPS Data to File + Title of Forms relating to saving the UPS data to a file. + + + Clipboard Error + Clipboard Error + Title of the error notification window that displays when an error is encountered setting the clipboard text. + + + Error encountered when copying UPS data to the Clipboard: {0} + Error encountered when copying UPS data to the Clipboard: {0} + Alert the user that there was a problem copying the UPS data to the clipboard, punctuated to indicate that the error will follow. + + + Successfully copied UPS data to the Clipboard. + Successfully copied UPS data to the Clipboard. + Notify the user that the UPS data was copied to their Clipboard successfully. + @@ -3340,8 +3378,8 @@ along with this program. If not, see https://www.gnu.org/licenses/. 250, 15 - 5 - 5 + 3 + 3 True @@ -3360,8 +3398,8 @@ along with this program. If not, see https://www.gnu.org/licenses/. 250, 15 - 4 - 4 + 2 + 2 True @@ -3380,8 +3418,8 @@ along with this program. If not, see https://www.gnu.org/licenses/. 250, 15 - 3 - 3 + 1 + 1 True @@ -3468,29 +3506,13 @@ along with this program. If not, see https://www.gnu.org/licenses/. 75, 23 - 2 - 2 + 4 + 4 Reload Recharger - - 102, 300 - 102, 300 - - - 75, 23 - 75, 23 - - - 3 - 3 - - - Clear - Vider - 289, 300 289, 300 @@ -3500,16 +3522,16 @@ along with this program. If not, see https://www.gnu.org/licenses/. 75, 23 - 4 - 4 + 7 + 7 Close Fermer - 197, 300 - 197, 300 + 102, 300 + 102, 300 75, 23 @@ -3539,6 +3561,54 @@ along with this program. If not, see https://www.gnu.org/licenses/. True True + + ImageBeforeText + ImageBeforeText + + + Copy all information to the Clipboard. + Copy all information to the Clipboard. + + + 197, 300 + 197, 300 + + + 75, 23 + 75, 23 + + + 6 + 6 + + + Save + Save + + + ImageBeforeText + ImageBeforeText + + + Save all information to a file. + Save all information to a file. + + + 168, 17 + 168, 17 + + + 62 + 62 + + + Reloads all information from the UPS. + Reloads all information from the UPS. + + + Close this form. + Close this form. + @@ -4199,4 +4269,4 @@ Temps restant: {WinNUT.Lbl_VRTime.Text} - + \ No newline at end of file diff --git a/WinNUT_V2/WinNUT-Client/MultilingualResources/WinNUT-client.ru-RU.xlf b/WinNUT_V2/WinNUT-Client/MultilingualResources/WinNUT-client.ru-RU.xlf index f29f5a8..0a183c9 100644 --- a/WinNUT_V2/WinNUT-Client/MultilingualResources/WinNUT-client.ru-RU.xlf +++ b/WinNUT_V2/WinNUT-Client/MultilingualResources/WinNUT-client.ru-RU.xlf @@ -158,8 +158,8 @@ Remaining Time : {WinNUT.Lbl_VRTime.Text} 250, 15 - 5 - 5 + 3 + 3 True @@ -178,8 +178,8 @@ Remaining Time : {WinNUT.Lbl_VRTime.Text} 250, 15 - 4 - 4 + 2 + 2 True @@ -198,8 +198,8 @@ Remaining Time : {WinNUT.Lbl_VRTime.Text} 250, 15 - 3 - 3 + 1 + 1 True @@ -270,29 +270,13 @@ Remaining Time : {WinNUT.Lbl_VRTime.Text} 75, 23 - 2 - 2 + 4 + 4 Reload Обновить - - 102, 300 - 102, 300 - - - 75, 23 - 75, 23 - - - 3 - 3 - - - Clear - Очистить - 289, 300 289, 300 @@ -302,16 +286,16 @@ Remaining Time : {WinNUT.Lbl_VRTime.Text} 75, 23 - 4 - 4 + 7 + 7 Close Закрыть - 197, 300 - 197, 300 + 102, 300 + 102, 300 75, 23 @@ -345,6 +329,54 @@ Remaining Time : {WinNUT.Lbl_VRTime.Text} True True + + ImageBeforeText + ImageBeforeText + + + Copy all information to the Clipboard. + Copy all information to the Clipboard. + + + 197, 300 + 197, 300 + + + 75, 23 + 75, 23 + + + 6 + 6 + + + Save + Save + + + ImageBeforeText + ImageBeforeText + + + Save all information to a file. + Save all information to a file. + + + 168, 17 + 168, 17 + + + 62 + 62 + + + Reloads all information from the UPS. + Reloads all information from the UPS. + + + Close this form. + Close this form. + @@ -699,6 +731,44 @@ Please correct the error, or cancel the upgrade dialog to continue with the defa Checking for update... Inform the user that WinNUT is checking for an update. + + ..\Resources\CopyHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\CopyHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\saveHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\saveHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Error encountered when saving UPS data to file: {0} + Error encountered when saving UPS data to file: {0} + Alert the user to an error that occurred while saving to a file, puncuated to indicate that the error will follow. + + + Successfully saved UPS data to file: {0} + Successfully saved UPS data to file: {0} + Notify the user that the UPS data was successfully saved to a file, and provide the location. + + + Save UPS Data to File + Save UPS Data to File + Title of Forms relating to saving the UPS data to a file. + + + Clipboard Error + Clipboard Error + Title of the error notification window that displays when an error is encountered setting the clipboard text. + + + Error encountered when copying UPS data to the Clipboard: {0} + Error encountered when copying UPS data to the Clipboard: {0} + Alert the user that there was a problem copying the UPS data to the clipboard, punctuated to indicate that the error will follow. + + + Successfully copied UPS data to the Clipboard. + Successfully copied UPS data to the Clipboard. + Notify the user that the UPS data was copied to their Clipboard successfully. + diff --git a/WinNUT_V2/WinNUT-Client/MultilingualResources/WinNUT-client.uk-UA.xlf b/WinNUT_V2/WinNUT-Client/MultilingualResources/WinNUT-client.uk-UA.xlf index aa440a5..38118f4 100644 --- a/WinNUT_V2/WinNUT-Client/MultilingualResources/WinNUT-client.uk-UA.xlf +++ b/WinNUT_V2/WinNUT-Client/MultilingualResources/WinNUT-client.uk-UA.xlf @@ -158,8 +158,8 @@ Remaining Time : {WinNUT.Lbl_VRTime.Text} 250, 15 - 5 - 5 + 3 + 3 True @@ -178,8 +178,8 @@ Remaining Time : {WinNUT.Lbl_VRTime.Text} 250, 15 - 4 - 4 + 2 + 2 True @@ -198,8 +198,8 @@ Remaining Time : {WinNUT.Lbl_VRTime.Text} 250, 15 - 3 - 3 + 1 + 1 True @@ -270,29 +270,13 @@ Remaining Time : {WinNUT.Lbl_VRTime.Text} 75, 23 - 2 - 2 + 4 + 4 Reload Оновити - - 102, 300 - 102, 300 - - - 75, 23 - 75, 23 - - - 3 - 3 - - - Clear - Очистити - 289, 300 289, 300 @@ -302,16 +286,16 @@ Remaining Time : {WinNUT.Lbl_VRTime.Text} 75, 23 - 4 - 4 + 7 + 7 Close Закрити - 197, 300 - 197, 300 + 102, 300 + 102, 300 75, 23 @@ -345,6 +329,54 @@ Remaining Time : {WinNUT.Lbl_VRTime.Text} True True + + ImageBeforeText + ImageBeforeText + + + Copy all information to the Clipboard. + Copy all information to the Clipboard. + + + 197, 300 + 197, 300 + + + 75, 23 + 75, 23 + + + 6 + 6 + + + Save + Save + + + ImageBeforeText + ImageBeforeText + + + Save all information to a file. + Save all information to a file. + + + 168, 17 + 168, 17 + + + 62 + 62 + + + Reloads all information from the UPS. + Reloads all information from the UPS. + + + Close this form. + Close this form. + @@ -699,6 +731,44 @@ Please correct the error, or cancel the upgrade dialog to continue with the defa Checking for update... Inform the user that WinNUT is checking for an update. + + ..\Resources\CopyHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\CopyHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\saveHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\saveHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Error encountered when saving UPS data to file: {0} + Error encountered when saving UPS data to file: {0} + Alert the user to an error that occurred while saving to a file, puncuated to indicate that the error will follow. + + + Successfully saved UPS data to file: {0} + Successfully saved UPS data to file: {0} + Notify the user that the UPS data was successfully saved to a file, and provide the location. + + + Save UPS Data to File + Save UPS Data to File + Title of Forms relating to saving the UPS data to a file. + + + Clipboard Error + Clipboard Error + Title of the error notification window that displays when an error is encountered setting the clipboard text. + + + Error encountered when copying UPS data to the Clipboard: {0} + Error encountered when copying UPS data to the Clipboard: {0} + Alert the user that there was a problem copying the UPS data to the clipboard, punctuated to indicate that the error will follow. + + + Successfully copied UPS data to the Clipboard. + Successfully copied UPS data to the Clipboard. + Notify the user that the UPS data was copied to their Clipboard successfully. + diff --git a/WinNUT_V2/WinNUT-Client/MultilingualResources/WinNUT-client.zh-CN.xlf b/WinNUT_V2/WinNUT-Client/MultilingualResources/WinNUT-client.zh-CN.xlf index 0e502f7..b5eabca 100644 --- a/WinNUT_V2/WinNUT-Client/MultilingualResources/WinNUT-client.zh-CN.xlf +++ b/WinNUT_V2/WinNUT-Client/MultilingualResources/WinNUT-client.zh-CN.xlf @@ -39,8 +39,8 @@ 250, 15 - 5 - 5 + 3 + 3 True @@ -59,8 +59,8 @@ 250, 15 - 4 - 4 + 2 + 2 True @@ -79,8 +79,8 @@ 250, 15 - 3 - 3 + 1 + 1 True @@ -167,29 +167,13 @@ 75, 23 - 2 - 2 + 4 + 4 Reload 重载 - - 102, 300 - 102, 300 - - - 75, 23 - 75, 23 - - - 3 - 3 - - - Clear - 清空 - 289, 300 289, 300 @@ -199,16 +183,16 @@ 75, 23 - 4 - 4 + 7 + 7 Close 关闭 - 197, 300 - 197, 300 + 102, 300 + 102, 300 75, 23 @@ -238,6 +222,54 @@ True True + + ImageBeforeText + ImageBeforeText + + + Copy all information to the Clipboard. + Copy all information to the Clipboard. + + + 197, 300 + 197, 300 + + + 75, 23 + 75, 23 + + + 6 + 6 + + + Save + Save + + + ImageBeforeText + ImageBeforeText + + + Save all information to a file. + Save all information to a file. + + + 168, 17 + 168, 17 + + + 62 + 62 + + + Reloads all information from the UPS. + Reloads all information from the UPS. + + + Close this form. + Close this form. + @@ -700,6 +732,44 @@ Please correct the error, or cancel the upgrade dialog to continue with the defa Checking for update... Inform the user that WinNUT is checking for an update. + + ..\Resources\CopyHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\CopyHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\saveHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\saveHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Error encountered when saving UPS data to file: {0} + Error encountered when saving UPS data to file: {0} + Alert the user to an error that occurred while saving to a file, puncuated to indicate that the error will follow. + + + Successfully saved UPS data to file: {0} + Successfully saved UPS data to file: {0} + Notify the user that the UPS data was successfully saved to a file, and provide the location. + + + Save UPS Data to File + Save UPS Data to File + Title of Forms relating to saving the UPS data to a file. + + + Clipboard Error + Clipboard Error + Title of the error notification window that displays when an error is encountered setting the clipboard text. + + + Error encountered when copying UPS data to the Clipboard: {0} + Error encountered when copying UPS data to the Clipboard: {0} + Alert the user that there was a problem copying the UPS data to the clipboard, punctuated to indicate that the error will follow. + + + Successfully copied UPS data to the Clipboard. + Successfully copied UPS data to the Clipboard. + Notify the user that the UPS data was copied to their Clipboard successfully. + diff --git a/WinNUT_V2/WinNUT-Client/My Project/Resources.Designer.vb b/WinNUT_V2/WinNUT-Client/My Project/Resources.Designer.vb index 6e023e5..464d11f 100644 --- a/WinNUT_V2/WinNUT-Client/My Project/Resources.Designer.vb +++ b/WinNUT_V2/WinNUT-Client/My Project/Resources.Designer.vb @@ -359,6 +359,16 @@ Namespace My.Resources End Get End Property + ''' + ''' Looks up a localized resource of type System.Drawing.Bitmap. + ''' + Public ReadOnly Property CopyHS() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("CopyHS", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + ''' ''' Looks up a localized resource of type System.Drawing.Bitmap. ''' @@ -544,6 +554,60 @@ Namespace My.Resources End Get End Property + ''' + ''' Looks up a localized string similar to Save UPS Data to File. + ''' + Public ReadOnly Property List_Var_Gui__SaveFile_Caption() As String + Get + Return ResourceManager.GetString("List_Var_Gui__SaveFile_Caption", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Error encountered when saving UPS data to file: {0}. + ''' + Public ReadOnly Property List_Var_Gui__SaveFileError_Text() As String + Get + Return ResourceManager.GetString("List_Var_Gui__SaveFileError_Text", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Successfully saved UPS data to file: {0}. + ''' + Public ReadOnly Property List_Var_Gui__SaveFileSuccess() As String + Get + Return ResourceManager.GetString("List_Var_Gui__SaveFileSuccess", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Clipboard Error. + ''' + Public ReadOnly Property List_Var_Gui__SetCpbTextError_Caption() As String + Get + Return ResourceManager.GetString("List_Var_Gui__SetCpbTextError_Caption", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Error encountered when copying UPS data to the Clipboard: {0}. + ''' + Public ReadOnly Property List_Var_Gui__SetCpbTextError_Text() As String + Get + Return ResourceManager.GetString("List_Var_Gui__SetCpbTextError_Text", resourceCulture) + End Get + End Property + + ''' + ''' Looks up a localized string similar to Successfully copied UPS data to the Clipboard.. + ''' + Public ReadOnly Property List_Var_Gui__SetCpbTextSuccess() As String + Get + Return ResourceManager.GetString("List_Var_Gui__SetCpbTextSuccess", resourceCulture) + End Get + End Property + ''' ''' Looks up a localized string similar to WinNut Preferences Changed. ''' @@ -681,6 +745,16 @@ Namespace My.Resources End Get End Property + ''' + ''' Looks up a localized resource of type System.Drawing.Bitmap. + ''' + Public ReadOnly Property saveHS() As System.Drawing.Bitmap + Get + Dim obj As Object = ResourceManager.GetObject("saveHS", resourceCulture) + Return CType(obj,System.Drawing.Bitmap) + End Get + End Property + ''' ''' Looks up a localized string similar to Save WinNUT Registry Key. ''' diff --git a/WinNUT_V2/WinNUT-Client/My Project/Resources.de-DE.resx b/WinNUT_V2/WinNUT-Client/My Project/Resources.de-DE.resx index f98a512..01ff829 100644 --- a/WinNUT_V2/WinNUT-Client/My Project/Resources.de-DE.resx +++ b/WinNUT_V2/WinNUT-Client/My Project/Resources.de-DE.resx @@ -163,4 +163,10 @@ Bitte beheben Sie den Fehler oder brechen Sie den Aktualisierungsdialog ab, um m Updateprüfung läuft... Inform the user that WinNUT is checking for an update. + + ..\Resources\CopyHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\saveHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/WinNUT_V2/WinNUT-Client/My Project/Resources.fr-FR.resx b/WinNUT_V2/WinNUT-Client/My Project/Resources.fr-FR.resx index 3b526dc..7781d6c 100644 --- a/WinNUT_V2/WinNUT-Client/My Project/Resources.fr-FR.resx +++ b/WinNUT_V2/WinNUT-Client/My Project/Resources.fr-FR.resx @@ -104,4 +104,10 @@ Fichier Ini déplacé vers {0}.old ..\Resources\internetconnection.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\CopyHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\saveHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/WinNUT_V2/WinNUT-Client/My Project/Resources.resx b/WinNUT_V2/WinNUT-Client/My Project/Resources.resx index 04208ab..fdd332a 100644 --- a/WinNUT_V2/WinNUT-Client/My Project/Resources.resx +++ b/WinNUT_V2/WinNUT-Client/My Project/Resources.resx @@ -208,6 +208,9 @@ ..\Resources\Battery_Discharging.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\CopyHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Delete_LogFile_24x24.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -271,6 +274,30 @@ Remaining Time : {1} ..\Resources\internetconnection.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + Error encountered when saving UPS data to file: {0} + Alert the user to an error that occurred while saving to a file, puncuated to indicate that the error will follow. + + + Successfully saved UPS data to file: {0} + Notify the user that the UPS data was successfully saved to a file, and provide the location. + + + Save UPS Data to File + Title of Forms relating to saving the UPS data to a file. + + + Clipboard Error + Title of the error notification window that displays when an error is encountered setting the clipboard text. + + + Error encountered when copying UPS data to the Clipboard: {0} + Alert the user that there was a problem copying the UPS data to the clipboard, punctuated to indicate that the error will follow. + + + Successfully copied UPS data to the Clipboard. + Notify the user that the UPS data was copied to their Clipboard successfully. + Checking for update... Inform the user that WinNUT is checking for an update. @@ -319,6 +346,9 @@ Remaining Time : {1} ..\Resources\RepeatHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\saveHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + Save WinNUT Registry Key Title of the SaveFileDialog that prompts the user to select the file and location they would like to save their WinNUT Registry preferences to. diff --git a/WinNUT_V2/WinNUT-Client/My Project/Resources.ru-RU.resx b/WinNUT_V2/WinNUT-Client/My Project/Resources.ru-RU.resx index 89aa9e1..5284133 100644 --- a/WinNUT_V2/WinNUT-Client/My Project/Resources.ru-RU.resx +++ b/WinNUT_V2/WinNUT-Client/My Project/Resources.ru-RU.resx @@ -103,4 +103,10 @@ ..\Resources\internetconnection.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\CopyHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\saveHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/WinNUT_V2/WinNUT-Client/My Project/Resources.uk-UA.resx b/WinNUT_V2/WinNUT-Client/My Project/Resources.uk-UA.resx index 5efe837..96f6fe7 100644 --- a/WinNUT_V2/WinNUT-Client/My Project/Resources.uk-UA.resx +++ b/WinNUT_V2/WinNUT-Client/My Project/Resources.uk-UA.resx @@ -162,4 +162,10 @@ ..\Resources\internetconnection.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\CopyHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\saveHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/WinNUT_V2/WinNUT-Client/My Project/Resources.zh-CN.resx b/WinNUT_V2/WinNUT-Client/My Project/Resources.zh-CN.resx index b6e69f8..e5e4f2f 100644 --- a/WinNUT_V2/WinNUT-Client/My Project/Resources.zh-CN.resx +++ b/WinNUT_V2/WinNUT-Client/My Project/Resources.zh-CN.resx @@ -160,4 +160,10 @@ Ini 文件重命名为 {0}.old ..\Resources\internetconnection.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\CopyHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\saveHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/WinNUT_V2/WinNUT-Client/My Project/Resources.zh-TW.resx b/WinNUT_V2/WinNUT-Client/My Project/Resources.zh-TW.resx index 73d5f99..7c85684 100644 --- a/WinNUT_V2/WinNUT-Client/My Project/Resources.zh-TW.resx +++ b/WinNUT_V2/WinNUT-Client/My Project/Resources.zh-TW.resx @@ -102,4 +102,10 @@ ..\Resources\internetconnection.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\CopyHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\saveHS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/WinNUT_V2/WinNUT-Client/Resources/CopyHS.png b/WinNUT_V2/WinNUT-Client/Resources/CopyHS.png new file mode 100644 index 0000000..cb3d871 Binary files /dev/null and b/WinNUT_V2/WinNUT-Client/Resources/CopyHS.png differ diff --git a/WinNUT_V2/WinNUT-Client/Resources/saveHS.png b/WinNUT_V2/WinNUT-Client/Resources/saveHS.png new file mode 100644 index 0000000..5ca4d10 Binary files /dev/null and b/WinNUT_V2/WinNUT-Client/Resources/saveHS.png differ diff --git a/WinNUT_V2/WinNUT-Client/WinNUT-client.vbproj b/WinNUT_V2/WinNUT-Client/WinNUT-client.vbproj index 2851a25..4ba31a3 100644 --- a/WinNUT_V2/WinNUT-Client/WinNUT-client.vbproj +++ b/WinNUT_V2/WinNUT-Client/WinNUT-client.vbproj @@ -124,6 +124,7 @@ LocalIntranet + @@ -248,6 +249,7 @@ List_Var_Gui.vb + Designer List_Var_Gui.vb @@ -490,6 +492,12 @@ + + + + + +