]> git.openstreetmap.org Git - rails.git/commitdiff
Change "Close" button to "Resolve" in notes popup
authorTom Hughes <tom@compton.nu>
Tue, 5 Feb 2013 18:56:59 +0000 (18:56 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 5 Feb 2013 18:56:59 +0000 (18:56 +0000)
app/assets/javascripts/index/notes.js.erb
app/assets/javascripts/templates/notes/show.jst.ejs
config/locales/en.yml

index 3d6cd0a5f01c52ed38b5d95ce68b9eae330fcfcb..4594f1c782bf3fd1c692b2321c01459f012372fc 100644 (file)
@@ -145,10 +145,10 @@ $(document).ready(function () {
       var form = e.target.form;
 
       if ($(e.target).val() == "") {
-        $(form.close).val(I18n.t("javascripts.notes.show.close"));
+        $(form.close).val(I18n.t("javascripts.notes.show.resolve"));
         $(form.comment).prop("disabled", true);
       } else {
-        $(form.close).val(I18n.t("javascripts.notes.show.comment_and_close"));
+        $(form.close).val(I18n.t("javascripts.notes.show.comment_and_resolve"));
         $(form.comment).prop("disabled", false);
       }
     });
index e60971884dcd0f07147f5dcfe2247f26dfe1917d..aa98220f4f362c4f6b191674b71b9fe374a1d351 100644 (file)
@@ -25,7 +25,7 @@
     <textarea class="comment" name="text" cols="40" rows="5"></textarea>
     <br/>
     <div class="buttons">
-      <input type="submit" name="close" value="<%- I18n.t('javascripts.notes.show.close') %>" data-url="<%- note.close_url %>">
+      <input type="submit" name="close" value="<%- I18n.t('javascripts.notes.show.resolve') %>" data-url="<%- note.close_url %>">
       <input type="submit" name="comment" value="<%- I18n.t('javascripts.notes.show.comment') %>" data-url="<%- note.comment_url %>" disabled="1">
     </div>
   </form>
index 3161dc3813fab6c9d7cd25e39ae020d0908eed79..0679e13250f2240b7ed72fd7e825df74a01ee975 100644 (file)
@@ -2041,8 +2041,8 @@ en:
         closed_by_anonymous: "resolved by anonymous at %{time}"
         reopened_by: "reactivated by <a href='%{user_url}'>%{user}</a> at %{time}"
         reopened_by_anonymous: "reactivated by anonymous at %{time}"
-        close: Close
-        comment_and_close: Comment & Close
+        resolve: Resolve
+        comment_and_resolve: Comment & Resolve
         comment: Comment
   redaction:
     edit: