Просмотр исходного кода

Updated semantics in report view.

Ralfp 12 лет назад
Родитель
Сommit
2e5c3545ca
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      templates/cranefly/reports/thread.html

+ 5 - 5
templates/cranefly/reports/thread.html

@@ -289,28 +289,28 @@
     $(function () {
       $('#thread_form').submit(function() {
         if ($('#id_thread_action').val() == 'hard') {
-          var decision = confirm("{% trans %}Are you sure you want to delete this thread? This action is not reversible!{% endtrans %}");
+          var decision = confirm("{% trans %}Are you sure you want to delete this report? This action is not reversible!{% endtrans %}");
           return decision;
         }
         return true;
       });
       $('#posts_form').submit(function() {
         if ($('.post-checkbox[]:checked').length == 0) {
-          alert("{% trans %}You have to select at least one post.{% endtrans %}");
+          alert("{% trans %}You have to select at least one comment.{% endtrans %}");
           return false;
         }
         if ($('#id_list_action').val() == 'hard') {
-          var decision = confirm("{% trans %}Are you sure you want to delete selected posts? This action is not reversible!{% endtrans %}");
+          var decision = confirm("{% trans %}Are you sure you want to delete selected comments? This action is not reversible!{% endtrans %}");
           return decision;
         }
         return true;
       });
       $('.prompt-delete-thread').submit(function() {
-          var decision = confirm("{% trans %}Are you sure you want to delete this thread?{% endtrans %}");
+          var decision = confirm("{% trans %}Are you sure you want to delete this report?{% endtrans %}");
           return decision;
       });
       $('.prompt-delete-post').submit(function() {
-          var decision = confirm("{% trans %}Are you sure you want to delete this post?{% endtrans %}");
+          var decision = confirm("{% trans %}Are you sure you want to delete this comment?{% endtrans %}");
           return decision;
       });
       $('.prompt-delete-checkpoint').submit(function() {