Fragment/Tile: Make success/error messages translatable

Signed-off-by: Samuel Holland <samuel@sholland.org>
This commit is contained in:
Samuel Holland
2018-01-08 20:30:03 -06:00
parent 6361628e16
commit 710ffc7bb3
8 changed files with 102 additions and 74 deletions
@@ -55,7 +55,7 @@ public final class WgQuickBackend implements Backend {
try {
if (rootShell.run(output, "wg show interfaces") != 0 || output.isEmpty())
return Collections.emptySet();
} catch (Exception e) {
} catch (final Exception ignored) {
return Collections.emptySet();
}
// wg puts all interface names on the same line. Split them into separate elements.