mirror of
https://github.com/ansible/awx.git
synced 2026-05-17 06:17:36 -02:30
Merge pull request #3190 from mabashian/i18n-strings
Mark various strings for translation Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
@@ -31,6 +31,14 @@ describe('View: Split Jobs List', () => {
|
||||
options: () => ['foo', 'bar'],
|
||||
}
|
||||
];
|
||||
JobsStrings = {
|
||||
get: (str) => {
|
||||
if (str === 'list.SLICE_JOB') {
|
||||
return 'Slice Job';
|
||||
}
|
||||
return '';
|
||||
}
|
||||
};
|
||||
|
||||
ProcessErrors = jasmine.createSpy('ProcessErrors');
|
||||
Wait = jasmine.createSpy('Wait');
|
||||
@@ -44,7 +52,7 @@ describe('View: Split Jobs List', () => {
|
||||
$provide.value('Prompt', Prompt);
|
||||
$provide.value('Rest', angular.noop);
|
||||
$provide.value('SearchBasePath', '');
|
||||
$provide.value('JobsStrings', angular.noop);
|
||||
$provide.value('JobsStrings', JobsStrings);
|
||||
$provide.value('QuerySet', angular.noop);
|
||||
|
||||
$provide.provider('$stateProvider', { $get: jasmine.createSpy('$get'), });
|
||||
|
||||
Reference in New Issue
Block a user