Browse Source

Maintenance: Improved source strings and run translation toolchain.

Martin Gruner 2 years ago
parent
commit
32adef5055

+ 2 - 2
app/assets/javascripts/app/views/data_privacy/tasks.jst.eco

@@ -25,7 +25,7 @@
         <% if task.preferences.error: %> (<%= task.preferences.error %>)<% end %>
       </div>
       <div class="action-block action-block--flex">
-        <div class="label"><%- @T('Deleted tickets (%s in total)', task.preferences.customer_tickets.length) %>:</div>
+        <div class="label"><%- @T('Deleted tickets (%s in total):', task.preferences.customer_tickets.length) %></div>
         <div class="ticket-list">
       <% if task.preferences.customer_tickets.length > 0: %>
         <%= task.preferences.customer_tickets.slice(0, 50).join(', ') %><% if task.preferences.customer_tickets.length > 50: %>, ... <br><div href="#" class="btn btn--text js-toggle-tickets" data-type="customer_tickets" data-id="<%= task.id %>"><%- @T('See more') %></div><% end %>
@@ -34,7 +34,7 @@
       <% end %>
         </div>
         <br><br>
-        <div class="label"><%- @T('Previously owned tickets (%s in total)', task.preferences.owner_tickets.length) %>:</div>
+        <div class="label"><%- @T('Previously owned tickets (%s in total):', task.preferences.owner_tickets.length) %></div>
         <div class="ticket-list">
       <% if task.preferences.owner_tickets.length > 0: %>
         <%= task.preferences.owner_tickets.slice(0, 50).join(', ') %><% if task.preferences.owner_tickets.length > 50: %>, ... <br><div href="#" class="btn btn--text js-toggle-tickets" data-type="owner_tickets" data-id="<%= task.id %>"><%- @T('See more') %></div><% end %>

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

@@ -2,7 +2,7 @@
 
   <h2><%- @T('Endpoint Settings') %></h2>
 
-  <p><%- @T('You need to configure the Zammad endpoints in the %s', 'PBX') %>:<p>
+  <p><%- @T('You need to configure the Zammad endpoints in the %s:', 'PBX') %><p>
 
   <div class="settings-entry">
     <table class="settings-list" style="width: 100%;">

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

@@ -2,7 +2,7 @@
 
   <h2><%- @T('Endpoint Settings') %></h2>
 
-  <p><%- @T('You need to configure the Zammad endpoints in the %s web interface', 'Placetel') %>:<p>
+  <p><%- @T('You need to configure the Zammad endpoints in the %s web interface:', 'Placetel') %><p>
 
   <div class="settings-entry">
     <table class="settings-list" style="width: 100%;">
@@ -19,7 +19,7 @@
     </table>
   </div>
 
-  <p><%- @T('In order for Zammad to access %s, the %s API token must be stored here', 'Placetel', 'Placetel') %>:<p>
+  <p><%- @T('In order for Zammad to access %s, the %s API token must be stored here:', 'Placetel', 'Placetel') %><p>
   <div class="settings-entry">
     <table class="settings-list" style="width: 100%;">
       <thead>

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

@@ -2,7 +2,7 @@
 
   <h2><%- @T('Endpoint Settings') %></h2>
 
-  <p><%- @T('You need to configure the Zammad endpoints in the %s web interface', 'Sipgate') %>:<p>
+  <p><%- @T('You need to configure the Zammad endpoints in the %s web interface:', 'Sipgate') %><p>
 
   <div class="settings-entry">
     <table class="settings-list" style="width: 100%;">

+ 2 - 2
app/assets/javascripts/app/views/settings/storage_provider.jst.eco

@@ -3,12 +3,12 @@
   <p class="help-text"><%- @T('You can switch between the backend for new attachments even on a system that is already in production without any loss of data.') %></p>
   <p class="help-text"><%- @T('If you want to move already stored attachments from one backend to another, you need to execute the following via console.') %></p>
   </p>
-  <p class="help-text"><%- @T('Move all from "%s" to "%s"', 'filesystem', 'database') %>:</p>
+  <p class="help-text"><%- @T('Move all from "%s" to "%s":', 'filesystem', 'database') %></p>
   </p>
   <code>
   rails&gt; Store::File.move('File', 'DB')
   </code>
-  <p class="help-text"><%- @T('Move all from "%s" to "%s"', 'database', 'filesystem') %>:</p>
+  <p class="help-text"><%- @T('Move all from "%s" to "%s":', 'database', 'filesystem') %></p>
   </p>
   <code>
   rails&gt; Store::File.move('DB', 'File')

+ 9 - 0
app/views/slack/ticket_create/sv.md.erb

@@ -0,0 +1,9 @@
+# #{ticket.title}
+_<#{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id}|Ticket##{ticket.number}>: Skapad av #{current_user.longname} på #{ticket.updated_at}_
+* Grupp: #{ticket.group.name}
+* Ägare: #{ticket.owner.fullname}
+* Status: #{t(ticket.state.name)}
+
+<% if @objects[:article] %>
+#{article.body_as_text}
+<% end %>

+ 7 - 0
app/views/slack/ticket_escalation/sv.md.erb

@@ -0,0 +1,7 @@
+# #{ticket.title}
+_<#{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id}|Ticket##{ticket.number}>: Eskalerad vid #{ticket.escalation_at}_
+Ärendet (#{ticket.title}) från "#{ticket.customer.longname}" har eskalerats sedan "#{ticket.escalation_at}"!
+
+<% if @objects[:article] %>
+#{article.body_as_text}
+<% end %>

+ 7 - 0
app/views/slack/ticket_escalation_warning/sv.md.erb

@@ -0,0 +1,7 @@
+# #{ticket.title}
+_<#{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id}|Ärende##{ticket.number}>: Kommer att eskaleras vid #{ticket.escalation_at}_
+Ärendet (#{ticket.title}) från "#{ticket.customer.longname}" kommer att eskaleras vid "#{ticket.escalation_at}"!
+
+<% if @objects[:article] %>
+#{article.body_as_text}
+<% end %>

+ 7 - 0
app/views/slack/ticket_reminder_reached/sv.md.erb

@@ -0,0 +1,7 @@
+# #{ticket.title}
+_<#{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id}|Ticket##{ticket.number}>: Påminnelse uppnådd!_
+Åtgärd behövs: påminnelse uppnådd för (#{ticket.title}) med kund "*#{ticket.customer.longname}*".
+
+<% if @objects[:article] %>
+#{article.body_as_text}
+<% end %>

+ 11 - 0
app/views/slack/ticket_update/sv.md.erb

@@ -0,0 +1,11 @@
+# #{ticket.title}
+_<#{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id}|Ärende##{ticket.number}>: Uppdaterad av #{current_user.longname} vid #{ticket.updated_at}_
+<% if @objects[:changes].present? %>
+  <% @objects[:changes].each do |key, value| %>
+  * <%= t key %>: <%= h value[0] %> -> <%= h value[1] %>
+  <% end %>
+<% end %>
+
+<% if @objects[:article] %>
+#{article.body_as_text}
+<% end %>

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