<commit_before>-load i18n

.modal-header.no-border
  %h3.modal-title
    - trans "Reply"

.modal-body{ ng-init:'init({{ user_is_faq_only|yesno:"true,false" }})' }
  %p{ ng-if:'sendToMany' }
    - trans "Send the following reply to the selected message(s). This will remove the message(s) from your inbox to Archived."
  %p{ ng-if:'!sendToMany' }
    - trans "Send the following reply. This will archive this message removing it from your Inbox."

  %p{ ng-if:'faqOnly && replies.length > 0' }
    - trans "Please select one of the following FAQ replies."
  .alert.alert-danger{ ng-if:'faqOnly && replies.length == 0' }
    - trans "There are no pre-approved replies. Please contact your administrator."
  %p{ ng-if:'!faqOnly && replies.length > 0' }
    - trans "You may select one of the following FAQ replies or enter a custom message below."

  %form{ name:"form", novalidate:"" }
    .form-group{ ng-if:"replies.length > 0" }
      .search-toolbar.clearfix
        .pull-back
          %input.form-control{ type:"text", placeholder:'Label or keyword', ng-model:'searchFaqs', style:"width: 250px" }
        .pull-away
          .btn-group{ uib-dropdown:"true" }
            %button.btn.btn-default.dropdown-toggle{ type:"button", uib-dropdown-toggle:"true" }
              [[lang]]
              %span.caret
            %ul.dropdown-menu
              %li{ ng-repeat:'language in languages' }
                %a{ ng-click:"filterByLanguage(language)" }
                  [[language.name]]<commit_msg>Use 'pre-approved replies' rather than 'FAQ replies' for clarity to regular users<commit_after>-load i18n

.modal-header.no-border
  %h3.modal-title
    - trans "Reply"

.modal-body{ ng-init:'init({{ user_is_faq_only|yesno:"true,false" }})' }
  %p{ ng-if:'sendToMany' }
    - trans "Send the following reply to the selected message(s). This will remove the message(s) from your inbox to Archived."
  %p{ ng-if:'!sendToMany' }
    - trans "Send the following reply. This will archive this message removing it from your Inbox."

  %p{ ng-if:'faqOnly && replies.length > 0' }
    - trans "Please select one of the following pre-approved replies."
  .alert.alert-danger{ ng-if:'faqOnly && replies.length == 0' }
    - trans "There are no pre-approved replies. Please contact your administrator."
  %p{ ng-if:'!faqOnly && replies.length > 0' }
    - trans "You may select one of the following pre-approved replies or enter a custom message below."

  %form{ name:"form", novalidate:"" }
    .form-group{ ng-if:"replies.length > 0" }
      .search-toolbar.clearfix
        .pull-back
          %input.form-control{ type:"text", placeholder:'Label or keyword', ng-model:'searchFaqs', style:"width: 250px" }
        .pull-away
          .btn-group{ uib-dropdown:"true" }
            %button.btn.btn-default.dropdown-toggle{ type:"button", uib-dropdown-toggle:"true" }
              [[lang]]
              %span.caret
            %ul.dropdown-menu
              %li{ ng-repeat:'language in languages' }
                %a{ ng-click:"filterByLanguage(language)" }
                  [[language.name]]
{'fraction_non_alphanumeric': 0.14262613195342821, 'fraction_numerical': 0.00646830530401035, 'mean_word_length': 2.740024183796856, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5432301', 'n_tokens_mistral': 1006, 'n_tokens_neox': 948, 'n_words': 262}