Browse Source

Maintenance: Update translatable source strings.

Martin Gruner 3 years ago
parent
commit
4186b0faaf

+ 1 - 1
app/assets/javascripts/app/controllers/ticket_zoom/article_action/email_reply.coffee

@@ -375,7 +375,7 @@ class EmailReply extends App.Controller
         buttonCancel: __('Cancel')
         buttonCancelClass: 'btn--danger'
         buttonSubmit: false
-        message: __('Need recipient in "To" or "Cc".')
+        message: __('Need recipient in "TO" or "CC".')
         shown: true
         small: true
         container: ui.el.closest('.content')

+ 1 - 1
app/assets/javascripts/app/models/overview.coffee

@@ -7,7 +7,7 @@ class App.Overview extends App.Model
     { name: 'link',       display: __('Link'),                readonly: 1 },
     { name: 'role_ids',   display: __('Available for the following roles'),    tag: 'column_select', multiple: true, null: false, relation: 'Role', translate: true },
     { name: 'user_ids',   display: __('Restrict to only the following users'), tag: 'column_select', multiple: true, null: true,  relation: 'User', sortBy: 'firstname' },
-    { name: 'organization_shared', display: __('Only available for Users with shared Organization'), tag: 'select', options: { true: 'yes', false: 'no' }, default: false, null: true },
+    { name: 'organization_shared', display: __('Only available for Users with shared Organizations'), tag: 'select', options: { true: 'yes', false: 'no' }, default: false, null: true },
     { name: 'out_of_office', display: __('Only available for Users which are replacements for other users.'), tag: 'select', options: { true: 'yes', false: 'no' }, default: false, null: true },
     { name: 'condition',  display: __('Conditions for shown Tickets'), tag: 'ticket_selector', null: false, out_of_office: true },
     { name: 'prio',       display: __('Prio'),                readonly: 1 },

+ 4 - 4
app/assets/javascripts/app/views/generic/object_import/import_try.jst.eco

@@ -4,16 +4,16 @@
 <p>
 <% if @result.stats: %>
   <%- @T('The test run was successful.') %>
-  <%- @T('The following changes are made:') %>
+  <%- @T('The following changes will be made:') %>
   <ul>
   <% if @result.stats.deleted isnt undefined: %>
-    <li><%- @T('%s object(s) are deleted.', @result.stats.deleted) %></li>
+    <li><%- @T('%s object(s) will be deleted.', @result.stats.deleted) %></li>
   <% end %>
   <% if @result.stats.created isnt undefined: %>
-    <li><%- @T('%s object(s) are created.', @result.stats.created) %></li>
+    <li><%- @T('%s object(s) will be created.', @result.stats.created) %></li>
   <% end %>
   <% if @result.stats.updated isnt undefined: %>
-    <li><%- @T('%s object(s) are updated.', @result.stats.updated) %></li>
+    <li><%- @T('%s object(s) will be updated.', @result.stats.updated) %></li>
   <% end %>
 <% end %>
 </p>

+ 1 - 1
app/assets/javascripts/app/views/generic/ticket_perform_action/webhook_not_available.jst.eco

@@ -1 +1 @@
-<div><%- @T('No available webhook, please create a new one or activate an existing one at "Manage > Webhook"') %></div>
+<div><%- @T('No webhook available, please create a new one or activate an existing one at "Manage > Webhook"') %></div>

+ 1 - 1
app/assets/javascripts/app/views/integration/cti.jst.eco

@@ -21,7 +21,7 @@
 
   <h2><%- @T('Inbound') %></h2>
 
-  <p><%- @T('Blocked caller IDs based on sender caller ID.') %>
+  <p><%- @T('Block caller IDs based on sender caller ID.') %>
 
   <div class="settings-entry">
     <table class="settings-list js-inboundBlockCallerId" style="width: 100%;">

+ 1 - 1
app/assets/javascripts/app/views/integration/placetel.jst.eco

@@ -37,7 +37,7 @@
 
   <h2><%- @T('Inbound') %></h2>
 
-  <p><%- @T('Blocked caller IDs based on sender caller ID.') %>
+  <p><%- @T('Block caller IDs based on sender caller ID.') %>
 
   <div class="settings-entry">
     <table class="settings-list js-inboundBlockCallerId" style="width: 100%;">

+ 1 - 1
app/assets/javascripts/app/views/integration/sipgate.jst.eco

@@ -24,7 +24,7 @@
 
   <h2><%- @T('Inbound') %></h2>
 
-  <p><%- @T('Blocked caller IDs based on sender caller ID.') %>
+  <p><%- @T('Block caller IDs based on sender caller ID.') %>
 
   <div class="settings-entry">
     <table class="settings-list js-inboundBlockCallerId" style="width: 100%;">

+ 4 - 6
app/assets/javascripts/application.js

@@ -254,13 +254,11 @@ jQuery.fn.extend( {
 
       var result;
       if ( val == null ) {
-
-        // be sure that also null values are transfered
+        // be sure that also null values are transferred
         // https://github.com/zammad/zammad/issues/944
-        if ( $elem.prop('multiple') ) {
-          result = { name: elem.name, value: null, type: type };
-        }
-        else {
+        if ($elem.prop('multiple')) {
+          result = { name: elem.name, value: null, type: type }
+        } else {
           result = null
         }
       }

+ 1 - 1
app/controllers/concerns/clones_ticket_article_attachments.rb

@@ -6,7 +6,7 @@ module ClonesTicketArticleAttachments
   private
 
   def article_attachments_clone(article)
-    raise Exceptions::UnprocessableEntity, __('Need form_id to attach attachments to new form.') if params[:form_id].blank?
+    raise Exceptions::UnprocessableEntity, __("Need 'form_id' to add attachments to new form.") if params[:form_id].blank?
 
     article.clone_attachments('UploadCache', params[:form_id], only_attached_attachments: true)
   end

+ 1 - 1
app/controllers/concerns/creates_ticket_articles.rb

@@ -13,7 +13,7 @@ module CreatesTicketArticles
     subtype = params.delete(:subtype)
 
     # check min. params
-    raise Exceptions::UnprocessableEntity, __('Need at least an article body field.') if params[:body].blank?
+    raise Exceptions::UnprocessableEntity, __("Need at least an 'article body' field.") if params[:body].blank?
 
     # fill default values
     if params[:type_id].blank? && params[:type].blank?

Some files were not shown because too many files changed in this diff