mirror of
https://github.com/sismics/docs.git
synced 2024-11-22 14:07:55 +01:00
#236: onboarding localization
This commit is contained in:
parent
e905aa76a0
commit
992150804a
@ -156,32 +156,36 @@ angular.module('docs').controller('DocumentDefault', function ($scope, $rootScop
|
||||
{
|
||||
title: $translate.instant('onboarding.step1.title'),
|
||||
description: $translate.instant('onboarding.step1.description'),
|
||||
position: "centered",
|
||||
position: 'centered',
|
||||
width: 300
|
||||
},
|
||||
{
|
||||
title: $translate.instant('onboarding.step2.title'),
|
||||
description: $translate.instant('onboarding.step2.description'),
|
||||
attachTo: "#document-add-btn",
|
||||
position: "right"
|
||||
attachTo: '#document-add-btn',
|
||||
position: 'right',
|
||||
width: 300
|
||||
},
|
||||
{
|
||||
title: $translate.instant('onboarding.step3.title'),
|
||||
description: $translate.instant('onboarding.step3.description'),
|
||||
attachTo: "#quick-upload-zone",
|
||||
position: "left"
|
||||
attachTo: '#quick-upload-zone',
|
||||
position: 'left',
|
||||
width: 300
|
||||
},
|
||||
{
|
||||
title: $translate.instant('onboarding.step4.title'),
|
||||
description: $translate.instant('onboarding.step4.description'),
|
||||
attachTo: "#search-box",
|
||||
position: "right"
|
||||
attachTo: '#search-box',
|
||||
position: 'right',
|
||||
width: 300
|
||||
},
|
||||
{
|
||||
title: $translate.instant('onboarding.step5.title'),
|
||||
description: $translate.instant('onboarding.step5.description'),
|
||||
attachTo: "#navigation-tag",
|
||||
position: "right"
|
||||
attachTo: '#navigation-tag',
|
||||
position: "right",
|
||||
width: 300
|
||||
}
|
||||
];
|
||||
});
|
||||
|
@ -16,12 +16,12 @@
|
||||
buttonContainerClass: 'onboarding-button-container',
|
||||
buttonClass: "btn",
|
||||
showButtons: true,
|
||||
nextButtonText: 'Next →',
|
||||
previousButtonText: '← Previous',
|
||||
nextButtonText: '<span class="fa fa-arrow-right"></span>',
|
||||
previousButtonText: '<span class="fa fa-arrow-left"></span>',
|
||||
showDoneButton: true,
|
||||
doneButtonText: 'Done',
|
||||
doneButtonText: '<span class="fa fa-check"></span>',
|
||||
closeButtonClass: 'onboarding-close-button',
|
||||
closeButtonText: 'X',
|
||||
closeButtonText: '<span class="fa fa-times"></span>',
|
||||
stepClass: 'onboarding-step-info',
|
||||
showStepInfo: true
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user