diff --git a/app/src/cc/arduino/contributions/ContributionsSelfCheck.java b/app/src/cc/arduino/contributions/ContributionsSelfCheck.java index 83491108e..176049944 100644 --- a/app/src/cc/arduino/contributions/ContributionsSelfCheck.java +++ b/app/src/cc/arduino/contributions/ContributionsSelfCheck.java @@ -14,7 +14,7 @@ import javax.swing.*; import javax.swing.event.HyperlinkListener; import java.util.TimerTask; -import static processing.app.I18n._; +import static processing.app.I18n.tr; public class ContributionsSelfCheck extends TimerTask { @@ -59,11 +59,11 @@ public class ContributionsSelfCheck extends TimerTask { String text; if (updatableLibraries > 0 && updatablePlatforms <= 0) { - text = I18n.format(_("
Update available for some of your {0}libraries{1}"), "", ""); + text = I18n.format(tr("
Update available for some of your {0}libraries{1}"), "", ""); } else if (updatableLibraries <= 0 && updatablePlatforms > 0) { - text = I18n.format(_("
Update available for some of your {0}boards{1}"), "", ""); + text = I18n.format(tr("
Update available for some of your {0}boards{1}"), "", ""); } else { - text = I18n.format(_("
Update available for some of your {0}boards{1} and {2}libraries{3}"), "", "", "", ""); + text = I18n.format(tr("
Update available for some of your {0}boards{1} and {2}libraries{3}"), "", "", "", ""); } if (cancelled) {