# -- # Copyright (C) 2001-2019 OTRS AG, https://otrs.com/ # -- # This software comes with ABSOLUTELY NO WARRANTY. For details, see # the enclosed file COPYING for license information (GPL). If you # did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt. # --

[% Translate( "GenericInterface Web Service Management" ) | html %]

[% USE WebserviceLink = String( "AdminGenericInterfaceWebservice;Subaction=Change;WebserviceID=" ) %] [% USE ActionName = String( Data.ActionType ) %] [% USE ActionLink = String( Data.ActionFrontendModule ) %] [% BreadcrumbPath = [ { Name => Translate( 'Web Service Management' ), Link => 'AdminGenericInterfaceWebservice', }, { Name => Data.WebserviceName, Link => WebserviceLink.append( Data.WebserviceID ), }, { Name => ActionName.append( ': ', Data.Action ), Link => ActionLink.append( ';Subaction=Change;', Data.ActionType, '=', Data.Action, ';WebserviceID=', Data.WebserviceID ), }, { Name => Data.MappingDirection, }, ] %] [% INCLUDE "Breadcrumb.tt" Path = BreadcrumbPath %]
  • CtrlK [% Translate("Comment code") | html %]
  • CtrlShiftK [% Translate("Uncomment code") | html %]
  • CtrlAltK [% Translate("Auto format code") | html %]
  • CtrlQ [% Translate("Expand/Collapse code block") | html %]
  • CtrlF [% Translate("Find") | html %]
  • CtrlG [% Translate("Find next") | html %]
  • CtrlShiftG [% Translate("Find previous") | html %]
  • CtrlShiftF [% Translate("Find and replace") | html %]
  • CtrlShiftR [% Translate("Find and replace all") | html %]
  • CmdK [% Translate("Comment code") | html %]
  • CmdShiftK [% Translate("Uncomment code") | html %]
  • CmdAltK [% Translate("Auto format code") | html %]
  • CmdF [% Translate("Find") | html %]
  • CmdG [% Translate("Find next") | html %]
  • CmdShiftG [% Translate("Find previous") | html %]
  • CmdShiftF [% Translate("Find and replace") | html %]
  • CmdShiftR [% Translate("Find and replace all") | html %]
[% IF Data.Subaction == 'Change' %] [% END %] [% RenderBlockStart("ConfigBlock") %] [% RenderBlockStart("ConfigBlockTemplate") %]

[% Translate("XSLT Mapping") | html %]

[% Translate("The entered data is not a valid XSLT style sheet.") | html %]

[% Translate("Here you can add or modify your XSLT mapping code.") | html %]

[% Translate("The editing field allows you to use different functions like automatic formatting, window resize as well as tag- and bracket-completion.") | html %]

[% Data.DataIncludeSelect %]

[% Translate("Select one or more sets of data that were created at earlier request/response stages to be included in mappable data.") | html %]

[% Translate("These sets will appear in the data structure at '/DataInclude/' (see debugger output of actual requests for details).") | html %]

[% RenderBlockEnd("ConfigBlockTemplate") %] [% RenderBlockStart("ConfigBlockRegExFilter") %]
[% IF Data.Type == 'Pre' %]

[% Translate("Data key regex filters (before mapping)") | html %]

[% ELSE %]

[% Translate("Data key regex filters (after mapping)") | html %]

[% END %]
[% RenderBlockStart("ValueRow") %]

[% Translate("This field is required.") | html %]

[% Translate(Data.KeyErrorStrg) | html %]

[% Translate("Remove regex") | html %]
[% RenderBlockEnd("ValueRow") %] [% RenderBlockStart("ValueTemplate") %] [% RenderBlockEnd("ValueTemplate") %]
[% Translate("Add regex") | html %]

[% Translate("These filters can be used to transform keys using regular expressions.") | html %]

[% Translate("The data structure will be traversed recursively and all configured regexes will be applied to all keys.") | html %]

[% Translate("Use cases are e.g. removing key prefixes that are undesired or correcting keys that are invalid as XML element names.") | html %]

[% Translate("Example 1: Search = '^jira:' / Replace = '' turns 'jira:element' into 'element'.") | html %]

[% Translate("Example 2: Search = '^' / Replace = '_' turns '16x16' into '_16x16'.") | html %]

[% Translate("Example 3: Search = '^(?\d+) (?.+?)\$' / Replace = '_\$+{text}_\$+{number}' turns '16 elementname' into '_elementname_16'.") | html %]

[% Translate("For information about regular expressions in Perl please see here:") | html %] [% Translate("Perl regular expressions tutorial") | html %]

[% Translate("If modifiers are desired they have to be specified within the regexes themselves.") | html %]

[% IF Data.Type == 'Pre' %]

[% Translate("Regular expressions defined here will be applied before the XSLT mapping.") | html %]

[% ELSE %]

[% Translate("Regular expressions defined here will be applied after the XSLT mapping.") | html %]

[% END %]
[% RenderBlockEnd("ConfigBlockRegExFilter") %] [% RenderBlockEnd("ConfigBlock") %]
[% IF Data.Subaction == 'Change' %] [% Translate("or") | html %] [% ELSE %] [% END %] [% Translate("or") | html %] [% Translate("Cancel") | html %]