Browse Source

Maintenance: Improve wording of source strings.

Martin Gruner 1 year ago
parent
commit
2f08691b9f
2 changed files with 5 additions and 5 deletions
  1. 1 1
      app/models/ticket/time_accounting.rb
  2. 4 4
      i18n/zammad.pot

+ 1 - 1
app/models/ticket/time_accounting.rb

@@ -42,6 +42,6 @@ class Ticket::TimeAccounting < ApplicationModel
     return if ticket_article.blank?
     return if ticket_article.ticket_id == ticket_id
 
-    errors.add :ticket_article, __('Given Ticket Article is not part of the Ticket')
+    errors.add :ticket_article, __('This article is not part of the ticket.')
   end
 end

+ 4 - 4
i18n/zammad.pot

@@ -5543,10 +5543,6 @@ msgstr ""
 msgid "GitLab request failed! Please have a look at the log file for details"
 msgstr ""
 
-#: app/models/ticket/time_accounting.rb
-msgid "Given Ticket Article is not part of the Ticket"
-msgstr ""
-
 #: app/assets/javascripts/app/views/google/index.jst.eco
 #: app/assets/javascripts/app/views/google/list.jst.eco
 msgid "Gmail"
@@ -11835,6 +11831,10 @@ msgstr ""
 msgid "This PGP email was encrypted with a potentially unknown encryption algorithm."
 msgstr ""
 
+#: app/models/ticket/time_accounting.rb
+msgid "This article is not part of the ticket."
+msgstr ""
+
 #: lib/telegram_helper.rb
 msgid "This bot already exists."
 msgstr ""