X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/067b0de4391a32124aef23c56d73e2bb492df8ca..c12f8959dd2059b4ea9d45caf716923d7589cbb0:/app/assets/javascripts/index/note.js 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); } });