Skip to content

Commit 190e84a

Browse files
committed
Removed useless translation
1 parent a1e43ce commit 190e84a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/src/processing/app/UpdateCheck.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
*/
5252
public class UpdateCheck implements Runnable {
5353
Base base;
54-
String downloadURL = tr("https://www.arduino.cc/latest.txt");
5554

5655
static final long ONE_DAY = 24 * 60 * 60 * 1000;
5756

@@ -87,7 +86,7 @@ public void run() {
8786
System.getProperty("os.version") + "\t" +
8887
System.getProperty("os.arch"), "UTF-8");
8988

90-
int latest = readInt(downloadURL + "?" + info);
89+
int latest = readInt("https://www.arduino.cc/latest.txt?" + info);
9190

9291
String lastString = PreferencesData.get("update.last");
9392
long now = System.currentTimeMillis();
@@ -116,7 +115,7 @@ public void run() {
116115
options,
117116
options[0]);
118117
if (result == JOptionPane.YES_OPTION) {
119-
Base.openURL(tr("https://www.arduino.cc/en/Main/Software"));
118+
Base.openURL("https://www.arduino.cc/en/Main/Software");
120119
}
121120
}
122121
}

0 commit comments

Comments
 (0)