Revision: fe20a8edbde2 Branch: default Author: cmyers@xxxxxxxxxxxxxxxxx Date: Mon Jan 27 20:16:02 2014 UTC Log: Epub semantic file update. ImgDesc Main Menu and Language File. http://code.google.com/p/brailleblaster/source/detail?r=fe20a8edbde2 Modified: /dist/programData/lang/i18n_en_US.properties /dist/programData/liblouisutdml/lbu_files/epub.sem /src/main/org/brailleblaster/document/BBDocument.java/src/main/org/brailleblaster/perspectives/imageDescriber/UIComponents/ImageDescriberMenu.java
=======================================--- /dist/programData/lang/i18n_en_US.properties Mon Jan 27 18:34:22 2014 UTC +++ /dist/programData/lang/i18n_en_US.properties Mon Jan 27 20:16:02 2014 UTC
@@ -214,3 +214,8 @@ tree=Tree bookTree=Book xmlTree=XML +# ImgDesc Edit Menu +&Next=&Next +Pre&vious=Pre&vious +A&pply to All=A&pply to All +&Clear All=&Clear All =======================================--- /dist/programData/liblouisutdml/lbu_files/epub.sem Mon Nov 18 18:56:56 2013 UTC +++ /dist/programData/liblouisutdml/lbu_files/epub.sem Mon Jan 27 20:16:02 2014 UTC
@@ -5,13 +5,14 @@ # # Licensed under LGPL -# Basic +# Basic + italicx i newentries no document body markhead head - para p - no br - no hr + para p + #no br + no hr stanza poem generic linegroup line line @@ -21,7 +22,7 @@ italicx dfn italicx kbd boldx strong -boldx b + boldx b no acronym pagenum pagenum softreturn br @@ -44,7 +45,7 @@ no image skip path skip ClipPath - no tspan + no tspan no g skip track @@ -75,17 +76,17 @@ no bdo quotation blockquote quotation epigraph - caption caption + #caption caption boldx cite compbrl code no del - no dfn + #no dfn italicx em no ins - no kbd + #no kbd no mark no meter - no pre + #no pre code pre no progress generic q @@ -142,7 +143,7 @@ no ol list li generic dl - para dt + #para dt list dt para dd no menu @@ -152,10 +153,10 @@ # Tables table table caption caption - no caption + #no caption no th list tr - no tr + #no tr no td no thead no tbody @@ -168,22 +169,22 @@ no table,width # Style/Sections - skip style - no div - no span + skip style + #no div + no span no header no footer no section - no article + no article no aside no details no dialog no summary # Meta Info - no head - no meta - no base + #no head + no meta + no base # Programming skip script =======================================--- /src/main/org/brailleblaster/document/BBDocument.java Fri Dec 27 17:25:20 2013 UTC +++ /src/main/org/brailleblaster/document/BBDocument.java Mon Jan 27 20:16:02 2014 UTC
@@ -142,14 +142,16 @@ String ext = completePath.substring (extPos);if (ext.equalsIgnoreCase ("xml") || ext.equals("xhtml") || ext.equals("html") || ext.equals("htm")) { String tempPath = BBIni.getTempFilesPath() + completePath.substring(completePath.lastIndexOf(BBIni.getFileSep()), completePath.lastIndexOf(".")) + "_temp.xml"; - if(normalizeFile(completePath, tempPath) && lutdml.translateFile (configFileWithPath, tempPath, outFile, logFile, configWithUTD, 0)){
- deleteFile(tempPath); - return buildDOM(outFile); - } - else { - new CheckLiblouisutdmlLog().displayLog(); - return false; - } + if( normalizeFile(completePath, tempPath) )+ if( lutdml.translateFile (configFileWithPath, tempPath, outFile, logFile, configWithUTD, 0) )
+ { + deleteFile(tempPath); + return buildDOM(outFile); + } + else { + new CheckLiblouisutdmlLog().displayLog(); + return false; + } } else if (ext.equalsIgnoreCase ("txt")) {if(lutdml.translateTextFile (configFileWithPath, completePath, outFile, logFile, configWithUTD, 0))
=======================================--- /src/main/org/brailleblaster/perspectives/imageDescriber/UIComponents/ImageDescriberMenu.java Thu Jan 16 00:14:11 2014 UTC +++ /src/main/org/brailleblaster/perspectives/imageDescriber/UIComponents/ImageDescriberMenu.java Mon Jan 27 20:16:02 2014 UTC
@@ -118,7 +118,7 @@ editMenu = new Menu(wp.getShell(), SWT.DROP_DOWN); prevItem = new MenuItem(editMenu, SWT.PUSH); - prevItem.setText("Previous"); + prevItem.setText(lh.localValue("Pre&vious")); prevItem.addSelectionListener(new SelectionAdapter(){ @Override public void widgetSelected(SelectionEvent e) {