From 2fc02a901280f601ad72fa2564b07e08dc1b2bdc Mon Sep 17 00:00:00 2001 From: Martin Gruner Date: Mon, 7 Mar 2022 14:12:33 +0100 Subject: [PATCH] Maintenance: Remove unneeded strings from translation catalog. --- .../_application_controller/table.coffee | 14 +++++++------- i18n/zammad.pot | 19 ------------------- 2 files changed, 7 insertions(+), 26 deletions(-) diff --git a/app/assets/javascripts/app/controllers/_application_controller/table.coffee b/app/assets/javascripts/app/controllers/_application_controller/table.coffee index 6144ec66b..4de457cb3 100644 --- a/app/assets/javascripts/app/controllers/_application_controller/table.coffee +++ b/app/assets/javascripts/app/controllers/_application_controller/table.coffee @@ -28,7 +28,7 @@ # add new header item attribute = name: 'some name' - display: __('Some Name') + display: 'Some Name' headers.push attribute console.log('new header is', headers) headers @@ -78,12 +78,12 @@ el: element overview: ['time', 'area', 'level', 'browser', 'location', 'data'] attribute_list: [ - { name: 'time', display: __('Time'), tag: 'datetime' }, - { name: 'area', display: __('Area'), type: 'text' }, - { name: 'level', display: __('Level'), type: 'text' }, - { name: 'browser', display: __('Browser'), type: 'text' }, - { name: 'location', display: __('Location'), type: 'text' }, - { name: 'data', display: __('Data'), type: 'text' }, + { name: 'time', display: 'Time', tag: 'datetime' }, + { name: 'area', display: 'Area', type: 'text' }, + { name: 'level', display: 'Level', type: 'text' }, + { name: 'browser', display: 'Browser', type: 'text' }, + { name: 'location', display: 'Location', type: 'text' }, + { name: 'data', display: 'Data', type: 'text' }, ] objects: data ) diff --git a/i18n/zammad.pot b/i18n/zammad.pot index 6897e564b..2f595d9d6 100644 --- a/i18n/zammad.pot +++ b/i18n/zammad.pot @@ -856,10 +856,6 @@ msgstr "" msgid "Are you sure?" msgstr "" -#: app/assets/javascripts/app/controllers/_application_controller/table.coffee -msgid "Area" -msgstr "" - #: app/assets/javascripts/app/controllers/_ui_element/_application_selector.coffee #: app/assets/javascripts/app/controllers/_ui_element/ticket_perform_action.coffee msgid "Article" @@ -1219,7 +1215,6 @@ msgstr "" msgid "Branding" msgstr "" -#: app/assets/javascripts/app/controllers/_application_controller/table.coffee #: app/assets/javascripts/app/views/session.jst.eco msgid "Browser" msgstr "" @@ -2367,10 +2362,6 @@ msgstr "" msgid "Dashboard" msgstr "" -#: app/assets/javascripts/app/controllers/_application_controller/table.coffee -msgid "Data" -msgstr "" - #: app/assets/javascripts/app/controllers/data_privacy.coffee #: app/assets/javascripts/app/views/data_privacy/index.jst.eco #: db/seeds/permissions.rb @@ -5462,10 +5453,6 @@ msgstr "" msgid "Layout" msgstr "" -#: app/assets/javascripts/app/controllers/_application_controller/table.coffee -msgid "Level" -msgstr "" - #: app/assets/javascripts/app/views/profile/notification.jst.eco msgid "Limit Groups" msgstr "" @@ -5588,7 +5575,6 @@ msgstr "" msgid "Locale not found" msgstr "" -#: app/assets/javascripts/app/controllers/_application_controller/table.coffee #: app/assets/javascripts/app/views/profile/devices.jst.eco #: app/assets/javascripts/app/views/session.jst.eco msgid "Location" @@ -8379,10 +8365,6 @@ msgstr "" msgid "Solution Time" msgstr "" -#: app/assets/javascripts/app/controllers/_application_controller/table.coffee -msgid "Some Name" -msgstr "" - #: app/assets/javascripts/app/views/translation/index.jst.eco msgid "Some Text" msgstr "" @@ -9357,7 +9339,6 @@ msgstr "" msgid "Till" msgstr "" -#: app/assets/javascripts/app/controllers/_application_controller/table.coffee #: app/assets/javascripts/app/views/cti/caller_log.jst.eco #: app/assets/javascripts/app/views/generic/sla_times.jst.eco msgid "Time"