Browse Source

Maintenance: Mark strings as not translatable.

Martin Gruner 11 months ago
parent
commit
1f3c1ff293
2 changed files with 4 additions and 20 deletions
  1. 4 4
      db/seeds/settings.rb
  2. 0 16
      i18n/zammad.pot

+ 4 - 4
db/seeds/settings.rb

@@ -382,7 +382,7 @@ Setting.create_if_not_exists(
         tag:     'select',
         options: {
           ''                       => '-',
-          'Service::Image::Zammad' => __('Zammad Image Service'),
+          'Service::Image::Zammad' => 'Zammad Image Service', # rubocop:disable Zammad/DetectTranslatableString
         },
       },
     ],
@@ -409,7 +409,7 @@ Setting.create_if_not_exists(
         tag:     'select',
         options: {
           ''                       => '-',
-          'Service::GeoIp::Zammad' => __('Zammad GeoIP Service'),
+          'Service::GeoIp::Zammad' => 'Zammad GeoIP Service', # rubocop:disable Zammad/DetectTranslatableString
         },
       },
     ],
@@ -436,7 +436,7 @@ Setting.create_if_not_exists(
         tag:     'select',
         options: {
           ''                          => '-',
-          'Service::GeoLocation::Osm' => __('OpenStreetMap (ODbL 1.0, http://osm.org/copyright)'),
+          'Service::GeoLocation::Osm' => 'OpenStreetMap (ODbL 1.0, http://osm.org/copyright)', # rubocop:disable Zammad/DetectTranslatableString
         },
       },
     ],
@@ -463,7 +463,7 @@ Setting.create_if_not_exists(
         tag:     'select',
         options: {
           ''                             => '-',
-          'Service::GeoCalendar::Zammad' => __('Zammad GeoCalendar Service'),
+          'Service::GeoCalendar::Zammad' => 'Zammad GeoCalendar Service', # rubocop:disable Zammad/DetectTranslatableString
         },
       },
     ],

+ 0 - 16
i18n/zammad.pot

@@ -8958,10 +8958,6 @@ msgstr ""
 msgid "Open your authenticator app and scan the QR code below:"
 msgstr ""
 
-#: db/seeds/settings.rb
-msgid "OpenStreetMap (ODbL 1.0, http://osm.org/copyright)"
-msgstr ""
-
 #: app/frontend/apps/mobile/pages/ticket/components/TicketDetailView/TicketViewersDialog.vue
 msgid "Opened in tabs"
 msgstr ""
@@ -15481,22 +15477,10 @@ msgstr ""
 msgid "Zammad Foundation"
 msgstr ""
 
-#: db/seeds/settings.rb
-msgid "Zammad GeoCalendar Service"
-msgstr ""
-
-#: db/seeds/settings.rb
-msgid "Zammad GeoIP Service"
-msgstr ""
-
 #: db/seeds/settings.rb
 msgid "Zammad Helpdesk"
 msgstr ""
 
-#: db/seeds/settings.rb
-msgid "Zammad Image Service"
-msgstr ""
-
 #: lib/user_agent.rb
 msgid "Zammad User Agent"
 msgstr ""