Skip to content

Commit 190eb8f

Browse files
ReAlUAcmaglie
authored andcommitted
IDE: call translation function for lastLibType
In menu Sketch/Include Library/ library types (Arduino|Recommended|Contributed) are not translated into selected «Editor language» although types are translated in .po files.
1 parent e69ce9c commit 190eb8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/processing/app/Base.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@ public void actionPerformed(ActionEvent e) {
11031103
importMenu.addSeparator();
11041104
}
11051105
lastLibType = lib.getTypes().get(0);
1106-
JMenuItem platformItem = new JMenuItem(I18n.format(tr("{0} libraries"), lastLibType));
1106+
JMenuItem platformItem = new JMenuItem(I18n.format(tr("{0} libraries"), tr(lastLibType)));
11071107
platformItem.setEnabled(false);
11081108
importMenu.add(platformItem);
11091109
}

0 commit comments

Comments
 (0)