Просмотр исходного кода

Maintenance: Desktop - Improve translation sources.

Dusan Vuckovic 1 год назад
Родитель
Сommit
ca3ed29c20

+ 3 - 3
app/frontend/apps/desktop/entities/channel-email/composables/useEmailInboundMessagesForm.ts

@@ -85,17 +85,17 @@ export const useEmailInboundMessagesForm = (
             {
               if: '$metaInformationInbound.archivePossible === true',
               name: 'importAs',
-              label: __('Import as'),
+              label: __('Email import mode'),
               type: 'select',
               value: 'false',
               options: [
                 {
                   value: 'true',
-                  label: __('archive'),
+                  label: __('Import as archive'),
                 },
                 {
                   value: 'false',
-                  label: __('regular'),
+                  label: __('Import as regular'),
                 },
               ],
             },

+ 2 - 1
app/frontend/apps/desktop/pages/guided-setup/__tests__/guided-setup-manual-channel-email.spec.ts

@@ -425,8 +425,9 @@ describe('guided setup manual channel email', () => {
       )
 
       expect(
-        getByLabelText(inboundMessagesForm, 'Import as'),
+        getByLabelText(inboundMessagesForm, 'Email import mode'),
       ).toBeInTheDocument()
+
       expect(view.getByRole('button', { name: 'Continue' })).toBeInTheDocument()
     })
 

+ 9 - 9
i18n/zammad.pot

@@ -4689,6 +4689,10 @@ msgstr ""
 msgid "Email could not be verified. Please contact your administrator."
 msgstr ""
 
+#: app/frontend/apps/desktop/entities/channel-email/composables/useEmailInboundMessagesForm.ts
+msgid "Email import mode"
+msgstr ""
+
 #: app/assets/javascripts/app/controllers/_channel/email.coffee
 #: app/assets/javascripts/app/controllers/getting_started/channel_email.coffee
 #: app/frontend/apps/desktop/entities/channel-email/composables/useEmailChannelConfiguration.ts
@@ -6422,7 +6426,7 @@ msgid "Import User for requesting the Zendesk API"
 msgstr ""
 
 #: app/frontend/apps/desktop/entities/channel-email/composables/useEmailInboundMessagesForm.ts
-msgid "Import as"
+msgid "Import as archive"
 msgstr ""
 
 #: app/assets/javascripts/app/views/channel/email_account_wizard.jst.eco
@@ -6431,6 +6435,10 @@ msgstr ""
 msgid "Import as archive: |No notifications are sent|, the |tickets are closed|, and original timestamps are used. You can still find them in Zammad using the search."
 msgstr ""
 
+#: app/frontend/apps/desktop/entities/channel-email/composables/useEmailInboundMessagesForm.ts
+msgid "Import as regular"
+msgstr ""
+
 #: app/assets/javascripts/app/views/channel/email_account_wizard.jst.eco
 #: app/assets/javascripts/app/views/getting_started/email.jst.eco
 #: app/frontend/apps/desktop/entities/channel-email/composables/useEmailInboundMessagesForm.ts
@@ -14969,10 +14977,6 @@ msgstr ""
 msgid "and"
 msgstr ""
 
-#: app/frontend/apps/desktop/entities/channel-email/composables/useEmailInboundMessagesForm.ts
-msgid "archive"
-msgstr ""
-
 #: app/assets/javascripts/app/controllers/knowledge_base/content_can_be_published_form.coffee
 msgid "archived"
 msgstr ""
@@ -15915,10 +15919,6 @@ msgstr ""
 msgid "recovery codes"
 msgstr ""
 
-#: app/frontend/apps/desktop/entities/channel-email/composables/useEmailInboundMessagesForm.ts
-msgid "regular"
-msgstr ""
-
 #: app/assets/javascripts/app/controllers/_ui_element/_application_action.coffee
 msgid "relative"
 msgstr ""