@windward/integrations 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Integration/Driver/ManageAtutor.vue +7 -13
- package/components/Integration/Driver/ManageBase.vue +0 -7
- package/components/Integration/Driver/ManageResourcespace.vue +6 -0
- package/components/Integration/JobLog.vue +4 -3
- package/i18n/en-US/components/integration/driver.ts +2 -2
- package/i18n/es-ES/components/content/blocks/external_integration/index.ts +5 -0
- package/i18n/es-ES/components/content/blocks/external_integration/lti_consumer.ts +17 -0
- package/i18n/es-ES/components/content/blocks/index.ts +5 -0
- package/i18n/es-ES/components/content/index.ts +5 -0
- package/i18n/es-ES/components/external_integration/driver/lti1p1.ts +14 -0
- package/i18n/es-ES/components/external_integration/driver/lti1p3.ts +23 -0
- package/i18n/es-ES/components/external_integration/index.ts +31 -0
- package/i18n/es-ES/components/external_integration/provider_target.ts +9 -0
- package/i18n/es-ES/components/file_import/index.ts +5 -0
- package/i18n/es-ES/components/file_import/resourcespace.ts +4 -0
- package/i18n/es-ES/components/index.ts +15 -0
- package/i18n/es-ES/components/integration/driver.ts +45 -0
- package/i18n/es-ES/components/integration/index.ts +9 -0
- package/i18n/es-ES/components/integration/job.ts +23 -0
- package/i18n/es-ES/components/integration/job_log.ts +24 -0
- package/i18n/es-ES/components/navigation/index.ts +5 -0
- package/i18n/es-ES/components/navigation/integrations.ts +8 -0
- package/i18n/es-ES/components/settings/external_integration/index.ts +5 -0
- package/i18n/es-ES/components/settings/external_integration/lti_consumer.ts +10 -0
- package/i18n/es-ES/components/settings/index.ts +5 -0
- package/i18n/es-ES/index.ts +16 -0
- package/i18n/es-ES/modules/index.ts +5 -0
- package/i18n/es-ES/pages/course/external_integration/index.ts +6 -0
- package/i18n/es-ES/pages/course/index.ts +5 -0
- package/i18n/es-ES/pages/importContent.ts +3 -0
- package/i18n/es-ES/pages/importCourse.ts +13 -0
- package/i18n/es-ES/pages/index.ts +13 -0
- package/i18n/es-ES/pages/login/index.ts +5 -0
- package/i18n/es-ES/pages/login/lti.ts +21 -0
- package/i18n/es-ES/pages/vendor.ts +11 -0
- package/i18n/es-ES/shared/content_blocks.ts +8 -0
- package/i18n/es-ES/shared/error.ts +10 -0
- package/i18n/es-ES/shared/file.ts +5 -0
- package/i18n/es-ES/shared/index.ts +15 -0
- package/i18n/es-ES/shared/menu.ts +3 -0
- package/i18n/es-ES/shared/permission.ts +31 -0
- package/i18n/es-ES/shared/settings.ts +5 -0
- package/i18n/index.ts +11 -0
- package/i18n/sv-SE/components/content/blocks/external_integration/index.ts +5 -0
- package/i18n/sv-SE/components/content/blocks/external_integration/lti_consumer.ts +17 -0
- package/i18n/sv-SE/components/content/blocks/index.ts +5 -0
- package/i18n/sv-SE/components/content/index.ts +5 -0
- package/i18n/sv-SE/components/external_integration/driver/lti1p1.ts +14 -0
- package/i18n/sv-SE/components/external_integration/driver/lti1p3.ts +22 -0
- package/i18n/sv-SE/components/external_integration/index.ts +31 -0
- package/i18n/sv-SE/components/external_integration/provider_target.ts +9 -0
- package/i18n/sv-SE/components/file_import/index.ts +5 -0
- package/i18n/sv-SE/components/file_import/resourcespace.ts +4 -0
- package/i18n/sv-SE/components/index.ts +15 -0
- package/i18n/sv-SE/components/integration/driver.ts +44 -0
- package/i18n/sv-SE/components/integration/index.ts +9 -0
- package/i18n/sv-SE/components/integration/job.ts +23 -0
- package/i18n/sv-SE/components/integration/job_log.ts +24 -0
- package/i18n/sv-SE/components/navigation/index.ts +5 -0
- package/i18n/sv-SE/components/navigation/integrations.ts +8 -0
- package/i18n/sv-SE/components/settings/external_integration/index.ts +5 -0
- package/i18n/sv-SE/components/settings/external_integration/lti_consumer.ts +10 -0
- package/i18n/sv-SE/components/settings/index.ts +5 -0
- package/i18n/sv-SE/index.ts +16 -0
- package/i18n/sv-SE/modules/index.ts +5 -0
- package/i18n/sv-SE/pages/course/external_integration/index.ts +6 -0
- package/i18n/sv-SE/pages/course/index.ts +5 -0
- package/i18n/sv-SE/pages/importContent.ts +3 -0
- package/i18n/sv-SE/pages/importCourse.ts +13 -0
- package/i18n/sv-SE/pages/index.ts +13 -0
- package/i18n/sv-SE/pages/login/index.ts +5 -0
- package/i18n/sv-SE/pages/login/lti.ts +21 -0
- package/i18n/sv-SE/pages/vendor.ts +11 -0
- package/i18n/sv-SE/shared/content_blocks.ts +8 -0
- package/i18n/sv-SE/shared/error.ts +9 -0
- package/i18n/sv-SE/shared/file.ts +5 -0
- package/i18n/sv-SE/shared/index.ts +15 -0
- package/i18n/sv-SE/shared/menu.ts +3 -0
- package/i18n/sv-SE/shared/permission.ts +31 -0
- package/i18n/sv-SE/shared/settings.ts +5 -0
- package/package.json +1 -1
- package/plugin.js +3 -4
- package/test/Feature/LocaleKeys.spec.js +9 -0
- package/test/__mocks__/componentsMock.js +12 -0
package/i18n/index.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
title: 'LTI Consumer Block Title',
|
|
3
|
+
instructions:
|
|
4
|
+
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam fringilla ipsum eget ante tempus blandit. Maecenas vel massa\n' +
|
|
5
|
+
'nec tellus vestibulum porttitor non a enim.',
|
|
6
|
+
launch: 'Launch',
|
|
7
|
+
goodbye: 'goodbye',
|
|
8
|
+
launch_in_new_window: 'launch {0} in new tab',
|
|
9
|
+
launch_in_modal: 'launch {0} in modal',
|
|
10
|
+
configure_warning:
|
|
11
|
+
'This block needs to be configured. Please select a LTI tool in the settings panel.',
|
|
12
|
+
no_access:
|
|
13
|
+
'You do not have permissions to launch this link. Please contact your system administrator.',
|
|
14
|
+
missing_tool: 'The tool id {0} is missing',
|
|
15
|
+
unknown_error: 'Something went wrong! Could not launch this link!',
|
|
16
|
+
link_disabled: 'Link disabled',
|
|
17
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
key: 'Nyckel',
|
|
3
|
+
secret: 'Secret',
|
|
4
|
+
parameter_name: 'Anpassat parameternamn',
|
|
5
|
+
value: 'Värde',
|
|
6
|
+
auto_key: 'Lämna tomt för autogenererad nyckel',
|
|
7
|
+
auto_secret: 'Lämna tomt för autogenererad hemlighet',
|
|
8
|
+
change_key: 'Ändra nyckel',
|
|
9
|
+
change_secret: 'Ändra hemlighet',
|
|
10
|
+
new_key: 'Ny nyckel',
|
|
11
|
+
new_secret: 'Ny hemlighet',
|
|
12
|
+
new: 'Ny LTI-länk',
|
|
13
|
+
edit: 'Redigera LTI-länk',
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
key: 'Nyckel',
|
|
3
|
+
issuer: 'Emittent',
|
|
4
|
+
tool_public_keyset_url: 'Tool Keyset Url',
|
|
5
|
+
tool_oidc_auth_endpoint: 'Verktyg OpenID Connect Endpoint',
|
|
6
|
+
login_hint: 'inloggningstips',
|
|
7
|
+
platform_id: 'Platform Identifier',
|
|
8
|
+
platform_name: 'Plattformens namn',
|
|
9
|
+
platform_public_keyset_url: 'Platform Keyset URL',
|
|
10
|
+
platform_oidc_auth_endpoint: 'Platform OpenID Connect Endpoint',
|
|
11
|
+
platform_oauth2_access_token_url: 'Platform OAuth2 Access Token URL',
|
|
12
|
+
platform_oauth2_audience: 'Plattform Oauth2-publik',
|
|
13
|
+
tool_client_id: 'Tool Client ID',
|
|
14
|
+
platform_deployment_id: 'Deployment ID',
|
|
15
|
+
enable_button_feedback:
|
|
16
|
+
'Länken kan endast aktiveras när plattformsklientidentifierare och och nyckeluppsättnings-URL är inställda!',
|
|
17
|
+
parameter_name: 'Anpassat parameternamn',
|
|
18
|
+
value: 'Värde',
|
|
19
|
+
new: 'Ny LTI-länk',
|
|
20
|
+
edit: 'Redigera LTI-länk',
|
|
21
|
+
view: 'Visa LTI-länkdetaljer',
|
|
22
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import lti1p1 from './driver/lti1p1'
|
|
2
|
+
import lti1p3 from './driver/lti1p3'
|
|
3
|
+
import providerTarget from './provider_target'
|
|
4
|
+
export default {
|
|
5
|
+
driver: { lti1p1, lti1p3 },
|
|
6
|
+
provider_target: providerTarget,
|
|
7
|
+
|
|
8
|
+
provider_panel_title: 'Provider (studenter som kommer till Windward)',
|
|
9
|
+
consumer_panel_title: 'Consumer (Students outgoing from Windward)',
|
|
10
|
+
|
|
11
|
+
target: 'Mål',
|
|
12
|
+
target_url: 'Måladress',
|
|
13
|
+
launch_url: 'Launch Url',
|
|
14
|
+
|
|
15
|
+
send_grades: 'Skicka betyg till värd LMS',
|
|
16
|
+
grade_sync: 'Grade Sync',
|
|
17
|
+
provider: 'Provider',
|
|
18
|
+
consumer: 'Konsument',
|
|
19
|
+
|
|
20
|
+
role_map_panel: 'Rollkarta',
|
|
21
|
+
role_in_host: 'Roll in Host LMS',
|
|
22
|
+
role_in_local: 'Roll i Windward',
|
|
23
|
+
remote_role: 'Remote Roll name',
|
|
24
|
+
map_to_role: 'Map to Windward Roll',
|
|
25
|
+
delete_role_map_item: 'Ta bort objekt i rollkarta',
|
|
26
|
+
add_role_map_item: 'Lägg till objekt i rollkarta',
|
|
27
|
+
role_map_instructions:
|
|
28
|
+
'Lägg bara till roller på kartan nedan om värd-LMS använder olika rollnamn som du vill ha förhöjda behörigheter. T.ex. "Mentor" som du vill upphöja till "Extern Instruktör"',
|
|
29
|
+
role_map_warning:
|
|
30
|
+
'Lägg bara till roller på kartan nedan om värd-LMS använder olika rollnamn som du vill ha förhöjda behörigheter. T.ex. "Mentor" som du vill upphöja till "Extern Instruktör"',
|
|
31
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
name: 'Målnamn',
|
|
3
|
+
link_to: 'Länk till',
|
|
4
|
+
included: 'Inkluderat',
|
|
5
|
+
whole_course: 'Hel kurs',
|
|
6
|
+
whole_course_page: 'Välj målsida för hela kursen',
|
|
7
|
+
content_with_children: 'Innehåll med barnsidor',
|
|
8
|
+
content_no_children: 'Single Content Page',
|
|
9
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import content from './content'
|
|
2
|
+
import settings from './settings'
|
|
3
|
+
import navigation from './navigation'
|
|
4
|
+
import integration from './integration'
|
|
5
|
+
import externalIntegration from './external_integration'
|
|
6
|
+
import fileImport from './file_import'
|
|
7
|
+
|
|
8
|
+
export default {
|
|
9
|
+
content,
|
|
10
|
+
settings,
|
|
11
|
+
navigation,
|
|
12
|
+
integration,
|
|
13
|
+
external_integration: externalIntegration,
|
|
14
|
+
file_import: fileImport,
|
|
15
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
atutor: {
|
|
3
|
+
manage_dialog_title: 'Hantera ATutor-integration',
|
|
4
|
+
url: 'ATutor API URL',
|
|
5
|
+
url_hint: 'T.ex: https://courses.mindedgeonline.com',
|
|
6
|
+
username: 'Användarnamn',
|
|
7
|
+
password: 'Lösenord',
|
|
8
|
+
aws_secure_url: 'AWS CDN URL',
|
|
9
|
+
aws_secure_url_hint: 'T.ex: https://cdn-d.mindedgeonline.com',
|
|
10
|
+
},
|
|
11
|
+
remove_slash: 'Ta bort / kl. slutet av url',
|
|
12
|
+
atutor_wgu: {
|
|
13
|
+
manage_dialog_title: 'Hantera ATutor WGU-integration',
|
|
14
|
+
},
|
|
15
|
+
canvas: {
|
|
16
|
+
manage_dialog_title: 'Hantera Canvas Integration',
|
|
17
|
+
},
|
|
18
|
+
blackboard_ultra: {
|
|
19
|
+
manage_dialog_title: 'Hantera Blackboard Ultra Integration',
|
|
20
|
+
},
|
|
21
|
+
desire2learn: {
|
|
22
|
+
manage_dialog_title: 'Hantera Desire2Learn Integration',
|
|
23
|
+
},
|
|
24
|
+
moodle: {
|
|
25
|
+
manage_dialog_title: 'Hantera Moodle Integration',
|
|
26
|
+
},
|
|
27
|
+
google_classroom: {
|
|
28
|
+
manage_dialog_title: 'Hantera Google Classroom Integration',
|
|
29
|
+
},
|
|
30
|
+
resourcespace: {
|
|
31
|
+
manage_dialog_title: 'Hantera Resourcespace Integration',
|
|
32
|
+
url: 'Resourcespace URL',
|
|
33
|
+
url_hint: 'T.ex: https://resourcespace.mindedgeuniversity.com',
|
|
34
|
+
username: 'Användarnamn',
|
|
35
|
+
key: 'API Key',
|
|
36
|
+
},
|
|
37
|
+
enabled: 'Integration aktiverad',
|
|
38
|
+
disabled: 'Integration inaktiverad',
|
|
39
|
+
ssl_enabled: 'SSL aktiverat (Bör vara aktiverad för produktion)',
|
|
40
|
+
connection_error: 'Anslutningsfel',
|
|
41
|
+
test_connection: 'Testa anslutning',
|
|
42
|
+
id: 'Id',
|
|
43
|
+
base_url: 'Bas URL',
|
|
44
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
recent_jobs_title: 'Senaste importjobb',
|
|
3
|
+
job_completed: 'Jobb slutfört',
|
|
4
|
+
no_recent_jobs: 'Inga nya jobb',
|
|
5
|
+
job_id: 'Jobb-ID',
|
|
6
|
+
vendor_name: 'Vendor Name',
|
|
7
|
+
status: 'Status',
|
|
8
|
+
progress: 'Framsteg',
|
|
9
|
+
created: 'Skapat',
|
|
10
|
+
details: 'Detaljer',
|
|
11
|
+
started: 'Datum började',
|
|
12
|
+
job_details: {
|
|
13
|
+
none: 'Inga detaljer tillgängliga',
|
|
14
|
+
import_course: "Importerar kurs-ID {0} '{1}'",
|
|
15
|
+
},
|
|
16
|
+
job_status: {
|
|
17
|
+
not_started: 'Inte startat',
|
|
18
|
+
started: 'Started',
|
|
19
|
+
in_progress: 'Pågår',
|
|
20
|
+
failed: 'Failed',
|
|
21
|
+
completed: 'Completed',
|
|
22
|
+
},
|
|
23
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
view_log: 'Visa logg',
|
|
3
|
+
view_course_import_log: 'Visa kursimportlogg',
|
|
4
|
+
no_results: 'Inga resultat hittades',
|
|
5
|
+
remote_course_id: 'Fjärrkurs-ID',
|
|
6
|
+
remote_content_id: 'Remtote Content Id',
|
|
7
|
+
remote_content_name: 'Remote Content Name',
|
|
8
|
+
remote_url: 'Remote Url',
|
|
9
|
+
remote_code: 'Fjärrkod',
|
|
10
|
+
remote_sso: 'Remote SSO',
|
|
11
|
+
log_level: 'Log Level',
|
|
12
|
+
level_prefix: 'nivå',
|
|
13
|
+
search: {
|
|
14
|
+
level_info: 'Infomeddelanden',
|
|
15
|
+
level_warning: 'Varningsmeddelanden',
|
|
16
|
+
level_error: 'Felmeddelanden',
|
|
17
|
+
file_missing_error: 'Fil saknas',
|
|
18
|
+
data_error: 'Oväntat datafel',
|
|
19
|
+
converted_file: 'File Converted',
|
|
20
|
+
converted_file_error: 'Felkonverteringsfel',
|
|
21
|
+
parse_error: 'Content Block Parsing Error',
|
|
22
|
+
linking_error: 'Innehållslänkningsfel',
|
|
23
|
+
},
|
|
24
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
title: 'Integrationer',
|
|
3
|
+
manage_integrations: 'Manage Integration Vendors',
|
|
4
|
+
import_course: 'Importera kurser',
|
|
5
|
+
import_content: 'Importera innehåll och filer',
|
|
6
|
+
manage_lti: 'Hantera LTI-anslutningar',
|
|
7
|
+
manage_lti_links: 'Hantera LTI-länkar',
|
|
8
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
title: 'titel',
|
|
3
|
+
instructions: 'instruktioner',
|
|
4
|
+
launch_type: 'Starttyp',
|
|
5
|
+
launch_type_new_window: 'Nytt fönster',
|
|
6
|
+
launch_type_inline_frame: 'Inline Frame',
|
|
7
|
+
launch_type_modal: 'Modal',
|
|
8
|
+
link_select: 'Välj en länk:',
|
|
9
|
+
link_disabled: 'Länk inaktiverad',
|
|
10
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import pages from './pages/index'
|
|
2
|
+
import components from './components/index'
|
|
3
|
+
import shared from './shared/index'
|
|
4
|
+
import modules from './modules/index'
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
windward: {
|
|
8
|
+
integrations: {
|
|
9
|
+
name: 'Windward Plugin-integrationer',
|
|
10
|
+
pages,
|
|
11
|
+
components,
|
|
12
|
+
shared,
|
|
13
|
+
modules,
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
title: 'Importera kurs',
|
|
3
|
+
recent_import_title: 'Senaste importer',
|
|
4
|
+
select_vendor: 'Välj en leverantör',
|
|
5
|
+
select_remote_organization: 'Välj en fjärrorganisation',
|
|
6
|
+
select_remote_course: 'Välj en fjärrkurs',
|
|
7
|
+
select_remote_content: 'Välj individuella innehållssidor',
|
|
8
|
+
start_import: 'Starta import',
|
|
9
|
+
import_started: 'Import påbörjad',
|
|
10
|
+
notify: 'Meddela mig när det är klart',
|
|
11
|
+
no_vendors:
|
|
12
|
+
'Det finns inga konfigurerade leverantörer. Gå tillbaka och konfigurera en integrationsleverantör',
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import vendor from './vendor'
|
|
2
|
+
import importCourse from './importCourse'
|
|
3
|
+
import importContent from './importContent'
|
|
4
|
+
import login from './login'
|
|
5
|
+
import course from './course'
|
|
6
|
+
|
|
7
|
+
export default {
|
|
8
|
+
vendor,
|
|
9
|
+
import_course: importCourse,
|
|
10
|
+
import_content: importContent,
|
|
11
|
+
login,
|
|
12
|
+
course,
|
|
13
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
lti_error: 'LTI-fel',
|
|
3
|
+
launch_error: 'LTI-länken misslyckades att avfyra',
|
|
4
|
+
missing_title: 'Fälten nedan saknas:',
|
|
5
|
+
error_title: 'Fel nedan uppstod:',
|
|
6
|
+
error: {
|
|
7
|
+
unknown: 'Ett okänt kommunikationsfel inträffade',
|
|
8
|
+
organization: 'Ogiltig organisation',
|
|
9
|
+
tool: 'Ogiltigt verktygs-id',
|
|
10
|
+
tool_organization: 'Detta verktyg tillhör inte denna organisation',
|
|
11
|
+
oauth: 'Ogiltig OAuth. Kontrollera din nyckel och hemlighet.',
|
|
12
|
+
},
|
|
13
|
+
missing: {
|
|
14
|
+
context_label:
|
|
15
|
+
'Kontextetikettfältet `context_label` saknas eller är ogiltigt.',
|
|
16
|
+
resource_link_title:
|
|
17
|
+
'Resurslänktiteln `resurslänktitel` saknas eller är ogiltig.',
|
|
18
|
+
lis_person_contact_email_primary:
|
|
19
|
+
'Användarens e-postmeddelande saknas och ett anonymt e-postmeddelande kunde inte genereras.',
|
|
20
|
+
},
|
|
21
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
title: 'Integrationer',
|
|
3
|
+
vendor_disabled: 'Denna leverantör är inte tillgänglig för integrationer',
|
|
4
|
+
vendor_not_configured: 'Denna integrationsleverantör är inte konfigurerad',
|
|
5
|
+
organization_integration_disabled:
|
|
6
|
+
'Denna organisationsintegrering är inaktiverad',
|
|
7
|
+
vendor_name: 'Vendor Name',
|
|
8
|
+
configured: 'Integration Configured',
|
|
9
|
+
enabled: 'Integration Enabled',
|
|
10
|
+
manage: 'Hantera integration',
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
save_failed: 'Det gick inte att spara den här konfigurationen',
|
|
3
|
+
load_remote_organization_failed: 'Kunde inte ladda fjärrorganisationer',
|
|
4
|
+
load_remote_course_failed: 'Kunde inte ladda fjärrbanor',
|
|
5
|
+
load_remote_content_failed: 'Kunde inte ladda fjärrinnehåll',
|
|
6
|
+
connect_success: 'Ansluten framgångsrikt',
|
|
7
|
+
connect_fail: 'Det gick inte att ansluta ',
|
|
8
|
+
unknown: 'Ett okänt fel inträffade vid försök att ansluta',
|
|
9
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import contentBlocks from './content_blocks'
|
|
2
|
+
import settings from './settings'
|
|
3
|
+
import menu from './menu'
|
|
4
|
+
import permission from './permission'
|
|
5
|
+
import file from './file'
|
|
6
|
+
import error from './error'
|
|
7
|
+
|
|
8
|
+
export default {
|
|
9
|
+
content_blocks: contentBlocks,
|
|
10
|
+
settings,
|
|
11
|
+
menu,
|
|
12
|
+
permission,
|
|
13
|
+
file,
|
|
14
|
+
error,
|
|
15
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
type_title: {
|
|
3
|
+
'plugin->windward->integrations->vendor': 'Integrationsleverantörer',
|
|
4
|
+
'plugin->windward->integrations->jobs': 'Integrationsjobb',
|
|
5
|
+
'plugin->windward->integrations->organization->jobs':
|
|
6
|
+
'Organisationsintegrationsjobb',
|
|
7
|
+
'plugin->windward->integrations->organization->integration':
|
|
8
|
+
'Organisationsintegrationer',
|
|
9
|
+
'plugin->windward->integrations->course': 'Kursintegrationer',
|
|
10
|
+
'plugin->windward->integrations->content': 'Innehållsintegrationer',
|
|
11
|
+
'plugin->windward->integrations->course->externalIntegration':
|
|
12
|
+
'Externa integrationer (LTI / SCORM / etc)',
|
|
13
|
+
},
|
|
14
|
+
|
|
15
|
+
type_description: {
|
|
16
|
+
'plugin->windward->integrations->vendor':
|
|
17
|
+
'Få åtkomst till alla integrationsleverantörer över hela systemet',
|
|
18
|
+
'plugin->windward->integrations->jobs':
|
|
19
|
+
'Få tillgång till integrationsjobb',
|
|
20
|
+
'plugin->windward->integrations->organization->jobs':
|
|
21
|
+
'Få tillgång till integrationsjobb i den nuvarande organisationen',
|
|
22
|
+
'plugin->windward->integrations->organization->integration':
|
|
23
|
+
'Få åtkomst till och hantera integrationer i den nuvarande organisationen',
|
|
24
|
+
'plugin->windward->integrations->course':
|
|
25
|
+
'Åtkomst till och hantera kursimport',
|
|
26
|
+
'plugin->windward->integrations->content':
|
|
27
|
+
'Åtkomst till och hantera innehållsimport',
|
|
28
|
+
'plugin->windward->integrations->course->externalIntegration':
|
|
29
|
+
'Få åtkomst till och hantera externa integrationer som LTI och SCORM',
|
|
30
|
+
},
|
|
31
|
+
}
|
package/package.json
CHANGED
package/plugin.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import locales from './i18n'
|
|
2
|
+
|
|
2
3
|
import AdminVendorsPage from './pages/admin/vendors.vue'
|
|
3
4
|
import AdminImportCoursePage from './pages/admin/importCourse.vue'
|
|
4
5
|
import ImportContentPage from './pages/course/importContent.vue'
|
|
@@ -28,9 +29,7 @@ export default {
|
|
|
28
29
|
onLoad: (_page) => {},
|
|
29
30
|
onContent: () => {},
|
|
30
31
|
},
|
|
31
|
-
i18n:
|
|
32
|
-
'en-US': enUS,
|
|
33
|
-
},
|
|
32
|
+
i18n: locales.messages,
|
|
34
33
|
pages: [
|
|
35
34
|
{
|
|
36
35
|
page: 'admin-integrations',
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import localeTest from '@windward/core/test/locales'
|
|
2
|
+
import locales from '../../i18n'
|
|
3
|
+
|
|
4
|
+
describe('LocaleKeys', () => {
|
|
5
|
+
test('Confirm that all localizations are equal aka not missing keys between them', () => {
|
|
6
|
+
const messages = locales.messages
|
|
7
|
+
localeTest.test(messages)
|
|
8
|
+
})
|
|
9
|
+
})
|
|
@@ -11,6 +11,18 @@ jest.mock(
|
|
|
11
11
|
{ virtual: true }
|
|
12
12
|
)
|
|
13
13
|
|
|
14
|
+
jest.mock(
|
|
15
|
+
'~/components/Form',
|
|
16
|
+
() => {
|
|
17
|
+
return {
|
|
18
|
+
data() {
|
|
19
|
+
return { validation: {} }
|
|
20
|
+
},
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
{ virtual: true }
|
|
24
|
+
)
|
|
25
|
+
|
|
14
26
|
jest.mock(
|
|
15
27
|
'~/components/Breadcrumbs.vue',
|
|
16
28
|
() => {
|