}
try {
if (homeURL !== '') {
+ // __('home')
link = this.addLink(navType, 'nav-home', homeURL, 'home', 'home', 'home', 'Control+H');
}
} catch (err) {
});
} else if (icon === 'index') {
+ // __('overview')
link = this.addLink(navType, 'nav-index', '#/index', 'index', 'overview', 'overview', 'Control+O');
} else if (icon === 'chapters') {
+ // __('chapters')
if (!this.fluidbook.settings.displayChaptersIcon) {
continue;
}
}
// Sharing icons - this may contain many different icons
} else if (icon === 'friend') {
+ // __('share')
if (this.fluidbook.share.isEnabled()) {
if (navType === 'horizontalNav') {
if (this.fluidbook.settings.share) {
}
} else if (icon === 'bookmark' && this.fluidbook.settings.bookmark) {
+ // __('bookmarks')
link = this.addLink(navType, 'nav-bookmarks', '#/bookmark', 'bookmarks', 'bookmarks', 'bookmarks', 'Control+B');
} else if (icon === 'pdf' && this.fluidbook.settings.pdf) {
+ // __('download')
link = this.addLink(navType, 'nav-download', '#', 'download', 'download', 'download', 'Control+S');
} else if (icon === 'print' && this.fluidbook.settings.print) {
+ // __('print')
link = this.addLink(navType, 'nav-print', '#', 'print', 'print', 'print', 'Control+P');
} else if (icon === 'basket' && this.fluidbook.cart !== undefined && this.fluidbook.cart.enabled) {
+ // __('basket')
link = this.addLink(navType, this.fluidbook.settings.cartIcon, '#/cart', 'cart', 'basket', 'basket', 'Control+Alt+C');
$(this.fluidbook).on('fluidbook.cart.updateIcon', {link: $(link).attr('id')}, function (e, data) {
var n = data.number;
}
} else if (icon === 'help') {
+ // __('help')
link = this.addLink(navType, 'nav-help', '#', 'help', 'help', 'help', 'F1');
} else if (icon === 'zoom' && !this.fluidbook.support.isMobile) {
+ // __('zoom in')
+ // __('zoom out')
link = this.addLink(navType, 'nav-zoomin', '#', 'zoomin', 'zoom in', 'zoom in');
- link = this.addLink(navType, 'nav-zoomout', '#', 'zoomout', 'zoom out', 'zoom out');
-
+ link = this.addLink(navType, 'nav-zoomut', '#', 'zoomout', 'zoom out', 'zoom out');
} else if (icon === 'fullscreen' && this.fluidbook.support.fullscreen && !this.fluidbook.settings.phonegap) {
+ // __('switch between fullscreen and normal')
link = this.addLink(navType, 'nav-' + icon, '#', icon, 'full screen', 'switch between fullscreen and normal', 'F11');
} else if (icon === 'sound' && this.fluidbook.sound.enabled) {
+ // __('switch off the sound')
+ // __('switch on the sound')
+ // __('switch on / switch off the sound')
link = this.addLink(navType, 'nav-sound-on', '#', 'sound-on', 'switch off the sound', 'switch on / switch off the sound', 'F10');
link2 = this.addLink(navType, 'nav-sound-off', '#', 'sound-off', 'switch on the sound', 'switch on / switch off the sound', 'F10');
} else if (icon === 'search') {
+ // __('search')
// Only the horizontal icon menu has the search icon, which opens the main menu
if (this.fluidbook.settings.search && navType === 'horizontalNav') {
link = this.addLink(navType, 'nav-search', '#', 'searchIcon', 'search', 'search', 'Control+F');
}
} else if (icon === 'notes') {
+ // __('notes')
if (this.fluidbook.notes.enabled) {
link = this.addLink(navType, 'nav-notes', '#', 'notes', 'notes', 'notes', 'Control+Alt+N');
}