Extend the PickLanguage macro to let the user clear their overrides.
This commit is contained in:
parent
651d3b119d
commit
21223657a1
5 changed files with 41 additions and 9 deletions
|
|
@ -61,6 +61,8 @@ $templateMock->mock('process', sub { $templateVars = $_[1]; } );
|
|||
'language_langEng' => 'English'
|
||||
},
|
||||
],
|
||||
delete_url => '?op=setLanguage;language=delete;',
|
||||
delete_label => 'Go back to profile language.',
|
||||
},
|
||||
'some template variables are created'
|
||||
);
|
||||
|
|
@ -90,6 +92,8 @@ $templateMock->mock('process', sub { $templateVars = $_[1]; } );
|
|||
'language_langEng' => 'English'
|
||||
},
|
||||
],
|
||||
delete_url => '?op=setLanguage;language=delete;',
|
||||
delete_label => "Go back to profile language.",
|
||||
},
|
||||
'some template variables are created, when no templateId is passed on with the macro'
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue