*/
public void run()
{
+ // TODO: Maybe this can be speeded up so that it just finds the tilesets first and then gets the details later
// Check if directory has anything in it
_model = new TileCacheModel(_cacheDir);
_model.buildTileSets();
if (totalDeleted > 0)
{
// Show confirmation message
- JOptionPane.showMessageDialog(_dialog, I18nManager.getText("dialog.diskcache.deleted1")
- + " " + totalDeleted + " " + I18nManager.getText("dialog.diskcache.deleted2"),
+ JOptionPane.showMessageDialog(_dialog, I18nManager.getTextWithNumber("dialog.diskcache.deleted", totalDeleted),
I18nManager.getText(getNameKey()), JOptionPane.INFORMATION_MESSAGE);
// reload model
_cards.first(_cardPanel);