Merge changes from 1.0 final + more config ui work
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@34 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
e8bba32302
commit
a0384669cc
46 changed files with 1671 additions and 90 deletions
|
@ -20,7 +20,7 @@
|
|||
*
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Version 1.2 (2009-05-29)
|
||||
* Version 1.2 (2009-09-15)
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -109,6 +109,48 @@ public class L10n {
|
|||
case DOCUMENT: return "Documento";
|
||||
}
|
||||
}
|
||||
if (sLocale.startsWith("pt")) { // (brazilian) portuguese
|
||||
switch (nString) {
|
||||
case UP: return "Acima";
|
||||
case FIRST : return "Primeiro";
|
||||
case PREVIOUS : return "Anterior";
|
||||
case NEXT : return "Pr\u00f3ximo";
|
||||
case LAST : return "\u00daltimo";
|
||||
case CONTENTS : return "Conte\u00fado";
|
||||
case INDEX : return "\u00cdndice";
|
||||
case HOME : return "Home";
|
||||
case DIRECTORY: return "Diret\u00f3rio";
|
||||
case DOCUMENT: return "Documento";
|
||||
}
|
||||
}
|
||||
if (sLocale.startsWith("cs")) { // czech
|
||||
switch (nString) {
|
||||
case UP: return "Nahoru";
|
||||
case FIRST : return "Prvn\u00ed";
|
||||
case PREVIOUS : return "P\u0159edchoz\u00ed";
|
||||
case NEXT : return "Dal\u0161\u00ed";
|
||||
case LAST : return "Posledn\u00ed";
|
||||
case CONTENTS : return "Obsah";
|
||||
case INDEX : return "Rejst\u0159\u00edk";
|
||||
case HOME : return "Dom\u016f";
|
||||
case DIRECTORY: return "Adres\u00e1\u0159 (slo\u017eka)";
|
||||
case DOCUMENT: return "Dokument";
|
||||
}
|
||||
}
|
||||
if (sLocale.startsWith("nl")) { // dutch
|
||||
switch (nString) {
|
||||
case UP: return "Omhoog";
|
||||
case FIRST : return "Eerste";
|
||||
case PREVIOUS : return "Vorige";
|
||||
case NEXT : return "Volgende";
|
||||
case LAST : return "Laatste";
|
||||
case CONTENTS : return "Inhoud";
|
||||
case INDEX : return "Index";
|
||||
case HOME : return "Hoofdpagina";
|
||||
case DIRECTORY: return "Directory";
|
||||
case DOCUMENT: return "Document";
|
||||
}
|
||||
}
|
||||
if (sLocale.startsWith("da")) { // danish
|
||||
switch (nString) {
|
||||
case UP: return "Op";
|
||||
|
|
|
@ -20,13 +20,15 @@
|
|||
*
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Version 1.2 (2009-09-05)
|
||||
* Version 1.2 (2009-09-20)
|
||||
*
|
||||
*/
|
||||
|
||||
package writer2latex.xhtml;
|
||||
|
||||
import java.util.Enumeration;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.w3c.dom.Document;
|
||||
import org.w3c.dom.Element;
|
||||
|
@ -152,8 +154,23 @@ public class XhtmlConfig extends writer2latex.base.ConfigBase {
|
|||
options[DIRECTORY_ICON] = new Option("directory_icon","");
|
||||
options[DOCUMENT_ICON] = new Option("document_icon","");
|
||||
}
|
||||
|
||||
// Dummy implementation of complex options
|
||||
public void setComplexOption(String sGroup, String sName, Map<String,String> attributes) {
|
||||
// do nothing
|
||||
}
|
||||
|
||||
public Map<String,String> getComplexOption(String sGroup, String sName) {
|
||||
// no options are defined, return null in all cases
|
||||
return null;
|
||||
}
|
||||
|
||||
protected void readInner(Element elm) {
|
||||
public Set<String> getComplexOptions(String sGroup) {
|
||||
// Always an empty set
|
||||
return new java.util.HashSet<String>();
|
||||
}
|
||||
|
||||
protected void readInner(Element elm) {
|
||||
if (elm.getTagName().equals("xhtml-style-map")) {
|
||||
String sName = elm.getAttribute("name");
|
||||
String sFamily = elm.getAttribute("family");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue