Skip to content

Commit

Permalink
fixed missing translation
Browse files Browse the repository at this point in the history
  • Loading branch information
i-make-robots committed Jun 3, 2024
1 parent ffe00e8 commit 82eeb6b
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.marginallyclever</groupId>
<artifactId>Makelangelo</artifactId>
<version>7.55.5</version>
<version>7.55.6</version>
<name>Makelangelo</name>
<description>Makelangelo Software is a Java program that prepares art for CNC plotters. It is especially designed for the Makelangelo Robot.
It pairs really well with Marlin-polargraph, the code in the brain of the robot that receives instructions and moves the motors.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ public static void main(String[] args) throws IOException {
downloadAVRDude(getArch());
}


/**
* Download AVRDude for the current OS architecture.
* @return the path to the extracted avrdude executable.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@ private void run(ActionEvent evt, String name) {

logger.debug("finding avrdude file...");
if(!firmwareUploader.findAVRDude()) {
JOptionPane.showMessageDialog(this,Translator.get("FirmwareUploaderPanel.avrdudeNotFound"),title,JOptionPane.ERROR_MESSAGE);
JOptionPane.showMessageDialog(this,Translator.get("FirmwareUploaderPanel.notFound",new String[]{"avrdude"}),title,JOptionPane.ERROR_MESSAGE);
return;
}

logger.debug("finding conf file...");
if(!firmwareUploader.findConf()) {
JOptionPane.showMessageDialog(this,Translator.get("FirmwareUploaderPanel.confNotFound"),title,JOptionPane.ERROR_MESSAGE);
JOptionPane.showMessageDialog(this,Translator.get("FirmwareUploaderPanel.notFound",new String []{"avrdude.conf"}),title,JOptionPane.ERROR_MESSAGE);
return;
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/languages/arabic.xml
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@
<string><key>FirmwareUploaderPanel.startM5</key><value>M5</value></string>
<string><key>FirmwareUploaderPanel.startHuge</key><value>ضخم</value></string>
<string><key>FirmwareUploaderPanel.avrdudeNotDownloaded</key><value>AVRDude لم يتم تنزيل</value></string>
<string><key>FirmwareUploaderPanel.confNotFound</key><value>AVRDude.conf لا يمكن إيجاد</value></string>
<string><key>FirmwareUploaderPanel.notFound</key><value>لا يمكن إيجاد %1</value></string>
<string><key>FirmwareUploaderPanel.failed</key><value>فشل تحميل البرنامج</value></string>
<string><key>FirmwareUploaderPanel.noPortSelected</key><value>لم يتم إختيار منفذ</value></string>
<string><key>FirmwareUploaderPanel.downloadFailed</key><value>فشل التنزيل</value></string>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/languages/english.xml
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@
<string><key>FirmwareUploaderPanel.startM5</key><value>M5</value></string>
<string><key>FirmwareUploaderPanel.startHuge</key><value>Huge</value></string>
<string><key>FirmwareUploaderPanel.avrdudeNotDownloaded</key><value>AVRDude not downloaded.</value></string>
<string><key>FirmwareUploaderPanel.confNotFound</key><value>AVRDude.conf not found.</value></string>
<string><key>FirmwareUploaderPanel.notFound</key><value>%1 not found.</value></string>
<string><key>FirmwareUploaderPanel.failed</key><value>Firmware upload failed.</value></string>
<string><key>FirmwareUploaderPanel.noPortSelected</key><value>No port selected.</value></string>
<string><key>FirmwareUploaderPanel.downloadFailed</key><value>Download failed</value></string>
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/languages/german.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2394,9 +2394,9 @@
<hint>[AVRDude not downloaded.]</hint>
</string>
<string>
<key>FirmwareUploaderPanel.confNotFound</key>
<value>AVRDude.conf nicht gefunden.</value>
<hint>[AVRDude.conf not found.]</hint>
<key>FirmwareUploaderPanel.notFound</key>
<value>%1 nicht gefunden.</value>
<hint>[file not found.]</hint>
</string>
<string>
<key>FirmwareUploaderPanel.failed</key>
Expand Down

0 comments on commit 82eeb6b

Please sign in to comment.