# Comment added
[ silopolis](https://hosted.weblate.org/user/silopolis/ "Jérémie Tarot"): [Hosted Weblate](https://hosted.weblate.org) / [LinuxCNC](https://hosted.weblate.org/projects/linuxcnc/) / [LinuxCNC Documentation](https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/) / [English](https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/en/) ## Source string var sections = [['sec0', 'sec1', 'sec2', 'sec3', 'sec4', 'sec5', 'sec6', 'sec7', 'sec8', 'sec9', 'sec10','sec11','sec12','sec13', 'sec14', 'sec15'], ['man_1', 'man_9','man_3hal', 'man_3rtapi', 'man_3hm2', 'man_3']]; function storeOK() { // Check for HTML5 Local Storage try { return 'localStorage' in window && window['localStorage'] !== null; } catch (e) { return false; } } function toggle(sec){ var e = document.getElementById(sec); var i = document.getElementById(sec + '_image'); if(!e)return true; if(e.style.display=="none"){ e.style.display="block" i.src = 'minus.png'; i.alt = '-'; if (storeOK()){localStorage.setItem(sec, "block");} } else { e.style.display="none" i.src = 'plus.png'; if (storeOK()){localStorage.setItem(sec, "none");} } return false; } function toggle_section(a){ if (a.id.substring(0,3) === "doc"){var s = 0;} if (a.id.substring(0,3) === "man"){var s = 1;} if (a.value.substring(0,6) === "Expand"){ for (var i in sections[s]){ document.getElementById(sections[s][i]).style.display = 'block'; document.getElementById(sections[s][i] + '_image').src = 'minus.png'; document.getElementById(sections[s][i] + '_image').alt = '-'; if (storeOK()){localStorage.setItem(sections[s][i], "block");} } } else{ for (var i in sections[s]){ document.getElementById(sections[s][i]).style.display = 'none'; document.getElementById(sections[s][i] + '_image').src = 'plus.png'; document.getElementById(sections[s][i] + '_image').alt = '+'; if (storeOK()){localStorage.setItem(sections[s][i], "none");} } } } function setup_page(){ for (var s in sections){ for (var i in sections[s]){ if (localStorage.getItem(sections[s][i]) != null){ if (localStorage.getItem(sections[s][i]) === "block"){ document.getElementById(sections[s][i]).style.display = 'block'; document.getElementById(sections[s][i] + '_image').src = 'minus.png'; document.getElementById(sections[s][i] + '_image').alt = '-'; } else{ document.getElementById(sections[s][i]).style.display = 'none'; document.getElementById(sections[s][i] + '_image').src = 'plus.png'; document.getElementById(sections[s][i] + '_image').alt = '+'; } } else{ document.getElementById(sections[s][i]).style.display = 'none'; document.getElementById(sections[s][i] + '_image').src = 'plus.png'; document.getElementById(sections[s][i] + '_image').alt = '+'; } } } } // ## Source string description type: CDATA ## Comment Should not be segmented from preceding string and the whole shouldn't be identified as a translatable string... Bad/missing option or bug in po4a ? [Edit this string](https://hosted.weblate.org/translate/linuxcnc/linuxcnc- docs/en/?checksum=1ebd7b9275baae90#comments) ## Source string location [src/index.tmpl:10](https://github.com/LinuxCNC/linuxcnc/tree/master/src/index.tmpl#L10) ## Translation Info All strings | [ 32,261 ](https://hosted.weblate.org/translate/linuxcnc/linuxcnc-docs/en/) | -------------------------------------------------------------------|-----------|---- Translated strings | [ 32,261 ](https://hosted.weblate.org/translate/linuxcnc/linuxcnc- docs/en/?q=state:>=translated) | [ 100% ](https://hosted.weblate.org/translate/linuxcnc/linuxcnc- docs/en/?q=state:>=translated) Untranslated strings | [ 0 ](https://hosted.weblate.org/translate/linuxcnc/linuxcnc- docs/en/?q=state:empty) | [ 0% ](https://hosted.weblate.org/translate/linuxcnc/linuxcnc- docs/en/?q=state:empty) Unfinished strings | [ 0 ](https://hosted.weblate.org/translate/linuxcnc/linuxcnc- docs/en/?q=state:<translated) | [ 0% ](https://hosted.weblate.org/translate/linuxcnc/linuxcnc- docs/en/?q=state:<translated) Strings marked for edit | [ 0 ](https://hosted.weblate.org/translate/linuxcnc/linuxcnc- docs/en/?q=state:needs-editing) | [ 0% ](https://hosted.weblate.org/translate/linuxcnc/linuxcnc- docs/en/?q=state:needs-editing) [View](https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/en/) [Weblate, the libre continuous localization system.](https://weblate.org/) Generated on Jan. 25, 2023, 9:13 p.m..
_______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers