X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/59ac72b2137cbe8bf7333948b641e6e339de3bb1..75a4d406b9e8471c0fe0ebf2a47d47f0ae36289a:/app/assets/javascripts/index/note.js?ds=inline diff --git a/app/assets/javascripts/index/note.js b/app/assets/javascripts/index/note.js index e5eb3a041..e7790c904 100644 --- a/app/assets/javascripts/index/note.js +++ b/app/assets/javascripts/index/note.js @@ -60,10 +60,10 @@ OSM.Note = function (map) { var form = e.target.form; if ($(e.target).val() === "") { - $(form.close).val(I18n.t("javascripts.notes.show.resolve")); + $(form.close).val($(form.close).data("defaultActionText")); $(form.comment).prop("disabled", true); } else { - $(form.close).val(I18n.t("javascripts.notes.show.comment_and_resolve")); + $(form.close).val($(form.close).data("commentActionText")); $(form.comment).prop("disabled", false); } });