Skip to content

Commit

Permalink
v1.5
Browse files Browse the repository at this point in the history
Added english support
  • Loading branch information
fedeturco committed Sep 12, 2023
1 parent 6ee79e7 commit 6408da4
Show file tree
Hide file tree
Showing 4 changed files with 198 additions and 5 deletions.
191 changes: 191 additions & 0 deletions ModBusServerConfigurator/Lang/EN.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,191 @@
{
"labels": {
"LabelSlavesTcp": "Slaves active on selected head:",
"LabelSlavesRtu": "Slaves active on selected head:",
"LabelSlavesProfiles": "Available slave profiles (drag & drop):",
"LabelCurrentLanguage": "Selected language:",
"LabelLanguageSettings": "Language",
"LabelLogInfo1": "Max line paragraphs. Terminal:",
"LabelLogInfo2": "Log is appended from to 1 to 10 lines each time depending the queue length of the console.",
"LabelConfigGenerale": "General configuration",
"LabelTimeoutPing": "Timeout ping raspberry [ms]:",
"LabelSettingsPortIpAddress": "IP address:",
"LabelSettingsPort": "Port:",
"LabelSettingsUsername": "Username:",
"LabelSettingsPassword": "Password:",
"LabelConfigRaspberry": "Linux target config:",
"LabelFileOperations": "Config files operation:",
"LabelProfileSLave": "Slave profile:",
"LabelCoilsLen": {
"label": "Len:",
"toolTip": "Number of coils activated on slave"
},
"LabelInputsLen": {
"label": "Len:",
"toolTip": "Number of inputs activated on slave"
},
"LabelInputRegisterLen": {
"label": "Len:",
"toolTip": "Number of input registers activated on slave"
},
"LabelHoldingRegisterLen": {
"label": "Len:",
"toolTip": "Number of holding registers activated on slave"
},
"LabelIdModbusSlave": "Slave ModBus ID:"
},
"radioButtons": {
"RadioButtonWindows": {
"toolTip": "Run on local windows"
},
"RadioButtonRaspberry": {
"toolTip": "Run on linux target (remote via ssh)"
}
},
"checkBoxes": {
"CheckBoxSubscribeLog": {
"label": "Open log automatically with connect (tail -f /var/log/modbus.log) "
},
"CheckBoxAddAddressEth0": {
"label": "Add eth0 IP address auto"
},
"CheckBoxDebug": {
"label": "Debug output"
},
"CheckBoxOpenSeparateWindow": {
"label": "Run script in separate window",
"toolTip": "Run script in separate window\n(on some PCs run the script in the same window may encounter som troubles).'"
},
"CheckBoxDisableAutoscroll": {
"label": "Disable Autoscroll"
},
"CheckBoxDisableRichTextBox": {
"label": "Disable log graphic (still visible in console)"
},
"CheckBoxSelectAllTcp": {
"label": "Select all",
"toolTip": "Enable/disable all TCP heads"
},
"CheckBoxSelectAllRtu": {
"label": "Select all",
"toolTip": "Enable/disable all RTU heads"
}
},
"buttons": {
"ButtonImportAllConfiguration": {
"toolTip": "Load configuration from .json file (overwrites actual configuration)"
},
"ButtonExportAllConfiguration": {
"toolTip": "Export configuration to file .json"
},
"ButtonUploadToRasperry": {
"label": ">> Copy on Raspberry >>"
},
"ButtonDownloadFromRaspberry": {
"label": "<< Download from Raspberry <<"
},
"ButtonNewProfile": {
"label": "New profile",
"toolTip": "Create new profile"
},
"ButtonRenameProfile": {
"label": "Rename profile",
"toolTip": "Rename selected profile"
},
"ButtonDuplicateProfile": {
"label": "Duplicate profile",
"toolTip": "Copy actual profile to a new one"
},
"ButtonImportProfile": {
"label": "Import profile",
"toolTip": "Import profile"
},
"ButtonExportProfile": {
"label": "Export profile",
"toolTip": "Export profile"
},
"ButtonDeleteProfile": {
"label": "Delete profile",
"toolTip": "Delete profile"
},
"ButtonStartLog": {
"label": "Start Log",
"toolTip": "Activate log realtime"
},
"ButtonClearTerminal": {
"label": "Clear",
"toolTip": "Clear log"
},
"ButtonClearTerminalSsh": {
"label": "Clear",
"toolTip": "Clear log"
},
"ButtonStartWindowsThread": {
"toolTip": "Start Modbus server (automatically saves actual configuration bero starting the server)"
},
"ButtonStopWindowsThread": {
"toolTip": "Stop Modbus server"
},
"ButtonRestartWindowsThread": {
"toolTip": "Restart Modbus server (Stop -> Save -> Start)"
},
"ButtonSaveWindows": {
"toolTip": "Save actual configuration"
},
"ButtonConnectLinux": {
"toolTip": "Connect through ssh"
},
"ButtonReadLinux": {
"toolTip": "Read configuration"
},
"ButtonWriteLinux": {
"toolTip": "Write configuration"
},
"ButtonStartService": {
"toolTip": "Start service"
},
"ButtonStopService": {
"toolTip": "Stop service"
},
"ButtonRestartService": {
"toolTip": "Restart service"
},
"ButtonPowerOffRaspberryConsole": {
"toolTip": "Power Off target linux"
}
},
"textBoxes": {
"TextBoxCoilsLen": {
"toolTip": "Number of coils activated on slave"
},
"TextBoxInputsLen": {
"toolTip": "Number of inputs activated on slave"
},
"TextBoxInputRegisterLen": {
"toolTip": "Number of input registers activated on slave"
},
"TextBoxHoldingRegisterLen": {
"toolTip": "Number of holding registers activated on slave"
},
"TextBoxDeviceId": {
"toolTip": "Insert multiple IDs separated by commas ','"
}
},
"textBlocks": {
},
"comboBoxes": {
"ComboBoxLanguage": {
"toolTip": "Selected Language"
}
},
"pictureBoxes": {
},
"tabItems": {
},
"menuItems": {
},
"toolTips": {
},
"strings": {
}
}
2 changes: 1 addition & 1 deletion ModBusServerConfigurator/Lang/IT.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
},
"comboBoxes": {
"ComboBoxLanguage": {
"toolTip": "Numero di registri istanziati sullo slave"
"toolTip": "Lingua selezionata"
}
},
"pictureBoxes": {
Expand Down
3 changes: 3 additions & 0 deletions ModBusServerConfigurator/ModBusServerConfigurator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Include="Lang\EN.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Lang\IT.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# ModBusServerConfigurator



## Release

### v1.4
https://github.com/Fedex1515/ModBusServerConfigurator/releases/download/1.4/ModBusServerConfigurator_v1.4.zip
### v1.5
https://github.com/Fedex1515/ModBusServerConfigurator/releases/download/1.5/ModBusServerConfigurator_v1.5.zip

Con la versione 1.4 l'applicativo nella versione su raspberry è stato spostato da /home/pi/ModBusServer a /etc/ModBusServer.
A partire dalla versione 1.4 l'applicativo nella versione su raspberry è stato spostato da /home/pi/ModBusServer a /etc/ModBusServer.

## Manuale

Expand Down

0 comments on commit 6408da4

Please sign in to comment.