mirror of
https://github.com/sismics/docs.git
synced 2024-11-25 23:27:57 +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'),
|
title: $translate.instant('onboarding.step1.title'),
|
||||||
description: $translate.instant('onboarding.step1.description'),
|
description: $translate.instant('onboarding.step1.description'),
|
||||||
position: "centered",
|
position: 'centered',
|
||||||
width: 300
|
width: 300
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: $translate.instant('onboarding.step2.title'),
|
title: $translate.instant('onboarding.step2.title'),
|
||||||
description: $translate.instant('onboarding.step2.description'),
|
description: $translate.instant('onboarding.step2.description'),
|
||||||
attachTo: "#document-add-btn",
|
attachTo: '#document-add-btn',
|
||||||
position: "right"
|
position: 'right',
|
||||||
|
width: 300
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: $translate.instant('onboarding.step3.title'),
|
title: $translate.instant('onboarding.step3.title'),
|
||||||
description: $translate.instant('onboarding.step3.description'),
|
description: $translate.instant('onboarding.step3.description'),
|
||||||
attachTo: "#quick-upload-zone",
|
attachTo: '#quick-upload-zone',
|
||||||
position: "left"
|
position: 'left',
|
||||||
|
width: 300
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: $translate.instant('onboarding.step4.title'),
|
title: $translate.instant('onboarding.step4.title'),
|
||||||
description: $translate.instant('onboarding.step4.description'),
|
description: $translate.instant('onboarding.step4.description'),
|
||||||
attachTo: "#search-box",
|
attachTo: '#search-box',
|
||||||
position: "right"
|
position: 'right',
|
||||||
|
width: 300
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: $translate.instant('onboarding.step5.title'),
|
title: $translate.instant('onboarding.step5.title'),
|
||||||
description: $translate.instant('onboarding.step5.description'),
|
description: $translate.instant('onboarding.step5.description'),
|
||||||
attachTo: "#navigation-tag",
|
attachTo: '#navigation-tag',
|
||||||
position: "right"
|
position: "right",
|
||||||
|
width: 300
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
@ -16,12 +16,12 @@
|
|||||||
buttonContainerClass: 'onboarding-button-container',
|
buttonContainerClass: 'onboarding-button-container',
|
||||||
buttonClass: "btn",
|
buttonClass: "btn",
|
||||||
showButtons: true,
|
showButtons: true,
|
||||||
nextButtonText: 'Next →',
|
nextButtonText: '<span class="fa fa-arrow-right"></span>',
|
||||||
previousButtonText: '← Previous',
|
previousButtonText: '<span class="fa fa-arrow-left"></span>',
|
||||||
showDoneButton: true,
|
showDoneButton: true,
|
||||||
doneButtonText: 'Done',
|
doneButtonText: '<span class="fa fa-check"></span>',
|
||||||
closeButtonClass: 'onboarding-close-button',
|
closeButtonClass: 'onboarding-close-button',
|
||||||
closeButtonText: 'X',
|
closeButtonText: '<span class="fa fa-times"></span>',
|
||||||
stepClass: 'onboarding-step-info',
|
stepClass: 'onboarding-step-info',
|
||||||
showStepInfo: true
|
showStepInfo: true
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user