What is the fastest way to apply i18n to Navigator add-on (v0.3)?
I’ve noted that Navigator.class, in
confirmedMoveToNewView
method has hardcoded string literals:
...
final Window wDialog = new Window("Warning", lo);
wDialog.setModal(true);
final Window main = getWindow();
main.addWindow(wDialog);
lo.addComponent(new Label(warn));
lo.addComponent(new Label(
"If you do not want to navigate away from the current screen, press Cancel."));
Button cancel = new Button("Cancel", new Button.ClickListener() {
public void buttonClick(ClickEvent event) {
uriFragmentUtil.setFragment(currentFragment, false);
main.removeWindow(wDialog);
}
});
Button cont = new Button("Continue", new Button.ClickListener() {
...
Thx in advance,