Changeset 700c843


Ignore:
Timestamp:
Nov 22, 2017 3:55:19 PM (3 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
2a279582
Parents:
d28220c
Message:

i2psnark: Fix nbsp in logs on config change (ticket #2082)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/java/src/org/klomp/snark/SnarkManager.java

    rd28220c r700c843  
    10231023                            changed = true;
    10241024                            _config.setProperty(PROP_STARTUP_DELAY, Integer.toString(minutes));
    1025                             addMessage(_t("Startup delay changed to {0}", DataHelper.formatDuration2(minutes * (60L * 1000))));
     1025                            addMessageNoEscape(_t("Startup delay changed to {0}", DataHelper.formatDuration2(minutes * (60L * 1000))));
    10261026                }
    10271027        }
     
    10341034                    _config.setProperty(PROP_REFRESH_DELAY, Integer.toString(secs));
    10351035                    if (secs >= 0)
    1036                         addMessage(_t("Refresh time changed to {0}", DataHelper.formatDuration2(secs * 1000)));
     1036                        addMessageNoEscape(_t("Refresh time changed to {0}", DataHelper.formatDuration2(secs * 1000)));
    10371037                    else
    10381038                        addMessage(_t("Refresh disabled"));
Note: See TracChangeset for help on using the changeset viewer.